]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
MIPS: Define TLS_DEFINE_INIT_TP
[thirdparty/glibc.git] / ChangeLog
CommitLineData
962b744d
RM
12014-06-09 Roland McGrath <roland@hack.frob.com>
2
50f0a637
RM
3 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5
08f41f04
RM
6 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8
962b744d
RM
9 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10 if not already defined.
11 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
13 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14 (TLS_INIT_TP): Use it.
15 (TLS_DEFINE_INIT_TP): New macro.
16 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17
09f19b05
JM
182014-06-09 Joseph Myers <joseph@codesourcery.com>
19
20 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
21 constant.
22 [POSIX] (IXANY): Likewise.
23 [POSIX] (OLCUC): Likewise.
24 [POSIX || POSIX2008] (CBAUD): Do not allow.
25 [POSIX || POSIX2008] (DEFECHO): Likewise.
26 [POSIX || POSIX2008] (ECHOCTL): Likewise.
27 [POSIX || POSIX2008] (ECHOKE): Likewise.
28 [POSIX || POSIX2008] (ECHOPRT): Likewise.
29 [POSIX || POSIX2008] (EXTA): Likewise.
30 [POSIX || POSIX2008] (EXTB): Likewise.
31 [POSIX || POSIX2008] (FLUSHO): Likewise.
32 [POSIX || POSIX2008] (LOBLK): Likewise.
33 [POSIX || POSIX2008] (PENDIN): Likewise.
34 [POSIX || POSIX2008] (SWTCH): Likewise.
35 [POSIX || POSIX2008] (VDISCARD): Likewise.
36 [POSIX || POSIX2008] (VDSUSP): Likewise.
37 [POSIX || POSIX2008] (VLNEXT): Likewise.
38 [POSIX || POSIX2008] (VREPRINT): Likewise.
39 [POSIX || POSIX2008] (VSTATUS): Likewise.
40 [POSIX || POSIX2008] (VWERASE): Likewise.
41 (B*): Change to B[0123456789]*.
42 * conform/data/time.h-data [POSIX || UNIX98]
43 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
44 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
45 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
46 [POSIX] (tm_*): Do not allow.
47
686554bf
JM
482014-06-07 Joseph Myers <joseph@codesourcery.com>
49
50 * Makefile (install): Don't set LANGUAGE.
51 * Makefile.in (install): Likewise.
52 * assert/Makefile (test-assert-ENV): Remove variable.
53 (test-assert-perr-ENV): Likewise.
54 * elf/Makefile (neededtest4-ENV): Likewise.
55 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
56 [$(cross-compiling) = no]: Don't set LANGUAGE.
57 * io/ftwtest-sh (LANG): Remove variable.
58 * libio/Makefile (tst-widetext-ENV): Likewise.
59 * manual/install.texi (Running make install): Don't refer to
60 environment settings for make install.
61 * INSTALL: Regenerated.
62 * nptl/tst-tls6.sh: Don't set LANG.
63 * posix/globtest.sh (LANG): Remove variable.
64 * string/Makefile (tester-ENV): Likewise.
65 (inl-tester-ENV): Likewise.
66 (noinl-tester-ENV): Likewise.
67 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
68 [$(cross-compiling) = no]: Don't set LANGUAGE.
69 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
70 without explicit environment settings.
71
68e6b6b1
RM
722014-06-06 Roland McGrath <roland@hack.frob.com>
73
74 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
75 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
76 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
77 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
78
4d3ae034
CM
792014-06-06 Chris Metcalf <cmetcalf@tilera.com>
80
81 * crypt/crypt-private.h [DOS]: Add some includes taken from the
82 other files in the crypt directory.
83 * crypt/crypt.c: Remove duplicate includes.
84 * crypt/crypt-entry.c: Likewise.
85 * crypt/crypt_util.c: Likewise.
86
8540f6d2
JM
872014-06-06 Joseph Myers <joseph@codesourcery.com>
88
89 * Makeconfig (run-program-env): New variable.
90 (run-program-prefix-before-env): Likewise.
91 (run-program-prefix-after-env): Likewise.
92 (run-program-prefix): Define in terms of new variables.
93 (built-program-cmd-before-env): New variable.
94 (built-program-cmd-after-env): Likewise.
95 (built-program-cmd): Define in terms of new variables.
96 (test-program-prefix-before-env): New variable.
97 (test-program-prefix-after-env): Likewise.
98 (test-program-prefix): Define in terms of new variables.
99 (test-program-cmd-before-env): New variable.
100 (test-program-cmd-after-env): Likewise.
101 (test-program-cmd): Define in terms of new variables.
102 * Rules (make-test-out): Use $(run-program-env).
103 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
104 (help): Do not mention environment variables. Mention
105 --timeoutfactor option.
106 (timeoutfactor): New variable.
107 (blacklist_exports): Remove function.
108 (exports): Remove variable.
109 (command): Do not include ${exports}.
110 * manual/install.texi (Configuring and compiling): Do not mention
111 test wrappers preserving environment variables. Mention that last
112 assignment to a variable must take precedence.
113 * INSTALL: Regenerated.
114 * benchtests/Makefile (run-bench): Use $(run-program-env).
115 * catgets/Makefile ($(objpfx)test1.cat): Use
116 $(built-program-cmd-before-env), $(run-program-env) and
117 $(built-program-cmd-after-env).
118 ($(objpfx)test2.cat): Do not specify environment variables
119 explicitly.
120 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
121 $(run-program-env) and $(built-program-cmd-after-env).
122 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
123 $(run-program-env) and $(test-program-cmd-after-env).
124 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
125 explicitly.
126 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
127 run_program_env and test_program_cmd_after_env arguments.
128 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
129 * elf/tst-pathopt.sh: Use run_program_env argument.
130 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
131 $(test-wrapper-env) and $(run-program-env).
132 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
133 run_program_env arguments.
134 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
135 * intl/Makefile ($(objpfx)tst-gettext.out): Use
136 $(test-program-prefix-before-env), $(run-program-env) and
137 $(test-program-prefix-after-env).
138 ($(objpfx)tst-gettext2.out): Likewise.
139 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
140 run_program_env and test_program_prefix_after_env arguments.
141 * intl/tst-gettext2.sh: Likewise.
142 * intl/tst-gettext4.sh: Do not set environment variables
143 explicitly.
144 * intl/tst-gettext6.sh: Likewise.
145 * intl/tst-translit.sh: Likewise.
146 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
147 $(test-program-prefix-before-env), $(run-program-env) and
148 $(test-program-prefix-after-env).
149 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
150 run_program_env and test_program_prefix_after_env arguments.
151 * math/Makefile (run-regen-ulps): Use $(run-program-env).
152 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
153 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
154 explicitly with each use of ${test_wrapper_env}.
155 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
156 $(test-program-prefix-before-env), $(run-program-env) and
157 $(test-program-prefix-after-env).
158 * posix/tst-getconf.sh: Do not set environment variables
159 explicitly.
160 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
161 run_program_env and test_program_prefix_after_env arguments.
162 * stdio-common/tst-printf.sh: Do not set environment variables
163 explicitly.
164 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
165 $(test-program-prefix-before-env), $(run-program-env) and
166 $(test-program-prefix-after-env).
167 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
168 run_program_env and test_program_prefix_after_env arguments.
169 Split $test calls into $test_pre and $test.
170 * timezone/Makefile (build-testdata): Use
171 $(built-program-cmd-before-env), $(run-program-env) and
172 $(built-program-cmd-after-env).
173
ed36bfa1
AZ
1742014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
175
176 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
177 strlen for non SHARED builds.
178
fc75bf46
SP
1792014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
180
181 * nptl/allocatestack.c (check_list): Inlined function...
182 (__reclaim_stacks): ... here.
183
d89b3d80
OB
1842014-06-05 Ondřej Bílka <neleai@seznam.cz>
185
186 [BZ #15698]
187 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
188 memory overrun.
189
2bf18041
JM
1902014-06-05 Joseph Myers <joseph@codesourcery.com>
191
192 * Rules (make-test-out): Include
193 LOCPATH=$(common-objpfx)localedata in default environment.
194 * debug/Makefile (tst-chk1-ENV): Remove variable.
195 (tst-chk2-ENV): Likewise.
196 (tst-chk3-ENV): Likewise.
197 (tst-chk4-ENV): Likewise.
198 (tst-chk5-ENV): Likewise.
199 (tst-chk6-ENV): Likewise.
200 (tst-lfschk1-ENV): Likewise.
201 (tst-lfschk2-ENV): Likewise.
202 (tst-lfschk3-ENV): Likewise.
203 (tst-lfschk4-ENV): Likewise.
204 (tst-lfschk5-ENV): Likewise.
205 (tst-lfschk6-ENV): Likewise.
206 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
207 (tst-iconv7-ENV): Likewise.
208 * intl/Makefile (LOCPATH-ENV): Likewise.
209 (tst-codeset-ENV): Likewise.
210 (tst-gettext3-ENV): Likewise.
211 (tst-gettext5-ENV): Likewise.
212 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
213 (tst-fopenloc-ENV): Likewise.
214 (tst-fgetws-ENV): Remove variable.
215 (tst-ungetwc1-ENV): Likewise.
216 (tst-ungetwc2-ENV): Likewise.
217 (bug-ungetwc2-ENV): Likewise.
218 (tst-swscanf-ENV): Likewise.
219 (bug-ftell-ENV): Likewise.
220 (tst-fgetwc-ENV): Likewise.
221 (tst-fseek-ENV): Likewise.
222 (tst-ftell-partial-wide-ENV): Likewise.
223 (tst-ftell-active-handler-ENV): Likewise.
224 (tst-ftell-append-ENV): Likewise.
225 * posix/Makefile (tst-fnmatch-ENV): Likewise.
226 (tst-regexloc-ENV): Likewise.
227 (bug-regex1-ENV): Likewise.
228 (tst-regex-ENV): Likewise.
229 (tst-regex2-ENV): Likewise.
230 (bug-regex5-ENV): Likewise.
231 (bug-regex6-ENV): Likewise.
232 (bug-regex17-ENV): Likewise.
233 (bug-regex18-ENV): Likewise.
234 (bug-regex19-ENV): Likewise.
235 (bug-regex20-ENV): Likewise.
236 (bug-regex22-ENV): Likewise.
237 (bug-regex23-ENV): Likewise.
238 (bug-regex25-ENV): Likewise.
239 (bug-regex26-ENV): Likewise.
240 (bug-regex30-ENV): Likewise.
241 (bug-regex32-ENV): Likewise.
242 (bug-regex33-ENV): Likewise.
243 (bug-regex34-ENV): Likewise.
244 (bug-regex35-ENV): Likewise.
245 (tst-rxspencer-ENV): Likewise.
246 (tst-rxspencer-no-utf8-ENV): Likewise.
247 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
248 (tst-sscanf-ENV): Likewise.
249 (tst-swprintf-ENV): Likewise.
250 (tst-swscanf-ENV): Likewise.
251 (test-vfprintf-ENV): Likewise.
252 (scanf13-ENV): Likewise.
253 (bug14-ENV): Likewise.
254 (tst-grouping-ENV): Likewise.
255 * stdlib/Makefile (tst-strtod-ENV): Likewise.
256 (tst-strtod3-ENV): Likewise.
257 (tst-strtod4-ENV): Likewise.
258 (tst-strtod5-ENV): Likewise.
259 (testmb2-ENV): Likewise./
260 * string/Makefile (tst-strxfrm-ENV): Likewise.
261 (tst-strxfrm2-ENV): Likewise.
262 (bug-strcoll1-ENV): Likewise.
263 (test-strcasecmp-ENV): Likewise.
264 (test-strncasecmp-ENV): Likewise.
265 * time/Makefile (tst-strptime-ENV): Likewise.
266 (tst-ftime_l-ENV): Likewise.
267 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
268 (tst-mbrtowc-ENV): Likewise.
269 (tst-wcrtomb-ENV): Likewise.
270 (tst-mbrtowc2-ENV): Likewise.
271 (tst-c16c32-1-ENV): Likewise.
272 (tst-mbsnrtowcs-ENV): Likewise.
273
cd1fb604
OB
2742014-06-05 Ondřej Bílka <neleai@seznam.cz>
275
276 * manual/resource.texi (How to get information about the memory
277 subsystem?): Fix typo.
278 Reported by Peon de la Parra Ivan <peon@keba.com>
279
b42eca7d
GY
2802014-06-03 Guo Yixuan <culu.gyx@gmail.com>
281
282 [BZ #16882]
283 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
284 (pthread_spin_lock): Branch out of spin loop to proper location.
285 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
286 (pthread_spin_lock): Likewise.
287
902b71f9
DM
288 * nptl/tst-spin4.c: New test.
289 * nptl/Makefile (tests): Add tst-spin4.
290
f9d2d032
AS
2912014-06-03 Andreas Schwab <schwab@suse.de>
292
293 [BZ #15946]
294 * resolv/res_send.c (send_dg): Reload file descriptor after
295 calling reopen.
296
cf7bfd28
SL
2972014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
298
299 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
300
111cc714
RH
3012014-06-03 Richard Henderson <rth@redhat.com>
302
89b4bd6b
RH
303 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
304 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
305 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
306 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
307 in the SAVE_PID block.
308 (__libc_vfork): New alias.
71840409 309 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 310
111cc714
RH
311 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
312 child in registers, not on the stack. Remove RESET_PID conditionals.
313 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
314
ccc39911
MS
3152014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
316
317 * sysdeps/aarch64/libm-test-ulps: Regenerate.
318
693096cc
W
3192014-06-03 Wilco <wdijkstr@arm.com>
320
321 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
322 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
323 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
324 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
325 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
326 Likewise.
327
0b4366bc
W
3282014-06-03 Wilco <wdijkstr@arm.com>
329
330 * sysdeps/aarch64/fpu/math_private.h
331 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
332 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
333 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
334 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
335 Fix declarations.
336
8747cd03
KS
3372014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
338
339 * crypt/crypt-private.h: Include ufc-crypt.h.
340 (__b64_from_24bit): Declare extern.
341 * crypt/crypt_util.c(__b64_from_24bit): New function.
342 (b64t): New static const variable.
343 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
344 (b64t): Remove variable.
345 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
346 * crypt/sha256-crypt.c: Include crypt-private.h.
347 (b64t): Remove variable.
348 (__sha256_crypt_r): Remove b64_from_24bit and replace
349 with __b64_from_24bit.
350 * crypt/sha512-crypt.c: Likewise.
351
d936d379
RM
3522014-06-02 Roland McGrath <roland@hack.frob.com>
353
354 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
355 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
356 Label the code __libc_vfork rather than __vfork.
357 [!NOT_IN_libc] (vfork): Define as weak alias.
358 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
359 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
360 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
361
9fa76613
SP
3622014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
363
364 * malloc/malloc.c (malloc_info): Fix format specifier for
365 n_mmaps.
366
a88dadbe
W
3672014-06-02 Wilco <wdijkstr@arm.com>
368
369 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
370 FPCR write.
371
c95b3011
W
3722014-06-02 Wilco <wdijkstr@arm.com>
373
374 [BZ #17009]
375 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
376 Rewrite to reduce FPCR/FPSR accesses.
377
6b4d7a90
DM
3782014-06-01 David S. Miller <davem@davemloft.net>
379
380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
381
30f3d07c
DM
3822014-05-31 David S. Miller <davem@davemloft.net>
383
384 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
385 to occur in round to nearest mode when |x| >= 2.0
386
74f31c18
RH
3872014-05-30 Richard Henderson <rth@twiddle.net>
388
f0712b54
RH
389 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
390 (PSEUDO_RET_NOERRNO): Remove.
391 (ret): Don't redefine.
392 (ret_NOERRNO): Define in terms of ret.
393 (ret_ERRVAL): Likewise.
394
74f31c18
RH
395 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
396 use of PSEUDO_RET; perform the error check directly.
397
30477995
MM
3982014-05-30 Marko Myllynen <myllynen@redhat.com>
399
400 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
401 with __int128_t.
402
62a58816
SP
4032014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
404
405 * malloc/malloc (malloc_info): Fix formatting.
406
4d653a59
SP
4072014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
408 Roland McGrath <roland@hack.frob.com>
409
410 * malloc/malloc (malloc_info): Also print mmapped statistics.
411
5190c17f
RM
4122014-05-30 Roland McGrath <roland@hack.frob.com>
413
414 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
415 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
416
987c0269
OB
4172014-05-30 Ondřej Bílka <neleai@seznam.cz>
418
419 * malloc/malloc.c (malloc_info): Inline mi_arena.
420
af4e8ef9
RH
4212014-05-29 Richard Henderson <rth@twiddle.net>
422
1670e207
RH
423 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
424 Remove comma before expanding ASM_ARGS_##nr.
425 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
426 Make _x0 a strict output; make _x8 a strict input; adjust expansion
427 of ASM_ARGS_##nr.
428 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
429 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
430 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
431 (ASM_ARGS_1): Add leading comma.
432
11a28aee
RH
433 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
434 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
435 to __errno_location.
436 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
437 Remove the expected plt for __errno_location.
438
a17e5ffb 439 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 440 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
441 call to __read_tp.
442
b5be4597
RH
443 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
444 Always allocate 64 bytes of stack frame. Use ldp/stp to create
445 it and break it down.
446 (DOCARGS_0, DOCARGS_1): Do nothing.
447 (DOCARGS_2): Update to store into the new stack frame.
448 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
449 (UNDOCARGS_1): Update to restore from the new stack frame.
450 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
451 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
452
645d44ab
RH
453 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
454 (SINGLE_THREAD_P): New parameter for result regno.
455 (PSEUDO): Update to match; use cbz instead of beq.
456
a8b4f04a
RH
457 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
458 Use ENTRY to define the _nocancel entry point. Share the syscall
459 and syscall error check paths with the cancel path.
460 (PSEUDO_END): New.
461
af4e8ef9
RH
462 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
463 whitespace; tabs before and after asm mnemonics.
464
26b0d2e1
EW
4652014-05-29 Eric Wong <normalperson@yhbt.net>
466
467 [BZ #15132]
468 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
469 Call fstat64 or stat64 internally, depending on arguments passed.
470 Replace stat buffer argument with file descriptor argument.
471 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
472 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
473 Pass fd to __internal_statvfs instead of calling fstat64.
474 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
475 Pass fd to __internal_statvfs64 instead of calling fstat64.
476 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
477 Pass -1 to __internal_statvfs instead of calling stat64.
478 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
479 Pass -1 to __internal_statvfs64 instead of calling stat64.
480
1efe2bd9
RM
4812014-05-28 Roland McGrath <roland@hack.frob.com>
482
0d3b7a19
RM
483 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
484 that was previously under [RESET_PID].
485 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
486
1efe2bd9
RM
487 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
488 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
489
a6bea3ca
RM
4902014-05-27 Roland McGrath <roland@hack.frob.com>
491
30b6629e
RM
492 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
493
a6bea3ca
RM
494 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
495 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
496
3dfb9a5c
OB
4972014-05-27 Ondřej Bílka <neleai@seznam.cz>
498
499 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
500
774f9285
AS
5012014-05-27 Andreas Schwab <schwab@suse.de>
502
503 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
504 TLS_INIT_TP macro.
505 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
506 * elf/rtld.c (init_tls, dl_main): Likewise.
507 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
508 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
509 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
510 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
511 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
512 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
513 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
514 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
515 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
516 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
517 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
518 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
519 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
520 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
521 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
522 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
523 * sysdeps/generic/tls.h: Update description.
524
36ffe739
WN
5252014-05-27 Will Newton <will.newton@linaro.org>
526
527 [BZ #16990]
528 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
529 and restore r2 rather than just restoring.
530
2482ae43
SP
5312014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
532
533 [BZ #16724]
534 * libio/tst-ftell-append.c: New test case.
535 * libio/Makefile (tests): Add test case.
536 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
537 append mode.
538 * libio/wfileops.c (do_ftell_wide): Likewise.
539
3d1024e8
AZ
5402014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
541
bab90016
AZ
542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
543
c7a8d667
AZ
544 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
545 ...
546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
548 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
549 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
550 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
551 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
552 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
553 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
554 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
555 Moved ...
556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
557 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
558 Moved ...
559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
560 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
561 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
562 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
563 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
564 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
565 ...
566 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
567 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
568 Moved ...
569 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
570 here.
571 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
572 ...
573 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
574 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
575 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
576
daee7851
AZ
577 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
578 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
579 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
580 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
581
50a40819
AZ
582 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
583 merge into ...
584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
585 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
586 ...
587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
588 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
589 ...
590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
591 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
592 Moved ...
593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
594 here.
595 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
596 Moved ...
597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
598 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
599 Moved ...
600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
601
8464c2a1
AZ
602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
603 conditional [RESET_PID].
604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
606 removed.
607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
608 removed.
609
3d1024e8
AZ
610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
611 <tcb-offsets.h>.
612 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
613 (__libc_vfork): New strong alias.
614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
615 removed.
616 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
617 Removed.
618
619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
620 <tcb-offsets.h>.
621 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
622 (__libc_vfork): New strong alias.
623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
624 removed.
625 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
626 removed.
627
fdfd175d
CD
6282014-05-26 Carlos O'Donell <carlos@redhat.com>
629
630 * malloc/malloc.c (mi_arena): New function.
631 (malloc_info): Remove nested function mi_arena. Call non-nosted
632 function mi_arena.
633
d298c416
AZ
6342014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
635
636 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
637 by insrwi.
638 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
639 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
640 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
641 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
642 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
643 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
644 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
645
b60ea6ff
AS
6462014-05-26 Andreas Schwab <schwab@suse.de>
647
648 [BZ #16984]
649 * locale/programs/repertoire.c (repertoire_read): Add slash
650 between I18NPATH element and file name.
651 * locale/programs/locfile.c (locfile_read): Likewise.
652
67365926
SL
6532014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
654
655 * nptl/pthread_mutexattr_settype.c
656 (__pthread_mutexattr_settype):
657 Disable lock elision for PTHREAD_MUTEX_NORMAL.
658
f8bdf1f0
SL
6592014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
660
661 * nptl/tst-mutex5 (do_test):
662 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
663
15eaf6ff
SP
6642014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
665
666 * benchtests/README: Document 'init' directive.
667 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
668 BENCH_INIT.
669 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
670 (parse_file): Recognize 'init' directive.
671
75f11331
KM
6722014-05-26 Kyle McMartin <kyle@redhat.com>
673
674 [BZ #16796]
675 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
676 alignment of struct pthread.
677
c3ec475c
SP
6782014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
679
680 [BZ #16878]
681 * nscd/netgroupcache.c (addgetnetgrentX): Look for
682 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
683 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
684 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
685
82aab97c
RH
6862014-05-25 Richard Henderson <rth@twiddle.net>
687
aa2f176d
RH
688 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
689 (SINGLE_THREAD_P_PIC): Remove.
690 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
691 (SINGLE_THREAD_P_PIC): Remove.
692
ca3cfa40
RH
693 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
694 branch to syscall error ...
695 (PSEUDO): ... here.
696 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
697 from __local_syscall_error to .Lsyscall_error.
698 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
699 (SYSCALL_ERROR): Update label name.
700
6e6c2d01
RH
701 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
702 Do not use DOARGS/UNDOARGS.
703 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
704 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
705 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
706 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
707 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
708
c69abcee
RH
709 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
710 block comment.
711
82aab97c
RH
712 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
713 define if !NOT_IN_libc.
714 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
715 define with non-default symbol versions.
716
8820e3ac
RH
7172014-05-23 Richard Henderson <rth@twiddle.net>
718
900e445f
RH
719 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
720 (vfork, __vfork): Define via compat_symbol.
721
8820e3ac
RH
722 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
723 [!HAVE_IFUNC] (vfork_compat): Remove.
724 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
725
e59252a5
JM
7262014-05-23 Joseph Myers <joseph@codesourcery.com>
727
728 [BZ #16978]
729 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
730 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
731 variable.
732
132c7f5f
RH
7332014-05-23 Richard Henderson <rth@twiddle.net>
734
bc89e962
RH
735 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
736 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
737 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
738 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
739
740 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
741 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
742 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
743 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
744 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
745 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
746 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
747 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
748 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
749 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
750 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
751 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
752 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
753 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
754 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
755 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
756 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
757 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
758 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
759 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
760 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
761 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
762 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
763 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
764 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
765 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
766 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
767 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
768 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
769 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
770 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
771 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
772 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
773 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
774 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
775 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
776 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
777 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
778 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
779 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
780 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
781 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
782 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
783 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
784 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
785 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
786 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
787 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
788 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
789 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
790 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
791 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
792 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
793 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
794 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
795 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
796
e2fa4bc2
RH
797 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
798 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
799 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
800 before exiting on error.
801 (__libc_vfork): New strong alias.
802 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
803 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
804
279b24e2
RH
805 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
806 that was previously under [RESET_PID].
807 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
808
132c7f5f
RH
809 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
810
b72592e7
JM
8112014-05-23 Joseph Myers <joseph@codesourcery.com>
812
813 [BZ #16977]
814 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
815 value when x - 1 is zero.
816 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
817 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
818 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
819 0.0L for an argument of 1.0L.
820 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
821 Likewise.
822 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
823 value when x - 1 is zero.
824 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
825 * sysdeps/i386/fpu/libm-test-ulps: Update.
826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
827
2302d679
RV
8282014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
829
830 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
831 alphasort and versionsort.
832
32999d63
AZ
8332014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
834
835 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
836 macro.
837 [copysignf]: Likewise.
838
019324d0
SP
8392014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
840
841 * crypt/md5-crypt.c: Fix formatting.
842
34fff5c2
KS
8432014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
844
845 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
846 (b64_from_24bit): New function.
847
3d2badac
AZ
8482014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
849
850 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
851 libc_hidden_builtin_def to ifunc.
852 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
853 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
854
f7bb179f 8552014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
856
857 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
858 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
859
4134b50d
JM
8602014-05-21 Joseph Myers <joseph@codesourcery.com>
861
bb7d0337
JM
862 * nscd/Depend (linuxthreads): Remove.
863 (nptl): Add.
864 * resolv/Depend (linuxthreads): Remove.
865 * rt/Depend (linuxthreads): Remove.
866
4134b50d
JM
867 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
868 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
869 $(common-objpfx)elf/.
870 (link-libc-before-gnulib): Likewise.
871 (elfobjdir): Remove variable.
872 * Makefile (install): Use $(elf-objpfx) instead of
873 $(common-objpfx)elf/.
874 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
875 $(elfobjdir)/.
876 (link-libc-deps): Likewise.
877 ($(common-objpfx)libc.so): Likewise.
878 ($(common-objpfx)linkobj/libc.so): Likewise.
879 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
880 instead of $(common-objpfx)elf/.
881 (symbolic-link-list): Likewise.
882 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
883 [$(cross-compiling) = no]: Likewise.
884 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
885 $(elfobjdir)/.
886 (static-gnulib-arch): Likewise.
887 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
888 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
889 $(common-objpfx)elf/.
890
3612eb8f
RH
8912014-05-21 Richard Henderson <rth@redhat.com>
892
a6b3657b
RH
893 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
894 (SINGLE_THREAD_P): Use the correct width load. Fold
895 into the ldr offset.
896
3612eb8f
RH
897 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
898 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
899
175cef41
JM
9002014-05-20 Joseph Myers <joseph@codesourcery.com>
901
902 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
903 (libgcc_s_resume): Use __attribute_used__.
904 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
905 Likewise.
906
e13bccd3
AZ
9072014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
908
909 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
910 optimization when used with float constants.
911
7c112a38
AZ
912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
913
ae75a883
AJ
9142014-05-20 Aurelien Jarno <aurelien@aurel32.net>
915
916 [BZ #16915]
917 * locale/nl_langinfo_l.c: Make direct reference to every
918 _nl_current_CATEGORY symbol.
919 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
920 (tests-static): Add tst-langinfo-static.
921 (tests-special): Add tst-langinfo-static.out.
922 ($(objpfx)tst-langinfo.out): Redirect output.
923 ($(objpfx)tst-langinfo-static.out): New.
924 * localedata/tst-langinfo.sh: Send output to stdout.
925 * localedata/tst-langinfo-static.c: New file.
926
4406c41c
AJ
927 [BZ #16965]
928 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
929 when the shift amount is modulo the limb size.
930
4c0a1e63
RH
9312014-05-20 Richard Henderson <rth@redhat.com>
932
de9d8f20
RH
933 [BZ #16967]
934 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
935 Change type of sa_flags from unsigned int to int.
936
4c0a1e63
RH
937 [BZ #16966]
938 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
939
940 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
941
a60339aa
WN
9422014-05-20 Will Newton <will.newton@linaro.org>
943
944 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
945 Test the return value of the system call in the nocancel case.
946
7d05a816
YR
9472014-05-20 Will Newton <will.newton@linaro.org>
948 Yvan Roux <yvan.roux@linaro.org>
949
950 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
951 #include of asm/ptrace.h.
952 (PTRACE_GET_THREAD_AREA): Remove #undef.
953 (PTRACE_GETHBPREGS): Likewise.
954 (PTRACE_SETHBPREGS): Likewise.
955 (struct user_regs_struct): New structure.
956 (struct user_fpsimd_struct): New structure.
957 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
958 #include of asm/ptrace.h and second #include of sys/user.h.
959 (PTRACE_GET_THREAD_AREA): Remove #undef.
960 (PTRACE_GETHBPREGS): Likewise.
961 (PTRACE_SETHBPREGS): Likewise.
962 (ELF_NGREG): Use new struct user_regs_struct.
963 (elf_fpregset_t): Use new struct user_fpsimd_struct.
964
af121e37
AZ
9652014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
966
967 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
968 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
969
834caf06
JM
9702014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
971
972 [BZ #16958]
973 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
974 membar to avoid block loads/stores to overlap previous stores.
975
e184a918
RH
9762014-05-17 Richard Henderson <rth@redhat.com>
977
978 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
979 Create the __##syscall_name##_nocancel entry point.
980 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
981 Remove; let the sysdep-cancel.h code create it.
982
f56c7a6a
DM
9832014-05-17 David S. Miller <davem@davemloft.net>
984
985 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
986 Protect with __USE_GNU.
987 (TIOCSET_TEMPT): Likewise.
988 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
989 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
990 these are already provided in bits/ioctl-types.h
991
f75616b2
RM
9922014-05-16 Roland McGrath <roland@hack.frob.com>
993
3edeca86
RM
994 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
995 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
996
f75616b2
RM
997 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
998 Use wait4 regardless of [__NR_waitpid].
999
deb0f7f6
MR
10002014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1001
1002 PR libgcc/60166
1003 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1004 (_FP_NANSIGN_Q): Set the quiet bit.
1005
79520f4b
JM
10062014-05-16 Joseph Myers <joseph@codesourcery.com>
1007
1008 * benchtests/Makefile
1009 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1010 not $(common-objpfx)math/libm.so.
1011 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1012 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1013 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1014 $(common-objpfx)dlfcn/libdl.so.
1015 ($(objpfx)tst-audit8): Depend on $(libm), not
1016 $(common-objpfx)math/libm.so.
1017 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1018 not $(common-objpfx)dlfcn/libdl.so.
1019 * math/Makefile
1020 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1021 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1022 [$(build-shared) = yes].
1023 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1024 $(common-objpfx)nptl/libpthread.so.
1025 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1026 $(common-objpfx)math/libm.so$(libm.so-version) or
1027 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1028 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1029 $(common-objpfx)dlfcn/libdl.so.
1030 * setjmp/Makefile (link-libm): Remove variable.
1031 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1032 * stdio-common/Makefile (link-libm): Remove variable.
1033 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1034 * stdlib/Makefile (link-libm): Remove variable.
1035 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1036 ($(objpfx)tst-strtod-round): Likewise.
1037 ($(objpfx)tst-tininess): Likewise.
1038 ($(objpfx)tst-strtod-underflow): Likewise.
1039 ($(objpfx)tst-strtod6): Likewise.
1040 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1041 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1042 $(common-objpfx)dlfcn/libdl.so.
1043
026b0fe4
AZ
10442014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1045
1046 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1047 BSD terminal modes definitions.
1048
def4bcb2
RM
10492014-05-16 Roland McGrath <roland@hack.frob.com>
1050
fe39b021
RM
1051 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1052 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1053
1d1fc46e 1054 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
1055 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1056 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1057 Don't do #include_next.
1058 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1059 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1060 Don't do #include_next.
1061 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1062 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1063 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1064 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1065
c72399fb
AM
10662014-05-16 Allan McRae <allan@archlinux.org>
1067
d51d659d
AM
1068 * po/sv.po: Update Swedish translation from translation project.
1069
c72399fb
AM
1070 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1071 in sed expression.
1072
d0583c40
AJ
10732014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1074
1075 [BZ #16917]
1076 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1077 errno if the TIOCGPTN ioctl fails with an error different than
1078 EINVAL.
1079 * login/tst-ptsname.c: New file.
1080 * login/Makefile (tests): Add tst-ptsname.
1081
d16e6ec7
AJ
1082 [BZ #16943]
1083 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1084 and prlimit64.
1085
cf26a0cb
SP
10862014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1087
1088 [BZ #16849]
1089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1090 herrno to return EAI_AGAIN.
1091
5675da1e
RM
10922014-05-14 Roland McGrath <roland@hack.frob.com>
1093
a5d87b3d
RM
1094 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1095 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1096 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1097 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1098 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1099 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1100 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1101 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1102 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1103 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1104 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1105 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1106 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1107 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1108 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1109 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1110 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1111 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1112 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1113 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1114 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1115 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1116 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1117 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1118 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1119 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1120 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1121 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1122 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1123 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1125 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1127 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1129 Moved ...
1130 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1132 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1134 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1136 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1138 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1140 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1142 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1144 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1146 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1148 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1150 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1152 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1154 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1156 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1158 Moved ...
1159 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1161 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1163 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1165 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1167 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1169 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1171 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1173 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1175 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1177 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1179 Moved ...
1180 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1182 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1183
039890a6
RM
1184 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1185 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1186 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1187 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1188 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1189 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1190 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1191 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1192 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1193 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1194 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1195 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1196 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1197 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1198 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1199 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1200 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1201 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1202 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1203 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1204 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1205 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1206 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1207 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1208 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1209 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1210 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1211 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1212 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1213 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1214 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1215
65c89320
RM
1216 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1217 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1218
348f8e8c
RM
1219 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1220 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1221 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1222 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1223 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1224 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1225 Moved ...
1226 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1227 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1228 Moved ...
1229 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1230 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1231 Moved ...
1232 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1233 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1234 Moved ...
1235 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1236 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1237 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1238 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1239 Moved ...
1240 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1241 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1242 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1243 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1244 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1245 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1246 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1247 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1248 Moved ...
1249 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1250 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1251 Moved ...
1252 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1253 ... here.
1254 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1255 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1256 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1257 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1258 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1259 Moved ...
1260 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1261 ... here.
1262 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1263 Moved ...
1264 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1265 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1266 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1267 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1268 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1269 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1270 Moved ...
1271 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1272 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1273 Moved ...
1274 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1275 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1276 Moved ...
1277 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1278 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1279 Moved ...
1280 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1281 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1282 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1283 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1284 Moved ...
1285 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1286 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1287 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1288 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1289 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1290 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1291 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1292 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1293 Moved ...
1294 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1295 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1296 Moved ...
1297 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1298 ... here.
1299 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1300 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1301 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1302 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1303 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1304 Moved ...
1305 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1306 ... here.
1307 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1308 Moved ...
1309 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1310 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1311 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1312 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1313 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1314 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1315 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1316 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1317 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1318 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1319 Moved ...
1320 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1321 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1322 Moved ...
1323 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1324 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1325 Moved ...
1326 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1327 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1328 Moved ...
1329 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1330 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1331 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1332 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1333 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1334 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1335 Moved ...
1336 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1337 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1338 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1339 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1340 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1341 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1342 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1343 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1344 Moved ...
1345 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1346 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1347 Moved ...
1348 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1349 ... here.
1350 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1351 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1352 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1353 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1354 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1355 Moved ...
1356 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1357 ... here.
1358 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1359 Moved ...
1360 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1361 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1362 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1363 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1364 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1365 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1366 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1367 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1368 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1369 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1370 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1371
5085af05
RM
1372 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1373 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1374
708f0813
RM
1375 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1376 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1377
c96067bc
RM
1378 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1379 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1380 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1381 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1382 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1383 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1384 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1385 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1386 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1387 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1388 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1389 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1390 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1391 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1392 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1393 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1394 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1395 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1396 Moved ...
1397 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1398 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1399 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1400 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1401 Moved ...
1402 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1403 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1404 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1405 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1406 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1407 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1408 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1409 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1410 Moved ...
1411 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1412 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1413 Moved ...
1414 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1415 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1416 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1417 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1418 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1419 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1420 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1421 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1422 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1423 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1424 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1425 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1426 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1427 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1428 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1429 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1430 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1431
ec136444
RM
1432 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1433 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1434 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1435 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1436 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1437
2fbdf533
RM
1438 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1439 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1440 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1441 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1442 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1443 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1444 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1445 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1446 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1447 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1448
4c68138b
RM
1449 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1450 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1451
4eaae765
RM
1452 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1453 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
1454 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1455 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1456 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1457 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1458 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1459 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1460 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1461 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1462 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1463 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1464 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1465 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1467 Update #include.
1468 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1469 Likewise.
1470 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1471 Likewise.
1472 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1473 Likewise.
1474 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1475 Likewise.
1476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1477 Likewise.
1478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1479 Likewise.
1480 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1481 Likewise.
1482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1483 Likewise.
1484 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1485 Likewise.
4ef6befa
RM
1486 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1487 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1488 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1489 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1490 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
1491 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1492 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1493 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1494 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1495 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1496 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1497 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1498 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1499 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1500 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 1501
941d7dfd
RM
1502 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1503 that was previously under [RESET_PID].
1504 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1505 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1506 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1507
1b731c35
RM
1508 * sysdeps/i386/nptl/Implies: New file.
1509 * sysdeps/x86_64/nptl/Implies: New file.
1510 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1511 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1512 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1513 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1514
e2787137
RM
1515 * sysdeps/unix/sysv/linux/i386/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/i386/vfork.S: File removed.
1519 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1520
1521 * sysdeps/unix/sysv/linux/x86_64/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 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1525 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1526
5675da1e
RM
1527 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1528 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1529 (__libc_vfork): New strong alias.
1530 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1531 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1532 * nptl/pt-vfork.c: New file.
1533 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1534 (libpthread: GLIBC_2.20): New version set (empty).
1535
4f02e2b8
WN
15362014-05-14 Will Newton <will.newton@linaro.org>
1537
1538 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1539 rather than #if.
1540
0bf061d3
JM
15412014-05-14 Joseph Myers <joseph@codesourcery.com>
1542
1a84c3d6
JM
1543 [BZ #16564]
1544 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1545 arguments with exponent 65 or above.
1546 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1547 arguments 0x1p113L or above.
1548 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1549 to arguments 0x1p107L or above.
1550 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1551 positive arguments with exponent 65 or above.
1552 * math/auto-libm-test-in: Add more tests of log1p.
1553 * math/auto-libm-test-out: Regenerated.
1554
01dbacd2
JM
1555 [BZ #16928]
1556 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1557 non-finite arguments is +0.
1558 * math/s_cacosf.c (__cacosf): Likewise.
1559 * math/s_cacosl.c (__cacosl): Likewise.
1560 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1561 * sysdeps/i386/fpu/libm-test-ulps: Update.
1562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1563
913d03c8
JM
1564 [BZ #16927]
1565 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1566 value.
1567 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1568 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1569 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1570 for explicit high bit of mantissa when testing for argument equal
1571 to 1.
1572 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1573 * sysdeps/i386/fpu/libm-test-ulps: Update.
1574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1575
0bf061d3
JM
1576 [BZ #16516]
1577 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1578 (__erf): Scale by 16 instead of 8 in potentially underflowing
1579 case. Ensure exception if result actually underflows.
1580 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1581 (__erff): Scale by 16 instead of 8 in potentially underflowing
1582 case. Ensure exception if result actually underflows.
1583 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1584 (efx8): Remove variable.
1585 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1586 case. Ensure exception if result actually underflows.
1587 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1588 (efx8): Remove variable.
1589 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1590 case. Ensure exception if result actually underflows.
1591 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1592 (efx8): Remove variable.
1593 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1594 case. Ensure exception if result actually underflows.
1595 * math/auto-libm-test-in: Add more tests of erf.
1596 * math/auto-libm-test-out: Regenerated.
1597
73ba67cb
AS
15982014-05-14 Andreas Schwab <schwab@suse.de>
1599
3d8c8bff
AS
1600 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1601 Remove code conditionalized on USE___THREAD.
1602
73ba67cb
AS
1603 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1604 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1605 not definedness.
1606
5c521ecd
JM
16072014-05-14 Joseph Myers <joseph@codesourcery.com>
1608
5e7698c6
JM
1609 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1610 Define unconditionally.
1611 (__ASSUME_O_CLOEXEC): Likewise.
1612 (__ASSUME_SOCK_CLOEXEC): Likewise.
1613 (__ASSUME_IN_NONBLOCK): Likewise.
1614 (__ASSUME_PIPE2): Likewise.
1615 (__ASSUME_EVENTFD2): Likewise.
1616 (__ASSUME_SIGNALFD4): Likewise.
1617 (__ASSUME_DUP3): Likewise.
1618 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1619 (__ASSUME_DUP3): Do not define.
1620 (__ASSUME_EVENTFD2): Likewise.
1621 (__ASSUME_IN_NONBLOCK): Likewise.
1622 (__ASSUME_O_CLOEXEC): Likewise.
1623 (__ASSUME_PIPE2): Likewise.
1624 (__ASSUME_SIGNALFD4): Likewise.
1625 (__ASSUME_SOCK_CLOEXEC): Likewise.
1626 (__ASSUME_UTIMES): Undefine.
1627 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1628 (__ASSUME_UTIMES): Do not define.
1629 (__ASSUME_O_CLOEXEC): Likewise.
1630 (__ASSUME_SOCK_CLOEXEC): Likewise.
1631 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1632 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1633 0x020621].
1634 (__ASSUME_PIPE2): Likewise.
1635 (__ASSUME_EVENTFD2): Likewise.
1636 (__ASSUME_SIGNALFD4): Likewise.
1637 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1638 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1639 Do not define.
1640 (__ASSUME_EVENTFD2): Likewise.
1641 (__ASSUME_SIGNALFD4): Likewise.
1642 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1643 (__ASSUME_32BITUIDS): Likewise.
1644 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1645 (__ASSUME_IPC64): Likewise.
1646 (__ASSUME_ST_INO_64_BIT): Likewise.
1647 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1648 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1649 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1650 (__ASSUME_UTIMES): Do not define.
1651 (__ASSUME_PSELECT): Likewise.
1652 (__ASSUME_PPOLL): Likewise.
1653 (__ASSUME_O_CLOEXEC): Likewise.
1654 (__ASSUME_SOCK_CLOEXEC): Likewise.
1655 (__ASSUME_IN_NONBLOCK): Likewise.
1656 (__ASSUME_PIPE2): Likewise.
1657 (__ASSUME_EVENTFD2): Likewise.
1658 (__ASSUME_SIGNALFD4): Likewise.
1659 (__ASSUME_DUP3): Likewise.
1660 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1661 (__ASSUME_UTIMES): Likewise.
1662 (__ASSUME_O_CLOEXEC): Likewise.
1663 (__ASSUME_SOCK_CLOEXEC): Likewise.
1664 (__ASSUME_IN_NONBLOCK): Likewise.
1665 (__ASSUME_PIPE2): Likewise.
1666 (__ASSUME_EVENTFD2): Likewise.
1667 (__ASSUME_SIGNALFD4): Likewise.
1668 (__ASSUME_DUP3): Likewise.
1669 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1670 (__ASSUME_UTIMES): Likewise.
1671 (__ASSUME_O_CLOEXEC): Likewise.
1672 (__ASSUME_SOCK_CLOEXEC): Likewise.
1673 (__ASSUME_IN_NONBLOCK): Likewise.
1674 (__ASSUME_PIPE2): Likewise.
1675 (__ASSUME_EVENTFD2): Likewise.
1676 (__ASSUME_SIGNALFD4): Likewise.
1677 (__ASSUME_DUP3): Likewise.
1678 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1679 Likewise.
1680 (__ASSUME_UTIMES): Likewise.
1681 (__ASSUME_EVENTFD2): Likewise.
1682 (__ASSUME_SIGNALFD4): Likewise.
1683 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1684 (__ASSUME_O_CLOEXEC): Likewise.
1685 (__ASSUME_SOCK_CLOEXEC): Likewise.
1686 (__ASSUME_IN_NONBLOCK): Likewise.
1687 (__ASSUME_PIPE2): Likewise.
1688 (__ASSUME_EVENTFD2): Likewise.
1689 (__ASSUME_SIGNALFD4): Likewise.
1690 (__ASSUME_DUP3): Likewise.
1691 (__ASSUME_UTIMES): Undefine.
1692
5c521ecd
JM
1693 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1694 feclearexcept. Remove symbol versioning code.
1695 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1696 symbol versioning code.
1697 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1698 symbol versioning code.
1699 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1700 feupdateenv. Remove symbol versioning code.
1701 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1702 fegetexceptflag. Remove symbol versioning code.
1703 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1704 fesetexceptflag. Remove symbol versioning code.
1705 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1706 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1707 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1708 (__posix_fadvise64_l32): Remove prototype.
1709 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1710 code.
1711
5da9dfad
RM
17122014-05-13 Roland McGrath <roland@hack.frob.com>
1713
1714 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1715 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1716 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1717 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1718
893b4f37
SK
17192014-05-13 Sami Kerola <kerolasa@iki.fi>
1720
1721 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1722 current working directory
1723
e0db6517
RM
17242014-05-13 Roland McGrath <roland@hack.frob.com>
1725
58aa195d
RM
1726 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1727 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1728 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1729 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1730 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1731 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1732 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1733 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1734 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1735 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1736 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1737 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1738 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1739 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1740 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1741 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1742 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1743 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1744 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1745 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1746 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1747 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1748 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1749 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1750 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1751 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1752 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1753 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1754 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1755 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1756 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1757 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1758 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1759 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1760 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1761 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1762 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1763 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1764 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1765 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1766 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1767 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1768
8c6d01f0
RM
1769 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1770 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1771
1772 * sysdeps/unix/sysv/linux/arm/Makefile
1773 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1774 Add rt-aeabi_unwind_cpp_pr1.
1775 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1776 Add nptl-aeabi_unwind_cpp_pr1.
1777 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1778 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1779 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1780 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1781 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1782 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1783
1784 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1785 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1786 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1787 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1788
bba6da4e
RM
1789 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1790 Deconditionalize the code that was previously under [RESET_PID].
1791 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1792
e0db6517
RM
1793 * sysdeps/generic/exit-thread.h: New file.
1794 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1795 * include/unistd.h (__exit_thread): Remove declaration.
1796 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1797 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1798 * csu/libc-start.c: Include <exit-thread.h>.
1799 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1800 * nptl/pthread_create.c: Include <exit-thread.h>.
1801 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1802 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1803 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1804 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1805 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1806 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1807 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1808 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1809 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1810 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1811 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1812 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1813 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1814 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1815 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1816 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1817 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1818
01eb16fd
AS
18192014-05-13 Andreas Schwab <schwab@suse.de>
1820
1821 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1822
637461d9
JM
18232014-05-12 Joseph Myers <joseph@codesourcery.com>
1824
1825 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1826 (__ASSUME_UTIMES): Do not condition on kernel version.
1827 (__ASSUME_PSELECT): Define unconditionally.
1828 (__ASSUME_PPOLL): Likewise.
1829 (__ASSUME_ATFCTS): Likewise.
1830 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1831 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1832 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1833 (__ASSUME_UTIMENSAT): Define unconditionally.
1834 (__ASSUME_PRIVATE_FUTEX): Likewise.
1835 (__ASSUME_FALLOCATE): Likewise.
1836 (__ASSUME_O_CLOEXEC): Likewise.
1837 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1838 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1839 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1840 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1841 (__ASSUME_IN_NONBLOCK): Likewise.
1842 (__ASSUME_PIPE2): Likewise.
1843 (__ASSUME_EVENTFD2): Likewise.
1844 (__ASSUME_SIGNALFD4): Likewise.
1845 (__ASSUME_DUP3): Likewise.
1846 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1847 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1848 (__ASSUME_AT_RANDOM): Likewise.
1849 (__ASSUME_PREADV): Likewise.
1850 (__ASSUME_PWRITEV): Likewise.
1851 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1852 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1853 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1854 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1855 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1856 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1857 (__ASSUME_O_CLOEXEC): Define unconditionally.
1858 (__ASSUME_PSELECT): Do not undefine conditionally.
1859 (__ASSUME_PPOLL): Likewise.
1860 (__ASSUME_ATFCTS): Likewise.
1861 (__ASSUME_SET_ROBUST_LIST): Likewise.
1862 (__ASSUME_UTIMENSAT): Likewise.
1863 (__ASSUME_FDATASYNC): Define unconditionally.
1864 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1865 (__ASSUME_SIGFRAME_V2): Likewise.
1866 )__ASSUME_EVENTFD2): Likewise.
1867 (__ASSUME_SIGNALFD4): Likewise.
1868 (__ASSUME_PSELECT): Do not undefine conditionally.
1869 (__ASSUME_PPOLL): Likewise.
1870 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1871 (__ASSUME_PSELECT): Define unconditionally.
1872 (__ASSUME_PPOLL): Likewise.
1873 (__ASSUME_O_CLOEXEC): Likewise.
1874 (__ASSUME_SOCK_CLOEXEC): Likewise.
1875 (__ASSUME_IN_NONBLOCK): Likewise.
1876 (__ASSUME_PIPE2): Likewise.
1877 (__ASSUME_EVENTFD2): Likewise.
1878 (__ASSUME_SIGNALFD4): Likewise.
1879 (__ASSUME_DUP3): Likewise.
1880 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1881 (__ASSUME_O_CLOEXEC): Likewise.
1882 (__ASSUME_SOCK_CLOEXEC): Likewise.
1883 (__ASSUME_IN_NONBLOCK): Likewise.
1884 (__ASSUME_PIPE2): Likewise.
1885 (__ASSUME_EVENTFD2): Likewise.
1886 (__ASSUME_SIGNALFD4): Likewise.
1887 (__ASSUME_DUP3): Likewise.
1888 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1889 (__ASSUME_EVENTFD2): Likewise.
1890 (__ASSUME_SIGNALFD4): Likewise.
1891 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1892
315eb1d8
AS
18932014-05-12 Andreas Schwab <schwab@suse.de>
1894
1895 [BZ #16932]
1896 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1897 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1898 than maximum RPC packet size.
1899 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1900 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1901 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1902 (_nss_nis_getservbyport_r): Likewise.
1903
91df99f7
WN
19042014-05-12 Will Newton <will.newton@linaro.org>
1905
1906 * malloc/Makefile (tests): Add tst-mallopt.
1907 * malloc/tst-mallopt.c: New file.
1908
0a982a29
RM
19092014-05-09 Roland McGrath <roland@hack.frob.com>
1910
1911 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1912 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1913
0ded08a5
AZ
19142014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1915
1916 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1917 (tst-tlsmod6.so): Likewise.
1918
55d4d550
RM
19192014-05-09 Roland McGrath <roland@hack.frob.com>
1920
1921 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1922
77d08aca
JM
19232014-05-09 Joseph Myers <joseph@codesourcery.com>
1924
1925 [BZ #16064]
1926 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1927 and <dl-procinfo.h>.
1928 (__fegetenv): Save SSE state in envp->__eip if supported.
1929 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1930 envp->__eip if supported.
1931 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1932 and <dl-procinfo.h>.
1933 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1934 __data_offset and __data_selector in environment to 0. Set SSE
1935 state if supported.
1936 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1937 test-fenv-sse.
1938 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1939 -mfpmath=sse.
1940 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1941
28162f4d
WN
19422014-05-09 Will Newton <will.newton@linaro.org>
1943
1944 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1945 and libc_relro_required for ARM.
1946 * sysdeps/arm/preconfigure: Regenerate.
1947
5a414ff7
DV
19482014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1949 Stefan Liebler <stli@linux.vnet.ibm.com>
1950
1951 * config.make.in (enable-lock-elision): New Makefile variable.
1952 * configure.ac: Likewise.
1953 * configure: Regenerate.
1954 * sysdeps/s390/configure.ac:
1955 Add check for gcc transactions support.
1956 * sysdeps/s390/configure: Regenerate.
1957 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1958 Build elision files if enabled.
1959 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1960 Add lock elision support for s390.
1961 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1962 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1963 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1964 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1965 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1966 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1967 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1968 Likewise.
1969 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1970 Likewise.
1971 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1972 Likewise.
1973 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1974 Likewise.
1975 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1976 (__lll_timedlock_elision, __lll_lock_elision)
1977 (__lll_unlock_elision, __lll_trylock_elision)
1978 (lll_timedlock_elision, lll_lock_elision)
1979 (lll_unlock_elision, lll_trylock_elision): Add.
1980 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1981 (pthread_mutex_t): Add lock elision support for s390.
1982
1a2f40e5
W
19832014-05-14 Wilco <wdijkstr@arm.com>
1984
1985 * sysdeps/arm/fclrexcpt.c: Cleanup.
1986 * sysdeps/arm/fedisblxcpt.c: Cleanup.
1987 * sysdeps/arm/feenablxcpt.c: Cleanup.
1988 * sysdeps/arm/fegetenv.c: Cleanup.
1989 * sysdeps/arm/fegetexcept.c: Cleanup.
1990 * sysdeps/arm/fegetround.c: Cleanup.
1991 * sysdeps/arm/feholdexcpt.c: Cleanup.
1992 * sysdeps/arm/fesetenv.c: Cleanup.
1993 * sysdeps/arm/fesetround.c: Cleanup.
1994 * sysdeps/arm/feupdateenv.c: Cleanup.
1995 * sysdeps/arm/fgetexcptflg.c: Cleanup.
1996 * sysdeps/arm/fraiseexcpt.c: Cleanup.
1997 * sysdeps/arm/fsetexcptflg.c: Cleanup.
1998 * sysdeps/arm/ftestexcept.c: Cleanup.
1999 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2000 * sysdeps/arm/setfpucw.c: Cleanup.
2001
f63c86fe
WN
20022014-05-09 Will Newton <will.newton@linaro.org>
2003
2004 * sysdeps/arm/armv7/strcmp.S: New file.
2005 * NEWS: Mention addition of ARMv7 optimized strcmp.
2006
7a1a51b5
RM
20072014-05-08 Roland McGrath <roland@hack.frob.com>
2008
95afbbe5
RM
2009 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2010 look for %.ac rather than %.in.
2011
2012 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2013 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2014 * sysdeps/mach/hurd/configure: Regenerated.
2015 * sysdeps/unix/sysv/linux/configure: Regenerated.
2016
7a1a51b5
RM
2017 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2018
5057ad3b
SE
20192014-05-07 Steve Ellcey <sellcey@mips.com>
2020
2021 [BZ# 16922]
2022 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2023 (LONG_SUB): Ditto.
2024 (PTR_SUB): Ditto.
2025
8dc97517
AS
20262014-05-07 Andreas Schwab <schwab@suse.de>
2027
2028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2029 when skipping over non-matching result from nscd.
2030
ce0c5b8f
OB
20312014-05-07 Ondřej Bílka <neleai@seznam.cz>
2032
2033 [BZ #16876]
2034 * nptl/sockperf.c (client): Check socket return value.
8dc97517 2035
a1189263
OB
2036 [BZ #16877]
2037 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2038 nscd security class.
ce0c5b8f 2039
0f58d252
RM
20402014-05-06 Roland McGrath <roland@hack.frob.com>
2041
2042 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2043 * sysdeps/arm/unwind.h: ... here.
2044
83df9ad0
AJ
20452014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2046
ce0c5b8f
OB
2047 [BZ# 16916]
2048 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2049 Define.
83df9ad0 2050
f360f94a
VR
20512014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2052
2053 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2054 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2055 multiarch strncpy for PPC64.
2056 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2057 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2058 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2059 multiarch optimizations.
2060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2061 (__libc_ifunc_impl_list): Likewise.
2062 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2063 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2064 multiarch stpncpy for PPC64.
2065 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2066 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2067
978a41c3
AS
20682014-05-06 Andreas Schwab <schwab@suse.de>
2069
2070 [BZ #16912]
2071 * gmon/mcount.c (_MCOUNT_DECL): Use
2072 atomic_compare_and_exchange_bool_acq instead of
2073 catomic_compare_and_exchange_bool_acq.
2074
eb1ed03d
RM
20752014-05-05 Roland McGrath <roland@hack.frob.com>
2076
fe658845
RM
2077 * elf/Makefile (others, install-bin): Remove pldd.
2078 (pldd-modules): Variable removed.
2079 ($(objpfx)pldd): Target removed.
2080 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2081 (others, install-bin): Append pldd here.
2082 ($(objpfx)pldd): New target.
2083
eb1ed03d
RM
2084 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2085 to 0, so the first #if test emitted later doesn't see it undefined.
2086 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2087 * sysdeps/gnu/errlist.c: Regenerated.
2088
19c4bec0
AZ
20892014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2090
2091 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2092 [libc_hidden_builtin_def]: Define to empty value.
2093 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2094 [libc_hidden_builtin_def]: Likewise.
2095 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2096 [libc_hidden_builtin_def]: Likewise.
2097 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2098 [libc_hidden_builtin_def]: Likewise.
2099 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2100 __redirect_memcpy and define ifunc as default hidden symbol.
2101 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2102 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2103
7776e669
AC
21042014-05-04 Adam Conrad <adconrad@0c3.net>
2105
2106 * locale/iso-4217.def: Reintroduce XDR currency.
2107
d69aeb12
AM
21082014-05-04 Allan McRae <allan@archlinux.org>
2109
2110 * po/eo.po: Update Esperanto translation from translation project.
2111
8f1df5cf
CD
21122014-05-02 Carlos O'Donell <carlos@redhat.com>
2113
2114 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2115 and FEATURE_INDEX_MAX to 1.
2116 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2117
13e402e7
SE
21182014-05-01 Steve Ellcey <sellcey@mips.com>
2119
2120 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2121 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2122 * iconvdata/big5.c (ONE_DIRECTION): Define.
2123 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2124 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2125 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2126 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2127 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2128 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2129 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2130 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2131 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2132 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2133 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2134 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2135 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2136 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2137 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2138 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2139 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2140 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2141 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2142 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2143 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2144 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2145 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2146 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2147 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2148 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2149 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2150 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2151 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2152 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2153 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2154 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2155 * iconvdata/johab.c (ONE_DIRECTION): Define.
2156 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2157 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2158 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2159 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2160 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2161 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2162 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2163 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2164 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2165 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2166
c727f032
RM
21672014-05-01 Roland McGrath <roland@hack.frob.com>
2168
8f2f08d0
RM
2169 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2170 (_IO_JUMPS_OFFSET): Define to 0.
2171
c727f032
RM
2172 * nptl/sysdeps/pthread/bits/libc-lock.h
2173 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2174 (__libc_lock_define_initialized_recursive): Always define using
2175 initializer. Modern compilers treat uninitialized (implicit zero) and
2176 explicit zero initializers the same (i.e. put the datum in bss).
2177
a849e800
AS
21782014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2179
2180 * nscd/nscd-client.h: Include <string.h>.
2181
5331255b
DM
21822014-05-01 David S. Miller <davem@davemloft.net>
2183
2184 [BZ #16885]
2185 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2186 multiple zero bytes exist at the end of a string.
2187 Reported by Aurelien Jarno <aurelien@aurel32.net>
2188
2189 * string/test-strcmp.c (check): Add explicit test for situations where
2190 there are multiple zero bytes after the first.
2191
4fdfe821
AS
21922014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2193
2194 [BZ #16890]
2195 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2196 when compiling wprintf.
2197 * stdio-common/tstdiomisc.c (t3): New function.
2198 (main): Call it.
2199
0cdddc25
SE
22002014-05-01 Steve Ellcey <sellcey@mips.com>
2201
2202 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2203 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2204 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2205 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2206
6426d77e
SE
22072014-05-01 Steve Ellcey <sellcey@mips.com>
2208
2209 * stdlib/longlong.h: Updated from GCC.
2210
6d96f5e4
WN
22112014-05-01 Will Newton <will.newton@linaro.org>
2212 Bernard Ogden <bernie.ogden@linaro.org>
2213
7470db0c
WN
2214 * NEWS: Update fixed bug list.
2215
6d96f5e4
WN
2216 [BZ #15119]
2217 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2218
211d653c
DM
22192014-04-30 David S. Miller <davem@davemloft.net>
2220
4fa262fa
DM
2221 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2222 (libc_feholdexcept_setround_sparc_ctx): New function.
2223 (libc_fesetenv_sparc_ctx): Likewise.
2224 (libc_feupdateenv_sparc_ctx): Likewise.
2225 (libc_feholdsetround_sparc_ctx): Likewise.
2226 (libc_feholdexcept_setround_ctx): Define.
2227 (libc_feholdexcept_setroundf_ctx): Likewise.
2228 (libc_feholdexcept_setroundl_ctx): Likewise.
2229 (libc_fesetenv_ctx): Likewise.
2230 (libc_fesetenvf_ctx): Likewise.
2231 (libc_fesetenvl_ctx): Likewise.
2232 (libc_feupdateenv_ctx): Likewise.
2233 (libc_feupdateenvf_ctx): Likewise.
2234 (libc_feupdateenvl_ctx): Likewise.
2235 (libc_feresetround_ctx): Likewise.
2236 (libc_feresetroundf_ctx): Likewise.
2237 (libc_feresetroundl_ctx): Likewise.
2238 (libc_feholdsetround_ctx): Likewise.
2239 (libc_feholdsetroundf_ctx): Likewise.
2240 (libc_feholdsetroundl_ctx): Likewise.
2241
1d3d93ef
DM
2242 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2243 with __USE_GNU instead of XOPEN cpp guards.
2244
8aa583c3
DM
2245 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2246 0.
2247
211d653c
DM
2248 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2249 with XOPEN cpp guards.
2250
60c8f1f6
JB
22512014-04-30 Julian Brown <julian@codesourcery.com>
2252
2253 [BZ #16888]
2254 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2255 handling.
2256
9a461d46
JM
22572014-04-30 Joseph Myers <joseph@codesourcery.com>
2258
d0f5b3f8
JM
2259 [BZ #9894]
2260 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2261 Change to 2.6.32.
2262 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2263 * sysdeps/unix/sysv/linux/configure: Regenerated.
2264 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2265 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2266 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2267 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2268 * README: Update reference to required Linux kernel version.
2269 * manual/install.texi (Linux): Update reference to required Linux
2270 kernel headers version.
2271 * INSTALL: Regenerated.
2272
9a461d46
JM
2273 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2274 header inclusion.
2275 [POSIX] (limits.h): Likewise.
2276 [POSIX] (math.h): Likewise.
2277 [POSIX] (sys/wait.h): Likewise.
2278 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2279 function.
2280 [POSIX] (stddef.h): Do not allow header inclusion.
2281
1775babf
AZ
22822014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2283
57f41c40 2284 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 2285
8f630cca
YY
22862014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2287
2288 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2289 Return immediately after lll_futex_wake.
2290
1cdeb237
SP
22912014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2292
bc8f194c
SP
2293 [BZ #16791]
2294 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2295 structure.
2296 (datahead_init_pos): Call datahead_init_common early.
2297 (datahead_init_neg): Likewise.
2298
1cdeb237
SP
2299 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2300 datahead_init_neg): New functions.
2301 * nscd/aicache.c (addhstaiX): Use them.
2302 * nscd/grpcache.c (cache_addgr): Likewise.
2303 * nscd/hstcache.c (cache_addhst): Likewise.
2304 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2305 * nscd/netgroupcache.c (do_notfound): Likewise.
2306 (addgetnetgrentX): Likewise.
2307 (addinnetgrX): Likewise.
2308 * nscd/pwdcache.c (cache_addpw): Likewise.
2309 * nscd/servicescache.c (cache_addserv): Likewise.
2310
16b293a7
SP
23112014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2312 Atsushi Onoe <atsushi@onoe.org>
2313
2314 [BZ #14308]
2315 [BZ #12994]
2316 [BZ #13651]
2317 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2318 one response is valid.
2319 * resolv/res_send.c (send_dg): Check for validity of other
2320 response if the current response is a referral.
2321
a28a9b94
SE
23222014-04-29 Steve Ellcey <sellcey@mips.com>
2323
2324 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2325
2ca180e9
SL
23262014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2327
2328 [BZ #16823]
2329 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2330 Always divide by positive zero when computing -Inf result.
2331 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2332 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2333
18f2945a
AZ
23342014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2335
2336 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2337 FPSCR if value do not change.
2338 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2339 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2340 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2341 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2342 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2343 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2344 function.
2345
5abebba4
CD
23462014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2347
2348 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2349 * sysdeps/unix/sysv/linux/hppa: Move directory from
2350 ports/systeps/unix/sysv/linux/hppa.
2351 * README: Update listing for hppa-*-linux-gnu.
2352
f7ed60c2
OB
23532014-04-28 Ondřej Bílka <neleai@seznam.cz>
2354
fff763a5
OB
2355 [BZ #16754]
2356 * manual/stdio.texi (Hook functions): Fix types of stream hook
2357 functions.
f7ed60c2
OB
2358 [BZ #16854]
2359 * socket/sys/socket.h: Fix typo in comment.
2360
df639d73
WD
23612014-04-28 Wilco <wdijkstr@arm.com>
2362
f7ed60c2 2363 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
2364 * sysdeps/arm/math_private.h: New file.
2365 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2366
48332d82
L
23672014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2368
2369 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2370 with __int128_t.
2371 (La_x86_64_retval): Likewise.
2372
e5e0d9a4
IB
23732014-04-24 Ian Bolton <ian.bolton@arm.com>
2374
2375 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2376 fpsr if value didn't change.
2377 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2378 to fpcr if value didn't change.
2379 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2380 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2381 fpsr or fpcr if value didn't change.
2382 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2383 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2384 fpcr if value didn't change.
2385 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2386 to fpsr if value didn't change.
2387
bacc75f7
SP
23882014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2389
2390 * nptl/tst-sem3.c: Use test-skeleton.c
2391 (main): Rename to do_test. Use return instead of
2392 exit.
2393 * nptl/tst-sem4.c: Use test-skeleton.c
2394 (main): Rename to do_test.
2395
a059d359
DM
23962014-04-22 David S. Miller <davem@davemloft.net>
2397
2398 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2399 (struct sigaction): New struct member __glibc_reserved0, change
2400 type of sa_flags to int.
2401
ea6c92f3
YZ
24022014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2403
2404 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2405 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2406
766c4a36
SP
24072014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2408
2409 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2410 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2411
140cc7ab
VK
24122014-04-22 Will Newton <will.newton@linaro.org>
2413 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2414
2415 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2416 (__longjmp): Add longjmp and longjmp_target SystemTap
2417 probes.
2418 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2419 (__sigsetjmp): Add setjmp SystemTap probe.
2420
c54e5cf7
CD
24212014-04-17 Carlos O'Donell <carlos@redhat.com>
2422
2423 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2424 match manual order.
2425
75ffb047
AZ
24262014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2427
2428 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2429
2cd925f7
AZ
2430 * sysdeps/powerpc/fpu/fenv_private.h
2431 (libc_feholdexcept_setroundl_ctx): Define to
2432 libc_feholdexcept_setround_ppc_ctx.
2433 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2434 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2435 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2436 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2437
39e6cd8d
IB
24382014-04-17 Ian Bolton <ian.bolton@arm.com>
2439
2440 * sysdeps/aarch64/math-tests.h: New file.
2441
f9281df9
SY
24422014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2443
2444 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2445 New.
2446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2447 Check and set bit_AVX2_Usable.
2448 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2449 macro.
2450 (bit_AVX2): Likewise.
2451 (index_AVX2_Usable): Likewise.
2452 (CPUID_AVX2): Likewise.
2453 (HAS_AVX2): Likewise.
2454
37d35007
WN
24552014-04-17 Will Newton <will.newton@linaro.org>
2456
7c677662
WN
2457 * manual/setjmp.texi (System V contexts): Add note that
2458 calling setcontext on a context created by a call to a
2459 signal handler is undefined. Update text to note that
2460 setcontext from a signal handler is possible but not
2461 recommended.
2462
37d35007 2463 [BZ #16629]
e04a4e9d
WN
2464 * stdlib/tst-setcontext.c: Include signal.h.
2465 (main): Check that the signal stack before and
2466 after swapcontext is the same.
2467
37d35007
WN
2468 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2469 Re-implement to restore registers in user code and avoid
2470 rt_sigreturn system call.
2471
423a7160
W
24722014-04-17 Wilco <wdijkstr@arm.com>
2473
2474 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2475 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2476 * math/test-fenv.c: Skip exception trap tests on targets which only
2477 support non-stop mode.
2478
bc93ab29
IB
24792014-04-17 Ian Bolton <ian.bolton@arm.com>
2480 Wilco Dijkstra <wilco.dijkstra@arm.com>
2481
2482 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2483 (libc_feholdsetround_aarch64_ctx)
2484 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2485 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2486 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2487 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2488 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2489 (libc_feresetround_noexl_ctx): Define.
2490
95fc5fa3
RH
24912014-04-16 Richard Henderson <rth@redhat.com>
2492
ddb04724
RH
2493 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2494
d77c0899
RH
2495 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2496 unwind tables.
2497
a3df56fc
RH
2498 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2499 const from the non-libc, non-ldso copy.
2500
95fc5fa3
RH
2501 * sysdeps/alpha/libm-test-ulps: Regenerate.
2502
7e0b6763
IB
25032014-04-16 Ian Bolton <ian.bolton@arm.com>
2504 Wilco Dijkstra <wilco.dijkstra@arm.com>
2505
2506 * sysdeps/aarch64/fpu/math_private.h: New file.
2507
a9ea2e0c
MS
25082014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2509
2510 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2511
ea8ba7cd
IZ
25122014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2513
2514 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2515 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2516 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2517 Intel MPX bound registers before _dl_profile_fixup.
2518 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2519 registers after _dl_profile_fixup. Save and restore bound
2520 registers bnd0/bnd1 when calling _dl_call_pltexit.
2521 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2522 (LR_BND_OFFSET): Likewise.
2523 (LRV_BND0_OFFSET): Likewise.
2524 (LRV_BND1_OFFSET): Likewise.
2525
9f2a4fbc
ST
25262014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2527
2528 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2529 to...
2530 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
2531 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2532 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2533 fields.
9f2a4fbc 2534
fd15a59b
ST
25352014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2536
2537 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2538
f19dfa0a
SL
25392014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2540
2541 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2542
4fa8bc3b
SL
25432014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2544
2545 [BZ #14770]
2546 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2547 * sysdeps/s390/configure: Regenerate.
2548
8ea587db
SL
2549 [BZ #16824]
2550 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2551 Set round-to-nearest internally to reduce error accumulation.
2552
aa5f0ff1
AM
25532014-04-16 Alan Modra <amodra@gmail.com>
2554
2555 [BZ #16740]
2556 [BZ #16619]
2557 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2558 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 2559 * NEWS: Update fixed bug list.
aa5f0ff1 2560
bb9c256f
SP
25612014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2562
2563 * benchtests/Makefile: Depend on libraries in build directory.
2564 (bench-math): Separate out math tests.
2565 (bench-pthread): Separate out pthread tests.
2566 (bench): Include math and pthread tests.
2567
f737dfd0
CD
25682014-04-14 Carlos O'Donell <carlos@redhat.com>
2569
2570 [BZ #16831]
2571 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2572 _dl_debug_initialize.
2573
0699f766
CD
2574 * configure.ac: Remove SELinux header check.
2575 * configure: Regenerate.
2576 * nscd/selinux.c (perms): Array of const char* to permission names.
2577 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2578 default policy. Call string_to_security_class and string_to_av_perm to
2579 translate strings. Enforce default policy and call avs_has_perm with
2580 results of translated strings.
2581
809bd45f
DM
25822014-04-13 David S. Miller <davem@davemloft.net>
2583
2584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2585
89e691f2
AM
25862014-04-12 Allan McRae <allan@archlinux.org>
2587
2588 [BZ #16838]
2589 * manual/string.texi (Collation Functions): Fix qsort argument
2590 order in example.
2591 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2592
9c9daaeb
CM
25932014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2594
2595 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2596 Make the test a no-op if there are no exceptions defined.
2597
95561fb9
PP
25982014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2599
fe8d072c 2600 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
2601 enable-hardcoded-path-in-tests
2602
970c602a
WN
26032014-04-11 Will Newton <will.newton@linaro.org>
2604
2605 * benchtests/Makefile (extra-objs): Add json-lib.o.
2606 (bench-func): Tidy up JSON output.
2607 * benchtests/bench-skeleton.c: Include json-lib.h.
2608 (main): Use JSON library functions to do output of
2609 benchmark results.
2610 * benchtests/bench-timing-type.c (main): Output the
2611 timing type simply, leaving formatting to the user.
2612 * benchtests/json-lib.c: New file.
2613 * benchtests/json-lib.h: Likewise.
2614
36875b06
TR
26152014-04-11 Torvald Riegel <triegel@redhat.com>
2616
2617 [BZ #15215]
2618 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2619 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2620 memory barriers. Add comments.
2621 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2622 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2623 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2624 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2625 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2626 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2627
579db35a
SL
26282014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2629
2630 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2631 * sysdeps/s390/s390-64/configure.ac: ... this ...
2632 * sysdeps/s390/configure.ac: ... to here.
2633 * sysdeps/s390/s390-32/configure: Delete file.
2634 * sysdeps/s390/s390-64/configure: Delete file.
2635 * sysdeps/s390/configure: Regenerate.
2636
c12e9f37
JAPH
26372014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2638
2639 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2640
439bda32
WN
26412014-04-11 Will Newton <will.newton@linaro.org>
2642
2643 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2644 to zero if it is not defined elsewhere. (mtrim): Test
2645 the value of MALLOC_DEBUG with #if rather than #ifdef.
2646
6a5d6ea1
TR
26472014-04-10 Torvald Riegel <triegel@redhat.com>
2648
2649 * benchtests/pthread_once-inputs: New file.
2650 * benchtests/pthread_once-source.c: New file.
2651 * benchtests/README: Update documentation.
2652
a4c75cfd
IZ
26532014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2654 H.J. Lu <hongjiu.lu@intel.com>
2655
2656 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2657 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2658 * sysdeps/x86_64/configure: Regenerated.
2659 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2660 macro.
2661 (REGISTER_SAVE_RAX): Likewise.
2662 (REGISTER_SAVE_RCX): Likewise.
2663 (REGISTER_SAVE_RDX): Likewise.
2664 (REGISTER_SAVE_RSI): Likewise.
2665 (REGISTER_SAVE_RDI): Likewise.
2666 (REGISTER_SAVE_R8): Likewise.
2667 (REGISTER_SAVE_R9): Likewise.
2668 (REGISTER_SAVE_BND0): Likewise.
2669 (REGISTER_SAVE_BND1): Likewise.
2670 (REGISTER_SAVE_BND2): Likewise.
2671 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2672 bound registers when calling _dl_fixup.
2673
27822ce6
AZ
26742014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2675
2676 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
2677 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2678 of its definition.
27822ce6
AZ
2679 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2680 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2681 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2682 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2683 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2684 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2685 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2686
a88ddc90
PTB
26872014-04-09 Peter Brett <peter@peter-b.co.uk>
2688
2689 [BZ #15514]
2690 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2691 pathconf(_PC_NAME_MAX).
2692
01f8eac2
AZ
26932014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2694
2695 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2696 Remove macro usage.
2697 (__PTHREAD_SPINS): Move definition to ...
2698 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2699 (__PTHREAD_SPINS): ... here.
2700 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2701 (__PTHREAD_SPIN): Likewise.
2702 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2703 (__PTHREAD_SPIN): Likewise.
2704 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2705 (__PTHREAD_SPIN): Likewise.
2706 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2707 (__PTHREAD_SPIN): Likewise.
2708 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2709 (__PTHREAD_SPIN): Likewise.
2710 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2711 (__PTHREAD_SPIN): Likewise.
2712 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2713 (__PTHREAD_SPIN): Likewise.
2714 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2715 (__PTHREAD_SPIN): Likewise.
2716 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2717 (__PTHREAD_SPIN): Likewise.
2718 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2719 (__PTHREAD_SPIN): Likewise.
2720 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2721 (__PTHREAD_SPIN): Likewise.
2722 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2723 (__PTHREAD_SPIN): Likewise.
2724
de21c33c
AZ
2725 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2726 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2727 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2728 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2729 imply folder.
2730 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2731 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2732 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2733 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2734 correct imply path.
2735 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2736 strlen symbol for non multi-arch builds.
2737 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2738 missing hidden_def and weak_alias.
2739
862c472e
CD
27402014-04-08 Carlos O'Donell <carlos@redhat.com>
2741
2742 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2743
8667f90e
WN
27442014-04-07 Will Newton <will.newton@linaro.org>
2745
2746 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2747 and contents. [!_LIBC] Remove #ifndef and contents.
2748 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2749 * string/memccpy.c (__memccpy): Use ANSI prototype.
2750 * string/memfrob.c (memfrob): Likewise.
2751 * string/strcoll.c (STRCOLL): Likewise.
2752 * string/strlen.c (strlen): Likewise.
2753 * string/strtok.c (STRTOK): Likewise.
2754 * string/strcat.c: Remove unused #include of memcopy.h.
2755 (strcat): Use ANSI prototype.
2756 * string/strchr.c: Remove unused #include of memcopy.h.
2757 (strchr): Use ANSI prototype.
2758 * string/strcmp.c: Remove unused #include of memcopy.h.
2759 (strcmp): Use ANSI prototype.
2760 * string/strcpy.c: Remove unused #include of memcopy.h.
2761 (strcpy): Use ANSI prototype.
2762
7ffa9423
AZ
27632014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2764
2765 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2766 * config.make.in (config-extra-cppflags): Set it from
2767 libc_extra_cppflags.
2768 * configure.ac (libc_extra_cflags): Make it accumulate over
2769 configure fragments.
2770 (libc_extra_cppflags): New flag.
2771 * configure. Regenerate.
2772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
2773 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2774 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
2775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2776
8bd70862
AZ
2777 [BZ #16815]
2778 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2779 result for FE_DOWNWARD rounding mode.
2780 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2781 Likewise.
2782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2783
d42f3448
CM
27842014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2785
2786 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2787 in function argument name.
2788
1c21d115
DS
27892014-04-03 David Svoboda <svoboda@cert.org>
2790
2791 [BZ #5666]
2792 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2793 explicitly.
2794
fcccd512
RM
27952014-04-03 Roland McGrath <roland@hack.frob.com>
2796
2797 * elf/dl-unmap-segments.h: New file.
2798 * sysdeps/generic/ldsodefs.h
2799 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2800 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2801 * elf/dl-fptr.c: Likewise.
2802 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2803 * sysdeps/aarch64/tlsdesc.c: Likewise.
2804 * sysdeps/arm/tlsdesc.c: Likewise.
2805 * sysdeps/i386/tlsdesc.c: Likewise.
2806 * sysdeps/tile/dl-runtime.c: Likewise.
2807 * sysdeps/x86_64/tlsdesc.c: Likewise.
2808 * elf/dl-load.h: New file.
2809 * elf/dl-load.c: Include it.
2810 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2811 Macros moved to dl-load.h.
2812 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2813 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2814 Use _dl_unmap_segments in place of __munmap.
2815 Break out segment-mapping loop into ...
2816 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2817
f6488e2b
WN
28182014-04-03 Will Newton <will.newton@linaro.org>
2819
2820 * elf/dl-lookup.c (do_lookup_x): Remove comment
2821 referring to nested function and move variable
2822 declarations down to before first use.
2823
6f05bafe
JM
28242014-04-02 Joseph Myers <joseph@codesourcery.com>
2825
a84e78c8
JM
2826 [BZ #16799]
2827 [BZ #16800]
2828 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2829 with 0 numerator.
2830 * math/s_catanf.c (__catanf): Likewise.
2831 * math/s_catanh.c (__catanh): Likewise.
2832 * math/s_catanhf.c (__catanhf): Likewise.
2833 * math/s_catanhl.c (__catanhl): Likewise.
2834 * math/s_catanl.c (__catanl): Likewise.
2835 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2836 by positive zero when computing -Inf result.
2837 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2838 (catanh_test): Likewise.
2839 * sysdeps/i386/fpu/libm-test-ulps: Update.
2840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2841
6f05bafe
JM
2842 [BZ #16789]
2843 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2844 instead of using underflowing value in computing result.
2845 * math/s_clog10.c (__clog10): Likewise.
2846 * math/s_clog10f.c (__clog10f): Likewise.
2847 * math/s_clog10l.c (__clog10l): Likewise.
2848 * math/s_clogf.c (__clogf): Likewise.
2849 * math/s_clogl.c (__clogl): Likewise.
2850 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2851 (clog10_test): Likewise.
2852 * sysdeps/i386/fpu/libm-test-ulps: Update.
2853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2854
b0abbc21
AM
28552014-04-02 Alan Modra <amodra@gmail.com>
2856
2857 [BZ #16739]
2858 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2859 output when value is near a power of two. Use int64_t for lx and
2860 remove casts. Use decimal rather than hex exponent constants.
2861 Don't use long double multiplication when double will suffice.
2862 * math/libm-test.inc (nextafter_test_data): Add tests.
2863 * NEWS: Add 16739 and 16786 to bug list.
2864
af6b1797
AM
2865 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2866
483818d7
AM
2867 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2868
f6c55796
WN
28692014-04-01 Will Newton <will.newton@linaro.org>
2870
2871 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2872 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2873
13f7fe35
FW
28742014-04-01 Florian Weimer <fweimer@redhat.com>
2875
2876 [BZ #13347]
2877 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2878 * nptl/tst-setuid2.c: New file.
2879 * nptl/Makefile (xtests): Add tst-setuid2.
2880
c859b32e
AM
28812014-04-01 Alan Modra <amodra@gmail.com>
2882
2883 [BZ #16786]
2884 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2885
54fa2475
JM
28862014-03-31 Joseph Myers <joseph@codesourcery.com>
2887
8795b4a4
JM
2888 [BZ #6803]
2889 [BZ #6804]
2890 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2891 set errno as appropriate.
2892 * math/w_scalbf.c (__scalbf): Likewise.
2893 * math/w_scalbl.c (__scalbl): Likewise.
2894 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2895 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2896 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2897 Add more NaN tests.
2898
54fa2475
JM
2899 [BZ #16349]
2900 * math/w_atan2.c: Include <errno.h>.
2901 (__atan2): Set errno for result underflowing to zero.
2902 * math/w_atan2f.c: Include <errno.h>.
2903 (__atan2f): Set errno for result underflowing to zero.
2904 * math/w_atan2l.c: Include <errno.h>.
2905 (__atan2l): Set errno for result underflowing to zero.
2906 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2907 tests.
2908 * math/auto-libm-test-out: Regenerated.
2909
757d9dd5
AZ
29102014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2911
2912 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2913 Encode instruction correctly in little endian.
2914 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2915 Likewise.
2916 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2917 Likewise.
2918 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2919 Likewise.
2920 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2921 Likewise.
2922
d7a68734
JM
29232014-03-31 Joseph Myers <joseph@codesourcery.com>
2924
47c5adeb
JM
2925 [BZ #9894]
2926 * sysdeps/unix/sysv/linux/kernel-features.h
2927 [__sparc__ && !__arch64__ && !__sparc_v9__]
2928 (__ASSUME_SET_ROBUST_LIST): Do not define.
2929 [__sparc__ && !__arch64__ && !__sparc_v9__]
2930 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2931 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2932 Likewise.
2933 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2934 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2935 (__ASSUME_REQUEUE_PI): Likewise.
2936 (__ASSUME_SET_ROBUST_LIST): Likewise.
2937 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2938 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2939 Undefine.
2940 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2941 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2942 Likewise.
2943 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2944 Likewise.
2945 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2946 Likewise.
2947 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2948 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2949 Undefine.
2950 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2951 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2952 Likewise.
2953
d7a68734
JM
2954 [BZ #16648]
2955 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2956 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2957 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2958
c760f5c2
WN
29592014-03-31 Will Newton <will.newton@linaro.org>
2960
2961 * benchtests/Makefile (bench): Add ffs and ffsll to list
2962 of tests.
2963 * benchtests/ffs-inputs: New file.
2964 * benchtests/ffsll-inputs: Likewise.
2965
ea6029b1
JM
29662014-03-29 Joseph Myers <joseph@codesourcery.com>
2967
2968 [BZ #16770]
2969 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2970 too large before casting to int.
2971 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2972 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2973 * math/libm-test.inc (scalb_test_data): Add more tests.
2974
cf806aff
SP
29752014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2976
56737508
SP
2977 * benchtests/Makefile (DETAILED_OPT): New make option.
2978 (bench-func): Run benchmark program with -d if DETAILED_OPT is
2979 set.
2980 * benchtests/bench-skeleton.c: Include stdbool.h.
2981 (main): Store and print timings per input.
2982 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2983 member to each argument value.
2984 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2985 (_print_arg_data): Initialize per-input timing to 0.
2986
cb5e4aad
SP
2987 * benchtests/Makefile (timing-type): New binary.
2988 (bench-clean): Also remove bench-timing-type.
2989 (bench): New target for timing-type.
2990 (bench-func): Print output in JSON format.
2991 * benchtests/bench-skeleton.c (main): Print output in JSON
2992 format.
2993 * benchtests/bench-timing-type.c: New file.
2994 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2995 (TIMING_PRINT_STATS): Remove.
2996 * benchtests/scripts/bench.py (_print_arg_data): Store variant
2997 name separately.
2998
cf806aff
SP
2999 * benchtests/bench-modf.c: Remove.
3000 * benchtests/modf-inputs: New inputs file.
3001
289e0779
JM
30022014-03-28 Joseph Myers <joseph@codesourcery.com>
3003
3004 [BZ #16362]
3005 * math/s_clog10.c (M_PI_LOG10E): New macro.
3006 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3007 imaginary parts are 0.
3008 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3009 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3010 imaginary parts are 0.
3011 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3012 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3013 imaginary parts are 0.
3014 * math/libm-test.inc (clog10_test_data): Update expected results
3015 for when real and imaginary parts are 0.
3016
277ae3f1
PP
30172014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3018
3019 * elf/dl-load.c: Finish conversion of __builtin_expect into
3020 __glibc_{un}likely.
3021
03a7091f
JM
30222014-03-27 Joseph Myers <joseph@codesourcery.com>
3023
3024 [BZ #16348]
3025 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3026 1+x for argument with exponent below -67.
3027 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3028 Likewise.
3029 * math/auto-libm-test-in: Add more tests of exp.
3030 * math/auto-libm-test-out: Regenerated.
3031
ea7d8b95
SP
30322014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3033
dd3022d7
SP
3034 [BZ #16759]
3035 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3036 (nscd_getnetgrent): Use it.
3037
ea7d8b95
SP
3038 [BZ #16760]
3039 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3040 of stpcpy.
3041
df5b85da
AK
30422014-03-27 Andi Kleen <ak@linux.intel.com>
3043
57f41c40
AS
3044 * nptl/sysdeps/unix/sysv/linux/x86_64/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 3049 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
3050 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3051 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3052 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3053 (lll_robust_unlock): Remove out of line section. Use cfi
3054 intrinsics.
df5b85da
AK
3055 (LLL_STUB_UNWIND_INFO*): Remove.
3056
fbd6b5a4
SP
30572014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3058
3059 [BZ #16758]
3060 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3061 blank values.
3062
1b26b855
PP
30632014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3064
3065 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3066
9be36fb8
JM
30672014-03-26 Joseph Myers <joseph@codesourcery.com>
3068
3069 [BZ #16198]
3070 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3071 fnstenv.
3072 * math/test-fenv-preserve.c: New file.
3073 * math/Makefile (tests): Add test-fenv-preserve.
3074
60a2f3c1
WN
30752014-03-26 Will Newton <will.newton@linaro.org>
3076
3077 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3078
a5e5f1e2
RM
30792014-03-25 Roland McGrath <roland@hack.frob.com>
3080
3081 * scripts/versionlist.awk: Partition the version sets and emit all
3082 GLIBC_* (sorted) before all others (sorted).
3083
00f4012a
JM
30842014-03-25 Joseph Myers <joseph@codesourcery.com>
3085
3086 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3087 GLIBC_2.2.5 version.
3088
7bc5a741
AZ
30892014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3090
3091 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3092 calls.
3093
7578473b
AZ
3094 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3095 previous change.
3096
f3f1dab3
AZ
3097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3098
6da36183
AS
30992014-03-25 Andreas Schwab <schwab@suse.de>
3100
3101 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3102 label to be used after in6ailist is initialized.
3103
f3f1dab3 31042014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 3105
7578473b 3106 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
3107 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3108
046651c1
JM
31092014-03-25 Joseph Myers <joseph@codesourcery.com>
3110
3111 [BZ #16357]
3112 [BZ #16599]
3113 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3114 min_plus_half.
3115 (fp_formats): Update initializers.
3116 (init_fp_formats): Initialize new field.
3117 (output_for_one_input_case): Allow underflow for results up to
3118 min_plus_half.
3119 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3120 * math/auto-libm-test-in: Don't mark some underflows from asin and
3121 atanh as spurious.
3122 * math/auto-libm-test-out: Regenerated.
3123 * sysdeps/i386/fpu/libm-test-ulps: Update.
3124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3125
003e49ed
AS
31262014-03-25 Andreas Schwab <schwab@suse.de>
3127
3128 * libio/Makefile (tst-ftell-partial-wide-ENV)
3129 (tst-ftell-active-handler-ENV): Define.
3130
de031874
SL
31312014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3132
3133 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3134
55a81e3b
PP
31352014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3136
3137 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3138
f3426898
JM
31392014-03-24 Joseph Myers <joseph@codesourcery.com>
3140
3141 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3142 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3143 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3144
a42faf59
PP
31452014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3146
3147 [BZ #16634]
a42faf59 3148 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
3149 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3150 (open_path): Change from boolean 'secure' to complete flag 'mode'
3151 (_dl_map_object): Adjust.
a42faf59
PP
3152 * elf/Makefile (tests): Add tst-dlopen-aout.
3153 * elf/tst-dlopen-aout.c: New test.
3154
50936127
SL
31552014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3156
3157 [BZ #16714]
3158 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3159 (struct stat): Rename member pad0 to __glibc_reserved0.
3160
26011b5c
SL
3161 [BZ #16712]
3162 * sysdeps/s390/s390-32/bits/wordsize.h
3163 (__WORDSIZE32_SIZE_ULONG): New define.
3164 * sysdeps/s390/s390-64/bits/wordsize.h
3165 (__WORDSIZE32_SIZE_ULONG): Likewise.
3166 * sysdeps/generic/stdint.h (SIZE_MAX):
3167 Define as UL if __WORDSIZE32_SIZE_ULONG.
3168
a2d86bf1
SL
3169 [BZ #16713]
3170 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3171 (__glibc_reserved0): New variable.
3172 (sa_flags): Change type to int.
3173
78b6eebc
SL
3174 * posix/Makefile (before-compile): Use += before-compile instead
3175 of a :=.
3176
f1399b5a
SL
3177 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3178 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3179
a071766e
AS
31802014-03-20 Andreas Schwab <schwab@suse.de>
3181
3182 [BZ #16743]
3183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3184 non-matching result from nscd.
3185
27c673b8
SP
31862014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3187
3188 * scripts/bench.py: Moved to ...
3189 * benchtests/scripts/bench.py: ... here.
3190 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3191
44152e4b
AS
31922014-03-24 Andreas Schwab <schwab@suse.de>
3193
3194 [BZ #16002]
3195 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3196 alloca_account and account alloca use for struct in6ailist.
3197
b376a11a
JM
31982014-03-24 Joseph Myers <joseph@codesourcery.com>
3199
3200 [BZ #16284]
3201 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3202 rounding mode to recompute results that overflow to infinity or
3203 underflow to zero.
3204 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3205 bug 16284.
3206 * math/auto-libm-test-out: Regenerated.
3207 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3208 (ccosh_test): Likewise.
3209 (csin_test_data): Use plus_oflow.
3210 (csin_test): Use ALL_RM_TEST.
3211 (csinh_test_data): Use plus_oflow.
3212 (csinh_test): Use ALL_RM_TEST.
3213 * sysdeps/i386/fpu/libm-test-ulps: Update.
3214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3215
f7be7376
JM
32162014-03-21 Joseph Myers <joseph@codesourcery.com>
3217
1ca2d03e
JM
3218 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3219 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3220 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3221
f7be7376
JM
3222 [BZ #16731]
3223 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3224 when x - 1 is zero.
3225 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3226 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3227 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3228 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3229 argument is 1.
3230 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3231 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3232 zero.
3233 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3234 * sysdeps/i386/fpu/libm-test-ulps: Update.
3235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3236
fdf4534d
SP
32372014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3238
df26ea53
SP
3239 * scripts/bench.pl: Remove file.
3240 * scripts/bench.py: New benchmark script.
3241 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3242 * benchtests/README: Mention python dependency.
3243 * scripts/pylintrc: New file.
3244 * scripts/pylint: New file.
3245
fdf4534d
SP
3246 * bits/mathdef.h: Use #ifdef instead of #if.
3247 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3248 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3249 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3250 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3251 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3252 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3253
6f23d093
AZ
32542014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3255 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3256
3257 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3259 and strpbrk-ppc64 objects.
3260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3261 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3262 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3263 multiarch strpbrk for POWER7.
3264 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3265 multiarch strpbrk for PPC64.
3266 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3267 ifunc selector.
3268 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3269 strpbrk for POWER7.
3270
8c92dfff
JM
32712014-03-20 Joseph Myers <joseph@codesourcery.com>
3272
3273 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3274 (atan_test): Likewise.
3275 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3276 (atanh_test): Use ALL_RM_TEST.
3277 (atan2_test_data): Likewise.
3278 (cabs_test): Likewise.
3279 (cacosh_test): Likewise.
3280 (carg_test): Likewise.
3281 (casin_test): Likewise.
3282 (casinh_test): Likewise.
3283 (cbrt_test): Likewise.
3284 (csqrt_test): Likewise.
3285 (erf_test): Likewise.
3286 (erfc_test): Likewise.
3287 (pow10_test): Likewise.
3288 (exp2_test): Likewise.
3289 (hypot_test): Likewise.
3290 (j0_test): Likewise.
3291 (j1_test): Likewise.
3292 (lgamma_test): Likewise.
3293 (gamma_test): Likewise.
3294 (sincos_test): Likewise.
3295 (tanh_test): Likewise.
3296 (y0_test): Likewise.
3297 (y1_test): Likewise.
3298 * sysdeps/i386/fpu/libm-test-ulps: Update.
3299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3300
6eaf95cb
AZ
33012014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3302
a387428c
SP
3303 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3304 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
3305 and strcspn-ppc64 objects.
3306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3307 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3308 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3309 multiarch strcspn for POWER7.
3310 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3311 multiarch strcspn for PPC64.
3312 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3313 ifunc selector.
3314 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3315 strcspn for POWER7.
3316
ae3a5dff
JM
33172014-03-20 Joseph Myers <joseph@codesourcery.com>
3318
3319 * math/gen-libm-test.pl (generate_testfile): Expect only function
3320 name as argument to AUTO_TESTS_* and pass results for all rounding
3321 modes to parse_args.
3322 (parse_auto_input): Separate inputs of automatic tests from
3323 outputs before storing in %auto_tests.
3324 * math/libm-test.inc (acos_test_data): Update call to
3325 AUTO_TESTS_f_f.
3326 (acos_test): Use ALL_RM_TEST.
3327 (acos_tonearest_test_data): Remove.
3328 (acos_test_tonearest): Likewise.
3329 (acos_towardzero_test_data): Likewise.
3330 (acos_test_towardzero): Likewise.
3331 (acos_downward_test_data): Likewise.
3332 (acos_test_downward): Likewise.
3333 (acos_upward_test_data): Likewise.
3334 (acos_test_upward): Likewise.
3335 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3336 (asin_test_data): Likewise.
3337 (asin_test): Use ALL_RM_TEST.
3338 (asin_tonearest_test_data): Remove.
3339 (asin_test_tonearest): Likewise.
3340 (asin_towardzero_test_data): Likewise.
3341 (asin_test_towardzero): Likewise.
3342 (asin_downward_test_data): Likewise.
3343 (asin_test_downward): Likewise.
3344 (asin_upward_test_data): Likewise.
3345 (asin_test_upward): Likewise.
3346 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3347 (atan_test_data): Likewise.
3348 (atanh_test_data): Likewise.
3349 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3350 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3351 (carg_test_data): Likewise.
3352 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3353 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3354 (ccosh_test_data): Likewise.
3355 (cexp_test_data): Likewise.
3356 (clog_test_data): Likewise.
3357 (clog10_test_data): Likewise.
3358 (cos_test_data): Update call to AUTO_TESTS_f_f.
3359 (cos_test): Use ALL_RM_TEST.
3360 (cos_tonearest_test_data): Remove.
3361 (cos_test_tonearest): Likewise.
3362 (cos_towardzero_test_data): Likewise.
3363 (cos_test_towardzero): Likewise.
3364 (cos_downward_test_data): Likewise.
3365 (cos_test_downward): Likewise.
3366 (cos_upward_test_data): Likewise.
3367 (cos_test_upward): Likewise.
3368 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3369 (cosh_test): Use ALL_RM_TEST.
3370 (cosh_tonearest_test_data): Remove.
3371 (cosh_test_tonearest): Likewise.
3372 (cosh_towardzero_test_data): Likewise.
3373 (cosh_test_towardzero): Likewise.
3374 (cosh_downward_test_data): Likewise.
3375 (cosh_test_downward): Likewise.
3376 (cosh_upward_test_data): Likewise.
3377 (cosh_test_upward): Likewise.
3378 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3379 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3380 (ctan_test_data): Likewise.
3381 (ctan_test): Use ALL_RM_TEST.
3382 (ctan_tonearest_test_data): Remove.
3383 (ctan_test_tonearest): Likewise.
3384 (ctan_towardzero_test_data): Likewise.
3385 (ctan_test_towardzero): Likewise.
3386 (ctan_downward_test_data): Likewise.
3387 (ctan_test_downward): Likewise.
3388 (ctan_upward_test_data): Likewise.
3389 (ctan_test_upward): Likewise.
3390 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3391 (ctanh_test): Use ALL_RM_TEST.
3392 (ctanh_tonearest_test_data): Remove.
3393 (ctanh_test_tonearest): Likewise.
3394 (ctanh_towardzero_test_data): Likewise.
3395 (ctanh_test_towardzero): Likewise.
3396 (ctanh_downward_test_data): Likewise.
3397 (ctanh_test_downward): Likewise.
3398 (ctanh_upward_test_data): Likewise.
3399 (ctanh_test_upward): Likewise.
3400 (erf_test_data): Update call to AUTO_TESTS_f_f.
3401 (erfc_test_data): Likewise.
3402 (exp_test_data): Likewise.
3403 (exp_test): Use ALL_RM_TEST.
3404 (exp_tonearest_test_data): Remove.
3405 (exp_test_tonearest): Likewise.
3406 (exp_towardzero_test_data): Likewise.
3407 (exp_test_towardzero): Likewise.
3408 (exp_downward_test_data): Likewise.
3409 (exp_test_downward): Likewise.
3410 (exp_upward_test_data): Likewise.
3411 (exp_test_upward): Likewise.
3412 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3413 (exp10_test): Use ALL_RM_TEST.
3414 (exp10_tonearest_test_data): Remove.
3415 (exp10_test_tonearest): Likewise.
3416 (exp10_towardzero_test_data): Likewise.
3417 (exp10_test_towardzero): Likewise.
3418 (exp10_downward_test_data): Likewise.
3419 (exp10_test_downward): Likewise.
3420 (exp10_upward_test_data): Likewise.
3421 (exp10_test_upward): Likewise.
3422 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3423 (expm1_test_data): Likewise.
3424 (expm1_test): Use ALL_RM_TEST.
3425 (expm1_tonearest_test_data): Remove.
3426 (expm1_test_tonearest): Likewise.
3427 (expm1_towardzero_test_data): Likewise.
3428 (expm1_test_towardzero): Likewise.
3429 (expm1_downward_test_data): Likewise.
3430 (expm1_test_downward): Likewise.
3431 (expm1_upward_test_data): Likewise.
3432 (expm1_test_upward): Likewise.
3433 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3434 (fma_test): Use ALL_RM_TEST.
3435 (fma_towardzero_test_data): Remove.
3436 (fma_test_towardzero): Likewise.
3437 (fma_downward_test_data): Likewise.
3438 (fma_test_downward): Likewise.
3439 (fma_upward_test_data): Likewise.
3440 (fma_test_upward): Likewise.
3441 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3442 (j0_test_data): Update call to AUTO_TESTS_f_f.
3443 (j1_test_data): Likewise.
3444 (jn_test_data): Update call to AUTO_TESTS_if_f.
3445 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3446 (log_test_data): Update call to AUTO_TESTS_f_f.
3447 (log10_test_data): Likewise.
3448 (log1p_test_data): Likewise.
3449 (log2_test_data): Likewise.
3450 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3451 (pow_tonearest_test_data): Likewise.
3452 (sin_test_data): Update call to AUTO_TESTS_f_f.
3453 (sin_test): Use ALL_RM_TEST.
3454 (sin_tonearest_test_data): Remove.
3455 (sin_test_tonearest): Likewise.
3456 (sin_towardzero_test_data): Likewise.
3457 (sin_test_towardzero): Likewise.
3458 (sin_downward_test_data): Likewise.
3459 (sin_test_downward): Likewise.
3460 (sin_upward_test_data): Likewise.
3461 (sin_test_upward): Likewise.
3462 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3463 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3464 (sinh_test): Use ALL_RM_TEST.
3465 (sinh_tonearest_test_data): Remove.
3466 (sinh_test_tonearest): Likewise.
3467 (sinh_towardzero_test_data): Likewise.
3468 (sinh_test_towardzero): Likewise.
3469 (sinh_downward_test_data): Likewise.
3470 (sinh_test_downward): Likewise.
3471 (sinh_upward_test_data): Likewise.
3472 (sinh_test_upward): Likewise.
3473 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3474 (sqrt_test): Use ALL_RM_TEST.
3475 (sqrt_tonearest_test_data): Remove.
3476 (sqrt_test_tonearest): Likewise.
3477 (sqrt_towardzero_test_data): Likewise.
3478 (sqrt_test_towardzero): Likewise.
3479 (sqrt_downward_test_data): Likewise.
3480 (sqrt_test_downward): Likewise.
3481 (sqrt_upward_test_data): Likewise.
3482 (sqrt_test_upward): Likewise.
3483 (tan_test_data): Update call to AUTO_TESTS_f_f.
3484 (tan_test): Use ALL_RM_TEST.
3485 (tan_tonearest_test_data): Remove.
3486 (tan_test_tonearest): Likewise.
3487 (tan_towardzero_test_data): Likewise.
3488 (tan_test_towardzero): Likewise.
3489 (tan_downward_test_data): Likewise.
3490 (tan_test_downward): Likewise.
3491 (tan_upward_test_data): Likewise.
3492 (tan_test_upward): Likewise.
3493 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3494 (tgamma_test_data): Likewise.
3495 (y0_test_data): Likewise.
3496 (y1_test_data): Likewise.
3497 (yn_test_data): Update call to AUTO_TESTS_if_f.
3498 (main): Do not call removed functions.
3499
d71aeee8
JM
35002014-03-19 Joseph Myers <joseph@codesourcery.com>
3501
3502 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3503 (ldexp_test_data): Remove.
3504 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3505 scalbn_test_data.
3506 (scalb_test): Use ALL_RM_TEST.
3507
baaf1ded
AS
35082014-03-19 Andreas Schwab <schwab@suse.de>
3509
3510 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3511
b1115e91
JM
35122014-03-19 Joseph Myers <joseph@codesourcery.com>
3513
3514 [BZ #16649]
3515 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3516 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3517 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3518 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3519 (__ASSUME_PREADV): Undefine.
3520 (__ASSUME_PWRITEV): Likewise.
3521
0283ecca
RM
35222014-03-18 Roland McGrath <roland@hack.frob.com>
3523
7d375303
RM
3524 * bits/mman-linux.h: Add comment about non-Linux use.
3525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3526 bits/mman-linux.h resting place.
3527
0283ecca
RM
3528 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3529 * bits/mman-linux.h: ... here.
3530
aebe1003
AZ
35312014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3532
3533 * conform/conformtest.pl: Add standard definition when calling C
3534 preprocessor on data files.
3535 (checknamespace): Remove unused variable.
3536
b29b6bb8
JM
35372014-03-18 Joseph Myers <joseph@codesourcery.com>
3538
3539 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3540 minus_oflow, plus_uflow and minus_uflow in expected results.
3541 * math/libm-test.inc (scalbn_test_data): Add more tests of
3542 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3543 minus_uflow.
3544 (scalbn_test): Use ALL_RM_TEST.
3545 (scalbln_test_data): Add more tests of negative arguments. Use
3546 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3547 (scalbln_test): Use ALL_RM_TEST.
3548
c8f8fa15
RM
35492014-03-18 Roland McGrath <roland@hack.frob.com>
3550
3551 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3552
fede7a5f
WN
35532014-03-18 Will Newton <will.newton@linaro.org>
3554
3555 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3556 inaccurate comment.
3557
80cf0a58
JM
35582014-03-18 Joseph Myers <joseph@codesourcery.com>
3559
3560 * Makerules [!subdir] (check-abi): Exit with error status if a
3561 test failed.
3562
b3620862
JM
35632014-03-17 Joseph Myers <joseph@codesourcery.com>
3564
3565 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3566 for rint. Include results for all rounding modes.
3567 (nearbyint_test): Use ALL_RM_TEST.
3568 (rint_test_data): Include all tests used for nearbyint.
3569
788bba36
WN
35702014-03-17 Will Newton <will.newton@linaro.org>
3571
04ec140a
WN
3572 * nptl/sysdeps/pthread/pthread.h: Revert previous
3573 change.
3574
7579d8d5
WN
3575 * sysdeps/generic/ldsodefs.h: Revert previous
3576 change.
3577
c15cf13a
WN
3578 * libio/genops.c: Revert previous change.
3579 * libio/libioP.h: Likewise.
3580 * stdio-common/vfprintf.c: Likewise.
3581
d0ac1324
WN
3582 * sysdeps/generic/math_private.h: Revert previous
3583 change.
3584
9290130a
WN
3585 * sysdeps/generic/math_private.h: Check whether
3586 HAVE_RM_CTX is defined with #ifdef rather
3587 than #if.
3588
afb466fc
WN
3589 * argp/argp-fmtstream.h: Check whether
3590 __STRICT_ANSI__ is defined with #ifdef rather
3591 than #if.
3592 * argp/argp.h: Likewise.
3593
f7efd7c3
WN
3594 * libio/genops.c: Check whether
3595 _IO_JUMPS_OFFSET is defined with #ifdef rather
3596 than #if.
3597 * libio/libioP.h: Likewise.
3598 * stdio-common/vfprintf.c: Likewise.
3599
53f1bed3
WN
3600 * sysdeps/generic/ldsodefs.h: Check whether
3601 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3602 than #if.
3603
788bba36
WN
3604 * nptl/sysdeps/pthread/pthread.h: Check
3605 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3606 its value.
3607
fcd89ebe
SP
36082014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3609
ae42bbc5
SP
3610 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3611 setting O_APPEND.
3612 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3613 test case.
3614
ea33158c
SP
3615 [BZ #16680]
3616 * libio/fileops.c (_IO_file_open): Seek to end of file but
3617 don't cache the offset.
3618 (get_file_offset): Remove function.
3619 (do_ftell): Use cached offset when available.
3620 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3621 don't cache the offset.
3622 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3623 case.
3624 (do_one_test): Call it.
3625 (do_ftell_test): Fix up expected old offset for a+ mode.
3626 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3627 available.
3628
b1dbb426
SP
3629 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3630 up test status with function return status.
3631 (do_write_test): Likewise.
3632 (do_append_test): Likewise.
3633
fcd89ebe
SP
3634 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3635 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3636 Remove.
3637
9962a2d3
JM
36382014-03-17 Joseph Myers <joseph@codesourcery.com>
3639
3640 * math/gen-libm-test.pl (parse_args): Handle results specified for
3641 each rounding mode separately.
3642 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3643 tests and results from lrint_tonearest_test_data,
3644 lrint_towardzero_test_data, lrint_downward_test_data and
3645 lrint_upward_test_data.
3646 (lrint_test): Use ALL_RM_TEST.
3647 (lrint_tonearest_test_data): Remove.
3648 (lrint_test_tonearest): Likewise.
3649 (lrint_towardzero_test_data): Likewise.
3650 (lrint_test_towardzero): Likewise.
3651 (lrint_downward_test_data): Likewise.
3652 (lrint_test_downward): Likewise.
3653 (lrint_upward_test_data): Likewise.
3654 (lrint_test_upward): Likewise.
3655 (llrint_test_data): Merge in per-rounding-mode tests and results
3656 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3657 llrint_downward_test_data and llrint_upward_test_data.
3658 (llrint_test): Use ALL_RM_TEST.
3659 (llrint_tonearest_test_data): Remove.
3660 (llrint_test_tonearest): Likewise.
3661 (llrint_towardzero_test_data): Likewise.
3662 (llrint_test_towardzero): Likewise.
3663 (llrint_downward_test_data): Likewise.
3664 (llrint_test_downward): Likewise.
3665 (llrint_upward_test_data): Likewise.
3666 (llrint_test_upward): Likewise.
3667 (rint_test_data): Merge in per-rounding-mode tests and results
3668 from rint_tonearest_test_data, rint_towardzero_test_data,
3669 rint_downward_test_data and rint_upward_test_data. Add
3670 per-rounding-mode results for tests not in those arrays.
3671 (rint_test): Use ALL_RM_TEST.
3672 (rint_tonearest_test_data): Remove.
3673 (rint_test_tonearest): Likewise.
3674 (rint_towardzero_test_data): Likewise.
3675 (rint_test_towardzero): Likewise.
3676 (rint_downward_test_data): Likewise.
3677 (rint_test_downward): Likewise.
3678 (rint_upward_test_data): Likewise.
3679 (rint_test_upward): Likewise.
3680 (main): Don't call removed functions.
3681
5006148e
RM
36822014-03-14 Roland McGrath <roland@hack.frob.com>
3683
3684 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3685 "Compiled on ..." crapola. It is anti-useful.
3686
d6fe5e58
JM
36872014-03-14 Joseph Myers <joseph@codesourcery.com>
3688
3689 * scripts/evaluate-test.sh: Handle fourth argument to determine
3690 whether test run should stop on failure.
3691 * Makeconfig (stop-on-test-failure): New variable.
3692 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3693 $(stop-on-test-failure).
3694 * Makefile (tests): Give a summary of results from testing and
3695 exit with failure status if they include an ERROR or FAIL.
3696 (xtests): Likewise.
3697 * manual/install.texi (Configuring and compiling): Mention
3698 stop-on-test-failure=y.
3699 * INSTALL: Regenerated.
3700
498a2233
RM
37012014-03-14 Roland McGrath <roland@hack.frob.com>
3702
22dbc19d
RM
3703 * scripts/versionlist.awk: New file.
3704 * Makerules [$(build-shared) = yes]
3705 (postclean-generated): Add Versions.def, not Versions.def.v and
3706 Versions.def.v.i.
3707 ($(common-objpfx)Versions.def.v.i): Target removed.
3708 ($(common-objpfx)Versions.def): New target.
3709 ($(common-objpfx)Versions.all): Depend on that rather that
3710 $(common-objpfx)Versions.def.v.
3711 * Versions.def: File removed.
3712
498a2233
RM
3713 * Makeconfig (+gccwarn): Add -Wundef.
3714 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3715 a dl-sysdep.h breaking its contract.
3716 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3717 * include/stackinfo.h: New file.
3718 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3719 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3720 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3721 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3722 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3723 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3724 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3725 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3726 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3727 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3728 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3729 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3730 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3731 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3732 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3733
c7de5025
AZ
37342014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3735
3736 [BZ #16707]
3737 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3738 implementation.
3739 * math/libm-test.inc (round_test_data): Add more tests.
3740
98fb27a3
AZ
3741 [BZ #16706]
3742 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3743 implementation.
3744 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3745
374f7f61
AZ
3746 [BZ #16701]
3747 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3748 implementation.
3749 * math/libm-test.inc (ceil_test_data): Add more tests.
3750
4655c291
AZ
3751 * math/libm-test.inc (trunc_test_data): Add more tests related to
3752 BZ#16414.
3753
d7329d4b
RM
37542014-03-14 Roland McGrath <roland@hack.frob.com>
3755
3756 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3757 with #if rather than #ifdef.
3758 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3759
aa4de9ce
L
37602014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3761
3762 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3763 first. Disable AVX-512 GCC support if assembler doesn't support
3764 it.
3765 * sysdeps/x86_64/configure: Regenerated.
3766
2e03fae7
CD
37672014-03-13 Carlos O'Donell <carlos@redhat.com>
3768
3769 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3770 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3771 (__old_pthread_attr_setstack): Likewise.
3772 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3773 [!_STACK_GROWS_DOWN]: Likewise.
3774
43ca83ec
MF
37752014-03-13 Mike Frysinger <vapier@gentoo.org>
3776
3777 * config.make.in (have-bash2): Delete.
3778 * configure.ac (libc_cv_have_bash2): Delete.
3779 * configure: Regenerate.
3780 * elf/Makefile (common-ldd-rewrite): Rename to ...
3781 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3782 (sh-ldd-rewrite): Delete.
3783 (bash-ldd-rewrite): Delete.
3784 (have-bash2): Delete checks.
57f41c40
AS
3785 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3786 ldd-rewrite.
c66e48b4
MF
3787
3788 * config.make.in (have-ksh): Delete.
3789 (KSH): Delete.
3790 * configure.ac (libc_cv_have_ksh): Delete.
3791 * configure: Regenerate.
3792
b93834ef
MF
3793 * elf/Makefile: Delete $(have-ksh) check.
3794 ($(objpfx)sotruss): Change KSH to BASH.
3795 * elf/sotruss.ksh: Rename to ...
3796 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3797 function style to match POSIX. Drop ksh vim mode setting.
3798
f3a4632a
MF
3799 * manual/time.texi (Specifying the Time Zone with TZ): Change
3800 Tuesday to Thursday.
3801
5896c8bd
MF
3802 * debug/tst-longjmp_chk2.c: Update header comment.
3803 (stackoverflow_handler): Add comment. Call assert on pass value.
3804
2d63a517
IZ
38052014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3806
3807 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3808 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3809 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3810 (La_x86_64_vector): Add zmm.
3811 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3812 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3813 ($(objpfx)tst-audit10): New target.
3814 ($(objpfx)tst-audit10.out): Likewise.
3815 (tst-audit10-ENV): New.
3816 (AVX512-CFLAGS): Likewise.
3817 (CFLAGS-tst-audit10.c): Likewise.
3818 (CFLAGS-tst-auditmod10a.c): Likewise.
3819 (CFLAGS-tst-auditmod10b.c): Likewise.
3820 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3821 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3822 * sysdeps/x86_64/configure: Regenerated.
3823 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3824 AVX-512 zmm register support.
3825 (_dl_x86_64_save_sse): Likewise.
3826 (_dl_x86_64_restore_sse): Likewise.
3827 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3828 size vector registers.
3829 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3830 (ZMM_SIZE): Likewise.
3831 * sysdeps/x86_64/tst-audit10.c: New file.
3832 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3833 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3834
44c4e5d5
RM
38352014-03-13 Roland McGrath <roland@hack.frob.com>
3836
3837 * configure.ac (HAVE_EHDR_START): New check.
3838 * configure: Regenerated.
3839 * config.h.in (HAVE_EHDR_START): New #undef.
3840 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3841 assuming the lowest-addressed segment maps the start of the file.
3842
acd6e389
JM
38432014-03-13 Joseph Myers <joseph@codesourcery.com>
3844
3845 * INSTALL: Regenerated.
3846
6f918f36
WN
38472014-03-13 Will Newton <will.newton@linaro.org>
3848
3849 * manual/setjmp.texi (System V contexts): Improve
3850 clarity and grammar of documentation.
3851
798212a0
PP
38522014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3853
3854 [BZ #16381]
798212a0 3855 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 3856 (tests-pie): Add tst-pie2.
798212a0
PP
3857 * elf/tst-pie2.c: New file.
3858 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3859 for ET_EXEC.
3860 * elf/rtld.c (map_doit): Load executable as lt_executable.
3861 (dl_main): Likewise.
3862
abe6d90c
JM
38632014-03-12 Joseph Myers <joseph@codesourcery.com>
3864
3865 [BZ #16642]
3866 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3867 (__ASSUME_PSELECT): Undefine.
3868
dd3946c6
AZ
38692014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3870
3871 [BZ #16689]
3872 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3873 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3874 static build.
3875 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3876 selector for static builds.
3877
c44496df
SP
38782014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3879
3880 [BZ #16695]
3881 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3882 key in the buffer.
3883
27c7220a
AZ
38842014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3885
57f41c40
AS
3886 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3887 IFUNC selector for static builds.
27c7220a 3888
600fa361
JM
38892014-03-11 Joseph Myers <joseph@codesourcery.com>
3890
76c96cf7
JM
3891 * sysdeps/mips/math_private.h [__mips_hard_float]
3892 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3893 libc_feresetround_mips_ctx.
3894 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3895 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3896 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3897
600fa361
JM
3898 [BZ #16677]
3899 * math/s_nextafter.c (__nextafter): Do not return value from
3900 overflowing computation.
3901 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3902 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3903 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3904 Likewise.
3905 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3906 Likewise.
3907 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3908 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3909
d7706c32
RM
39102014-03-11 Roland McGrath <roland@hack.frob.com>
3911
3912 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3913 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3914 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3915 the new mov targetting sp.
3916
4facea47
AZ
39172014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3918
3919 [BZ #16683]
3920 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3921 Define it for static builds as well.
3922 (NO_BZERO_IMPL): Likewise.
3923
e65caf1f
VR
39242014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3925
3926 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3927 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3928 multiarch strspn for PPC64.
3929 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3930 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3932 (__libc_ifunc_impl_list): Likewise.
3933 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3934 multiarch optimizations
3935 * string/strspn.c (strspn): Using macro to redefine symbol name.
3936
ba9cc071
AZ
39372014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3938 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3939
3940 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3941 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3942 multiarch strncat for PPC64.
3943 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3944 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3946 (__libc_ifunc_impl_list): Likewise.
3947 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3948 multiarch optimizations
3949
8b4ff974
SP
39502014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3951
3952 [BZ #16639]
3953 * nscd/nscd.service: Make service type forking.
3954
54b46a4b
AZ
39552014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3956
3957 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3958 sign in non default rounding modes.
3959 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3960
e9996ef7
JM
39612014-03-08 Joseph Myers <joseph@codesourcery.com>
3962
3963 * math/libm-test.inc (ALL_RM_TEST): New macro.
3964 (ceil_test): Use ALL_RM_TEST.
3965 (cimag_test): Likewise.
3966 (conj_test): Likewise.
3967 (copysign_test): Likewise.
3968 (cproj_test): Likewise.
3969 (creal_test): Likewise.
3970 (fabs_test): Likewise.
3971 (floor_test): Likewise.
3972 (fmax_test): Likewise.
3973 (fmin_test): Likewise.
3974 (fmod_test): Likewise.
3975 (fpclassify_test): Likewise.
3976 (frexp_test): Likewise.
3977 (ilogb_test): Likewise.
3978 (isfinite_test): Likewise.
3979 (finite_test): Likewise.
3980 (isgreater_test): Likewise.
3981 (isgreaterequal_test): Likewise.
3982 (isinf_test): Likewise.
3983 (isless_test): Likewise.
3984 (islessequal_test): Likewise.
3985 (islessgreater_test): Likewise.
3986 (isnan_test): Likewise.
3987 (isnormal_test): Likewise.
3988 (issignaling_test): Likewise.
3989 (isunordered_test): Likewise.
3990 (logb_test): Likewise.
3991 (logb_downward_test_data): Remove.
3992 (logb_test_downward): Likewise.
3993 (lround_test): Use ALL_RM_TEST.
3994 (llround_test): Likewise.
3995 (modf_test): Likewise.
3996 (nexttoward_test): Likewise.
3997 (remainder_test): Likewise.
3998 (drem_test): Likewise.
3999 (remainder_tonearest_test_data): Likewise.
4000 (remainder_test_tonearest): Likewise.
4001 (drem_test_tonearest): Likewise.
4002 (remainder_towardzero_test_data): Likewise.
4003 (remainder_test_towardzero): Likewise.
4004 (drem_test_towardzero): Likewise.
4005 (remainder_downward_test_data): Likewise.
4006 (remainder_test_downward): Likewise.
4007 (drem_test_downward): Likewise.
4008 (remainder_upward_test_data): Likewise.
4009 (remainder_test_upward): Likewise.
4010 (drem_test_upward): Likewise.
4011 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4012 (round_test): Use ALL_RM_TEST.
4013 (signbit_test): Likewise.
4014 (trunc_test): Likewise.
4015 (significand_test): Likewise.
4016 (main): Don't call removed functions.
4017
bc61d27c
JM
40182014-03-07 Joseph Myers <joseph@codesourcery.com>
4019
5c780849
JM
4020 [BZ #16674]
4021 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4022 || __USE_XOPEN2K8].
4023 (ILL_ILLOPN): Likewise.
4024 (ILL_ILLADR): Likewise.
4025 (ILL_ILLTRP): Likewise.
4026 (ILL_PRVOPC): Likewise.
4027 (ILL_PRVREG): Likewise.
4028 (ILL_COPROC): Likewise.
4029 (ILL_BADSTK): Likewise.
4030 (FPE_INTDIV): Likewise.
4031 (FPE_INTOVF): Likewise.
4032 (FPE_FLTDIV): Likewise.
4033 (FPE_FLTOVF): Likewise.
4034 (FPE_FLTUND): Likewise.
4035 (FPE_FLTRES): Likewise.
4036 (FPE_FLTINV): Likewise.
4037 (FPE_FLTSUB): Likewise.
4038 (SEGV_MAPERR): Likewise.
4039 (SEGV_ACCERR): Likewise.
4040 (BUS_ADRALN): Likewise.
4041 (BUS_ADRERR): Likewise.
4042 (BUS_OBJERR): Likewise.
4043 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4044 (TRAP_TRACE): Likewise.
4045 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4046 __USE_XOPEN2K8].
4047 (CLD_KILLED): Likewise.
4048 (CLD_DUMPED): Likewise.
4049 (CLD_TRAPPED): Likewise.
4050 (CLD_STOPPED): Likewise.
4051 (CLD_CONTINUED): Likewise.
4052 (POLL_IN): Likewise.
4053 (POLL_OUT): Likewise.
4054 (POLL_MSG): Likewise.
4055 (POLL_ERR): Likewise.
4056 (POLL_PRI): Likewise.
4057 (POLL_HUP): Likewise.
4058 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4059 Likewise.
4060 (ILL_ILLOPN): Likewise.
4061 (ILL_ILLADR): Likewise.
4062 (ILL_ILLTRP): Likewise.
4063 (ILL_PRVOPC): Likewise.
4064 (ILL_PRVREG): Likewise.
4065 (ILL_COPROC): Likewise.
4066 (ILL_BADSTK): Likewise.
4067 (FPE_INTDIV): Likewise.
4068 (FPE_INTOVF): Likewise.
4069 (FPE_FLTDIV): Likewise.
4070 (FPE_FLTOVF): Likewise.
4071 (FPE_FLTUND): Likewise.
4072 (FPE_FLTRES): Likewise.
4073 (FPE_FLTINV): Likewise.
4074 (FPE_FLTSUB): Likewise.
4075 (SEGV_MAPERR): Likewise.
4076 (SEGV_ACCERR): Likewise.
4077 (BUS_ADRALN): Likewise.
4078 (BUS_ADRERR): Likewise.
4079 (BUS_OBJERR): Likewise.
4080 (BUS_MCEERR_AR): Likewise.
4081 (BUS_MCEERR_AO): Likewise.
4082 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4083 (TRAP_TRACE): Likewise.
4084 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4085 __USE_XOPEN2K8].
4086 (CLD_KILLED): Likewise.
4087 (CLD_DUMPED): Likewise.
4088 (CLD_TRAPPED): Likewise.
4089 (CLD_STOPPED): Likewise.
4090 (CLD_CONTINUED): Likewise.
4091 (POLL_IN): Likewise.
4092 (POLL_OUT): Likewise.
4093 (POLL_MSG): Likewise.
4094 (POLL_ERR): Likewise.
4095 (POLL_PRI): Likewise.
4096 (POLL_HUP): Likewise.
4097 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4098 (ILL_ILLOPN): Likewise.
4099 (ILL_ILLADR): Likewise.
4100 (ILL_ILLTRP): Likewise.
4101 (ILL_PRVOPC): Likewise.
4102 (ILL_PRVREG): Likewise.
4103 (ILL_COPROC): Likewise.
4104 (ILL_BADSTK): Likewise.
4105 (FPE_INTDIV): Likewise.
4106 (FPE_INTOVF): Likewise.
4107 (FPE_FLTDIV): Likewise.
4108 (FPE_FLTOVF): Likewise.
4109 (FPE_FLTUND): Likewise.
4110 (FPE_FLTRES): Likewise.
4111 (FPE_FLTINV): Likewise.
4112 (FPE_FLTSUB): Likewise.
4113 (SEGV_MAPERR): Likewise.
4114 (SEGV_ACCERR): Likewise.
4115 (BUS_ADRALN): Likewise.
4116 (BUS_ADRERR): Likewise.
4117 (BUS_OBJERR): Likewise.
4118 (BUS_MCEERR_AR): Likewise.
4119 (BUS_MCEERR_AO): Likewise.
4120 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4121 (TRAP_TRACE): Likewise.
4122 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4123 __USE_XOPEN2K8].
4124 (CLD_KILLED): Likewise.
4125 (CLD_DUMPED): Likewise.
4126 (CLD_TRAPPED): Likewise.
4127 (CLD_STOPPED): Likewise.
4128 (CLD_CONTINUED): Likewise.
4129 (POLL_IN): Likewise.
4130 (POLL_OUT): Likewise.
4131 (POLL_MSG): Likewise.
4132 (POLL_ERR): Likewise.
4133 (POLL_PRI): Likewise.
4134 (POLL_HUP): Likewise.
4135 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4136 Likewise.
4137 (ILL_ILLOPN): Likewise.
4138 (ILL_ILLADR): Likewise.
4139 (ILL_ILLTRP): Likewise.
4140 (ILL_PRVOPC): Likewise.
4141 (ILL_PRVREG): Likewise.
4142 (ILL_COPROC): Likewise.
4143 (ILL_BADSTK): Likewise.
4144 (ILL_BADIADDR): Likewise.
4145 (ILL_BREAK): Likewise.
4146 (FPE_INTDIV): Likewise.
4147 (FPE_INTOVF): Likewise.
4148 (FPE_FLTDIV): Likewise.
4149 (FPE_FLTOVF): Likewise.
4150 (FPE_FLTUND): Likewise.
4151 (FPE_FLTRES): Likewise.
4152 (FPE_FLTINV): Likewise.
4153 (FPE_FLTSUB): Likewise.
4154 (FPE_DECOVF): Likewise.
4155 (FPE_DECDIV): Likewise.
4156 (FPE_DECERR): Likewise.
4157 (FPE_INVASC): Likewise.
4158 (FPE_INVDEC): Likewise.
4159 (SEGV_MAPERR): Likewise.
4160 (SEGV_ACCERR): Likewise.
4161 (SEGV_PSTKOVF): Likewise.
4162 (BUS_ADRALN): Likewise.
4163 (BUS_ADRERR): Likewise.
4164 (BUS_OBJERR): Likewise.
4165 (BUS_MCEERR_AR): Likewise.
4166 (BUS_MCEERR_AO): Likewise.
4167 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4168 (TRAP_TRACE): Likewise.
4169 (TRAP_BRANCH): Likewise.
4170 (TRAP_HWBKPT): Likewise.
4171 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4172 __USE_XOPEN2K8].
4173 (CLD_KILLED): Likewise.
4174 (CLD_DUMPED): Likewise.
4175 (CLD_TRAPPED): Likewise.
4176 (CLD_STOPPED): Likewise.
4177 (CLD_CONTINUED): Likewise.
4178 (POLL_IN): Likewise.
4179 (POLL_OUT): Likewise.
4180 (POLL_MSG): Likewise.
4181 (POLL_ERR): Likewise.
4182 (POLL_PRI): Likewise.
4183 (POLL_HUP): Likewise.
4184 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4185 (ILL_ILLOPN): Likewise.
4186 (ILL_ILLADR): Likewise.
4187 (ILL_ILLTRP): Likewise.
4188 (ILL_PRVOPC): Likewise.
4189 (ILL_PRVREG): Likewise.
4190 (ILL_COPROC): Likewise.
4191 (ILL_BADSTK): Likewise.
4192 (FPE_INTDIV): Likewise.
4193 (FPE_INTOVF): Likewise.
4194 (FPE_FLTDIV): Likewise.
4195 (FPE_FLTOVF): Likewise.
4196 (FPE_FLTUND): Likewise.
4197 (FPE_FLTRES): Likewise.
4198 (FPE_FLTINV): Likewise.
4199 (FPE_FLTSUB): Likewise.
4200 (SEGV_MAPERR): Likewise.
4201 (SEGV_ACCERR): Likewise.
4202 (BUS_ADRALN): Likewise.
4203 (BUS_ADRERR): Likewise.
4204 (BUS_OBJERR): Likewise.
4205 (BUS_MCEERR_AR): Likewise.
4206 (BUS_MCEERR_AO): Likewise.
4207 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4208 (TRAP_TRACE): Likewise.
4209 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4210 __USE_XOPEN2K8].
4211 (CLD_KILLED): Likewise.
4212 (CLD_DUMPED): Likewise.
4213 (CLD_TRAPPED): Likewise.
4214 (CLD_STOPPED): Likewise.
4215 (CLD_CONTINUED): Likewise.
4216 (POLL_IN): Likewise.
4217 (POLL_OUT): Likewise.
4218 (POLL_MSG): Likewise.
4219 (POLL_ERR): Likewise.
4220 (POLL_PRI): Likewise.
4221 (POLL_HUP): Likewise.
4222 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4223 (ILL_ILLOPN): Likewise.
4224 (ILL_ILLADR): Likewise.
4225 (ILL_ILLTRP): Likewise.
4226 (ILL_PRVOPC): Likewise.
4227 (ILL_PRVREG): Likewise.
4228 (ILL_COPROC): Likewise.
4229 (ILL_BADSTK): Likewise.
4230 (FPE_INTDIV): Likewise.
4231 (FPE_INTOVF): Likewise.
4232 (FPE_FLTDIV): Likewise.
4233 (FPE_FLTOVF): Likewise.
4234 (FPE_FLTUND): Likewise.
4235 (FPE_FLTRES): Likewise.
4236 (FPE_FLTINV): Likewise.
4237 (FPE_FLTSUB): Likewise.
4238 (SEGV_MAPERR): Likewise.
4239 (SEGV_ACCERR): Likewise.
4240 (BUS_ADRALN): Likewise.
4241 (BUS_ADRERR): Likewise.
4242 (BUS_OBJERR): Likewise.
4243 (BUS_MCEERR_AR): Likewise.
4244 (BUS_MCEERR_AO): Likewise.
4245 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4246 (TRAP_TRACE): Likewise.
4247 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4248 __USE_XOPEN2K8].
4249 (CLD_KILLED): Likewise.
4250 (CLD_DUMPED): Likewise.
4251 (CLD_TRAPPED): Likewise.
4252 (CLD_STOPPED): Likewise.
4253 (CLD_CONTINUED): Likewise.
4254 (POLL_IN): Likewise.
4255 (POLL_OUT): Likewise.
4256 (POLL_MSG): Likewise.
4257 (POLL_ERR): Likewise.
4258 (POLL_PRI): Likewise.
4259 (POLL_HUP): Likewise.
4260 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4261 (ILL_ILLOPN): Likewise.
4262 (ILL_ILLADR): Likewise.
4263 (ILL_ILLTRP): Likewise.
4264 (ILL_PRVOPC): Likewise.
4265 (ILL_PRVREG): Likewise.
4266 (ILL_COPROC): Likewise.
4267 (ILL_BADSTK): Likewise.
4268 (FPE_INTDIV): Likewise.
4269 (FPE_INTOVF): Likewise.
4270 (FPE_FLTDIV): Likewise.
4271 (FPE_FLTOVF): Likewise.
4272 (FPE_FLTUND): Likewise.
4273 (FPE_FLTRES): Likewise.
4274 (FPE_FLTINV): Likewise.
4275 (FPE_FLTSUB): Likewise.
4276 (SEGV_MAPERR): Likewise.
4277 (SEGV_ACCERR): Likewise.
4278 (BUS_ADRALN): Likewise.
4279 (BUS_ADRERR): Likewise.
4280 (BUS_OBJERR): Likewise.
4281 (BUS_MCEERR_AR): Likewise.
4282 (BUS_MCEERR_AO): Likewise.
4283 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4284 (TRAP_TRACE): Likewise.
4285 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4286 __USE_XOPEN2K8].
4287 (CLD_KILLED): Likewise.
4288 (CLD_DUMPED): Likewise.
4289 (CLD_TRAPPED): Likewise.
4290 (CLD_STOPPED): Likewise.
4291 (CLD_CONTINUED): Likewise.
4292 (POLL_IN): Likewise.
4293 (POLL_OUT): Likewise.
4294 (POLL_MSG): Likewise.
4295 (POLL_ERR): Likewise.
4296 (POLL_PRI): Likewise.
4297 (POLL_HUP): Likewise.
4298 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4299 (ILL_ILLOPN): Likewise.
4300 (ILL_ILLADR): Likewise.
4301 (ILL_ILLTRP): Likewise.
4302 (ILL_PRVOPC): Likewise.
4303 (ILL_PRVREG): Likewise.
4304 (ILL_COPROC): Likewise.
4305 (ILL_BADSTK): Likewise.
4306 (ILL_DBLFLT): Likewise.
4307 (ILL_HARDWALL): Likewise.
4308 (FPE_INTDIV): Likewise.
4309 (FPE_INTOVF): Likewise.
4310 (FPE_FLTDIV): Likewise.
4311 (FPE_FLTOVF): Likewise.
4312 (FPE_FLTUND): Likewise.
4313 (FPE_FLTRES): Likewise.
4314 (FPE_FLTINV): Likewise.
4315 (FPE_FLTSUB): Likewise.
4316 (SEGV_MAPERR): Likewise.
4317 (SEGV_ACCERR): Likewise.
4318 (BUS_ADRALN): Likewise.
4319 (BUS_ADRERR): Likewise.
4320 (BUS_OBJERR): Likewise.
4321 (BUS_MCEERR_AR): Likewise.
4322 (BUS_MCEERR_AO): Likewise.
4323 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4324 (TRAP_TRACE): Likewise.
4325 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4326 __USE_XOPEN2K8].
4327 (CLD_KILLED): Likewise.
4328 (CLD_DUMPED): Likewise.
4329 (CLD_TRAPPED): Likewise.
4330 (CLD_STOPPED): Likewise.
4331 (CLD_CONTINUED): Likewise.
4332 (POLL_IN): Likewise.
4333 (POLL_OUT): Likewise.
4334 (POLL_MSG): Likewise.
4335 (POLL_ERR): Likewise.
4336 (POLL_PRI): Likewise.
4337 (POLL_HUP): Likewise.
4338 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4339 (ILL_ILLOPN): Likewise.
4340 (ILL_ILLADR): Likewise.
4341 (ILL_ILLTRP): Likewise.
4342 (ILL_PRVOPC): Likewise.
4343 (ILL_PRVREG): Likewise.
4344 (ILL_COPROC): Likewise.
4345 (ILL_BADSTK): Likewise.
4346 (FPE_INTDIV): Likewise.
4347 (FPE_INTOVF): Likewise.
4348 (FPE_FLTDIV): Likewise.
4349 (FPE_FLTOVF): Likewise.
4350 (FPE_FLTUND): Likewise.
4351 (FPE_FLTRES): Likewise.
4352 (FPE_FLTINV): Likewise.
4353 (FPE_FLTSUB): Likewise.
4354 (SEGV_MAPERR): Likewise.
4355 (SEGV_ACCERR): Likewise.
4356 (BUS_ADRALN): Likewise.
4357 (BUS_ADRERR): Likewise.
4358 (BUS_OBJERR): Likewise.
4359 (BUS_MCEERR_AR): Likewise.
4360 (BUS_MCEERR_AO): Likewise.
4361 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4362 (TRAP_TRACE): Likewise.
4363 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4364 __USE_XOPEN2K8].
4365 (CLD_KILLED): Likewise.
4366 (CLD_DUMPED): Likewise.
4367 (CLD_TRAPPED): Likewise.
4368 (CLD_STOPPED): Likewise.
4369 (CLD_CONTINUED): Likewise.
4370 (POLL_IN): Likewise.
4371 (POLL_OUT): Likewise.
4372 (POLL_MSG): Likewise.
4373 (POLL_ERR): Likewise.
4374 (POLL_PRI): Likewise.
4375 (POLL_HUP): Likewise.
4376 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4377 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4378
bc61d27c
JM
4379 [BZ #16670]
4380 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4381 before #include of <time.h>.
4382 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4383 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4384 (test-xfail-UNIX98/sched.h/conform): Likewise.
4385
302949e2
MS
43862014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4387
4388 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4389 error absence of trapping exception support.
4390 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4391
a00f522a
JM
43922014-03-07 Joseph Myers <joseph@codesourcery.com>
4393
6f99f280
JM
4394 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4395 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4396 * timezone/Makefile (testdata): Move definition above include of
4397 Rules.
4398 (test-zones): New variable.
4399 (tests-special): Add zone files.
4400 (build-testdata): Use $(evaluate-test).
4401
0b20a9e8
JM
4402 * elf/Makefile (tests-special): Rename tests to end with .out.
4403 ($(objpfx)noload-mem): Likewise.
4404 ($(objpfx)tst-leaks1-mem): Likewise.
4405 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4406 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4407 $(objpfx)test-iconvconfig.out.
4408 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4409 set -e inside subshell and redirect output to file.
4410 * iconvdata/Makefile (generated): Rename tests to end with .out.
4411 Correct type.
4412 (tests-special): Rename tests to end with .out.
4413 ($(objpfx)mtrace-tst-loading): Likewise.
4414 * intl/Makefile (generated): Likewise.
4415 (tests-special): Likewise.
4416 ($(objpfx)mtrace-tst-gettext): Likewise.
4417 * misc/Makefile (generated): Likewise.
4418 (tests-special): Likewise.
4419 ($(objpfx)tst-error1-mem): Likewise.
4420 * nptl/Makefile (tests-special): Likewise.
4421 ($(objpfx)tst-stack3-mem): Likewise.
4422 (generated): Likewise.
4423 * posix/Makefile (generated): Likewise.
4424 (tests-special): Likewise.
4425 (xtests-special): Likewise.
4426 ($(objpfx)tst-fnmatch-mem): Likewise.
4427 ($(objpfx)bug-regex2-mem): Likewise.
4428 ($(objpfx)bug-regex14-mem): Likewise.
4429 ($(objpfx)bug-regex21-mem): Likewise.
4430 ($(objpfx)bug-regex31-mem): Likewise.
4431 ($(objpfx)tst-vfork3-mem): Likewise.
4432 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4433 ($(objpfx)tst-pcre-mem): Likewise.
4434 ($(objpfx)tst-boost-mem): Likewise.
4435 ($(objpfx)bug-ga2-mem): Likewise.
4436 ($(objpfx)bug-glob2-mem): Likewise.
4437 * resolv/Makefile (generate): Likewise.
4438 (tests-special): Likewise.
4439 (xtests-special): Likewise.
4440 (generated): Likewise.
4441 ($(objpfx)mtrace-tst-leaks): Likewise.
4442 ($(objpfx)mtrace-tst-leaks2): Likewise.
4443
265d52ab
JM
4444 * scripts/merge-test-results.sh: New file.
4445 * Makefile (tests-special-notdir): New variable.
4446 (tests): Run merge-test-results.sh.
4447 (xtests): Likewise.
4448 * Rules (tests-special-notdir): New variable.
4449 (xtests-special-notdir): Likewise.
4450 (tests): Run merge-test-results.sh
4451 (xtests): Likewise.
4452
54ee292d
JM
4453 * Makeconfig (test-xfail-name): New variable.
4454 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4455 compute variable name for expected failures.
4456 * conform/Makefile (conformtest-headers-data): New variable.
4457 (conformtest-standards): Likewise.
4458 (conformtest-headers-ISO): Likewise.
4459 (conformtest-headers-ISO99): Likewise.
4460 (conformtest-headers-ISO11): Likewise.
4461 (conformtest-headers-POSIX): Likewise.
4462 (conformtest-headers-XPG3): Likewise.
4463 (conformtest-headers-XPG4): Likewise.
4464 (conformtest-headers-UNIX98): Likewise.
4465 (conformtest-headers-XOPEN2K): Likewise.
4466 (conformtest-headers-POSIX2008): Likewise.
4467 (conformtest-headers-XOPEN2K8): Likewise.
4468 (conformtest-header-list-base): Likewise.
4469 (conformtest-header-list-tests): Likewise.
4470 (conformtest-header-base): Likewise.
4471 (conformtest-header-tests): Likewise.
4472 (tests-special): Add $(conformtest-header-list-tests). If
4473 [$(fast-check) && !$(cross-compiling)], add
4474 $(conformtest-header-tests) instead of
4475 $(objpfx)run-conformtest.out.
4476 (generated): Add $(conformtest-header-list-base). If
4477 [$(fast-check) && !$(cross-compiling)], add
4478 $(conformtest-header-base). Remove previous setting.
4479 ($(conformtest-header-list-tests)): New target.
4480 (test-xfail-run-conformtest): Remove variable.
4481 ($(objpfx)run-conformtest.out): Remove target.
4482 (test-xfail-ISO11/complex.h/conform): New variable.
4483 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4484 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4485 (test-xfail-XPG3/varargs.h/conform): Likewise.
4486 (test-xfail-XPG4/varargs.h/conform): Likewise.
4487 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4488 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4489 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4490 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4491 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4492 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4493 (test-xfail-XPG3/ftw.h/conform): Likewise.
4494 (test-xfail-XPG3/grp.h/conform): Likewise.
4495 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4496 (test-xfail-XPG3/limits.h/conform): Likewise.
4497 (test-xfail-XPG3/pwd.h/conform): Likewise.
4498 (test-xfail-XPG3/search.h/conform): Likewise.
4499 (test-xfail-XPG3/signal.h/conform): Likewise.
4500 (test-xfail-XPG3/stdio.h/conform): Likewise.
4501 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4502 (test-xfail-XPG3/string.h/conform): Likewise.
4503 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4504 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4505 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4506 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4507 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4508 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4509 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4510 (test-xfail-XPG3/termios.h/conform): Likewise.
4511 (test-xfail-XPG3/time.h/conform): Likewise.
4512 (test-xfail-XPG3/unistd.h/conform): Likewise.
4513 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4514 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4515 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4516 (test-xfail-XPG4/netdb.h/conform): Likewise.
4517 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4518 (test-xfail-XPG4/signal.h/conform): Likewise.
4519 (test-xfail-XPG4/stdio.h/conform): Likewise.
4520 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4521 (test-xfail-XPG4/stropts.h/conform): Likewise.
4522 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4523 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4524 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4525 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4526 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4527 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4528 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4529 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4530 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4531 (test-xfail-XPG4/termios.h/conform): Likewise.
4532 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4533 (test-xfail-XPG4/unistd.h/conform): Likewise.
4534 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4535 (test-xfail-POSIX/sched.h/conform): Likewise.
4536 (test-xfail-POSIX/signal.h/conform): Likewise.
4537 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4538 (test-xfail-POSIX/tar.h/conform): Likewise.
4539 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4540 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4541 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4542 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4543 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4544 (test-xfail-UNIX98/sched.h/conform): Likewise.
4545 (test-xfail-UNIX98/signal.h/conform): Likewise.
4546 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4547 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4548 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4549 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4550 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4551 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4552 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4553 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4554 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4555 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4556 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4557 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4558 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4559 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4560 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4561 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4562 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4563 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4564 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4565 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4566 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4567 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4568 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4569 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4570 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4571 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4572 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4573 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4574 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4575 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4576 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4577 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4578 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4579 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4580 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4581 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4582 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4583 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4584 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4585 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4586 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4587 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4588 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4589 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4590 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4591 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4592 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4593 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4594 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4595 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4596 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4597 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4598 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4599 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4600 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4601 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4602 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4603 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4604 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4605 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4606 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4607 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4608 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4609 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4610 (conformtest-cc-flags): Likewise.
4611 ($(conformtest-header-tests): New target.
4612 * conform/check-header-lists.sh: New file.
4613 * conform/run-conformtest.sh: Remove.
4614
a00f522a
JM
4615 * conform/conformtest.pl: Allow ' and \ in values given for
4616 constants.
4617 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4618 inclusion.
4619 [POSIX] (sys/types.h): Likewise.
4620 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4621 inclusion.
4622 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4623 inclusion.
4624 * conform/data/signal.h-data (SIGIO): Remove expectation.
4625 [XPG3] (SIGBUS): Do not expect.
4626 [POSIX || XPG3] (SIGPOLL): Likewise.
4627 [POSIX || XPG3] (SIGPROF): Likewise.
4628 [POSIX || XPG3] (SIGSYS): Likewise.
4629 [XPG3] (SIGTRAP): Likewise.
4630 [POSIX || XPG3] (SIGURG): Likewise.
4631 [POSIX || XPG3] (SIGVTALRM): Likewise.
4632 [POSIX || XPG3] (SIGXCPU): Likewise.
4633 [POSIX || XPG3] (SIGXFSZ): Likewise.
4634 [POSIX] (SA_SIGINFO): Expect.
4635 [XPG3] (siginfo_t): Do not expect type or contents.
4636 [POSIX] (si_pid): Do not expect element.
4637 [POSIX] (si_uid): Likewise.
4638 [POSIX] (si_addr): Likewise.
4639 [POSIX] (si_status): Likewise.
4640 [POSIX] (si_band): Likewise.
4641 [XPG4] (si_value): Likewise.
4642 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4643 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4644 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4645 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4646 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4647 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4648 [POSIX || XPG3] (ILL_COPROC): Likewise.
4649 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4650 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4651 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4652 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4653 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4654 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4655 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4656 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4657 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4658 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4659 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4660 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4661 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4662 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4663 [POSIX || XPG3] (CLD_EXITED): Likewise.
4664 [POSIX || XPG3] (CLD_KILLED): Likewise.
4665 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4666 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4667 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4668 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4669 [POSIX || XPG3] (POLL_IN): Likewise.
4670 [POSIX || XPG3] (POLL_OUT): Likewise.
4671 [POSIX || XPG3] (POLL_MSG): Likewise.
4672 [POSIX || XPG3] (POLL_ERR): Likewise.
4673 [POSIX || XPG3] (POLL_PRI): Likewise.
4674 [POSIX || XPG3] (POLL_HUP): Likewise.
4675 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4676 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4677 (SIG*): Do not allow.
4678 [XPG3] (si_*): Likewise.
4679 [XPG3] (SI_*): Likewise.
4680 [XPG3 || XPG4] (sigev_*): Likewise.
4681 [XPG3 || XPG4] (SIGEV_*): Likewise.
4682 [XPG3 || XPG4] (sival_*): Likewise.
4683 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4684 [POSIX || XPG3] (BUS_*): Likewise.
4685 [POSIX || XPG3] (CLD_*): Likewise.
4686 [POSIX || XPG3] (FPE_*): Likewise.
4687 [POSIX || XPG3] (ILL_*): Likewise.
4688 [POSIX || XPG3] (POLL_*): Likewise.
4689 [POSIX || XPG3] (SEGV_*): Likewise.
4690 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4691 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4692 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4693 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4694 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4695 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4696 Specify type and value.
4697 (TVERSLEN): Likewise.
4698 (REGTYPE): Likewise.
4699 (AREGTYPE): Likewise.
4700 (LNKTYPE): Likewise.
4701 (SYMTYPE): Likewise.
4702 (CHRTYPE): Likewise.
4703 (BLKTYPE): Likewise.
4704 (DIRTYPE): Likewise.
4705 (FIFOTYPE): Likewise.
4706 (CONTTYPE): Likewise.
4707 (TSUID): Likewise.
4708 (TSGID): Likewise.
4709 (TSVTX): Likewise.
4710 (TUREAD): Likewise.
4711 (TUWRITE): Likewise.
4712 (TUEXEC): Likewise.
4713 (TGREAD): Likewise.
4714 (TGWRITE): Likewise.
4715 (TGEXEC): Likewise.
4716 (TOREAD): Likewise.
4717 (TOWRITE): Likewise.
4718 (TOEXEC): Likewise.
4719 [POSIX] (TSVTX): Expect constant.
4720
aa97dee1
JM
47212014-03-06 Joseph Myers <joseph@codesourcery.com>
4722
f214606a
JM
4723 * Makefile (tests): Change dependencies to ....
4724 (tests-special): ... additions to this variable.
4725 (tests): Depend on $(tests-special).
4726 * Makerules (check-abi-list): New variable.
4727 (check-abi): Depend on $(check-abi-list).
4728 [$(subdir) = elf] (tests-special): Add
4729 $(objpfx)check-abi-libc.out.
4730 [$(build-shared) = yes && subdir] (tests-special): Add
4731 $(check-abi-list).
4732 [$(build-shared) = yes && subdir] (tests): Do not depend on
4733 check-abi.
4734 * Rules (tests): Depend on $(tests-special).
4735 (xtests): Depend on $(xtests-special).
4736 * catgets/Makefile (tests): Change dependencies to ....
4737 (tests-special): ... additions to this variable.
4738 * conform/Makefile (tests): Change dependencies to ....
4739 (tests-special): ... additions to this variable.
4740 * elf/Makefile (tests): Change dependencies to ....
4741 (tests-special): ... additions to this variable.
4742 * grp/Makefile (tests): Change dependencies to ....
4743 (tests-special): ... additions to this variable.
4744 * iconv/Makefile (xtests): Change dependencies to ....
4745 (xtests-special): ... additions to this variable.
4746 * iconvdata/Makefile (tests): Change dependencies to ....
4747 (tests-special): ... additions to this variable.
4748 * intl/Makefile (tests): Change dependencies to ....
4749 (tests-special): ... additions to this variable. Also add
4750 $(objpfx)tst-gettext.out.
4751 * io/Makefile (tests): Change dependencies to ....
4752 (tests-special): ... additions to this variable.
4753 * libio/Makefile (tests): Change dependencies to ....
4754 (tests-special): ... additions to this variable.
4755 * malloc/Makefile (tests): Change dependencies to ....
4756 (tests-special): ... additions to this variable.
4757 * misc/Makefile (tests): Change dependencies to ....
4758 (tests-special): ... additions to this variable.
4759 * nptl/Makefile (tests): Change dependencies to ....
4760 (tests-special): ... additions to this variable.
4761 * nptl_db/Makefile (tests): Change dependencies to ....
4762 (tests-special): ... additions to this variable.
4763 * posix/Makefile (tests): Change dependencies to ....
4764 (tests-special): ... additions to this variable.
4765 (xtests): Change dependencies to ....
4766 (xtests-special): ... additions to this variable.
4767 * resolv/Makefile (tests): Change dependencies to ....
4768 (tests-special): ... additions to this variable.
4769 (xtests): Change dependencies to ....
4770 (xtests-special): ... additions to this variable.
4771 * stdio-common/Makefile (tests): Change dependencies to ....
4772 (tests-special): ... additions to this variable.
4773 (do-tst-unbputc): Remove target.
4774 (do-tst-printf): Likewise.
4775 * stdlib/Makefile (tests): Change dependencies to ....
4776 (tests-special): ... additions to this variable.
4777 * string/Makefile (tests): Change dependencies to ....
4778 (tests-special): ... additions to this variable.
4779 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4780 (tests-special): ... additions to this variable.
4781
81700b53
JM
4782 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4783 whole file.
4784 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4785 whole file.
4786 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4787 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4788
2ea18461
JM
4789 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4790 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4791 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4792 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4793 * conform/data/libgen.h-data [XPG3]: Likewise.
4794 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4795 * conform/data/ndbm.h-data [XPG3]: Likewise.
4796 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4797 * conform/data/netdb.h-data [XPG3]: Likewise.
4798 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4799 * conform/data/poll.h-data [XPG3]: Likewise.
4800 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4801 * conform/data/strings.h-data [XPG3]: Likewise.
4802 * conform/data/stropts.h-data [XPG3]: Likewise.
4803 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4804 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4805 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4806 Likewise.
4807 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4808 * conform/data/sys/time.h-data [XPG3]: Likewise.
4809 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4810 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4811 * conform/data/sys/un.h-data [XPG3]: Likewise.
4812 * conform/data/syslog.h-data [XPG3]: Likewise.
4813 * conform/data/ucontext.h-data [XPG3]: Likewise.
4814 * conform/data/utmpx.h-data [XPG3]: Likewise.
4815 * conform/data/varargs.h-data [UNIX98]: Enable file.
4816
355bc986
JM
4817 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4818
215db402
JM
4819 * math/libm-test.inc (struct test_f_f_data): Move expected results
4820 into structure for each rounding mode.
4821 (struct test_ff_f_data): Likewise.
4822 (struct test_ff_f_data_nexttoward): Likewise.
4823 (struct test_fi_f_data): Likewise.
4824 (struct test_fl_f_data): Likewise.
4825 (struct test_if_f_data): Likewise.
4826 (struct test_fff_f_data): Likewise.
4827 (struct test_c_f_data): Likewise.
4828 (struct test_f_f1_data): Likewise.
4829 (struct test_fF_f1_data): Likewise.
4830 (struct test_ffI_f1_data): Likewise.
4831 (struct test_c_c_data): Likewise.
4832 (struct test_cc_c_data): Likewise.
4833 (struct test_f_i_data): Likewise.
4834 (struct test_ff_i_data): Likewise.
4835 (struct test_f_l_data): Likewise.
4836 (struct test_f_L_data): Likewise.
4837 (struct test_fFF_11_data): Likewise.
4838 (RM_): New macro.
4839 (RM_FE_DOWNWARD): Likewise.
4840 (RM_FE_TONEAREST): Likewise.
4841 (RM_FE_TOWARDZERO): Likewise.
4842 (RM_FE_UPWARD): Likewise.
4843 (RUN_TEST_LOOP_f_f): Update references to expected results.
4844 (RUN_TEST_LOOP_2_f): Likewise.
4845 (RUN_TEST_LOOP_fff_f): Likewise.
4846 (RUN_TEST_LOOP_c_f): Likewise.
4847 (RUN_TEST_LOOP_f_f1): Likewise.
4848 (RUN_TEST_LOOP_fF_f1): Likewise.
4849 (RUN_TEST_LOOP_fI_f1): Likewise.
4850 (RUN_TEST_LOOP_ffI_f1): Likewise.
4851 (RUN_TEST_LOOP_c_c): Likewise.
4852 (RUN_TEST_LOOP_cc_c): Likewise.
4853 (RUN_TEST_LOOP_f_i): Likewise.
4854 (RUN_TEST_LOOP_f_i_tg): Likewise.
4855 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4856 (RUN_TEST_LOOP_f_b): Likewise.
4857 (RUN_TEST_LOOP_f_b_tg): Likewise.
4858 (RUN_TEST_LOOP_f_l): Likewise.
4859 (RUN_TEST_LOOP_f_L): Likewise.
4860 (RUN_TEST_LOOP_fFF_11): Likewise.
4861 * math/gen-libm-test.pl (parse_args): Output four copies of
4862 expected results for each test.
4863
67737b8f
JM
4864 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4865 (__ASSUME_UTIMES): Remove.
4866 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4867 (__ASSUME_UTIMES): Likewise.
4868
aa97dee1
JM
4869 * math/gen-auto-libm-tests.c: Update comment on output format.
4870 (output_for_one_input_case): Generate before-rounding and
4871 after-rounding information as conditions on output flags not
4872 floating-point format.
4873 * math/auto-libm-test-out: Regenerated.
4874 * math/gen-libm-test.pl (cond_value): New function.
4875 (or_cond_value): Use cond_value.
4876 (generate_testfile): Handle conditional exceptions.
4877
e6b6a857
JM
48782014-03-05 Joseph Myers <joseph@codesourcery.com>
4879
2f0a0f44
JM
4880 * math/libm-test.inc (max_valid_error): New variable.
4881 (init_max_error): Take new argument specifying whether function
4882 results are exactly determined. Set max_valid_error and bound
4883 other variables for errors based on this argument.
4884 (set_max_error): Do not record results above max_valid_error.
4885 (check_float_internal): Only accept errors of up to 0.5ulps if
4886 also at most max_valid_error.
4887 (START): Take new argument EXACT and pass it to init_max_error.
4888 (acos_test): Update call to START.
4889 (acos_test_tonearest): Likewise.
4890 (acos_test_towardzero): Likewise.
4891 (acos_test_downward): Likewise.
4892 (acos_test_upward): Likewise.
4893 (acosh_test): Likewise.
4894 (asin_test): Likewise.
4895 (asin_test_tonearest): Likewise.
4896 (asin_test_towardzero): Likewise.
4897 (asin_test_downward): Likewise.
4898 (asin_test_upward): Likewise.
4899 (asinh_test): Likewise.
4900 (atan_test): Likewise.
4901 (atanh_test): Likewise.
4902 (atan2_test): Likewise.
4903 (cabs_test): Likewise.
4904 (cacos_test): Likewise.
4905 (cacosh_test): Likewise.
4906 (carg_test): Likewise.
4907 (casin_test): Likewise.
4908 (casinh_test): Likewise.
4909 (catan_test): Likewise.
4910 (catanh_test): Likewise.
4911 (cbrt_test): Likewise.
4912 (ccos_test): Likewise.
4913 (ccosh_test): Likewise.
4914 (ceil_test): Likewise.
4915 (cexp_test): Likewise.
4916 (cimag_test): Likewise.
4917 (clog_test): Likewise.
4918 (clog10_test): Likewise.
4919 (conj_test): Likewise.
4920 (copysign_test): Likewise.
4921 (cos_test): Likewise.
4922 (cos_test_tonearest): Likewise.
4923 (cos_test_towardzero): Likewise.
4924 (cos_test_downward): Likewise.
4925 (cos_test_upward): Likewise.
4926 (cosh_test): Likewise.
4927 (cosh_test_tonearest): Likewise.
4928 (cosh_test_towardzero): Likewise.
4929 (cosh_test_downward): Likewise.
4930 (cosh_test_upward): Likewise.
4931 (cpow_test): Likewise.
4932 (cproj_test): Likewise.
4933 (creal_test): Likewise.
4934 (csin_test): Likewise.
4935 (csinh_test): Likewise.
4936 (csqrt_test): Likewise.
4937 (ctan_test): Likewise.
4938 (ctan_test_tonearest): Likewise.
4939 (ctan_test_towardzero): Likewise.
4940 (ctan_test_downward): Likewise.
4941 (ctan_test_upward): Likewise.
4942 (ctanh_test): Likewise.
4943 (ctanh_test_tonearest): Likewise.
4944 (ctanh_test_towardzero): Likewise.
4945 (ctanh_test_downward): Likewise.
4946 (ctanh_test_upward): Likewise.
4947 (erf_test): Likewise.
4948 (erfc_test): Likewise.
4949 (exp_test): Likewise.
4950 (exp_test_tonearest): Likewise.
4951 (exp_test_towardzero): Likewise.
4952 (exp_test_downward): Likewise.
4953 (exp_test_upward): Likewise.
4954 (exp10_test): Likewise.
4955 (exp10_test_tonearest): Likewise.
4956 (exp10_test_towardzero): Likewise.
4957 (exp10_test_downward): Likewise.
4958 (exp10_test_upward): Likewise.
4959 (pow10_test): Likewise.
4960 (exp2_test): Likewise.
4961 (expm1_test): Likewise.
4962 (expm1_test_tonearest): Likewise.
4963 (expm1_test_towardzero): Likewise.
4964 (expm1_test_downward): Likewise.
4965 (expm1_test_upward): Likewise.
4966 (fabs_test): Likewise.
4967 (fdim_test): Likewise.
4968 (floor_test): Likewise.
4969 (fma_test): Likewise.
4970 (fma_test_towardzero): Likewise.
4971 (fma_test_downward): Likewise.
4972 (fma_test_upward): Likewise.
4973 (fmax_test): Likewise.
4974 (fmin_test): Likewise.
4975 (fmod_test): Likewise.
4976 (fpclassify_test): Likewise.
4977 (frexp_test): Likewise.
4978 (hypot_test): Likewise.
4979 (ilogb_test): Likewise.
4980 (isfinite_test): Likewise.
4981 (finite_test): Likewise.
4982 (isgreater_test): Likewise.
4983 (isgreaterequal_test): Likewise.
4984 (isinf_test): Likewise.
4985 (isless_test): Likewise.
4986 (islessequal_test): Likewise.
4987 (islessgreater_test): Likewise.
4988 (isnan_test): Likewise.
4989 (isnormal_test): Likewise.
4990 (issignaling_test): Likewise.
4991 (isunordered_test): Likewise.
4992 (j0_test): Likewise.
4993 (j1_test): Likewise.
4994 (jn_test): Likewise.
4995 (ldexp_test): Likewise.
4996 (lgamma_test): Likewise.
4997 (gamma_test): Likewise.
4998 (lrint_test): Likewise.
4999 (lrint_test_tonearest): Likewise.
5000 (lrint_test_towardzero): Likewise.
5001 (lrint_test_downward): Likewise.
5002 (lrint_test_upward): Likewise.
5003 (llrint_test): Likewise.
5004 (llrint_test_tonearest): Likewise.
5005 (llrint_test_towardzero): Likewise.
5006 (llrint_test_downward): Likewise.
5007 (llrint_test_upward): Likewise.
5008 (log_test): Likewise.
5009 (log10_test): Likewise.
5010 (log1p_test): Likewise.
5011 (log2_test): Likewise.
5012 (logb_test): Likewise.
5013 (logb_test_downward): Likewise.
5014 (lround_test): Likewise.
5015 (llround_test): Likewise.
5016 (modf_test): Likewise.
5017 (nearbyint_test): Likewise.
5018 (nextafter_test): Likewise.
5019 (nexttoward_test): Likewise.
5020 (pow_test): Likewise.
5021 (pow_test_tonearest): Likewise.
5022 (pow_test_towardzero): Likewise.
5023 (pow_test_downward): Likewise.
5024 (pow_test_upward): Likewise.
5025 (remainder_test): Likewise.
5026 (drem_test): Likewise.
5027 (remainder_test_tonearest): Likewise.
5028 (drem_test_tonearest): Likewise.
5029 (remainder_test_towardzero): Likewise.
5030 (drem_test_towardzero): Likewise.
5031 (remainder_test_downward): Likewise.
5032 (drem_test_downward): Likewise.
5033 (remainder_test_upward): Likewise.
5034 (drem_test_upward): Likewise.
5035 (remquo_test): Likewise.
5036 (rint_test): Likewise.
5037 (rint_test_tonearest): Likewise.
5038 (rint_test_towardzero): Likewise.
5039 (rint_test_downward): Likewise.
5040 (rint_test_upward): Likewise.
5041 (round_test): Likewise.
5042 (scalb_test): Likewise.
5043 (scalbn_test): Likewise.
5044 (scalbln_test): Likewise.
5045 (signbit_test): Likewise.
5046 (sin_test): Likewise.
5047 (sin_test_tonearest): Likewise.
5048 (sin_test_towardzero): Likewise.
5049 (sin_test_downward): Likewise.
5050 (sin_test_upward): Likewise.
5051 (sincos_test): Likewise.
5052 (sinh_test): Likewise.
5053 (sinh_test_tonearest): Likewise.
5054 (sinh_test_towardzero): Likewise.
5055 (sinh_test_downward): Likewise.
5056 (sinh_test_upward): Likewise.
5057 (sqrt_test): Likewise.
5058 (sqrt_test_tonearest): Likewise.
5059 (sqrt_test_towardzero): Likewise.
5060 (sqrt_test_downward): Likewise.
5061 (sqrt_test_upward): Likewise.
5062 (tan_test): Likewise.
5063 (tan_test_tonearest): Likewise.
5064 (tan_test_towardzero): Likewise.
5065 (tan_test_downward): Likewise.
5066 (tan_test_upward): Likewise.
5067 (tanh_test): Likewise.
5068 (tgamma_test): Likewise.
5069 (trunc_test): Likewise.
5070 (y0_test): Likewise.
5071 (y1_test): Likewise.
5072 (yn_test): Likewise.
5073 (significand_test): Likewise.
5074
e6b6a857
JM
5075 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5076 individual tests in comment.
5077 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5078 (prev_max_error): New variable.
5079 (prev_real_max_error): Likewise.
5080 (prev_imag_max_error): Likewise.
5081 (compare_ulp_data): Don't refer to test names in comment.
5082 (find_test_ulps): Remove function.
5083 (find_function_ulps): Likewise.
5084 (find_complex_function_ulps): Likewise.
5085 (init_max_error): Take function name as argument. Look up ulps
5086 for that function.
5087 (print_ulps): Remove function.
5088 (print_max_error): Use prev_max_error instead of calling
5089 find_function_ulps.
5090 (print_complex_max_error): Use prev_real_max_error and
5091 prev_imag_max_error instead of calling find_complex_function_ulps.
5092 (check_float_internal): Take max_ulp parameter instead of calling
5093 find_test_ulps. Don't call print_ulps.
5094 (check_float): Update call to check_float_internal.
5095 (check_complex): Update calls to check_float_internal.
5096 (START): Pass argument to init_max_error.
5097 * math/gen-libm-test.pl (%results): Don't include "kind"
5098 information.
5099 (parse_ulps): Don't handle ulps of individual tests.
5100 (print_ulps_file): Likewise.
5101 (output_ulps): Likewise.
5102 * math/README.libm-test: Update.
5103 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5104 individual tests.
5105 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5106 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5107 * sysdeps/arm/libm-test-ulps: Likewise.
5108 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5109 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5110 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5111 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5112 * sysdeps/microblaze/libm-test-ulps: Likewise.
5113 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5114 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5115 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5116 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5117 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5118 * sysdeps/sh/libm-test-ulps: Likewise.
5119 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5120 * sysdeps/tile/libm-test-ulps: Likewise.
5121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5122
45adef3c
JM
51232014-03-04 Joseph Myers <joseph@codesourcery.com>
5124
5125 * math/libm-test.inc (print_complex_max_error): Check separately
5126 whether real and imaginary errors are within allowed range and
5127 pass 0 to print_complex_function_ulps instead of value within
5128 allowed range.
5129
000232b9
SP
51302014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5131
d4b17258
SP
5132 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5133 formatting.
5134 (get_handles_fopen): Likewise.
5135 (do_write_test): Likewise.
5136
091eff71
SP
5137 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5138
fa3cd248
SP
5139 * libio/fileops.c (do_ftell): Use cached offset when
5140 available.
5141 * libio/iofwide.c (do_ftell_wide): Likewise.
5142 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5143 _IO_file_attach.
5144 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5145
000232b9
SP
5146 [BZ #16532]
5147 * libio/libioP.h (get_file_offset): New function.
5148 * libio/fileops.c (get_file_offset): Likewise.
5149 (do_ftell): Likewise.
5150 (_IO_new_file_seekoff): Split out ftell logic.
5151 * libio/wfileops.c (do_ftell_wide): Likewise.
5152 (_IO_wfile_seekoff): Split out ftell logic.
5153 * libio/tst-ftell-active-handler.c: New test case.
5154 * libio/Makefile (tests): Add it.
5155
116f4d1a
RM
51562014-03-03 Roland McGrath <roland@hack.frob.com>
5157
5158 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5159 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5160
532a6035
SP
51612014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5162
5163 [BZ #16639]
5164 * nscd/connections.c (nscd_init): Call do_exit.
5165 (start_threads): Call do_exit and notify_parent.
5166 (begin_drop_privileges): Call do_exit.
5167 (finish_drop_privileges): Likewise.
5168 * nscd/selinux.c (preserve_capabilities): Likewise.
5169 (install_real_capabilities): Likewise.
5170 (nscd_selinux_enabled): Likewise.
5171 (avc_create_thread): Likewise.
5172 (avc_alloc_lock): Likewise.
5173 (nscd_avc_init): Likewise.
5174 * nscd/nscd.c (parent_fd): New static variable.
5175 (main): Create a pipe between parent and child processes.
5176 Skip closing parent_fd.
5177 (monitor_child): New function.
5178 (do_exit): Likewise.
5179 (notify_parent): Likewise.
5180 * nscd/nscd.h (notify_parent): Likewise.
5181 (do_exit): Likewise.
5182
d6285c9f
CD
51832014-03-03 Carlos O'Donell <carlos@redhat.com>
5184
5185 * malloc/malloc.c (__libc_calloc): Revert last change.
5186
2b85d2a0
AZ
51872014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5188
5189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5190
c7debbdf
RS
51912014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5192
5193 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5194 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5195 implementation.
5196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5197 (__libc_ifunc_impl_list): Likewise.
5198 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5199 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5200 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5201 * string/strrchr.c: Define STRRCHR.
5202
235eed86
OB
52032014-02-28 Ondřej Bílka <neleai@seznam.cz>
5204
5205 * benchtest/bench-strtok.c (simple_strtok): Delete.
5206 (strtok_string): Use as benchmark.
5207 * string/strtok (STRTOK): New macro.
5208
8e25d1e7
CD
52092014-02-28 Carlos O'Donell <carlos@redhat.com>
5210
ef563f92
CD
5211 * manual/threads.texi: Add header and standard comments to all
5212 functions.
5213
8e25d1e7
CD
5214 * elf/dl-lookup.c (check_match): New function.
5215 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5216 (do_lookup_x): Remove nested function check_match. Use non-nested
5217 function check_match.
5218
ff71cc37
RM
52192014-02-28 Roland McGrath <roland@hack.frob.com>
5220
f08e9a26
RM
5221 * csu/Makefile (generated, before-compile): Use += rather than =.
5222 * catgets/Makefile (generated, generated-dirs): Likewise.
5223 * debug/Makefile (generated): Likewise.
5224 * dlfcn/Makefile (generated): Likewise.
5225 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5226 * iconvdata/Makefile (before-compile, generated): Likewise.
5227 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5228 * libio/Makefile (generated): Likewise.
5229 * malloc/Makefile (generated): Likewise.
5230 * manual/Makefile (generated, generated-dirs): Likewise.
5231 * misc/Makefile (generated): Likewise.
5232 * posix/Makefile (generated): Likewise.
5233 * resolv/Makefile (generated): Likewise.
5234 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5235 * timezone/Makefile (generated, generated-dirs): Likewise.
5236
ff71cc37
RM
5237 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5238
fe13a20c
AZ
52392014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5240
57f41c40
AS
5241 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5242 power8 implementation.
5243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5244 file: POWER8 llround ifunc implementation.
5245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5246 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
5247 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5248 POWER8 llround implementation.
5249
57f41c40
AS
5250 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5251 power8 implementation.
5252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5253 file: POWER8 llrint ifunc implementation.
5254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5255 Add POWER8 implementation.
1ad8950a
AZ
5256 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5257 POWER8 llrint implementation.
5258
57f41c40
AS
5259 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5260 power8 implementation.
5261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5262 file: POWER8 finite ifunc implementation.
5263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5264 Add POWER8 implementation.
cac626d6
AZ
5265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5266 Likewise.
5267 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5268 POWER8 finite implementation.
5269 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5270
57f41c40
AS
5271 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5272 power8 implementation.
5273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5274 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
5275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5276 POWER8 implementation.
5277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5278 Likewise.
57f41c40
AS
5279 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5280 isinf implementation.
4393fc11
AZ
5281 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5282
57f41c40
AS
5283 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5284 (INIT_ARCH): Add hwcap2 initialization.
5285 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5286 power8 implementation.
5287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5288 file: POWER8 isnan ifunc implementation.
487972ae
AZ
5289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5290 POWER8 implementation.
5291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5292 Likewise.
57f41c40
AS
5293 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5294 isnan implementation.
487972ae
AZ
5295 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5296
7d92b787
JY
52972014-02-27 Joey Ye <joey.ye@arm.com>
5298
5299 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5300 (_FP_NANFRAC_Q): Set to zero.
5301
1cadc858
SP
53022014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5303
5304 [BZ #16623]
5305 * math/auto-libm-test-in: New test inputs.
5306 * math/auto-libm-test-out: Regenerate.
5307 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5308 and DA.
5309 (__cos): Likewise.
5310 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5311
f8c17e79
JM
53122014-02-27 Joseph Myers <joseph@codesourcery.com>
5313
5314 * scripts/evaluate-test.sh: Take new argument indicating whether
5315 failure is expected.
5316 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5317 indicating whether failure is expected.
5318 * conform/Makefile (test-xfail-run-conformtest): New variable.
5319 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5320 level.
5321 * posix/Makefile (test-xfail-annexc): New variable.
5322 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5323
a5f891ac
JM
53242014-02-26 Joseph Myers <joseph@codesourcery.com>
5325
5326 * argp/Makefile: Include Makeconfig immediately after defining
5327 subdir.
5328 * assert/Makefile: Likewise.
5329 * benchtests/Makefile: Likewise.
5330 * catgets/Makefile: Likewise.
5331 * conform/Makefile: Likewise.
5332 * crypt/Makefile: Likewise.
5333 * csu/Makefile: Likewise.
5334 (all): Remove target.
5335 * ctype/Makefile: Include Makeconfig immediately after defining
5336 subdir.
5337 * debug/Makefile: Likewise.
5338 * dirent/Makefile: Likewise.
5339 * dlfcn/Makefile: Likewise.
5340 * gmon/Makefile: Likewise.
5341 * gnulib/Makefile: Likewise.
5342 * grp/Makefile: Likewise.
5343 * gshadow/Makefile: Likewise.
5344 * hesiod/Makefile: Likewise.
5345 * hurd/Makefile: Likewise.
5346 (all): Remove target.
5347 * iconvdata/Makefile: Include Makeconfig immediately after
5348 defining subdir.
5349 * inet/Makefile: Likewise.
5350 * intl/Makefile: Likewise.
5351 * io/Makefile: Likewise.
5352 * libio/Makefile: Likewise.
5353 (all): Remove target.
5354 * locale/Makefile: Include Makeconfig immediately after defining
5355 subdir.
5356 * login/Makefile: Likewise.
5357 * mach/Makefile: Likewise.
5358 (all): Remove target.
5359 * malloc/Makefile: Include Makeconfig immediately after defining
5360 subdir.
5361 (all): Remove target.
5362 * manual/Makefile: Include Makeconfig immediately after defining
5363 subdir.
5364 * math/Makefile: Likewise.
5365 * misc/Makefile: Likewise.
5366 * nis/Makefile: Likewise.
5367 * nss/Makefile: Likewise.
5368 * po/Makefile: Likewise.
5369 (all): Remove target.
5370 * posix/Makefile: Include Makeconfig immediately after defining
5371 subdir.
5372 * pwd/Makefile: Likewise.
5373 * resolv/Makefile: Likewise.
5374 * resource/Makefile: Likewise.
5375 * rt/Makefile: Likewise.
5376 * setjmp/Makefile: Likewise.
5377 * shadow/Makefile: Likewise.
5378 * signal/Makefile: Likewise.
5379 * socket/Makefile: Likewise.
5380 * soft-fp/Makefile: Likewise.
5381 * stdio-common/Makefile: Likewise.
5382 * stdlib/Makefile: Likewise.
5383 * streams/Makefile: Likewise.
5384 * string/Makefile: Likewise.
5385 * sunrpc/Makefile: Likewise.
5386 (all): Remove target.
5387 * sysvipc/Makefile: Include Makeconfig immediately after defining
5388 subdir.
5389 * termios/Makefile: Likewise.
5390 * time/Makefile: Likewise.
5391 * timezone/Makefile: Likewise.
5392 (all): Remove target.
5393 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5394 subdir.
5395 * wctype/Makefile: Likewise.
5396
5b456e9d
SE
53972014-02-26 Steve Ellcey <sellcey@mips.com>
5398
5399 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5400 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5401 (libc_feholdexcept_setround_mips): Ditto.
5402 (libc_feholdsetround): New.
5403 (libc_feholdsetroundf): New.
5404 (libc_feholdsetroundl): New.
5405 (libc_feupdateenv_test_mips): New.
5406 (libc_feupdateenv_test): New.
5407 (libc_feupdateenv_testf): New.
5408 (libc_feupdateenv_testl): New.
5409 (libc_feresetround): New.
5410 (libc_feresetroundf): New.
5411 (libc_feresetroundl): New.
5412 (libc_fetestexcept_mips): New.
5413 (libc_fetestexcept): New.
5414 (libc_fetestexceptf): New.
5415 (libc_fetestexceptl): New.
5416 (HAVE_RM_CTX): New.
5417 (libc_feholdexcept_setround_mips_ctx): New.
5418 (libc_feholdexcept_setround_ctx): New.
5419 (libc_feholdexcept_setroundf_ctx): New.
5420 (libc_feholdexcept_setroundl_ctx): New.
5421 (libc_fesetenv_mips_ctx): New.
5422 (libc_fesetenv_ctx): New.
5423 (libc_fesetenv_ctxf): New.
5424 (libc_fesetenv_ctxl): New.
5425 (libc_feupdateenv_mips_ctx): New.
5426 (libc_feupdateenv_ctx): New.
5427 (libc_feupdateenvf_ctx): New.
5428 (libc_feupdateenvl_ctx): New.
5429 (libc_feholdsetround_mips_ctx): New.
5430 (libc_feholdsetround_ctx): New.
5431 (libc_feholdsetroundf_ctx): New.
5432 (libc_feholdsetroundl_ctx): New.
5433 (libc_feresetround_mips_ctx): New.
5434 (libc_feresetround_ctx): New.
5435 (libc_feresetroundf_ctx): New.
5436 (libc_feresetroundl_ctx): New.
5437
085d0e35
CD
54382014-02-26 Carlos O'Donell <carlos@redhat.com>
5439
f067bf1f
CD
5440 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5441
085d0e35
CD
5442 * manual/ipc.texi: New file.
5443 * manual/Makefile (chapters): Add ipc.
5444 * manual/job.texi: Add "Inter-Process Communication" to next.
5445 * manual/process.texi: Add "Inter-Process Communication" to prev.
5446
86e58c08
AZ
54472014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5448
5449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5450
4248f0da
OB
54512014-02-26 Ondřej Bílka <neleai@seznam.cz>
5452
5453 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5454
cf822e3c
OB
5455 * manual/arith.texi: Fix spaces after sentences.
5456 * manual/charset.texi: Likewise.
5457 * manual/errno.texi: Likewise.
5458 * manual/install.texi: Likewise.
5459 * manual/llio.texi: Likewise.
5460 * manual/locale.texi: Likewise.
5461 * manual/maint.texi: Likewise.
5462 * manual/math.texi: Likewise.
5463 * manual/memory.texi: Likewise.
5464 * manual/message.texi: Likewise.
5465 * manual/probes.texi: Likewise.
5466 * manual/resource.texi: Likewise.
5467 * manual/signal.texi: Likewise.
5468 * manual/socket.texi: Likewise.
5469 * manual/stdio.texi: Likewise.
5470 * manual/string.texi: Likewise.
5471 * manual/time.texi: Likewise.
5472 * manual/users.texi: Likewise.
5473
ade40b10
CD
54742014-02-25 Carlos O'Donell <carlos@redhat.com>
5475
5476 [BZ #16632]
5477 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5478 _DEFAULT_SOURCE is defined.
5479
d0503676
CD
54802014-02-25 Ulrich Drepper <drepper@gmail.com>
5481 Carlos O'Donell <carlos@redhat.com>
5482
5483 [BZ #16613]
5484 * elf/dl-tls.c (_dl_count_modids): New function.
5485 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5486 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5487 audit library and increment generation counter.
5488 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5489 * elf/tst-audit9.c: New file.
5490 * elf/tst-auditmod9a.c: New file.
5491 * elf/tst-auditmod9b.c: New file.
5492 * elf/Makefile: Add rules to build and run tst-audit9.
5493
4cbf380c
FW
54942014-02-25 Florian Weimer <fweimer@redhat.com>
5495
5496 [BZ #15347]
5497 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5498
80a56cc3
WN
54992014-02-25 Will Newton <will.newton@linaro.org>
5500
5501 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5502 (__longjmp): Restore sp and lr before restoring callee
5503 saved registers. Add longjmp and longjmp_target
5504 SystemTap probe point.
5505 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5506 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5507 Define to zero to match jmpbuf layout.
5508 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5509 (__sigsetjmp): Save sp and lr before saving callee
5510 saved registers. Add setjmp SystemTap probe point.
5511
3ea0f74e
SL
55122014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5513
5514 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5515
b04acb26
AS
55162014-02-24 Andreas Schwab <schwab@suse.de>
5517
5518 [BZ #15804]
5519 * elf/pldd.c (wait_for_ptrace_stop): New function.
5520 (main): Call it after attaching.
5521
098ad55c
RM
55222014-02-22 Roland McGrath <roland@hack.frob.com>
5523
d4ec6ae1
RM
5524 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5525 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5526 Versions files is now verboten.
5527 * hurd/Versions (libc: GLIBC_2.0):
5528 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5529 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5530 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5531 * mach/Versions: Likewise.
5532
098ad55c
RM
5533 * csu/Versions: Remove unused %include.
5534 * resolv/Versions: Likewise.
5535
acd7f096
JM
55362014-02-21 Joseph Myers <joseph@codesourcery.com>
5537
f0881698
JM
5538 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5539 ($(objpfx)check-local-headers.out): Likewise.
5540 ($(objpfx)begin-end-check.out): Likewise.
5541 * Makerules (check-abi-%.out): Likewise.
5542 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5543 ($(objpfx)test2.cat): Likewise.
5544 ($(objpfx)de/libc.cat): Likewise.
5545 ($(objpfx)test-gencat.out): Likewise.
5546 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5547 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5548 ($(objpfx)noload-mem): Likewise.
5549 ($(objpfx)tst-pathopt.out): Likewise.
5550 ($(objpfx)tst-rtld-load-self.out): Likewise.
5551 ($(objpfx)tst-array1-cmp.out): Likewise.
5552 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5553 ($(objpfx)tst-array2-cmp.out): Likewise.
5554 ($(objpfx)tst-array3-cmp.out): Likewise.
5555 ($(objpfx)tst-array4-cmp.out): Likewise.
5556 ($(objpfx)tst-array5-cmp.out): Likewise.
5557 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5558 ($(objpfx)check-textrel.out): Likewise.
5559 ($(objpfx)check-execstack.out): Likewise.
5560 ($(objpfx)check-localplt.out): Likewise.
5561 ($(objpfx)order2-cmp.out): Likewise.
5562 ($(objpfx)tst-leaks1-mem): Likewise.
5563 ($(objpfx)tst-leaks1-static-mem): Likewise.
5564 ($(objpfx)tst-initorder-cmp.out): Likewise.
5565 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5566 ($(objpfx)tst-unused-dep.out): Likewise.
5567 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5568 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5569 * iconv/Makefile (test-iconvconfig): Likewise.
5570 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5571 ($(objpfx)iconv-test.out): Likewise.
5572 ($(objpfx)tst-tables.out): Likewise.
5573 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5574 ($(objpfx)tst-gettext.out): Likewise.
5575 ($(objpfx)tst-translit.out): Likewise.
5576 ($(objpfx)tst-gettext2.out): Likewise.
5577 ($(objpfx)tst-gettext4.out): Likewise.
5578 ($(objpfx)tst-gettext6.out): Likewise.
5579 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5580 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5581 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5582 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5583 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5584 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5585 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5586 ($(objpfx)wordexp-tst.out): Likewise.
5587 ($(objpfx)annexc.out): Likewise.
5588 ($(objpfx)tst-fnmatch-mem): Likewise.
5589 ($(objpfx)bug-regex2-mem): Likewise.
5590 ($(objpfx)bug-regex14-mem): Likewise.
5591 ($(objpfx)bug-regex21-mem): Likewise.
5592 ($(objpfx)bug-regex31-mem): Likewise.
5593 ($(objpfx)tst-vfork3-mem): Likewise.
5594 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5595 ($(objpfx)tst-pcre-mem): Likewise.
5596 ($(objpfx)tst-boost-mem): Likewise.
5597 ($(objpfx)tst-getconf.out): Likewise.
5598 ($(objpfx)bug-ga2-mem): Likewise.
5599 ($(objpfx)bug-glob2-mem): Likewise.
5600 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5601 ($(objpfx)mtrace-tst-leaks2): Likewise.
5602 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5603 ($(objpfx)tst-printf.out): Likewise.
5604 ($(objpfx)tst-setvbuf1.out): Likewise.
5605 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5606 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5607 ($(objpfx)tst-fmtmsg.out): Likewise.
5608 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5609 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5610
acd7f096
JM
5611 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5612 * bits/sigaction.h [__USE_MISC]: Likewise.
5613 * bits/waitstatus.h: Update #endif comments.
5614 * ctype/ctype.h: Likewise.
5615 * dirent/dirent.h: Likewise.
5616 [__USE_MISC]: Remove redundant conditionals.
5617 * grp/grp.h: Update #endif comments.
5618 [__USE_GNU]: Remove redundant conditionals.
5619 [__USE_MISC]: Likewise.
5620 * inet/netinet/in.h [__USE_GNU]: Likewise.
5621 * io/sys/stat.h [__USE_MISC]: Likewise.
5622 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5623 * libio/bits/stdio.h: Update #endif comments.
5624 [__USE_MISC]: Remove redundant conditionals.
5625 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5626 * libio/stdio.h: Update #endif comments.
5627 [__USE_MISC]: Remove redundant conditionals.
5628 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5629 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5630 * math/math.h: Update #else and #endif comments.
5631 [__USE_MISC]: Remove redundant conditionals.
5632 * misc/sys/uio.h: Update #endif comments.
5633 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5634 * posix/glob.h [__USE_MISC]: Likewise.
5635 * posix/sys/types.h: Update #endif comments.
5636 [__USE_MISC]: Remove redundant conditionals.
5637 * posix/sys/wait.h: Update #endif comments.
5638 [__USE_MISC]: Remove redundant conditionals.
5639 * posix/unistd.h: Update #endif comments.
5640 [__USE_MISC]: Remove redundant conditionals.
5641 * pwd/pwd.h [__USE_GNU]: Likewise.
5642 [__USE_MISC]: Likewise.
5643 * resolv/netdb.h [__USE_GNU]: Likewise.
5644 * signal/signal.h: Update #endif comments.
5645 [__USE_MISC]: Remove redundant conditionals.
5646 * stdlib/stdlib.h: Update #else and #endif comments.
5647 [__USE_MISC]: Remove redundant conditionals.
5648 [__USE_GNU]: Likewise.
5649 * string/bits/string2.h [__USE_MISC]: Likewise.
5650 * string/string.h: Update #endif comments.
5651 [__USE_MISC]: Remove redundant conditionals.
5652 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5653 Likewise.
5654 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5655 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5656 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5657 Likewise.
5658 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5659 Likewise.
5660 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5661 comments.
5662 [__USE_MISC]: Remove redundant conditionals.
5663 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5664 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5665 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5666 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5667 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5668 Likewise.
5669 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5670 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5671 Likewise.
5672 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5673 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5674 Likewise.
5675 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5676 Likewise.
5677 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5678 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5679 Likewise.
5680 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5681 Likewise.
5682 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5683 * sysdeps/x86/bits/string.h: Update #endif comments.
5684 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5685 conditionals.
5686 * time/sys/time.h: Update #endif comments.
5687 * time/time.h: Likewise.
5688 [__USE_MISC]: Remove redundant conditionals.
5689
a5d82e4e
YG
56902014-02-21 Yury Gribov <y.gribov@samsung.com>
5691
5692 [BZ #16600]
5693 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5694
9a80491d
AS
56952014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5696
5697 * Versions.def (librt): Add GLIBC_2.17.
5698
105fa381
AC
56992014-02-21 Adam Conrad <adconrad@0c3.net>
5700
5701 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5702 synonym for _SYS_AUXV_H to allow direct inclusion.
5703 * sysdeps/sparc/bits/hwcap.h: Likewise.
5704 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5705 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5706 * sysdeps/sparc/sysdep.h: Likewise.
5707
b8cd1c4e
SP
57082014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5709
5710 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5711
bd939d23
RS
57122014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5713
5714 * benchtests/bench-strrchr.c: Print length instead of position.
5715
5d7b57ca
JM
57162014-02-20 Joseph Myers <joseph@codesourcery.com>
5717
bc688c10
JM
5718 [BZ #16611]
5719 * sysdeps/unix/sysv/linux/kernel-features.h
5720 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5721 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5722 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5723 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5724 Likewise.
5725 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5726 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5727 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5728 (__ASSUME_SENDMMSG): Define instead of using previous
5729 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5730 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5731 (__ASSUME_SENDMMSG_SYSCALL): Define.
5732 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5733 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5734 Likewise.
5735 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5736 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5737 Likewise.
5738 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5739 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5740 Likewise.
5741 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5742 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5743 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5744 [__ASSUME_SENDMMSG]: Change conditionals to
5745 [__ASSUME_SENDMMSG_SOCKETCALL].
5746 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5747 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5748 Define.
5749 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5750 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5751 Likewise.
5752 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5753 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5754 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5755 [!__ASSUME_SENDMMSG]: Change conditional to
5756 [!__ASSUME_SENDMMSG_SOCKETCALL].
5757 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5758 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5759 Define.
5760
0e31b18c
JM
5761 [BZ #16610]
5762 * sysdeps/unix/sysv/linux/kernel-features.h
5763 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5764 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5765 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5766 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5767 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5768 [__i386__ || __sparc__]
5769 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5770 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5771 (__ASSUME_RECVMMSG): Define instead of using previous
5772 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5773 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5774 (__ASSUME_RECVMMSG_SYSCALL): Define.
5775 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5776 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5777 Likewise.
5778 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5779 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5780 Likewise.
5781 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5782 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5783 Likewise.
5784 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5785 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5786 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5787 [__ASSUME_RECVMMSG]: Change condition to
5788 [__ASSUME_RECVMMSG_SOCKETCALL].
5789 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5790 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5791 Define.
5792 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5793 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5794 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5795 Likewise.
5796 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5797 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5798 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5799 [!__ASSUME_RECVMMSG]: Change condition to
5800 [!__ASSUME_RECVMMSG_SOCKETCALL].
5801 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5802 (__ASSUME_RECVMMSG_SYSCALL): Define.
5803
dd481ccf
JM
5804 [BZ #16609]
5805 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5806 __powerpc__ || __s390__ || __sh__ || __sparc__]
5807 (__ASSUME_SOCKETCALL): Define.
5808 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5809 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5810 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5811 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5812 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5813 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5814 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5815 (__ASSUME_ACCEPT4): Define instead of using previous
5816 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5817 __powerpc__ || __sparc__ || __s390__)] condition.
5818 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5819 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5820 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5821 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5822 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5823 [!__ASSUME_ACCEPT4]: Change condition to
5824 [!__ASSUME_ACCEPT4_SOCKETCALL].
5825 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5826 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5827 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5828 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5829 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5830 __ASSUME_ACCEPT4_SYSCALL.
5831 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5832 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5833 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5834 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5835 __ASSUME_ACCEPT4_SYSCALL.
5836 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5837 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5838 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5839 [__ASSUME_ACCEPT4]: Change condition to
5840 [__ASSUME_ACCEPT4_SOCKETCALL].
5841 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5842 (__ASSUME_SOCKETCALL): Define.
5843 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5844 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5845 (__ASSUME_SOCKETCALL): Define.
5846 (__ASSUME_ACCEPT4): Remove.
5847 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5848 Define.
5849 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5850 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5851 Likewise.
5852 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5853 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5854
5d7b57ca
JM
5855 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5856 macro.
5857 (HWCAP_ARM_LPAE): Likewise.
5858 (HWCAP_ARM_EVTSTRM): Likewise.
5859 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5860 Add vpfd32, lpae and evtstrm.
5861 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5862 Increase to 22.
5863
63689d61
JM
58642014-02-19 Joseph Myers <joseph@codesourcery.com>
5865
5866 * math/auto-libm-test-in: Add tests of clog10.
5867 * math/auto-libm-test-out: Regenerated.
5868 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5869 * sysdeps/i386/fpu/libm-test-ulps: Update.
5870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5871
ab09bf61
AS
58722014-02-18 Andreas Schwab <schwab@suse.de>
5873
5874 [BZ #16574]
5875 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5876 Store non-zero if the second buffer was newly allocated.
5877 (send_dg): Likewise.
5878 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5879 to send_vc and send_dg.
5880 (res_nsend): Pass NULL for ansp2_malloced.
5881 * resolv/res_query.c (__libc_res_nquery): Add parameter
5882 answerp2_malloced and pass it down to __libc_res_nsend.
5883 (res_nquery): Pass additional NULL to __libc_res_nquery.
5884 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5885 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5886 second answer buffer if answerp2_malloced was set.
5887 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5888 (__libc_res_nquerydomain): Add parameter
5889 answerp2_malloced and pass it down to __libc_res_nquery.
5890 (res_nquerydomain): Pass additional NULL to
5891 __libc_res_nquerydomain.
5892 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5893 additional NULL to __libc_res_nsend and __libc_res_nquery.
5894 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5895 additional NULL to __libc_res_nsearch.
5896 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5897 parameter of __libc_res_nsearch to check for separately allocated
5898 second buffer.
5899 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5900 __libc_res_nquery.
5901 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5902 additional NULL to __libc_res_nquery.
5903 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5904 __libc_res_nsearch.
5905 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5906 * include/resolv.h: Update prototypes of __libc_res_nquery,
5907 __libc_res_nsearch, __libc_res_nsend.
5908
a4fb7861
JM
59092014-02-18 Joseph Myers <joseph@codesourcery.com>
5910
c6af2d89
JM
5911 * math/auto-libm-test-in: Add tests of fma.
5912 * math/auto-libm-test-out: Regenerated.
5913 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5914 (fma_towardzero_test_data): Likewise.
5915 (fma_downward_test_data): Likewise.
5916 (fma_upward_test_data): Likewise.
5917 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5918 mpc_mode.
5919 (rounding_modes): Add values for new field.
5920 (func_calc_method): Add value mpfr_fff_f.
5921 (func_calc_desc): Add mpfr_fff_f union field.
5922 (test_function): Add field exact_args.
5923 (FUNC): Add macro argument EXACT_ARGS.
5924 (FUNC_mpfr_f_f): Update call to FUNC.
5925 (FUNC_mpfr_f_f): Likewise.
5926 (FUNC_mpfr_ff_f): Likewise.
5927 (FUNC_mpfr_if_f): Likewise.
5928 (FUNC_mpc_c_f): Likewise.
5929 (FUNC_mpc_c_c): Likewise.
5930 (test_functions): Add fma. Update calls to FUNC.
5931 (handle_input_arg): Add argument exact_args.
5932 (add_test): Update call to handle_input_arg.
5933 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5934 (output_for_one_input_case): Update call to calc_generic_results.
5935 Recalculate exact zero results in each rounding mode.
5936
a4fb7861
JM
5937 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5938 non-negative before setting low bit.
5939 * math/auto-libm-test-in: Mark one asin test possibly having
5940 spurious underflow.
5941 * math/auto-libm-test-out: Regenerated.
5942 * sysdeps/i386/fpu/libm-test-ulps: Update.
5943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5944
ef114eaf
DH
59452014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5946
2b7f4f2c
SP
5947 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5948 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5949 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
5950 * README: Add missing listing for microblaze*-*-linux-gnu.
5951
c70a4b1d
MF
59522014-02-16 Mike Frysinger <vapier@gentoo.org>
5953
5954 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5955 * sysdeps/unix/sysv/linux/ia64: Move directory from
5956 ports/sysdeps/unix/sysv/linux/ia64.
5957 * README: Update listing for ia64-*-linux-gnu.
5958
591aeaf7
TD
59592014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5960 Joseph Myers <joseph@codesourcery.com>
5961
5962 * Makeconfig (test-name): New variable.
5963 (evaluate-test): Likewise.
5964 * Makerules (do-test-clean): Remove .test-result files.
5965 (common-mostlyclean): Likewise.
5966 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5967 * scripts/evaluate-test.sh: New file.
5968
6e89caf1
JM
59692014-02-14 Joseph Myers <joseph@codesourcery.com>
5970
7f98f180
JM
5971 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5972 separate $(objpfx)tst-fopenloc-cmp.out and
5973 $(objpfx)tst-fopenloc-mem.out targets.
5974 (tests): Update dependencies.
5975 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5976 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5977 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5978 (tst-rxspencer-no-utf8-ARGS): New variable.
5979 (tst-rxspencer-no-utf8-ENV): Likewise.
5980 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5981 instead of $(objpfx)tst-rxspencer-mem.
5982 ($(objpfx)tst-rxspencer-mem): Change target to
5983 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
5984 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5985 * posix/tst-rxspencer-no-utf8.c: New file.
5986
6e89caf1
JM
5987 * elf/Makefile ($(objpfx)order.out): Remove rule.
5988 [$(run-built-tests) = yes] (tests): Depend on
5989 $(objpfx)order-cmp.out.
5990 ($(objpfx)order-cmp.out): New rule.
5991 [$(run-built-tests) = yes] (tests): Depend on
5992 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5993 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5994 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5995 $(objpfx)tst-array5-static-cmp.out.
5996 ($(objpfx)tst-array1.out): Remove rule.
5997 ($(objpfx)tst-array1-cmp.out): New rule.
5998 ($(objpfx)tst-array1-static.out): Remove rule.
5999 ($(objpfx)tst-array1-static-cmp.out): New rule.
6000 ($(objpfx)tst-array2.out): Remove rule.
6001 ($(objpfx)tst-array2-cmp.out): New rule.
6002 ($(objpfx)tst-array3.out): Remove rule.
6003 ($(objpfx)tst-array3-cmp.out): New rule.
6004 ($(objpfx)tst-array4.out): Remove rule.
6005 ($(objpfx)tst-array4-cmp.out): New rule.
6006 ($(objpfx)tst-array5.out): Remove rule.
6007 ($(objpfx)tst-array5-cmp.out): New rule.
6008 ($(objpfx)tst-array5-static.out): Remove rule.
6009 ($(objpfx)tst-array5-static-cmp.out): New rule.
6010 [$(run-built-tests) = yes] (tests): Depend on
6011 $(objpfx)order2-cmp.out.
6012 ($(objpfx)order2.out): Remove rule.
6013 ($(objpfx)order2-cmp.out): New rule.
6014 ($(objpfx)tst-initorder.out): Remove rule.
6015 [$(run-built-tests) = yes] (tests): Depend on
6016 $(objpfx)tst-initorder-cmp.out.
6017 ($(objpfx)tst-initorder-cmp.out): New rule.
6018 ($(objpfx)tst-initorder2.out): Remove rule.
6019 [$(run-built-tests) = yes] (tests): Depend on
6020 $(objpfx)tst-initorder2-cmp.out.
6021 ($(objpfx)tst-initorder2-cmp.out): New rule.
6022 [$(run-built-tests) = yes] (tests): Depend on
6023 $(objpfx)tst-unused-dep-cmp.out.
6024 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6025 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6026 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6027 on $(objpfx)tst-setvbuf1-cmp.out.
6028 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6029 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6030 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6031 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6032 ($(objpfx)tst-svc.out): Remove rule.
6033 ($(objpfx)tst-svc-cmp.out): New rule.
6034
ed9a38e2
JM
60352014-02-13 Joseph Myers <joseph@codesourcery.com>
6036
6037 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6038 * ctype/ctype.h [__USE_MISC]: Likewise.
6039 * dirent/dirent.h [__USE_MISC]: Likewise.
6040 * grp/grp.h [__USE_MISC]: Likewise.
6041 * io/fcntl.h [__USE_MISC]: Likewise.
6042 * io/sys/stat.h [__USE_MISC]: Likewise.
6043 * libio/stdio.h [__USE_MISC]: Likewise.
6044 * posix/unistd.h [__USE_MISC]: Likewise.
6045 * pwd/pwd.h [__USE_MISC]: Likewise.
6046 * stdlib.h [__USE_MISC]: Likewise.
6047 * string/bits/string2.h [__USE_MISC]: Likewise.
6048 * string/string.h [__USE_MISC]: Likewise.
6049 * time/time.h [__USE_MISC]: Likewise.
6050
d6680619
AS
60512014-02-13 Andreas Schwab <schwab@suse.de>
6052
6053 [BZ #16574]
6054 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6055 second answer buffer if it was separately allocated.
6056
ace614b8
JM
60572014-02-12 Joseph Myers <joseph@codesourcery.com>
6058
743151ae
JM
6059 * sysdeps/mips/math-tests.h: Include <features.h>.
6060 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6061 (ROUNDING_TESTS_long_double): Do not define.
6062 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6063 (EXCEPTION_TESTS_long_double): Likewise.
6064 * sysdeps/mips/mips64/libm-test-ulps: Update.
6065
498afc54
JM
6066 * include/features.h (__USE_BSD): Remove macro definitions.
6067 (__USE_SVID): Likewise.
6068 (_BSD_SOURCE): Likewise.
6069 (_SVID_SOURCE): Likewise.
6070 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6071 from definition of _DEFAULT_SOURCE.
6072 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6073 [_DEFAULT_SOURCE].
6074 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6075 * bits/mman.h [__USE_BSD]: Likewise.
6076 * bits/termios.h [__USE_BSD]: Likewise.
6077 * bits/waitstatus.h [__USE_BSD]: Likewise.
6078 * ctype/ctype.h [__USE_SVID]: Likewise.
6079 * dirent/dirent.h [__USE_BSD]: Likewise.
6080 * grp/grp.h [__USE_SVID]: Likewise.
6081 [__USE_BSD]: Likewise.
6082 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6083 * io/fcntl.h [__USE_BSD]: Likewise.
6084 * io/ftw.h [__USE_BSD]: Likewise.
6085 * io/sys/stat.h [__USE_BSD]: Likewise.
6086 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6087 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6088 * libio/stdio.h [__USE_SVID]: Likewise.
6089 [__USE_BSD]: Likewise.
6090 * math/math.h [__USE_SVID]: Likewise.
6091 [__USE_BSD]: Likewise.
6092 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6093 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6094 * misc/search.h [__USE_SVID]: Likewise.
6095 * misc/sys/mman.h [__USE_BSD]: Likewise.
6096 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6097 * misc/sys/uio.h [__USE_BSD]: Likewise.
6098 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6099 * posix/glob.h [__USE_BSD]: Likewise.
6100 * posix/regex.h [__USE_BSD]: Likewise.
6101 * posix/sys/types.h [__USE_BSD]: Likewise.
6102 [__USE_SVID]: Likewise.
6103 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6104 * posix/sys/wait.h [__USE_BSD]: Likewise.
6105 [__USE_SVID]: Likewise.
6106 * posix/unistd.h [__USE_BSD]: Likewise.
6107 [__USE_SVID]: Likewise.
6108 * pwd/pwd.h [__USE_SVID]: Likewise.
6109 * resolv/netdb.h [__USE_BSD]: Likewise.
6110 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6111 * signal/signal.h [__USE_BSD]: Likewise.
6112 [__USE_SVID]: Likewise.
6113 * socket/sys/socket.h [__USE_BSD]: Likewise.
6114 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6115 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6116 [__USE_SVID]: Likewise.
6117 * string/bits/string2.h [__USE_BSD]: Likewise.
6118 [__USE_SVID]: Likewise.
6119 * string/bits/string3.h [__USE_BSD]: Likewise.
6120 * string/endian.h [__USE_BSD]: Likewise.
6121 * string/string.h [__USE_SVID]: Likewise.
6122 [__USE_BSD]: Likewise.
6123 * string/strings.h [__USE_BSD]: Likewise.
6124 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6125 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6126 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6127 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6128 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6129 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6130 Likewise.
6131 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6132 Likewise.
6133 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6134 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6135 Likewise.
6136 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6137 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6138 Likewise.
6139 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6140 Likewise.
6141 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6142 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6143 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6144 Likewise.
6145 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6146 Likewise.
6147 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6148 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6149 * termios/termios.h [__USE_BSD]: Likewise.
6150 * time/sys/time.h [__USE_BSD]: Likewise.
6151 * time/time.h [__USE_BSD]: Likewise.
6152 [__USE_SVID]: Likewise.
6153
dd7b064c
JM
6154 * Makefile (subdir_targets): Remove subdir_lint.out.
6155
a2c4c199
JM
6156 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6157 (do-tst-printf): Likewise.
6158 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6159 $(objpfx)tst-printf.out.
6160
8756f740
JM
6161 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6162
1b6dd3f1
JM
6163 * Makerules (check-abi-%): Change target to
6164 $(objpfx)check-abi-%.out.
6165 (check-abi target): Update dependencies.
6166 (check-abi-pattern variable): Redirect output of diff to $@.
6167 (check-abi variable): Likewise.
6168 * elf/Makefile (check-abi): Update dependencies.
6169
ace614b8
JM
6170 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6171 unused.
6172 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6173 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6174 subnormal range.
6175 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6176 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6177 value has largest subnormal exponent.
6178 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6179 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6180 * sysdeps/aarch64/soft-fp/sfp-machine.h
6181 (_FP_TININESS_AFTER_ROUNDING): New macro.
6182 * sysdeps/alpha/soft-fp/sfp-machine.h
6183 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6184 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6185 Likewise.
6186 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6187 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6188 * sysdeps/mips/soft-fp/sfp-machine.h
6189 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6190 * sysdeps/powerpc/soft-fp/sfp-machine.h
6191 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6192 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6193 Likewise.
6194 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6195 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6196 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6197 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6198 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6199 Likewise.
6200
fbfdf9cb
DAS
62012014-02-12 Dylan Alex Simon <dylan@dylex.net>
6202
6203 [BZ #16545]
6204 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6205 model 1.
6206
68b7efaa
RH
62072014-02-12 Richard Henderson <rth@redhat.com>
6208
c70a4b1d 6209 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
6210 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6211 * sysdeps/unix/sysv/linux/alpha: Move directory from
6212 ports/sysdeps/unix/sysv/linux/alpha.
6213 * README: Update listing for alpha-*-linux-gnu.
6214
cb4a2928
JM
62152014-02-11 Joseph Myers <joseph@codesourcery.com>
6216
c941736c
JM
6217 * include/features.h: Update comment documenting feature test
6218 macros.
6219 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6220 _DEFAULT_SOURCE.
6221 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6222 (_SVID_SOURCE): Likewise.
6223 (_DEFAULT_SOURCE): Update description of default features.
6224 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6225 with _GNU_SOURCE.
6226 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6227 (S_ISVTX): Likewise.
6228 * manual/math.texi (Mathematical Constants): Likewise.
6229 * manual/signal.texi (Interrupted Primitives): Likewise.
6230 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6231 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6232 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6233 Don't refer to _SVID_SOURCE in warning text.
6234
e8d8d7ec
JM
6235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6236
cb4a2928
JM
6237 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6238 already defined.
6239 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6240 * sysdeps/mips/dl-lookup.c: Remove.
6241 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6242
7e6424e3
AK
62432014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6244
6245 [BZ #16447]
6246 * math/auto-libm-test-in: Add testcase for expl.
6247 * math/auto-libm-test-out: Regenerate.
6248 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6249 calculation of unsafe.
6250 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6251
75eff3fe
MS
62522014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6253
6254 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6255 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6256 ports/sysdeps/unix/sysv/linux/aarch64.
6257 * README: Update listing for aarch64*-*-linux-gnu.
6258
d35f1e80
WN
62592014-02-11 Will Newton <will.newton@linaro.org>
6260
6261 * manual/probes.texi (Mathematical Function Probes): Use
6262 "triggered" instead of "hit".
6263
7b3436d4
WN
6264 * manual/probes.texi (Internal Probes): Add documentation
6265 of setjmp, longjmp and longjmp_target probes.
6266
b4f12ca3
WN
6267 * include/stap-probe.h: Add comment about probe argument
6268 format.
6269
c13a72b7
WN
6270 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6271 definition. (tr_where, tr_freehook, tr_mallochook,
6272 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6273
195b8165
DM
62742014-02-11 David S. Miller <davem@davemloft.net>
6275
6276 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6277 processing int_tests.
6278
2ad7600b
JM
62792014-02-10 Joseph Myers <joseph@codesourcery.com>
6280
6281 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6282 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6283 * sysdeps/unix/sysv/linux/mips: Move directory from
6284 ports/sysdeps/unix/sysv/linux/mips.
6285 * README: Update listing for mips-*-linux-gnu and
6286 mips64-*-linux-gnu.
6287
73588a72
AS
62882014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6289
6290 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6291 * sysdeps/unix/sysv/linux/m68k: Move directory from
6292 ports/sysdeps/unix/sysv/linux/m68k.
6293 * README: Update listing for m68k-*-linux-gnu.
6294
4372980f
CM
62952014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6296
6297 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6298 * sysdeps/unix/sysv/linux/generic: Move directory from
6299 ports/sysdeps/unix/sysv/linux/generic.
6300 * sysdeps/unix/sysv/linux/tile: Move directory from
6301 ports/sysdeps/unix/sysv/linux/tile.
6302 * README: Update listing for tile*-*-linux-gnu.
6303
a1ffb40e
OB
63042014-02-10 Ondřej Bílka <neleai@seznam.cz>
6305
57f41c40
AS
6306 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6307 __builtin_expect.
a1ffb40e
OB
6308 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6309 * catgets/open_catalog.c (__open_catalog): Likewise.
6310 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6311 * debug/confstr_chk.c: Likewise.
6312 * debug/fread_chk.c (__fread_chk): Likewise.
6313 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6314 * debug/getgroups_chk.c: Likewise.
6315 * debug/mbsnrtowcs_chk.c: Likewise.
6316 * debug/mbsrtowcs_chk.c: Likewise.
6317 * debug/mbstowcs_chk.c: Likewise.
6318 * debug/memcpy_chk.c: Likewise.
6319 * debug/memmove_chk.c: Likewise.
6320 * debug/mempcpy_chk.c: Likewise.
6321 * debug/memset_chk.c: Likewise.
6322 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6323 * debug/strcat_chk.c (__strcat_chk): Likewise.
6324 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6325 * debug/strncat_chk.c (__strncat_chk): Likewise.
6326 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6327 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6328 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6329 * debug/wcpncpy_chk.c: Likewise.
6330 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6331 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6332 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6333 * debug/wcsncpy_chk.c: Likewise.
6334 * debug/wcsnrtombs_chk.c: Likewise.
6335 * debug/wcsrtombs_chk.c: Likewise.
6336 * debug/wcstombs_chk.c: Likewise.
6337 * debug/wmemcpy_chk.c: Likewise.
6338 * debug/wmemmove_chk.c: Likewise.
6339 * debug/wmempcpy_chk.c: Likewise.
6340 * debug/wmemset_chk.c: Likewise.
6341 * dirent/scandirat.c (SCANDIRAT): Likewise.
6342 * dlfcn/dladdr1.c (dladdr1): Likewise.
6343 * dlfcn/dladdr.c (dladdr): Likewise.
6344 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6345 * dlfcn/dlerror.c (__dlerror): Likewise.
6346 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6347 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6348 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6349 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6350 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6351 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6352 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6353 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6354 Likewise.
6355 * elf/dl-conflict.c: Likewise.
6356 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6357 * elf/dl-dst.h: Likewise.
6358 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6359 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6360 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6361 * elf/dl-init.c (call_init, _dl_init): Likewise.
6362 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
6363 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6364 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6365 Likewise.
a1ffb40e
OB
6366 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6367 Likewise.
6368 * elf/dl-minimal.c (__libc_memalign): Likewise.
6369 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6370 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6371 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6372 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
6373 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6374 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
6375 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6376 * elf/dl-writev.h (_dl_writev): Likewise.
6377 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
6378 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6379 (dl_main): Likewise.
a1ffb40e
OB
6380 * elf/setup-vdso.h (setup_vdso): Likewise.
6381 * grp/compat-initgroups.c (compat_call): Likewise.
6382 * grp/fgetgrent.c (fgetgrent): Likewise.
6383 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6384 * grp/putgrent.c (putgrent): Likewise.
6385 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6386 Likewise.
6387 * hurd/hurdinit.c: Likewise.
6388 * iconvdata/8bit-gap.c (struct): Likewise.
6389 * iconvdata/ansi_x3.110.c : Likewise.
6390 * iconvdata/big5.c : Likewise.
6391 * iconvdata/big5hkscs.c : Likewise.
6392 * iconvdata/cp1255.c: Likewise.
6393 * iconvdata/cp1258.c : Likewise.
6394 * iconvdata/cp932.c : Likewise.
6395 * iconvdata/euc-cn.c: Likewise.
6396 * iconvdata/euc-jisx0213.c : Likewise.
6397 * iconvdata/euc-jp.c: Likewise.
6398 * iconvdata/euc-jp-ms.c : Likewise.
6399 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6400 * iconvdata/gb18030.c : Likewise.
6401 * iconvdata/gbbig5.c (const): Likewise.
6402 * iconvdata/gbgbk.c: Likewise.
6403 * iconvdata/gbk.c : Likewise.
6404 * iconvdata/ibm1364.c : Likewise.
6405 * iconvdata/ibm930.c : Likewise.
6406 * iconvdata/ibm932.c: Likewise.
6407 * iconvdata/ibm933.c : Likewise.
6408 * iconvdata/ibm935.c : Likewise.
6409 * iconvdata/ibm937.c : Likewise.
6410 * iconvdata/ibm939.c : Likewise.
6411 * iconvdata/ibm943.c: Likewise.
6412 * iconvdata/iso_11548-1.c: Likewise.
6413 * iconvdata/iso-2022-cn.c : Likewise.
6414 * iconvdata/iso-2022-cn-ext.c : Likewise.
6415 * iconvdata/iso-2022-jp-3.c: Likewise.
6416 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6417 * iconvdata/iso-2022-kr.c : Likewise.
6418 * iconvdata/iso646.c (gconv_end): Likewise.
6419 * iconvdata/iso_6937-2.c : Likewise.
6420 * iconvdata/iso_6937.c : Likewise.
6421 * iconvdata/iso8859-1.c: Likewise.
6422 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6423 * iconvdata/shift_jisx0213.c : Likewise.
6424 * iconvdata/sjis.c : Likewise.
6425 * iconvdata/t.61.c : Likewise.
6426 * iconvdata/tcvn5712-1.c : Likewise.
6427 * iconvdata/tscii.c: Likewise.
6428 * iconvdata/uhc.c : Likewise.
6429 * iconvdata/unicode.c (gconv_end): Likewise.
6430 * iconvdata/utf-16.c (gconv_end): Likewise.
6431 * iconvdata/utf-32.c (gconv_end): Likewise.
6432 * iconvdata/utf-7.c (base64): Likewise.
6433 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6434 * iconv/gconv_close.c (__gconv_close): Likewise.
6435 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
6436 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6437 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6438 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6439 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6440 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
6441 * iconv/iconv.c (iconv): Likewise.
6442 * iconv/iconv_close.c: Likewise.
6443 * iconv/loop.c (SINGLE): Likewise.
6444 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6445 * include/atomic.h: Likewise.
6446 * inet/inet6_option.c (option_alloc): Likewise.
6447 * intl/bindtextdom.c (set_binding_values): Likewise.
6448 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6449 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6450 * intl/localealias.c (read_alias_file): Likewise.
6451 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
6452 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6453 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
6454 * libio/fmemopen.c (fmemopen): Likewise.
6455 * libio/iofgets.c (_IO_fgets): Likewise.
6456 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6457 * libio/iofgetws.c (fgetws): Likewise.
6458 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6459 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
6460 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6461 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
6462 * locale/findlocale.c (_nl_find_locale): Likewise.
6463 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6464 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6465 Likewise.
6466 * locale/setlocale.c (setlocale): Likewise.
6467 * login/programs/pt_chown.c (main): Likewise.
6468 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6469 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
6470 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6471 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
6472 * math/e_exp2l.c: Likewise.
6473 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6474 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6475 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6476 * math/s_catan.c (__catan): Likewise.
6477 * math/s_catanf.c (__catanf): Likewise.
6478 * math/s_catanh.c (__catanh): Likewise.
6479 * math/s_catanhf.c (__catanhf): Likewise.
6480 * math/s_catanhl.c (__catanhl): Likewise.
6481 * math/s_catanl.c (__catanl): Likewise.
6482 * math/s_ccosh.c (__ccosh): Likewise.
6483 * math/s_ccoshf.c (__ccoshf): Likewise.
6484 * math/s_ccoshl.c (__ccoshl): Likewise.
6485 * math/s_cexp.c (__cexp): Likewise.
6486 * math/s_cexpf.c (__cexpf): Likewise.
6487 * math/s_cexpl.c (__cexpl): Likewise.
6488 * math/s_clog10.c (__clog10): Likewise.
6489 * math/s_clog10f.c (__clog10f): Likewise.
6490 * math/s_clog10l.c (__clog10l): Likewise.
6491 * math/s_clog.c (__clog): Likewise.
6492 * math/s_clogf.c (__clogf): Likewise.
6493 * math/s_clogl.c (__clogl): Likewise.
6494 * math/s_csin.c (__csin): Likewise.
6495 * math/s_csinf.c (__csinf): Likewise.
6496 * math/s_csinh.c (__csinh): Likewise.
6497 * math/s_csinhf.c (__csinhf): Likewise.
6498 * math/s_csinhl.c (__csinhl): Likewise.
6499 * math/s_csinl.c (__csinl): Likewise.
6500 * math/s_csqrt.c (__csqrt): Likewise.
6501 * math/s_csqrtf.c (__csqrtf): Likewise.
6502 * math/s_csqrtl.c (__csqrtl): Likewise.
6503 * math/s_ctan.c (__ctan): Likewise.
6504 * math/s_ctanf.c (__ctanf): Likewise.
6505 * math/s_ctanh.c (__ctanh): Likewise.
6506 * math/s_ctanhf.c (__ctanhf): Likewise.
6507 * math/s_ctanhl.c (__ctanhl): Likewise.
6508 * math/s_ctanl.c (__ctanl): Likewise.
6509 * math/w_pow.c: Likewise.
6510 * math/w_powf.c: Likewise.
6511 * math/w_powl.c: Likewise.
6512 * math/w_scalb.c (sysv_scalb): Likewise.
6513 * math/w_scalbf.c (sysv_scalbf): Likewise.
6514 * math/w_scalbl.c (sysv_scalbl): Likewise.
6515 * misc/error.c (error_tail): Likewise.
6516 * misc/pselect.c (__pselect): Likewise.
6517 * nis/nis_callback.c (__nis_create_callback): Likewise.
6518 * nis/nis_call.c (__nisfind_server): Likewise.
6519 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6520 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6521 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6522 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6523 * nis/nis_lookup.c (nis_lookup): Likewise.
6524 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
6525 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6526 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 6527 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
6528 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6529 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6530 * nis/nss_compat/compat-initgroups.c (add_group)
6531 (internal_getgrent_r): Likewise.
6532 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6533 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6534 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6535 (internal_getspnam_r): Likewise.
6536 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6537 (_nss_nis_getaliasbyname_r): Likewise.
6538 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6539 (_nss_nis_getntohost_r): Likewise.
6540 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6541 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6542 (_nss_nis_getgrgid_r): Likewise.
6543 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6544 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6545 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6546 (_nss_nis_gethostbyname4_r): Likewise.
6547 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6548 (initgroups_netid): Likewise.
a1ffb40e 6549 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
6550 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6551 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6552 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6553 (_nss_nis_getprotobynumber_r): Likewise.
6554 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6555 (_nss_nis_getsecretkey): Likewise.
6556 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6557 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6558 (_nss_nis_getpwuid_r): Likewise.
6559 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6560 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6561 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6562 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6563 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6564 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
6565 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6566 Likewise.
57f41c40
AS
6567 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6568 (_nss_nisplus_getntohost_r): Likewise.
6569 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6570 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6571 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6572 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 6573 Likewise.
57f41c40
AS
6574 * nis/nss_nisplus/nisplus-initgroups.c
6575 (_nss_nisplus_initgroups_dyn): Likewise.
6576 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6577 (_nss_nisplus_getnetbyaddr_r): Likewise.
6578 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6579 (_nss_nisplus_getprotobynumber_r): Likewise.
6580 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6581 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
6582 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6583 Likewise.
57f41c40
AS
6584 * nis/nss_nisplus/nisplus-service.c
6585 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6586 (_nss_nisplus_getservbyport_r): Likewise.
6587 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6588 (_nss_nisplus_getspnam_r): Likewise.
6589 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6590 Likewise.
a1ffb40e
OB
6591 * nscd/aicache.c (addhstaiX): Likewise.
6592 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
6593 * nscd/connections.c (register_traced_file, send_ro_fd)
6594 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6595 (main_loop_epoll): Likewise.
a1ffb40e
OB
6596 * nscd/grpcache.c (addgrbyX): Likewise.
6597 * nscd/hstcache.c (addhstbyX): Likewise.
6598 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6599 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
6600 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6601 (addinnetgrX): Likewise.
6602 * nscd/nscd-client.h (__nscd_acquire_maplock)
6603 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
6604 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6605 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6606 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6607 Likewise.
6608 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6609 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
6610 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6611 (__nscd_get_map_ref): Likewise.
a1ffb40e 6612 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
6613 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6614 Likewise.
a1ffb40e
OB
6615 * nscd/pwdcache.c (addpwbyX): Likewise.
6616 * nscd/selinux.c (preserve_capabilities): Likewise.
6617 * nscd/servicescache.c (addservbyX): Likewise.
6618 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6619 * posix/fnmatch.c (fnmatch): Likewise.
6620 * posix/getopt.c (_getopt_internal_r): Likewise.
6621 * posix/glob.c (glob, glob_in_dir): Likewise.
6622 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
6623 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6624 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
6625 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6626 * resolv/res_init.c: Likewise.
6627 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6628 * resolv/res_query.c (__libc_res_nquery): Likewise.
6629 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6630 Likewise.
6631 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6632 * stdio-common/perror.c (perror): Likewise.
6633 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6634 * stdio-common/tmpnam.c (tmpnam): Likewise.
6635 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6636 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
6637 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6638 Likewise.
a1ffb40e
OB
6639 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6640 * stdlib/putenv.c (putenv): Likewise.
6641 * stdlib/setenv.c (__add_to_environ): Likewise.
6642 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6643 * stdlib/strtol_l.c (INTERNAL): Likewise.
6644 * string/memmem.c (memmem): Likewise.
6645 * string/strerror.c (strerror): Likewise.
6646 * string/strnlen.c (__strnlen): Likewise.
6647 * string/test-memmem.c (simple_memmem): Likewise.
6648 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6649 * sunrpc/pm_getport.c (__get_socket): Likewise.
6650 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6651 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
6652 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6653 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
6654 Likewise.
6655 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6656 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6657 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6658 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6659 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
6660 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6661 Likewise.
6662 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6663 Likewise.
a1ffb40e
OB
6664 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6665 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6666 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6667 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6668 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6669 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6670 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6671 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6672 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6673 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6674 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6675 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6676 Likewise.
6677 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6678 Likewise.
6679 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6680 Likewise.
6681 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6682 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6683 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6684 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6685 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6686 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6687 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6688 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6689 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6690 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6691 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6692 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6693 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6694 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6695 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
6696 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6697 Likewise.
a1ffb40e
OB
6698 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6699 Likewise.
6700 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6701 Likewise.
6702 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6703 Likewise.
6704 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6705 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6706 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6707 Likewise.
6708 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6709 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6710 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6711 * sysdeps/posix/sleep.c: Likewise.
6712 * sysdeps/posix/tempname.c: Likewise.
6713 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6714 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6715 Likewise.
57f41c40
AS
6716 * sysdeps/powerpc/powerpc32/dl-machine.h
6717 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
6718 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6719 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6720 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6721 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6722 Likewise.
6723 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6724 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6725 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6726 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6727 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6728 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6729 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6730 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6731 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6732 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6733 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6734 (elf_machine_lazy_rel): Likewise.
a1ffb40e 6735 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6736 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6737 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6738 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6739 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6740 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6741 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6742 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6743 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6744 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6745 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6746 Likewise.
6747 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6748 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6749 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6750 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6751 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6752 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6753 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6754 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6755 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6756 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6757 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6758 Likewise.
6759 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6760 (__posix_fallocate64_l64): Likewise.
6761 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6762 (posix_fallocate): Likewise.
57f41c40
AS
6763 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6764 Likewise.
a1ffb40e 6765 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
6766 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6767 (getifaddrs_internal): Likewise.
a1ffb40e
OB
6768 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6769 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6770 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6771 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6772 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6773 (__posix_fallocate64_l64): Likewise.
6774 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6775 Likewise.
6776 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
6777 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6778 (__get_clockfreq): Likewise.
a1ffb40e
OB
6779 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6780 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6781 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6782 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6783 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6784 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6785 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6786 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6787 Likewise.
6788 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6789 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6790 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6791 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6792 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6793 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6794 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6795 Likewise.
6796 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6797 (posix_fallocate): Likewise.
6798 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6799 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6800 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6801 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6802 (elf_machine_rela, elf_machine_rela_relative)
6803 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6804 * time/asctime.c (asctime_internal): Likewise.
6805 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6806 * time/tzset.c (__tzset_parse_tz): Likewise.
6807 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6808 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6809 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6810 * wcsmbs/wcsmbsload.h: Likewise.
6811
f3d338c9
OB
6812 [BZ #15894]
6813 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6814
57f41c40
AS
6815 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6816 (arena_get2): Remove THREAD_STATS conditionals.
6817 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6818 (__malloc_stats, int): Likewise.
bdfe308a 6819
d674667c
MF
68202014-02-08 Mike Frysinger <vapier@gentoo.org>
6821
6822 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6823 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6824
6349768c
MF
6825 * manual/setjmp.texi: Fix typos/grammar errors.
6826
0b7c7473
MF
6827 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6828 Only return early when n is <= 0. Delete unused return statement.
6829
ac8cc9e3
MF
6830 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6831 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6832 * debug/tst-longjmp_chk3.c: New file.
6833
c5bb8e23
MF
6834 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6835 (test_main): Replace code with set_fortify_handler call.
6836 * debug/test-strcpy_chk.c: Likewise.
6837 * debug/tst-chk1.c: Likewise.
6838 * debug/tst-longjmp_chk.c: Likewise.
6839 * test-skeleton.c: Include fcntl.h & paths.h
6840 (set_fortify_handler): Define.
6841
10444e42
MF
6842 * debug/tst-longjmp_chk.c: Add header comment and include
6843 ../test-skeleton.c.
6844 (do_test): Mark static.
6845 (TEST_FUNCTION): Define.
6846
1e805e8d
MF
6847 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6848 (IP_PMTUDISC_INTERFACE): Likewise.
6849 (IP_MULTICAST_IF): Likewise.
6850 (IP_MULTICAST_TTL): Likewise.
6851 (IP_MULTICAST_LOOP): Likewise.
6852 (IP_ADD_MEMBERSHIP): Likewise.
6853 (IP_DROP_MEMBERSHIP): Likewise.
6854 (IP_UNBLOCK_SOURCE): Likewise.
6855 (IP_BLOCK_SOURCE): Likewise.
6856 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6857 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6858 (IP_MSFILTER): Likewise.
6859 (MCAST_JOIN_GROUP): Likewise.
6860 (MCAST_BLOCK_SOURCE): Likewise.
6861 (MCAST_UNBLOCK_SOURCE): Likewise.
6862 (MCAST_LEAVE_GROUP): Likewise.
6863 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6864 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6865 (MCAST_MSFILTER): Likewise.
6866 (IP_MULTICAST_ALL): Likewise.
6867 (IP_UNICAST_IF): Likewise.
6868
73f79bb7
MF
6869 * timezone/Makefile: Delete $(have-ksh) check.
6870 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6871 * timezone/tzselect.ksh: Add +x mode bits.
6872
8da79b60
MF
6873 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6874 (ANON_INODE_FS_MAGIC): Likewise.
6875 (BDEVFS_MAGIC): Likewise.
6876 (BINFMTFS_MAGIC): Likewise.
6877 (BTRFS_TEST_MAGIC): Likewise.
6878 (CRAMFS_MAGIC_WEND): Likewise.
6879 (DEBUGFS_MAGIC): Likewise.
6880 (ECRYPTFS_SUPER_MAGIC): Likewise.
6881 (EXT3_SUPER_MAGIC): Likewise.
6882 (EXT4_SUPER_MAGIC): Likewise.
6883 (FUTEXFS_SUPER_MAGIC): Likewise.
6884 (HOSTFS_SUPER_MAGIC): Likewise.
6885 (HUGETLBFS_MAGIC): Likewise.
6886 (MINIX3_SUPER_MAGIC): Likewise.
6887 (MTD_INODE_FS_MAGIC): Likewise.
6888 (NILFS_SUPER_MAGIC): Likewise.
6889 (OPENPROM_SUPER_MAGIC): Likewise.
6890 (PIPEFS_MAGIC): Likewise.
6891 (PSTOREFS_MAGIC): Likewise.
6892 (QNX6_SUPER_MAGIC): Likewise.
6893 (RAMFS_MAGIC): Likewise.
6894 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6895 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6896 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6897 (SECURITYFS_MAGIC): Likewise.
6898 (SELINUX_MAGIC): Likewise.
6899 (SMACK_MAGIC): Likewise.
6900 (SOCKFS_MAGIC): Likewise.
6901 (SQUASHFS_MAGIC): Likewise.
6902 (STACK_END_MAGIC): Likewise.
6903 (TMPFS_MAGIC): Likewise.
6904 (USBDEVICE_SUPER_MAGIC): Likewise.
6905 (V9FS_MAGIC): Likewise.
6906 (XENFS_SUPER_MAGIC): Likewise.
6907 (CRAMFS_MAGIC): Fix typo in comment.
6908 (EXT2_SUPER_MAGIC): Update comment.
6909 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6910
464263cc
JM
69112014-02-08 Joseph Myers <joseph@codesourcery.com>
6912
c6bfe5c4
JM
6913 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6914 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6915 * sysdeps/unix/sysv/linux/arm: Move directory from
6916 ports/sysdeps/unix/sysv/linux/arm.
6917 * README: Update listing for arm-*-linux-gnueabi.
6918
464263cc
JM
6919 * README: Remove mention of am33.
6920
32749f6c
RM
69212014-02-07 Roland McGrath <roland@hack.frob.com>
6922
6923 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6924 than the comma operator, to avoid "rhs of comma has no effect"
6925 compiler warnings.
6926 (__sigfillset, __sigandset, __sigorset): Likewise.
6927 * include/signal.h (__sigemptyset): Likewise.
6928 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6929
d5b396c1
AM
69302014-02-07 Allan McRae <allan@archlinux.org>
6931
6932 * version.h (RELEASE): Set to "development".
6933 (VERSION): Set to "2.19.90"
6934 * NEWS: Add 2.20 section.
6935
3bfff2ed
CD
69362014-02-06 Carlos O'Donell <carlos@redhat.com>
6937
6938 [BZ #16529]
6939 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6940
ee7cc385
SP
69412014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6942
6943 * manual/contrib.texi: Update entry for Carlos O'Donell,
6944 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6945
f877c4f2
CD
69462014-02-05 Carlos O'Donell <carlos@rehdat.com>
6947
27e839f6
CD
6948 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6949
f877c4f2
CD
6950 * sysdeps/unix/sysv/linux/kernel-features.h
6951 [__LINUX_KERNEL_VERSION >= 0x020621]
6952 (__ASSUME_PROC_PID_TASK_COMM): Define.
6953
68159946
SP
69542014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6955
ba17cdbd
SP
6956 [BZ #16398]
6957 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6958 conversion when destination buffer does not have enough space.
6959 * libio/tst-ftell-partial-wide.c: New test case.
6960 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6961
68159946
SP
6962 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6963 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6964 Leonard and Allan McRae.
6965
2b528732
DM
69662014-02-04 David S. Miller <davem@davemloft.net>
6967
6968 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6969 32-bit.
6970
0ff82463
AZ
69712014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6972
57f41c40
AS
6973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6974 New file
c01603f7
AZ
6975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6976 New file
57f41c40
AS
6977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6978 New file.
6979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6980 New file.
c01603f7
AZ
6981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6982 New file.
57f41c40
AS
6983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6984 New file.
6985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6986 New file.
c01603f7
AZ
6987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6988 New file.
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6990 New file.
6991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6992 New file.
6993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6994 New file.
6995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6996 New file.
6997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6998 New file.
6999
70002014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7001
0ff82463
AZ
7002 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7003 * shlib-versions: Likewise.
7004
1695c773
AZ
70052014-02-04 Roland McGrath <roland@hack.frob.com>
7006 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7007
7008 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7009 (abilist-pattern): New variable, set to %-le.abilist.
7010
7011 * Makerules (abilist-pattern): New variable.
7012 (vpath): Use $(abilist-pattern) in place of %.abilist.
7013 (check-abi-% pattern rule): Likewise.
7014 (check-abi, update-abi): Likewise.
7015
6c0ce4b4
EW
70162014-02-04 Eric Wong <normalperson@yhbt.net>
7017
7018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7019
481e3524
CD
70202014-02-03 Carlos O'Donell <carlos@redhat.com>
7021
7022 * manual/startup.texi: Add next, previous, and top entries for
7023 the `Program Arguments' and `Environment Variables' nodes.
7024
375592d3
AO
70252014-02-03 Alexandre Oliva <aoliva@redhat.com>
7026
7027 * manual/macros.texi: Add comments before MTASC-safety macros.
7028
f54838ba
AO
7029 * manual/users.texi: Document MTASC-safety properties.
7030
57f41c40
AS
7031 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7032 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
7033 @deftypefun, and add @safety note.
7034 * manual/signal.texi: Move comments that analyze the above
7035 functions to their home place.
7036
fd3daba4
AM
70372014-02-03 Allan McRae <allan@archlinux.org>
7038
7039 * po/sl.po: Update Slovenian translation from translation project.
7040
597636d7
AO
70412014-02-02 Alexandre Oliva <aoliva@redhat.com>
7042
7043 * manual/time.texi (timegm): Add missing blank after @c.
7044 Reported by Joseph Myers <joseph@codesourcery.com>.
7045
ee196e3c
AO
70462014-02-01 Alexandre Oliva <aoliva@redhat.com>
7047
7048 * manual/check-safety.sh: New.
7049 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7050
f8d529d5
AO
7051 * manual/terminal.texi: Document MTASC-safety properties.
7052
de55fdf4
AO
7053 * manual/filesys.texi: Document MTASC-safety properties.
7054
c3299c08
AO
7055 * manual/errno.texi: Document MTASC-safety properties.
7056
06e90b14
AO
7057 * manual/intro.texi: Document safety identifiers and
7058 conditionals.
7059
1acd4371
AO
7060 * manual/string.texi (wcstok): Fix prototype.
7061 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7062
23e5b8cb
AO
7063 * manual/time.texi: Document MTASC-safety properties.
7064
11087373
AO
7065 * manual/string.texi: Document MTASC-safety properties.
7066
5da2c93d
AO
7067 * manual/threads.texi: Document MTASC-safety properties.
7068
171e9210
AO
7069 * manual/stdio.texi: Document MTASC-safety properties.
7070
d9e02532
AO
7071 * manual/syslog.texi: Document MTASC-safety properties.
7072
6af8bab7
AO
7073 * manual/sysinfo.texi: Document MTASC-safety properties.
7074
663b02d7
AO
7075 * manual/startup.texi: Document MTASC-safety properties.
7076
973f180b
AO
7077 * manual/socket.texi: Document MTASC-safety properties.
7078
8f3c25c8
AO
7079 * manual/signal.texi: Document MTASC-safety properties.
7080
542210fb
AO
70812014-01-31 Alexandre Oliva <aoliva@redhat.com>
7082
7083 * manual/setjmp.texi: Document MTASC-safety properties.
7084
433c45a2
AO
7085 * manual/search.texi: Document MTASC-safety properties.
7086
c8ce789c
AO
7087 * manual/resource.texi: Document MTASC-safety properties.
7088
19f5d29c
AO
7089 * manual/process.texi: Document MTASC-safety properties.
7090
e2dfb7f4
AO
7091 * manual/platform.texi: Document MTASC-safety properties.
7092
8c1413f5
AO
7093 * manual/pipe.texi: Document MTASC-safety properties.
7094
03483ada
AO
7095 * manual/pattern.texi: Document MTASC-safety properties.
7096
29e7e2df
AO
7097 * manual/message.texi: Document MTASC-safety properties.
7098
9f529d7c
AO
7099 [BZ #12751]
7100 * manual/memory.texi: Document MTASC-safety properties.
7101
27aaa791
AO
7102 * manual/math.texi: Document MTASC-safety properties.
7103
f2d58726
AO
7104 * manual/locale.texi: Document MTASC-safety properties.
7105
2cc3615c
AO
7106 * manual/llio.texi: Document MTASC-safety properties.
7107
d9f0ec97
AO
7108 * manual/libdl.texi: New.
7109
e7c4409a
AO
7110 * manual/lang.texi: Document MTASC-safety properties.
7111
27bdc63c
AO
7112 * manual/job.texi: Document MTASC-safety properties.
7113
a7b90ea9
AO
7114 * manual/getopt.texi: Document MTASC-safety properties.
7115
c49130e3
AO
7116 * manual/ctype.texi: Document MTASC-safety properties.
7117
0d23a5c1
MR
71182014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7119
7120 [BZ #16046]
7121 * csu/libc-tls.c (static_map): Remove variable.
7122 (__libc_setup_tls): Use main executable's link map for TLS data.
7123 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7124 casing for LM_ID_BASE and GL(dl_nns).
7125 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7126 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7127 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7128 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7129 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7130 member.
7131 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7132 l_phnum members.
7133
0037bb60
AO
71342014-01-30 Alexandre Oliva <aoliva@redhat.com>
7135
7136 * manual/debug.texi: Document MTASC-safety properties.
7137
409e00bd
L
71382014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7139
7140 [BZ #16510]
7141 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7142 of __x86_64__ when disabling x87 inline functions.
7143
86e60666
AO
71442014-01-29 Alexandre Oliva <aoliva@redhat.com>
7145
7146 * manual/charset.texi: Document MTASC-safety properties.
7147
76167637
AO
7148 * manual/crypt.texi: Document MTASC-safety properties.
7149
e567f2a0
AO
7150 * manual/conf.texi: Document MTASC-safety properties.
7151
b719dafd
AO
7152 * manual/arith.texi: Document MTASC-safety properties.
7153
4a16c662
AO
7154 * manual/argp.texi: Document MTASC-safety properties.
7155
0a57b83e
AO
7156 * manual/macros.texi: Introduce macros to document multi
7157 thread, asynchronous signal and asynchronous cancellation
7158 safety properties.
7159 * manual/intro.texi: Introduce the properties themselves.
7160
feab2397
KK
71612014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7162
7163 * sysdeps/sh/sh4/Makefile: New file.
7164
1c0d11bc
AS
71652014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7166
7167 * math/gen-libm-test.pl ($srcdir): New variable.
7168 ($auto_input): Use it.
7169
af37a8a3
SP
71702014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7171
d7b00f98
SP
7172 [BZ #16506]
7173 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7174 access beyond array bounds when parsing netgroups file.
7175
af37a8a3
SP
7176 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7177 the old buffer before realloc.
7178
0c00f062
AM
71792014-01-27 Allan McRae <allan@archlinux.org>
7180
7181 * po/fr.po: Update French translation from translation project.
7182
7d69a1b0
KK
71832014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7184
7185 * sysdeps/sh/libm-test-ulps: Regenerate.
7186
6e697ff7
DM
71872014-01-24 David S. Miller <davem@davemloft.net>
7188
7189 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7190
9cadb35c
KK
71912014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7192
7193 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7194 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7195
5d41dadf
SP
71962013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7197
7198 [BZ #16474]
7199 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7200 string pointers after reallocation.
7201
0bad441c
KK
72022014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7203
7204 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7205 __SH4A__ instead of __SH_FPU_ANY__.
7206
7007c661
KK
72072014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7208
7209 * sysdeps/sh/fpu_control.h: New file.
7210 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7211 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7212 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7213 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7214 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7215 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7216 * sysdeps/sh/sys/ucontext.h: Remove.
7217 * sysdeps/sh/sys: Remove directory.
7218
0f0c35e4
AK
72192014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7220
7221 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7222 s390/sys/ucontext.h.
7223 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7224 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7225
4959e284
L
72262014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7227
7228 [BZ #15605]
7229 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7230
d98720e0
AZ
72312014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7232
7233 [BZ#16431]
7234 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7235 Adjust the vDSO correctly for internal calls.
7236 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7237
91cbd0bc
AM
72382014-01-20 Allan McRae <allan@archlinux.org>
7239
7240 * po/ca.po: Update Catalan translation from translation project.
7241
7a02cfad
MF
72422014-01-16 Mike Frysinger <vapier@gentoo.org>
7243
7244 * sysdeps/s390/sotruss-lib.c: New file.
7245
736c304a
AZ
72462014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7247
7248 [BZ#16430]
6e077ee5 7249 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
7250 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7251 local calls issues by not having a PLT stub required for IFUNC calls.
7252 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7253
94d0cea0
JM
72542014-01-16 Joseph Myers <joseph@codesourcery.com>
7255
7256 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7257 * math/test-fpucw-static.c: Likewise.
7258
980cb518
SP
72592013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7260
7261 [BZ #16453]
7262 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7263
2393fc01
AZ
72642014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7265
7266 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7267 implementation for powerpc.
7268
d359bcc2
OB
72692014-01-15 Ondřej Bílka <neleai@seznam.cz>
7270
7271 [BZ #14782]
7272 * sysdeps/posix/system.c (__libc_system): Do not enable
7273 asynchronous cancellation.
7274
7beb48cb
AK
72752014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7276
7277 [BZ #16427]
7278 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7279 handling only for numbers special also in the IEEE case.
7280
c20d5bf5
AK
72812014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7282
7283 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7284
e83bd4ee
AM
72852014-01-11 Allan McRae <allan@archlinux.org>
7286
76d0ea69
AM
7287 * po/bg.po: Update Bulgarian translation from translation project.
7288
e83bd4ee
AM
7289 * po/de.po: Update German translation from translation project.
7290
bc2ba20a
RM
72912014-01-10 Roland McGrath <roland@hack.frob.com>
7292
7293 * sysdeps/generic/gcc-compat.h: New file.
7294
649ecea2
SP
72952014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7296
7297 * benchtests/asin-inputs: Correct slow inputs.
7298 * benchtests/acos-inputs: Likewise.
7299
1b19c006
AM
73002014-01-10 Allan McRae <allan@archlinux.org>
7301
a46dab08
AM
7302 * po:sv.po: Update Swedish translation from translation project.
7303
421df74a
AM
7304 * po/vi.po: Update Vietnamese translation from translation project.
7305
d61c51a7
AM
7306 * po/eo.po: Update Esperanto translation from translation project.
7307
0339a319
AM
7308 * po/cs.po: Update Czech translation from translation project.
7309
94ad3e99
AM
7310 * po/nl.po: Update Dutch translation from translation project.
7311
e349ca71
AM
7312 * po/pl.po: Update Polish translation from translation project.
7313
ddf930c1
AM
7314 * po/ru.po: Update Russian translation from translation project.
7315
1b19c006
AM
7316 * po/uk.po: Update Ukrainian translation from translation project.
7317
9f236c49
BM
73182014-01-08 Brooks Moses <bmoses@google.com>
7319
7320 * elf/dl-load.c: Fix comment typo.
7321
cd6701cf
CD
73222014-01-08 Carlos O'Donell <carlos@redhat.com>
7323
7324 * po/header.pot: Rename to...
7325 * po/pot.header: ... this.
7326 * po/Makefile: Use pot.header.
7327
66671c84
YK
73282014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7329 Maxim Kuvyrkov <maxim@kugelworks.com>
7330
7331 [BZ #16394]
cd6701cf
CD
7332 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7333 SRC and DEST against LEN.
66671c84 7334
38f34581
AZ
73352014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7336
7337 [BZ #16414]
7338 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7339 implementation.
7340 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7341
73422014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
7343
7344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7345
4c327f2a
JM
73462014-01-08 Joseph Myers <joseph@codesourcery.com>
7347
7348 [BZ #16408]
7349 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7350 for large positive arguments.
7351
b821f414
JM
73522014-01-07 Joseph Myers <joseph@codesourcery.com>
7353
1f0f2067
JM
7354 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7355
a5a326f6
JM
7356 * math/auto-libm-test-in: Mark various tests with
7357 xfail-rounding:ldbl-128ibm.
7358 * math/auto-libm-test-out: Regenerated.
7359
b821f414
JM
7360 [BZ #16407]
7361 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7362 Increase overflow threshold.
7363
94c8a4bc
OB
73642014-01-07 Ondřej Bílka <neleai@seznam.cz>
7365
7366 [BZ #14286]
7367 * stdio-common/vfprintf.c: Check for integer overflow.
7368
87ded0c3
AK
73692014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7370
7371 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7372 the first argument and return value of __tls_get_addr_internal.
7373
c5eebdd0
AK
73742014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7375
7376 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7377 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7378
05d138ef
AK
73792014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7380
7381 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7382 * sysdeps/s390/rtld-global-offsets.sym: New file.
7383 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7384 GLIBC_2.19 symbol.
7385 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7386 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7387 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7388 ... this.
7389 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7390 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7391 ... this.
7392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7393 Regenerate.
7394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7395 Regenerate.
7396 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7397 halfs of GPRs for high_gprs contexts.
7398 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7399 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7400 field.
7401 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7402 uc_flags field.
7403 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7404 64 bit versions:
7405 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7406 for high GPRs (uc_high_gprs) and for future extensions
7407 (__reserved).
7408 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7409 for future extensions (__reserved).
7410 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7411 64 bit versions:
7412 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7413 SC_HIGHGPRS offset definition.
7414 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7415 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7416
93a45ff1
AK
7417 * Versions.def: Add GLIBC_2.19 for libpthread.
7418 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7419 siglongjmp for libpthread with GLIBC_2.19 symver.
7420 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7421 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7422 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7423 * sysdeps/s390/__longjmp.c: New file.
7424 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7425 * sysdeps/s390/longjmp.c: New file.
7426 * sysdeps/s390/setjmp.S: New file.
7427 * sysdeps/s390/sigjmp.S: New file.
7428 * sysdeps/s390/v1-longjmp.c: New file.
7429 * sysdeps/s390/v1-setjmp.h: New file.
7430 * sysdeps/s390/v1-sigjmp.c: New file.
7431 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7432 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7433 GLIBC_2.19 version.
7434 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7435 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7436 versioned symbols for ____longjmp_chk.
7437 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7438 Likewise.
7439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7440 Regenerate.
7441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7442 Regenerate.
7443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7444 Regenerate.
7445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7446 Regenerate.
7447 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7448 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7449 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7450 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7451 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7452 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7453 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7454 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7455 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7456 * sysdeps/s390/rtld-__longjmp.c: New file.
7457 * sysdeps/s390/rtld-setjmp.S: New file.
7458
eb3fc44b
JM
74592014-01-06 Joseph Myers <joseph@codesourcery.com>
7460
7461 [BZ #16400]
7462 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7463 Return -__logl (x) for small positive arguments without evaluating
7464 a polynomial.
7465
9341dde4
MF
74662014-01-06 Mike Frysinger <vapier@gentoo.org>
7467
7468 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7469 Rename to ...
7470 (__ptrace_peeksiginfo_args): ... this.
7471 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7472 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7473 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7474
4cff0293
AM
74752014-01-06 Allan McRae <allan@archlinux.org>
7476
7477 * inet/netinet/in.h: Fix typo in comment.
7478
75595dcf
AJ
74792014-01-05 Andreas Jaeger <aj@suse.de>
7480
7481 * sysdeps/i386/fpu/libm-test-ulps: Update.
7482
79c1e109
AM
74832014-01-05 Allan McRae <allan@archlinux.org>
7484
dd804818
AM
7485 * po/libc.pot: Regenerated.
7486
79c1e109
AM
7487 * malloc/memusagestat.c: Fix gettext call formatting.
7488
0c813d1f
SK
74892014-01-04 Sami Kerola <kerolasa@iki.fi>
7490
7491 * nscd/nscd.c: Improve usage() output.
7492
20f4a8d9
MF
74932014-01-04 Mike Frysinger <vapier@gentoo.org>
7494
7495 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7496 * sysdeps/unix/sysv/linux/configure: Regenerated.
7497 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7498 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7499
22562bb2
JM
75002014-01-03 Joseph Myers <joseph@codesourcery.com>
7501
7502 [BZ #16390]
7503 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7504 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7505
d7ad2d9b
AZ
75062014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7507
7508 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7509 extra tokens at end of #undef directive.
7510 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7511 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7512 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7513
7dd009d8
JM
75142014-01-03 Joseph Myers <joseph@codesourcery.com>
7515
24db925a
JM
7516 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7517
7dd009d8
JM
7518 * math/auto-libm-test-in: Mark various tests with
7519 xfail-rounding:ldbl-128ibm.
7520 * math/auto-libm-test-out: Regenerated.
7521
396e3ecf
JM
75222014-01-02 Joseph Myers <joseph@codesourcery.com>
7523
819e5d50
JM
7524 [BZ #16386]
7525 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7526 numbers with subnormal high part when calculating exponent.
7527
90b6a1e5
JM
7528 [BZ #16385]
7529 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7530 fabs.
7531
396e3ecf
JM
7532 [BZ #16384]
7533 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7534 M_LN2l.
7535 (__ieee754_acoshl): Use __log1pl not __log1p.
7536
6c8dbf00
OB
75372013-01-02 Ondřej Bílka <neleai@seznam.cz>
7538
57f41c40
AS
7539 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7540 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7541 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7542 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7543 (reused_arena, arena_get2): Convert to GNU style.
7544 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7545 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7546 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 7547 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
7548 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7549 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7550 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7551 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7552 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7553 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 7554 * malloc/malloc.h: Likewise.
57f41c40
AS
7555 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7556 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 7557 * malloc/mcheck.h: Likewise.
57f41c40
AS
7558 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7559 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
7560 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7561 * malloc/morecore.c (__default_morecore): Likewise.
7562 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
7563 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7564 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7565 (print_and_abort): Likewise.
6c8dbf00
OB
7566 * malloc/obstack.h: Likewise.
7567 * malloc/set-freeres.c (__libc_freeres): Likewise.
7568 * malloc/tst-mallocstate.c (main): Likewise.
7569 * malloc/tst-mtrace.c (main): Likewise.
7570 * malloc/tst-realloc.c (do_test): Likewise.
7571
d4124212
SP
75722013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7573
9a3c6a6f
SP
7574 [BZ #16366]
7575 * nscd/netgroupcache.c (do_notfound): New function.
7576 (addgetnetgrentX): Use it.
7577
d4124212
SP
7578 [BZ # 16365]
7579 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7580 NSS_STATUS_NOTFOUND.
7581
97b9a009
JM
75822014-01-01 Joseph Myers <joseph@codesourcery.com>
7583
7584 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7586
d4697bc9
AM
75872014-01-01 Allan McRae <allan@archlinux.org>
7588
ddb3687f
AM
7589 * scripts/update-copyrights: Update configure input file suffix.
7590
88726d48
AM
7591 * NEWS: Update copyright year.
7592 * catgets/gencat.c: Likewise.
7593 * csu/version.c: Likewise.
7594 * debug/catchsegv.sh: Likewise.
7595 * debug/pcprofiledump.c: Likewise.
7596 * debug/xtrace.sh: Likewise.
7597 * elf/ldconfig.c: Likewise.
7598 * elf/ldd.bash.in: Likewise.
7599 * elf/pldd.c: Likewise.
7600 * elf/sotruss.ksh: Likewise.
7601 * elf/sprof.c: Likewise.
7602 * iconv/iconv_prog.c: Likewise.
7603 * iconv/iconvconfig.c: Likewise.
7604 * locale/programs/locale.c: Likewise.
7605 * locale/programs/localedef.c: Likewise.
7606 * login/programs/pt_chown.c: Likewise.
7607 * malloc/memusage.sh: Likewise.
7608 * malloc/memusagestat.c: Likewise.
7609 * malloc/mtrace.pl: Likewise.
7610 * manual/libc.texinfo: Likewise.
7611 * nscd/nscd.c: Likewise.
7612 * nss/getent.c: Likewise.
7613 * nss/makedb.c: Likewise.
7614 * posix/getconf.c: Likewise.
7615 * scripts/test-installation.pl: Likewise.
7616
d4697bc9
AM
7617 * All files with FSF copyright notices: Update copyright dates
7618 using scripts/update-copyrights.
7619 * intl/plural.c: Regenerated.
7620 * locale/programs/charmap-kw.h: Likewise.
7621 * locale/programs/locfile-kw.h: Likewise.
7622
c8590f9d
MF
76232013-12-31 Mike Frysinger <vapier@gentoo.org>
7624
7625 * sysdeps/unix/sysv/linux/configure: Regenerated.
7626 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7627 the linux/fanotify.h header.
7628 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7629 HAVE_LINUX_FANOTIFY_H is defined.
7630
b19221b9
SP
76312013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7632
dd1d85e5
SP
7633 * benchtests/cos-inputs: New inputs.
7634 * benchtests/sin-inputs: Likewise.
7635
1acbb90f
SP
7636 * benchtests/atan-inputs: New inputs. Fix name of multiple
7637 precision fallback inputs.
7638
4c012ed3
SP
7639 * benchtests/atanh-inputs: New inputs.
7640 * benchtests/tanh-inputs: Likewise.
7641
eff98324
SP
7642 * benchtests/acosh-inputs: New inputs.
7643 * benchtests/asinh-inputs: Likewise.
7644
ce641152
SP
7645 * benchtests/cosh-inputs: New inputs.
7646 * benchtests/sinh-inputs: Likewise.
7647
b19221b9
SP
7648 * benchtests/acos-inputs: Add more inputs.
7649 * benchtests/asin-inputs: Likewise.
7650
030a4976 76512013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 7652
030a4976 7653 [BZ #16375]
9dcc8f11
VS
7654 * manual/arith.texi: Fix spelling.
7655 * manual/charset.texi: Likewise.
7656 * manual/errno.texi: Likewise.
7657 * manual/filesys.texi: Likewise.
7658 * manual/lang.texi: Likewise.
7659 * manual/llio.texi: Likewise.
7660 * manual/locale.texi: Likewise.
7661 * manual/message.texi: Likewise.
7662 * manual/resource.texi: Likewise.
7663 * manual/search.texi: Likewise.
7664 * manual/setjmp.texi: Likewise.
7665 * manual/stdio.texi: Likewise.
7666 * manual/string.texi: Likewise.
7667 * manual/sysinfo.texi: Likewise.
7668 * manual/time.texi: Likewise.
7669
11520a57
CD
76702013-12-27 Carlos O'Donell <carlos@redhat.com>
7671
7672 * po/sl.po: New file.
7673
471103ae
MF
76742013-12-27 Mike Frysinger <vapier@gentoo.org>
7675
7676 * .gitignore: Add core/.gdbinit/.gdb_history.
7677
6c9642ed
AM
76782013-12-27 Allan McRae <allan@archlinux.org>
7679
7680 [BZ #16369]
7681 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7682 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7683
3f637079
BM
76842013-12-24 Brooks Moses <bmoses@google.com>
7685
7686 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7687 all compilers that claim C++98 compliance, not just GCC.
7688 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7689 Likewise.
7690
abc26e99
MK
76912013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7692
7693 * NEWS: Restore accidentally deleted bug-fix entries.
7694
362b47fe
MK
76952013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7696 Ondřej Bílka <neleai@seznam.cz>
7697
7698 [BZ #15073]
7699 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 7700 have_lock.
362b47fe 7701
b9bcbbcb
OB
77022013-12-23 Ondřej Bílka <neleai@seznam.cz>
7703
7704 [BZ #12986]
7705 * manual/stdio.texi (String Input Conversions): Clarify that character
7706 classes are not supported.
7707
fb55fcd2
AZ
77082013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7709
7710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7711
ef7344f0
JM
77122013-12-22 Joseph Myers <joseph@codesourcery.com>
7713
4f40e4b3
JM
7714 [BZ #16337]
7715 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7716 Calculate results for small negative arguments directly rather
7717 than using reflection formula with special underflow handling.
7718
ef7344f0
JM
7719 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7720 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7721 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7722 (fchflags): Likewise.
7723 (revoke): Likewise.
7724 (setlogin): Likewise.
7725 (sigaltstack): Likewise.
7726 (wait4): Likewise.
7727 (sigblock): Remove.
7728 (sigsetmask): Likewise.
7729 (wait3): Likewise.
7730 (waitpid): Likewise.
7731 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7732 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7733 file.
7734 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7735 * sysdeps/unix/bsd/Makefile: ... here.
7736 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7737 * sysdeps/unix/bsd/Versions: ... here.
7738 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7739 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7740 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7741 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7742 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7743 * sysdeps/unix/bsd/sigblock.c: ... here.
7744 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7745 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7746 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7747 * sysdeps/unix/bsd/sigvec.c: ... here.
7748 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7749 * sysdeps/unix/bsd/tcdrain.c: ... here.
7750 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7751 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7752 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7753 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7754 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7755 * sysdeps/unix/bsd/wait.c: ... here.
7756 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7757 * sysdeps/unix/bsd/wait3.c: ... here.
7758 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7759 * sysdeps/unix/bsd/waitpid.c: ... here.
7760
5b0626b9
JM
77612013-12-21 Joseph Myers <joseph@codesourcery.com>
7762
7763 [BZ #16356]
7764 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7765 round-to-nearest for [!USE_AS_EXPM1L].
7766 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7767 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7768 more tests of exp and exp10. Expect some exp10 tests to miss
7769 exceptions or fail in directed rounding modes.
7770 * math/auto-libm-test-out: Regenerated.
7771 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7772 (exp10_test_tonearest): New function.
7773 (exp10_towardzero_test_data): New array.
7774 (exp10_test_towardzero): New function.
7775 (exp10_downward_test_data): New array.
7776 (exp10_test_downward): New function.
7777 (exp10_upward_test_data): New array.
7778 (exp10_test_upward): New function.
7779 (main): Call the new functions.
7780 * sysdeps/i386/fpu/libm-test-ulps: Update.
7781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7782
7fda5682
JM
77832013-12-20 Joseph Myers <joseph@codesourcery.com>
7784
31e3a405
JM
7785 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7786 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7787 * math/auto-libm-test-out: Regenerated.
7788 * math/libm-test.inc (acosh_test_data): Add more tests.
7789 (atanh_test_data): Likewise.
7790 (ceil_test_data): Likewise.
7791 (copysign_test_data): Likewise.
7792 * sysdeps/i386/fpu/libm-test-ulps: Update.
7793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7794
85bff96a
JM
7795 * timezone/checktab.awk: Update from tzcode 2013i.
7796 * timezone/private.h: Likewise.
7797 * timezone/scheck.c: Likewise.
7798 * timezone/tzfile.h: Likewise.
7799 * timezone/tzselect.ksh: Likewise.
7800 * timezone/zdump.c: Likewise.
7801 * timezone/zic.c: Likewise.
7802
b7867a3b
JM
7803 * math/auto-libm-test-in: Add tests of cpow.
7804 * math/auto-libm-test-out: Regenerated.
7805 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 7806 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
7807 mpc_cc_c.
7808 (func_calc_desc): Add mpc_cc_c union field.
7809 (test_functions): Add cpow.
7810 (special_fill_2pi): New function.
7811 (special_real_inputs): Add 2pi.
7812 (calc_generic_results): Handle mpc_cc_c.
7813 * sysdeps/i386/fpu/libm-test-ulps: Update.
7814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7815
7fda5682
JM
7816 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7817 csqrt, ctan and ctanh.
7818 * math/auto-libm-test-out: Regenerated.
7819 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7820 (TEST_COND_x86): Likewise.
7821 (ccos_test_data): Use AUTO_TESTS_c_c.
7822 (ccosh_test_data): Likewise.
7823 (cexp_test_data): Likewise.
7824 (clog_test_data): Likewise.
7825 (csqrt_test_data): Likewise.
7826 (ctan_test_data): Likewise.
7827 (ctan_tonearest_test_data): Likewise.
7828 (ctan_towardzero_test_data): Likewise.
7829 (ctan_downward_test_data): Likewise.
7830 (ctan_upward_test_data): Likewise.
7831 (ctanh_test_data): Likewise.
7832 (ctanh_tonearest_test_data): Likewise.
7833 (ctanh_towardzero_test_data): Likewise.
7834 (ctanh_downward_test_data): Likewise.
7835 (ctanh_upward_test_data): Likewise.
7836 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7837 mpc_c_c.
7838 (func_calc_desc): Add mpc_c_c union field.
7839 (FUNC_mpc_c_c): New macro.
7840 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7841 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7842 ctanh.
7843 (special_fill_min_subnorm_p120): New function.
7844 (special_real_inputs): Add min_subnorm_p120.
7845 (calc_generic_results): Handle mpc_c_c.
7846 * sysdeps/i386/fpu/libm-test-ulps: Update.
7847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7848
5ff8d60e
SP
78492013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7850
57f41c40
AS
7851 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7852 (do_sin_slow): New functions.
7853 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7854 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 7855
84ba214c
SP
7856 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7857 Use M to change sign of result instead of X. Assume X is
7858 positive.
7859 (csloww1): Likewise.
7860 (__sin): Adjust.
7861 (__cos): Adjust.
7862
975195e4
SP
7863 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7864 arguments A and DA.
7865 (__sin): Adjust.
7866 (__cos): Likewise.
7867
5ff8d60e
SP
7868 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7869 (__cos): Likewise.
7870 (sloww1): Don't adjust sign of DX.
7871 (csloww1): Likewise.
7872 (sloww2): Use X directly and don't adjust sign of DX.
7873 (csloww2): Likewise.
7874
eb983568
JM
78752013-12-19 Joseph Myers <joseph@codesourcery.com>
7876
64a17f1a
JM
7877 * math/auto-libm-test-in: Add tests of cabs and carg.
7878 * math/auto-libm-test-out: Regenerated.
7879 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7880 (carg_test_data): Likewise.
7881 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7882 mpc_c_f.
7883 (func_calc_desc): Add mpc_c_f union field.
7884 (test_functions): Add cabs and carg.
7885 (calc_generic_results): Handle mpc_c_f.
7886
eb983568
JM
7887 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7888 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7889 as a macro and a compat symbol.
7890 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7891 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7892 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7893 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7894 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7895 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7896 not use .hidden.
7897 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7898 Likewise.
7899 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7900 Likewise.
7901 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7902 Likewise.
7903 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7904 Likewise.
7905 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7906 Likewise.
7907 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7908 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7909 from GLIBC_2.3.2.
7910
6eeb678a
AZ
79112013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7912
7913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7914
6f6fc482
JM
79152013-12-19 Joseph Myers <joseph@codesourcery.com>
7916
21fea2e2
JM
7917 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7918 trailing whitespace removed.
7919 * scripts/config.guess: Update to version 2013-11-29.
7920 * scripts/config.sub: Update to version 2013-10-01.
7921
6f6fc482
JM
7922 * math/auto-libm-test-in: Add tests of sincos.
7923 * math/auto-libm-test-out: Regenerated.
7924 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7925 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7926 mpfr_f_11.
7927 (func_calc_desc): Add mpfr_f_11 union field.
7928 (test_functions): Add sincos.
7929 (calc_generic_results): Handle mpfr_f_11.
7930 * sysdeps/i386/fpu/libm-test-ulps: Update.
7931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7932
83f5c32d
AS
79332013-12-19 Andreas Schwab <schwab@suse.de>
7934
7935 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7936 CALL_MCOUNT.
7937 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7938 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7939 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7940
c688b419
JM
79412013-12-19 Joseph Myers <joseph@codesourcery.com>
7942
335ee092
JM
7943 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7944 * sysdeps/i386/fpu/libm-test-ulps: Update.
7945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7946
f88acd39
JM
7947 [BZ #16293]
7948 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7949 round-to-nearest mode when using frndint.
7950 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7951 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7952 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7953 Likewise.
7954 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7955 sinh test to fail.
7956 * math/auto-libm-test-out: Regenerated.
7957 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7958 (TEST_COND_x86): Likewise.
7959 (expm1_tonearest_test_data): New array.
7960 (expm1_test_tonearest): New function.
7961 (expm1_towardzero_test_data): New array.
7962 (expm1_test_towardzero): New function.
7963 (expm1_downward_test_data): New array.
7964 (expm1_test_downward): New function.
7965 (expm1_upward_test_data): New array.
7966 (expm1_test_upward): New function.
7967 (main): Run the new test functions.
7968 * sysdeps/i386/fpu/libm-test-ulps: Update.
7969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7970
c688b419
JM
7971 * include/features.h: Update comment documenting feature test
7972 macros. Mention _DEFAULT_SOURCE in comment.
7973 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7974 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7975 _BSD_SOURCE and _SVID_SOURCE.
7976 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7977 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7978 !_SVID_SOURCE]: Likewise.
7979 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7980 (__USE_POSIX_IMPLICITLY): Define.
7981 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7982 (_POSIX_SOURCE): Undefine and redefine.
7983 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7984 (_POSIX_C_SOURCE): Likewise.
7985 * manual/creature.texi (_DEFAULT_SOURCE): Document.
7986 (Feature Test Macros): Update documentation of default features.
7987
9f6e964c
RS
79882013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7989
7990 * benchtests/Makefile: Add bench-strtok.
7991 * benchtests/bench-strtok.c: New file: strtok benchtest.
7992
ee0a148a
AM
79932013-12-19 Allan McRae <allan@archlinux.org>
7994
7995 * manual/install.texi: Suppress menu for plain text output.
7996 * INSTALL: Regenerated.
7997
b9ab448f
BM
79982013-12-18 Brooks Moses <bmoses@google.com>
7999
8000 [BZ #15846]
8001 * misc/getauxval.c: Include errno.h.
8002 (__getauxval): Set errno to ENOENT if the requested type is not
8003 found.
8004 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8005 don't declare with __attribute_const__.
8006 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8007 * manual/startup.texi: Document that getauxval sets errno.
8008
23776487
JM
80092013-12-18 Joseph Myers <joseph@codesourcery.com>
8010
f889953b
JM
8011 * math/auto-libm-test-in: Add tests of jn and yn.
8012 * math/auto-libm-test-out: Regenerated.
8013 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8014 (yn_test_data): Likewise.
8015 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8016 mpfr_if_f.
8017 (func_calc_desc): Add mpfr_if_f union field.
8018 (FUNC_mpfr_if_f): New macro.
8019 (test_functions): Add jn and yn.
8020 (calc_generic_results): Assert type of second input for
8021 mpfr_ff_f. Handle mpfr_if_f.
8022 (output_for_one_input_case): Disable all checking for arguments
8023 fitting floating-point types in case of an integer argument.
8024 * sysdeps/i386/fpu/libm-test-ulps: Update.
8025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8026
23776487
JM
8027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8028 Don't expect fegetround reference in libm.so.
8029
cb756c6d
MS
80302013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8031
8032 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8033 $(config-cflags-nofma).
8034
2dec468f
JM
80352013-12-18 Joseph Myers <joseph@codesourcery.com>
8036
5953eb3a
JM
8037 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8038 * math/auto-libm-test-out: Regenerated.
8039
2dec468f
JM
8040 [BZ #16338]
8041 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8042 to determine exponent and adjust argument to have exponent of -1.
8043 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8044 log2.
8045 * math/auto-libm-test-out: Regenerated.
8046 * sysdeps/i386/fpu/libm-test-ulps: Update.
8047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8048
4d84e6ad
OB
80492013-12-18 Ondřej Bílka <neleai@seznam.cz>
8050
8051 * manual/probes.texi: Remove cases when per-thread arenas are
8052 disabled.
8053
1818483b
AS
80542013-12-18 Andreas Schwab <schwab@suse.de>
8055
8056 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8057 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8058 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8059 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8060 * sysdeps/i386/i686/multiarch/Makefile: Update.
8061 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8062
25de95bf
JM
80632013-12-17 Joseph Myers <joseph@codesourcery.com>
8064
8065 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8066 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8067
674762d9
PE
80682013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8069
ed27ed83 8070 [BZ #15968]
0748546f
PE
8071 Support TZ transition times < 00:00:00.
8072 This is needed for version-3 tz-format files; it supports time
8073 stamps past 2037 for America/Godthab (the only entry in the tz
8074 database for which this change is relevant).
8075 * manual/time.texi (TZ Variable): Document transition times
8076 from -167:59:59 through -00:00:01.
8077 * time/tzset.c (tz_rule): Time of day is now signed.
8078 (__tzset_parse_tz): Parse negative time of day.
8079
4480e934
PE
8080 Document TZ transition times >= 25:00:00.
8081 * manual/time.texi (TZ Variable): Document transition times from
8082 25:00:00 through 167:59:59. These are already supported, and this
8083 support will help with version-3 tz-format files.
8084
69947401
PE
8085 * manual/time.texi (TZ Variable): Modernize North America example
8086 to reflect current (i.e., 2007-and-later) daylight saving rules.
8087
674762d9
PE
8088 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8089
7011c262
JM
80902013-12-17 Joseph Myers <joseph@codesourcery.com>
8091
2fc6557e
JM
8092 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8093 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8094 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8095 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8096 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8097 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8098 * sysdeps/unix/bsd/clock.c: Likewise.
8099 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8100 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8101 * sysdeps/unix/bsd/init-posix.c: Likewise.
8102 * sysdeps/unix/bsd/poll.c: Likewise.
8103 * sysdeps/unix/bsd/ptsname.c: Likewise.
8104 * sysdeps/unix/bsd/seekdir.c: Likewise.
8105 * sysdeps/unix/bsd/setegid.c: Likewise.
8106 * sysdeps/unix/bsd/seteuid.c: Likewise.
8107 * sysdeps/unix/bsd/setgid.c: Likewise.
8108 * sysdeps/unix/bsd/setrgid.c: Likewise.
8109 * sysdeps/unix/bsd/setruid.c: Likewise.
8110 * sysdeps/unix/bsd/setsid.c: Likewise.
8111 * sysdeps/unix/bsd/setuid.c: Likewise.
8112 * sysdeps/unix/bsd/sigaction.c: Likewise.
8113 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8114 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8115 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8116 * sysdeps/unix/bsd/telldir.c: Likewise.
8117 * sysdeps/unix/bsd/times.c: Likewise.
8118 * sysdeps/unix/bsd/usleep.c: Likewise.
8119
029c7b25
JM
8120 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8121 ($(objpfx)libbsd-compat.a): Remove rule.
8122
7011c262
JM
8123 * include/features.h (__FAVOR_BSD): Do not define.
8124 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8125 features conflicting with POSIX.
8126 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8127 (_BSD_SOURCE): Remove description of not being a subset of other
8128 feature test macros.
8129 * manual/job.texi (getpgrp): Do not document BSD version.
8130 (getpgid): Do not document by reference to BSD getpgrp.
8131 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8132 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8133 * signal/signal.h [__FAVOR_BSD]: Likewise.
8134 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8135 instead of making contents conditional on [__FAVOR_BSD].
8136 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8137
affb6f78
AZ
81382013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8139
8140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8141
c88769dd
JM
81422013-12-17 Joseph Myers <joseph@codesourcery.com>
8143
6432a540
JM
8144 [BZ #16314]
8145 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8146 values below 2**-450, not 2**-500.
8147 * math/auto-libm-test-in: Don't allow spurious underflow from
8148 hypot.
8149 * math/auto-libm-test-out: Regenerated.
8150
c88769dd
JM
8151 [BZ #16316]
8152 [BZ #16330]
8153 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8154 values of ha and hb and sort them after adjusting subnormal
8155 arguments.
8156 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8157 Likewise.
8158 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8159 values of ea and eb and sort them after adjusting subnormal
8160 arguments.
8161 * math/auto-libm-test-in: Do not expect some hypot tests of
8162 subnormals to fail. Add more hypot tests.
8163 * math/auto-libm-test-out: Regenerated.
8164
29618f6b
KK
81652013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8166
8167 [BZ #13304]
8168 * sysdeps/sh/s_fma.c: New file.
8169 * sysdeps/sh/s_fmaf.c: New file.
8170 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8171 version.
8172 * sysdeps/sh/Implies: Add sh/soft-fp.
8173
eacfdfbf
RM
81742013-12-16 Roland McGrath <roland@hack.frob.com>
8175
8176 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8177 level of indirection to members `objname', `errstring', `malloced'.
8178 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8179 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8180 it as the __longjmp argument (just pass 1 instead).
8181 (_dl_catch_error): Initialize C with argument pointers and address of
8182 volatile local ERRCODE rather than copying values out of C at return.
8183
ff362e5b
JM
81842013-12-16 Joseph Myers <joseph@codesourcery.com>
8185
8186 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8187 * math/auto-libm-test-out: Regenerated.
8188 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8189 (hypot_test_data): Likewise.
8190 (pow_test_data): Likewise.
8191 (pow_tonearest_test_data): Likewise.
8192 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8193 mpfr_ff_f.
8194 (func_calc_desc): Add mpfr_ff_f union field.
8195 (FUNC_mpfr_ff_f): New macro.
8196 (test_functions): Add atan2, hypot and pow.
8197 (special_fill_min): New function.
8198 (special_fill_minus_min): Likewise.
8199 (special_fill_min_subnorm): Likewise.
8200 (special_fill_minus_min_subnorm): Likewise.
8201 (special_real_inputs): Add min, -min, min_subnorm and
8202 -min_subnorm.
8203 (calc_generic_results): Handle mpfr_ff_f.
8204 * sysdeps/i386/fpu/libm-test-ulps: Update.
8205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8206
5764c27f
WN
82072013-12-16 Will Newton <will.newton@linaro.org>
8208
8209 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8210 (Aligned Memory Blocks): Add documentation for aligned_alloc
8211 and suggest it as an alternative to posix_memalign.
8212 (Hooks for Malloc): Document __memalign_hook is also called
8213 for aligned_alloc. (Summary of Malloc): Add summary for
8214 aligned alloc. Document __memalign_hook is also called
8215 for aligned_alloc.
8216
0a096e44
WN
82172013-12-16 Will Newton <will.newton@linaro.org>
8218
8219 * manual/memory.texi (Malloc Examples): Clarify default
8220 alignment documentation. Suggest posix_memalign rather
8221 than memalign or valloc.
8222 (Aligned Memory Blocks): Remove suggestion to use memalign
8223 or valloc. Remove obsolete comment about BSD.
8224 Document memalign errno values and mark the function obsolete.
8225 Document posix_memalign returned error codes. Mark valloc
8226 as obsolete. (Hooks for Malloc): __memalign_hook is also
8227 called for posix_memalign and valloc.
8228 (Summary of Malloc): Add posix_memalign to function summary.
8229 __memalign_hook is also called for posix_memalign and valloc.
8230
8d561986
SP
82312013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8232
8233 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8234 TAYLOR_SIN.
8235 (__sin): Adjust.
8236 (__cos): Likewise.
8237 (sloww): Use mynumber union. Expand ternary operator into
8238 if-else statements.
8239 (cslow): use mynumber union.
8240
73616a74
AM
82412013-12-16 Allan McRae <allan@archlinux.org>
8242
9e8ac24b
AM
8243 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8244 * configure: Regenerated.
8245
6f8e37eb
AM
8246 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8247
8894bad3
AM
8248 [BZ #14120]
8249 * configure.ac: Added --enable-maintainer-mode. Check for
8250 autoconf when enabled.
8251 * configure: Regenerated.
8252
73616a74
AM
8253 * nscd/nscd.service: New file.
8254 * nscd/nscd.tmpfiles: New file.
8255
584b18eb
OB
82562013-12-14 Ondřej Bílka <neleai@seznam.cz>
8257
8258 [BZ #12100]
8259 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8260 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8261 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8262 (strstr): Add __strstr_sse2_unaligned ifunc.
8263 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8264 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8265 (strcasestr): Remove __strcasestr_sse42 ifunc.
8266 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8267 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8268 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8269
8a5c7897
KK
82702013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8271
8272 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8273 * sysdeps/sh/bits/fenv.h: ... here.
8274 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8275
fd712ef3
AZ
82762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8277
8278 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8279
42fcb46c
AZ
8280 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8281 hypotf multiarch implementations.
8282 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8283 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8284 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8285 multiarch hypot for PPC64.
8286 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8287 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8288 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8289 multiarch hypotf for PPC64.
8290
83efded4
AZ
8291 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8292 modff multiarch implementations.
8293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8296 multiarch modf for PPC64.
8297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8300 multiarch modff for PPC64.
8301
43e246d2
AZ
8302 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8303 and logl multiarch implementations.
8304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8307 multiarch logb for PPC64.
8308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8311 multiarch logb for PPC64.
8312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8315 multiarch logb for PPC64.
8316
8fdad123
AZ
8317 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8318 isinff multiarch implementation.
8319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8320 file.
8321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8323 multiarch isinf for PPC64.
8324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8325 file.
8326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8327 multiarch isinff for PPC64.
8328
1481d706
AZ
8329 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8330 finitef multiarch implementation.
8331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8332 file.
8333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8335 multiarch finite for PPC64.
8336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8337 file.
8338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8339 multiarch finitef for PPC64.
8340
5ccd5fc8
AZ
8341 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8342 lrint multiarch implementation.
8343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8344 file.
8345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8347 multiarch llrint for PPC64.
8348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8349 multiarch lrint for PPC64.
8350
2568f3fa
AZ
8351 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8352 copysignf multiarch implementation.
8353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8354 file.
8355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8356 file.
8357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8358 multiarch copysign for PPC64.
8359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8360 multiarch copysignf for PPC64.
8361
1cb341fd
AZ
8362 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8363 multiarch implementation.
8364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8365 file.
8366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8367 file.
8368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8369 file.
8370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8371 file.
8372 multiarch llround for PPC64.
8373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8374 multiarch trunc for PPC64.
8375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8376 multiarch truncf for PPC64.
8377
59a3e194
AZ
8378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8379 multiarch implementation.
8380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8381 file.
8382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8383 file.
8384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8385 file.
8386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8387 file.
8388 multiarch llround for PPC64.
8389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8390 multiarch round for PPC64.
8391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8392 multiarch roundf for PPC64.
8393
357fd3b4
AZ
8394 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8395 multiarch implementation.
8396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8397 file.
8398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8399 file.
8400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8401 file.
8402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8403 file.
8404 multiarch llround for PPC64.
8405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8406 multiarch floor for PPC64.
8407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8408 multiarch floorf for PPC64.
8409
96770f12
AZ
8410 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8411 multiarch implementation.
8412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8413 file.
8414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8415 file.
8416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8417 file.
8418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8419 file.
8420 multiarch llround for PPC64.
8421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8422 multiarch ceil for PPC64.
8423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8424 multiarch ceilf for PPC64.
8425
c3627f6e
AZ
8426 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8427 multiarch implementation.
8428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8429 file.
8430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8431 file.
8432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8433 file.
8434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8435 multiarch llround for PPC64.
8436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8437 multiarch lround for PPC64.
8438
b2284ad7
AZ
8439 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8440 multiarch implementation.
8441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8444 file.
8445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8448 multiarch isnan for PPC64.
8449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8450 multiarch isnanf for PPC64.
8451
69bbc63d
AZ
8452 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8453 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8454 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8455 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8456 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8458
c24517c9
AZ
8459 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8460 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8461 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8462 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8463
a52374e8
AZ
8464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8465 multiarch implementations.
8466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8467 (__libc_ifunc_impl_list): Likewise.
8468 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8469 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8470 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8471 multiarch stpcpy for PPC64.
8472
7f5ec113
AZ
8473 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8474 multiarch implementations.
8475 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8476 (__libc_ifunc_impl_list): Likewise.
8477 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8478 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8479 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8480 multiarch strcpy for PPC64.
8481
e28bcd42
AZ
8482 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8483 redefine function name.
8484 (_wordcopy_fwd_dest_aligned): Likewise.
8485 (_wordcopy_bwd_aligned): Likewise.
8486 (_wordcopy_bwd_dest_aligned): Likewise.
8487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8488 multiarch implementations.
8489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8490 (__libc_ifunc_impl_list): Likewise.
8491 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8492 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8493 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8494 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8495 multiarch wcscpy for PPC64.
8496
92cacfce
AZ
8497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8498 multiarch implementations.
8499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8500 (__libc_ifunc_impl_list): Likewise.
8501 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8502 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8503 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8504 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8505 multiarch wcscpy for PPC64.
8506
7b714620
AZ
8507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8508 multiarch implementations.
8509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8510 (__libc_ifunc_impl_list): Likewise.
8511 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8512 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8513 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8514 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8515 multiarch wcsrchr for PPC64.
8516
16fd2ae3
AZ
8517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8518 multiarch implementations.
8519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8520 (__libc_ifunc_impl_list): Likewise.
8521 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8522 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8523 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8524 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8525 multiarch wcschr for PPC64.
8526
9ee2969b
AZ
8527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8528 multiarch implementations.
8529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8530 (__libc_ifunc_impl_list): Likewise.
8531 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8532 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8533 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8534 multiarch strchrnul for PPC64.
8535
372dc060
AZ
8536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8537 implementations.
8538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8539 (__libc_ifunc_impl_list): Likewise.
8540 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8541 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8542 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8543 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8544 strchr for PPC64.
8545
24c2c3b9
AZ
8546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8547 implementations.
8548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8549 (__libc_ifunc_impl_list): Likewise.
8550 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8551 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8552 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8553 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8554 strncmp for PPC64.
8555
1c92d9a0
AZ
8556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8557 multiarch implementations.
8558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8559 (__libc_ifunc_impl_list): Likewise.
8560 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8561 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8562 strncasecmp for PPC64.
8563 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8564 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8565 multiarch strncasecmp_l for PPC64.
8566
17de3ee3
AZ
8567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8568 multiarch implementations.
8569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8570 (__libc_ifunc_impl_list): Likewise.
8571 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8572 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8573 multiarch strcasecmp for PPC64.
8574 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8575 file.
8576 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8577 multiarch strcasecmp_l for PPC64.
8578
62982bf9
AZ
8579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8580 implementations.
8581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8582 (__libc_ifunc_impl_list): Likewise.
8583 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8584 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8585 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8586 strnlen for PPC64.
8587
a65f4904
AZ
8588 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8589 implementations.
8590 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8591 (__libc_ifunc_impl_list): Likewise.
8592 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8593 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8594 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8595 strlen for PPC64.
8596
1fd005ad
AZ
8597 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8598 implementations.
8599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8600 (__libc_ifunc_impl_list): Likewise.
8601 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8602 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8603 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8604 rawmemrchr for PPC64.
8605
cd05ba91
AZ
8606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8607 implementation.
8608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8609 (__libc_ifunc_impl_list): Likewise.
8610 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8611 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8612 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8613 memrchr for PPC64.
8614
870f8676
AZ
8615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8616 implementation.
8617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8618 (__libc_ifunc_impl_list): Likewise.
8619 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8620 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8621 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8622 memchr for PPC64.
8623
f00be62b
AZ
8624 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8625 implementation.
8626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8627 (__libc_ifunc_impl_list): Likewise.
8628 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8629 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8630 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8631 mempcpy for PPC64.
8632
8a29a3d0
AZ
8633 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8634 avoid cretion of __bzero symbol.
8635 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8636 Likewise.
8637 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8638 Likewise.
8639 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8640 Likewise.
8641 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8642 multiarch implementations.
8643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8644 (__libc_ifunc_impl_list): Likewise.
8645 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8646 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8647 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8648 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8649 bzero for PPC32.
8650 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8651 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8652 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8653 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8654 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8655 memset for PPC64.
8656 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8657
07253fcf
AZ
8658 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8660 implementations.
8661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8662 (__libc_ifunc_impl_list): Likewise.
8663 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8664 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8665 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8666 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8667 memcmp for PPC64.
8668
b5beafbc
AZ
8669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8670 multiarch for POWER/PPC64.
8671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8672 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8673 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8674 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8675 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8676 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8677 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8678 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8679 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8680 memcpy for PPC64.
8681
5e6a4d4b
AZ
8682 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8683 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8684 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8685 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8686 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8687 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8688 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8689 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8690 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8691 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8692 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8693 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8694 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8695 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8696 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8704
ddfab6dc
KK
87052013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8706
8707 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8708
19b5525e
SP
87092013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8710
8711 * benchtests/Makefile (bench): Add exp2 and log2.
8712 (LDLIBS-bench-exp2): Add -lm.
8713 (LDLIBS-bench-log2): Likewise.
8714 * benchtests/exp2-inputs: New inputs file.
8715 * benchtests/log2-inputs: New inputs file.
8716 * benchtests/log-inputs: Add new inputs.
8717 * benchtests/tan-inputs: Likewise.
8718
196f7f5d
SP
87192013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8720
7a74607f
SP
8721 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8722 definition...
57f41c40
AS
8723 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8724 (csloww2): ... from here.
7a74607f 8725
196f7f5d
SP
8726 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8727 instead of structures.
8728 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8729 (POLYNOMIAL): Likewise.
8730 (TAYLOR_SLOW): Likewise.
8731 (__sin): Likewise.
8732 (__cos): Likewise.
8733 (slow1): Likewise.
8734 (slow2): Likewise.
8735 (sloww): Likewise.
8736 (sloww1); Likewise.
8737 (sloww2): Likewise.
8738 (bsloww1): Likewise.
8739 (bsloww2): Likewise.
8740 (cslow2): Likewise.
8741 (csloww): Likewise.
8742 (csloww1): Likewise.
8743 (csloww2): Likewise.
8744
0dfa665c
OB
87452013-12-10 Ondřej Bílka <neleai@seznam.cz>
8746
8747 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
8748 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8749 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
8750 * malloc/hooks.c (realloc_check): Likewise.
8751
5782a80f
OB
8752 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8753 * malloc/arena.c: Remove PER_THREAD conditional.
8754 [!PER_THREAD]: Remove code.
8755 (ptmalloc_unlock_all2): Likewise.
8756 (ptmalloc_init): Likewise.
8757 (_int_new_arena): Likewise.
8758 (arena_get2): Likewise.
8759 * malloc/hooks.c (__malloc_get_state): Likewise.
8760 (__malloc_set_state): Likewise.
8761 * malloc/malloc.c: Likewise.
8762 (struct malloc_state): Likewise.
8763 (struct malloc_par): Likewise.
8764 (__libc_realloc): Likewise.
8765 (__libc_mallopt): Likewise.
8766
aeb95445
AZ
87672013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8768
8769 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8770
e8349efd
OB
87712013-12-09 Ondřej Bílka <neleai@seznam.cz>
8772
8773 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8774 macro to a function. Check for zero perturb_byte.
8775 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8776
f3eeb3fc 8777 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
8778 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8779 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
8780 force_reg by atomic_forced_read.
8781 * malloc/arena.c (ptmalloc_init): Likewise.
8782 * malloc/hooks.c (top_check): Likewise.
8783
be2f9009
AZ
87842013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8785
8786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8787
e7b914bd
MT
87882013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8789
8790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8791
9f0be4f8
JM
87922013-12-08 Joseph Myers <joseph@codesourcery.com>
8793
8794 * math/auto-libm-test-in: Add tests of lgamma.
8795 * math/auto-libm-test-out: Regenerated.
8796 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8797 (M_LOG_2_SQRT_PIl): Likewise.
8798 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8799 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8800 mpfr_f_f1.
8801 (func_calc_desc): Add mpfr_f_f1 union field.
8802 (ARGS1): New macro.
8803 (ARGS2): Likewise.
8804 (ARGS3): Likewise.
8805 (ARGS4): Likewise.
8806 (RET1): Likewise.
8807 (RET2): Likewise.
8808 (CALC): Likewise.
8809 (FUNC): Likewise.
8810 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8811 (test_functions): Add lgamma.
8812 (calc_generic_results): Handle mpfr_f_f1.
8813 * sysdeps/i386/fpu/libm-test-ulps: Update.
8814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8815
24eeafdb
AZ
88162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8817
8818 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8819 __mpn_add_n for PowerPC64/POWER7.
8820 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8821 __mpn_sub_n for PowerPC64/POWER7.
8822
4a2c0fd4
AZ
8823 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8824 __mpn_addmul_1 for PowerPC64.
8825 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8826 __mpn_submul_1 for PowerPC64.
8827 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8828 for PowerPC64.
8829 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8830 for PowerPC64.
8831
4b5b548c
FS
88322013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8833
8834 [BZ #15089]
8835 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8836
0a3ac0aa
AZ
88372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8838
8839 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8840
ccdc8438
AZ
8841 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8842 add multiarch folders.
8843 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8844 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8845 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8846 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8847 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8848 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8849 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8850 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8851 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8852 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8853 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8860
2e973d99
AZ
8861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8862 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8864 New file.
8865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8866 New file.
8867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8868 multiarch __ieee754_hypot for PowerPC32.
8869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8870 New file.
8871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8872 New file.
8873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8874 multiarch __ieee754_hypotf for PowerPC32.
8875
2d9470b2
AZ
8876 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8877 long_double_symbol only if __logbl is defined.
8878 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8879 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8880 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8881 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8882 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8883 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8884 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8885 path for implementation.
8886 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8887 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8889 logb, and logbl multiarch implementations for PowerPC32.
8890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8891 file.
8892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8893 file.
8894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8895 multiarch logb for PowerPC32.
8896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8897 file.
8898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8899 file.
8900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8901 multiarch logbf for PowerPC32.
8902 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8904 file.
8905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8906 multiarch logbl implementation for PowerPC32.
8907
5212ffce
AZ
8908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8909 and modff multiarch implementations.
8910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8911 New file.
8912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8913 New file.
8914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8915 multiarch modf for PowerPC32.
8916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8917 New file.
8918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8919 New file.
8920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8921 multiarch modff for PowerPC32.
8922
79dccf31
AZ
8923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8924 and lrintf multiarch implementations.
8925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8926 New file.
8927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8928 New file.
8929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8930 multiarch lrint for PowerPC32.
8931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8932 file: multiarch lrintf for PowerPC32.
8933
deb66480
AZ
8934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8935 and lroundf multiarch implementations.
8936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8937 New file.
8938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8939 New file.
8940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8941 New file.
8942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8943 multiarch lround for PowerPC32.
8944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8945 file: multiarch lroundf for PowerPC32.
8946
264b036b
AZ
8947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8948 copysign and copysignf multiarch implementations.
8949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8950 New file.
8951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8952 New file.
8953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8954 file: multiarch copysign for PowerPC32.
8955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8956 file: multiarch copysignf for PowerPC32.
8957
d47db6c9
AZ
8958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8959 and truncf multiarch implementations.
8960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8961 New file.
8962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8963 file.
8964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8965 multiarch trunc for PowerPC32.
8966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8967 New file.
8968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8969 New file.
8970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8971 multiarch truncf for PowerPC32.
8972
ddb60b5a
AZ
8973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8974 and roundf multiarch implementations.
8975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8976 New file.
8977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8978 file.
8979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8980 multiarch round for PowerPC32.
8981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8982 New file.
8983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8984 New file.
8985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8986 multiarch roundf for PowerPC32.
8987
bedcf49b
AZ
8988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8989 and floorf multiarch implementations.
8990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8991 New file.
8992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8993 file.
8994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8995 multiarch floor for PowerPC32.
8996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8997 New file.
8998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8999 New file.
9000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9001 multiarch floorf for PowerPC32.
9002
35ae5b40
AZ
9003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9004 and ceilf multiarch implementations.
9005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9006 New file.
9007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9008 file.
9009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9010 multiarch ceil for PowerPC32.
9011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9012 New file.
9013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9014 file.
9015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9016 multiarch ceilf for PowerPC32.
9017
ae1a4cd9
AZ
9018 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9019 is defined.
9020 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9021 FINITEF is defined.
9022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9023 and finitef multiarch implementations.
9024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9025 New file.
9026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9027 file.
9028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9029 multiarch finite for PowerPC32.
9030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9031 New file.
9032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9033 file: multiarch finitef for PowerPC32.
9034
64fffd65
AZ
9035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9036 and isinff multiarch implementations.
9037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9038 file.
9039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9040 file.
9041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9042 multiarch isinf for PowerPC32.
9043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9044 New file.
9045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9046 multiarch isinff for PowerPC32.
9047
8e4e7ba2
AZ
9048 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9049 alias when __isnan is defined.
9050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9051 and isnanf multiarch implementations.
9052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9053 file.
9054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9055 file.
9056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9057 file.
9058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9059 file.
9060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9061 multiarch isnan for PowerPC32.
9062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9063 New file.
9064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9065 New file.
9066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9067 multiarch isnanf for PowerPC32.
9068
ddba588e
AZ
9069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9070 and sqrtf multiarch implementations.
9071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9072 file.
9073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9074 file.
9075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9076 multiarch sqrt for PowerPC32.
9077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9078 file.
9079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9080 file.
9081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9082 multiarch sqrtf for PowerPC32.
9083
0f96a2f0
AZ
9084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9085 and llroundf multiarch implementations.
9086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9087 New file.
9088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9089 New file.
9090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9091 New file.
9092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9093 file: multiarch llround for PowerPC32.
9094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9095 file: multiarch llroundf for PowerPC32.
9096
c9b5d79e
AZ
9097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9098 multiarch PowerPC32 fpu implementations.
9099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9100 New file.
9101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9102 New file.
9103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9104 multiarch llrint for PowerPC32.
9105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9106 New file.
9107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9108 New file.
9109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9110 file.
9111
9cbb3aab
AZ
9112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9113
ea5a72f8
AZ
9114 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9115 file.
9116 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9117 file.
9118 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9119 file.
9120 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9121 multiarch wordcopy for PPC32.
9122 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9123 wordcopy objects.
9124 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9125 (__libc_ifunc_impl_list): Likewise.
9126 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9127 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9128 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9129 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9130 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9131 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9132
93be09e7
AZ
9133 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9134 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9135 file.
9136 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9137 file.
9138 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9139 file.
9140 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9141 multiarch wcscpy for PPC32.
9142 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9143 multiarch objects.
9144 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9145 (__libc_ifunc_impl_list): Likewise.
9146 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9147 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9148 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9149 sysdeps/powerpc/power6/wcscpy.c.
9150
bb04e529
AZ
9151 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9152 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9153 file.
9154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9155 file.
9156 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9157 file.
9158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9159 multiarch wcsrchr for PPC32.
9160 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9161 multiarch objects.
9162 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9163 (__libc_ifunc_impl_list): Likewise.
9164 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9165 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9166 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9167 sysdeps/powerpc/power6/wcsrchr.c.
9168
05b5cd1c
AZ
9169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9170 file.
9171 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9172 file.
9173 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9175 multiarch wcschr for PPc32.
9176 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9177 multiarch objects.
9178 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9179 (__libc_ifunc_impl_list): Likewise.
9180 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9181 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9182 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9183 sysdeps/powerpc/power6/wcschr.c.
9184
ba964147
AZ
9185 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9186 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9187 file.
9188 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9189 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9190 file: multiarch strchr for PPC32.
9191 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9192 multiarch objects.
9193 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9194 (__libc_ifunc_impl_list): Likewise.
9195
31c81aaa
AZ
9196 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9197 name.
9198 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9199 file.
9200 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9201 file.
9202 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9203 multiarch strchrnul for PPC32.
9204 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9205 multiarch objects.
9206 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9207 (__libc_ifunc_impl_list): Likewise.
9208
0d0607d9
AZ
9209 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9210 file.
9211 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9212 multiarch strncasecmp for PPC32.
9213 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9214 file.
9215 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9216 multiarch strncasecmp_l for PPC32.
9217 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9218 strncasecmp multiarch objects.
9219 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9220 (__libc_ifunc_impl_list): Likewise.
9221
4dfd5c86
AZ
9222 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9223 file.
9224 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9225 multiarch strncasecmp for PPC32.
9226 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9227 New file.
9228 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9229 multiarch strcasecmp_l for PPC32.
9230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9231 multiarch objects.
9232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9233 (__libc_ifunc_impl_list): Likewise.
9234
a19e01a3
AZ
9235 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9236 file.
9237 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9238 file.
9239 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9240 multiarch strncmp for PPC32.
9241 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9242 multiarch objects.
9243 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9244 (__libc_ifunc_impl_list): Likewise.
9245
ae9cf7a2
AZ
9246 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9247 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9248 file.
9249 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9250 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9251 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9252 multiarch objects.
9253 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9254 (__libc_ifunc_impl_list): Likewise.
9255
3148bb7d
AZ
9256 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9257 file.
9258 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9259 file.
9260 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9261 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9262 multiarch objects.
9263 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9264 (__libc_ifunc_impl_list): Likewise.
9265
7af8b946
AZ
9266 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9267 file.
9268 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9269 file.
9270 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9271 multiarch rawmemchr for PPC32.
9272 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9273 multiarch objects.
9274 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9275 (__libc_ifunc_impl_list): Likewise.
9276
03a6aa6a
AZ
9277 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9278 file.
9279 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9280 file.
9281 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9282 file: memrchr multiarch for PPC32.
9283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9284 multiarch objects.
9285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9286 (__libc_ifunc_impl_list): Likewise.
9287
1c62e6d9
AZ
9288 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9289 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9290 file.
9291 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9292 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9293 multiarch memchr for PPC32.
9294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9295 multiarch objects.
9296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9297 (__libc_ifunc_impl_list): Likewise.
9298
87da8bdb
AZ
9299 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9300 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9301 file.
9302 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9303 file.
9304 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9305 file: multiarch mempcpy for PPC32.
9306 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9307 multiarch objects.
9308 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9309 (__libc_ifunc_impl_list): Likewise.
9310
20ed4714
AZ
9311 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9312 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9313 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9314 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9315 multiarch bzero for PPC32.
9316 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9317 file.
9318 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9319 file.
9320 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9321 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9322 file: multiarch memset for PPC32.
9323 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9325 memset multiarch objects.
9326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9327 (__libc_ifunc_impl_list): Likewise.
9328
ab3e3a46
AZ
9329 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9330 file.
9331 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9332 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9333 memcmp for PPC32.
9334 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9336 multiarch objects.
9337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9338 (__libc_ifunc_impl_list): Likewise.
9339
930de6f0
AZ
9340 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9341 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9342 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9343 file.
9344 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9345 file.
9346 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9347 file.
9348 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9349 multiarch memcpy for PPC32.
9350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9351 multiarch objects.
9352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9353 (__libc_ifunc_impl_list): Likewise.
9354
4c628e00
AZ
9355 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9356 support multiarch for POWER/PPC32.
9357 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9358 Likewise.
9359 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9361 Implies file to make multiarch folder appers before the fpu and
9362 default folder for power4 configuration.
9363
f4479220
SP
93642013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9365
9366 * scripts/bench.pl: Append volatile keyword to type.
9367
8517800f
KK
93682013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9369
9370 * sysdeps/sh/sotruss-lib.c: New file.
9371 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9372
180138f1
AZ
93732013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9374
9375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9376
bbf37bdc
JM
93772013-12-05 Joseph Myers <joseph@codesourcery.com>
9378
e47cc4e0
JM
9379 [BZ #6810]
9380 * math/w_tgamma.c: Include <errno.h>.
9381 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9382 * math/w_tgammaf.c: Include <errno.h>.
9383 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9384 * math/w_tgammal.c: Include <errno.h>.
9385 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9386 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9387 underflow. Add more tgamma tests.
9388 * math/auto-libm-test-out: Regenerated.
9389 * sysdeps/i386/fpu/libm-test-ulps: Update.
9390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9391
bbf37bdc
JM
9392 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9393 sin, sinh, tan, tanh, tgamma, y0 and y1.
9394 * math/auto-libm-test-out: Regenerated.
9395 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9396 (TEST_COND_x86): Likewise.
9397 (M_E2l): Remove macro.
9398 (M_E3l): Likewise.
9399 (M_2_SQRT_PIl): Likewise.
9400 (M_SQRT_PIl): Likewise.
9401 (M_1_DIV_El): Likewise.
9402 (log_test_data): Use AUTO_TESTS_f_f.
9403 (log10_test_data): Likewise.
9404 (log1p_test_data): Likewise.
9405 (log2_test_data): Likewise.
9406 (sin_test_data): Likewise.
9407 (sin_tonearest_test_data): Likewise.
9408 (sin_towardzero_test_data): Likewise.
9409 (sin_downward_test_data): Likewise.
9410 (sin_upward_test_data): Likewise.
9411 (sinh_test_data): Likewise.
9412 (sinh_tonearest_test_data): Likewise.
9413 (sinh_towardzero_test_data): Likewise.
9414 (sinh_downward_test_data): Likewise.
9415 (sinh_upward_test_data): Likewise.
9416 (tan_test_data): Likewise.
9417 (tan_tonearest_test_data): Likewise.
9418 (tan_towardzero_test_data): Likewise.
9419 (tan_downward_test_data): Likewise.
9420 (tan_upward_test_data): Likewise.
9421 (tanh_test_data): Likewise.
9422 (tgamma_test_data): Likewise.
9423 (y0_test_data): Likewise.
9424 (y1_test_data): Likewise.
9425 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9426 (special_real_inputs): Add pi/4.
9427 * sysdeps/i386/fpu/libm-test-ulps: Update.
9428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9429
eb5ad6b9
AZ
94302013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9431
9432 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9433 "longjmp_target" static probes.
9434 (__longjmp): Rename to __longjmp_symbol.
9435 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9436 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9437 on which longjmp to generate.
9438 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9439 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9440 probe.
9441 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9442 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9443 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9444 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9445 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9446 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9448 __longjmp_symbol based on which __longjmp to generate.
9449 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9450 probe.
9451 (setjmp): Rename to setjmp_symbol.
9452 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9453 (_setjmp): Rename to _setjmp_symbol.
9454 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9455 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9456 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9457 which setjmp to generate.
9458 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9459 "longjmp_target" static probes.
9460
d136c6dc
SP
94612013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9462
9298ecba
SP
9463 * benchtests/README: Add note about output arguments.
9464 * benchtests/bench-sincos.c: Remove file.
9465 * benchtests/sincos-inputs: New file.
9466 * scripts/bench.pl: Identify output arguments and define
9467 static variables for them.
9468
232983e9
SP
9469 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9470
d136c6dc
SP
9471 [BZ #15941]
9472 * Makefile (INSTALL): Add install-plain.texi as the primary
9473 dependency.
9474 * manual/install-plain.texi: New file.
9475 * manual/install.texi: Include node directive only for
9476 non-plaintext output.
9477
699ff837
JM
94782013-12-04 Joseph Myers <joseph@codesourcery.com>
9479
ab07cea8
JM
9480 * stdlib/longlong.h: Update from GCC.
9481
699ff837
JM
9482 [BZ #6807]
9483 [BZ #15901]
9484 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9485 * math/w_j0f.c (y0f): Likewise.
9486 * math/w_j0l.c (__y0l): Likewise.
9487 * math/w_j1.c (y1): Likewise.
9488 * math/w_j1f.c (y1f): Likewise.
9489 * math/w_j1l.c (__y1l): Likewise
9490 * math/w_jn.c (yn): Likewise.
9491 * math/w_jnf.c (ynf): Likewise.
9492 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9493 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9494 value for Bessel function domain errors outside _SVID_ mode.
9495 Adjust sign of return value for yn (negative integer, 0).
9496 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9497 by zero in return for negative x and set sign appropriately for
9498 negative n.
9499 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9500 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9501 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9502 expectations in error cases.
9503 (y1_test_data): Likewise.
9504 (yn_test_data): Likewise.
9505 * sysdeps/i386/fpu/libm-test-ulps: Update.
9506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9507
5b118558
UW
95082013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9509
9510 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9511 "64" to "64-v1". Add "64-v2".
9512 (abi-64-options): Rename to ...
9513 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9514 (abi-64-condition): Rename to ...
9515 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9516 (abi-64-ld-soname): Rename to ...
9517 (abi-64-v1-ld-soname): ... this.
9518 (abi-64-v2-options): Define.
9519 (abi-64-v2-condition): Likewise.
9520 (abi-64-v2-ld-soname): Likewise.
9521 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9522 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9526
61cd8fe4
UW
95272013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9528 Alan Modra <amodra@gmail.com>
9529
9530 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9531 New versions for use with the ELFv2 ABI.
9532 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9533 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9534 declaration.
9535 (struct La_ppc64v2_retval): Likewise.
9536 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9537 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9538 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9539 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9540 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9541 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9542 Do not save or restore CR.
9543 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9544 (_dl_profile_resolve): Do no save or restore CR. Support extended
9545 return values for ELFv2 ABI. Fix location of FPR return registers.
9546 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9547 updated values for _CALL_ELF == 2.
9548 (La_regs, La_retval, int_retval): Likewise.
9549
8b8a692c
UW
95502013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9551
9552 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9553 (FRAME_MIN_SIZE_PARM): Likewise.
9554 (FRAME_BACKCHAIN): Likewise.
9555 (FRAME_CR_SAVE): Likewise.
9556 (FRAME_LR_SAVE): Likewise.
9557 (FRAME_TOC_SAVE): Likewise.
9558 (FRAME_PARM_SAVE): Likewise.
9559 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9560 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9561 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9562 (call_mcount_parm_offset): New macro.
9563 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9564 (PROF): Use symbolic stack frame offsets.
9565 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9566 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9567 Redefine in terms of FRAME_MIN_SIZE.
9568 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9569 (_dl_profile_resolve): Likewise. Update comment.
9570 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9571 symbols stack frame offsets.
9572 (__sigsetjmp): Likewise.
9573 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9574 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9575 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9576 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9577
9578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9579 (FRAME_BACKCHAIN): Remove.
9580 (FRAME_CR_SAVE): Likewise.
9581 (FRAME_LR_SAVE): Likewise.
9582 (FRAME_COMPILER_DW): Likewise.
9583 (FRAME_LINKER_DW): Likewise.
9584 (FRAME_TOC_SAVE): Likewise.
9585 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
9586 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9587 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9588 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
9589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9590 (CHECK_SP): Use symbolic stack frame offsets.
9591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9592 zone" instead of caller's parameter save area for temp storage.
9593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9594 Likewise. Also, use symbolic stack frame offsets.
9595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9596 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9597 our own stack frame instead of the caller's.
9598 (__socket): Use symbolic stack frame offsets.
9599
122b66de
UW
96002013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9601 Alan Modra <amodra@gmail.com>
9602
9603 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9604 Define.
57f41c40
AS
9605 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9606 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
9607 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9608 New function.
9609 (elf_machine_fixup_plt): Call it.
9610 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9611 reloc arguments.
9612 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
9613 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9614 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
9615 r2 before calling target.
9616
696caf1d
UW
96172013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9618 Alan Modra <amodra@gmail.com>
9619
9620 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9621 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9622 versions of macros to support ELFv2 ABI.
9623 (LOCALENTRY): New macro.
9624 (ENTRY, EALIGN): Use it.
9625 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9626 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9627 fall through into ENTRY entry point.
9628 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9629 Only define if _CALL_ELF != 2.
9630
9631 (elf_machine_matches_host): Verify ABI version matches.
9632 (RTLD_START): Use LOCALENTRY.
9633 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9634 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9635 (PLT_ENTRY_WORDS): New macro.
9636 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9637 (elf_machine_runtime_setup): Support ELFv2 ABI.
9638 (elf_machine_fixup_plt): Likewise.
9639 (elf_machine_plt_conflict): Likewise.
9640 (resolve_ifunc): Likewise.
9641 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9642 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9643 Likewise.
9644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9645 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9647 (makecontext): Support ELFv2 ABI.
9648 * elf/elf.h (EF_PPC64_ABI): Define.
9649
d31beafa
UW
96502013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9651
57f41c40
AS
9652 * sysdeps/powerpc/powerpc64/sysdep.h
9653 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9654 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9655 (ENTRY) [ASSEMBLER]: ... but instead here ...
9656 (EALIGN) [ASSEMBLER]: ... and here.
9657 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9658 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9659 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
9660 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9661 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
9662 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9663 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
9664 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9666 Use PPC64_LOAD_FUNCPTR.
9667
b525166b
UW
9668 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9669
7ec07d9a
AM
96702013-12-04 Alan Modra <amodra@gmail.com>
9671
9672 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9673 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9674 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9675 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9676
9677 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9678 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9679 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9680 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9681 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9682 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9683
5162e7dd
UW
96842013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9685
9686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9687 (__makecontext): Fix incorrect CFI when backtracing out of
9688 context created via makecontext.
9689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9690 (__setcontext): Fix incorrect CFI during switch to new context.
9691 (__novec_setcontext): Likewise.
9692
19e3372b
OB
96932013-12-04 Ondřej Bílka <neleai@seznam.cz>
9694
9695 [BZ #4772]
9696 * time/strptime_l.c (__strptime_internal): Allow modifiers
9697 in strptime.
9698 * time/tst-strptime.c (day_tests): Add testcase.
9699
ecaf142d
SP
97002013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9701
9702 * scripts/bench.pl: Skip over blank lines.
9703
fbf964ae
PE
97042013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9705
9706 [BZ #926]
9707 * manual/time.texi (Calendar Time): Clarify what timezone functions
9708 use.
9709
fa60a674
AZ
97102013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9711
9712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9713
d674f0ef
OB
97142013-12-04 Ondřej Bílka <neleai@seznam.cz>
9715
9716 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9717 implementation.
9718 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9719 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9720 * debug/memset_chk.c (__memset_chk): Likewise.
9721 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9722 * debug/strncpy_chk.c: Likewise.
9723
17dea188
JM
97242013-12-03 Joseph Myers <joseph@codesourcery.com>
9725
749008ff
JM
9726 [BZ #15268]
9727 [BZ #15425]
9728 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9729 (__ieee754_exp): For possibly underflowing results, check size of
9730 result and force underflow exception if required.
9731 * math/auto-libm-test-in: Add more tests of exp.
9732 * math/auto-libm-test-out: Regenerated.
9733 * sysdeps/i386/fpu/libm-test-ulps: Update.
9734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9735
17dea188
JM
9736 [BZ #16283]
9737 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9738 * math/w_exp2f.c (__exp2f): Likewise.
9739 * math/w_exp2l.c (__exp2l): Likewise.
9740 * math/auto-libm-test-in: Do not allow missing errno on exp2
9741 underflow.
9742 * math/auto-libm-test-out: Regenerated.
9743
b20de2c3
OB
97442013-12-03 Ondřej Bílka <neleai@seznam.cz>
9745
9746 [BZ #16274]
9747 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9748 handle filename validation.
9749 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9750 (do_open): Delete.
9751
d8e2dbe3
JM
97522013-12-03 Joseph Myers <joseph@codesourcery.com>
9753
34e16df5
JM
9754 [BZ #6786]
9755 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9756 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9757 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9758 <float.h>.
9759 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9760 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9761 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9762 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9763 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9764 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9765 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9766 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9767 Add more erfc tests.
9768 * math/auto-libm-test-out: Regenerated.
9769 * sysdeps/i386/fpu/libm-test-ulps: Update.
9770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9771
d8e2dbe3
JM
9772 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9773 exp2, expm1, j0 and j1.
9774 * math/auto-libm-test-out: Regenerated.
9775 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9776 (erfc_test_data): Likewise.
9777 (exp_test_data): Likewise.
9778 (exp_tonearest_test_data): Likewise.
9779 (exp_towardzero_test_data): Likewise.
9780 (exp_downward_test_data): Likewise.
9781 (exp_upward_test_data): Likewise.
9782 (exp10_test_data): Likewise.
9783 (exp2_test_data): Likewise.
9784 (expm1_test_data): Likewise.
9785 (j0_test_data): Likewise.
9786 (j1_test_data): Likewise.
9787 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9788 (input_flag_type): Add flag_xfail_rounding.
9789 (input_flags): Add xfail-rounding.
9790 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9791 (output_for_one_input_case): Handle flag_xfail_rounding.
9792 * sysdeps/i386/fpu/libm-test-ulps: Update.
9793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9794
18d14251
AJ
97952013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9796
3d2e6075 9797 [BZ #16289]
18d14251
AJ
9798 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9799 division by 0.
9800
520d437b
SP
98012013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9802
9803 [BZ #16195]
9804 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9805 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9806 (STAP_PROBE0): New macro.
9807 (STAP_PROBE1): Likewise.
9808 (STAP_PROBE2): Likewise.
9809 (STAP_PROBE3): Likewise.
9810 (STAP_PROBE4): Likewise.
9811
416e0145
OB
98122013-12-02 Ondřej Bílka <neleai@seznam.cz>
9813
9814 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9815
9d17796a
SE
98162013-12-02 Steve Ellcey <sellcey@mips.com>
9817
9818 * benchtests/Makefile (bench): Add sqrt.
9819 (LDLIBS-bench-sqrt): New.
9820 * benchtests/sqrt-input: New.
9821
f524d6a8
PS
98222013-12-02 Pavel Simerda <psimerda@redhat.com>
9823
639a0ef8
PS
9824 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9825 (GAIH_EAI): Likewise.
9826 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9827 (gaih_inet): Likewise.
9828 (getaddrinfo): Don't use GAIH_EAI.
9829
f524d6a8
PS
9830 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9831 (struct gaih): Remove definition.
9832
df3aedaf
SP
98332013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9834
9835 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9836 Use HERRNOP directly.
9837
1ab19dec
AZ
98382013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9839
b42ad38d 9840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 9841
176b0c79
JM
98422013-11-30 Joseph Myers <joseph@codesourcery.com>
9843
9844 * math/gen-auto-libm-tests.c (test_functions): Add more
9845 single-argument functions.
9846 (special_fill_pi_2): New function.
9847 (special_fill_minus_pi_2): Likewise.
9848 (special_fill_pi_6): Likewise.
9849 (special_fill_minus_pi_6): Likewise.
9850 (special_fill_pi_3): Likewise.
9851 (special_fill_2pi_3): Likewise.
9852 (special_fill_e): Likewise.
9853 (special_fill_1_e): Likewise.
9854 (special_fill_e_minus_1): Likewise.
9855 (special_real_inputs): Add more special inputs.
9856 (output_for_one_input_case): Do not require ERANGE on underflow to
9857 zero if round-to-nearest result does not underflow to zero, unless
9858 exact results required.
9859 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9860 atan, atanh, cbrt, cos and cosh.
9861 * math/auto-libm-test-out: Regenerated.
9862 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9863 (acos_tonearest_test_data): Likewise.
9864 (acos_towardzero_test_data): Likewise.
9865 (acos_downward_test_data): Likewise.
9866 (acos_upward_test_data): Likewise.
9867 (acosh_test_data): Likewise.
9868 (asin_test_data): Likewise.
9869 (asin_tonearest_test_data): Likewise.
9870 (asin_towardzero_test_data): Likewise.
9871 (asin_upward_test_data): Likewise.
9872 (asinh_test_data): Likewise.
9873 (atan_test_data): Likewise.
9874 (atanh_test_data): Likewise.
9875 (cbrt_test_data): Likewise.
9876 (cos_test_data): Likewise.
9877 (cos_tonearest_test_data): Likewise.
9878 (cos_towardzero_test_data): Likewise.
9879 (cos_downward_test_data): Likewise.
9880 (cos_upward_test_data): Likewise.
9881 (cosh_test_data): Likewise.
9882 (cosh_tonearest_test_data): Likewise.
9883 (cosh_towardzero_test_data): Likewise.
9884 (cosh_downward_test_data): Likewise.
9885 (cosh_upward_test_data): Likewise.
9886 * sysdeps/i386/fpu/libm-test-ulps: Update.
9887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9888
ffb536d0
JM
98892013-11-29 Joseph Myers <joseph@codesourcery.com>
9890
2a77a467
JM
9891 [BZ #6787]
9892 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9893 * math/w_exp10f.c (__exp10f): Likewise.
9894 * math/w_exp10l.c (__exp10l): Likewise.
9895 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9896 errno settings in existing tests.
9897
ea3bc4e8
JM
9898 [BZ #14032]
9899 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9900 precision control set to double precision.
9901 * sysdeps/i386/fpu/w_sqrt.c: New file.
9902 * math/auto-libm-test-in: Add more tests.
9903 * math/auto-libm-test-out: Update.
9904
0712c9d8
JM
9905 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9906 (sqrt_test_tonearest): New function.
9907 (sqrt_towardzero_test_data): New variable.
9908 (sqrt_test_towardzero): New function.
9909 (sqrt_downward_test_data): New variable.
9910 (sqrt_test_downward): New function.
9911 (sqrt_upward_test_data): New variable.
9912 (sqrt_test_upward): New function.
9913 (main): Call the new functions.
9914
ffb536d0
JM
9915 * math/gen-auto-libm-tests.c: New file.
9916 * math/auto-libm-test-in: Likewise.
9917 * math/auto-libm-test-out: New generated file.
9918 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9919 variables.
9920 (%beautify): Add generated representations of zero.
9921 (top level): Set $auto_input and call parse_auto_input.
9922 (beautify): Remove trailing "f" from hex float constants.
9923 (parse_args): Handle XFAIL_TEST.
9924 (convert_condition): New function.
9925 (or_value): Likewise.
9926 (or_cond_value): Likewise.
9927 (generate_testfile): Handle AUTO_TESTS_* lines.
9928 (parse_auto_input): New function.
9929 * math/libm-test.inc (XFAIL_TEST): New macro.
9930 (ERRNO_UNCHANGED): Update value.
9931 (ERRNO_EDOM): Likewise.
9932 (ERRNO_ERANGE): Likewise.
9933 (IGNORE_RESULT): Likewise.
9934 (TEST_COND_flt_32): New macro.
9935 (TEST_COND_dbl_64): Likewise.
9936 (TEST_COND_ldbl_96_intel): Likewise.
9937 (TEST_COND_ldbl_96_m68k): Likewise.
9938 (TEST_COND_ldbl_128): Likewise.
9939 (TEST_COND_ldbl_128ibm): Likewise.
9940 (TEST_COND_long32): Likewise.
9941 (TEST_COND_long64): Likewise.
9942 (TEST_COND_before_rounding): Likewise.
9943 (TEST_COND_after_rounding): Likewise.
9944 (enable_test): Handle XFAIL_TEST flag.
9945 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9946 with finite results.
9947 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9948 auto-libm-test-out.
9949
acd98a8e
AK
99502013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9951 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9952
9953 [BZ #16214]
9954 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9955 __tls_get_addr_internal instead of __tls_get_offset in order to
9956 avoid GOT pointer dependency. Make rtld export
9957 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9958 __tls_get_addr since we are a __tls_get_offset platform.
9959 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9960 GOT pointer being set up before.
9961 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9962
3c1c46a6
JM
99632013-11-28 Joseph Myers <joseph@codesourcery.com>
9964
7475aef5
JM
9965 * manual/math.texi (Errors in Math Functions): Document accuracy
9966 goals.
9967
8bca7cd8
JM
9968 [BZ #15004]
9969 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9970 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9971 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9972 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9973 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9974 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9975 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9976 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9977 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9978 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9979 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9980 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9981 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9982 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9983 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9984 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9985
91a1f3fe
JM
9986 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9987 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9988 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9989 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9990 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9991 Likewise.
9992 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9993 Likewise.
9994 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9995 Likewise.
9996 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9997 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9998 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9999 atomic-feupdateenv and flt-rounds.
10000 * sysdeps/powerpc/nofpu/Versions (libc): Add
10001 __atomic_feholdexcept, __atomic_feclearexcept,
10002 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10003 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10004 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10005 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10006 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10007 here.
10008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10009 Update.
10010
c5df7609
JM
10011 * manual/arith.texi (FP Exceptions): Document that exceptions may
10012 not be raised when matherr is used.
10013 (Math Error Reporting): Document overflow in directed rounding
10014 modes. Document that errno may not be set when finite values are
10015 returned on overflow. Document intent to set errno on underflow
10016 only for underflow to zero.
10017
3c1c46a6
JM
10018 [BZ #16271]
10019 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10020 round-to-nearest then adjust result for other rounding modes.
10021 * include/fenv.h (fegetround): Use libm_hidden_proto.
10022 * math/fegetround.c (fegetround): Use libm_hidden_def.
10023 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10024 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10025 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10026 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10027 Likewise.
10028 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10029 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10030 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10031 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10032
5a4c6d53
SP
100332013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10034
10035 [BZ #16077]
10036 * nss/Versions (libnss_files): Add
10037 _nss_files_gethostbyname3_r.
10038 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10039 New function.
10040 (HOST_DB_LOOKUP): Remove macro.
10041 (_nss_files_gethostbyname_r): Implement function without the
10042 HOST_DB_LOOKUP macro.
10043 (_nss_files_gethostbyname2_r): Likewise.
10044
897b98ba
OB
100452013-11-28 Ondřej Bílka <neleai@seznam.cz>
10046
10047 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10048
6f476861
UB
100492013-11-26 Uros Bizjak <ubizjak@gmail.com>
10050
10051 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10052 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10053 warning.
10054
bd12ab55
AZ
100552013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10056
10057 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10058 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10059 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10060 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10061 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10062 __fe_nomask_env_priv and attribute_hidden.
10063 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10064 (libc_feupdateenv_test_ppc): Likewise.
10065 (libc_feresetround_ppc): Likewise.
10066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10067 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10068 compat_symbol macro.
10069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10070 (__fe_nomask_env): Likewise.
10071 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10072
52bb6543
OB
100732013-11-26 Ondřej Bílka <neleai@seznam.cz>
10074
10075 * string/Makefile: Remove ifunc tests.
10076 * string/test-string.h: Define TEST_IFUNC.
10077 * string/test-bcopy-ifunc.c: Remove.
10078 * string/test-bzero-ifunc.c: Likewise.
10079 * string/test-memccpy-ifunc.c: Likewise.
10080 * string/test-memchr-ifunc.c: Likewise.
10081 * string/test-memcmp-ifunc.c: Likewise.
10082 * string/test-memcpy-ifunc.c: Likewise.
10083 * string/test-memmem-ifunc.c: Likewise.
10084 * string/test-memmove-ifunc.c: Likewise.
10085 * string/test-mempcpy-ifunc.c: Likewise.
10086 * string/test-memrchr-ifunc.c: Likewise.
10087 * string/test-memset-ifunc.c: Likewise.
10088 * string/test-rawmemchr-ifunc.c: Likewise.
10089 * string/test-stpcpy-ifunc.c: Likewise.
10090 * string/test-stpncpy-ifunc.c: Likewise.
10091 * string/test-strcasecmp-ifunc.c: Likewise.
10092 * string/test-strcasestr-ifunc.c: Likewise.
10093 * string/test-strcat-ifunc.c: Likewise.
10094 * string/test-strchr-ifunc.c: Likewise.
10095 * string/test-strchrnul-ifunc.c: Likewise.
10096 * string/test-strcmp-ifunc.c: Likewise.
10097 * string/test-strcpy-ifunc.c: Likewise.
10098 * string/test-strcspn-ifunc.c: Likewise.
10099 * string/test-strlen-ifunc.c: Likewise.
10100 * string/test-strncasecmp-ifunc.c: Likewise.
10101 * string/test-strncat-ifunc.c: Likewise.
10102 * string/test-strncmp-ifunc.c: Likewise.
10103 * string/test-strncpy-ifunc.c: Likewise.
10104 * string/test-strnlen-ifunc.c: Likewise.
10105 * string/test-strpbrk-ifunc.c: Likewise.
10106 * string/test-strrchr-ifunc.c: Likewise.
10107 * string/test-strspn-ifunc.c: Likewise.
10108 * string/test-strstr-ifunc.c: Likewise.
10109
ab260039 101102013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
10111
10112 * benchtests/Makefile: Remove ifunc tests.
10113 * benchtests/bench-string.h: Define TEST_IFUNC.
10114 * benchtests/bench-bcopy-ifunc.c: Remove.
10115 * benchtests/bench-bzero-ifunc.c: Likewise.
10116 * benchtests/bench-memccpy-ifunc.c: Likewise.
10117 * benchtests/bench-memchr-ifunc.c: Likewise.
10118 * benchtests/bench-memcmp-ifunc.c: Likewise.
10119 * benchtests/bench-memcpy-ifunc.c: Likewise.
10120 * benchtests/bench-memmem-ifunc.c: Likewise.
10121 * benchtests/bench-memmove-ifunc.c: Likewise.
10122 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10123 * benchtests/bench-memrchr-ifunc.c: Likewise.
10124 * benchtests/bench-memset-ifunc.c: Likewise.
10125 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10126 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10127 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10128 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10129 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10130 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10131 * benchtests/bench-strcat-ifunc.c: Likewise.
10132 * benchtests/bench-strchr-ifunc.c: Likewise.
10133 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10134 * benchtests/bench-strcmp-ifunc.c: Likewise.
10135 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10136 * benchtests/bench-strcpy-ifunc.c: Likewise.
10137 * benchtests/bench-strcspn-ifunc.c: Likewise.
10138 * benchtests/bench-strlen-ifunc.c: Likewise.
10139 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10140 * benchtests/bench-strncat-ifunc.c: Likewise.
10141 * benchtests/bench-strncmp-ifunc.c: Likewise.
10142 * benchtests/bench-strncpy-ifunc.c: Likewise.
10143 * benchtests/bench-strnlen-ifunc.c: Likewise.
10144 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10145 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 10146 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
10147 * benchtests/bench-strspn-ifunc.c: Likewise.
10148 * benchtests/bench-strstr-ifunc.c: Likewise.
10149
101502013-11-26 Ondřej Bílka <neleai@seznam.cz>
10151
ab260039
OB
10152 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10153
d1d9eaf4 101542013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 10155
d1d9eaf4
OB
10156 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10157 * rt/aio.h: Likewise.
10158 * sysdeps/gnu/bits/utmp.h: Likewise.
10159 * sysdeps/gnu/bits/utmpx.h: Likewise.
10160 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10161 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10162 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10163 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10164 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10165 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10166 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10167 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10168 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10169 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10170 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10171 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10172 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10174 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10175 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10176 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10177 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10178 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10179 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10180 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10181 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10182 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10183 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10184 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10185 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10186 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10187 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10188 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10189 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10190 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10191 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10192 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10193 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10194 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10195 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10196 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10197 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10198 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10199 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10200 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10201 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10202
a7624ed9
CD
102032013-11-25 Carlos O'Donell <carlos@redhat.com>
10204
10205 [BZ #16245]
10206 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10207 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10208
63cfe52b
JM
102092013-11-25 Joseph Myers <joseph@codesourcery.com>
10210
10211 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10212 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10213 Likewise.
10214
41e8926a
AZ
102152013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10216
10217 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10218 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10219 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10220 (__fesetround): Remove define.
10221 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10222 rounding and exceptions handling.
10223 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10224 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10225 (__fe_nomask_env): Likewise.
10226 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10227 __fegetround instead of fegetround.
10228 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10229 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10230
6851bd4d
RM
102312013-11-21 Roland McGrath <roland@hack.frob.com>
10232
070906ff
RM
10233 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10234 it's there.
10235
6851bd4d
RM
10236 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10237
84ae135d
MI
102382013-11-21 Meador Inge <meadori@codesourcery.com>
10239
10240 [BZ #11157]
10241 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10242 (encrypt_r): Likewise.
10243 * malloc/obstack.h (obstack_free): Likewise.
10244 * posix/unistd.h (encrypt): Likewise.
10245
daf75146
GM
102462013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10247
10248 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10249 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10250 DL_CALL_DT_FINI() that call the functions directly.
10251 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10252 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10253 * elf/dl-fini.c: Likewise.
10254
10ad46bc
OB
102552013-11-20 Ondřej Bílka <neleai@seznam.cz>
10256
10257 * malloc/hooks.c (memalign_check): Add alignment rounding.
10258 * malloc/malloc.c (_mid_memalign): New function.
10259 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10260 Implement by calling _mid_memalign.
10261 * manual/probes.texi (Memory Allocation Probes): Remove
10262 memory_valloc_retry and memory_pvalloc_retry.
10263
f3fd2628
SP
102642013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10265
4712799f
SP
10266 * locale/programs/locarchive.c (open_archive): Add const
10267 qualifier to ARCHIVEFNAME and copy default fname to
10268 DEFAULT_FNAME.
10269
0417b20f
SP
10270 [BZ #15601]
10271 * libio/tst-widetext.input: Rename Oriya to Odia.
10272 * locale/iso-639.def: Likewise.
10273
f3fd2628
SP
10274 * manual/probes.texi (Mathematical Function Probes): Add
10275 documentation for sin, cos, asin and acos probes.
10276 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10277 (__sin32): Add slowasin probe.
10278 (__cos32): Add slowacos probe.
10279 (__mpsin): Add slowsin probe.
10280 (__mpcos): Add slowcos probe.
10281
73c1ce4f
JM
102822013-11-19 Joseph Myers <joseph@codesourcery.com>
10283
10284 [BZ #15483]
10285 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10286 thread-local __sim_exceptions_thread and global
10287 __sim_exceptions_global.
10288 (__sim_disabled_exceptions): Change to thread-local
10289 __sim_disabled_exceptions_thread and global
10290 __sim_disabled_exceptions_global.
10291 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10292 and global __sim_round_mode_global.
10293 (__simulate_exceptions): Use thread-local floating-point state and
10294 set global state from it as needed.
10295 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10296 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10297 __sim_round_mode_thread.
10298 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10299 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10300 and global __sim_exceptions_global.
10301 (__sim_disabled_exceptions): Change to thread-local
10302 __sim_disabled_exceptions_thread and global
10303 __sim_disabled_exceptions_global.
10304 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10305 and global __sim_round_mode_global.
10306 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10307 (SIM_SET_GLOBAL): Likewise.
10308 * sysdeps/powerpc/soft-fp/sfp-machine.h
10309 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10310 __sim_round_mode_thread.
10311 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10312 __sim_disabled_exceptions_thread.
10313 (__sim_exceptions): Change to __sim_exceptions_thread.
10314 (__sim_disabled_exceptions): Change to
10315 __sim_disabled_exceptions_thread.
10316 (__sim_round_mode): Change to __sim_round_mode_thread.
10317 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10318 thread-local floating-point state and set global state from it as
10319 needed.
10320 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10321 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10322 (__sim_disabled_exceptions): Remove extern declaration.
10323 (feenableexcept): Use thread-local floating-point state and set
10324 global state from it as needed.
10325 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10326 extern declaration.
10327 (__sim_disabled_exceptions): Likewise.
10328 (__sim_round_mode): Likewise.
10329 (__fegetenv): Use thread-local floating-point state.
10330 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10331 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10332 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10333 floating-point state and set global state from it as needed.
10334 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10335 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10336 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10337 Likewise.
10338 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10339 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10340 Likewise.
10341 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10342 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10343 Use __sim_round_mode_thread.
10344 * math/test-fenv-tls.c: New file.
10345 * math/Makefile (tests): Add test-fenv-tls.
10346 ($(objpfx)test-fenv-tls): Depend on
10347 $(common-objpfx)nptl/libpthread.so.
10348
b5449b12
AS
103492013-11-19 Andreas Schwab <schwab@suse.de>
10350
10351 * locale/programs/locale.c (show_info): Decode wordarray elements.
10352 * locale/categories.def (LC_MONETARY): Add element for
10353 _NL_MONETARY_CRNCYSTR.
10354 * locale/C-monetary.c (conversion_rate): New variable.
10355 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10356 element.
10357
e186536b
CM
103582013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10359
10360 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10361 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10362
5c349950
PP
103632013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10364
10365 * elf/Makefile (tst-auxv): New test.
10366 * elf/tst-auxv.c: New
10367 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10368
699df45b
JM
103692013-11-18 Joseph Myers <joseph@codesourcery.com>
10370
10371 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10372 (hidden_proto): Caller changed.
10373 (hidden_tls_proto): New macro.
10374 (libc_hidden_tls_proto): Likewise.
10375 (rtld_hidden_tls_proto): Likewise.
10376 (libm_hidden_tls_proto): Likewise.
10377 (libresolv_hidden_tls_proto): Likewise.
10378 (librt_hidden_tls_proto): Likewise.
10379 (libdl_hidden_tls_proto): Likewise.
10380 (libnss_files_hidden_tls_proto): Likewise.
10381 (libnsl_hidden_tls_proto): Likewise.
10382 (libnss_nisplus_hidden_tls_proto): Likewise.
10383 (libutil_hidden_tls_proto): Likewise.
10384
b7589107
OB
103852013-11-18 Ondřej Bílka <neleai@seznam.cz>
10386
10387 [BZ #10253]
10388 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10389 (decompose_rpath): Defer expansion to fillin_rpath.
10390 (_dl_init_paths): Pass linkmap to fillin_rpath.
10391
250c23bd
RS
103922013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10393
10394 * benchtests/Makefile: Add strsep.
10395 * benchtests/bench-strsep.c: New file: strsep benchtest.
10396 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10397
a7931fcf
AS
103982013-11-18 Andreas Schwab <schwab@suse.de>
10399
10400 * locale/programs/locale.c (show_info) [case byte]: Check for
10401 '\377' instead of '\177'.
10402 * locale/C-monetary.c (not_available): Always use "\377".
10403 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10404 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10405 detect unavailable sign_posn locale elements.
10406 * locale/localeconv.c (__localeconv): For grouping and
10407 mon_grouping handle "\177" and "\377" like no grouping.
10408 (INT_ELEM): New macro. Use it to set all numeric members.
10409 * locale/programs/ld-monetary.c (monetary_read)
10410 <tok_mon_grouping>: Normalize single -1 to the empty string.
10411 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10412 Likewise.
10413
728dab0e
OB
104142013-11-07 Ondřej Bílka <neleai@seznam.cz>
10415
10416 [BZ #16055]
10417 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10418 when we match (nil).
10419 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10420
66294491
JM
104212013-11-16 Joseph Myers <joseph@codesourcery.com>
10422
ce665817
JM
10423 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10424 (NO_TEST_INLINE): Update value.
10425 (ERRNO_UNCHANGED): Likewise.
10426 (ERRNO_EDOM): Likewise.
10427 (ERRNO_ERANGE): Likewise.
10428 (IGNORE_RESULT): Likewise.
10429 (check_float_internal): Check signs of NaN results if
10430 TEST_NAN_SIGN used.
10431 (check_complex): Pass TEST_NAN_SIGN flag through to second
10432 check_float_internal call.
10433 (copysign_test_data): Add tests with quiet NaNs as second
10434 argument. Use TEST_NAN_SIGN.
10435 (fabs_test_data): Add test of negative quiet NaN argument. Use
10436 TEST_NAN_SIGN.
10437 (signbit_test_data): Add tests of quiet NaN argument.
10438 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10439
ee1466a9
JM
10440 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10441 $ignore_result.
10442 (parse_args): Handle function results specified as IGNORE.
10443 * math/libm-test.inc (IGNORE_RESULT): New macro.
10444 (check_float_internal): Do not check numerical result if flag
10445 IGNORE_RESULT set.
10446 (check_complex): Pass through IGNORE_RESULT to second
10447 check_float_internal call.
10448 (check_int): Do not check numerical result if flag IGNORE_RESULT
10449 set.
10450 (check_long): Likewise.
10451 (check_bool): Likewise.
10452 (check_longlong): Likewise.
10453 (lrint_test_data): Add tests of infinite and NaN arguments.
10454 (lrint_tonearest_test_data): Likewise.
10455 (lrint_towardzero_test_data): Likewise.
10456 (lrint_downward_test_data): Likewise.
10457 (lrint_upward_test_data): Likewise.
10458 (llrint_test_data): Likewise.
10459 (llrint_tonearest_test_data): Likewise.
10460 (llrint_towardzero_test_data): Likewise.
10461 (llrint_downward_test_data): Likewise.
10462 (llrint_upward_test_data): Likewise.
10463 (lround_test_data): Likewise.
10464 (llround_test_data): Likewise.
10465
14407b7e
JM
10466 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10467 (ERRNO_UNCHANGED): Update value.
10468 (ERRNO_EDOM): Likewise.
10469 (ERRNO_ERANGE): Likewise.
10470 (NO_TEST_INLINE_FLOAT): New macro.
10471 (NO_TEST_INLINE_DOUBLE): Likewise.
10472 (enable_test): New function.
10473 (RUN_TEST_f_f): Check enable_test before running test.
10474 (RUN_TEST_2_f): Likewise.
10475 (RUN_TEST_fff_f): Likewise.
10476 (RUN_TEST_c_f): Likewise.
10477 (RUN_TEST_f_f1): Likewise.
10478 (RUN_TEST_fF_f1): Likewise.
10479 (RUN_TEST_fI_f1): Likewise.
10480 (RUN_TEST_ffI_f1): Likewise.
10481 (RUN_TEST_c_c): Likewise.
10482 (RUN_TEST_cc_c): Likewise.
10483 (RUN_TEST_f_i): Likewise.
10484 (RUN_TEST_f_i_tg): Likewise.
10485 (RUN_TEST_ff_i_tg): Likewise.
10486 (RUN_TEST_f_b): Likewise.
10487 (RUN_TEST_f_b_tg): Likewise.
10488 (RUN_TEST_f_l): Likewise.
10489 (RUN_TEST_f_L): Likewise.
10490 (RUN_TEST_fFF_11): Likewise.
10491 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10492 conditionals.
10493 (cosh_test_data): Likewise.
10494 (exp_test_data): Likewise.
10495 (expm1_test_data): Likewise.
10496 (hypot_test_data): Likewise.
10497 (pow_test_data): Likewise.
10498 (sinh_test_data): Likewise.
10499 (tanh_test_data): Likewise.
10500 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10501 flags argument.
10502
ca07f197
JM
10503 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10504 tests with quiet NaN input and output.
10505 (acosh_test_data): Likewise.
10506 (asin_test_data): Likewise.
10507 (asinh_test_data): Likewise.
10508 (atan_test_data): Likewise.
10509 (atanh_test_data): Likewise.
10510 (atan2_test_data): Likewise.
10511 (cbrt_test_data): Likewise.
10512 (cos_test_data): Likewise.
10513 (cosh_test_data): Likewise.
10514 (erf_test_data): Likewise.
10515 (erfc_test_data): Likewise.
10516 (exp_test_data): Likewise.
10517 (exp10_test_data): Likewise.
10518 (exp2_test_data): Likewise.
10519 (expm1_test_data): Likewise.
10520 (hypot_test_data): Likewise.
10521 (j0_test_data): Likewise.
10522 (j1_test_data): Likewise.
10523 (jn_test_data): Likewise.
10524 (lgamma_test_data): Likewise.
10525 (log_test_data): Likewise.
10526 (log10_test_data): Likewise.
10527 (log1p_test_data): Likewise.
10528 (log2_test_data): Likewise.
10529 (pow_test_data): Likewise.
10530 (scalb_test_data): Likewise.
10531 (sin_test_data): Likewise.
10532 (sincos_test_data): Likewise.
10533 (sinh_test_data): Likewise.
10534 (tan_test_data): Likewise.
10535 (tanh_test_data): Likewise.
10536 (tgamma_test_data): Likewise.
10537 (y0_test_data): Likewise.
10538 (y1_test_data): Likewise.
10539 (yn_test_data): Likewise.
10540
66294491
JM
10541 [BZ #16167]
10542 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10543 argument being NaN and avoid computations with second argument in
10544 that case.
10545 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10546 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10547 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10548
1820b143
CL
105492013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10550
10551 * locale/iso-639.def: Add Chitwani Tharu (the).
10552
714bd261
AS
105532013-11-14 Andreas Schwab <schwab@suse.de>
10554
10555 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10556 word instead of empty string.
10557
7ab44563
AZ
105582013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10559
10560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10561 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10563 (__fe_nomask_env): Likewise.
10564
e8470ea2
SE
105652013-11-13 Steve Ellcey <sellcey@mips.com>
10566
10567 * benchtests/bench-timing.h: Include time.h.
10568
17c1d9f0
L
105692013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10570
10571 [BZ #15997]
10572 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10573 to 3.4.0 for x32.
10574 * sysdeps/unix/sysv/linux/configure: Regenerated.
10575
9310c284
JM
105762013-11-13 Joseph Myers <joseph@codesourcery.com>
10577
10578 [BZ #16151]
10579 * stdlib/strtod_l.c (round_and_return): Do not consider
10580 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10581 exponent one less than half the least subnormal exponent.
10582 * stdlib/test-strtod-round-data: Add more tests.
10583 * stdlib/tst-strtod-round.c (tests): Regenerated.
10584
7a2ad8cf
AZ
105852013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10586
10587 [BZ #14143]
10588 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10589 (__fe_mask_env): Likewise.
10590 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10591 libm_hidden_proto and add function prototype.
10592 (__fe_mask_env): Add function prototype.
10593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10594 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10596 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10598 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10599
50727aa7
MS
106002013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10601
b2f386c1 10602 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
10603 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10604
a615be46
MS
106052013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10606
10607 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10608 of htab_find_slot().
10609
7ddace62
DM
106102013-11-11 David S. Miller <davem@davemloft.net>
10611
10612 [BZ #16150]
10613 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10614 symbol in the non-vis3 case in static builds.
10615 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10616 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10617 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10618 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10619
9182aa67
JK
106202013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10621
10622 [BZ #387]
10623 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10624 it is empty.
10625
450a2e2d
AZ
106262013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10627
b2f386c1
SP
10628 * benchtests/Makefile: Add bench-strtod.
10629 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 10630
8ec3f656
AS
106312013-11-11 Andreas Schwab <schwab@suse.de>
10632
10633 [BZ #16153]
10634 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10635 terminating NUL in key length.
10636
76a9b998
AZ
106372013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10638
10639 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10640 Add artificial ODP entry for vDSO symbol for PPC64.
10641 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10642 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10643
e4368156
OB
106442013-11-07 Ondřej Bílka <neleai@seznam.cz>
10645
10646 [BZ #15374]
10647 * nss/getent.c (services_keys): Recognize services starting with digit.
10648
8d6bb57c
DM
106492013-11-06 David S. Miller <davem@davemloft.net>
10650
10651 [BZ #15985]
10652 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10653 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10654
e256c421
WN
106552013-11-06 Will Newton <will.newton@linaro.org>
10656
10657 * manual/memory.texi (Malloc Examples): Remove register
10658 keyword from examples.
10659
f6e12daa 106602013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 10661
f6e12daa 10662 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 10663
9d880655
AS
106642013-11-04 Joseph Myers <joseph@codesourcery.com>
10665
fd2f9486 10666 [BZ #6981]
9d880655
AS
10667 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10668 depending on [__GCC_IEC_559 > 0].
10669 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10670 depending on [__GCC_IEC_559_COMPLEX > 0].
10671
ae129d3c
CL
106722013-11-03 Chris Leonard <cjl@sugarlabs.org>
10673
10674 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10675 to iso-639.def.
10676
4a15c2a4 106772013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
10678
10679 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10680
8b35e35d
OB
106812013-11-01 Ondřej Bílka <neleai@seznam.cz>
10682
10683 [BZ #16112]
10684 * malloc/malloc (malloc_info): Do not handle first bin as
10685 special case.
10686
1d70fd6c
CL
106872013-11-01 Chris Leonard <cjl@sugarlabs.org>
10688
10689 * locale/iso-639.def: Add Central Nahuatl (nhn).
10690
8c5c2600
BH
106912013-11-01 Bruno Haible <bruno@clisp.org>
10692
10693 [BZ #7003]
10694 * manual/math.texi (BSD Random): Specify range upper bound as
10695 in POSIX.
10696
da5579c2
CL
106972013-10-31 Chris Leonard <cjl@sugarlabs.org>
10698
10699 * locale/iso-639.def: Add Meadow Mari (mhr).
10700
5d30d853
OB
107012013-10-31 Ondřej Bílka <neleai@seznam.cz>
10702
10703 [BZ #14752], [BZ #15763]
10704 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10705 Validate name.
10706 * rt/tst_shm.c: Add test for escaping directory.
10707
a4966c61
AS
107082013-10-31 Andreas Schwab <schwab@suse.de>
10709
8a43e768 10710 [BZ #15917]
a4966c61
AS
10711 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10712 followed by 'x' as part of digit sequence.
10713 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10714
28d708c4
MAP
107152013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10716
10717 [BZ #16037]
10718 * configure.ac: allow GNU Make 4.0 and greater.
10719 * configure: Regenerated.
10720
a56ee40b
WN
107212013-10-30 Will Newton <will.newton@linaro.org>
10722
10723 [BZ #16038]
10724 * malloc/hooks.c (memalign_check): Limit alignment to the
10725 maximum representable power of two.
10726 * malloc/malloc.c (__libc_memalign): Likewise.
10727 * malloc/tst-memalign.c (do_test): Add test for very
10728 large alignment values.
10729 * malloc/tst-posix_memalign.c (do_test): Likewise.
10730
c6e4925d
OB
107312013-10-30 Ondřej Bílka <neleai@seznam.cz>
10732
10733 [BZ #11087]
10734 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10735 (munmap_chunk): Likewise.
10736 (mremap_chunk): Likewise.
10737
107382013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 10739
8a43e768 10740 [BZ #15799]
bbea82f7
OB
10741 * stdlib/div.c (div): Remove obsolete code.
10742 * stdlib/ldiv.c (ldiv): Likewise.
10743 * stdlib/lldiv.c (lldiv): Likewise.
10744
977f4b31
SP
107452013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10746
10747 [BZ #16071]
10748 * nss/nss_files/files-XXX.c (get_contents_ret): New
10749 enumerator.
10750 (get_contents): New function.
10751 (internal_getent): Use it. Expand size of LINEBUFLEN.
10752
cb8a6dbd
MF
107532013-10-30 Mike Frysinger <vapier@gentoo.org>
10754
10755 * configure.in: Moved to ...
10756 * configure.ac: ... here. Change reference to configure.in
10757 to configure.ac.
10758 * sysdeps/arm/preconfigure.ac: ... here.
10759 configure.in to configure.ac.
10760 * sysdeps/gnu/configure.in: Moved to ...
10761 * sysdeps/gnu/configure.ac: ... here.
10762 * sysdeps/i386/configure.in: Moved to ...
10763 * sysdeps/i386/configure.ac: ... here.
10764 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10765 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10766 * sysdeps/mach/configure.in: Moved to ...
10767 * sysdeps/mach/configure.ac: ... here.
10768 * sysdeps/mach/hurd/configure.in: Moved to ...
10769 * sysdeps/mach/hurd/configure.ac: ... here.
10770 * sysdeps/powerpc/configure.in: Moved to ...
10771 * sysdeps/powerpc/configure.ac: ... here.
10772 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10773 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10774 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10775 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10776 * sysdeps/s390/s390-32/configure.in: Moved to ...
10777 * sysdeps/s390/s390-32/configure.ac: ... here.
10778 * sysdeps/s390/s390-64/configure.in: Moved to ...
10779 * sysdeps/s390/s390-64/configure.ac: ... here.
10780 * sysdeps/sh/configure.in: Moved to ...
10781 * sysdeps/sh/configure.ac: ... here.
10782 * sysdeps/sparc/configure.in: Moved to ...
10783 * sysdeps/sparc/configure.ac: ... here.
10784 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10785 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10786 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10787 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10788 * sysdeps/x86_64/configure.in: Moved to ...
10789 * sysdeps/x86_64/configure.ac: ... here.
10790 * sysdeps/x86_64/preconfigure.in: Moved to ...
10791 * sysdeps/x86_64/preconfigure.ac: ... here.
10792 * aclocal.m4: Change reference to configure.in to configure.ac.
10793 * config.h.in: Likewise.
10794 * manual/install.texi: Likewise.
10795 * manual/maint.texi: Likewise.
10796 * Makefile: Likewise.
10797 * malloc/Makefile: Likewise.
10798 * nscd/Makefile: Likewise.
10799 * Makeconfig: Change reference to configure.in and
10800 preconfigure.in to configure.ac and preconfigure.ac
10801 respectively.
10802 * INSTALL: Regenerated.
10803 * configure: Likewise.
10804 * sysdeps/gnu/configure: Likewise.
10805 * sysdeps/i386/configure: Likewise.
10806 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10807 * sysdeps/mach/configure: Likewise.
10808 * sysdeps/mach/hurd/configure: Likewise.
10809 * sysdeps/powerpc/configure: Likewise.
10810 * sysdeps/powerpc/powerpc32/configure: Likewise.
10811 * sysdeps/powerpc/powerpc64/configure: Likewise.
10812 * sysdeps/s390/s390-32/configure: Likewise.
10813 * sysdeps/s390/s390-64/configure: Likewise.
10814 * sysdeps/sh/configure: Likewise.
10815 * sysdeps/sparc/configure: Likewise.
10816 * sysdeps/unix/sysv/linux/configure: Likewise.
10817 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10818 * sysdeps/x86_64/configure: Likewise.
10819 * sysdeps/x86_64/preconfigure: Likewise.
10820
36a4953a
AS
108212013-10-29 Andreas Schwab <schwab@suse.de>
10822
10823 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10824
c79a1204
SP
108252013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10826
dfa1b402
SP
10827 * benchtests/pow-inputs: Add new inputs.
10828
54f73d9c
SP
10829 * benchtests/exp-inputs: Add new inputs.
10830
c79a1204
SP
10831 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10832 conditional check for return value.
10833 (__cos32): Likewise.
10834
67beb545 108352013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
10836
10837 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10838 to provide a boost for large inputs with word alignment.
10839 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10840 implementation based on optimized PPC64 strcpy.
10841 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10842 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10843 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10844 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10845
151659f6
OB
108462013-10-25 Ondřej Bílka <neleai@seznam.cz>
10847
482a077e 10848 [BZ #2801]
151659f6
OB
10849 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10850
10b0f26b
OB
108512013-10-25 Ondřej Bílka <neleai@seznam.cz>
10852
10853 [BZ #14876]
10854 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10855 * time/tst-strptime.c (day_tests): Add testcase.
10856
ca42d35e
OB
108572013-10-25 Ondřej Bílka <neleai@seznam.cz>
10858
482a077e 10859 [BZ #14029]
ca42d35e
OB
10860 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10861
52e6d801
FB
108622013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10863
10864 [BZ #16074]
10865 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10866 MAP_FAILED on error.
10867
7cbcdb36
SP
108682013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10869
10870 [BZ #16072]
10871 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10872 heap for large requests.
10873
894f3f10
AM
108742013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10875
10876 [BZ #9954]
10877 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10878 result if the result has no associated interface.
10879 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10880 interface for all 127.X.Y.Z addresses.
10881
b85545a6
CL
108822013-10-24 Chris Leonard <cjl@sugarlabs.org>
10883
10884 * locale/iso-639.def: Add Ligurian (lij)
10885
d1f23d46
OB
108862013-10-21 Ondřej Bílka <neleai@seznam.cz>
10887
10888 [BZ #15825]
10889 * sunrpc/rpc_main.c: Document rpcgen -5.
10890
4db5b08f
MS
108912013-10-19 Michael Stahl <mstahl@redhat.com>
10892
10893 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10894
a471e96a
OB
108952013-10-19 Ondřej Bílka <neleai@seznam.cz>
10896
d1f23d46 10897 [BZ #10278]
a471e96a
OB
10898 * posix/glob.c: Match only directories when trailing slash is present.
10899 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10900 (main): Add testcase.
10901
45c30c61
OB
109022013-10-19 Ondřej Bílka <neleai@seznam.cz>
10903
10904 [BZ #15670]
10905 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10906
484c12fb
CD
109072013-10-18 Carlos O'Donell <carlos@redhat.com>
10908
3d7dc513
CD
10909 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10910 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10911 AUTH_DES and cindex for FIPS 140-2.
10912 (DES Encryption): Add cindex FIPS 46-3.
10913
484c12fb
CD
10914 * locale/locarchive.h (struct locarhandle): Add fname.
10915 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10916 if an optional argument was specified to --list-archive,
10917 otherwise NULL.
10918 * locale/programs/locarchive.c (show_archive_content): Take new
10919 argument fname and pass it via ah.fname to open_archive.
10920 * locale/programs/localedef.h: Update decl.
10921 (open_archive): If AH->fname is non-null, open that file
10922 rather than the default file name, and don't ignore ENOENT.
10923 (create_archive): Set AH.fname to NULL.
10924 (delete_locales_from_archive): Likewise.
10925 (add_locales_to_archive): Likewise.
10926 * locale/programs/locfile.c (write_all_categories): Likewise.
10927
3c8325fb
JM
109282013-10-18 Joseph Myers <joseph@codesourcery.com>
10929 Aldy Hernandez <aldyh@redhat.com>
10930
10931 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10932 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10933 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10934 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10935 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10936 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10937 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10938 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10939 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10940 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10941 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10942 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10943 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10944 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10945 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10946 Likewise.
10947 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10948 Likewise.
10949 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10950 Likewise.
10951 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10952 Likewise.
10953 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10954 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10955 Likewise.
10956 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10957 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10958 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10959 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10960 Likewise.
10961 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10962 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10963 * sysdeps/powerpc/preconfigure: Likewise.
10964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10965 Likewise.
10966 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10967 Replace contents of file by #include of <fenv_libc.h>.
10968 * sysdeps/powerpc/soft-fp/sfp-machine.h
10969 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10970 and <sys/prctl.h>.
10971 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10972 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10973 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10974 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10975 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10976 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10977 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10978 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10979 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10980 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10981 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10982 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10984 Allow copysignl PLT reference to be missing.
10985
5abe0682
RS
109862013-10-18 Richard Sandiford <richard@codesourcery.com>
10987 Joseph Myers <joseph@codesourcery.com
10988
10989 [BZ #15948]
10990 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10991 single character.
10992 (add_to_tablewc): Assert sequence of wide characters is nonempty.
10993
c7738d08
SP
109942013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10995
10996 * elf/tst-tls-dlinfo.c: Don't include tls.h.
10997 * elf/tst-tls1.c: Likewise.
10998 * elf/tst-tls10.h: Likewise.
10999 * elf/tst-tls14.c: Likewise.
11000 * elf/tst-tls2.c: Likewise.
11001 * elf/tst-tls3.c: Likewise.
11002 * elf/tst-tls4.c: Likewise.
11003 * elf/tst-tls5.c: Likewise.
11004 * elf/tst-tls6.c: Likewise.
11005 * elf/tst-tls7.c: Likewise.
11006 * elf/tst-tls8.c: Likewise.
11007 * elf/tst-tls9.c: Likewise.
11008 * elf/tst-tlsmod1.c: Likewise.
11009 * elf/tst-tlsmod13.c: Likewise.
11010 * elf/tst-tlsmod13a.c: Likewise.
11011 * elf/tst-tlsmod14a.c: Likewise.
11012 * elf/tst-tlsmod16a.c: Likewise.
11013 * elf/tst-tlsmod16b.c: Likewise.
11014 * elf/tst-tlsmod2.c: Likewise.
11015 * elf/tst-tlsmod3.c: Likewise.
11016 * elf/tst-tlsmod4.c: Likewise.
11017 * elf/tst-tlsmod5.c: Likewise.
11018 * elf/tst-tlsmod6.c: Likewise.
11019
0bfcf2c7
OB
110202013-10-18 Ondřej Bílka <neleai@seznam.cz>
11021
11022 [BZ #12486]
11023 * malloc/malloc.c: remove checks for statistics.
11024
264aad1e
OB
110252013-10-17 Ondřej Bílka <neleai@seznam.cz>
11026
11027 [BZ #15277]
11028 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11029 * inet/tst-network.c: Add testcase.
11030
b957ced8
AS
110312013-10-17 Andreas Schwab <schwab@suse.de>
11032
11033 [BZ #15218]
11034 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11035 to determine canonical name.
11036
c5d5d574
OB
110372013-10-17 Ondřej Bílka <neleai@seznam.cz>
11038
11039 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11040 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11041 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11042 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11043 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11044 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11045 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11046 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11047 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11048 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11049 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11050 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11051 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11052 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11053 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11054 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11056 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11057 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11058 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11059 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11060 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11061 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11062 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11063 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11064 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11065 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11066 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11067 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11068 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11069 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11070 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11071 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11072 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11073 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11074 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11075 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11076 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11077 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11078 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11079 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11080 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11081 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11082 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11083 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11084 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11085 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11086 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11087 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11088 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11089 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11090 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11091 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11092 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11093 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11094 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11095 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11096 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11097
e5c2c2d0
JM
110982013-10-17 Joseph Myers <joseph@codesourcery.com>
11099
11100 [BZ #16041]
11101 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11102 make result into a quiet NaN.
11103
51ca9e29
JM
111042013-10-16 Joseph Myers <joseph@codesourcery.com>
11105
11106 * soft-fp/adddf3.c: Fix horizontal whitespace.
11107 * soft-fp/addsf3.c: Likewise.
11108 * soft-fp/addtf3.c: Likewise.
11109 * soft-fp/divdf3.c: Likewise.
11110 * soft-fp/divsf3.c: Likewise.
11111 * soft-fp/divtf3.c: Likewise.
11112 * soft-fp/double.h: Likewise.
11113 * soft-fp/eqdf2.c: Likewise.
11114 * soft-fp/eqsf2.c: Likewise.
11115 * soft-fp/eqtf2.c: Likewise.
11116 * soft-fp/extenddftf2.c: Likewise.
11117 * soft-fp/extended.h: Likewise.
11118 * soft-fp/extendsfdf2.c: Likewise.
11119 * soft-fp/extendsftf2.c: Likewise.
11120 * soft-fp/extendxftf2.c: Likewise.
11121 * soft-fp/fixdfdi.c: Likewise.
11122 * soft-fp/fixdfsi.c: Likewise.
11123 * soft-fp/fixdfti.c: Likewise.
11124 * soft-fp/fixsfdi.c: Likewise.
11125 * soft-fp/fixsfsi.c: Likewise.
11126 * soft-fp/fixsfti.c: Likewise.
11127 * soft-fp/fixtfdi.c: Likewise.
11128 * soft-fp/fixtfsi.c: Likewise.
11129 * soft-fp/fixtfti.c: Likewise.
11130 * soft-fp/fixunsdfdi.c: Likewise.
11131 * soft-fp/fixunsdfsi.c: Likewise.
11132 * soft-fp/fixunsdfti.c: Likewise.
11133 * soft-fp/fixunssfdi.c: Likewise.
11134 * soft-fp/fixunssfsi.c: Likewise.
11135 * soft-fp/fixunssfti.c: Likewise.
11136 * soft-fp/fixunstfdi.c: Likewise.
11137 * soft-fp/fixunstfsi.c: Likewise.
11138 * soft-fp/fixunstfti.c: Likewise.
11139 * soft-fp/floatdidf.c: Likewise.
11140 * soft-fp/floatdisf.c: Likewise.
11141 * soft-fp/floatditf.c: Likewise.
11142 * soft-fp/floatsidf.c: Likewise.
11143 * soft-fp/floatsisf.c: Likewise.
11144 * soft-fp/floatsitf.c: Likewise.
11145 * soft-fp/floattidf.c: Likewise.
11146 * soft-fp/floattisf.c: Likewise.
11147 * soft-fp/floattitf.c: Likewise.
11148 * soft-fp/floatundidf.c: Likewise.
11149 * soft-fp/floatundisf.c: Likewise.
11150 * soft-fp/floatunditf.c: Likewise.
11151 * soft-fp/floatunsidf.c: Likewise.
11152 * soft-fp/floatunsisf.c: Likewise.
11153 * soft-fp/floatunsitf.c: Likewise.
11154 * soft-fp/floatuntidf.c: Likewise.
11155 * soft-fp/floatuntisf.c: Likewise.
11156 * soft-fp/floatuntitf.c: Likewise.
11157 * soft-fp/fmadf4.c: Likewise.
11158 * soft-fp/fmasf4.c: Likewise.
11159 * soft-fp/fmatf4.c: Likewise.
11160 * soft-fp/gedf2.c: Likewise.
11161 * soft-fp/gesf2.c: Likewise.
11162 * soft-fp/getf2.c: Likewise.
11163 * soft-fp/ledf2.c: Likewise.
11164 * soft-fp/lesf2.c: Likewise.
11165 * soft-fp/letf2.c: Likewise.
11166 * soft-fp/muldf3.c: Likewise.
11167 * soft-fp/mulsf3.c: Likewise.
11168 * soft-fp/multf3.c: Likewise.
11169 * soft-fp/negdf2.c: Likewise.
11170 * soft-fp/negsf2.c: Likewise.
11171 * soft-fp/negtf2.c: Likewise.
11172 * soft-fp/op-1.h: Likewise.
11173 * soft-fp/op-2.h: Likewise.
11174 * soft-fp/op-4.h: Likewise.
11175 * soft-fp/op-8.h: Likewise.
11176 * soft-fp/op-common.h: Likewise.
11177 * soft-fp/quad.h: Likewise.
11178 * soft-fp/single.h: Likewise.
11179 * soft-fp/soft-fp.h: Likewise.
11180 * soft-fp/sqrtdf2.c: Likewise.
11181 * soft-fp/sqrtsf2.c: Likewise.
11182 * soft-fp/sqrttf2.c: Likewise.
11183 * soft-fp/subdf3.c: Likewise.
11184 * soft-fp/subsf3.c: Likewise.
11185 * soft-fp/subtf3.c: Likewise.
11186 * soft-fp/truncdfsf2.c: Likewise.
11187 * soft-fp/trunctfdf2.c: Likewise.
11188 * soft-fp/trunctfsf2.c: Likewise.
11189 * soft-fp/trunctfxf2.c: Likewise.
11190 * soft-fp/unorddf2.c: Likewise.
11191 * soft-fp/unordsf2.c: Likewise.
11192 * soft-fp/unordtf2.c: Likewise.
11193
9ebb0332
JM
111942013-10-15 Joseph Myers <joseph@codesourcery.com>
11195
11196 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11197 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11198
4b1a6d8b
OB
111992013-10-15 Ondřej Bílka <neleai@seznam.cz>
11200
11201 * elf/dl-libc.c: Clear initfini list after freeing.
11202
1e145589
JM
112032013-10-14 Joseph Myers <joseph@codesourcery.com>
11204
11205 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11206 * soft-fp/addsf3.c: Likewise.
11207 * soft-fp/addtf3.c: Likewise.
11208 * soft-fp/divdf3.c: Likewise.
11209 * soft-fp/divsf3.c: Likewise.
11210 * soft-fp/divtf3.c: Likewise.
11211 * soft-fp/double.h: Likewise.
11212 * soft-fp/eqdf2.c: Likewise.
11213 * soft-fp/eqsf2.c: Likewise.
11214 * soft-fp/eqtf2.c: Likewise.
11215 * soft-fp/extenddftf2.c: Likewise.
11216 * soft-fp/extended.h: Likewise.
11217 * soft-fp/extendsfdf2.c: Likewise.
11218 * soft-fp/extendsftf2.c: Likewise.
11219 * soft-fp/extendxftf2.c: Likewise.
11220 * soft-fp/fixdfdi.c: Likewise.
11221 * soft-fp/fixdfsi.c: Likewise.
11222 * soft-fp/fixdfti.c: Likewise.
11223 * soft-fp/fixsfdi.c: Likewise.
11224 * soft-fp/fixsfsi.c: Likewise.
11225 * soft-fp/fixsfti.c: Likewise.
11226 * soft-fp/fixtfdi.c: Likewise.
11227 * soft-fp/fixtfsi.c: Likewise.
11228 * soft-fp/fixtfti.c: Likewise.
11229 * soft-fp/fixunsdfdi.c: Likewise.
11230 * soft-fp/fixunsdfsi.c: Likewise.
11231 * soft-fp/fixunsdfti.c: Likewise.
11232 * soft-fp/fixunssfdi.c: Likewise.
11233 * soft-fp/fixunssfsi.c: Likewise.
11234 * soft-fp/fixunssfti.c: Likewise.
11235 * soft-fp/fixunstfdi.c: Likewise.
11236 * soft-fp/fixunstfsi.c: Likewise.
11237 * soft-fp/fixunstfti.c: Likewise.
11238 * soft-fp/floatdidf.c: Likewise.
11239 * soft-fp/floatdisf.c: Likewise.
11240 * soft-fp/floatditf.c: Likewise.
11241 * soft-fp/floatsidf.c: Likewise.
11242 * soft-fp/floatsisf.c: Likewise.
11243 * soft-fp/floatsitf.c: Likewise.
11244 * soft-fp/floattidf.c: Likewise.
11245 * soft-fp/floattisf.c: Likewise.
11246 * soft-fp/floattitf.c: Likewise.
11247 * soft-fp/floatundidf.c: Likewise.
11248 * soft-fp/floatundisf.c: Likewise.
11249 * soft-fp/floatunsidf.c: Likewise.
11250 * soft-fp/floatunsisf.c: Likewise.
11251 * soft-fp/floatuntidf.c: Likewise.
11252 * soft-fp/floatuntisf.c: Likewise.
11253 * soft-fp/floatuntitf.c: Likewise.
11254 * soft-fp/fmadf4.c: Likewise.
11255 * soft-fp/fmasf4.c: Likewise.
11256 * soft-fp/fmatf4.c: Likewise.
11257 * soft-fp/gedf2.c: Likewise.
11258 * soft-fp/gesf2.c: Likewise.
11259 * soft-fp/getf2.c: Likewise.
11260 * soft-fp/ledf2.c: Likewise.
11261 * soft-fp/lesf2.c: Likewise.
11262 * soft-fp/letf2.c: Likewise.
11263 * soft-fp/muldf3.c: Likewise.
11264 * soft-fp/mulsf3.c: Likewise.
11265 * soft-fp/multf3.c: Likewise.
11266 * soft-fp/negdf2.c: Likewise.
11267 * soft-fp/negsf2.c: Likewise.
11268 * soft-fp/negtf2.c: Likewise.
11269 * soft-fp/op-1.h: Likewise.
11270 * soft-fp/op-2.h: Likewise.
11271 * soft-fp/op-4.h: Likewise.
11272 * soft-fp/op-8.h: Likewise.
11273 * soft-fp/op-common.h: Likewise.
11274 * soft-fp/quad.h: Likewise.
11275 * soft-fp/single.h: Likewise.
11276 * soft-fp/soft-fp.h: Likewise.
11277 * soft-fp/sqrtdf2.c: Likewise.
11278 * soft-fp/sqrtsf2.c: Likewise.
11279 * soft-fp/sqrttf2.c: Likewise.
11280 * soft-fp/subdf3.c: Likewise.
11281 * soft-fp/subsf3.c: Likewise.
11282 * soft-fp/subtf3.c: Likewise.
11283 * soft-fp/truncdfsf2.c: Likewise.
11284 * soft-fp/trunctfdf2.c: Likewise.
11285 * soft-fp/trunctfsf2.c: Likewise.
11286 * soft-fp/trunctfxf2.c: Likewise.
11287 * soft-fp/unorddf2.c: Likewise.
11288 * soft-fp/unordsf2.c: Likewise.
11289 * soft-fp/unordtf2.c: Likewise.
11290
17c48a60
OB
112912013-10-14 Ondřej Bílka <neleai@seznam.cz>
11292
11293 [BZ #15672]
11294 * misc/error.c (error_tail): Fix possible buffer overflow.
11295
cabba934
OB
112962013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11297
11298 [BZ #13028]
11299 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11300 address.
11301
94bf958a
PM
113022013-10-14 P. J. McDermott <pj@pehjota.net>
11303
11304 [BZ #832]
11305 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11306 testing pipefail option.
11307
71b4dea7
JM
113082013-10-12 Joseph Myers <joseph@codesourcery.com>
11309
11310 * soft-fp/double.h: Indent preprocessor directives inside #if.
11311 * soft-fp/extended.h: Likewise.
11312 * soft-fp/op-2.h: Likewise.
11313 * soft-fp/op-4.h: Likewise.
11314 * soft-fp/op-common.h: Likewise.
11315 * soft-fp/quad.h: Likewise.
11316 * soft-fp/single.h: Likewise.
11317 * soft-fp/soft-fp.h: Likewise.
11318
55602758
YC
113192013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11320
11321 * iconv/iconv_prog.c: Fix typos.
11322 * stdio-common/psiginfo-data.h: Likewise.
11323
9cd83302
RT
113242013-10-12 Reuben Thomas <rrt@sc3d.org>
11325
11326 [BZ #15764]
11327 * locale/setlocale.c: Fix typo.
11328
99fd9f47
JM
113292013-10-12 Joseph Myers <joseph@codesourcery.com>
11330
b7ea74f0
JM
11331 [BZ #16036]
11332 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11333 signaling NaN arguments.
11334 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11335 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11336
8a509447
JM
11337 [BZ #14910]
11338 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11339 unordered operands.
11340 * soft-fp/gesf2.c (__gesf2): Likewise.
11341 * soft-fp/getf2.c (__getf2): Likewise.
11342 * soft-fp/ledf2.c (__ledf2): Likewise.
11343 * soft-fp/lesf2.c (__lesf2): Likewise.
11344 * soft-fp/letf2.c (__letf2): Likewise.
11345
98998e9f
JM
11346 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11347 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11348 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11349 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11350 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11351 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11352 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11353 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11354 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11355 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11356 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11357 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11358 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11359 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11360 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11361 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11362 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11363 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11364 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11365 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11366 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11367 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11368 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11369 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11370 * soft-fp/floattidf.c (__floattidf): Likewise.
11371 * soft-fp/floattisf.c (__floattisf): Likewise.
11372 * soft-fp/floattitf.c (__floattitf): Likewise.
11373 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11374 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11375 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11376 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11377 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11378 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11379 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11380 * soft-fp/gesf2.c (__gesf2): Likewise.
11381 * soft-fp/getf2.c (__getf2): Likewise.
11382 * soft-fp/ledf2.c (__ledf2): Likewise.
11383 * soft-fp/lesf2.c (__lesf2): Likewise.
11384 * soft-fp/letf2.c (__letf2): Likewise.
11385
8edc4a11
JM
11386 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11387 Undefine and redefine.
11388 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11389 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11390 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11391 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11392 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11393 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11394 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11395 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11396 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11397 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11398 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11399 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11400 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11401 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11402 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11403
8399acaf
JM
11404 [BZ #16032]
11405 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11406 without decrementing exponent if mantissa >= that for the
11407 denominator, not >.
11408 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11409 denominator, not >. Decrement exponent in < case instead of
11410 incrementing in >= case.
11411 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11412 without decrementing exponent if mantissa >= that for the
11413 denominator, not >.
11414
99fd9f47
JM
11415 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11416 computing saturated result for unsigned overflow.
11417
10e1cf6b
SP
114182013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11419 Jeff Law <law@redhat.com>
11420
11421 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11422 (atan2Mp): Add systemtap probe marker.
11423 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11424 (__ieee754_log): Add systemtap probe marker.
11425 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11426 (atanMp): Add systemtap probe marker.
11427 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11428 (tanMp): Add systemtap probe marker.
11429 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11430 (__slowexp): Add systemtap probe marker.
11431 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11432 (__slowpow): Add systemtap probe marker.
11433 * manual/probes.texi: Document probes.
11434
3d110c7c
EB
114352013-10-11 Eric Biggers <ebiggers3@gmail.com>
11436
11437 [BZ #15362]
11438 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11439 written.
11440 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11441 written.
11442 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11443 written to buffer but not flushed.
11444 * libio/iofwrite_u.c: Likewise.
11445 * libio/iopadn.c: Return bytes returned even if EOF was
11446 encountered.
11447 * libio/iowpadn.c: Likewise.
11448 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11449 if _IO_padn does not write the whole buffer.
11450 [!COMPILE_WPRINTF] (PAD): Likewise.
11451
75b4202a
DM
114522013-10-10 David S. Miller <davem@davemloft.net>
11453
11454 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11455 directory block.
11456
6c6352e6
JM
114572013-10-10 Joseph Myers <joseph@codesourcery.com>
11458
33b853c3
JM
11459 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11460 instead of FSF address.
11461 * soft-fp/fixdfti.c: Likewise.
11462 * soft-fp/fixsfti.c: Likewise.
11463 * soft-fp/fixtfti.c: Likewise.
11464 * soft-fp/fixunsdfti.c: Likewise.
11465 * soft-fp/fixunssfti.c: Likewise.
11466 * soft-fp/fixunstfti.c: Likewise.
11467 * soft-fp/floattidf.c: Likewise.
11468 * soft-fp/floattisf.c: Likewise.
11469 * soft-fp/floattitf.c: Likewise.
11470 * soft-fp/floatuntidf.c: Likewise.
11471 * soft-fp/floatuntisf.c: Likewise.
11472 * soft-fp/floatuntitf.c: Likewise.
11473 * soft-fp/trunctfxf2.c: Likewise.
11474
6c6352e6
JM
11475 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11476 * soft-fp/fixdfti.c: Likewise.
11477 * soft-fp/fixsfti.c: Likewise.
11478 * soft-fp/fixtfti.c: Likewise.
11479 * soft-fp/fixunsdfti.c: Likewise.
11480 * soft-fp/fixunssfti.c: Likewise.
11481 * soft-fp/fixunstfti.c: Likewise.
11482 * soft-fp/floattidf.c: Likewise.
11483 * soft-fp/floattisf.c: Likewise.
11484 * soft-fp/floattitf.c: Likewise.
11485 * soft-fp/floatuntidf.c: Likewise.
11486 * soft-fp/floatuntisf.c: Likewise.
11487 * soft-fp/floatuntitf.c: Likewise.
11488 * soft-fp/trunctfxf2.c: Likewise.
11489
3bf78b71
DM
114902013-10-10 David S. Miller <davem@davemloft.net>
11491
11492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11493
6f10289e
JM
114942013-10-10 Joseph Myers <joseph@codsourcery.com>
11495
bd878fc0
JM
11496 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11497 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11498 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11499 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11500 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11501 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11502 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11503
6f10289e
JM
11504 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11505 for NaNs before doing comparisons on argument.
11506 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11507 Likewise.
11508
321e2684
WN
115092013-10-10 Will Newton <will.newton@linaro.org>
11510
11511 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11512 passed to _int_memalign does not overflow.
11513
40fefba1
TR
115142013-10-10 Torvald Riegel <triegel@redhat.com>
11515
11516 * scripts/bench.pl: Add include-sources directive.
11517 * benchtests/README: Update documentation.
11518
2ae21ed2
JM
115192013-10-10 Joseph Myers <joseph@codesourcery.com>
11520
dcc2dd3f
JM
11521 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11522 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11523 instead of FP_INIT_ROUNDMODE.
11524 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11525 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11526
2ae21ed2
JM
11527 [BZ #16034]
11528 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11529 copy class of input value.
11530 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11531 not handle exceptions.
11532 * soft-fp/negsf2.c (__negsf2): Likewise.
11533 * soft-fp/negtf2.c (__negtf2): Likewise.
11534 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11535
cb8f9562
JM
115362013-10-09 Joseph Myers <joseph@codesourcery.com>
11537
11538 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11539 semicolon. From Linux kernel.
11540
5b60c59d
AB
115412013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11542
11543 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11544
b86835ca
YC
115452013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11546
11547 [BZ #156]
11548 * manual/socket.texi: Added statement about buffer
11549 for gethostbyname2_r.
11550
e7044ea7
OB
115512013-10-08 Ondřej Bílka <neleai@seznam.cz>
11552
11553 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11554 Use .p2align directive instead, throughout.
11555 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11556 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11557 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11558 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11559 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11560 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11561 * sysdeps/x86_64/strchr.S: Likewise.
11562 * sysdeps/x86_64/strrchr.S: Likewise.
11563
09544cbc
SP
115642013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11565
88576635
SP
11566 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11567
e7b2d1dd
SP
11568 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11569
09544cbc
SP
11570 * sysdeps/generic/math_private.h (__mpsin1): Remove
11571 declaration.
11572 (__mpcos1): Likewise.
11573 (__mpsin): New argument __range_reduce.
11574 (__mpcos): Likewise.
11575 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11576 (slow): Use __mpsin and __mpcos.
11577 (slow1): Likewise.
11578 (slow2): Likewise.
11579 (sloww): Likewise.
11580 (sloww1): Likewise.
11581 (sloww2): Likewise.
11582 (bsloww): Likewise.
11583 (bsloww1): Likewise.
11584 (bsloww2): Likewise.
11585 (cslow2): Likewise.
11586 (csloww): Likewise.
11587 (csloww1): Likewise.
11588 (csloww2): Likewise.
11589 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11590 range_reduce. Merge in __mpsin1.
11591 (__mpcos): Likewise.
11592 (__mpsin1): Remove.
11593 (__mpcos1): Likewise.
11594
7602d070
JM
115952013-10-07 Joseph Myers <joseph@codesourcery.com>
11596
11597 * locale/loadlocale.c (_nl_intern_locale_data): Use
11598 LOCFILE_ALIGNED_P.
11599 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11600 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11601 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11602 obstack data is appropriately aligned.
11603 (obstack_int32_grow_fast): Likewise.
11604 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11605 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11606 (add_locale_uint32_array): Likewise.
11607
a357259b
SP
116082013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11609
11610 * benchtests/Makefile: Remove ARGLIST and RET variables.
11611 ($(objpfx)bench-%.c): Pass only function name to the script.
11612 * benchtests/README: Update documentation.
11613 * benchtests/acos-inputs: Add new directives.
11614 * benchtests/acosh-inputs: Likewise.
11615 * benchtests/asin-inputs: Likewise.
11616 * benchtests/asinh-inputs: Likewise.
11617 * benchtests/atan-inputs: Likewise.
11618 * benchtests/atanh-inputs: Likewise.
11619 * benchtests/cos-inputs: Likewise.
11620 * benchtests/cosh-inputs: Likewise.
11621 * benchtests/exp-inputs: Likewise.
11622 * benchtests/log-inputs: Likewise.
11623 * benchtests/pow-inputs: Likewise.
11624 * benchtests/rint-inputs: Likewise.
11625 * benchtests/sin-inputs: Likewise.
11626 * benchtests/sinh-inputs: Likewise.
11627 * benchtests/tan-inputs: Likewise.
11628 * benchtests/tanh-inputs: Likewise.
11629 * scripts/bench.pl: Add support for new directives.
11630
9ec1b13d
AM
116312013-10-07 Alan Modra <amodra@gmail.com>
11632
11633 * README: Fix careless merge.
11634
8b7d57cd
AM
116352013-10-05 Alan Modra <amodra@gmail.com>
11636
11637 * NEWS: Mention powerpc64le support and bugs fixed.
11638 * README: Both big-endian and little-endian powerpc64 supported.
11639
7b7bab13
ST
116402013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11641
57f41c40
AS
11642 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11643 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
11644 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11645 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11646
d39baad1
RA
116472013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11648
11649 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11650 match prototype.
11651
cd78f7e7
JM
116522013-10-04 Joseph Myers <joseph@codesourcery.com>
11653
29d73d86
JM
11654 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11655 Move -mhard-float appending from
11656 ports/sysdeps/powerpc/powerpc32/Makefile.
11657 [$(with-fp) = yes] (ASFLAGS): Likewise.
11658 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11659 * sysdeps/powerpc/nofpu: Move directory from
11660 ports/sysdeps/powerpc/nofpu.
11661 * sysdeps/powerpc/soft-fp: Move directory from
11662 ports/sysdeps/powerpc/soft-fp.
11663 * sysdeps/powerpc/powerpc32/405: Move directory from
11664 ports/sysdeps/powerpc/powerpc32/405.
11665 * sysdeps/powerpc/powerpc32/440: Move directory from
11666 ports/sysdeps/powerpc/powerpc32/440.
11667 * sysdeps/powerpc/powerpc32/464: Move directory from
11668 ports/sysdeps/powerpc/powerpc32/464.
11669 * sysdeps/powerpc/powerpc32/476: Move directory from
11670 ports/sysdeps/powerpc/powerpc32/476.
11671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11672 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11674 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11676 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11678 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11680 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11681 * README: Update for powerpc-*-linux-gnu software floating point
11682 support in libc.
11683
e246b347
JM
11684 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11685 case to powerpc/powerpc32*.
11686 * sysdeps/unix/sysv/linux/configure: Regenerated.
11687
89c2003e
JM
11688 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11689 (_FPU_MASK_OM): Define as 0x04.
11690 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11691 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11692 0x00c10080.
11693 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11694 0x0000003c.
11695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11696
cd78f7e7
JM
11697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11698 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11699 getcontext_e500.
11700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11701 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11702 setcontext_e500.
11703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11704 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11705 and setcontext_e500.
11706
c755294d
CL
117072013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11708
11709 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11710
e16d221c
SP
117112013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11712
11713 * manual/threads.texi (Default Thread Attributes): Fix typo.
11714
215c7d43
WN
117152013-10-04 Will Newton <will.newton@linaro.org>
11716
11717 * malloc/Makefile: Add tst-memalign.
11718 * malloc/tst-memalign.c: New file.
11719
27d0461b
WN
11720 * malloc/tst-posix_memalign.c: Add comments.
11721 (do_test): Add comments and call free on all potentially
11722 allocated pointers. Add space after cast.
11723
1bc92709
WN
11724 * malloc/tst-pvalloc.c: Add comments.
11725 (do_test): Add comments and call free on all potentially
11726 allocated pointers. Remove duplicate check for NULL pointer.
11727 Add space after cast.
11728
66a9be9d
WN
11729 * malloc/tst-valloc.c: Add comments.
11730 (do_test): Add comments and call free on all potentially
11731 allocated pointers. Remove duplicate check for NULL pointer.
11732 Add space after cast.
11733
4cb81307
AM
117342013-10-04 Alan Modra <amodra@gmail.com>
11735
11736 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11737 Use stdint types in rather than __attribute__((mode())).
11738 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11739
f8e3e9f3
AM
117402013-10-04 Alan Modra <amodra@gmail.com>
11741
11742 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11743 Correct handling of unaligned relocs for little-endian.
11744 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11745
8f9ebb08
AM
117462013-10-04 Alan Modra <amodra@gmail.com>
11747
11748 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11749 * configure: Regenerate.
11750 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11751 * shlib-versions: Likewise.
11752
0edf96c2
AM
117532013-10-04 Alan Modra <amodra@gmail.com>
11754
11755 * string/tester.c (test_memrchr): Increment reported test cycle.
11756
e0f7a380
AM
117572013-10-04 Alan Modra <amodra@gmail.com>
11758
11759 * string/test-memcpy.c (do_one_test): When reporting errors, print
11760 string address and don't overrun end of string.
11761
466b0393
AM
117622013-10-04 Alan Modra <amodra@gmail.com>
11763
11764 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11765 insrdi. Make better use of reg selection to speed exit slightly.
11766 Schedule entry path a little better. Remove useless "are we done"
11767 checks on entry to main loop. Handle wrapping around zero address.
11768 Correct main loop count. Handle single left-over word from main
11769 loop inline rather than by using loop_small. Remove extra word
11770 case in loop_small caused by wrong loop count. Add little-endian
11771 support.
11772 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11773 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11774 cache hint.
11775 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11776 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11777 support. Avoid rlwimi.
11778 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11779
3be87c77
AM
117802013-10-04 Alan Modra <amodra@gmail.com>
11781
11782 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 11783 insrdi. Formatting.
3be87c77
AM
11784 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11785 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11786 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11787 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11788 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11789 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11790
759cfef3
AM
117912013-10-04 Alan Modra <amodra@gmail.com>
11792
11793 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11794 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11795 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11796 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11797 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11798 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11799 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11800 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11801 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11802 use of regs. Use power7 mtocrf. Tidy function tails.
11803
fe6e95d7
AM
118042013-10-04 Alan Modra <amodra@gmail.com>
11805
11806 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11807 Formatting. Consistently use rXXX register defines or rN defines.
11808 Use early exit labels that avoid restoring unused non-volatile regs.
11809 Make cr field use more consistent with rWORDn compares. Rename
11810 regs used as shift registers for unaligned loop, using rN defines
11811 for short lifetime/multiple use regs.
11812 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11813 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11814 addi 1,1,64 to pop stack frame. Simplify return value code.
11815 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11816
664318c3
AM
118172013-10-04 Alan Modra <amodra@gmail.com>
11818
11819 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11820 support. Correct typos, formatting. Optimize tail. Use insrdi
11821 rather than rlwimi.
11822 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11823 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11824 little-endian support. Correct typos.
11825 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11826 rather than rlwimi.
11827 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11828 in loop and entry code to keep "and." results.
11829 (strchr): Add little-endian support. Comment. Move cntlzd
11830 earlier in tail.
11831 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11832
43b84013
AM
118332013-10-04 Alan Modra <amodra@gmail.com>
11834
11835 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11836 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11837 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11838 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11839
8a7413f9
AM
118402013-10-04 Alan Modra <amodra@gmail.com>
11841
11842 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11843 (rTMP): Define as r11.
11844 (strcmp): Add little-endian support. Optimise tail.
11845 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11846 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11847 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11848 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11849 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11850 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11851 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11852
33ee81de
AM
118532013-10-04 Alan Modra <amodra@gmail.com>
11854
11855 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11856 little-endian support. Remove unnecessary "are we done" tests.
11857 Handle "s" wrapping around zero and extremely large "size".
11858 Correct main loop count. Handle single left-over word from main
11859 loop inline rather than by using small_loop. Correct comments.
11860 Delete "zero" tail, use "end_max" instead.
11861 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11862
db9b4570
AM
118632013-10-04 Alan Modra <amodra@gmail.com>
11864
11865 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11866 support. Don't branch over align.
11867 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11868 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11869 support. Rearrange tmp reg use to suit. Comment.
11870 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11871
f7c399cf
AM
118722013-10-04 Alan Modra <amodra@gmail.com>
11873
11874 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11875
0b2c2ace
AM
118762013-10-04 Alan Modra <amodra@gmail.com>
11877
11878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11879 conditional form of branch and link when obtaining pc.
11880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11881
02f04a6c
AM
118822013-10-04 Alan Modra <amodra@gmail.com>
11883
11884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11885 HIWORD/LOWORD.
11886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11888
9b874b2f
AM
118892013-10-04 Alan Modra <amodra@gmail.com>
11890
11891 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11892 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11893 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11894 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11895 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11896 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11897 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11898 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11899 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11900 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11901
be1e5d31
AB
119022013-10-04 Anton Blanchard <anton@au1.ibm.com>
11903 Alistair Popple <alistair@ozlabs.au.ibm.com>
11904 Alan Modra <amodra@gmail.com>
11905
11906 [BZ #15723]
11907 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11908 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11909 _dl_hwcap access for little-endian.
11910 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11911 destroy vmx regs when saving unaligned.
11912 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11913 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11914 destroy vmx regs when saving unaligned.
11915
fef13a78
AM
119162013-10-04 Alan Modra <amodra@gmail.com>
11917
11918 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11919 Don't use a union to pack hi/low value.
11920
76a66d51
AB
119212013-10-04 Anton Blanchard <anton@au1.ibm.com>
11922
11923 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11924 for little-endian.
11925 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11926 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11927 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11928 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11929 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11930
6a31fe7f
AM
119312013-10-04 Alan Modra <amodra@gmail.com>
11932
11933 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11934 constants to usual value for .cst8 section, and remove redundant
11935 high address load.
11936 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11937 constant for 0x1p52. Load little-endian words of double from
11938 correct stack offsets.
11939
7b88401f
AM
119402013-10-04 Alan Modra <amodra@gmail.com>
11941
11942 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11943 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11944 words of double from correct stack offsets.
11945 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11946 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11947 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11948 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11949 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11950 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11951 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11952 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11953 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11954 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11955 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11956 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11957 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11958 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11959 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11960 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11961 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11962
9c008155
AM
119632013-10-04 Alan Modra <amodra@gmail.com>
11964
11965 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11966 64-bit int/double union.
11967 (_FPU_SETCW): Likewise.
11968 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11969 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11970
da13146d
AM
119712013-10-04 Alan Modra <amodra@gmail.com>
11972
11973 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11974 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11975
603e8410
AM
119762013-10-04 Alan Modra <amodra@gmail.com>
11977
11978 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11979 use vector int constants.
11980 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11981
4a28b3ca
AB
119822013-10-04 Anton Blanchard <anton@au1.ibm.com>
11983
11984 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11985 array with long long.
11986 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11987 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11988 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11989 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11990 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11991 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11992 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11993 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11994 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11995 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11996 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11997 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11998 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11999
2ca85d2b
AB
120002013-10-04 Anton Blanchard <anton@au1.ibm.com>
12001
12002 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12003 (__signbit): Likewise. Correct for little-endian.
12004 (__signbitl): Call __signbit.
12005 (lrint): Correct for little-endian.
12006 (lrintf): Call lrint.
12007
62a728ae
AM
120082013-10-04 Alan Modra <amodra@gmail.com>
12009
12010 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12011 union 32-bit int array member with 64-bit int array.
12012 (t515, tm256): Double rather than long double.
12013 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12014
32c301df
AM
120152013-10-04 Alan Modra <amodra@gmail.com>
12016
12017 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12018 Delete.
12019 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12020 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12021 version of math_ldbl.h.
12022
650ef4bd
AM
120232013-10-04 Alan Modra <amodra@gmail.com>
12024
12025 [BZ #15734], [BZ #15735]
12026 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12027 all uses of ieee875 long double macros and unions. Simplify test
12028 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12029 ldbl_extract_mantissa value for ix,iy exponents. Properly
12030 normalize after ldbl_extract_mantissa, and don't add hidden bit
12031 already handled. Don't treat low word of ieee854 mantissa like
12032 low word of IBM long double and mask off bit when testing for
12033 zero.
12034 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12035 all uses of ieee875 long double macros and unions. Simplify tests
12036 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12037 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12038 two1022, instead use their values. Recognise that tests for large
12039 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12040 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12041 Rewrite all uses of ieee875 long double macros and unions. Simplify
12042 test for 0.0L and nan. Correct negation.
12043 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12044 ieee875 long double macros and unions. Correct output for large
12045 magnitude x. Correct absolute value calculation.
12046 (__erfcl): Likewise.
12047 * math/libm-test.inc: Add tests for errors discovered in IBM long
12048 double versions of fmodl, remainderl, erfl and erfcl.
12049
765714ca
AM
120502013-10-04 Alan Modra <amodra@gmail.com>
12051
12052 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12053 all uses of ieee854 long double macros and unions. Simplify tests
12054 for long doubles that are fully specified by the high double.
12055 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12056 Likewise.
12057 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12058 Remove dead code too.
12059 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12060 (__ieee754_ynl): Likewise.
12061 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12062 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12063 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12064 Remove dead code too.
12065 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12066 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12067 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12068 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12069 Simplify.
12070 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12071 Simplify.
12072 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12073 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12074 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12075 Comment on variable precision.
12076 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12077 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12078 Likewise.
12079 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12080 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12081 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12082 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12083 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12084
4ebd120c
AM
120852013-10-04 Alan Modra <amodra@gmail.com>
12086
12087 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12088 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12089 all uses of ieee854 long double macros and unions.
12090 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12091 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12092 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12093 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12094 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12095 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12096 Likewise.
12097 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12098 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12099 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12100 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12101 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12102 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12103 Simplify sign and nan test too.
12104 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12105 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12106 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12107 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12108 Likewise.
12109 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12110 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12111 Likewise.
12112 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12113 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12114 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12115 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12116 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12117 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12118
1b6adf88
AM
121192013-10-04 Alan Modra <amodra@gmail.com>
12120
12121 * stdio-common/printf_size.c (__printf_size): Don't use
12122 union ieee854_long_double in fpnum union.
12123 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12124 signbit macro to retrieve sign from long double.
12125 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12126 retrieve sign from long double.
12127 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12128 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12129 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12130 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12131 * math/test-misc.c (main): Don't use union ieee854_long_double.
12132
4cf69995
AM
121332013-10-04 Alan Modra <amodra@gmail.com>
12134
12135 [BZ #15680]
12136 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12137 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12138 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12139 calculation. Remove unnecessary test for denormal exponent.
12140 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12141 Correct handling of denormals. Avoid undefined shift behaviour.
12142 Correct normalisation of low mantissa when low double is denormal.
12143 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12144 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12145 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12146 Correct normalisation of low mantissa. Test for overflow of high
12147 mantissa and normalise.
12148 (ldbl_nearbyint): Use more readable constant for two52.
12149 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12150 (__mpn_construct_long_double): Fix test for overflow of high
12151 mantissa and correct normalisation. Avoid undefined shift.
12152
9605ca6c
AM
121532013-10-04 Alan Modra <amodra@gmail.com>
12154
12155 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12156 (union ibm_extended_long_double): Define as an array of ieee754_double.
12157 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12158 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12159 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12160 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12161 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12162 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12163 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12164 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12165 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12166 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12167 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12168
975569d0
JM
121692013-10-03 Joseph Myers <joseph@codesourcery.com>
12170
d3d23756
JM
12171 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12172 page size instead of calling getpagesize.
12173
975569d0
JM
12174 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12175 (LOCFILE_ALIGN_MASK): Likewise.
12176 (LOCFILE_ALIGN_UP): Likewise.
12177 (LOCFILE_ALIGNED_P): Likewise.
12178 * locale/programs/ld-collate.c (collate_output): Use the new
12179 macros instead of __alignof__ (int32_t).
12180 * locale/weight.h (findidx): Likewise.
12181
b1fe1f2b
OB
121822013-10-03 Ondřej Bílka <neleai@seznam.cz>
12183
12184 [BZ #431]
12185 * manual/string.texi: Fix strncat and wcsncat.
12186
5f855e35
BM
121872013-10-03 Brooks Moses <bmoses@google.com>
12188
12189 [BZ #15915]
12190 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12191 * Makerules: ...here, and adjust associated comments.
12192
3cef6009
WN
121932013-10-02 Will Newton <will.newton@linaro.org>
12194
12195 * malloc/Makefile: Add tst-pvalloc.
12196 * malloc/tst-pvalloc.c: New file.
12197
7815420b
WN
121982013-10-02 Will Newton <will.newton@linaro.org>
12199
12200 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12201 improve test coverage.
12202
4868b204
WN
122032013-10-02 Will Newton <will.newton@linaro.org>
12204
12205 * malloc/Makefile: Add tst-posix_memalign.
12206 * malloc/tst-posix_memalign.c: New file.
12207
29c793b3
EB
122082013-10-01 Eric Blake <eblake@redhat.com>
12209
12210 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12211 Use __THROWNL rather than __THROW on static functions.
12212
fd967522
PM
122132013-09-30 Petr Machata <pmachata@redhat.com>
12214
12215 * elf/elf.h (R_AARCH64_ABS16): New macro.
12216 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12217 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12218 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12219 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12220 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12221 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12222 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12223 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12224 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12225 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12226 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12227 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12228 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12229 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12230 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12231 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12232 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12233 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12234 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12235 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12236 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12237 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12238 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12239 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12240 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12241 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12242 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12243 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12244 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12245 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12246 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12247 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12248 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12249 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12250 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12251 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12252 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12253 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12254 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12255 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12256 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12257 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12258 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12259 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12260 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12261 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12262 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12263 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12264 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12265 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12266 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12267 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12268 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12269 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12270 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12271 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12272 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12273 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12274 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12275 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12276 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12277 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12278 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12279 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12280 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12281 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12282 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12283 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12284 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12285 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12286 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12287 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12288 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12289 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12290 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12291 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12292 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12293 (R_AARCH64_TLSDESC_LDR): Likewise.
12294 (R_AARCH64_TLSDESC_ADD): Likewise.
12295 (R_AARCH64_TLSDESC_CALL): Likewise.
12296
b2179107
AS
122972013-09-30 Andreas Schwab <schwab@suse.de>
12298
12299 [BZ #15048]
12300 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12301 the nss database lookup.
12302 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12303 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12304
47f28d0a
MF
123052013-09-28 Mike Frysinger <vapier@gentoo.org>
12306
12307 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12308
123092013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
12310
12311 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12312 ${Bash-specific parameter/pattern/string} parameter expansion.
12313 * sysdeps/unix/make-syscalls.sh: Likewise.
12314
f4518a17
KK
123152013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12316
12317 * sysdeps/sh/stackguard-macros.h: New file.
12318
dc1a95c7
OB
123192013-09-26 Ondřej Bílka <neleai@seznam.cz>
12320
12321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12322 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12323 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12324 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12325 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12326 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12327
5ebbff8f
AZ
123282013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12329
12330 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12331 Fix thread ID register.
12332
4fd2cf9f
JM
123332013-09-25 Joseph Myers <joseph@codesourcery.com>
12334
12335 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12336 [POSIX || UNIX98]: Require rather than permitting all symbols from
12337 <time.h>.
12338 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12339 element of struct sched_param.
12340 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12341 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12342 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12343 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12344 constant.
12345
12c22bc4
OL
123462013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12347
12348 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12349 argument calculation.
12350
a03d8ea7
JM
123512013-09-24 Joseph Myers <joseph@codesourcery.com>
12352
12353 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12354 Expect macro.
12355 [POSIX] (pthread_attr_t): Do not require type.
12356 [POSIX] (pthread_cond_t): Likewise.
12357 [POSIX] (pthread_condattr_t): Likewise.
12358 [POSIX] (pthread_key_t): Likewise.
12359 [POSIX] (pthread_mutex_t): Likewise.
12360 [POSIX] (pthread_mutexattr_t): Likewise.
12361 [POSIX] (pthread_once_t): Likewise.
12362 [POSIX] (pthread_t): Likewise.
12363 [POSIX-based standards] (pthread_atfork): Expect function.
12364
6055173a
JM
123652013-09-24 Joseph Myers <joseph@codesourcery.com>
12366 Richard Sandiford <richard@codesourcery.com>
12367
12368 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12369 (swap_endianness_p): New extern variable.
12370 (set_big_endian): New inline function.
12371 (maybe_swap_uint32): Likewise.
12372 (maybe_swap_uint32_array): Likewise.
12373 (maybe_swap_uint32_obstack): Likewise.
12374 * locale/programs/locfile.c: Include <stdbool.h>.
12375 (swap_endianness_p): New variable.
12376 (add_locale_uint32): Call maybe_swap_uint32.
12377 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12378 (write_locale_data): Call maybe_swap_uint32_array.
12379 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12380 maybe_swap_uint32.
12381 (obstack_int32_grow_fast): Likewise.
12382 (output_weightwc): Call maybe_swap_uint32_obstack.
12383 (collate_output): Likewise.
12384 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12385 (OPT_LITTLE_ENDIAN): Likewise.
12386 (options): Add --little-endian and --big-endian options.
12387 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12388 * locale/programs/locarchive.c: Include "locfile.h".
12389 (GET): New macro.
12390 (SET): Likewise.
12391 (INC): Likewise.
12392 (create_archive): Use the new macros to access fields of
12393 structures directly mapped from or written to locale archives.
12394 (oldlocrecentcmp): Likewise.
12395 (enlarge_archive): Likewise.
12396 (insert_name): Likewise.
12397 (add_alias): Likewise.
12398 (add_locale): Likewise.
12399 (delete_locales_from_archive): Likewise.
12400 (show_archive_content): Likewise.
12401 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12402 locale data.
12403
39bf0bb4
RM
124042013-09-24 Roland McGrath <roland@hack.frob.com>
12405
12406 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12407 http://www.gnu.org/doc/freemanuals.texi.
12408 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12409
f02eed10
WN
124102013-09-24 Will Newton <will.newton@linaro.org>
12411
12412 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12413 macro.
12414
a3a6c312
JM
124152013-09-23 Joseph Myers <joseph@codesourcery.com>
12416
12417 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12418 unsigned char.
12419
107375ac
MR
124202013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12421
12422 * manual/threads.texi (POSIX Threads): Fix a typo.
12423
141f3a77
SP
124242013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12425
303e567a
SP
12426 [BZ #14547]
12427 * string/tst-strcoll-overflow.c: New test case.
12428 * string/Makefile (xtests): Add tst-strcoll-overflow.
12429 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12430 cache if string sizes may cause integer overflow.
12431
141f3a77
SP
12432 [BZ #14547]
12433 * string/strcoll_l.c (coll_seq): New members rule, idx,
12434 save_idx and back_us.
12435 (get_next_seq_nocache): New function.
12436 (do_compare_nocache): New function.
12437 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12438 when malloc fails.
12439
c61b4d41
CD
124402013-09-23 Carlos O'Donell <carlos@redhat.com>
12441
0b1f8e35
CD
12442 [BZ #15754]
12443 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12444 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12445 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12446
c61b4d41
CD
12447 [BZ #15754]
12448 * elf/Makefile (tests): Add tst-ptrguard1.
12449 (tests-static): Add tst-ptrguard1-static.
12450 (tst-ptrguard1-ARGS): Define.
12451 (tst-ptrguard1-static-ARGS): Define.
12452 * elf/tst-ptrguard1.c: New file.
12453 * elf/tst-ptrguard1-static.c: New file.
12454 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12455 * sysdeps/i386/stackguard-macros.h: Likewise.
12456 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12457 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12458 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12459 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12460 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12461 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12462
124632013-09-23 Hector Marco <hecmargi@upv.es>
12464 Ismael Ripoll <iripoll@disca.upv.es>
12465 Carlos O'Donell <carlos@redhat.com>
12466
12467 [BZ #15754]
12468 * sysdeps/generic/stackguard-macros.h: Define
12469 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12470 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12471 Define __pointer_chk_guard_local.
12472 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12473 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12474
f5f4e7b4
VV
124752013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12476
12477 [BZ #15859]
12478 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12479
5bb43a43
AS
124802013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12481
12482 * include/string.h (__ffs): Declare as hidden.
12483 * string/ffs.c (__ffs): Define as hidden.
12484 * sysdeps/i386/ffs.c (__ffs): Likewise.
12485 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12486 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12487 * sysdeps/s390/ffs.c (__ffs): Likewise.
12488 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12489
3ea5be54
AO
124902013-09-20 Alexandre Oliva <aoliva@redhat.com>
12491
ffb89e53
AO
12492 * NEWS: Mention malloc probes.
12493
322dea08
AO
12494 * malloc/arena.c (new_heap): New memory_heap_new probe.
12495 (grow_heap): New memory_heap_more probe.
12496 (shrink_heap): New memory_heap_less probe.
12497 (heap_trim): New memory_heap_free probe.
12498 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12499 (systrim): New memory_sbrk_less probe.
12500 * manual/probes.texi: Document them.
12501
655673f3
AO
12502 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12503 * manual/probes.texi: Document it.
12504
35fed6f1
AO
12505 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12506 (__libc_realloc): Add memory_realloc_retry probe.
12507 (__libc_memalign): Add memory_memalign_retry probe.
12508 (__libc_valloc): Add memory_valloc_retry probe.
12509 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12510 (__libc_calloc): Add memory_calloc_retry probe.
12511 * manual/probes.texi: Document them.
12512
6999d38c
AO
12513 * malloc/arena.c (get_free_list): Add probe
12514 memory_arena_reuse_free_list.
12515 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12516 and memory_arena_reuse.
12517 (arena_get2) [!PER_THREAD]: Likewise.
12518 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12519 memory_arena_reuse_realloc.
12520 * manual/probes.texi: Document them.
12521
0653427f
AO
12522 * malloc/malloc.c (__libc_free): Add
12523 memory_mallopt_free_dyn_thresholds probe.
12524 (__libc_mallopt): Add multiple memory_mallopt probes.
12525 * manual/probes.texi: Document them.
12526
3ea5be54
AO
12527 * malloc/malloc.c: Include stap-probe.h.
12528 (__libc_mallopt): Add memory_mallopt probe.
12529 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12530 * manual/probes.texi: New.
12531 * manual/Makefile (chapters): Add probes.
12532 * manual/threads.texi: Set next node.
12533
e35696c3 125342013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 12535
e35696c3
CL
12536 [BZ #15963, #13985]
12537 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12538 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12539 Add `Chinese' to `nan' entry name.
12540
4aafb73c
SP
125412013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12542
12543 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12544 (POLYNOMIAL): Likewise.
12545 (TAYLOR_SINCOS): Likewise.
12546 (TAYLOR_SLOW): Likewise.
12547 (__sin): Use TAYLOR_SINCOS.
12548 (__cos): Likewise.
12549 (slow): Use TAYLOR_SLOW.
12550 (sloww): Likewise.
12551 (bsloww): Likewise.
12552 (csloww): Likewise.
12553
d84f25c7
LD
125542013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12555
12556 * stdlib/strtod_l.c: Fix buffer overrun.
12557
5eea0404
SP
125582013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12559
7849ff93
SP
12560 * benchtests/Makefile (bench): Add sincos.
12561 * benchtests/bench-sincos.c: New file.
12562
cfa3c886
SP
12563 * math/libm-test.inc (cos_test_data): New test inputs.
12564 (sin_test_data): Likewise.
12565
b348e1e3
SP
12566 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12567 macro.
12568 (__sin): Use it.
12569 (__cos): Likewise.
12570 (slow1): Likewise.
12571 (slow2): Likewise.
12572 (sloww1): Likewise.
12573 (sloww2): Likewise.
12574 (bsloww1): Likewise.
12575 (bsloww2): Likewise.
12576 (cslow2): Likewise.
12577 (csloww1): Likewise.
12578 (csloww2): Likewise.
12579
6cce25f8
SP
12580 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12581 function.
12582 (__sin): Use it.
12583 (__cos): Likewise.
12584
5eea0404
SP
12585 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12586 gotos.
12587 (__cos): Likewise.
12588
9c21573c
MR
125892013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12590
12591 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12592 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12593 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12594 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12595 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12596 * elf/cache.c (print_entry): Handle the new cache flags.
12597
24d22e65
JM
125982013-09-18 Joseph Myers <joseph@codesourcery.com>
12599 Aldy Hernandez <aldyh@redhat.com>
12600
12601 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12602 Change condition to [_SOFT_FLOAT].
12603 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12604 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12605 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12607 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12612 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12615 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12617 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12618 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12619 declaration.
12620
d13ef066
JM
126212013-09-18 Joseph Myers <joseph@codesourcery.com>
12622
2e071de0
JM
12623 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12624 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12625 (__longjmp): Use LOAD_GP to load saved GPRs.
12626 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12627 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12628 (__sigsetjmp): Use SAVE_GP to save GPRs.
12629
d13ef066
JM
12630 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12631 Do not append -msoft-float.
12632 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12633
97a0650b
SP
126342013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12635
12636 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12637
11ca09e9
JM
126382013-09-17 Joseph Myers <joseph@codesourcery.com>
12639
12640 [BZ #15966]
12641 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12642 (_FPU_GETCW): Use initial "__" on variable and field names but not
12643 on macro parameter name.
12644 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12645 parentheses around reference to macro parameter.
12646
08ffcf34
RS
126472013-09-13 Richard Sandiford <richard@codesourcery.com>
12648
12649 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12650 prototype.
12651 (ctype_startup): Use uint32_t in cast and sizeof for
12652 ctype->charnames.
12653
ae7080d3
JL
126542013-09-11 Jia Liu <proljc@gmail.com>
12655
12656 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12657 __daddr_t_defined.
12658 [__FreeBSD__]: Likewise.
12659
5905e7b3
OB
126602013-09-11 Ondřej Bílka <neleai@seznam.cz>
12661
12662 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12663 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12664 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12665 (strchr): Remove __strchr_sse42 ifunc selection.
12666 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12667 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12668
b987c776
WN
126692013-09-11 Will Newton <will.newton@linaro.org>
12670
12671 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12672 parameter to RES. Remove hardcoded 1000 value.
12673 * benchtests/bench-skeleton.c (main): Pass RES parameter
12674 to TIMING_INIT and multiply result by 1000.
12675
ddf985af
AZ
126762013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12677
12678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12679
ffdd3181
AS
126802013-09-11 Andreas Schwab <schwab@suse.de>
12681
12682 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12683 if not defined.
12684 (O_TMPFILE) [__USE_GNU]: Define.
12685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12686 Define.
12687
b73ed247
WN
126882013-09-11 Will Newton <will.newton@linaro.org>
12689
12690 [BZ #15857]
12691 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12692 does not overflow.
12693
55e17aad
WN
126942013-09-11 Will Newton <will.newton@linaro.org>
12695
12696 [BZ #15856]
12697 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12698 does not overflow.
12699
1159a193
WN
127002013-09-11 Will Newton <will.newton@linaro.org>
12701
12702 [BZ #15855]
12703 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12704 does not overflow.
12705
5905e7b3 127062013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
12707
12708 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12709 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12710 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12711 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12712 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12713
cdfc721b
AM
127142013-09-10 Allan McRae <allan@archlinux.org>
12715
aa04af00
AM
12716 [BZ #15748]
12717 * manual/arith.texi (Parsing of Floats): Clarify
12718 cross-reference.
12719
cdfc721b
AM
12720 [BZ #15849]
12721 * manual/install.texi (Running make install): Mention
12722 --enable-pt-chown.
12723 * INSTALL: Regenerated.
12724
95e7cf29
MR
127252013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12726
12727 * csu/init-first.c (_init): Remove the !SHARED condition around
12728 FPU control word initialization.
12729 * elf/dl-support.c (_dl_fpu_control): New variable.
12730 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12731 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12732 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12733 * math/test-fpucw-static.c: New file.
12734 * math/test-fpucw-ieee.c: New file.
12735 * math/test-fpucw-ieee-static.c: New file.
12736 * math/Makefile (tests): Add `test-fpucw-ieee' and
12737 `$(tests-static)'.
12738 (tests-static): New variable.
12739 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12740 dependency to...
12741 [($(build-shared),yes)]
12742 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12743 ... this.
12744 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12745 New dependency.
12746
83e43bf0
AM
127472013-09-09 Allan McRae <allan@archlinux.org>
12748
a9f5ce09
AM
12749 [BZ #15939]
12750 * manual/string.texi (Collation Functions): Fix typo in
12751 strcoll example.
12752 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12753
34829bc2
AM
12754 [BZ #15893]
12755 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12756
3932737d
AM
12757 [BZ #15892]
12758 * libio/memstream.c (open_memstream): Fix memory leak.
12759 * libio/wmemstream.c (open_wmemstream): Likewise.
12760
83e43bf0
AM
12761 [BZ #15895]
12762 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12763
0c66b8e9
WN
127642013-09-09 Will Newton <will.newton@linaro.org>
12765
12766 * malloc/Makefile: Add tst-realloc to tests.
12767 * malloc/tst-realloc.c: New file.
12768
f6b00fd1
AM
127692013-09-09 Allan McRae <allan@archlinux.org>
12770
12771 [BZ #15844]
12772 * COPYING: Update from GNU website to fix FSF address.
12773 * COPYING.LIB: Likewise.
12774
eec55e16
DM
127752013-09-06 David S. Miller <davem@davemloft.net>
12776
12777 * po/zh_TW.po: Update Chinese (traditional) translation from
12778 translation project.
12779
1ecbb381
RS
127802013-09-06 Richard Sandiford <richard@codesourcery.com>
12781 Joseph Myers <joseph@codesourcery.com>
12782
12783 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12784 "localeinfo.h".
12785 (obstack_chunk_alloc): New macro.
12786 (obstack_chunk_free): Likewise.
12787 (record_offset): New function.
12788 (init_locale_data): Likewise.
12789 (align_locale_data): Likewise.
12790 (add_locale_empty): Likewise.
12791 (add_locale_raw_data): Likewise.
12792 (add_locale_raw_obstack): Likewise.
12793 (add_locale_string): Likewise.
12794 (add_locale_wstring): Likewise.
12795 (add_locale_uint32): Likewise.
12796 (add_locale_uint32_array): Likewise.
12797 (add_locale_char): Likewise.
12798 (start_locale_structure): Likewise.
12799 (end_locale_structure): Likewise.
12800 (start_locale_prelude): Likewise.
12801 (end_locale_prelude): Likewise.
12802 (write_locale_data): Take locale_file structure rather than an
12803 iovec.
12804 * locale/programs/locfile.h: Include "obstack.h".
12805 (struct locale_file): Change to store locale file contents instead
12806 of header.
12807 (init_locale_data): New prototype.
12808 (align_locale_data): Likewise.
12809 (add_locale_empty): Likewise.
12810 (add_locale_raw_data): Likewise.
12811 (add_locale_raw_obstack): Likewise.
12812 (add_locale_string): Likewise.
12813 (add_locale_wstring): Likewise.
12814 (add_locale_uint32): Likewise.
12815 (add_locale_uint32_array): Likewise.
12816 (add_locale_char): Likewise.
12817 (start_locale_structure): Likewise.
12818 (end_locale_structure): Likewise.
12819 (start_locale_prelude): Likewise.
12820 (end_locale_prelude): Likewise.
12821 (write_locale_data): Update prototype.
12822 * locale/programs/3level.h (struct TABLE): Remove result field.
12823 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12824 Use new locale_file interface.
12825 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12826 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12827 * locale/programs/ld-address.c (address_output): Use new
12828 locale_file interface.
12829 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12830 NO_ADD_LOCALE.
12831 (collate_finish): Don't call collseq_table_finalize.
12832 (collate_output): Use new locale_file interface.
12833 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12834 in file.
12835 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12836 (TABLE): Move defines earlier in file.
12837 (ELEMENT): Likewise.
12838 (DEFAULT): Likewise.
12839 (wctrans_table_add): Move macro and inline function earlier in
12840 file.
12841 (struct wctype_table): Move type earlier in file.
12842 (add_locale_wctype_table): New static prototype.
12843 (struct locale_ctype_t): Use logical types instead of struct iovec
12844 pointers for members.
12845 (ctype_output): Use new locale_file interface.
12846 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12847 new locale_file interface.
12848 (allocate_arrays): Update for use of new locale_file interface.
12849 * locale/programs/ld-identification.c (identification_output): Use
12850 new locale_file interface.
12851 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12852 * locale/programs/ld-messages.c (messages_output): Likewise.
12853 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12854 * locale/programs/ld-name.c (name_output): Likewise.
12855 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12856 * locale/programs/ld-paper.c (paper_output): Likewise.
12857 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12858 * locale/programs/ld-time.c (time_output): Likewise.
12859
e029e2e5
AZ
128602013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12861
12862 * benchtests/Makefile: Add memrchr benchmark.
12863 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12864 benchmark as memrchr.
12865 * benchtests/bench-memrchr-ifunc.c: New file.
12866 * benchtests/bench-memrchr.c: New file.
12867
bbf6e8e4
WN
128682013-09-06 Will Newton <will.newton@linaro.org>
12869
12870 * benchtests/Makefile (string-bench): Add memcpy.
12871
6c82a2f8
CD
128722013-09-05 Carlos O'Donell <carlos@redhat.com>
12873 Cong Wang <amwang@redhat.com>
12874
e732c5f0 12875 [BZ #15850]
6c82a2f8
CD
12876 * sysdeps/unix/sysv/linux/bits/in.h
12877 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12878 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12879 before __USE_KERNEL_IPV6_DEFS uses.
12880 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12881 IPPROTO_BEETPH.
12882 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12883 sockaddr_in6, or ipv6_mreq.
12884
5430fc65
AZ
128852013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12886
12887 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12888 memory access for final bytes in some large inputs.
12889 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12890
4660856c
AZ
128912013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12892
12893 * string/test-memrchr.c: New file.
12894 * string/test-memrchr-ifunc.c: New file.
12895 * string/Makefile: Add new memrchr testcase.
12896
bb8ea713
MF
128972013-09-05 Mike Frysinger <vapier@gentoo.org>
12898
12899 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12900 fanotify_init returns EPERM.
12901
b92a20b5
JM
129022013-09-04 Joseph Myers <joseph@codesourcery.com>
12903
12904 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12905 errors.
12906 (top level): Treat second token from macro or constant entries for
12907 allowed headers as allowed.
12908 * include/complex.h: Condition internal declarations on
12909 [!_ISOMAC].
12910 * include/fenv.h: Condition include of <stdbool.h> and internal
12911 declarations on [!_ISOMAC].
7447ccd9
CL
12912
129132013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12914
3e181dda 12915 [BZ #15923]
7447ccd9
CL
12916 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12917
3f2e46a4
JM
129182013-09-04 Joseph Myers <joseph@codesourcery.com>
12919
12920 * configure.in (--enable-versioning): Remove configure option.
12921 (libc_cv_asm_symver_directive): Remove configure test.
12922 (libc_cv_ld_version_script_option): Likewise.
12923 (VERSIONING): Remove variable and AC_SUBST.
12924 (DO_VERSIONING): Remove AC_DEFINE.
12925 * configure: Regenerated.
12926 * config.h.in (DO_VERSIONING): Remove macro.
12927 * Makerules [$(versioning) = yes]: Change conditionals to
12928 [$(build-shared) = yes].
12929 * config.make.in (versioning): Remove variable.
12930 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12931 [$(build-shared) = yes].
12932 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12933 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12934 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12935 [$(build-shared) = yes].
12936 * extra-lib.mk [$(versioning) = yes]: Likewise.
12937 * hurd/Makefile [$(versioning) = yes]: Likewise.
12938 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12939 [SHARED].
12940 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12941 [SHARED].
12942 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12943 [SHARED && !NO_HIDDEN].
12944 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12945 [SHARED].
12946 [SHARED && DO_VERSIONING]: Likewise..
12947 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12948 [$(build-shared) = yes].
12949 * manual/install.texi (--disable-versioning): Remove
12950 documentation.
12951 * INSTALL: Regenerated.
12952 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12953 to [SHARED].
12954 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12955 [$(build-shared) = yes].
12956 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12957 * sysdeps/i386/i686/multiarch/strstr-c.c
12958 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12959 [SHARED && !NO_HIDDEN].
12960 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12961 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12962 * sysdeps/powerpc/powerpc32/dl-machine.c
12963 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12964 * sysdeps/powerpc/powerpc32/sysdep.h
12965 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12966 to [SHARED && PIC && !NO_HIDDEN].
12967 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12968 conditional to [SHARED].
12969
44558701
WN
129702013-09-04 Will Newton <will.newton@linaro.org>
12971
12972 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12973 * benchtests/bench-string.h: Include bench-timing.h instead
12974 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12975 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12976 call to HP_TIMING_DIFF_INIT.
12977 * benchtests/bench-memccpy.c: Use bench-timing.h macros
12978 instead of hp-timing.h macros.
12979 * benchtests/bench-memchr.c: Likewise.
12980 * benchtests/bench-memcmp.c: Likewise.
12981 * benchtests/bench-memcpy.c: Likewise.
12982 * benchtests/bench-memmem.c: Likewise.
12983 * benchtests/bench-memmove.c: Likewise.
12984 * benchtests/bench-memset.c: Likewise.
12985 * benchtests/bench-rawmemchr.c: Likewise.
12986 * benchtests/bench-strcasecmp.c: Likewise.
12987 * benchtests/bench-strcasestr.c: Likewise.
12988 * benchtests/bench-strcat.c: Likewise.
12989 * benchtests/bench-strchr.c: Likewise.
12990 * benchtests/bench-strcmp.c: Likewise.
12991 * benchtests/bench-strcpy.c: Likewise.
12992 * benchtests/bench-strcpy_chk.c: Likewise.
12993 * benchtests/bench-strlen.c: Likewise.
12994 * benchtests/bench-strncasecmp.c: Likewise.
12995 * benchtests/bench-strncat.c: Likewise.
12996 * benchtests/bench-strncmp.c: Likewise.
12997 * benchtests/bench-strncpy.c: Likewise.
12998 * benchtests/bench-strnlen.c: Likewise.
12999 * benchtests/bench-strpbrk.c: Likewise.
13000 * benchtests/bench-strrchr.c: Likewise.
13001 * benchtests/bench-strspn.c: Likewise.
13002 * benchtests/bench-strstr.c: Likewise.
13003
cae16d66
WN
130042013-09-04 Will Newton <will.newton@linaro.org>
13005
13006 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13007
ffa3cd7f
JM
130082013-09-03 Joseph Myers <joseph@codesourcery.com>
13009
13010 [BZ #15427]
13011 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13012 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13013 * math/libm-test.inc (lgamma_test_data): Add more tests.
13014 * sysdeps/i386/fpu/libm-test-ulps: Update.
13015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13016
8f02859f
OB
130172013-09-03 Ondřej Bílka <neleai@seznam.cz>
13018
13019 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13020 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13021 Add ifunc.
13022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13023 Add strcmp-sse2-unaligned
13024 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13025
18d43716
MF
130262013-09-02 Mike Frysinger <vapier@gentoo.org>
13027
13028 * Versions.def (libc): Add GLIBC_2.19.
13029
ac444012
MF
130302013-09-02 Mike Frysinger <vapier@gentoo.org>
13031
13032 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13033 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13034
b7835e32
JM
130352013-09-02 Joseph Myers <joseph@codesourcery.com>
13036
13037 [BZ #14155]
13038 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13039 intermediate calculations in recurrence.
13040 (__ieee754_ynf): Likewise.
13041 * math/libm-test.inc (jn_test_data): Do not allow spurious
13042 underflow exception. Add more tests.
13043 (yn_test_data): Add more tests.
13044 * sysdeps/i386/fpu/libm-test-ulps: Update.
13045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13046
8220f4f0
OB
130472013-09-02 Ondřej Bílka <neleai@seznam.cz>
13048
13049 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13050
f24a6d08
OB
130512013-08-30 Ondřej Bílka <neleai@seznam.cz>
13052
13053 * csu/init-first.c: Fix then/than typos.
13054 * locale/programs/ld-collate.c: Likewise.
13055 * locale/programs/linereader.h: Likewise.
13056 * manual/charset.texi: Likewise.
13057 * manual/filesys.texi: Likewise.
13058 * manual/stdio.texi: Likewise.
13059 * manual/string.texi: Likewise.
13060 * stdlib/fmtmsg.c: Likewise.
13061 * sysdeps/i386/stpncpy.S: Likewise.
13062 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13063 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13064 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13065 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13066
382466e0
OB
130672013-08-30 Ondřej Bílka <neleai@seznam.cz>
13068
13069 * elf/dl-open.c: Fix typos.
13070 * iconvdata/gbbig5.c: Likewise.
13071 * iconvdata/iso-2022-jp.c: Likewise.
13072 * iconv/gconv_int.h: Likewise.
13073 * iconv/loop.c: Likewise.
13074 * nis/rpcsvc/nis.h: Likewise.
13075 * resolv/ns_name.c: Likewise.
13076 * stdio-common/vfscanf.c: Likewise.
13077 * streams/stropts.h: Likewise.
13078 * sunrpc/rpc_thread.c: Likewise.
13079 * sysdeps/i386/strpbrk.S: Likewise.
13080 * sysdeps/ieee754/k_standard.c: Likewise.
13081 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13082 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13083 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13084 * sysdeps/mach/hurd/profil.c: Likewise.
13085 * sysdeps/s390/dl-procinfo.h: Likewise.
13086 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13087 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13088 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13089 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13090 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13091
0186c6e9
OB
130922013-08-30 Ondřej Bílka <neleai@seznam.cz>
13093
13094 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13095 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13096
d4e16af1
OB
130972013-08-29 Ondřej Bílka <neleai@seznam.cz>
13098
13099 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13100 aix specific files.
13101 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13102 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13103 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13104 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13105 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13106 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13107 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13108 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13109
88335980
TS
131102013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13111 Roland McGrath <roland@hack.frob.com>
13112
13113 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13114 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13115
ed479b02
ST
131162013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13117
13118 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13119 __executable_start symbol instead of _start.
13120
f1cc4c86
TS
131212013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13122
d821f07c
TS
13123 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13124 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13125 Move macros to...
13126 * sysdeps/gnu/ldsodefs.h: ... this new file.
13127
c54290cf
TS
13128 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13129 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13130 instead of ELFOSABI_LINUX.
13131
0007fc9b 13132 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
13133 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13134 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13135 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13136 Likewise.
13137 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13138 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13139 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13140 Likewise.
13141 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13142 (ibm_extended_long_double): Add ieee_nan member.
13143 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13144 (do_test): New function.
13145
f1cc4c86
TS
13146 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13147 TEST_TRUNC.
13148 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13149 functions, renamed from truncdfsf_test, trunctfsf_test,
13150 trunctfdf_test.
13151 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13152 functions.
13153 (do_test): Run all these.
13154
6f65e668
OB
131552013-08-29 Ondřej Bílka <neleai@seznam.cz>
13156
13157 * argp/argp-help.c: Fix typos.
13158 * argp/argp-parse.c: Likewise.
13159 * debug/backtracesyms.c: Likewise.
13160 * elf/elf.h: Likewise.
13161 * malloc/malloc.c: Likewise.
13162 * nis/nis_print.c: Likewise.
13163 * resolv/res_comp.c: Likewise.
13164 * stdlib/stdlib.h: Likewise.
13165 * sunrpc/clnt_tcp.c: Likewise.
13166 * sunrpc/clnt_udp.c: Likewise.
13167 * sunrpc/clnt_unix.c: Likewise.
13168 * sysdeps/unix/bsd/ptsname.c: Likewise.
13169 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13170 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
13171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13172 Likewise.
13173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13174 Likewise.
13175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13176 Likewise.
6f65e668
OB
13177 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13178
3a309239
SP
131792013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13180
13181 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13183
3b813b29
MF
131842013-08-27 Mike Frysinger <vapier@gentoo.org>
13185
13186 [BZ #15897]
13187 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13188 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13189 ($(objpfx)bug-dl-leaf): New rule.
13190 ($(objpfx)bug-dl-leaf.so): Likewise.
13191 ($(objpfx)bug-dl-leaf.out): Likewise.
13192 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13193 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13194 * dlfcn/bug-dl-leaf.c: New test.
13195 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13196 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13197 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13198 (dlclose): Likewise.
13199 (dlmopen): Likewise.
13200
8cc3269f
RM
132012013-08-27 Roland McGrath <roland@hack.frob.com>
13202
7f9d0034
RM
13203 * include/netdb.h [!_ISOMAC]:
13204 Don't include <tls.h>.
13205 (h_errno, __libc_h_errno): Move declaration and macros out of
13206 [_LIBC_REENTRANT].
13207
fb431262
RM
13208 * include/resolv.h [_RESOLV_H_]:
13209 Don't include <tls.h>.
13210 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13211 * resolv/res_libc.c: Don't include <tls.h>.
13212 (_res): Use __attribute__ ((nocommon)) in place of
13213 __attribute__ ((section (".bss"))).
13214
bd81123a
RM
13215 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13216 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13217
c4e42566
RM
13218 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13219
f890a59b
RM
13220 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13221 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13222
13223 * resolv/res_mkquery.c: Include <sys/time.h>.
13224
5d1f0a09
RM
13225 * inet/ifreq.c: Moved to ...
13226 * sysdeps/unix/ifreq.c: ... here.
13227 * inet/ifreq.c: New file, true stub version.
13228
6fcf28b3
RM
13229 * socket/sa_len.c: New file.
13230 * socket/Makefile (aux): Add it.
13231 * sysdeps/unix/sysv/linux/Makefile
13232 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13233 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13234 and #include <socket/sa_len.c>.
13235 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13236 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13237
e041fb8b
RM
13238 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13239 * bits/socket.h: ... here.
13240
8cc3269f
RM
13241 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13242 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13243 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13244
5d228a43
AS
132452013-08-27 Andreas Schwab <schwab@suse.de>
13246
45b8accc
AS
13247 [BZ #15736]
13248 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13249 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13250 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13251 * string/test-strcasecmp.c (test_main): Run tests in several
13252 locales.
13253 * string/test-strncasecmp.c (test_main): Likewise.
13254
5d228a43
AS
13255 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13256 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13257 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13258 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13259 (__strncasecmp_ssse3) [PIC]: Likewise.
13260
59d112a4
RM
132612013-08-26 Roland McGrath <roland@hack.frob.com>
13262
53234cc3
RM
13263 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13264
59d112a4
RM
13265 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13266 instead of explicitly declaring xdecrypt.
13267 * nis/nss_nis/nis-publickey.c: Likewise.
13268
595aba70
SP
132692013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13270
13271 [BZ #15890]
13272 * nscd/aicache.c: Include res_hconf.h.
13273 (addhstaiX): Initialize res_hconf.
13274
ffabd393
AS
132752013-08-26 Andreas Schwab <schwab@suse.de>
13276
13277 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13278 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13279
e0a69f5c
SP
132802013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13281
13282 * nscd/aicache.c (addhstaiX): Fix indentation.
13283
8c12f01d
MF
132842013-08-25 Mike Frysinger <vapier@gentoo.org>
13285
13286 * configure.ac: Quote $build_pt_chown test.
13287 * configure: Regenerated.
13288
8fe89494
JM
132892013-08-23 Joseph Myers <joseph@codesourcery.com>
13290
13291 [BZ #15532]
13292 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13293 * math/s_cexpf.c (__cexpf): Likewise.
13294 * math/s_cexpl.c (__cexpl): Likewise.
13295 * math/libm-test.inc (cexp_test_data): Correct expected return
13296 value for NaN + i0. Add another test.
13297
75b181d6
DM
132982013-08-22 David S. Miller <davem@davemloft.net>
13299
13300 * po/ca.po: Update Catalan translation from translation project.
936241e4 13301 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 13302
acd06bb1
JM
133032013-08-21 Joseph Myers <joseph@codesourcery.com>
13304
13305 [BZ #15797]
13306 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13307 is infinite, not alongside NaN test.
13308 * math/s_fdimf.c (__fdimf): Likewise.
13309 * math/s_fdiml.c (__fdiml): Likewise.
13310 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13311 errno is unchanged.
13312
c0c3f78a
OB
133132013-08-21 Ondřej Bílka <neleai@seznam.cz>
13314
13315 * argp/argp-help.c: Fix typos.
13316 * crypt/speeds.c: Likewise.
13317 * csu/check_fds.c: Likewise.
13318 * elf/dl-load.c: Likewise.
13319 * elf/dl-open.c: Likewise.
13320 * elf/reldep3.c: Likewise.
13321 * elf/reldep.c: Likewise.
13322 * elf/sprof.c: Likewise.
13323 * iconv/iconv_charmap.c: Likewise.
13324 * iconv/skeleton.c: Likewise.
13325 * iconv/strtab.c: Likewise.
13326 * io/lockf64.c: Likewise.
13327 * libio/libioP.h: Likewise.
13328 * resolv/gai_notify.c: Likewise.
13329 * resolv/ns_name.c: Likewise.
13330 * resolv/ns_samedomain.c: Likewise.
13331 * resolv/res_send.c: Likewise.
13332 * stdlib/random.c: Likewise.
13333 * sunrpc/rpc/xdr.h: Likewise.
13334 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13335 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13336 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13337 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13338 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13339 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13340 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13341 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13342 * sysdeps/mach/hurd/check_fds.c: Likewise.
13343 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13344 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13345 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13346 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13347 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13348 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13349 * sysdeps/pthread/aio_notify.c: Likewise.
13350 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13351 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13352 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13353 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13354 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13355
46ed1038
LD
133562013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13357
13358 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13359 version if bit_Slow_SSE4_2 is set.
13360 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13361 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13362
d400dcac
AZ
133632013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13364
13365 [BZ #15867]
13366 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13367 trampoline stack frame information.
13368 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13369 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13370 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13371 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13372 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13373 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13374 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13375 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13376 sa_flags value.
13377 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13378 interrupting a syscall and set with option SA_SIGINFO.
13379
42c8fdd8
JM
133802013-08-20 Joseph Myers <joseph@codesourcery.com>
13381
c980f2f4
JM
13382 [BZ #15531]
13383 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13384 argument is infinite.
13385 * math/s_cprojf.c (__cprojf): Likewise.
13386 * math/s_cprojl.c (__cprojl): Likewise.
13387 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13388 * math/libm-test.inc (cproj_test_data): Add more tests.
13389
0716c4fc
JM
13390 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13391
42c8fdd8
JM
13392 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13393 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13394 size. Use __ffs to determine corresponding shift.
13395
b31469d0
JM
133962013-08-20 Joseph Myers <joseph@codesourcery.com>
13397 Roland McGrath <roland@hack.frob.com>
13398
13399 * Makefile (INSTALL): Remove trailing blank lines from output of
13400 makeinfo.
13401
4e39af6e
AK
134022013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13403
13404 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13405 Align 32 bit compat elf_greg to 8 bytes.
13406
f315524e
AA
134072013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13408
13409 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13410
1326ba1a
SP
134112013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13412
13413 * string/strcoll_l.c (coll_seq): New structure.
13414 (get_next_seq_cached): New function.
13415 (get_next_seq): New function.
13416 (do_compare): New function.
13417 (STRCOLL): Use GNU style definition. Simplify implementation
13418 by using get_next_seq, get_next_seq_cached and do_compare.
13419
91ce4085
FW
134202013-08-16 Florian Weimer <fweimer@redhat.com>
13421
13422 [BZ #14699]
13423 CVE-2013-4237
13424 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13425 member.
13426 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13427 member.
13428 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13429 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13430 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13431 conditional.
13432 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13433 GETDENTS_64BIT_ALIGNED.
13434 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13435 * manual/filesys.texi (Reading/Closing Directory): Document
13436 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13437 strongly.
13438 * manual/conf.texi (Limits for Files): Add portability note to
13439 NAME_MAX, PATH_MAX.
13440 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13441
ca0a6bc4
AS
134422013-08-13 Andreas Schwab <schwab@suse.de>
13443
13444 [BZ #15749]
13445 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13446 of fabs.
13447 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13448 LDBL_MAX_EXP >= 16384]: Add tests for it.
13449
6c1fd795
DM
134502013-08-12 David S. Miller <davem@davemloft.net>
13451
13452 * version.h (RELEASE): Set to "development".
13453 (VERSION): Set to "2.18.90".
13454 * NEWS: Add 2.19 section.
13455
31ad488d
DM
134562013-08-03 David S. Miller <davem@davemloft.net>
13457
13458 * po/ko.po: Update Korean translation from translation project.
13459
db24e684
DM
134602013-08-01 David S. Miller <davem@davemloft.net>
13461
13462 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13463 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13464 Bilka.
13465
f723285b
DM
134662013-07-30 David S. Miller <davem@davemloft.net>
13467
13468 * po/fr.po: Update French translation from translation project.
13469
3cbc52db
DM
134702013-07-28 David S. Miller <davem@davemloft.net>
13471
30bbc0cc
DM
13472 * po/cs.po: Update Czech translation from translation project.
13473
3cbc52db
DM
13474 * po/sv.po: Update Swedish translation from translation project.
13475
d492e6d0
DM
134762013-07-27 David S. Miller <davem@davemloft.net>
13477
f1a7f492
DM
13478 * po/eo.po: Update Esperanto translation from translation project.
13479
90e62a4a
DM
13480 * po/vi.po: Update Vietnamese translation from translation project.
13481
d492e6d0
DM
13482 * po/de.po: Update German translation from translation project.
13483
d4baa62d
DM
134842013-07-26 David S. Miller <davem@davemloft.net>
13485
641aa7b4
DM
13486 * po/bg.po: Update Bulgarian translation from translation project.
13487
d4baa62d
DM
13488 * po/nl.po: Update Dutch translation from translation project.
13489 * po/pl.po: Update Polish translation from translation project.
13490 * po/ru.po: Update Russian translation from translation project.
13491
61a9dcb9
DM
134922013-07-24 David S. Miller <davem@davemloft.net>
13493
13494 * po/libc.pot: Update.
13495
7b1f8b58
AZ
134962013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13497
13498 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13499 variable page size.
13500 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13501 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13502 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13503
a8fc7a03
AK
135042013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13505
13506 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13507
e4608715
CD
135082013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13509 Andreas Schwab <schwab@suse.de>
13510 Roland McGrath <roland@hack.frob.com>
13511 Joseph Myers <joseph@codesourcery.com>
13512 Carlos O'Donell <carlos@redhat.com>
13513
13514 [BZ #15755]
13515 * config.h.in: Define HAVE_PT_CHOWN.
13516 * config.make.in (build-pt-chown): New variable.
13517 * configure.in (--enable-pt_chown): New configure option.
13518 * configure: Regenerate.
13519 * login/Makefile: Include Makeconfig. Build pt_chown only if
13520 build-pt-chown is enabled.
13521 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13522 pt_chown to fix pty ownership.
13523 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13524 CLOSE_ALL_FDS.
13525 * manual/install.texi (Configuring and compiling): Mention
13526 --enable-pt_chown. Add @findex for grantpt.
13527 * INSTALL: Regenerate.
13528
da2d62df
DM
135292013-07-20 David S. Miller <davem@davemloft.net>
13530
13531 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13532 difference between 32-bit and 64-bit.
13533
d7e06450
CD
135342013-07-15 Carlos O'Donell <carlos@redhat.com>
13535
13536 [BZ #15711]
13537 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13538 Avoid system header dependency with -ffreestanding.
13539 ($(objpfx)bits/syscall%d): Likewise.
13540
f959cfd7
DM
135412013-07-13 David S. Miller <davem@davemloft.net>
13542
13543 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13544 underflows from atanl/atan2l due to bug 15319.
13545 (casinh_test_data): Likewise.
13546
c61f8513
DM
135472013-07-07 David S. Miller <davem@davemloft.net>
13548
13549 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13550
72c90ed0
JA
135512013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13552
13553 * sysdeps/i386/fpu/libm-test-ulps: Update.
13554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13555
52dfbe13
SP
135562013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13557
13558 * configure.in (--enable-lock-elision): Fix message text.
13559 * INSTALL: Regenerate.
13560 * configure: Regenerate.
13561
3f169543
AZ
135622013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13563
13564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13565
521c6785
AJ
135662013-07-03 Andreas Jaeger <aj@suse.de>
13567
13568 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13569 define.
13570 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13571 (ptrace_peeksiginfo_args): Add.
13572 (__ptrace_peeksiginfo_flags): Add.
13573 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13574 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13575 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13576
d2cc15cb
AM
135772013-07-03 Allan McRae <allan@archlinux.org>
13578
13579 * sysdeps/i386/fpu/libm-test-ulps: Update.
13580
3aaeeca7
DM
135812013-07-02 David S. Miller <davem@davemloft.net>
13582
13583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13584
5314ed1a
MT
135852013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13586
13587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13588
67338156
JM
135892013-07-02 Joseph Myers <joseph@codesourcery.com>
13590
13591 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13593
1717da59
AK
135942013-07-02 Andi Kleen <ak@linux.intel.com>
13595
13596 * config.h.in (ENABLE_LOCK_ELISION): Add.
13597 * configure.in (--enable-lock-elision): Add option.
13598 * manual/install.texi: Document --enable lock elision.
13599 * configure: Regenerate
13600 * INSTALL: Regenerate.
13601
1c81621c
L
136022013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13603
13604 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13605 SSE4.2 strcasecmp for libc.a.
13606 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13607
77f01ab5
JM
136082013-07-02 Joseph Myers <joseph@codesourcery.com>
13609
13610 [BZ #13304]
13611 * soft-fp/op-common.h (_FP_FMA): New macro.
13612 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13613 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13614 (_FP_MUL_MEAT_1_imm): ... here.
13615 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13616 (_FP_MUL_MEAT_1_wide): ... here.
13617 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13618 (_FP_MUL_MEAT_1_hard): ... here.
13619 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13620 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13621 (_FP_MUL_MEAT_2_wide): ... here.
13622 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13623 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13624 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13625 (_FP_MUL_MEAT_2_gmp): ... here.
13626 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13627 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13628 (_FP_MUL_MEAT_4_wide): ... here.
13629 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13630 (_FP_MUL_MEAT_4_gmp): ... here.
13631 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13632 (_FP_WFRACBITS_DW_S): Likewise.
13633 (_FP_WFRACXBITS_DW_S): Likewise.
13634 (_FP_HIGHBIT_DW_S): Likewise.
13635 (FP_FMA_S): Likewise.
13636 (_FP_FRAC_HIGH_DW_S): Likewise.
13637 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13638 (_FP_WFRACBITS_DW_D): Likewise.
13639 (_FP_WFRACXBITS_DW_D): Likewise.
13640 (_FP_HIGHBIT_DW_D): Likewise.
13641 (FP_FMA_D): Likewise.
13642 (_FP_FRAC_HIGH_DW_D): Likewise.
13643 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13644 (_FP_WFRACBITS_DW_E): Likewise.
13645 (_FP_WFRACXBITS_DW_E): Likewise.
13646 (_FP_HIGHBIT_DW_E): Likewise.
13647 (FP_FMA_E): Likewise.
13648 (_FP_FRAC_HIGH_DW_E): Likewise.
13649 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13650 (_FP_WFRACBITS_DW_Q): Likewise.
13651 (_FP_WFRACXBITS_DW_Q): Likewise.
13652 (_FP_HIGHBIT_DW_Q): Likewise.
13653 (FP_FMA_Q): Likewise.
13654 (_FP_FRAC_HIGH_DW_Q): Likewise.
13655 * soft-fp/fmasf4.c: New file.
13656 * soft-fp/fmadf4.c: Likewise.
13657 * soft-fp/fmatf4.c: Likewise.
13658
6308fd9a
LD
136592013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13660
13661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13662 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13663 Silvermont.
13664 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13665 macro.
13666 (index_Slow_SSE4_2): Likewise.
13667 (index_Prefer_PMINUB_for_stringop): Likewise.
13668 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13669 bit_Slow_SSE4_2 is set.
13670 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13671 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13672
89cd9569
RA
136732013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13674
13675 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13676 rtld_global._dl_hwcap2.
13677 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13678 POWER8.
13679 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13680 POWER8 feature descriptions defined in _dl_hwcap2.
13681 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13682 string handling for POWER8 feature bits.
13683 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13684 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13685 _dl_powerpc_cap_flags.
13686 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13687 * sysdeps/powerpc/rtld-global-offsets.sym
13688 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13689 _dl_hwcap2 in the rtld_global_ro structure.
13690
1ae8bfe0
RA
136912013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13692
13693 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13694 hardware capabilities in support of AT_HWCAP2.
13695 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13696 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13697 GLRO(dl_hwcap2).
13698 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13699 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13700 explicitly the unknown a_type display mechanism is used.
13701 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13702 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13703 struct member.
13704 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13705 to macro prototype for AT_HWCAP2 support.
13706 * sysdeps/i386/dl-procinfo.h: Likewise.
13707 * sysdeps/s390/dl-procinfo.h: Likewise.
13708 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13709 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13710 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13711 return -1 for unknown a_type display fallback.
13712 * sysdeps/sparc/dl-procinfo.h: Likewise.
13713 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13714 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13715
8fbec010
JM
137162013-06-28 Joseph Myers <joseph@codesourcery.com>
13717
13718 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13719 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13720
0432680e
PY
137212013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13722
13723 [BZ #12492]
13724 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13725 mprotect making __stack_prot writable.
13726
ce61a2ad
NF
137272013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13728 Joseph Myers <joseph@codesourcery.com>
13729
13730 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13731 as being properly aligned.
13732
f91f1c0f
MR
137332013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13734
3d0f5d0c
MR
13735 * dlfcn/modstatic5.c: New file.
13736 * dlfcn/tststatic5.c: New file.
13737 * dlfcn/Makefile (tests): Add tststatic5.
13738 (tests-static): Likewise.
13739 (modules-names): Add modstatic5.
13740 (tststatic5-ENV): New variable.
13741 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13742
f91f1c0f
MR
13743 [BZ #15022]
13744 * elf/dl-support.c (_dl_main_map): New variable.
13745 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13746 (_dl_nns, _dl_load_adds): Set to 1.
13747 (_dl_initial_searchlist): Refer to _dl_main_map.
13748 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13749 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13750 call to _dl_get_origin.
13751 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13752 around call_map.
13753 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13754 * dlfcn/modstatic3.c: New file.
13755 * dlfcn/tststatic3.c: New file.
13756 * dlfcn/tststatic4.c: New file.
13757 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13758 (tests-static): Likewise.
13759 (modules-names): Add modstatic3.
13760 (tststatic3-ENV, tststatic4-ENV): New variables.
13761 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13762 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13763
cbe7d24b
JM
137642013-06-26 Joseph Myers <joseph@codesourcery.com>
13765
13766 * configure.in (CC): Require GCC version 4.4 or later.
13767 * configure: Regenerated.
13768 * manual/install.texi (Tools for Compilation): Update GCC version
13769 requirement.
13770 * INSTALL: Regenerated.
13771
11b8a0e1
LD
137722013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13773
13774 [BZ #15674]
bb5bb87c
L
13775 * string/test-memcmp.c (check2): New.
13776 (main): Call check2.
13777
11b8a0e1
LD
13778 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13779
b0037103
MR
137802013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13781
13782 [BZ #15022]
13783 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13784 over to...
13785 (dl_open_worker) [!SHARED]: ... here.
13786
c18c701d
RA
137872013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13788
13789 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13790
1d17fa5f
RH
137912013-06-25 Richard Henderson <rth@redhat.com>
13792
13793 * locale/programs/locarchive.c: Include <libc-internal.h>
13794
8fcb833a
JM
137952013-06-25 Joseph Myers <joseph@codesourcery.com>
13796
13797 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13798 trailing whitespace removed.
13799
17db6e8d
MF
138002013-06-24 Mike Frysinger <vapier@gentoo.org>
13801
13802 [BZ #10283]
17db6e8d
MF
13803 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13804 * locale/programs/locarchive.c: Include libc-mmap.h.
13805 (prepare_address_space): Take two new outputs (the mmap base and len).
13806 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13807 values.
13808 (create_archive): Declare new mmap base and len values for
13809 prepare_address_space, and store the result in ah.
13810 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13811 (enlarge_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 Declare new mmap base and len values for
13814 prepare_address_space, and store the result in new_ah.
13815 (open_archive): Declare new mmap base and len values for
13816 prepare_address_space, and store the result in ah.
13817 (close_archive): If ah->mmap_base is not NULL, use that and
13818 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13819 * sysdeps/generic/libc-mmap.h: New file.
13820
d605071e
MF
138212013-06-24 Mike Frysinger <vapier@gentoo.org>
13822
13823 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13824 (ALIGN_UP): Likewise.
13825 (PTR_ALIGN_DOWN): Likewise.
13826 (PTR_ALIGN_UP): Likewise.
13827
2f063a6e
RA
138282013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13829
13830 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13831 entry mapped to PPC_PLATFORM_POWER8.
13832 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13833 POWER8.
13834 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13835 (_dl_string_platform): Add case for exporting platform position for
13836 POWER8.
13837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13838 search path to sysdeps/powerpc/powerpc32/power8 directory.
13839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13840 search path to sysdeps/powerpc/powerpc64/power8 directory.
13841 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13842 power7 directories.
13843 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13844 power7 directories.
13845
a31ee4b3
SP
138462013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13847
a74ca98f
SP
13848 * INSTALL: Regenerate.
13849
a31ee4b3
SP
13850 * nscd/connections.c (nscd_init): Fix comment.
13851
695c378f
JM
138522013-06-22 Joseph Myers <joseph@codesourcery.com>
13853
d8412221
JM
13854 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13855
695c378f
JM
13856 [BZ #15667]
13857 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13858 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13859
d1d54715
MR
138602013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13861
13862 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13863 DL_DST_REQ_STATIC.
13864 (DL_DST_REQ_STATIC): Remove macro.
13865
8fdda7af
JM
138662013-06-21 Joseph Myers <joseph@codesourcery.com>
13867
13868 [BZ #7006]
13869 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13870 with a shift of 0 bits.
13871
f3bc5e5a
MR
138722013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13873
13874 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13875 $(tststatic-ENV).
13876
be09e8c9
KK
138772013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13878
13879 [BZ #15655]
13880 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13881
85c2e611
AZ
138822013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13883
13884 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13885 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13886 accepts -fno-tree-loop-distribute-patterns.
13887 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13888 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13889 recursive call.
13890 * string/memset.c (memset): Likewise.
13891 * string/test-memmove.c (simple_memmove): Disable loop transformation
13892 to library calls.
13893 * string/test-memset.c (simple_memset): Likewise.
13894 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13895 * benchtests/bench-memset.c (simple_memset): Likewise.
13896 * configure: Regenerated.
13897
c91e0825
JM
138982013-06-20 Joseph Myers <joseph@codesourcery.com>
13899
b8c792af
JM
13900 * math/test-misc.c (main): Ignore fesetround failure when failures
13901 of subsequent rounding tests would be ignored.
13902
c91e0825
JM
13903 [BZ #15654]
13904 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13905 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13906 * math/fegetenv.c (__fegetenv): Return 0.
13907 * math/fegetexcept.c (fegetexcept): Return 0.
13908 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13909 FE_TONEAREST.
13910 * math/feholdexcpt.c (feholdexcept): Return 0.
13911 * math/fesetenv.c (__fesetenv): Return 0.
13912 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13913 argument FE_TONEAREST.
13914 * math/feupdateenv.c (__feupdateenv): Return 0.
13915 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13916
bfcacbde
RM
139172013-06-18 Roland McGrath <roland@hack.frob.com>
13918
13919 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13920 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13921 ($(objpfx)rtld-%.os rules): Use them.
13922
e55a9b25
AZ
139232013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13924
13925 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13926 fields.
13927
346d65b3
RM
139282013-06-17 Roland McGrath <roland@hack.frob.com>
13929
12086fb4
RM
13930 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13931 length of target pattern, then descending length of dependency pattern.
13932 * configure.in (AWK): Require gawk 3.1.2 or newer.
13933 * manual/install.texi (Tools for Compilation): Say that we do.
13934 * configure: Regenerated.
13935
346d65b3
RM
13936 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13937 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13938 * scripts/sysd-rules.awk: ... this new script.
13939 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13940 than a glob-style pattern.
13941
1a846317
JM
139422013-06-17 Joseph Myers <joseph@codesourcery.com>
13943
13944 * math/test-misc.c (main): Do not treat incorrectly rounded
13945 conversions as failure unless ROUNDING_TESTS passes.
13946
8fc75e6f
JM
139472013-06-15 Joseph Myers <joseph@codesourcery.com>
13948
3711a167
JM
13949 [BZ #15631]
13950 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13951 restore exception state around main square root computation, then
13952 check for inexactness explicitly.
13953
8fc75e6f
JM
13954 * math/libm-test.inc (fma_test_data): Add another test.
13955
61dd6208
SP
139562013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13957
adf23d2c
SP
13958 * manual/threads.texi (Non-POSIX Extensions): New document
13959 node. Document pthread_getattr_default_np and
13960 pthread_setattr_default_np.
13961
61dd6208
SP
13962 * Versions.def (libpthread): Add GLIBC_2.18.
13963 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13965 Likewise.
13966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13967 Likewise.
13968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13969 Likewise.
13970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13971 Likewise.
13972 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13973 Likewise.
13974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13975 Likewise.
13976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13977 Likewise.
13978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13979 Likewise.
13980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13981 Likewise.
13982
d086fc7b
LD
139832013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13984
13985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13986 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13987
747ef469
SP
139882013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13989 H.J. Lu <hjl.tools@gmail.com>
13990
13991 [BZ #15627]
13992 * sysdeps/x86_64/rtld-memset.c: Remove file.
13993 * sysdeps/x86_64/rtld-memset.S: New file.
13994
1b2feed2
JM
139952013-06-14 Joseph Myers <joseph@codesourcery.com>
13996
13997 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13998 (test_in_one_mode): Take arguments for whether the rounding mode
13999 is supported for each floating-point type.
14000 (do_test): Pass new arguments to test_in_one_mode using
14001 ROUNDING_TESTS.
14002
a58ad3f8
RM
140032013-06-13 Roland McGrath <roland@hack.frob.com>
14004
14005 * posix/tst-waitid.c (do_test): Distinguish different instances of
14006 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14007 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14008 before entering the kernel for waitpid.
14009
c204ab28
SP
140102013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14011
14012 * NEWS: Fix note on clock function precision. Text by Roland
14013 McGrath.
14014
f4a29fba
RM
140152013-06-13 Roland McGrath <roland@hack.frob.com>
14016
14017 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14018 it into place only when and if the sanity check passes.
14019
1f24b9ad
JM
140202013-06-13 Joseph Myers <joseph@codesourcery.com>
14021
14022 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14023 output for whether conversion result is exact. Take argument
14024 indicating whether type is IBM long double.
14025 (round_for_all): Change need_exact field to ibm_ld.
14026 * stdlib/tst-strtod-round.c (struct exactness): New type.
14027 (struct test): Change bool ld_ok field to struct exactness exact.
14028 (TEST): Update all definitions for change to field.
14029 (tests): Regenerate array contents.
14030 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14031 field value. Check for IBM long double here.
14032 (do_test): Update calls to test_in_one_mode.
14033
58206c68
SP
140342013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14035
14036 [BZ #12515]
14037 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14038 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14039
2d6f4c5b 140402013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
14041
14042 [BZ #15605]
14043 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14044 generated by the compiler on loop optimizations.
14045 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14046 general definitions.
14047
94f2c076
JM
140482013-06-12 Joseph Myers <joseph@codesourcery.com>
14049
14050 * math/bug-nextafter.c: Include <math-tests.h>.
14051 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14052 the relevant type.
14053 * math/bug-nexttoward.c: Include <math-tests.h>.
14054 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14055 the relevant type.
14056 * math/test-misc.c: Include <math-tests.h>.
14057 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14058 the relevant type.
14059
e0e50a0a
AJ
140602013-06-12 Andreas Jaeger <aj@suse.de>
14061
14062 * po/ia.po: Update Interlingua translation from translation
14063 project.
14064
25061094
SP
140652013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14066
14067 * include/fenv.h: Include stdbool.h.
14068 (struct rm_ctx): New structure.
14069 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14070 Define macro.
14071 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14072 (SET_RESTORE_ROUNDF): Likewise.
14073 (SET_RESTORE_ROUNDL): Likewise.
14074 (SET_RESTORE_ROUND_NOEX): Likewise.
14075 (SET_RESTORE_ROUND_NOEXF): Likewise.
14076 (SET_RESTORE_ROUND_NOEXL): Likewise.
14077 (SET_RESTORE_ROUND_53BIT): Likewise.
14078 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14079 (libc_feresetround_noexf_ctx): Likewise.
14080 (libc_feresetround_noexl_ctx): Likewise.
14081 (libc_feholdsetround_53bit_ctx): Likewise.
14082 (libc_feresetround_53bit_ctx): Likewise.
14083 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14084 (libc_feholdexcept_setround_sse_ctx): New function.
14085 (libc_fesetenv_sse_ctx): Likewise.
14086 (libc_feupdateenv_sse_ctx): Likewise.
14087 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14088 (libc_feholdexcept_setround_387_ctx): Likewise.
14089 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14090 (libc_feholdsetround_387_prec_ctx): Likewise.
14091 (libc_feholdsetround_387_ctx): Likewise.
14092 (libc_feholdsetround_387_53bit_ctx): Likewise.
14093 (libc_feholdsetround_sse_ctx): Likewise.
14094 (libc_feresetround_sse_ctx): Likewise.
14095 (libc_feresetround_387_ctx): Likewise.
14096 (libc_feupdateenv_387_ctx): Likewise.
14097 (libc_feholdexcept_setroundf_ctx): Define macro.
14098 (libc_fesetenvf_ctx): Likewise.
14099 (libc_feupdateenvf_ctx): Likewise.
14100 (libc_feholdsetroundf_ctx): Likewise.
14101 (libc_feresetroundf_ctx): Likewise.
14102 (libc_feholdexcept_setround_ctx): Likewise.
14103 (libc_fesetenv_ctx): Likewise.
14104 (libc_feupdateenv_ctx): Likewise.
14105 (libc_feholdsetround_ctx): Likewise.
14106 (libc_feresetround_ctx): Likewise.
14107 (libc_feholdexcept_setroundl_ctx): Likewise.
14108 (libc_feupdateenvl_ctx): Likewise.
14109 (libc_feholdsetroundl_ctx): Likewise.
14110 (libc_feresetroundl_ctx): Likewise.
14111 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14112 (libc_feresetround_53bit_ctx): Likewise.
14113
59b30555
SP
141142013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14115
14116 * locale/iso-639.def: Convert to UTF-8.
14117
f1d73d30
JM
141182013-06-11 Joseph Myers <joseph@codesourcery.com>
14119
14120 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14121 (EXCEPTION_TESTS_double): Likewise.
14122 (EXCEPTION_TESTS_long_double): Likewise.
14123 (EXCEPTION_TESTS): Likewise.
14124 * math/libm-test.inc (test_exceptions): Only test exceptions if
14125 EXCEPTION_TESTS (FLOAT).
14126
94aca5e7
SP
141272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14128
14129 * benchtests/Makefile (string-bench): Add strcpy_chk and
14130 stpcpy_chk.
14131 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14132 * benchtests/bench-stpcpy_chk.c: New file.
14133 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14134 * benchtests/bench-strcpy_chk.c: New file.
14135 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14136 code.
14137 (do_test): Likewise.
14138
fac0c5f2
RA
141392013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14140
14141 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14142 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14143 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14144 with tabs where appropriate.
14145 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14146 dl-procinfo.h.
14147 [PPC_PLATFORM_PPC440]: Likewise.
14148 [PPC_PLATFORM_PPC464]: Likewise.
14149 [PPC_PLATFORM_PPC476]: Likewise.
14150 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14151 ppc464, and ppc476 platform strings merging from ports/
14152 dl-procinfo.h.
14153
f22bc486
AS
141542013-06-11 Andreas Schwab <schwab@suse.de>
14155
14156 [BZ #14991]
14157 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14158 (from_ucs4_idx): Regenerate.
14159 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14160 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14161 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14162 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14163 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14164 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14165 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14166 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14167 from FROM_LOOP and TO_LOOP specific macros.
14168 (BODY): Handle combining characters.
14169 * iconvdata/BIG5HKSCS.irreversible: Update.
14170 * iconvdata/BIG5HKSCS.precomposed: New file.
14171 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14172 characters.
14173 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14174
c1f75dc3
SP
141752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14176
4eacded2
SP
14177 * include/sys/time.h: Fix indentation and add copyright header.
14178
fec799f8
SP
14179 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14180 (do_test): Likewise.
14181 * string/test-memchr.c (do_one_test): Likewise.
14182 (do_test): Likewise.
14183 * string/test-memcmp.c (do_one_test): Likewise.
14184 (do_test): Likewise.
14185 * string/test-memcpy.c (do_one_test): Likewise.
14186 (do_test): Likewise.
14187 * string/test-memmem.c (do_one_test): Likewise.
14188 (do_test): Likewise.
14189 (do_random_tests): Likewise.
14190 * string/test-memmove.c (do_one_test): Likewise.
14191 (do_test): Likewise.
14192 * string/test-memset.c (do_one_test): Likewise.
14193 (do_test): Likewise.
14194 * string/test-rawmemchr.c (do_one_test): Likewise.
14195 (do_test): Likewise.
14196 * string/test-strcasecmp.c (do_one_test): Likewise.
14197 (do_test): Likewise.
14198 * string/test-strcasestr.c (do_one_test): Likewise.
14199 (do_test): Likewise.
14200 * string/test-strcat.c (do_one_test): Likewise.
14201 (do_test): Likewise.
14202 * string/test-strchr.c (do_one_test): Likewise.
14203 (do_test): Likewise.
14204 * string/test-strcmp.c (do_one_test): Likewise.
14205 (do_test): Likewise.
14206 * string/test-strcpy.c (do_one_test): Likewise.
14207 (do_test): Likewise.
14208 * string/test-string.h: Likewise.
14209 (test_init): Likewise.
14210 * string/test-strlen.c (do_one_test): Likewise.
14211 (do_test): Likewise.
14212 * string/test-strncasecmp.c (do_one_test): Likewise.
14213 (do_test): Likewise.
14214 * string/test-strncat.c (do_one_test): Likewise.
14215 (do_test): Likewise.
14216 * string/test-strncmp.c (do_one_test): Likewise.
14217 (do_test_limit): Likewise.
14218 (do_test): Likewise.
14219 * string/test-strncpy.c (do_one_test): Likewise.
14220 (do_test): Likewise.
14221 * string/test-strnlen.c (do_one_test): Likewise.
14222 (do_test): Likewise.
14223 * string/test-strpbrk.c (do_one_test): Likewise.
14224 (do_test): Likewise.
14225 * string/test-strrchr.c (do_one_test): Likewise.
14226 (do_test): Likewise.
14227 * string/test-strspn.c (do_one_test): Likewise.
14228 (do_test): Likewise.
14229 * string/test-strstr.c (do_one_test): Likewise.
14230 (do_test): Likewise.
14231
97020474
SP
14232 * benchtests/Makefile (string-bench): Add string benchmarks.
14233 * benchtests/bench-bcopy-ifunc.c: New file.
14234 * benchtests/bench-bcopy.c: New file.
14235 * benchtests/bench-bzero-ifunc.c: New file.
14236 * benchtests/bench-bzero.c: New file.
14237 * benchtests/bench-memccpy-ifunc.c: New file.
14238 * benchtests/bench-memccpy.c: New file.
14239 * benchtests/bench-memchr-ifunc.c: New file.
14240 * benchtests/bench-memchr.c: New file.
14241 * benchtests/bench-memcmp-ifunc.c: New file.
14242 * benchtests/bench-memcmp.c: New file.
14243 * benchtests/bench-memmem-ifunc.c: New file.
14244 * benchtests/bench-memmem.c: New file.
14245 * benchtests/bench-memmove-ifunc.c: New file.
14246 * benchtests/bench-memmove.c: New file.
14247 * benchtests/bench-mempcpy-ifunc.c: New file.
14248 * benchtests/bench-mempcpy.c: New file.
14249 * benchtests/bench-memset-ifunc.c: New file.
14250 * benchtests/bench-memset.c: New file.
14251 * benchtests/bench-rawmemchr-ifunc.c: New file.
14252 * benchtests/bench-rawmemchr.c: New file.
14253 * benchtests/bench-stpcpy-ifunc.c: New file.
14254 * benchtests/bench-stpcpy.c: New file.
14255 * benchtests/bench-stpncpy-ifunc.c: New file.
14256 * benchtests/bench-stpncpy.c: New file.
14257 * benchtests/bench-strcasecmp-ifunc.c: New file.
14258 * benchtests/bench-strcasecmp.c: New file.
14259 * benchtests/bench-strcasestr-ifunc.c: New file.
14260 * benchtests/bench-strcasestr.c: New file.
14261 * benchtests/bench-strcat-ifunc.c: New file.
14262 * benchtests/bench-strcat.c: New file.
14263 * benchtests/bench-strchr-ifunc.c: New file.
14264 * benchtests/bench-strchr.c: New file.
14265 * benchtests/bench-strchrnul-ifunc.c: New file.
14266 * benchtests/bench-strchrnul.c: New file.
14267 * benchtests/bench-strcmp-ifunc.c: New file.
14268 * benchtests/bench-strcmp.c: New file.
14269 * benchtests/bench-strcpy-ifunc.c: New file.
14270 * benchtests/bench-strcpy.c: New file.
14271 * benchtests/bench-strcspn-ifunc.c: New file.
14272 * benchtests/bench-strcspn.c: New file.
14273 * benchtests/bench-strlen-ifunc.c: New file.
14274 * benchtests/bench-strlen.c: New file.
14275 * benchtests/bench-strncasecmp-ifunc.c: New file.
14276 * benchtests/bench-strncasecmp.c: New file.
14277 * benchtests/bench-strncat-ifunc.c: New file.
14278 * benchtests/bench-strncat.c: New file.
14279 * benchtests/bench-strncmp-ifunc.c: New file.
14280 * benchtests/bench-strncmp.c: New file.
14281 * benchtests/bench-strncpy-ifunc.c: New file.
14282 * benchtests/bench-strncpy.c: New file.
14283 * benchtests/bench-strnlen-ifunc.c: New file.
14284 * benchtests/bench-strnlen.c: New file.
14285 * benchtests/bench-strpbrk-ifunc.c: New file.
14286 * benchtests/bench-strpbrk.c: New file.
14287 * benchtests/bench-strrchr-ifunc.c: New file.
14288 * benchtests/bench-strrchr.c: New file.
14289 * benchtests/bench-strspn-ifunc.c: New file.
14290 * benchtests/bench-strspn.c: New file.
14291 * benchtests/bench-strstr-ifunc.c: New file.
14292 * benchtests/bench-strstr.c: New file.
14293
c1f75dc3
SP
14294 * benchtests/Makefile: Disable parallel execution of targets.
14295 (string-bench): Add memcpy.
14296 (benchset): New variable to store a list of benchmark sets.
14297 (bench-func): Renamed from bench.
14298 (bench-set): New target.
14299 (bench): Depend on bench-func and bench-set.
14300 * benchtests/README: Add section on benchmark sets.
14301 * benchtests/bench-memcpy-ifunc.c: New file.
14302 * benchtests/bench-memcpy.c: New file.
14303 * benchtests/bench-string.h: New file.
14304
50fd745b
AS
143052013-06-11 Andreas Schwab <schwab@suse.de>
14306
14307 [BZ #15577]
14308 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14309 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14310 values in the triple.
14311 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14312 terminator in the group key.
14313
3ee7e9fe
AJ
143142013-06-11 Andreas Jaeger <aj@suse.de>
14315
14316 * po/zh_TW.po: Update Chinese (traditional) translation from
14317 translation project.
14318
89fb6835
SP
143192013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14320
14321 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14322 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14323 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14324 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14325 (clock_getcpuclockid): Likewise.
14326 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14327 Add weak_alias and libc_hidden_def.
14328 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14329 * rt/clock_gettime.c (clock_gettime): Rename to
14330 __clock_gettime. Add weak_alias and libc_hidden_def.
14331 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14332 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14333 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14334 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14335 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14336 Likewise.
14337 * rt/clock_settime.c (clock_settime): Rename to
14338 __clock_settime. Add weak_alias and libc_hidden_def.
14339 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14340
0efa6f8b
JM
143412013-06-10 Joseph Myers <joseph@codesourcery.com>
14342
b8c61b4b
JM
14343 * mach/err_boot.sub: Remove trailing whitespace.
14344 * mach/err_ipc.sub: Likewise.
14345 * mach/err_mach.sub: Likewise.
14346
0efa6f8b
JM
14347 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14348 (ROUNDING_TESTS_double): Likewise.
14349 (ROUNDING_TESTS_long_double): Likewise.
14350 (ROUNDING_TESTS): Likewise.
14351 * math/libm-test.inc: Include <math-tests.h>.
14352 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14353 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14354 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14355 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14356
50b818bf
SP
143572013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14358
14359 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14360 of assigning.
14361
60d2f8f3
JM
143622013-06-08 Joseph Myers <joseph@codesourcery.com>
14363
4902d2c3
JM
14364 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14365 otherwise empty TRANS lines.
14366 * sysdeps/gnu/errlist.c: Regenerated.
14367
60d2f8f3
JM
14368 * catgets/gencat.c (error_print): Use (void) in function
14369 definition.
14370 * crypt/crypt_util.c (__init_des): Likewise.
14371 * crypt/speeds.c (Stop): Likewise.
14372 (main): Likewise.
14373 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14374 * inet/ruserpass.c (token): Likewise.
14375 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14376 * intl/localealias.c (extend_alias_table): Likewise.
14377 * intl/plural-exp.c (init_germanic_plural): Likewise.
14378 * libio/fcloseall.c (__fcloseall): Likewise.
14379 * libio/genops.c (_IO_flush_all): Likewise.
14380 (_IO_flush_all_linebuffered): Likewise.
14381 (_IO_cleanup): Likewise.
14382 (_IO_iter_begin): Likewise.
14383 (_IO_iter_end): Likewise.
14384 (_IO_list_lock): Likewise.
14385 (_IO_list_unlock): Likewise.
14386 (_IO_list_resetlock): Likewise.
14387 * libio/getchar.c (getchar): Likewise.
14388 * libio/getchar_u.c (getchar_unlocked): Likewise.
14389 * libio/getwchar.c (getwchar): Likewise.
14390 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14391 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14392 * login/getpt.c (__getpt): Likewise.
14393 * login/tst-utmp.c (main): Likewise.
14394 * malloc/hooks.c (__malloc_check_init): Likewise.
14395 * malloc/malloc.c (__malloc_stats): Likewise.
14396 * malloc/mtrace.c (tr_break): Likewise.
14397 (mtrace): Likewise.
14398 (muntrace): Likewise.
14399 * misc/fstab.c (endfsent): Likewise.
14400 * misc/getclktck.c (__getclktck): Likewise.
14401 * misc/getdtsz.c (__getdtablesize): Likewise.
14402 * misc/gethostid.c (gethostid): Likewise.
14403 * misc/getpagesize.c (__getpagesize): Likewise.
14404 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14405 (__get_nprocs): Likewise.
14406 (__get_phys_pages): Likewise.
14407 (__get_avphys_pages): Likewise.
14408 * misc/getttyent.c (getttyent): Likewise.
14409 (setttyent): Likewise.
14410 (endttyent): Likewise.
14411 * misc/getusershell.c (getusershell): Likewise.
14412 (endusershell): Likewise.
14413 (setusershell): Likewise.
14414 (initshells): Likewise.
14415 * misc/hsearch.c (__hdestroy): Likewise.
14416 * misc/sync.c (sync): Likewise.
14417 * misc/syslog.c (closelog_internal): Likewise.
14418 (closelog): Likewise.
14419 * misc/ttyslot.c (ttyslot): Likewise.
14420 * misc/vhangup.c (vhangup): Likewise.
14421 * posix/fork.c (__fork): Likewise.
14422 * posix/getegid.c (__getegid): Likewise.
14423 * posix/geteuid.c (__geteuid): Likewise.
14424 * posix/getgid.c (__getgid): Likewise.
14425 * posix/getpid.c (__getpid): Likewise.
14426 * posix/getppid.c (__getppid): Likewise.
14427 * posix/getuid.c (__getuid): Likewise.
14428 * posix/pause.c (pause): Likewise.
14429 * posix/setpgrp.c (setpgrp): Likewise.
14430 * posix/setsid.c (__setsid): Likewise.
14431 * posix/test-vfork.c (noop): Likewise.
14432 * resolv/gethnamaddr.c (_endhtent): Likewise.
14433 (_gethtent): Likewise.
14434 (ht_endhostent): Likewise.
14435 (gethostent): Likewise.
14436 (dns_service): Likewise.
14437 * stdlib/drand48.c (drand48): Likewise.
14438 * stdlib/lrand48.c (lrand48): Likewise.
14439 * stdlib/mrand48.c (mrand48): Likewise.
14440 * stdlib/rand.c (rand): Likewise.
14441 * stdlib/random.c (__random): Likewise.
14442 * stdlib/setenv.c (clearenv): Likewise.
14443 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14444 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14445 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14446 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14447 (__get_nprocs): Likewise.
14448 (__get_phys_pages): Likewise.
14449 (__get_avphys_pages): Likewise.
14450 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14451 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14452 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14453 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14454 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14455 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14456 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14457 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14458 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14459 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14460 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14461 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14462 * sysdeps/posix/clock.c (clock): Likewise.
14463 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14464 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14465 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14466 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14467 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14468 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14469 (__get_nprocs_conf): Likewise.
14470 (__get_phys_pages): Likewise.
14471 (__get_avphys_pages): Likewise.
14472 * time/clock.c (clock): Likewise.
14473 * time/tzset.c (__tzname_max): Likewise.
14474
2e09a79a
JM
144752013-06-07 Joseph Myers <joseph@codesourcery.com>
14476
14477 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14478 (__bswap_32): Do not use "register".
14479 * crypt/crypt.c (_ufc_doit_r): Likewise.
14480 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14481 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14482 * gmon/gmon.c (__monstartup): Likewise.
14483 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14484 * hurd/hurdmalloc.c (more_memory): Likewise.
14485 (malloc): Likewise.
14486 (free): Likewise.
14487 (realloc): Likewise.
14488 (malloc_fork_prepare): Likewise.
14489 (malloc_fork_parent): Likewise.
14490 (malloc_fork_child): Likewise.
14491 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14492 (_svcauth_des): Likewise.
14493 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14494 * inet/inet_net.c (inet_network): Likewise.
14495 * inet/inet_netof.c (inet_netof): Likewise.
14496 * inet/rcmd.c (__validuser2_sa): Likewise.
14497 * io/fts.c (fts_open): Likewise.
14498 (fts_load): Likewise.
14499 (fts_close): Likewise.
14500 (fts_read): Likewise.
14501 (fts_children): Likewise.
14502 (fts_build): Likewise.
14503 (fts_stat): Likewise.
14504 (fts_sort): Likewise.
14505 (fts_alloc): Likewise.
14506 (fts_lfree): Likewise.
14507 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14508 (_IO_file_xsgetn): Likewise.
14509 (_IO_file_xsgetn_mmap): Likewise.
14510 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14511 (_IO_cookie_write): Likewise.
14512 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14513 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14514 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14515 * malloc/obstack.c (_obstack_begin): Likewise.
14516 (_obstack_begin_1): Likewise.
14517 (_obstack_newchunk): Likewise.
14518 (_obstack_allocated_p): Likewise.
14519 (obstack_free): Likewise.
14520 (_obstack_memory_used): Likewise.
14521 * misc/getttyent.c (getttynam): Likewise.
14522 (getttyent): Likewise.
14523 (skip): Likewise.
14524 (value): Likewise.
14525 * misc/getusershell.c (initshells): Likewise.
14526 * misc/syslog.c (__vsyslog_chk): Likewise.
14527 * misc/ttyslot.c (ttyslot): Likewise.
14528 * nis/nis_hash.c (__nis_hash): Likewise.
14529 * posix/fnmatch_loop.c (FCT): Likewise.
14530 * posix/getconf.c (print_all): Likewise.
14531 (main): Likewise.
14532 * posix/getopt.c (exchange): Likewise.
14533 * posix/glob.c (globfree): Likewise.
14534 (prefix_array): Likewise.
14535 (__glob_pattern_type): Likewise.
14536 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14537 (NS_GET32): Likewise.
14538 (NS_PUT16): Likewise.
14539 (NS_PUT32): Likewise.
14540 * resolv/gethnamaddr.c (getanswer): Likewise.
14541 (gethostbyname2): Likewise.
14542 (gethostbyaddr): Likewise.
14543 (_gethtent): Likewise.
14544 (_gethtbyname2): Likewise.
14545 (_gethtbyaddr): Likewise.
14546 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14547 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14548 * resolv/res_init.c (__res_vinit): Likewise.
14549 (net_mask): Likewise.
14550 * resolv/res_mkquery.c (outchar): Likewise.
14551 (PRINT): Likewise.
14552 * stdio-common/printf_fp.c (outchar): Likewise.
14553 (PRINT): Likewise.
14554 * stdio-common/printf_fphex.c (outchar): Likewise.
14555 (PRINT): Likewise.
14556 * stdio-common/printf_size.c (outchar): Likewise.
14557 (PRINT): Likewise.
14558 * stdio-common/test_rdwr.c (main): Likewise.
14559 * stdio-common/tfformat.c (matches): Likewise.
14560 * stdio-common/vfprintf.c (outchar): Likewise.
14561 (printf_unknown): Likewise.
14562 (buffered_vfprintf): Likewise.
14563 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14564 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14565 (ReadFile): Likewise.
14566 * stdlib/qsort.c (SWAP): Likewise.
14567 (_quicksort): Likewise.
14568 * stdlib/setenv.c (__add_to_environ): Likewise.
14569 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14570 * stdlib/strtol_l.c (__strtol_l): Likewise.
14571 * stdlib/tst-strtod.c (main): Likewise.
14572 * stdlib/tst-strtol.c (main): Likewise.
14573 * stdlib/tst-strtoll.c (main): Likewise.
14574 * string/bits/string2.h (__strcmp_cc): Likewise.
14575 (__strcmp_cg): Likewise.
14576 (__strcspn_c1): Likewise.
14577 (__strcspn_c2): Likewise.
14578 (__strcspn_c3): Likewise.
14579 (__strspn_c1): Likewise.
14580 (__strspn_c2): Likewise.
14581 (__strspn_c3): Likewise.
14582 (__strsep_1c): Likewise.
14583 (__strsep_2c): Likewise.
14584 (__strsep_3c): Likewise.
14585 * string/memccpy.c (__memccpy): Likewise.
14586 * string/stpcpy.c (__stpcpy): Likewise.
14587 * string/strcmp.c (strcmp): Likewise.
14588 * string/strrchr.c (strrchr): Likewise.
14589 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14590 Likewise.
14591 * sysdeps/mach/hurd/getcwd.c
14592 (_hurd_canonicalize_directory_name_internal): Likewise.
14593 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14594 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14595 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14596 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14597 Likewise, in both definitions.
14598 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14599 definitions.
14600 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14601 64] (__bswap_64): Likewise.
14602 * time/test_time.c (main): Likewise.
14603 * time/tzfile.c (__tzfile_read): Likewise.
14604 (__tzfile_compute): Likewise.
14605 * time/tzset.c (__tzset_parse_tz): Likewise.
14606 (tzset_internal): Likewise.
14607 (compute_change): Likewise.
14608 * wcsmbs/wcscat.c (__wcscat): Likewise.
14609 * wcsmbs/wcschr.c (wcschr): Likewise.
14610 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14611 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14612 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14613 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14614 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14615 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14616 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14617 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14618 * wcsmbs/wmemset.c (wmemset): Likewise.
14619
9e54314b
JM
146202013-06-06 Joseph Myers <joseph@codesourcery.com>
14621
14622 * scripts/config.guess: Update to version 2013-05-16.
14623 * scripts/config.sub: Update to version 2013-04-24.
14624 * scripts/install-sh: Update to version 2011-11-20.07.
14625 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14626 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14627
350635a5
OB
146282013-06-06 Ondřej Bílka <neleai@seznam.cz>
14629
14630 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14631 * elf/sln.c: Likewise.
14632 * hurd/hurd/ioctl.h: Likewise.
14633 * hurd/hurdmalloc.c: Likewise.
14634 * hurd/xattr.c: Likewise.
14635 * include/shlib-compat.h: Likewise.
14636 * inet/ruserpass.c: Likewise.
14637 * libio/iofgets_u.c: Likewise.
14638 * libio/iofgetws_u.c: Likewise.
14639 * locale/programs/ld-identification.c: Likewise.
14640 * locale/programs/ld-time.c: Likewise.
14641 * mach/msg-destroy.c: Likewise.
14642 * nss/nss_files/files-netgrp.c: Likewise.
14643 * resolv/res_data.c: Likewise.
14644 * soft-fp/op-1.h: Likewise.
14645 * soft-fp/op-2.h: Likewise.
14646 * soft-fp/op-4.h: Likewise.
14647 * soft-fp/op-common.h: Likewise.
14648 * stdio-common/printf_fphex.c: Likewise.
14649 * stdlib/strtod_l.c: Likewise.
14650 * sunrpc/rpc/clnt.h: Likewise.
14651 * sysdeps/generic/framestate.c: Likewise.
14652 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14653 * sysdeps/i386/bsd-setjmp.S: Likewise.
14654 * sysdeps/i386/__longjmp.S: Likewise.
14655 * sysdeps/i386/setjmp.S: Likewise.
14656 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14657 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14658 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14659 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14660 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14661 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14662 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14663 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14664 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14665 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14666 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14667 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14668 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14669 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14670 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14671 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14672 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14673 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14674 * sysdeps/ieee754/support.c: Likewise.
14675 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14676 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14677 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14678 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14679 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14680 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14681 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14682 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14683 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14684 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14685 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14686 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14687 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14688 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14689 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14690 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14691 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14693
44a988af
OB
146942013-06-05 Ondřej Bílka <neleai@seznam.cz>
14695
25506f09 14696 * posix/transbug.c: Remove executable mode.
44a988af 14697
9c84384c
JM
146982013-06-05 Joseph Myers <joseph@codesourcery.com>
14699
14700 * crypt/speeds.c: Remove trailing whitespace.
14701 * dlfcn/default.c: Likewise.
14702 * elf/ifuncdep2.c: Likewise.
14703 * elf/ifuncmain1.c: Likewise.
14704 * elf/ifuncmain1vis.c: Likewise.
14705 * elf/testobj.h: Likewise.
14706 * elf/tst-stackguard1.c: Likewise.
14707 * gmon/sys/gmon.h: Likewise.
14708 * hurd/hurdmsg.c: Likewise.
14709 * hurd/new-fd.c: Likewise.
14710 * hurd/ports-get.c: Likewise.
14711 * iconvdata/ibm1008_420.c: Likewise.
14712 * inet/tst-getni1.c: Likewise.
14713 * inet/tst-getni2.c: Likewise.
14714 * libio/ioungetc.c: Likewise.
14715 * libio/wfiledoalloc.c: Likewise.
14716 * manual/libm-err-tab.pl: Likewise.
14717 * math/w_dremf.c: Likewise.
14718 * misc/ftruncate.c: Likewise.
14719 * posix/bug-glob2.c: Likewise.
14720 * posix/tst-pcre.c: Likewise.
14721 * posix/wait4.c: Likewise.
14722 * resolv/README: Likewise.
14723 * resolv/res_debug.h: Likewise.
14724 * resolv/tst-inet_ntop.c: Likewise.
14725 * setjmp/bug269-setjmp.c: Likewise.
14726 * soft-fp/extended.h: Likewise.
14727 * soft-fp/op-1.h: Likewise.
14728 * soft-fp/op-2.h: Likewise.
14729 * soft-fp/op-4.h: Likewise.
14730 * soft-fp/op-8.h: Likewise.
14731 * soft-fp/testit.c: Likewise.
14732 * stdio-common/bug16.c: Likewise.
14733 * stdlib/random.c: Likewise.
14734 * sunrpc/rpcsvc/rquota.x: Likewise.
14735 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14736 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14737 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14738 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14739 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14740 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14741 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14742 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14743 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14744 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14745 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14746 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14747 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14748 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14749 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14750 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14751 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14752 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14753 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14754 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14755 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14756 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14757 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14758 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14759 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14760 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14761 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14762 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14763 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14764 * sysdeps/ieee754/s_lib_version.c: Likewise.
14765 * sysdeps/mach/hurd/check_fds.c: Likewise.
14766 * sysdeps/mach/hurd/getsockname.c: Likewise.
14767 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14768 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14769 * sysdeps/powerpc/bits/link.h: Likewise.
14770 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14771 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14772 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14773 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14774 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14775 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14776 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14777 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14778 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14779 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14780 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14781 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14782 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14783 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14784 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14785 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14786 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14787 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14788 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14789 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14790 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14791 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14792 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14793 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14794 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14795 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14796 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14797 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14798 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14799 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14800 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14801 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14802 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14803 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14804 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14805 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14806 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14807 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14808 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14809 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14810 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14811 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14812 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14813 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14814 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14815 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14816 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14817 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14818 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14819 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14820 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14821 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14822 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14823 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14824 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14825 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14826 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14827 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14828 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14829 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14830 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14831 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14832 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14833 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14834 * sysdeps/powerpc/sysdep.h: Likewise.
14835 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14836 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14837 * sysdeps/sh/dl-trampoline.S: Likewise.
14838 * sysdeps/sh/memset.S: Likewise.
14839 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14840 * sysdeps/sh/strlen.S: Likewise.
14841 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14842 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14843 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14844 * sysdeps/sparc/sparc32/rem.S: Likewise.
14845 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14846 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14847 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14848 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14849 * sysdeps/sparc/sparc32/urem.S: Likewise.
14850 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14851 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14852 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14853 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14854 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14855 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14856 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14857 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14858 * sysdeps/unix/bsd/times.c: Likewise.
14859 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14860 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14864 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14865 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14866 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14867 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14868 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14869 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14870 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14871 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14872 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14873 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14874 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14875 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14876 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14877 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14878 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14879 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14880 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14881 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14882 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14883 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14884 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14885 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14886 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14887 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14888 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14889 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14890 * sysdeps/x86_64/strcspn.S: Likewise.
14891
869378a5
RA
148922013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14893
14894 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14895 generated file. Regenerate properly from gen-translit.pl.
14896 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14897 locale/C-translit.h.
14898
840e2943
AS
148992013-06-05 Andreas Schwab <schwab@suse.de>
14900
14901 [BZ #15100]
14902 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14903 week as 6 instead of -1.
14904 * time/tst-strptime.c (day_tests): Add test case.
14905
4c60cb0c
SP
149062013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14907
14908 * sysdeps/generic/math_private.h
14909 (libc_feholdexcept_setround_53bit): Replace with
14910 libc_feholdsetround_53bit.
14911 (libc_feupdateenv_53bit): Replace with
14912 libc_feresetround_53bit.
14913 (SET_RESTORE_ROUND_53BIT): Adjust.
14914
d180203e
SP
149152013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14916
96df079a
SP
14917 * string/test-strchrnul.c: Add copyright header.
14918
d180203e
SP
14919 * posix/tst-getaddrinfo4.c: Increase test timeout.
14920
8b0ccb2d
CD
149212013-06-03 Carlos O'Donell <carlos@redhat.com>
14922
14923 [BZ #15536]
14924 * math/libm-test.inc (MAX_EXP): Remove
14925 (MIN_EXP): Define.
14926 (ulp): Use MIN_EXP - MANT_DIG.
14927 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14928
3b3c4d40
CD
149292013-05-31 Carlos O'Donell <carlos@redhat.com>
14930
14931 * po/be.po: Revert last change.
14932 * po/zh_CN.po: Likewise.
14933 * po/header.pot: Likewise.
14934
fab7ce3f
JM
149352013-05-31 Joseph Myers <joseph@codesourcery.com>
14936
14937 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14938 link-libc-deps to empty as target-specific variable.
14939 * Makerules (link-libc-args): New variable.
14940 (libc-for-link): Likewise.
14941 (link-libc-deps): Likewise.
14942 (lib%.so): Depend on $(link-libc-deps). Link with
14943 $(link-libc-args).
14944 (build-module): Link with $(link-libc-args).
14945 (build-module-asneeded): Likewise.
14946 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14947 list of objects.
14948 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14949 target-specific variable.
14950 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14951 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14952 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14953 libc.
14954 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14955 libc and ld.so.
14956 ($(objpfx)libpcprofile.so): Likewise.
14957 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14958 libc_nonshared.a.
14959 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14960 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14961 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14962 $(link-libc-deps).
14963 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14964 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14965 * login/Makefile ($(objpfx)libutil.so): Likewise.
14966 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14967 * math/Makefile ($(objpfx)libm.so): Likewise.
14968 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14969 $(objpfx)libnsl.so): Define libc-for-link as target-specific
14970 variable instead of depending directly on libc.
14971 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14972 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14973 $(link-libc-deps).
14974 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14975 libc.
14976 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14977 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14978 ($(objpfx)libanl.so): Likewise.
14979 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14980 ld.so.
14981 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14982 $(link-libc-deps).
14983 * sysdeps/i386/fpu/Makefile: Remove file.
14984 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14985 ($(objpfx)libm.so): Remove dependency on ld.so.
14986
eca5920c
PF
149872013-05-30 Patsy Franklin <pfrankli@redhat.com>
14988
14989 [BZ # 15553]
14990 * nis/yp_xdr.c (XDRMAXNAME): Define.
14991 (XDRMAXRECORD): Define.
14992 (xdr_domainname): Use XDRMAXNAME.
14993 (xdr_mapname): Likewise.
14994 (xdr_peername): Likewise.
14995 (xdr_keydat): Use XDRMAXRECORD.
14996 (xdr_valdat): Likewise.
14997
149982013-05-30 Jeff Law <law@redhat.com>
96945714
JL
14999
15000 [BZ #14256]
15001 * manual/errno.texi (ESTALE): Update to account for more than
15002 just NFS file systems.
15003 * sysdeps/gnu/errlist.c: Regenerated.
15004
b9375348
SP
150052013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15006
15007 [BZ #15465]
15008 * elf/Makefile (tests): Add tst-null-argv.
15009 (modules-names): Add tst-null-argv-lib.
15010 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15011 (tst-null-argv-ENV): Set environment for tst-null-argv.
15012 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15013 (RTLD_PROGNAME): New macro.
15014 * elf/tst-null-argv.c: New test case.
15015 * elf/tst-null-argv-lib.c: Library for test case.
15016 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15017 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15018 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15019 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15020 * elf/dl-init.c (call_init): Likewise.
15021 (_dl_init): Likewise.
15022 * elf/dl-load.c (print_search_path): Likewise.
15023 (_dl_map_object): Likewise.
15024 * elf/dl-lookup.c (do_lookup_x): Likewise.
15025 (add_dependency): Likewise.
15026 (_dl_lookup_symbol_x): Likewise.
15027 (_dl_debug_bindings): Likewise.
15028 * elf/dl-open.c (_dl_show_scope): Likewise.
15029 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15030 * elf/dl-version.c (match_symbol): Likewise.
15031 (_dl_check_map_versions): Likewise.
15032 * elf/rtld.c (dl_main): Likewise.
15033 (print_unresolved): Use RTLD_PROGNAME.
15034 (print_missing_version): Likewise.
15035 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15036 (elf_machine_rela): Likewise.
15037 * sysdeps/powerpc/powerpc32/dl-machine.c
15038 (__process_machine_rela): Likewise.
15039 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15040 Likewise.
15041 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15042 Likewise.
15043 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15044 Likewise.
15045 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15046 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15047 Likewise.
15048 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15049 Likewise.
15050 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15051
8a9f20c8
CD
150522013-05-28 Carlos O'Donell <carlos@redhat.com>
15053
15054 * po/be.po: Add descriptive title.
15055 * po/zh_CN.po: Likewise.
15056 * po/header.pot: Likewise.
15057
0e60d68e
MF
150582013-05-28 Mike Frysinger <vapier@gentoo.org>
15059
15060 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15061 error message.
15062 (enlarge_archive): Likewise.
15063
56b672e9
BN
150642013-05-28 Ben North <ben@redfrontdoor.org>
15065
15066 * manual/arith.texi (frexp): It is the magnitude of the return
15067 value which lies in [0.5, 1), not the return value itself.
15068
5e056687
AZ
150692013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15070
15071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15072
2b66ef5d
TS
150732013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15074
528c2405
TS
15075 * stdio-common/bug26.c (main): Correct fscanf template.
15076
07b4c13d
TS
15077 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15078 declare _dl_skip_args.
15079
ec9dd97c
TS
15080 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15081 Don't declare.
15082
2b66ef5d
TS
15083 * manual/platform.texi: Add missing @end deftypefun.
15084
4f8dfe27
JM
150852013-05-24 Joseph Myers <joseph@codesourcery.com>
15086
0323d086
JM
15087 [BZ #15529]
15088 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15089 bit of mantissa of 2^16382.
15090 * math/libm-test.inc (hypot_test_data): Add more tests.
15091
dd4259b9
JM
15092 * math/libm-test.inc: Add drem and pow10 to list of tested
15093 functions.
15094 (pow10_test): New function.
15095 (drem_test): Likewise.
15096 (drem_test_tonearest): Likewise.
15097 (drem_test_towardzero): Likewise.
15098 (drem_test_downward): Likewise.
15099 (drem_test_upward): Likewise.
15100 (main): Call the new functions.
15101
4f8dfe27
JM
15102 * math/libm-test.inc (finite_test_data): Remove.
15103 (finite_test): Run tests from isfinite_test_data.
15104 (gamma_test_data): Remove.
15105 (gamma_test): Run tests from lgamma_test_data.
15106 * sysdeps/i386/fpu/libm-test-ulps: Update.
15107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15108
d116b7c4
AZ
151092013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15110
15111 * manual/platform.texi: Add PowerPC PPR function set documentation.
15112 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15113 implementation.
15114
e96e3767
CD
151152013-05-24 Carlos O'Donell <carlos@redhat.com>
15116
15117 * math/libm-test.inc (MAX_EXP): Define.
15118 (ULPDIFF): Define.
15119 (ulp): New function.
15120 (check_float_internal): Use ULPDIFF.
15121 (cpow_test): Disable failing test.
15122 (check_ulp): Test ulp() implemetnation.
15123 (main): Call check_ulp before starting tests.
15124
b679a606
JM
151252013-05-24 Joseph Myers <joseph@codesourcery.com>
15126
e8bdba36
JM
15127 * math/gen-libm-test.pl (generate_testfile): Do not handle
15128 START_DATA and END_DATA.
15129 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15130 END_DATA.
15131 (acos_tonearest_test_data): Likewise.
15132 (acos_towardzero_test_data): Likewise.
15133 (acos_downward_test_data): Likewise.
15134 (acos_upward_test_data): Likewise.
15135 (acosh_test_data): Likewise.
15136 (asin_test_data): Likewise.
15137 (asin_tonearest_test_data): Likewise.
15138 (asin_towardzero_test_data): Likewise.
15139 (asin_downward_test_data): Likewise.
15140 (asin_upward_test_data): Likewise.
15141 (asinh_test_data): Likewise.
15142 (atan_test_data): Likewise.
15143 (atanh_test_data): Likewise.
15144 (atan2_test_data): Likewise.
15145 (cabs_test_data): Likewise.
15146 (cacos_test_data): Likewise.
15147 (cacosh_test_data): Likewise.
15148 (carg_test_data): Likewise.
15149 (casin_test_data): Likewise.
15150 (casinh_test_data): Likewise.
15151 (catan_test_data): Likewise.
15152 (catanh_test_data): Likewise.
15153 (cbrt_test_data): Likewise.
15154 (ccos_test_data): Likewise.
15155 (ccosh_test_data): Likewise.
15156 (ceil_test_data): Likewise.
15157 (cexp_test_data): Likewise.
15158 (cimag_test_data): Likewise.
15159 (clog_test_data): Likewise.
15160 (clog10_test_data): Likewise.
15161 (conj_test_data): Likewise.
15162 (copysign_test_data): Likewise.
15163 (cos_test_data): Likewise.
15164 (cos_tonearest_test_data): Likewise.
15165 (cos_towardzero_test_data): Likewise.
15166 (cos_downward_test_data): Likewise.
15167 (cos_upward_test_data): Likewise.
15168 (cosh_test_data): Likewise.
15169 (cosh_tonearest_test_data): Likewise.
15170 (cosh_towardzero_test_data): Likewise.
15171 (cosh_downward_test_data): Likewise.
15172 (cosh_upward_test_data): Likewise.
15173 (cpow_test_data): Likewise.
15174 (cproj_test_data): Likewise.
15175 (creal_test_data): Likewise.
15176 (csin_test_data): Likewise.
15177 (csinh_test_data): Likewise.
15178 (csqrt_test_data): Likewise.
15179 (ctan_test_data): Likewise.
15180 (ctan_tonearest_test_data): Likewise.
15181 (ctan_towardzero_test_data): Likewise.
15182 (ctan_downward_test_data): Likewise.
15183 (ctan_upward_test_data): Likewise.
15184 (ctanh_test_data): Likewise.
15185 (ctanh_tonearest_test_data): Likewise.
15186 (ctanh_towardzero_test_data): Likewise.
15187 (ctanh_downward_test_data): Likewise.
15188 (ctanh_upward_test_data): Likewise.
15189 (erf_test_data): Likewise.
15190 (erfc_test_data): Likewise.
15191 (exp_test_data): Likewise.
15192 (exp_tonearest_test_data): Likewise.
15193 (exp_towardzero_test_data): Likewise.
15194 (exp_downward_test_data): Likewise.
15195 (exp_upward_test_data): Likewise.
15196 (exp10_test_data): Likewise.
15197 (exp2_test_data): Likewise.
15198 (expm1_test_data): Likewise.
15199 (fabs_test_data): Likewise.
15200 (fdim_test_data): Likewise.
15201 (finite_test_data): Likewise.
15202 (floor_test_data): Likewise.
15203 (fma_test_data): Likewise.
15204 (fma_towardzero_test_data): Likewise.
15205 (fma_downward_test_data): Likewise.
15206 (fma_upward_test_data): Likewise.
15207 (fmax_test_data): Likewise.
15208 (fmin_test_data): Likewise.
15209 (fmod_test_data): Likewise.
15210 (fpclassify_test_data): Likewise.
15211 (frexp_test_data): Likewise.
15212 (gamma_test_data): Likewise.
15213 (hypot_test_data): Likewise.
15214 (ilogb_test_data): Likewise.
15215 (isfinite_test_data): Likewise.
15216 (isgreater_test_data): Likewise.
15217 (isgreaterequal_test_data): Likewise.
15218 (isinf_test_data): Likewise.
15219 (isless_test_data): Likewise.
15220 (islessequal_test_data): Likewise.
15221 (islessgreater_test_data): Likewise.
15222 (isnan_test_data): Likewise.
15223 (isnormal_test_data): Likewise.
15224 (issignaling_test_data): Likewise.
15225 (isunordered_test_data): Likewise.
15226 (j0_test_data): Likewise.
15227 (j1_test_data): Likewise.
15228 (jn_test_data): Likewise.
15229 (ldexp_test_data): Likewise.
15230 (lgamma_test_data): Likewise.
15231 (lrint_test_data): Likewise.
15232 (lrint_tonearest_test_data): Likewise.
15233 (lrint_towardzero_test_data): Likewise.
15234 (lrint_downward_test_data): Likewise.
15235 (lrint_upward_test_data): Likewise.
15236 (llrint_test_data): Likewise.
15237 (llrint_tonearest_test_data): Likewise.
15238 (llrint_towardzero_test_data): Likewise.
15239 (llrint_downward_test_data): Likewise.
15240 (llrint_upward_test_data): Likewise.
15241 (log_test_data): Likewise.
15242 (log10_test_data): Likewise.
15243 (log1p_test_data): Likewise.
15244 (log2_test_data): Likewise.
15245 (logb_test_data): Likewise.
15246 (logb_downward_test_data): Likewise.
15247 (lround_test_data): Likewise.
15248 (llround_test_data): Likewise.
15249 (modf_test_data): Likewise.
15250 (nearbyint_test_data): Likewise.
15251 (nextafter_test_data): Likewise.
15252 (nexttoward_test_data): Likewise.
15253 (pow_test_data): Likewise.
15254 (pow_tonearest_test_data): Likewise.
15255 (pow_towardzero_test_data): Likewise.
15256 (pow_downward_test_data): Likewise.
15257 (pow_upward_test_data): Likewise.
15258 (remainder_test_data): Likewise.
15259 (remainder_tonearest_test_data): Likewise.
15260 (remainder_towardzero_test_data): Likewise.
15261 (remainder_downward_test_data): Likewise.
15262 (remainder_upward_test_data): Likewise.
15263 (remquo_test_data): Likewise.
15264 (rint_test_data): Likewise.
15265 (rint_tonearest_test_data): Likewise.
15266 (rint_towardzero_test_data): Likewise.
15267 (rint_downward_test_data): Likewise.
15268 (rint_upward_test_data): Likewise.
15269 (round_test_data): Likewise.
15270 (scalb_test_data): Likewise.
15271 (scalbn_test_data): Likewise.
15272 (scalbln_test_data): Likewise.
15273 (signbit_test_data): Likewise.
15274 (sin_test_data): Likewise.
15275 (sin_tonearest_test_data): Likewise.
15276 (sin_towardzero_test_data): Likewise.
15277 (sin_downward_test_data): Likewise.
15278 (sin_upward_test_data): Likewise.
15279 (sincos_test_data): Likewise.
15280 (sinh_test_data): Likewise.
15281 (sinh_tonearest_test_data): Likewise.
15282 (sinh_towardzero_test_data): Likewise.
15283 (sinh_downward_test_data): Likewise.
15284 (sinh_upward_test_data): Likewise.
15285 (sqrt_test_data): Likewise.
15286 (tan_test_data): Likewise.
15287 (tan_tonearest_test_data): Likewise.
15288 (tan_towardzero_test_data): Likewise.
15289 (tan_downward_test_data): Likewise.
15290 (tan_upward_test_data): Likewise.
15291 (tanh_test_data): Likewise.
15292 (tgamma_test_data): Likewise.
15293 (trunc_test_data): Likewise.
15294 (y0_test_data): Likewise.
15295 (y1_test_data): Likewise.
15296 (yn_test_data): Likewise.
15297 (significand_test_data): Likewise.
15298
b679a606
JM
15299 * math/gen-libm-test.pl (@functions): Remove variable.
15300 (generate_testfile): Don't handle START and END lines.
15301 * math/libm-test.inc (START): New macro.
15302 (END): Likewise.
15303 (END_COMPLEX): Likewise.
15304 (acos_test): Use END macro without arguments.
15305 (acos_test_tonearest): Likewise.
15306 (acos_test_towardzero): Likewise.
15307 (acos_test_downward): Likewise.
15308 (acos_test_upward): Likewise.
15309 (acosh_test): Likewise.
15310 (asin_test): Likewise.
15311 (asin_test_tonearest): Likewise.
15312 (asin_test_towardzero): Likewise.
15313 (asin_test_downward): Likewise.
15314 (asin_test_upward): Likewise.
15315 (asinh_test): Likewise.
15316 (atan_test): Likewise.
15317 (atanh_test): Likewise.
15318 (atan2_test): Likewise.
15319 (cabs_test): Likewise.
15320 (cacos_test): Use END_COMPLEX macro without arguments.
15321 (cacosh_test): Likewise.
15322 (carg_test): Use END macro without arguments.
15323 (casin_test): Use END_COMPLEX macro without arguments.
15324 (casinh_test): Likewise.
15325 (catan_test): Likewise.
15326 (catanh_test): Likewise.
15327 (cbrt_test): Use END macro without arguments.
15328 (ccos_test): Use END_COMPLEX macro without arguments.
15329 (ccosh_test): Likewise.
15330 (ceil_test): Use END macro without arguments.
15331 (cexp_test): Use END_COMPLEX macro without arguments.
15332 (cimag_test): Use END macro without arguments.
15333 (clog_test): Use END_COMPLEX macro without arguments.
15334 (clog10_test): Likewise.
15335 (conj_test): Likewise.
15336 (copysign_test): Use END macro without arguments.
15337 (cos_test): Likewise.
15338 (cos_test_tonearest): Likewise.
15339 (cos_test_towardzero): Likewise.
15340 (cos_test_downward): Likewise.
15341 (cos_test_upward): Likewise.
15342 (cosh_test): Likewise.
15343 (cosh_test_tonearest): Likewise.
15344 (cosh_test_towardzero): Likewise.
15345 (cosh_test_downward): Likewise.
15346 (cosh_test_upward): Likewise.
15347 (cpow_test): Use END_COMPLEX macro without arguments.
15348 (cproj_test): Likewise.
15349 (creal_test): Use END macro without arguments.
15350 (csin_test): Use END_COMPLEX macro without arguments.
15351 (csinh_test): Likewise.
15352 (csqrt_test): Likewise.
15353 (ctan_test): Likewise.
15354 (ctan_test_tonearest): Likewise.
15355 (ctan_test_towardzero): Likewise.
15356 (ctan_test_downward): Likewise.
15357 (ctan_test_upward): Likewise.
15358 (ctanh_test): Likewise.
15359 (ctanh_test_tonearest): Likewise.
15360 (ctanh_test_towardzero): Likewise.
15361 (ctanh_test_downward): Likewise.
15362 (ctanh_test_upward): Likewise.
15363 (erf_test): Use END macro without arguments.
15364 (erfc_test): Likewise.
15365 (exp_test): Likewise.
15366 (exp_test_tonearest): Likewise.
15367 (exp_test_towardzero): Likewise.
15368 (exp_test_downward): Likewise.
15369 (exp_test_upward): Likewise.
15370 (exp10_test): Likewise.
15371 (exp2_test): Likewise.
15372 (expm1_test): Likewise.
15373 (fabs_test): Likewise.
15374 (fdim_test): Likewise.
15375 (finite_test): Likewise.
15376 (floor_test): Likewise.
15377 (fma_test): Likewise.
15378 (fma_test_towardzero): Likewise.
15379 (fma_test_downward): Likewise.
15380 (fma_test_upward): Likewise.
15381 (fmax_test): Likewise.
15382 (fmin_test): Likewise.
15383 (fmod_test): Likewise.
15384 (fpclassify_test): Likewise.
15385 (frexp_test): Likewise.
15386 (gamma_test): Likewise.
15387 (hypot_test): Likewise.
15388 (ilogb_test): Likewise.
15389 (isfinite_test): Likewise.
15390 (isgreater_test): Likewise.
15391 (isgreaterequal_test): Likewise.
15392 (isinf_test): Likewise.
15393 (isless_test): Likewise.
15394 (islessequal_test): Likewise.
15395 (islessgreater_test): Likewise.
15396 (isnan_test): Likewise.
15397 (isnormal_test): Likewise.
15398 (issignaling_test): Likewise.
15399 (isunordered_test): Likewise.
15400 (j0_test): Likewise.
15401 (j1_test): Likewise.
15402 (jn_test): Likewise.
15403 (ldexp_test): Likewise.
15404 (lgamma_test): Likewise.
15405 (lrint_test): Likewise.
15406 (lrint_test_tonearest): Likewise.
15407 (lrint_test_towardzero): Likewise.
15408 (lrint_test_downward): Likewise.
15409 (lrint_test_upward): Likewise.
15410 (llrint_test): Likewise.
15411 (llrint_test_tonearest): Likewise.
15412 (llrint_test_towardzero): Likewise.
15413 (llrint_test_downward): Likewise.
15414 (llrint_test_upward): Likewise.
15415 (log_test): Likewise.
15416 (log10_test): Likewise.
15417 (log1p_test): Likewise.
15418 (log2_test): Likewise.
15419 (logb_test): Likewise.
15420 (logb_test_downward): Likewise.
15421 (lround_test): Likewise.
15422 (llround_test): Likewise.
15423 (modf_test): Likewise.
15424 (nearbyint_test): Likewise.
15425 (nextafter_test): Likewise.
15426 (nexttoward_test): Likewise.
15427 (pow_test): Likewise.
15428 (pow_test_tonearest): Likewise.
15429 (pow_test_towardzero): Likewise.
15430 (pow_test_downward): Likewise.
15431 (pow_test_upward): Likewise.
15432 (remainder_test): Likewise.
15433 (remainder_test_tonearest): Likewise.
15434 (remainder_test_towardzero): Likewise.
15435 (remainder_test_downward): Likewise.
15436 (remainder_test_upward): Likewise.
15437 (remquo_test): Likewise.
15438 (rint_test): Likewise.
15439 (rint_test_tonearest): Likewise.
15440 (rint_test_towardzero): Likewise.
15441 (rint_test_downward): Likewise.
15442 (rint_test_upward): Likewise.
15443 (round_test): Likewise.
15444 (scalb_test): Likewise.
15445 (scalbn_test): Likewise.
15446 (scalbln_test): Likewise.
15447 (signbit_test): Likewise.
15448 (sin_test): Likewise.
15449 (sin_test_tonearest): Likewise.
15450 (sin_test_towardzero): Likewise.
15451 (sin_test_downward): Likewise.
15452 (sin_test_upward): Likewise.
15453 (sincos_test): Likewise.
15454 (sinh_test): Likewise.
15455 (sinh_test_tonearest): Likewise.
15456 (sinh_test_towardzero): Likewise.
15457 (sinh_test_downward): Likewise.
15458 (sinh_test_upward): Likewise.
15459 (sqrt_test): Likewise.
15460 (tan_test): Likewise.
15461 (tan_test_tonearest): Likewise.
15462 (tan_test_towardzero): Likewise.
15463 (tan_test_downward): Likewise.
15464 (tan_test_upward): Likewise.
15465 (tanh_test): Likewise.
15466 (tgamma_test): Likewise.
15467 (trunc_test): Likewise.
15468 (y0_test): Likewise.
15469 (y1_test): Likewise.
15470 (yn_test): Likewise.
15471 (significand_test): Likewise.
15472
bae143d2
OB
154732013-05-24 Ondřej Bílka <neleai@seznam.cz>
15474
15475 [BZ #15381]
15476 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15477
9323d39b
EM
154782013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15479
d4ea44a0 15480 [BZ #14894]
9323d39b
EM
15481 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15482 __ppc_mdoio and __ppc_mdoom.
15483 * manual/platform.texi: Document new functions __ppc_yield,
15484 __ppc_mdoio and __ppc_mdoom.
15485
13e23af7
CD
154862013-05-22 Carlos O'Donell <carlos@redhat.com>
15487
15488 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15489 (main): Mention "tls" pseudo-hwcap is legacy.
15490 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15491
351fe550
JM
154922013-05-22 Joseph Myers <joseph@codesourcery.com>
15493
15494 * math/gen-libm-test.pl (parse_args): Output only string of
15495 arguments as text for test name, not full call or descriptions of
15496 tests for extra outputs.
15497 (generate_testfile): Do not pass function name to parse_args.
15498 Generate this_func variable from START.
15499 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15500 field to arg_str.
15501 (struct test_ff_f_data): Likewise.
15502 (test_ff_f_data_nexttoward): Likewise.
15503 (struct test_fi_f_data): Likewise.
15504 (struct test_fl_f_data): Likewise.
15505 (struct test_if_f_data): Likewise.
15506 (struct test_fff_f_data): Likewise.
15507 (struct test_c_f_data): Likewise.
15508 (struct test_f_f1_data): Likewise. Remove field extra_name.
15509 (struct test_fF_f1_data): Likewise.
15510 (struct test_ffI_f1_data): Likewise.
15511 (struct test_c_c_data): Rename test_name field to arg_str.
15512 (struct test_cc_c_data): Likewise.
15513 (struct test_f_i_data): Likewise.
15514 (struct test_ff_i_data): Likewise.
15515 (struct test_f_l_data): Likewise.
15516 (struct test_f_L_data): Likewise.
15517 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15518 and extra2_name.
15519 (COMMON_TEST_SETUP): New macro.
15520 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15521 (COMMON_TEST_CLEANUP): Likewise.
15522 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15523 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15524 macros.
15525 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15526 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15527 macros.
15528 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15529 (RUN_TEST_fff_f): Take argument string. Call new setup and
15530 cleanup macros.
15531 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15532 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15533 macros.
15534 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15535 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15536 macros.
15537 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15538 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15539 cleanup macros.
15540 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15541 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15542 cleanup macros.
15543 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15544 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15545 cleanup macros.
15546 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15547 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15548 macros.
15549 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15550 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15551 macros.
15552 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15553 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15554 macros.
15555 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15556 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15557 cleanup macros.
15558 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15559 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15560 cleanup macros.
15561 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15562 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15563 macros.
15564 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15565 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15566 cleanup macros.
15567 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15568 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15569 macros.
15570 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15571 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15572 macros.
15573 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15574 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15575 cleanup macros.
15576 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15577
85118d4d
EBM
155782013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15579
15580 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15581 to _sifields.sigfault.
15582 (si_addr_lsb): Define new macro.
15583 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15584 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15585 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15586
7a44c18f
CD
155872013-05-03 Carlos O'Donell <carlos at redhat.com>
15588
15589 [BZ #15441]
15590 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15591 returns -1.
15592 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15593 null return -1.
15594 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15595 loading the domain.
15596
b50a7181
JM
155972013-05-22 Joseph Myers <joseph@codesourcery.com>
15598
15599 * math/gen-libm-test.pl (parse_args): Do not include expected
15600 result in test name.
15601 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15602 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15603 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15604 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15605 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15607
051063c8
SP
156082013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15609
3ce9e010
SP
15610 * benchtests/Makefile: Sort function entries.
15611
051063c8
SP
15612 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15613 tanh, asinh, acosh, atanh.
15614 * benchtests/acos-inputs: New file.
15615 * benchtests/acosh-inputs: New file.
15616 * benchtests/asin-inputs: New file.
15617 * benchtests/asinh-inputs: New file.
15618 * benchtests/atanh-inputs: New file.
15619 * benchtests/cosh-inputs: New file.
15620 * benchtests/log-inputs: New file.
15621 * benchtests/sinh-inputs: New file.
15622 * benchtests/tanh-inputs: New file.
15623
47c22455
DL
156242013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15625
15626 [BZ #15339]
15627 * posix/tst-getaddrinfo4.c: New test.
15628 * posix/Makefile (tests): Add it.
15629
3d04f5db
SP
156302013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15631
15632 [BZ #15339]
15633 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15634 when no services were used.
15635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15636 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15637
d5dd6189
AS
156382013-05-21 Andreas Schwab <schwab@suse.de>
15639
15640 [BZ #15014]
15641 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15642 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15643 successful.
15644 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15645 redundant variable declarations and reallocation of buffer when
15646 parsing as IPv6 address. Always set NSS status when called from
15647 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15648 buffer too small. Correct computation of needed size.
15649 * nss/Makefile (tests): Add test-digits-dots.
15650 * nss/test-digits-dots.c: New test.
15651
fef94eab
SP
156522013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15653
15654 * benchtests/Makefile: Remove instructions for adding
15655 benchmark tests.
15656 * benchtests/README: New file to explain how to execute and
15657 enhance the benchmark tests.
15658
e39adf43
AS
156592013-05-21 Andreas Schwab <schwab@suse.de>
15660
15661 [BZ #15493]
15662 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15663 * setjmp/tst-sigsetjmp.c: New test.
15664
b2b671b6
OB
156652013-05-20 Ondřej Bílka <neleai@seznam.cz>
15666
15667 * sysdeps/x86_64/memset.S (memset): New implementation.
15668 (__bzero): Likewise.
15669 (__memset_tail): New function.
15670
2d48b41c
OB
156712013-05-20 Ondřej Bílka <neleai@seznam.cz>
15672
15673 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15674 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15675 __memcpy_sse2_unaligned ifunc selection.
15676 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15677 Add memcpy-sse2-unaligned.S.
15678 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15679 Add: __memcpy_sse2_unaligned.
15680
f16cc3eb
JM
156812013-05-19 Joseph Myers <joseph@codesourcery.com>
15682
3e694268
JM
15683 [BZ #15490]
15684 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15685 math_force_eval before restoring floating-point envrionment.
15686 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15687 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15688 Likewise.
15689 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15690 <math_private.h>.
15691 (__nearbyintl): Use math_force_eval before restoring
15692 floating-point environment.
15693 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15694
db62a907
JM
15695 * math/gen-libm-test.pl (special_functions): Remove.
15696 (parse_args): Don't handle TEST_extra. Handle functions with no
15697 return value.
15698 * math/libm-test.inc (struct test_sincos_data): Replace with
15699 struct test_fFF_11_data.
15700 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15701 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15702 (sincos_test_data): Change element type to struct
15703 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15704 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15705 RUN_TEST_LOOP_sincos.
15706 * math/README.libm-test: Don't mention special handling of
15707 individual functions.
15708 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15709 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15710 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15711 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15712 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15714
f16cc3eb
JM
15715 * math/gen-libm-test.pl (get_variable): Remove function.
15716 (parse_args): Don't show pointer parameters to call in test
15717 names. Use "extra output N" in test names for extra outputs
15718 rather than naming variables.
15719
3779b5b6
JM
157202013-05-18 Joseph Myers <joseph@codesourcery.com>
15721
2ee094ff
JM
15722 [BZ #15488]
15723 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15724 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15725 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15726 double tests.
15727 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15728 disable.
15729 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15730 check_long_double.
15731
3779b5b6
JM
15732 * math/gen-libm-test.pl (@tests): Remove variable.
15733 ($count): Likewise.
15734 (new_test): Remove function.
15735 (show_exceptions): New function.
15736 (special_functions): Use show_exceptions instead of new_test.
15737 (parse_args): Likewise.
15738 (generate_testfile): Pass only function name in generated call to
15739 print_max_error or print_complex_max_error.
15740 (get_ulps): Do not handle complex tests specially.
15741 (output_test): Rename to ...
15742 (get_all_ulps_for_test): ... this. Return a string rather than
15743 printing to a file. Require ulps to be present.
15744 (output_ulps): Generate arrays rather than #defines.
15745 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15746 (struct ulp_data): New type.
15747 (BUILD_COMPLEX_ULP): Remove macro.
15748 (compare_ulp_data): New function.
15749 (find_ulps): Likewise.
15750 (find_test_ulps): Likewise.
15751 (find_function_ulps): Likewise.
15752 (find_complex_function_ulps): Likewise.
15753 (print_max_error): Determine allowed ulps using
15754 find_function_ulps.
15755 (print_complex_max_error): Determine allowed ulps using
15756 find_complex_function_ulps.
15757 (check_float_internal): Determine max ulps using find_test_ulps.
15758 (check_float): Do not take max_ulp parameter. Update call to
15759 check_float_internal.
15760 (check_complex): Likewise.
15761 (check_int): Do not take max_ulp parameter.
15762 (check_long): Likewise.
15763 (check_bool): Likewise.
15764 (check_longlong): Likewise.
15765 (struct test_f_f_data): Remove max_ulp field.
15766 (struct test_ff_f_data): Likewise.
15767 (struct test_ff_f_data_nexttoward): Likewise.
15768 (struct test_fi_f_data): Likewise.
15769 (struct test_fl_f_data): Likewise.
15770 (struct test_if_f_data): Likewise.
15771 (struct test_fff_f_data): Likewise.
15772 (struct test_c_f_data): Likewise.
15773 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15774 (struct test_fF_f1_data): Likewise.
15775 (struct test_ffI_f1_data): Likewise.
15776 (struct test_c_c_data): Remove max_ulp field.
15777 (struct test_cc_c_data): Likewise.
15778 (struct test_f_i_data): Likewise.
15779 (struct test_ff_i_data): Likewise.
15780 (struct test_f_l_data): Likewise.
15781 (struct test_f_L_data): Likewise.
15782 (struct test_sincos_data): Likewise.
15783 (RUN_TEST_f_f): Do not handle ulps.
15784 (RUN_TEST_LOOP_f_f): Likewise.
15785 (RUN_TEST_2_f): Likewise.
15786 (RUN_TEST_LOOP_2_f): Likewise.
15787 (RUN_TEST_fff_f): Likewise.
15788 (RUN_TEST_LOOP_fff_f): Likewise.
15789 (RUN_TEST_c_f): Likewise.
15790 (RUN_TEST_LOOP_c_f): Likewise.
15791 (RUN_TEST_f_f1): Likewise.
15792 (RUN_TEST_LOOP_f_f1): Likewise.
15793 (RUN_TEST_fF_f1): Likewise.
15794 (RUN_TEST_LOOP_fF_f1): Likewise.
15795 (RUN_TEST_fI_f1): Likewise.
15796 (RUN_TEST_LOOP_fI_f1): Likewise.
15797 (RUN_TEST_ffI_f1): Likewise.
15798 (RUN_TEST_LOOP_ffI_f1): Likewise.
15799 (RUN_TEST_c_c): Likewise.
15800 (RUN_TEST_LOOP_c_c): Likewise.
15801 (RUN_TEST_cc_c): Likewise.
15802 (RUN_TEST_LOOP_cc_c): Likewise.
15803 (RUN_TEST_f_i): Likewise.
15804 (RUN_TEST_LOOP_f_i): Likewise.
15805 (RUN_TEST_f_i_tg): Likewise.
15806 (RUN_TEST_LOOP_f_i_tg): Likewise.
15807 (RUN_TEST_ff_i_tg): Likewise.
15808 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15809 (RUN_TEST_f_b): Likewise.
15810 (RUN_TEST_LOOP_f_b): Likewise.
15811 (RUN_TEST_f_b_tg): Likewise.
15812 (RUN_TEST_LOOP_f_b_tg): Likewise.
15813 (RUN_TEST_f_l): Likewise.
15814 (RUN_TEST_LOOP_f_l): Likewise.
15815 (RUN_TEST_f_L): Likewise.
15816 (RUN_TEST_LOOP_f_L): Likewise.
15817 (RUN_TEST_sincos): Likewise.
15818 (RUN_TEST_LOOP_sincos): Likewise.
15819
8269107f
JM
158202013-05-17 Joseph Myers <joseph@codesourcery.com>
15821
bb38759d
JM
15822 [BZ #15480]
15823 [BZ #15485]
15824 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15825 main case of finite arguments, set rounding mode to FE_TONEAREST
15826 and discard exceptions.
15827 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15828 exceptions.
15829 (remainder_tonearest_test_data): New variable.
15830 (remainder_test_tonearest): New function.
15831 (remainder_towardzero_test_data): New variable.
15832 (remainder_test_towardzero): New function.
15833 (remainder_downward_test_data): New variable.
15834 (remainder_test_downward): New function.
15835 (remainder_upward_test_data): New variable.
15836 (remainder_test_upward): New function.
15837 (main): Call the new test functions.
15838
a00bdcf0
JM
15839 * math/libm-test.inc (struct test_f_f1_data): Remove field
15840 extra_init.
15841 (struct test_fF_f1_data): Likewise.
15842 (struct test_ffI_f1_data): Likewise.
15843 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15844 based on value of EXTRA_EXPECTED.
15845 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15846 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15847 EXTRA_VAR based on value of EXTRA_EXPECTED.
15848 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15849 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15850 EXTRA_VAR based on value of EXTRA_EXPECTED.
15851 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15852 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15853 EXTRA_VAR based on value of EXTRA_EXPECTED.
15854 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15855 * math/gen-libm-test.pl (parse_args): Don't output initializers
15856 for extra output values.
15857
de407f79
JM
15858 * math/libm-test.inc (check_int): Expect result to be exactly
15859 equal to expected value and do not handle ulps.
15860 (check_long): Likewise.
15861 (check_longlong): Likewise.
15862
8269107f
JM
15863 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15864 exceptions.
15865 (cimag_test_data): Likewise.
15866 (conj_test_data): Likewise.
15867 (copysign_test_data): Likewise.
15868 (cproj_test_data): Likewise.
15869 (creal_test_data): Likewise.
15870 (fabs_test_data): Likewise.
15871 (fdim_test_data): Likewise.
15872 (finite_test_data): Likewise.
15873 (floor_test_data): Likewise.
15874 (fmax_test_data): Likewise.
15875 (fmin_test_data): Likewise.
15876 (fmod_test_data): Likewise.
15877 (fpclassify_test_data): Likewise.
15878 (frexp_test_data): Likewise.
15879 (ilogb_test_data): Likewise.
15880 (isfinite_test_data): Likewise.
15881 (isgreater_test_data): Likewise.
15882 (isgreaterequal_test_data): Likewise.
15883 (isinf_test_data): Likewise.
15884 (isless_test_data): Likewise.
15885 (islessequal_test_data): Likewise.
15886 (islessgreater_test_data): Likewise.
15887 (isnan_test_data): Likewise.
15888 (isnormal_test_data): Likewise.
15889 (issignaling_test_data): Likewise.
15890 (isunordered_test_data): Likewise.
15891 (ldexp_test_data): Likewise.
15892 (lrint_test_data): Likewise.
15893 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15894 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15895 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15896 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15897 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15898 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15899 test input.
15900 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15901 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15902 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15903 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15904 that test input.
15905 (lrint_downward_test_data): Test for "inexact" exceptions.
15906 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15907 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15908 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15909 test input.
15910 (lrint_upward_test_data): Test for "inexact" exceptions.
15911 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15912 test input.
15913 (llrint_test_data): Test for "inexact" exceptions.
15914 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15915 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15916 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15917 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15918 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15919 (llrint_downward_test_data): Test for "inexact" exceptions.
15920 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15921 (llrint_upward_test_data): Test for "inexact" exceptions.
15922 (logb_test_data): Likewise.
15923 (logb_downward_test_data): Likewise.
15924 (nextafter_test_data): Likewise.
15925 (nexttoward_test_data): Likewise.
15926 (remainder_test_data): Likewise.
15927 (remquo_test_data): Likewise.
15928 (scalbn_test_data): Likewise.
15929 (scalbln_test_data): Likewise.
15930 (signbit_test_data): Likewise.
15931 (sqrt_test_data): Likewise.
15932 (significand_test_data): Likewise.
15933
48a18de1
SP
159342013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15935
15936 [BZ #15424]
15937 * benchtests/bench-modf.c (struct args): Mark arg0 as
15938 volatile.
15939 * scripts/bench.pl: Mark members of struct args as volatile.
15940
13d3b41a
AZ
159412013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15942
68191c1d 15943 [BZ # 15497]
13d3b41a
AZ
15944 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15945 negative infinity on POWER6 or lower.
15946 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15947
2848b105
MR
159482013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15949
15950 [BZ #15442]
15951 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15952 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15953 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15954 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15955 (_FP_SETQNAN): New macro.
15956 (_FP_SETQNAN_SEMIRAW): Likewise.
15957 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15958 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15959 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15960 (FP_EXTEND): Use _FP_FRAC_SNANP.
15961 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15962 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15963 into account.
15964 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15965 New macro.
15966 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15967 Likewise.
15968
323e5cb7
JM
159692013-05-16 Joseph Myers <joseph@codesourcery.com>
15970
c58b274f
JM
15971 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15972 with DIVIDE_BY_ZERO_EXCEPTION.
15973 (gamma_test_data): Likewise.
15974 (lgamma_test_data): Likewise.
15975 (log_test_data): Likewise.
15976 (log10_test_data): Likewise.
15977 (log2_test_data): Likewise.
15978 (tgamma_test_data): Likewise.
15979
0ab34904
JM
15980 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15981 (acos_test_tonearest): Likewise.
15982 (acos_test_towardzero): Likewise.
15983 (acos_test_downward): Likewise.
15984 (acos_test_upward): Likewise.
15985 (acosh_test): Likewise.
15986 (asin_test): Likewise.
15987 (asin_test_tonearest): Likewise.
15988 (asin_test_towardzero): Likewise.
15989 (asin_test_downward): Likewise.
15990 (asin_test_upward): Likewise.
15991 (asinh_test): Likewise.
15992 (atan_test): Likewise.
15993 (atanh_test): Likewise.
15994 (atan2_test): Likewise.
15995 (cabs_test): Likewise.
15996 (cacos_test): Likewise.
15997 (cacosh_test): Likewise.
15998 (casin_test): Likewise.
15999 (casinh_test): Likewise.
16000 (catan_test): Likewise.
16001 (catanh_test): Likewise.
16002 (cbrt_test): Likewise.
16003 (ccos_test): Likewise.
16004 (ccosh_test): Likewise.
16005 (cexp_test): Likewise.
16006 (clog_test): Likewise.
16007 (clog10_test): Likewise.
16008 (cos_test): Likewise.
16009 (cos_test_tonearest): Likewise.
16010 (cos_test_towardzero): Likewise.
16011 (cos_test_downward): Likewise.
16012 (cos_test_upward): Likewise.
16013 (cosh_test): Likewise.
16014 (cosh_test_tonearest): Likewise.
16015 (cosh_test_towardzero): Likewise.
16016 (cosh_test_downward): Likewise.
16017 (cosh_test_upward): Likewise.
16018 (cpow_test): Likewise.
16019 (csin_test): Likewise.
16020 (csinh_test): Likewise.
16021 (csqrt_test): Likewise.
16022 (ctan_test): Likewise.
16023 (ctan_test_tonearest): Likewise.
16024 (ctan_test_towardzero): Likewise.
16025 (ctan_test_downward): Likewise.
16026 (ctan_test_upward): Likewise.
16027 (ctanh_test): Likewise.
16028 (ctanh_test_tonearest): Likewise.
16029 (ctanh_test_towardzero): Likewise.
16030 (ctanh_test_downward): Likewise.
16031 (ctanh_test_upward): Likewise.
16032 (erf_test): Likewise.
16033 (erfc_test): Likewise.
16034 (exp_test): Likewise.
16035 (exp_test_tonearest): Likewise.
16036 (exp_test_towardzero): Likewise.
16037 (exp_test_downward): Likewise.
16038 (exp_test_upward): Likewise.
16039 (exp10_test): Likewise.
16040 (exp2_test): Likewise.
16041 (expm1_test): Likewise.
16042 (fmod_test): Likewise.
16043 (gamma_test): Likewise.
16044 (hypot_test): Likewise.
16045 (j0_test): Likewise.
16046 (j1_test): Likewise.
16047 (jn_test): Likewise.
16048 (lgamma_test): Likewise.
16049 (log_test): Likewise.
16050 (log10_test): Likewise.
16051 (log1p_test): Likewise.
16052 (log2_test): Likewise.
16053 (logb_test_downward): Likewise.
16054 (pow_test): Likewise.
16055 (pow_test_tonearest): Likewise.
16056 (pow_test_towardzero): Likewise.
16057 (pow_test_downward): Likewise.
16058 (pow_test_upward): Likewise.
16059 (remainder_test): Likewise.
16060 (remquo_test): Likewise.
16061 (sin_test): Likewise.
16062 (sin_test_tonearest): Likewise.
16063 (sin_test_towardzero): Likewise.
16064 (sin_test_downward): Likewise.
16065 (sin_test_upward): Likewise.
16066 (sincos_test): Likewise.
16067 (sinh_test): Likewise.
16068 (sinh_test_tonearest): Likewise.
16069 (sinh_test_towardzero): Likewise.
16070 (sinh_test_downward): Likewise.
16071 (sinh_test_upward): Likewise.
16072 (sqrt_test): Likewise.
16073 (tan_test): Likewise.
16074 (tan_test_tonearest): Likewise.
16075 (tan_test_towardzero): Likewise.
16076 (tan_test_downward): Likewise.
16077 (tan_test_upward): Likewise.
16078 (tanh_test): Likewise.
16079 (tgamma_test): Likewise.
16080 (y0_test): Likewise.
16081 (y1_test): Likewise.
16082 (yn_test): Likewise.
16083
323e5cb7
JM
16084 * math/gen-libm-test.pl (adjust_arg): Remove function.
16085 (special_function): Remove argument $in_func. Only handle
16086 generating output for tables of tests, not inside functions.
16087 (parse_args): Likewise.
16088 (generate_testfile): Remove variable $in_func. Update call to
16089 parse_args.
16090 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16091 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16092 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16093 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16094 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16095 (MAX_VALUE_INIT): Rename macro to max_value.
16096 (MIN_VALUE_INIT): Rename macro to min_value.
16097 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16098 (plus_zero): Remove variable.
16099 (minus_zero): Likewise.
16100 (plus_infty): Likewise.
16101 (minus_infty): Likewise.
16102 (qnan_value): Likewise.
16103 (max_value): Likewise.
16104 (min_value): Likewise.
16105 (min_subnorm_value): Likewise.
16106
e054f494
RA
161072013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16108
16109 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16110 uint64_t or uint32_t usage.
16111 * crypt/sha256-block.c: Likewise.
16112 * crypt/sha256-crypt.c: Likewise.
16113 * crypt/sha256.c: Likewise.
16114 * crypt/sha512-block.c: Likewise.
16115 * crypt/sha512-crypt.c: Likewise.
16116 * crypt/sha512.c: Likewise.
16117 * debug/backtrace-tst.c: Likewise.
16118 * debug/pcprofiledump.c: Likewise.
16119 * elf/cache.c: Likewise.
16120 * elf/dl-cache.c: Likewise.
16121 * elf/dl-misc.c: Likewise.
16122 * elf/dl-profile.c: Likewise.
16123 * elf/dl-support.c: Likewise.
16124 * elf/ldconfig.c: Likewise.
16125 * elf/sprof.c: Likewise.
16126 * iconv/dummy-repertoire.c: Likewise.
16127 * iconv/iconv_charmap.c: Likewise.
16128 * iconv/skeleton.c: Likewise.
16129 * iconvdata/8bit-generic.c: Likewise.
16130 * iconvdata/cp737.h: Likewise.
16131 * iconvdata/cp775.h: Likewise.
16132 * iconvdata/ibm1008.h: Likewise.
16133 * iconvdata/ibm1025.h: Likewise.
16134 * iconvdata/ibm1046.h: Likewise.
16135 * iconvdata/ibm1097.h: Likewise.
16136 * iconvdata/ibm1112.h: Likewise.
16137 * iconvdata/ibm1122.h: Likewise.
16138 * iconvdata/ibm1123.h: Likewise.
16139 * iconvdata/ibm1124.h: Likewise.
16140 * iconvdata/ibm1129.h: Likewise.
16141 * iconvdata/ibm1130.h: Likewise.
16142 * iconvdata/ibm1132.h: Likewise.
16143 * iconvdata/ibm1133.h: Likewise.
16144 * iconvdata/ibm1137.h: Likewise.
16145 * iconvdata/ibm1140.h: Likewise.
16146 * iconvdata/ibm1141.h: Likewise.
16147 * iconvdata/ibm1142.h: Likewise.
16148 * iconvdata/ibm1143.h: Likewise.
16149 * iconvdata/ibm1144.h: Likewise.
16150 * iconvdata/ibm1145.h: Likewise.
16151 * iconvdata/ibm1146.h: Likewise.
16152 * iconvdata/ibm1147.h: Likewise.
16153 * iconvdata/ibm1148.h: Likewise.
16154 * iconvdata/ibm1149.h: Likewise.
16155 * iconvdata/ibm1153.h: Likewise.
16156 * iconvdata/ibm1154.h: Likewise.
16157 * iconvdata/ibm1155.h: Likewise.
16158 * iconvdata/ibm1156.h: Likewise.
16159 * iconvdata/ibm1157.h: Likewise.
16160 * iconvdata/ibm1158.h: Likewise.
16161 * iconvdata/ibm1160.h: Likewise.
16162 * iconvdata/ibm1161.h: Likewise.
16163 * iconvdata/ibm1162.h: Likewise.
16164 * iconvdata/ibm1163.h: Likewise.
16165 * iconvdata/ibm1164.h: Likewise.
16166 * iconvdata/ibm1166.h: Likewise.
16167 * iconvdata/ibm1167.h: Likewise.
16168 * iconvdata/ibm12712.h: Likewise.
16169 * iconvdata/ibm1390.h: Likewise.
16170 * iconvdata/ibm1399.h: Likewise.
16171 * iconvdata/ibm16804.h: Likewise.
16172 * iconvdata/ibm4517.h: Likewise.
16173 * iconvdata/ibm4899.h: Likewise.
16174 * iconvdata/ibm4909.h: Likewise.
16175 * iconvdata/ibm4971.h: Likewise.
16176 * iconvdata/ibm5347.h: Likewise.
16177 * iconvdata/ibm803.h: Likewise.
16178 * iconvdata/ibm856.h: Likewise.
16179 * iconvdata/ibm901.h: Likewise.
16180 * iconvdata/ibm902.h: Likewise.
16181 * iconvdata/ibm9030.h: Likewise.
16182 * iconvdata/ibm9066.h: Likewise.
16183 * iconvdata/ibm921.h: Likewise.
16184 * iconvdata/ibm922.h: Likewise.
16185 * iconvdata/ibm9448.h: Likewise.
16186 * iconvdata/isiri-3342.h: Likewise.
16187 * iconvdata/jis0201.h: Likewise.
16188 * include/link.h: Likewise.
16189 * include/netdb.h: Likewise.
16190 * inet/check_native.c: Likewise.
16191 * inet/check_pf.c: Likewise.
16192 * inet/getipv4sourcefilter.c: Likewise.
16193 * inet/getnameinfo.c: Likewise.
16194 * inet/getsourcefilter.c: Likewise.
16195 * inet/htonl.c: Likewise.
16196 * inet/setipv4sourcefilter.c: Likewise.
16197 * inet/setsourcefilter.c: Likewise.
16198 * inet/test-inet6_opt.c: Likewise.
16199 * inet/tst-network.c: Likewise.
16200 * locale/C-collate.c: Likewise.
16201 * locale/C-ctype.c: Likewise.
16202 * locale/C-time.c: Likewise.
16203 * locale/C-translit.h: Likewise.
16204 * locale/loadarchive.c: Likewise.
16205 * locale/programs/3level.h: Likewise.
16206 * locale/programs/charmap.c: Likewise.
16207 * locale/programs/charmap.h: Likewise.
16208 * locale/programs/ld-address.c: Likewise.
16209 * locale/programs/ld-collate.c: Likewise.
16210 * locale/programs/ld-ctype.c: Likewise.
16211 * locale/programs/ld-identification.c: Likewise.
16212 * locale/programs/ld-measurement.c: Likewise.
16213 * locale/programs/ld-messages.c: Likewise.
16214 * locale/programs/ld-monetary.c: Likewise.
16215 * locale/programs/ld-name.c: Likewise.
16216 * locale/programs/ld-numeric.c: Likewise.
16217 * locale/programs/ld-paper.c: Likewise.
16218 * locale/programs/ld-telephone.c: Likewise.
16219 * locale/programs/ld-time.c: Likewise.
16220 * locale/programs/linereader.c: Likewise.
16221 * locale/programs/locale.c: Likewise.
16222 * locale/programs/locarchive.c: Likewise.
16223 * locale/programs/locfile.h: Likewise.
16224 * locale/programs/repertoire.c: Likewise.
16225 * locale/programs/simple-hash.c: Likewise.
16226 * locale/programs/simple-hash.h: Likewise.
16227 * malloc/memusage.c: Likewise.
16228 * malloc/memusagestat.c: Likewise.
16229 * nis/nis_defaults.c: Likewise.
16230 * nis/nis_hash.c: Likewise.
16231 * nis/nis_print.c: Likewise.
16232 * nis/nis_xdr.c: Likewise.
16233 * nscd/connections.c: Likewise.
16234 * nscd/hstcache.c: Likewise.
16235 * nscd/nscd_gethst_r.c: Likewise.
16236 * nscd/nscd_getserv_r.c: Likewise.
16237 * nscd/nscd_helper.c: Likewise.
16238 * nscd/servicescache.c: Likewise.
16239 * nss/makedb.c: Likewise.
16240 * nss/nss_db/db-XXX.c: Likewise.
16241 * nss/nss_db/db-initgroups.c: Likewise.
16242 * nss/nss_db/db-netgrp.c: Likewise.
16243 * nss/nss_files/files-network.c: Likewise.
16244 * nss/nss_files/files-parse.c: Likewise.
16245 * posix/bug-regex5.c: Likewise.
16246 * posix/fnmatch_loop.c: Likewise.
16247 * posix/regcomp.c: Likewise.
16248 * posix/regexec.c: Likewise.
16249 * posix/tst-rfc3484-2.c: Likewise.
16250 * posix/tst-rfc3484-3.c: Likewise.
16251 * posix/tst-rfc3484.c: Likewise.
16252 * resolv/nss_dns/dns-canon.c: Likewise.
16253 * resolv/nss_dns/dns-network.c: Likewise.
16254 * resolv/res_init.c: Likewise.
16255 * resolv/res_mkquery.c: Likewise.
16256 * resolv/tst-aton.c: Likewise.
16257 * stdlib/cxa_atexit.c: Likewise.
16258 * stdlib/cxa_finalize.c: Likewise.
16259 * stdlib/gen-fpioconst.c: Likewise.
16260 * stdlib/strtol_l.c: Likewise.
16261 * string/tst-endian.c: Likewise.
16262 * sunrpc/auth_des.c: Likewise.
16263 * sunrpc/clnt_udp.c: Likewise.
16264 * sunrpc/rtime.c: Likewise.
16265 * sunrpc/svcauth_des.c: Likewise.
16266 * sunrpc/xdr.c: Likewise.
16267 * sunrpc/xdr_intXX_t.c: Likewise.
16268 * sunrpc/xdr_rec.c: Likewise.
16269 * sysdeps/generic/ldconfig.h: Likewise.
16270 * sysdeps/generic/ldsodefs.h: Likewise.
16271 * sysdeps/generic/memusage.h: Likewise.
16272 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16273 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16274 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16275 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16276 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16277 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16278 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16279 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16280 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16281 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16282 * sysdeps/posix/getaddrinfo.c: Likewise.
16283 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16284 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16285 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16286 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16287 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16288 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16289 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16290 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16291 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16292 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16293 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16294 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16295 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16296 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16297 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16298 * sysdeps/x86_64/dl-tls.h: Likewise.
16299 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16300 * time/alt_digit.c: Likewise.
16301 * time/era.c: Likewise.
16302 * wcsmbs/tst-c16c32-1.c: Likewise.
16303
8c75f674
JM
163042013-05-16 Joseph Myers <joseph@codesourcery.com>
16305
16306 * math/libm-test.inc (struct test_sincos_data): New type.
16307 (RUN_TEST_LOOP_sincos): New macro.
16308 (sincos_test_data): New variable.
16309 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16310
e6e49e59
RH
163112013-05-16 Richard Henderson <rth@redhat.com>
16312
16313 * math/atest-exp2.c (LIMB64): New macro.
16314 (CONSTSZ): New macro.
16315 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16316 (hexdig): Move ...
16317 (print_mpn_fp): ... to function scope.
16318 (read_mpn_hex): Remove.
16319 (get_log2): Remove.
16320 (exp2_mpn): Use mp_log2.
16321 (main): Use mp_exp1.
16322
15c7c18d
JM
163232013-05-16 Joseph Myers <joseph@codesourcery.com>
16324
105a07df
JM
16325 * math/libm-test.inc: Remove comment about not testing "inexact"
16326 exceptions.
16327 (INEXACT_EXCEPTION): New macro.
16328 (NO_INEXACT_EXCEPTION): Likewise.
16329 (INVALID_EXCEPTION_OK): Update value.
16330 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16331 (OVERFLOW_EXCEPTION_OK): Likewise.
16332 (UNDERFLOW_EXCEPTION_OK): Likewise.
16333 (IGNORE_ZERO_INF_SIGN): Likewise.
16334 (ERRNO_UNCHANGED): Likewise.
16335 (ERRNO_EDOM): Likewise.
16336 (ERRNO_ERANGE): Likewise.
16337 (test_exceptions): Handle testing "inexact" exceptions.
16338 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16339 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16340 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16341 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16342 INEXACT_EXCEPTION.
16343 (rint_towardzero_test_data): Likewise.
16344 (rint_downward_test_data): Likewise.
16345 (rint_upward_test_data): Likewise.
16346
e9eee333
JM
16347 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16348 with OVERFLOW_EXCEPTION.
16349 (exp10_test_data): Likewise.
16350 (exp2_test_data): Likewise.
16351 (expm1_test_data): Likewise.
16352 (lgamma_test_data): Likewise.
16353 (pow_test_data): Likewise.
16354 (tgamma_test_data): Likewise.
16355 (yn_test_data): Remove duplicate test of overflow.
16356
1c38ff73
JM
16357 * math/libm-test.inc (struct test_cc_c_data): New type.
16358 (RUN_TEST_LOOP_cc_c): New macro.
16359 (cpow_test_data): New variable.
16360 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16361
15c7c18d
JM
16362 * math/libm-test.inc (struct test_f_L_data): New type.
16363 (RUN_TEST_LOOP_f_L): New macro.
16364 (llrint_test_data): New variable.
16365 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16366 (llrint_tonearest_test_data): New variable.
16367 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16368 (llrint_towardzero_test_data): New variable.
16369 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16370 (llrint_downward_test_data): New variable.
16371 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16372 (llrint_upward_test_data): New variable.
16373 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16374 (llround_test_data): New variable.
16375 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16376
f137ff13
PC
163772013-05-13 Peter Collingbourne <pcc@google.com>
16378
16379 * math/atest-exp2.c (get_log2): Remove const attribute.
16380
3608cb24
JM
163812013-05-15 Joseph Myers <joseph@codesourcery.com>
16382
16383 * math/libm-test.inc (struct test_f_l_data): New type.
16384 (RUN_TEST_LOOP_f_l): New macro.
16385 (lrint_test_data): New variable.
16386 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16387 (lrint_tonearest_test_data): New variable.
16388 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16389 (lrint_towardzero_test_data): New variable.
16390 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16391 (lrint_downward_test_data): New variable.
16392 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16393 (lrint_upward_test_data): New variable.
16394 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16395 (lround_test_data): New variable.
16396 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16397
39b1f617
PC
163982013-05-15 Peter Collingbourne <pcc@google.com>
16399
1deff3dc
PC
16400 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16401 (EXTRACT_WORDS64) Use where appropriate.
16402 (INSERT_WORDS64) Likewise.
16403
791f3ba0
PC
16404 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16405 constraints with x constraints.
16406 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16407
39b1f617
PC
16408 * malloc/obstack.c (_obstack_compat): Add initializer.
16409
12fba011
EM
164102013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16411
16412 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16413 si_trapno and add si_addr_lsb to _sifields.sigfault.
16414 (si_trapno): Remove macro.
16415 (si_addr_lsb): Define new macro.
16416 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16417
d369f531
JM
164182013-05-15 Joseph Myers <joseph@codesourcery.com>
16419
b861c6c4
JM
16420 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16421 instead of TEST_f_l.
16422 (llrint_test_tonearest): Likewise.
16423 (llrint_test_towardzero): Likewise.
16424 (llrint_test_downward): Likewise.
16425 (llrint_test_upward): Likewise.
16426 (llround_test): Likewise.
16427
7abeee12
JM
16428 * math/libm-test.inc (struct test_f_i_data): Add comment.
16429 (RUN_TEST_LOOP_f_b): New macro.
16430 (RUN_TEST_LOOP_f_b_tg): Likewise.
16431 (finite_test_data): New variable.
16432 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16433 (isfinite_test_data): New variable.
16434 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16435 (isinf_test_data): New variable.
16436 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16437 (isnan_test_data): New variable.
16438 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16439 (isnormal_test_data): New variable.
16440 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16441 (issignaling_test_data): New variable.
16442 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16443 (signbit_test_data): New variable.
16444 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16445
cbe8c4d3
JM
16446 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16447 with INVALID_EXCEPTION.
16448 (acosh_test_data): Likewise.
16449 (asin_test_data): Likewise.
16450 (atanh_test_data): Likewise.
16451 (fmod_test_data): Likewise.
16452 (log_test_data): Likewise.
16453 (log10_test_data): Likewise.
16454 (log2_test_data): Likewise.
16455 (pow_test_data): Likewise.
16456 (sqrt_test_data): Likewise.
16457 (y0_test_data): Likewise.
16458 (y1_test_data): Likewise.
16459 (yn_test_data): Likewise.
16460
5575c0e5
JM
16461 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16462 function contents.
16463
d369f531
JM
16464 * math/libm-test.inc (struct test_ff_i_data): New type.
16465 (RUN_TEST_LOOP_ff_i_tg): New macro.
16466 (isgreater_test_data): New variable.
16467 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16468 (isgreaterequal_test_data): New variable.
16469 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16470 (isless_test_data): New variable.
16471 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16472 (islessequal_test_data): New variable.
16473 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16474 (islessgreater_test_data): New variable.
16475 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16476 (isunordered_test_data): New variable.
16477 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16478
781fd748
DM
164792013-05-14 David S. Miller <davem@davemloft.net>
16480
16481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16482
87aa21df
JM
164832013-05-14 Joseph Myers <joseph@codesourcery.com>
16484
5e908270
JM
16485 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16486
f71172e5
JM
16487 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16488 extra_test to int.
16489 (struct test_f_i_data): Change type of max_ulp to int.
16490
8cfa635a
JM
16491 * math/libm-test.inc (test_ffI_f1_data): New type.
16492 (RUN_TEST_LOOP_ffI_f1): New macro.
16493 (remquo_test_data): New variable.
16494 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16495
2bcb36b2
JM
16496 * setjmp/tst-setjmp-fp.c: New file.
16497 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16498 (link-libm): New variable.
16499 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16500
acbd839a
JM
16501 * math/libm-test.inc (struct test_f_i_data): New type.
16502 (RUN_TEST_LOOP_f_i): New macro.
16503 (RUN_TEST_LOOP_f_i_tg): Likewise.
16504 (fpclassify_test_data): New variable.
16505 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16506 (ilogb_test_data): New variable.
16507 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16508
e414d745
JM
16509 * math/libm-test.inc (scalbln_test): Correct function name in END
16510 call.
16511
d9c2a0fd
JM
16512 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16513 (RUN_TEST_LOOP_fI_f1): New macro.
16514 (frexp_test_data): New variable.
16515 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16516
9dc9095d
JM
16517 * math/libm-test.inc (struct test_fF_f1_data): New type.
16518 (RUN_TEST_LOOP_fF_f1): New macro.
16519 (modf_test_data): New variable.
16520 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16521
87aa21df
JM
16522 * math/libm-test.inc (struct test_f_f1_data): New type.
16523 (RUN_TEST_LOOP_f_f1): New macro.
16524 (gamma_test_data): New variable.
16525 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16526 (lgamma_test_data): New variable.
16527 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16528
141af660
CD
165292013-05-13 Carlos O'Donell <carlos@redhat.com>
16530
16531 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16532 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16533 (main): Comment "tls" pseudo-hwcap.
16534
6d33265c
JM
165352013-05-13 Joseph Myers <joseph@codesourcery.com>
16536
68fc074c
JM
16537 * math/libm-test.inc (struct test_fl_f_data): New type.
16538 (RUN_TEST_LOOP_fl_f): New variable.
16539 (scalbln_test_data): New variable.
16540 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16541
243216e1
JM
16542 * math/libm-test.inc (struct test_fi_f_data): New type.
16543 (RUN_TEST_LOOP_fi_f): New macro.
16544 (ldexp_test_data): New variable.
16545 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16546 (scalbn_test_data): New variable.
16547 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16548
6a1992e2
JM
16549 * math/libm-test.inc (struct test_c_f_data): New type.
16550 (RUN_TEST_LOOP_c_f): New macro.
16551 (cabs_test_data): New variable.
16552 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16553 (carg_test_data): New variable.
16554 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16555 (cimag_test_data): New variable.
16556 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16557 (creal_test_data): New variable.
16558 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16559
0e400df5
JM
16560 * math/libm-test.inc (struct test_if_f_data): New type.
16561 (RUN_TEST_LOOP_if_f): New macro.
16562 (jn_test_data): New variable.
16563 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16564 (yn_test_data): New variable.
16565 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16566
6d33265c
JM
16567 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16568
f98ece5f
AZ
165692013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16570
16571 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16572 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16573
0f7d347b
SP
165742013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16575
43fe811b
SP
16576 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16577 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16578 (bench-deps): Add bench-timing.h.
16579 * benchtests-bench-skeleton.c: Include bench-timing.h.
16580 (main): Use TIMING_* macros instead of clock_gettime.
16581 * benchtests/bench-timing.h: New file.
16582
0f7d347b
SP
16583 [BZ #14582]
16584 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16585 Renamed from _LIB_VERSION.
16586 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16587
601a3a5f
JM
165882013-05-12 Joseph Myers <joseph@codesourcery.com>
16589
4f184d30
JM
16590 * math/libm-test.inc (struct test_fff_f_data): New type.
16591 (RUN_TEST_LOOP_fff_f): New macro.
16592 (fma_test_data): New variable.
16593 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16594 (fma_towardzero_test_data): New variable.
16595 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16596 (fma_downward_test_data): New variable.
16597 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16598 (fma_upward_test_data): New variable.
16599 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16600
08198877
JM
16601 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16602 (struct test_c_c_data): New type.
16603 (RUN_TEST_LOOP_c_c): New macro.
16604 (cacos_test_data): New variable.
16605 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16606 (cacosh_test_data): New variable.
16607 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16608 (casin_test_data): New variable.
16609 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16610 (casinh_test_data): New variable.
16611 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16612 (catan_test_data): New variable.
16613 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16614 (catanh_test_data): New variable.
16615 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16616 (ccos_test_data): New variable.
16617 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16618 (ccosh_test_data): New variable.
16619 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16620 (cexp_test_data): New variable.
16621 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16622 (clog_test_data): New variable.
16623 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16624 (clog10_test_data): New variable.
16625 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16626 (conj_test_data): New variable.
16627 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16628 (cproj_test_data): New variable.
16629 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16630 (csin_test_data): New variable.
16631 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16632 (csinh_test_data): New variable.
16633 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16634 (csqrt_test_data): New variable.
16635 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16636 (ctan_test_data): New variable.
16637 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16638 (ctan_tonearest_test_data): New variable.
16639 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16640 (ctan_towardzero_test_data): New variable.
16641 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16642 (ctan_downward_test_data): New variable.
16643 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16644 (ctan_upward_test_data): New variable.
16645 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16646 (ctanh_test_data): New variable.
16647 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16648 (ctanh_tonearest_test_data): New variable.
16649 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16650 (ctanh_towardzero_test_data): New variable.
16651 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16652 (ctanh_downward_test_data): New variable.
16653 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16654 (ctanh_upward_test_data): New variable.
16655 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16656 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16657 of BUILD_COMPLEX.
16658
601a3a5f
JM
16659 * math/libm-test.inc (struct test_ff_f_data): New type.
16660 (struct test_ff_f_data_nexttoward): Likewise.
16661 (RUN_TEST_LOOP_2_f): New macro.
16662 (RUN_TEST_LOOP_ff_f): Likewise.
16663 (atan2_test_data): New variable.
16664 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16665 (copysign_test_data): New variable.
16666 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16667 (fdim_test_data): New variable.
16668 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16669 (fmax_test_data): New variable.
16670 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16671 (fmin_test_data): New variable.
16672 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16673 (fmod_test_data): New variable.
16674 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16675 (hypot_test_data): New variable.
16676 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16677 (nextafter_test_data): New variable.
16678 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16679 (nexttoward_test_data): New variable.
16680 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16681 (pow_test_data): New variable.
16682 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16683 (pow_tonearest_test_data): New variable.
16684 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16685 (pow_towardzero_test_data): New variable.
16686 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16687 (pow_downward_test_data): New variable.
16688 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16689 (pow_upward_test_data): New variable.
16690 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16691 (remainder_test_data): New variable.
16692 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16693 (scalb_test_data): New variable.
16694 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16695 * sysdeps/i386/fpu/libm-test-ulps: Update.
16696
74c57478
JM
166972013-05-11 Joseph Myers <joseph@codesourcery.com>
16698
8329e4da
JM
16699 * math/libm-test.inc (fma_test): Use max_value instead of local
16700 variable fltmax.
16701 (nextafter_test): Likewise.
16702
74c57478
JM
16703 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16704 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16705 (acos_downward_test_data): New variable.
16706 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16707 (acos_upward_test_data): New variable.
16708 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16709 (acosh_test_data): New variable.
16710 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16711 (asin_test_data): New variable.
16712 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16713 (asin_tonearest_test_data): New variable.
16714 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16715 (asin_towardzero_test_data): New variable.
16716 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16717 (asin_downward_test_data): New variable.
16718 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16719 (asin_upward_test_data): New variable.
16720 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16721 (asinh_test_data): New variable.
16722 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16723 (atan_test_data): New variable.
16724 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16725 (atanh_test_data): New variable.
16726 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16727 (cbrt_test_data): New variable.
16728 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16729 (ceil_test_data): New variable.
16730 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16731 (cos_test_data): New variable.
16732 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16733 (cos_tonearest_test_data): New variable.
16734 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16735 (cos_towardzero_test_data): New variable.
16736 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16737 (cos_downward_test_data): New variable.
16738 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16739 (cos_upward_test_data): New variable.
16740 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16741 (cosh_test_data): New variable.
16742 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16743 (cosh_tonearest_test_data): New variable.
16744 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16745 (cosh_towardzero_test_data): New variable.
16746 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16747 (cosh_downward_test_data): New variable.
16748 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16749 (cosh_upward_test_data): New variable.
16750 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16751 (erf_test_data): New variable.
16752 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16753 (erfc_test_data): New variable.
16754 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16755 (exp_test_data): New variable.
16756 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16757 (exp_tonearest_test_data): New variable.
16758 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16759 (exp_towardzero_test_data): New variable.
16760 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16761 (exp_downward_test_data): New variable.
16762 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16763 (exp_upward_test_data): New variable.
16764 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16765 (exp10_test_data): New variable.
16766 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16767 (exp2_test_data): New variable.
16768 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16769 (expm1_test_data): New variable.
16770 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16771 (fabs_test_data): New variable.
16772 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16773 (floor_test_data): New variable.
16774 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16775 (j0_test_data): New variable.
16776 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16777 (j1_test_data): New variable.
16778 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16779 (log_test_data): New variable.
16780 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16781 (log10_test_data): New variable.
16782 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16783 (log1p_test_data): New variable.
16784 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16785 (log2_test_data): New variable.
16786 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16787 (logb_test_data): New variable.
16788 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16789 (logb_downward_test_data): New variable.
16790 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16791 (nearbyint_test_data): New variable.
16792 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16793 (rint_test_data): New variable.
16794 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16795 (rint_tonearest_test_data): New variable.
16796 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16797 (rint_towardzero_test_data): New variable.
16798 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16799 (rint_downward_test_data): New variable.
16800 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16801 (rint_upward_test_data): New variable.
16802 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16803 (round_test_data): New variable.
16804 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16805 (sin_test_data): New variable.
16806 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16807 (sin_tonearest_test_data): New variable.
16808 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16809 (sin_towardzero_test_data): New variable.
16810 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16811 (sin_downward_test_data): New variable.
16812 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16813 (sin_upward_test_data): New variable.
16814 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16815 (sinh_test_data): New variable.
16816 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16817 (sinh_tonearest_test_data): New variable.
16818 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16819 (sinh_towardzero_test_data): New variable.
16820 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16821 (sinh_downward_test_data): New variable.
16822 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16823 (sinh_upward_test_data): New variable.
16824 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16825 (sqrt_test_data): New variable.
16826 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16827 (tan_test_data): New variable.
16828 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16829 (tan_tonearest_test_data): New variable.
16830 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16831 (tan_towardzero_test_data): New variable.
16832 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16833 (tan_downward_test_data): New variable.
16834 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16835 (tan_upward_test_data): New variable.
16836 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16837 (tanh_test_data): New variable.
16838 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16839 (tgamma_test_data): New variable.
16840 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16841 (trunc_test_data): New variable.
16842 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16843 (y0_test_data): New variable.
16844 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16845 (y1_test_data): New variable.
16846 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16847 (significand_test_data): New variable.
16848 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16849
7187d844
CG
168502013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16851
16852 [BZ #12387]
16853 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16854
f63fae73
PT
168552013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16856
16857 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16858
8a67a4b3
AJ
168592013-05-10 Andreas Jaeger <aj@suse.de>
16860
16861 [BZ #15448]
16862 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16863 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16864
51df539d
JM
168652013-05-10 Joseph Myers <joseph@codesourcery.com>
16866
16867 * math/gen-libm-test.pl (adjust_arg): New function.
16868 (special_functions): Handle generating output in both functions
16869 and arrays.
16870 (parse_args): Likewise.
16871 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16872 $in_func argument to parse_args.
16873 * math/libm-test.inc (struct test_f_f_data): New type.
16874 (IF_ROUND_INIT_): New macro.
16875 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16876 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16877 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16878 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16879 (ROUND_RESTORE_): Likewise.
16880 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16881 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16882 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16883 (ROUND_RESTORE_FE_UPWARD): Likewise.
16884 (RUN_TEST_LOOP_f_f): New macro.
16885 (acos_test_data): New variable.
16886 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16887 (acos_tonearest_test_data): New variable.
16888 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16889
5c637fe5
SP
168902013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16891
16892 * benchtests/bench-skeleton.c (startup): Fix coding style.
16893
ab2b9461
JM
168942013-05-10 Joseph Myers <joseph@codesourcery.com>
16895
16896 [BZ #6809]
16897 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16898 negative infinity argument.
16899 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16900 negative infinity argument.
16901 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16902 negative infinity argument.
16903 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16904 domain errors.
16905
4c0fe6fe
FW
169062013-05-10 Florian Weimer <fweimer@redhat.com>
16907
16908 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16909 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16910 * iconv/iconv_prog.c (main): Likewise.
16911 * locale/programs/charmap-dir.c (charmap_readdir)
16912 (fopen_uncompressed): Likewise.
16913 * locale/programs/locfile.c (siblings_uncached)
16914 (write_locale_data): Use lstat64 instead of lstat.
16915 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16916 stat.
16917
a3375d29
AJ
169182013-05-10 Andreas Jaeger <aj@suse.de>
16919
16920 [BZ #15395]
16921 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16922 localization.
16923 Include <locale.h>.
16924
36129722
CD
169252013-05-09 Carlos O'Donell <carlos@redhat.com>
16926
16927 * elf/dl-close.c (_dl_close_worker): Add comments.
16928
faa7f811
JM
169292013-05-09 Joseph Myers <joseph@codesourcery.com>
16930
ed41ffef
JM
16931 [BZ #15359]
16932 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16933 high part of pi/2.
16934 (__ieee754_rem_pio2l): Update comments.
16935
d0213cd0
JM
16936 [BZ #15429]
16937 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16938 high part of pi/2.
16939 (__ieee754_rem_pio2l): Update comments.
16940
0d3e777a
JM
16941 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16942 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16943
24f56066
JM
16944 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16945 M_PI_4l.
16946
faa7f811
JM
16947 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16948 (M_PI_34_LOG10El): Likewise.
16949 (M_PI2_LOG10El): Likewise.
16950 (M_PI4_LOG10El): Likewise.
16951 (M_PI_LOG10El): Likewise.
16952
e9a5e0fd
AZ
169532013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16954
16955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16956
d8cd06db
JM
169572013-05-08 Joseph Myers <joseph@codesourcery.com>
16958
a0d9f9d7
JM
16959 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16960 (MINUS_ZERO_INIT): Likewise.
16961 (PLUS_INFTY_INIT): Likewise.
16962 (MINUS_INFTY_INIT): Likewise.
16963 (QNAN_VALUE_INIT): Likewise.
16964 (MAX_VALUE_INIT): Likewise.
16965 (MIN_VALUE_INIT): Likewise.
16966 (MIN_SUBNORM_VALUE_INIT): Likewise.
16967 (plus_zero): Initialize with PLUS_ZERO_INIT.
16968 (minus_zero): Initialize with MINUS_ZERO_INIT.
16969 (plus_infty): Initialize with PLUS_INFTY_INIT.
16970 (minus_infty): Initialize with MINUS_INFTY_INIT.
16971 (qnan_value): Initialize with QNAN_VALUE_INIT.
16972 (max_value): Initialize with MAX_VALUE_INIT.
16973 (min_value): Initialize with MIN_VALUE_INIT.
16974 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16975
ae08db3b
JM
16976 * math/libm-test.inc (RUN_TEST_if_f): New macro.
16977 (jn_test): Use TEST_if_f instead of TEST_ff_f.
16978 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16979 (yn_test): Use TEST_if_f instead of TEST_ff_f.
16980
f44bf14a
JM
16981 * math/libm-test.inc (RUN_TEST_f_f): New macro.
16982 (RUN_TEST_2_f): Likewise.
16983 (RUN_TEST_ff_f): Likewise.
16984 (RUN_TEST_fi_f): Likewise.
16985 (RUN_TEST_fl_f): Likewise.
16986 (RUN_TEST_fff_f): Likewise.
16987 (RUN_TEST_c_f): Likewise.
16988 (RUN_TEST_f_f1): Likewise.
16989 (RUN_TEST_fF_f1): Likewise.
16990 (RUN_TEST_fI_f1): Likewise.
16991 (RUN_TEST_ffI_f1): Likewise.
16992 (RUN_TEST_c_c): Likewise.
16993 (RUN_TEST_cc_c): Likewise.
16994 (RUN_TEST_f_i): Likewise.
16995 (RUN_TEST_f_i_tg): Likewise.
16996 (RUN_TEST_ff_i_tg): Likewise.
16997 (RUN_TEST_f_b): Likewise.
16998 (RUN_TEST_f_b_tg): Likewise.
16999 (RUN_TEST_f_l): Likewise.
17000 (RUN_TEST_f_L): Likewise.
17001 (RUN_TEST_sincos): Likewise.
17002 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17003 whether to show exceptions. Do not include ");\n" in return
17004 value.
17005 (special_functions): Output call to RUN_TEST_sincos instead of
17006 check_float calls. Update calls to new_test.
17007 (parse_args): Output call to single RUN_TEST_* macro instead of
17008 check_* calls and other assignments. Update calls to new_test.
17009
d8cd06db
JM
17010 [BZ #2546]
17011 [BZ #2560]
17012 [BZ #5159]
17013 [BZ #15426]
17014 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17015 input to result for tgamma overflow.
17016 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17017 (gamma_coeff): New variable.
17018 (NCOEFF): New macro.
17019 (gamma_positive): New function.
17020 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17021 underflow here. Use gamma_positive instead of exp (lgamma) for
17022 other arguments.
17023 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17024 (gamma_coeff): New variable.
17025 (NCOEFF): New macro.
17026 (gammaf_positive): New function.
17027 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17028 underflow here. Use gamma_positive instead of exp (lgamma) for
17029 other arguments.
17030 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17031 (gamma_coeff): New variable.
17032 (NCOEFF): New macro.
17033 (gammal_positive): New function.
17034 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17035 underflow here. Use gamma_positive instead of exp (lgamma) for
17036 other arguments.
17037 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17038 (gamma_coeff): New variable.
17039 (NCOEFF): New macro.
17040 (gammal_positive): New function.
17041 (__ieee754_gammal_r): Handle positive infinity, overflow and
17042 underflow here. Handle NaN the same as positive infinity. Remove
17043 check x < 0xffffffff for negative integers. Use gamma_positive
17044 instead of exp (lgamma) for other arguments.
17045 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17046 (gamma_coeff): New variable.
17047 (NCOEFF): New macro.
17048 (gammal_positive): New function.
17049 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17050 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17051 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17052 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17053 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17054 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17055 * sysdeps/generic/math_private.h (__gamma_productf): New
17056 prototype.
17057 (__gamma_product): Likewise.
17058 (__gamma_productl): Likewise.
17059 * math/Makefile (libm-calls): Add gamma_product.
17060 * math/libm-test.inc (tgamma_test): Add more tests.
17061 * sysdeps/i386/fpu/libm-test-ulps: Update.
17062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17063
bb7cf681
OB
170642013-05-08 Ondřej Bílka <neleai@seznam.cz>
17065
17066 * benchtests/bench-skeleton.c (main): Preheat CPU.
17067
ba853947
AJ
170682013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17069
17070 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17071
8347c74c
RM
170722013-05-07 Roland McGrath <roland@hack.frob.com>
17073
17074 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17075 and _dl_skip_args_internal.
17076
e8dd4791
CD
170772013-05-07 Carlos O'Donell <carlos@redhat.com>
17078
17079 * manual/message.texi (Message Translation): Talk about users.
17080 Message to key mapping impacts design.
17081
c7405830
RM
170822013-05-06 Roland McGrath <roland@hack.frob.com>
17083
a9173057
RM
17084 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17085
976e2f03
RM
17086 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17087
9723ffc5
RM
17088 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17089 * sysdeps/wordsize-64/glob64.c: ... here.
17090
962e6658
RM
17091 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17092 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17093 New macros.
17094
ee586a6d
RM
17095 * debug/getlogin_r_chk.c: Moved to ...
17096 * login/getlogin_r_chk.c: ... here.
17097 * debug/Makefile (routines): Move getlogin_r_chk to ...
17098 * login/Makefile (routines): ... here.
17099 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17100 * login/Versions (libc: GLIBC_2.4): ... here.
17101
355f9165
RM
17102 * io/poll.c (__poll): Renamed from poll.
17103 Add libc_hidden_def.
17104 (poll): Define as weak alias.
17105
bd9ffde6
RM
17106 * debug/ptsname_r_chk.c: Moved to ...
17107 * login/ptsname_r_chk.c: ... here.
17108 * debug/Makefile (routines): Move ptsname_r_chk to ...
17109 * login/Makefile (routines): ... here.
17110 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17111 * login/Versions (libc: GLIBC_2.4): ... here.
17112
8fb16a04
RM
17113 * posix/getlogin.c: Moved to ...
17114 * login/getlogin.c: ... here.
17115 * posix/getlogin_r.c: Moved to ...
17116 * login/getlogin_r.c: ... here.
17117 * posix/getlogin_r.c: Moved to ...
17118 * login/getlogin_r.c: ... here.
17119 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17120 * login/Makefile (routines): ... here.
17121 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17122 * login/Versions (libc: GLIBC_2.0): ... here.
17123
b99b892f
RM
17124 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17125 (setrlimit): Define as weak alias.
17126
c7405830
RM
17127 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17128 Call __ names for open, ftruncate, and close.
17129 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17130 (truncate): Define as weak alias.
17131
5bf96de5
JM
171322013-05-06 Joseph Myers <joseph@codesourcery.com>
17133
9ea3513c
JM
17134 * math/gen-libm-test.pl (parse_args): Initialize x before each
17135 test of frexp, modf and remquo.
17136
5bf96de5
JM
17137 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17138 test signgam value.
17139
16e616a7
AZ
171402013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17141
17142 [BZ #15418]
17143 [BZ #15419]
17144 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17145 internal tests.
17146 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17147
d5e82754
RM
171482013-05-06 Roland McGrath <roland@hack.frob.com>
17149
17150 * elf/dl-writev.h: New file.
17151 * elf/dl-misc.c: Include it.
17152 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17153 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17154
a7548d41
JM
171552013-05-04 Joseph Myers <joseph@codesourcery.com>
17156
b7dab1e4
JM
17157 * math/libm-test.inc (noXFails): Remove variable.
17158 (noXPasses): Likewise.
17159 (BUILD_COMPLEX_INT): Remove macro.
17160 (print_screen): Remove xfail argument.
17161 (print_screen_max_error): Likewise.
17162 (update_stats): Likewise.
17163 (print_max_error): Likewise. Update calls to other affected
17164 functions.
17165 (print_complex_max_error): Likewise.
17166 (test_single_exception): Update calls to print_screen.
17167 (test_single_errno): Likewise.
17168 (check_float_internal): Remove xfail argument. Update calls to
17169 other affected functions.
17170 (check_float): Likewise.
17171 (check_complex): Likewise.
17172 (check_int): Likewise.
17173 (check_long): Likewise.
17174 (check_bool): Likewise.
17175 (check_longlong): Likewise.
17176 (main): Don't print noXFails and noXPasses.
17177 * math/gen-libm-test.pl (top level): Don't mention expected
17178 failure handling in comment.
17179 (new_test): Don't handle expected failures.
17180 (parse_args): Don't mention expected failure handling in comment.
17181 (generate_testfile): Don't handle expected failures.
17182 (parse_ulps): Likewise.
17183 (print_ulps_file): Likewise.
17184 (get_failure): Remove function.
17185 (output_test): Don't handle expected failures.
17186 * make/README.libm-test: Don't mention expected failure handling.
17187
a7548d41
JM
17188 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17189 (minus_zero): Likewise.
17190 (plus_infty): Likewise.
17191 (minus_infty): Likewise.
17192 (qnan_value): Likewise.
17193 (max_value): Likewise.
17194 (min_value): Likewise.
17195 (min_subnorm_value): Likewise.
17196 (initialize): Do not initialize those variables dynamically.
17197
60bfd54c
RM
171982013-05-03 Roland McGrath <roland@hack.frob.com>
17199
cc0e6ed8
RM
17200 * io/open.c (__open_2): Moved to ...
17201 * io/open_2.c: ... this new file.
17202 * io/open64.c (__open64_2): Moved to ...
17203 * io/open64_2.c: ... this new file.
17204 * io/openat.c (__openat_2): Moved to ...
17205 * io/openat_2.c: ... this new file.
17206 * io/openat64.c (__openat64_2): Moved to ...
17207 * io/openat64_2.c: ... this new file.
17208 * io/Makefile (routines): Add them.
17209 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17210 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17211 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17212 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17213 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17214 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17215 (__openat64): Add hidden_ver.
17216 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17217 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17218
60bfd54c
RM
17219 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17220 Separately conditionalize setting of GLRO(dl_sysinfo) so
17221 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17222 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17223
83e7640f
AZ
172242013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17225
17226 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17227 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17228 definition.
17229 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17230 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17231 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17232 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17233 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17234
d5dc2af3
JM
172352013-05-03 Joseph Myers <joseph@codesourcery.com>
17236
c31a5b1e
JM
17237 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17238 test signgam value.
17239
d5dc2af3
JM
17240 * math/libm-test.inc (hypot_test): Do not use
17241 IGNORE_ZERO_INF_SIGN.
17242
164fd39d
AJ
172432013-05-03 Andreas Jaeger <aj@suse.de>
17244
17245 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17246 Linux 3.9.
17247 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17248 (PF_MAX): Adjust for VSOCK change.
17249
8237f48c
AZ
172502013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17251
17252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17253
9df02941
CD
172542013-05-02 Carlos O'Donell <carlos@redhat.com>
17255
17256 [BZ #15264]
17257 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17258 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17259 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17260
d422395e
DM
172612013-05-02 David S. Miller <davem@davemloft.net>
17262
17263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17264
a07c5731
OB
172652013-05-01 Ondřej Bílka <neleai@seznam.cz>
17266
17267 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17268
1324e37f
RM
172692013-05-01 Roland McGrath <roland@hack.frob.com>
17270
17271 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17272
0695940b
RS
172732013-05-01 Richard Smith <richard@metafoo.co.uk>
17274
bb5f27ad 17275 [BZ #14952]
0695940b
RS
17276 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17277 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17278 Use __attribute__ ((__gnu_inline__)).
17279 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17280 Don't use __attribute__ ((__gnu_inline__)).
17281
10de07f5
JM
172822013-05-01 Joseph Myers <joseph@codesourcery.com>
17283
17284 [BZ #15423]
17285 * math/s_catan.c (__catan): Handle small real or imaginary part of
17286 input specially to avoid spurious underflow.
17287 * math/s_catanf.c (__catanf): Likewise.
17288 * math/s_catanh.c (__catanh): Likewise.
17289 * math/s_catanhf.c (__catanhf): Likewise.
17290 * math/s_catanhl.c (__catanhl): Likewise.
17291 * math/s_catanl.c (__catanl): Likewise.
17292 * math/libm-test.inc (catan_test): Add more tests.
17293 (catanh_test): Likewise.
17294 * sysdeps/i386/fpu/libm-test-ulps: Update.
17295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17296
cb4d5414
AZ
172972013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17298
17299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17300
caf84319
JM
173012013-04-30 Joseph Myers <joseph@codesourcery.com>
17302
17303 [BZ #15416]
17304 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17305 accurately for denominator in atan2.
17306 * math/s_catanf.c (__catanf): Likewise.
17307 * math/s_catanh.c (__catanh): Likewise.
17308 * math/s_catanhf.c (__catanhf): Likewise.
17309 * math/s_catanhl.c (__catanhl): Likewise.
17310 * math/s_catanl.c (__catanl): Likewise.
17311 * math/libm-test.inc (catan_test): Add more tests.
17312 (catanh_test): Likewise.
17313 * sysdeps/i386/fpu/libm-test-ulps: Update.
17314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17315
d569c6ee
SP
173162013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17317
6dbe713d
SP
17318 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17319
f0ee064b
SP
17320 * benchtests/Makefile (bench): Remove slow benchmarks.
17321 * benchtests/atan-inputs: Add slow benchmark inputs.
17322 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17323 (BENCH_FUNC): Accept variant offset.
17324 (VARIANT): Define.
17325 * benchtests/bench-skeleton.c (main): Run benchmark for each
17326 variant.
17327 * benchtests/cos-inputs: Add slow benchmark inputs.
17328 * benchtests/exp-inputs: Likewise.
17329 * benchtests/pow-inputs: Likewise.
17330 * benchtests/sin-inputs: Likewise.
17331 * benchtests/slowatan-inputs: Remove.
17332 * benchtests/slowatan.c: Remove.
17333 * benchtests/slowcos-inputs: Remove.
17334 * benchtests/slowcos.c: Remove.
17335 * benchtests/slowexp-inputs: Remove.
17336 * benchtests/slowexp.c: Remove.
17337 * benchtests/slowpow-inputs: Remove.
17338 * benchtests/slowpow.c: Remove.
17339 * benchtests/slowsin-inputs: Remove.
17340 * benchtests/slowsin.c: Remove.
17341 * benchtests/slowtan-inputs: Remove.
17342 * benchtests/slowtan.c: Remove.
17343 * benchtests/tan-inputs: Add slow benchmark inputs.
17344 * scripts/bench.pl: Parse comments and directives.
17345
d569c6ee
SP
17346 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17347 in CPPFLAGS.
17348 ($(objpfx)bench-%.c): Remove *-ITER.
17349 * benchtests/bench-modf.c: Remove definition of ITER.
17350 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17351 (main): Loop for DURATION seconds instead of fixed number of
17352 iterations.
17353 * scripts/bench.pl: Don't expect iterations in parameters.
17354
a6a242fe
RM
173552013-04-29 Roland McGrath <roland@hack.frob.com>
17356
17357 * io/fchdir.c (__fchdir): Renamed from fchdir.
17358 (fchdir): Define as weak alias.
17359
f2da7793
JM
173602013-04-29 Joseph Myers <joseph@codesourcery.com>
17361
17362 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17363 (ERRNO_EDOM): Likewise.
17364 (ERRNO_ERANGE): Likewise.
17365 (noErrnoTests): New variable.
17366 (init_max_error): Set errno to 0.
17367 (test_single_errno): New function.
17368 (test_errno): Likewise.
17369 (check_float_internal): Call test_errno. Set errno to 0.
17370 (check_complex): Refer to errno tests in comment.
17371 (check_int): Call test_errno. Set errno to 0.
17372 (check_long): Likewise.
17373 (check_bool): Likewise.
17374 (check_longlong): Likewise.
17375 (cos_test): Use ERRNO_* flags for errno tests instead of
17376 check_int.
17377 (expm1_test): Likewise.
17378 (fmod_test): Likewise.
17379 (ilogb_test): Likewise.
17380 (lgamma_test): Likewise.
17381 (pow_test): Likewise.
17382 (remainder_test): Likewise.
17383 (sin_test): Likewise.
17384 (tan_test): Likewise.
17385 (yn_test): Likewise.
17386 (initialize): Set errno to 0.
17387 (main): Print number of errno tests.
17388 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17389
b1a36ceb
AJ
173902013-04-29 Andreas Jaeger <aj@suse.de>
17391
c3ed8088
AJ
17392 [BZ #15084]
17393 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17394 and RES_USEVC.
17395
f1a24198
AJ
17396 [BZ #15085]
17397 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17398 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17399 unimplemented.
17400
9ce3b2cb
AJ
17401 [BZ #15380]
17402 * stdlib/random.c (__initstate): Return NULL if
17403 __initstate fails.
17404
f1a24198 17405 [BZ #15086]
b1a36ceb
AJ
17406 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17407 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17408 RES_SNGLKUPREOP.
17409
7e7b6f36
AZ
174102013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17411
17412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17413
4d14f449
JM
174142013-04-29 Joseph Myers <joseph@codesourcery.com>
17415
17416 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17417 of individual tests.
17418 (casin_test): Likewise.
17419 (casinh_test): Likewise.
17420
5b4217d7
JM
174212013-04-27 Joseph Myers <joseph@codesourcery.com>
17422
17423 [BZ #15409]
17424 * math/s_catan.c (__catan): Handle arguments with large real or
17425 imaginary part separately without squaring.
17426 * math/s_catanf.c (__catanf): Likewise.
17427 * math/s_catanh.c (__catanh): Likewise.
17428 * math/s_catanhf.c (__catanhf): Likewise.
17429 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17430 and redefine.
17431 (__catanhl): Handle arguments with large real or imaginary part
17432 separately without squaring.
17433 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17434 and redefine.
17435 (__catanl): Handle arguments with large real or imaginary part
17436 separately without squaring.
17437 * math/libm-test.inc (catan_test): Add more tests.
17438 (catanh_test): Likewise.
17439 * sysdeps/i386/fpu/libm-test-ulps: Update.
17440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17441
4220c3ef
AJ
174422013-04-27 Andreas Jaeger <aj@suse.de>
17443
17444 [BZ #15007]
17445 * stdlib/stdlib.h: Update guards for qecvt.
17446 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17447 <stdlib.h>.
17448
4721b2d1
AM
174492013-04-27 Allan McRae <allan@archlinux.org>
17450
17451 * sysdeps/i386/fpu/libm-test-ulps: Update.
17452
f0302940
JM
174532013-04-26 Joseph Myers <joseph@codesourcery.com>
17454
9457fd95
JM
17455 [BZ #15406]
17456 * math/s_catan.c: Include <float.h>.
17457 (__catan): Ensure underflow exception occurs for underflowed
17458 result.
17459 * math/s_catanf.c: Include <float.h>.
17460 (__catanf): Ensure underflow exception occurs for underflowed
17461 result.
17462 * math/s_catanh.c: Include <float.h>.
17463 (__catanh): Ensure underflow exception occurs for underflowed
17464 result.
17465 * math/s_catanhf.c: Include <float.h>.
17466 (__catanhf): Ensure underflow exception occurs for underflowed
17467 result.
17468 * math/s_catanhl.c: Include <float.h>.
17469 (__catanhl): Ensure underflow exception occurs for underflowed
17470 result.
17471 * math/s_catanl.c: Include <float.h>.
17472 (__catanl): Ensure underflow exception occurs for underflowed
17473 result.
17474 * math/libm-test.inc (catan_test): Add more tests.
17475 (catanh_test): Likewise.
17476
f0302940
JM
17477 [BZ #15405]
17478 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17479 underflowed result.
17480 * math/s_ccoshf.c (__ccoshf): Likewise.
17481 * math/s_ccoshl.c (__ccoshl): Likewise.
17482 * math/s_csin.c (__csin): Likewise.
17483 * math/s_csinf.c (__csinf): Likewise.
17484 * math/s_csinh.c (__csinh): Likewise.
17485 * math/s_csinhf.c (__csinhf): Likewise.
17486 * math/s_csinhl.c (__csinhl): Likewise.
17487 * math/s_csinl.c (__csinl): Likewise.
17488 * math/libm-test.inc (ccos_test): Add more tests.
17489 (ccosh_test): Likewise.
17490 (csin_test): Likewise.
17491 (csinh_test): Likewise.
17492
aa630f59
AZ
174932013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17494
17495 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17496 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17497 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17498 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17499 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17500 powerpc/power5+/fpu folders.
17501 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17502
17503
1b835983
MT
175042013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17505
17506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17507
73709b26
JM
175082013-04-25 Joseph Myers <joseph@codesourcery.com>
17509
17510 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17511 additions to variable.
17512 [$(config-machine) = x86_64] (modules-names): Likewise.
17513 ($(objpfx)tst-audit3): Remove dependency.
17514 ($(objpfx)tst-audit3.out): Likewise.
17515 ($(objpfx)tst-audit4): Likewise.
17516 ($(objpfx)tst-audit4.out): Likewise.
17517 ($(objpfx)tst-audit5): Likewise.
17518 ($(objpfx)tst-audit5.out): Likewise.
17519 ($(objpfx)tst-audit6): Likewise.
17520 ($(objpfx)tst-audit6.out): Likewise.
17521 ($(objpfx)tst-audit7): Likewise.
17522 ($(objpfx)tst-audit7.out): Likewise.
17523 (tst-audit3-ENV): Remove variable.
17524 (tst-audit4-ENV): Likewise.
17525 (tst-audit5-ENV): Likewise.
17526 (tst-audit6-ENV): Likewise.
17527 (tst-audit7-ENV): Likewise.
17528 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17529 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17530 addition to variable.
17531 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17532 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17533 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17534 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17535 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17536 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17537 tst-audit3, tst-audit4 and tst-audit5.
17538 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17539 tst-audit6 and tst-audit7.
17540 [$(subdir) = elf] (modules-names): Add audit modules for those
17541 tests.
17542 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17543 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17544 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17545 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17546 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17547 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17548 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17549 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17550 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17551 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17552 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17553 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17554 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17555 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17556 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17557 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17558 Likewise.
17559 [$(subdir) = elf && $(config-cflags-avx) = yes]
17560 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17561 [$(subdir) = elf && $(config-cflags-avx) = yes]
17562 (CFLAGS-tst-auditmod4a.c): Likewise.
17563 [$(subdir) = elf && $(config-cflags-avx) = yes]
17564 (CFLAGS-tst-auditmod4b.c): Likewise.
17565 [$(subdir) = elf && $(config-cflags-avx) = yes]
17566 (CFLAGS-tst-auditmod6b.c): Likewise.
17567 [$(subdir) = elf && $(config-cflags-avx) = yes]
17568 (CFLAGS-tst-auditmod6c.c): Likewise.
17569 [$(subdir) = elf && $(config-cflags-avx) = yes]
17570 (CFLAGS-tst-auditmod7b.c): Likewise.
17571 * elf/tst-audit3.c: Move to ...
17572 * sysdeps/x86_64/tst-audit3.c: ... here.
17573 * elf/tst-audit4.c: Move to ...
17574 * sysdeps/x86_64/tst-audit4.c: ... here.
17575 * elf/tst-audit5.c: Move to ...
17576 * sysdeps/x86_64/tst-audit5.c: ... here.
17577 * elf/tst-audit6.c: Move to ...
17578 * sysdeps/x86_64/tst-audit6.c: ... here.
17579 * elf/tst-audit7.c: Move to ...
17580 * sysdeps/x86_64/tst-audit7.c: ... here.
17581 * elf/tst-auditmod3a.c: Move to ...
17582 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17583 * elf/tst-auditmod3b.c: Move to ...
17584 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17585 * elf/tst-auditmod4a.c: Move to ...
17586 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17587 * elf/tst-auditmod4b.c: Move to ...
17588 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17589 * elf/tst-auditmod5a.c: Move to ...
17590 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17591 * elf/tst-auditmod5b.c: Move to ...
17592 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17593 * elf/tst-auditmod6a.c: Move to ...
17594 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17595 * elf/tst-auditmod6b.c: Move to ...
17596 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17597 * elf/tst-auditmod6c.c: Move to ...
17598 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17599 * elf/tst-auditmod7a.c: Move to ...
17600 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17601 * elf/tst-auditmod7b.c: Move to ...
17602 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17603
1ef74943
PP
176042013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17605
17606 [BZ #15366]
17607 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17608 define unconditionally.
17609 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17610 define unconditionally.
17611 (INT8_C, INT16_C, etc.): Likewise.
17612
93fd48c5
MR
176132013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17614
ae9552cf
MR
17615 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17616 __ehdr_start with hidden visibility.
17617
93fd48c5
MR
17618 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17619
418601aa
CD
176202013-04-24 Carlos O'Donell <carlos@redhat.com>
17621
17622 * math/libm-test.inc (cos_test): Use accurate hex constants.
17623 (sincost_test): Likewise.
17624
2f38fbfe
JM
176252013-04-24 Joseph Myers <joseph@codesourcery.com>
17626
5e221800
JM
17627 * math/libm-test.inc (catan_test): Add more tests.
17628 (catanh_test): Likewise.
17629
77f143fd
JM
17630 * math/s_catanf.c (__catanf): Use suffixed floating-point
17631 constants.
17632 * math/s_catanhf.c (__catanhf): Likewise.
17633 * math/s_catanhl.c (__catanhl): Likewise.
17634 * math/s_catanl.c (__catanl): Likewise.
17635
2f38fbfe
JM
17636 [BZ #15394]
17637 * math/s_catan.c (__catan): Calculate imaginary part of result
17638 with log1p not log unless computing log of number close to 0.
17639 * math/s_catanf.c (__catanf): Likewise.
17640 * math/s_catanl.c (__catanl): Likewise.
17641 * math/s_catanh.c (__catanh): Calculate real part of result with
17642 log1p not log unless computing log of number close to 0.
17643 * math/s_catanhf.c (__catanhf): Likewise.
17644 * math/s_catanhl.c (__catanhl): Likewise.
17645 * math/libm-test.inc (catan_test): Add more tests.
17646 (catanh_test): Likewise.
17647 * sysdeps/i386/fpu/libm-test-ulps: Update.
17648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17649
45d69176
SP
176502013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17651
17652 * benchtests/Makefile: Mention files in which fast and slow
17653 paths of math functions are implemented.
17654
87f51853
RM
176552013-04-23 Roland McGrath <roland@hack.frob.com>
17656
17657 * sysdeps/posix/timespec_get.c: New file.
17658
3c026539
AZ
176592013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17660
17661 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17662 POWER.
17663 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17664 for POWER.
17665 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17666 powerpc/power5/fpu folders.
17667 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17668 * benchtests/Makefile: Add modf testcase.
17669 * benchtests/bench-modf.c: New file: Benchmark test for mo
17670
ff491d14
SP
176712013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17672
17673 [BZ #14888]
17674 * time/Makefile (tests): Add tst-strptime-whitespace.
17675 * time/strptime_l.c (get_number): Use ISSPACE.
17676 (__strptime_internal): Likewise.
17677 * time/tst-strptime-whitespace.c: New test case.
17678
7ed3f4e8
AS
176792013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17680
17681 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17682 member.
17683 (_nss_files_init): Set it here.
17684
5c95f7b6
HC
176852013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17686
17687 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17688 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17689 unsigned.
17690
d34c9158
JBG
176912013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17692
17693 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17694
2169712d
SP
176952013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17696
17697 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17698 size just once.
17699
29c5de99
DM
177002013-04-21 David S. Miller <davem@davemloft.net>
17701
17702 * po/ru.po: Update Russion translation from translation project.
17703
ccdad15d
AC
177042013-04-17 Adam Conrad <adconrad@0c3.net>
17705
17706 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17707 and setfsgid.
17708
0f122b8d
CD
177092013-04-17 Carlos O'Donell <carlos@redhat.com>
17710
5c5b07da 17711 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 17712 * configure: Regenerate.
5c5b07da 17713 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
17714 Add example to error message.
17715 * sysdeps/i386/configure: Regenerate.
17716
037714dd
SP
177172013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17718
17719 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17720 slowtan.
17721 * benchtests/cos-inputs: New file.
17722 * benchtests/slowcos-inputs: New file.
17723 * benchtests/slowcos.c: New file.
17724 * benchtests/slowtan-inputs: New file.
17725 * benchtests/slowtan.c: New file.
17726 * benchtests/tan-inputs: New file.
17727
e913141d
RM
177282013-04-16 Roland McGrath <roland@hack.frob.com>
17729
17730 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17731 considered kosher.
17732
a2964074
SP
177332013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17734
4856bcd2
SP
17735 * benchtests/Makefile: Include cppflags-iterator.mk to add
17736 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17737
a2964074
SP
17738 * Makefile.in (bench-clean): New target.
17739 * benchtests/Makefile (bench-clean): Likewise.
17740
9fbf9aca
DH
177412013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17742
17743 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17744
207d1e2a
TS
177452013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17746
17747 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17748
306dfba9
AS
177492013-04-15 Andreas Schwab <schwab@suse.de>
17750
17751 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17752 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17753 * nscd/pwdcache.c (cache_addpw): Likewise.
17754 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17755 more than recsize.
17756
206a6699
SP
177572013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17758
17759 * benchtests/Makefile (bench): Write all output to
17760 bench-out.tmp together.
17761
0582f6b3
AS
177622013-04-15 Andreas Schwab <schwab@suse.de>
17763
17764 * nscd/nscd.c (main): Don't fork again after closing files.
17765
acb4325f
SP
177662013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17767
5cb26d0a
SP
17768 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17769
acb4325f
SP
17770 * benchtests/Rules (bench-deps): Collect dependencies into a
17771 single variable. Add Makefile to dependencies.
17772 ($(objpfx)bench-%.c): Depend on bench-deps.
17773
47792506
RM
177742013-04-12 Roland McGrath <roland@hack.frob.com>
17775 Xavier Roche <roche+kml2@exalead.com>
17776
17777 [BZ #15361]
17778 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17779 just that it's a file descriptor.
17780 * manual/llio.texi (Synchronizing AIO Operations): Update description
17781 for EBADF error from aio_fsync.
17782
8fc1bee5
SP
177832013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17784
17785 * Rules (bench): Move target definition...
17786 * benchtests/Makefile: ... here.
17787
aba5e333
CD
177882013-04-11 Carlos O'Donell <carlos@redhat.com>
17789
17790 * math/libm-test.inc (cos_test): Fix PI/2 test.
17791 (sincos_test): Likewise.
17792 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17793 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17794
273cdee8
AS
177952013-04-11 Andreas Schwab <schwab@suse.de>
17796
6ecec3b6
AS
17797 [BZ #13988]
17798 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17799 accept exponent character only when digits were seen.
17800 * stdio-common/Makefile (tests): Add bug26.
17801 * stdio-common/bug26.c: New file.
17802
273cdee8
AS
17803 [BZ #14293]
17804 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17805 non-freeable.
17806
8da491f5
SP
178072013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17808
01dc6df9
SP
17809 * Makeconfig (rtld-prefix): Define built linker prefix.
17810 * Rules (run-bench): Use it.
17811 * math/Makefile (run-regen-ulps): Likewise.
17812
8da491f5
SP
17813 * Rules (bench): Remove eval.
17814
abe7f530
SP
178152013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17816 Roland McGrath <roland@hack.frob.com>
17817 Ondrej Bilka <neleai@seznam.cz>
17818
17819 [BZ #15346]
17820 * time/getdate.c: Include ctype.h and alloca.h.
17821 (__getdate_r): Trim leading and trailing spaces of input.
17822 * time/tst-getdate.c (tests): Add tests with leading and
17823 trailing spaces.
17824
61c23e62
RM
178252013-04-08 Roland McGrath <roland@hack.frob.com>
17826
17827 [BZ #14280]
17828 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17829 when computing value.
17830
7208a313
CD
178312013-04-06 Carlos O'Donell <carlos@redhat.com>
17832
085b2d41
CD
17833 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17834 Use testrun.sh to run libm tests.
17835
7208a313
CD
17836 [BZ #15309]
17837 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17838
872c0acd
MM
178392013-04-06 Marko Myllynen <myllynen@redhat.com>
17840
17841 [BZ #15264]
17842 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17843
26510bdd
CD
178442013-04-06 Carlos O'Donell <carlos@redhat.com>
17845
17846 * Makefile.in (regen-ulps): New target.
17847 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17848 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17849 [ifneq (no,$(PERL)] (regen-ulps): New target.
17850 [ifeq (no,$(PERL)] (regen-ulps): New target.
17851 * math/libm-test.inc (ulps_file_name): Define.
17852 (output_dir): New variable.
17853 (options): Add "output-dir" option.
17854 (parse_opt): Handle 'o' case.
17855 (main): If output_dir is non-NULL use it as a prefix
17856 otherwise use "".
17857 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17858
a01f19c8
CD
178592013-04-06 Carlos O'Donell <carlos@redhat.com>
17860
17861 [BZ #10060, #10062]
17862 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17863 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17864 fail configure if __sync_val_compare_and_swap is not inlined.
17865 * sysdeps/i386/configure: Regenerate.
17866 * configure.in: Build for i686 when configured for i386.
17867 * configure: Regenerate.
17868 * README: Remove i386 reference.
17869
b7a329a5
CD
178702013-04-06 Carlos O'Donell <carlos@redhat.com>
17871
17872 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17873 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17874
bf0f50df
TS
178752013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17876
ee091edf
TS
17877 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17878 (lmsnanval): New variables.
17879 (F): Add conversion tests.
17880 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17881 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17882
a8b792d6
TS
17883 * stdio-common/tstdiomisc.c (F): Properly collect individual
17884 tests' results.
17885
a1cbf437
TS
17886 [BZ #14686, #15336]
17887 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17888 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17889 Instead, use input NaN values or generate a qNaN by arithmetic
17890 operation. Also fix bugs to comply with the standard.
17891 * math/libm-test.inc (remainder_test): Add more tests.
17892
8b43a0c9
TS
17893 [BZ #15335, #15342]
17894 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17895 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17896 input NaN values or generate a qNaN by arithmetic operation.
17897
d91da4ce
TS
17898 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17899 unreachable code.
17900
bf0f50df
TS
17901 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17902 definitions.
17903
05e166c8
JM
179042013-04-03 Joseph Myers <joseph@codesourcery.com>
17905
17906 [BZ #14478]
17907 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17908 underflowed result.
17909 * math/s_cexpf.c (__cexpf): Likewise.
17910 * math/s_cexpl.c (__cexpl): Likewise.
17911 * math/libm-test.inc (cexp_test): Add more tests.
17912
1cef1b19
AS
179132013-04-03 Andreas Schwab <schwab@suse.de>
17914
17915 [BZ #15330]
17916 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17917 order arrays from heap if bigger than alloca cutoff.
17918
74d87055
TS
179192013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17920
17921 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17922 (SNAN_TESTS_double): Refer to GCC PR56831.
17923 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17924 GCC PR56828.
17925
d755bba4
SP
179262013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17927
90d5d5bb
SP
17928 * Rules (bench): Move bench.out after the run is complete.
17929
73e0cd5d
SP
17930 * Rules (bench): Echo currently running benchmark.
17931
64aabd4b
SP
17932 * benchtests/Makefile (bench): Add atan and slowatan.
17933 * benchtests/atan-inputs: New file.
17934 * benchtests/slowatan-inputs: New file.
17935 * benchtests/slowatan.c: New file.
17936
c871eccd
SP
17937 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17938 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17939 its value.
17940
d755bba4
SP
17941 [BZ #15305]
17942 * sysdeps/unix/sysv/linux/kernel-features.h
17943 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17944 __ASSUME_XFS_RESTRICTED_CHOWN.
17945 * sysdeps/unix/sysv/linux/pathconf.c
17946 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17947 Save and restore errno.
17948
52ce4860
JM
179492013-04-02 Joseph Myers <joseph@codesourcery.com>
17950
17951 [BZ #15327]
17952 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17953 arguments using __kernel_casinh.
17954 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17955 arguments using __kernel_casinhf.
17956 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17957 arguments using __kernel_casinhl.
17958 * math/libm-test.inc (cacosh_test): Add more tests.
17959 * sysdeps/i386/fpu/libm-test-ulps: Update.
17960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17961
81f311c2
SP
179622013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17963
e7906a47
SP
17964 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17966
92e3664b
SP
17967 * bench/Makefile (bench): Add sin and slowsin.
17968 * benchtests/sin-inputs: New file.
17969 * benchtests/slowsin-inputs: New file.
17970 * benchtests/slowsin.c: New file.
17971
81f311c2
SP
17972 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17973 (bench): Add slowexp and slowpow.
17974 (exp-ITER): Increase iterations.
17975 (pow-ITER): Likewise.
17976 * benchtests/exp-inputs: Change input.
17977 * benchtests/pow-inputs: Likewise.
17978 * benchtests/slowexp-inputs: New file.
17979 * benchtests/slowexp.c: New file.
17980 * benchtests/slowpow-inputs: New file.
17981 * benchtests/slowpow.c: New file.
17982
ab0f1aa9
AZ
179832013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17984
17985 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17986 instructions.
17987 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17988 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17989 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17990 * benchtests/Makefile: Add rint benchtest.
17991 * benchtests/rint-inputs: Input for rint benchtest.
17992
57267616
TS
179932013-04-02 Thomas Schwinge <thomas@codesourcery.com>
17994
17995 * Versions.def (libm): Add GLIBC_2.18.
17996 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17997 hidden libm prototypes.
17998 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17999 * math/Makefile (libm-calls): Add s_issignaling.
18000 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18001 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18002 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18003 declaration.
18004 * math/math.h [__USE_GNU] (issignaling): New macro.
18005 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18006 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18007 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18008 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18009 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18010 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18011 * manual/arith.texi (issignaling): New section.
18012 * manual/libm-err-tab.pl (@all_functions): Update comment.
18013 * math/gen-libm-test.pl (parse_args): Apply special handling for
18014 issignaling.
18015 * math/libm-test.inc (print_float, issignaling_test): New
18016 functions.
18017 (check_float_internal): Add issignaling checks.
18018 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18019 default definition.
18020 * sysdeps/powerpc/math-tests.h: New file.
18021 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18022 tests.
18023 * math/test-snan.c (TEST_FUNC): Likewise.
18024
6142896d
DM
180252013-03-30 David S. Miller <davem@davemloft.net>
18026
18027 * po/de.po: Update from translation team.
18028
ccc8cadf
JM
180292013-03-30 Joseph Myers <joseph@codesourcery.com>
18030
18031 [BZ #10357]
18032 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18033 imaginary part less than 1.0 and real part less than 0.5
18034 specially.
18035 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18036 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18037 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18038 (cacos_test): Add more tests.
18039 (casin_test): Likewise.
18040 (casinh_test): Likewise.
18041 * sysdeps/i386/fpu/libm-test-ulps: Update.
18042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18043
0f6a8d4b
SP
180442013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18045
0d1029de
SP
18046 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18047 ONE with its value.
18048
c2d94018
SP
18049 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18050 (__pow_mp): Replace ONE and MONE with their values.
18051 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18052 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18053 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18054 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18055 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18056 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18057
27ec37f1
SP
18058 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18059
a64d7e0e
SP
18060 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18061 (__pow_mp): Replace ZERO and MZERO with their values.
18062 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18063 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18064 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18066 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18067 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18068 (__sqr): Likewise.
18069
d26dd3eb
SP
18070 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18071
0f6a8d4b
SP
18072 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18073
e57b0c61
RM
180742013-03-28 Roland McGrath <roland@hack.frob.com>
18075
18076 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18077 Declare with __attribute__ ((weak)).
18078 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18079 Call __call_tls_dtors only if it's not NULL.
18080
356b3480
RM
180812013-03-28 Roland McGrath <roland@hack.frob.com>
18082
288f7d79
RM
18083 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18084 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18085 magic __ehdr_start linker symbol if it's defined.
18086 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18087 them up here if it was already done.
18088
dc0a0263
RM
18089 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18090 (_dl_aux_init): Use const in cast when setting it.
18091 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18092 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18093 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18094
3d3436ae
RM
18095 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18096 Declare them here.
18097 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18098 * csu/libc-tls.c: Nor here.
18099 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18100
356b3480
RM
18101 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18102 (__libc_message): Never call vsyslog.
18103
b0f1246a
AM
181042013-03-28 Alan Modra <amodra@gmail.com>
18105
18106 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18107 Define as empty.
18108 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18109 Likewise.
18110
fbbe2b9a
AZ
181112013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18112
18113 [BZ #15214]
18114 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18115 underflow.
18116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18117
1728ab37
SP
181182013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18119
7a86be6e
SP
18120 [BZ #15304]
18121 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18122 Don't add gid passed as argument.
18123
1728ab37
SP
18124 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18125
3a7182a1
JM
181262013-03-27 Joseph Myers <joseph@codesourcery.com>
18127
18128 [BZ #15307]
18129 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18130 imaginary part between 1.0 and 1.5 and real part less than 0.5
18131 specially.
18132 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18133 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18134 * math/libm-test.inc (cacos_test): Add more tests.
18135 (casin_test): Likewise.
18136 (casinh_test): Likewise.
18137 * sysdeps/i386/fpu/libm-test-ulps: Update.
18138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18139
6f2e90e7
SP
181402013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18141
5739f705
SP
18142 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18143 constants.
18144 (norm): Likewise.
18145 (denorm): Likewise.
18146 (__dbl_mp): Likewise.
18147 (add_magnitudes): Likewise.
18148 (sub_magnitudes): Likewise.
18149 (__add): Likewise.
18150 (__sub): Likewise.
18151 (__mul): Likewise.
18152 (__sqr): Likewise.
18153 (__inv): Likewise.
18154 (__dvd): Likewise.
18155
e375e83d
SP
18156 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18157 commented code.
18158 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18159 (__dubcos): Likewise.
18160 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18161 (__ieee754_acos): Likewise.
18162 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18163 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18164 (__exp1): Likewise.
18165 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18166 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18167 (log1): Likewise.
18168 (my_log2): Likewise.
18169 (checkint): Likewise.
18170 * sysdeps/ieee754/dbl-64/e_remainder.c
18171 (__ieee754_remainder): Likewise.
18172 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18173 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18174 (bsloww): Likewise.
18175 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18176
6f2e90e7
SP
18177 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18178 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18179 MANTISSA_STORE_T to store computations on mantissa. Use
18180 macros for rounding and division.
18181 (denorm): Likewise.
18182 (__dbl_mp): Likewise.
18183 (add_magnitudes): Likewise.
18184 (sub_magnitudes): Likewise.
18185 (__mul): Likewise.
18186 (__sqr): Likewise.
18187 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18188 powers of two in terms of TWOPOW macro.
18189 (mp_no): Make type of mantissa as MANTISSA_T.
18190 [!RADIXI]: Define RADIXI.
18191 [!TWO52]: Define TWO52.
18192 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18193
fce14d4e
AZ
181942013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18195
18196 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18197 llroundl symbol when building for PPC32.
18198
9ad027fb
MW
181992013-03-24 Mark H Weaver <mhw@netris.org>
18200
18201 * manual/arith.texi (Normalization Functions): Fix prototypes for
18202 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18203
e42a38dd
AZ
182042013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18205
18206 [BZ #13889]
18207 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18208 high value to check if expl overflow.
18209 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18210 to check for underflow and overflow.
18211 * math/libm-test.inc: Add exp test.
18212
2e0fb521
DL
182132013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18214
18215 [BZ #11120]
18216 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18217 with NOT_IN_libc.
18218
b5784d95
AZ
182192013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18220
18221 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18222 symbol.
18223
5aa4a1a1
TS
182242013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18225
bdef0be7
TS
18226 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18227 wrap blocks consisting of several statements.
18228
5aa4a1a1
TS
18229 * sysdeps/generic/math-tests.h: New file.
18230 * sysdeps/i386/fpu/math-tests.h: Likewise.
18231 * math/test-snan.c: Include it.
18232 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18233
98c48fe5
JM
182342013-03-21 Joseph Myers <joseph@codesourcery.com>
18235
18236 [BZ #15285]
18237 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18238 (__ieee754_j0l): Do not improve calculations using cos of twice
18239 input for inputs above LDBL_MAX / 2.0L.
18240 (__ieee754_y0l): Likewise.
18241 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18242 (__ieee754_j1l): Do not improve calculations using cos of twice
18243 input for inputs above LDBL_MAX / 2.0L.
18244 (__ieee754_y1l): Likewise.
18245 * math/libm-test.inc (j0_test): Add another test.
18246 (j1_test): Likewise.
18247 (y0_test): Likewise.
18248 (y1_test): Likewise.
18249 * sysdeps/i386/fpu/libm-test-ulps: Update.
18250
3775a8bc
SP
182512013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18252
18253 * Rules ($(objpfx)bench-%.c): Include code from a C source
18254 file.
18255
0a1b2ae6
JM
182562013-03-21 Joseph Myers <joseph@codesourcery.com>
18257
18258 [BZ #15287]
18259 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18260 imaginary part 1.0 and real part less than 0.5 specially.
18261 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18262 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18263 * math/libm-test.inc (cacos_test): Add more tests.
18264 (casin_test): Likewise.
18265 (casinh_test): Likewise.
18266 * sysdeps/i386/fpu/libm-test-ulps: Update.
18267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18268
b33d4ce4
SP
182692013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18270
18271 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18272 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18273
bef0b507
JM
182742013-03-20 Joseph Myers <joseph@codesourcery.com>
18275
18276 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18277 * config.make.in (config-cflags-sse4): Remove variable.
18278 (config-cflags-avx): Likewise.
18279 (config-cflags-sse2avx): Likewise.
18280 (config-cflags-novzeroupper): Likewise.
18281 (config-asflags-i686): Likewise.
18282 (have-mfma4): Likewise.
18283 (have-as-vis3): Likewise.
18284 (MIG): Likewise.
18285 * configure.in (MIG): Do not AC_SUBST.
18286 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18287 (libc_cv_cc_sse4): Do not AC_SUBST.
18288 (libc_cv_cc_avx): Likewise.
18289 (libc_cv_cc_sse2avx): Likewise.
18290 (libc_cv_cc_novzeroupper): Likewise.
18291 (libc_cv_cc_fma4): Likewise.
18292 (libc_cv_as_i686): Likewise.
18293 (libc_cv_sparc_as_vis3): Likewise.
18294 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18295 LIBC_CONFIG_VAR.
18296 (config-asflags-i686): Likewise.
18297 (config-cflags-avx): Likewise.
18298 (config-cflags-sse2avx): Likewise.
18299 (have-mfma4): Likewise.
18300 (config-cflags-novzeroupper): Likewise.
18301 * sysdeps/mach/configure.in (MIG): Likewise.
18302 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18303 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18304 LIBC_CONFIG_VAR.
18305 (config-cflags-avx): Likewise.
18306 (config-cflags-sse2avx): Likewise.
18307 (have-mfma4): Likewise.
18308 (config-cflags-novzeroupper): Likewise.
18309 * configure: Regenerated.
18310 * sysdeps/i386/configure: Likewise.
18311 * sysdeps/mach/configure: Likewise.
18312 * sysdeps/sparc/configure: Likewise.
18313 * sysdeps/x86_64/configure: Likewise.
18314
912cc4b3
RM
183152013-03-20 Roland McGrath <roland@hack.frob.com>
18316
18317 [BZ #14812]
18318 * locale/programs/localedef.c (options): Put N_ translation marker
18319 on argument names, not just descriptions.
18320
04eed2b0
MS
183212013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18322
18323 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18324
a065ceff
OB
183252013-03-20 Ondřej Bílka <neleai@seznam.cz>
18326
9bb2a810 18327 [BZ #14176]
a065ceff
OB
18328 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18329
a600e5ce
RM
183302013-03-19 Roland McGrath <roland@hack.frob.com>
18331
18332 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18333 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18334 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18335 [!BEFORE_ABORT] (before_abort): New function.
18336 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18337 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18338 (writev_for_fatal): New function.
18339 (WRITEV_FOR_FATAL): New macro; call that.
18340 (backtrace_and_maps): New function.
18341 (BEFORE_ABORT): New macro; call that.
18342 (struct str_list): Type removed.
18343 (__libc_message, __libc_fatal): Functions removed.
18344 Include <sysdeps/posix/libc_fatal.c> instead.
18345
6b18bea6
JM
183462013-03-19 Joseph Myers <joseph@codesourcery.com>
18347
18348 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18349 constants.
18350 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18351 double constants.
18352
aaa8cb4b
AS
183532013-03-19 Andreas Schwab <schwab@suse.de>
18354
44673770
AS
18355 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18356 * sysdeps/gnu/configure: Regenerate.
18357
aaa8cb4b
AS
18358 * configure.in: Substitute libc_cv_rtlddir.
18359 * configure: Regenerate.
18360 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18361 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18362 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18363 * elf/Makefile (install-others, CFLAGS-interp.c)
18364 (ldso_install, common-ldd-rewrite): Likewise.
18365 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18366 $(inst_slibdir)/$(rtld-installed-name).
18367 * scripts/rellns-sh: Add -p option.
18368 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18369 for source.
18370
d3cfc668
SP
183712013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18372
18373 * manual/nptl.texi: Renamed to ...
18374 * manual/threads.texi: ... this.
18375 * manual/Makefile (chapters): Update.
18376
0e2b9cdd
RM
183772013-03-18 Roland McGrath <roland@hack.frob.com>
18378
18379 [BZ #14812]
18380 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18381 on argument names, not just descriptions.
0e2b9cdd
RM
18382 * malloc/memusagestat.c (options): Likewise.
18383 * nss/getent.c (options): Likewise.
63270c24
RM
18384
183852013-03-18 Benno Schulenberg <bensberg@justemail.net>
18386
18387 [BZ #14812]
18388 * iconv/iconv_prog.c (options): Put N_ translation marker
18389 on argument names, not just descriptions.
18390 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 18391
b2e1393c
OB
183922013-03-18 Ondrej Bilka <neleai@seznam.cz>
18393
18394 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18395 implementation which is faster on all x86_64 architectures.
18396 Tested on AMD, Intel Nehalem, SNB, IVB.
18397 * sysdeps/x86_64/strnlen.S: Likewise.
18398
18399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18400 Remove all multiarch strlen and strnlen versions.
18401 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18402 Remove strlen and strnlen related parts.
18403
18404 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18405 Inline strlen part.
18406 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18407
18408 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18409 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18410 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18411 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18412 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18413 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18414
ec4ff04d
CD
184152013-03-17 Carlos O'Donell <carlos@redhat.com>
18416
18417 * manual/memory.texi (Malloc Tunable Parameters):
18418 Sort parameters alphabetically. Add comments for missing entries.
18419
cd18e90a
DM
184202013-03-17 David S. Miller <davem@davemloft.net>
18421
18422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18423
2a185d32
JM
184242013-03-16 Joseph Myers <joseph@codesourcery.com>
18425
d2f9799e
JM
18426 [BZ #15283]
18427 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18428 for arguments at most half maximum finite value.
18429 * math/libm-test.inc (j0_test): Add more tests.
18430 (j1_test): Likewise.
18431 (y0_test): Likewise.
18432 (y1_test): Likewise.
18433 * sysdeps/i386/fpu/libm-test-ulps: Update.
18434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18435
2a185d32
JM
18436 [BZ #14155]
18437 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18438 1 / x and functions P and Q for arguments above 0x1p256L.
18439 (__ieee754_y0l): Likewise.
18440 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18441 (__ieee754_y1l): Likewise.
18442 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18443 (j1_test): Likewise.
18444 (y0_test): Likewise.
18445 (y1_test): Likewise.
18446
6cbec759
TS
184472013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18448
18449 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18450 variable.
18451
bc16e260
RM
184522013-03-15 Roland McGrath <roland@hack.frob.com>
18453
aefc9b8c
RM
18454 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18455 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18456 zero since it's initialized to EXEC_PAGESIZE.
18457
bc16e260
RM
18458 * sysdeps/unix/sysv/linux/ldsodefs.h
18459 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18460 * sysdeps/generic/ldsodefs.h: ... here.
18461
a57da955
TS
184622013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18463
af00a34d
TS
18464 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18465
495ded2c
TS
18466 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18467 math/test-snan.c.
18468 * math/test-snan.c: Renamed from
18469 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18470 * math/Makefile (tests): Add test-snan.
18471 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18472 test-powerpc-snan.
18473
777b0332
TS
18474 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18475 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18476 functions.
18477 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18478 __builtin_nan family of functions.
18479 * math/libm-test.inc (initialize): Initialize qnan_value with
18480 __builtin_nan family of functions.
18481 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18482 Remove variables.
18483 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18484 Remove functions.
18485 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18486 storage class. Initialize qNaN_var and sNaN_var with
18487 __builtin_nan and __builtin_nans families of functions,
18488 respectively.
18489
64d063b8
TS
18490 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18491 (sqrt_test): Remove duplicate test with qNaN input.
18492 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18493 (round_test, signbit_test, significand_test): Note missing +/-Inf
18494 as well as qNaN tests.
18495
67e971f1
TS
18496 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18497 qNaN_var. Fix a few strings, too.
18498 * math/libm-test.inc (nan_value): Rename to qnan_value.
18499 * math/gen-libm-test.pl (%beautify): Adjust to that.
18500 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18501 * math/test-misc.c (main): Likewise.
18502 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18503 to __qnan_bytes, and __qnan_union, respectively.
18504 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18505 Likewise.
18506 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18507 and lqnanval, respectively.
18508 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18509 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18510 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18511 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18512
64487e12
TS
18513 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18514 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18515 doubles.
18516
e015e27b
TS
18517 * math/test-misc.c (main): Fix copy'n'pastos.
18518 * misc/tst-efgcvt.c (special): Likewise.
18519
a57da955
TS
18520 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18521 Remove declarations.
18522
1e380345
SP
185232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18524
18525 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18526 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18527 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18528 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18529
ef26eece
AZ
185302013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18531
18532 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18533 macro to return vdso values correctly in IFUNC implementations.
18534 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18535 Optimization by using IFUNC.
18536
8cfdb7e0
SP
185372013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18538 Richard Henderson <rth@redhat.com>
18539 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18540
18541 * Makefile.in (bench): New target.
18542 * NEWS: Mention the benchmark framework.
18543 * Rules (bench): Likewise.
18544 (binaries-bench): Generate binaries for functions to
18545 benchmark.
18546 * benchtests/Makefile: New makefile for benchmark tests.
18547 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18548 programs.
18549 * benchtests/exp-inputs: New input file for EXP function.
18550 * benchtests/pow-inputs: New input file for POW function.
18551 * scripts/bench.pl: New script to generate source files for
18552 benchmark programs.
18553
bcda9880
SP
185542013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18555
d22ca8cd
SP
18556 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18557 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18558 computations on mantissa. Use macros for rounding and
18559 division.
18560 (denorm): Likewise.
18561 (__dbl_mp): Likewise.
18562 (add_magnitudes): Likewise.
18563 (sub_magnitudes): Likewise.
18564 (__mul): Likewise.
18565 (__sqr): Likewise.
18566 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18567 powers of two in terms of TWOPOW macro.
18568 (mp_no): Make type of mantissa as MANTISSA_T.
18569 [!RADIXI]: Define RADIXI.
18570 [!TWO52]: Define TWO52.
18571 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18572
bcda9880
SP
18573 * manual/nptl.texi (cindex): Modify threads to pthreads.
18574
06d5adfb
JM
185752013-03-15 Joseph Myers <joseph@codesourcery.com>
18576
18577 * sysdeps/x86_64/preconfigure: Regenerated.
18578
41c7328e
JM
185792013-03-14 Joseph Myers <joseph@codesourcery.com>
18580
18581 [BZ #14155]
18582 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18583 0x1p28 and above.
18584 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18585 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18586 0x1p28 and above.
18587 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18588 * math/libm-test.inc (j0_test): Do not allow one spurious
18589 underflow exception.
18590 (y1_test): Likewise.
18591
e25cfa60
SP
185922013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18593
0409959c
SP
18594 * manual/Makefile (chapters): Add nptl.
18595 * manual/debug.texi (Debugging Support): Add link to Threads
18596 chapter.
18597 * manual/nptl.texi: New file.
18598
e25cfa60
SP
18599 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18600
58a1335e
PB
186012013-03-14 Petr Baudis <pasky@ucw.cz>
18602
18603 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18604 for non-NULL pointer before the memory validity test. Pointed
18605 out by Holger Brunck <holger.brunck@keymile.com>.
18606
9dc7c64f
AS
186072013-03-13 Andreas Schwab <schwab@suse.de>
18608
18609 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18610 instead of .os.
18611
54206aa6
JM
186122013-03-13 Joseph Myers <joseph@codesourcery.com>
18613
18614 * timezone/zic.c: Update from tzcode 2013b.
18615
e98cdb38
CD
186162013-03-12 Carlos O'Donell <carlos@redhat.com>
18617
18618 * manual/install.texi (Configuring and compiling):
18619 Mention i686 and i586.
18620 * INSTALL: Regenerate.
18621
9967e003
RM
186222013-03-12 Roland McGrath <roland@hack.frob.com>
18623
18624 * sysdeps/init_array/elf-init.c: New file.
18625 * csu/elf-init.c
18626 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18627 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18628
18629 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18630 __gmon_start__ as global, but as static with a .preinit_array pointer.
18631 * sysdeps/init_array/gmon-start.c: New file. Use that.
18632 * sysdeps/init_array/crti.S: New file, empty except for comments.
18633 * sysdeps/init_array/crtn.S: Likewise.
18634
e6b5a293 186352013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
18636
18637 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18638 definining bcopy.
80f844c9
OB
18639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18640 Remove Prefer_SSE_for_memop.
18641 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18642 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18643 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
18644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18645 memset-x86-64.
80f844c9 18646 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 18647 Remove bzero, memset ifunc support.
80f844c9
OB
18648 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18649 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18650 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18651 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18652
fb6b0fcb
AS
186532013-03-11 Andreas Schwab <schwab@suse.de>
18654
18655 [BZ #15234]
18656 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18657 by SHLIB_COMPAT.
18658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18659 (GLIBC_2.16): Remove pthread_atfork.
18660
3e6bd4b1
PP
186612013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18662
18663 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18664 (ptestcases.h): Likewise.
18665
222d7f00
RM
186662013-03-08 Roland McGrath <roland@hack.frob.com>
18667
18668 * Makeconfig ($(common-objpfx)config.status): Depend on
18669 sysdeps/*/preconfigure{,.in} too.
18670
1ba4f030
JM
186712013-03-08 Joseph Myers <joseph@codesourcery.com>
18672
a222d91a
JM
18673 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18674 (__free_hook): Use void * instead of __malloc_ptr_t.
18675 (__malloc_hook): Likewise.
18676 (__realloc_hook): Likewise.
18677 (__memalign_hook): Likewise.
18678 (__after_morecore_hook): Likewise.
18679 * malloc/arena.c (save_malloc_hook): Likewise.
18680 (save_free_hook): Likewise.
18681 * malloc/hooks.c (malloc_hook_ini): Likewise.
18682 (realloc_hook_ini): Likewise.
18683 (memalign_hook_ini): Likewise.
18684 * malloc/malloc.c (malloc_hook_ini): Likewise.
18685 (realloc_hook_ini): Likewise.
18686 (memalign_hook_ini): Likewise.
18687 (__free_hook): Likewise.
18688 (__malloc_hook): Likewise.
18689 (__realloc_hook): Likewise.
18690 (__memalign_hook): Likewise.
18691 (__libc_malloc): Likewise.
18692 (__libc_free): Likewise.
18693 (__libc_realloc): Likewise.
18694 (__libc_memalign): Likewise.
18695 (__libc_valloc): Likewise.
18696 (__libc_pvalloc): Likewise.
18697 (__libc_calloc): Likewise.
18698 (__posix_memalign): Likewise.
18699 * malloc/morecore.c (__sbrk): Likewise.
18700 (__default_morecore): Likewise.
18701
5cc45e10
JM
18702 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18703
dd54b864
JM
18704 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18705 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18706 __malloc_ptrdiff_t.
18707
1ba4f030
JM
18708 * malloc/malloc.h (__malloc_size_t): Remove macro.
18709 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18710 __malloc_size_t.
18711 (old_memalign_hook): Likewise.
18712 (old_realloc_hook): Likewise.
18713 (struct hdr): Likewise.
18714 (flood): Likewise.
18715 (mallochook): Likewise.
18716 (memalignhook): Likewise.
18717 (reallochook): Likewise.
18718 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18719 (tr_old_realloc_hook): Likewise.
18720 (tr_old_memalign_hook): Likewise.
18721 (tr_mallochook): Likewise.
18722 (tr_reallochook): Likewise.
18723 (tr_memalignhook): Likewise.
18724
edf66e57
AZ
187252013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18726
18727 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18728 default_ldbl_pack and using as default implementation.
18729 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18730 implementation.
18731 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18732 redundant definition.
18733 (ldbl_insert_mantissa): Likewise.
18734 (ldbl_canonicalize): Likewise.
18735 (ldbl_nearbyint): Likewise.
18736 (ldbl_pack): Rename to ldbl_pack_ppc.
18737 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18738 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18739 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18740
6d9145d8
SP
187412013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18742
18743 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18744 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18745 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18746 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18748 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18749 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18750 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18751
4dd4e157
AJ
187522013-03-07 Andreas Jaeger <aj@suse.de>
18753
18754 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18755 bits/mman-linux.h.
18756
adbb8027
SP
187572013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18758
ce544b5b
SP
18759 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18760 Include mpa.h and declare __MPEXP.
18761 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18762 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18763 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18764 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18765 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18766 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18767 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18768
4cc149fd
SP
18769 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18770 (__slowpow): Use long double EXPL and LOGL functions to
18771 compute POW.
18772 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18773 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18774 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18775 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18776 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18777 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18778
e6ebd4a7
SP
18779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18780 intermediate variable to calculate exponent.
18781 (__sqr): Likewise.
18782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18783 Likewise.
18784 (__sqr): Likewise.
18785
82a9811d
SP
18786 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18787 [!NO__SQR]: Define __sqr.
18788 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18789 and NO__SQR. Remove all code except __mul and __sqr. Include
18790 sysdeps/ieee754/dbl-64/mpa.c.
18791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18792
adbb8027
SP
18793 [BZ #12723]
18794 * posix/Makefile (tests): Add tst-pathconf.
18795 * posix/tst-pathconf.c: New test case.
18796 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18797 _PC_PIPE_BUF.
18798 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18799
39120df9
PF
188002013-03-06 Patsy Franklin <pfrankli@redhat.com>
18801
18802 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18803
67525cb8
AJ
188042013-03-06 Andreas Jaeger <aj@suse.de>
18805
664a9ce4
AJ
18806 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18807 definition via __MAP_ANONYMOUS.
18808
8e39047d
AJ
18809 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18810 it's not part of Linux headers.
18811
67525cb8
AJ
18812 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18813 (MAP_HUGE_MASK): Define.
18814
18815 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18816 Define.
18817 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18818 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18819 Define.
18820 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18821 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18822 Define.
18823 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18824 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18825 Define.
18826 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18827
18828 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18829 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18830 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18831 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18832 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18833 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18834
18835 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18836 Handle f2fs.
18837
18838 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18839 Handle f2fs and efivarfs.
18840
18841 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18842 f2fs.
18843
18844 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18845 (EFIVARFS_MAGIC): Add.
18846 (F2FS_LINK_MAX): Add.
18847
e1b42695
PP
188482013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18849
18850 * stdio-common/vfprintf.c: Replace __builtin_expect with
18851 __glibc_unlikely.
18852
2d67d91a
JM
188532013-03-06 Joseph Myers <joseph@codesourcery.com>
18854
18855 [BZ #13550]
18856 * sysdeps/generic/bp-sym.h: Remove file.
18857 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18858 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18859 <bp-sym.h> and <bp-asm.h>.
18860 (__longjmp): Don't use BP_SYM.
18861 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18862 and <bp-asm.h>.
18863 (memcpy): Don't use BP_SYM.
18864 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18865 <bp-sym.h> and <bp-asm.h>.
18866 (memcpy): Don't use BP_SYM.
18867 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18868 <bp-asm.h>.
18869 (memcpy): Don't use BP_SYM.
18870 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18871 <bp-asm.h>.
18872 (memset): Don't use BP_SYM.
18873 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18874 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18875 (__bzero): Don't use BP_SYM.
18876 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18877 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18878 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18879 <bp-sym.h> and <bp-asm.h>.
18880 (memcmp): Don't use BP_SYM. Remove comment about bounded
18881 pointers.
18882 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18883 <bp-sym.h> and <bp-asm.h>.
18884 (memcpy): Don't use BP_SYM.
18885 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18886 <bp-sym.h> and <bp-asm.h>.
18887 (memset): Don't use BP_SYM.
18888 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18889 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18890 (__bzero): Don't use BP_SYM.
18891 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18892 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18893 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18894 <bp-sym.h> and <bp-asm.h>.
18895 (strncmp): Don't use BP_SYM. Remove comment about bounded
18896 pointers.
18897 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18898 <bp-sym.h> and <bp-asm.h>.
18899 (memcpy): Don't use BP_SYM.
18900 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18901 <bp-sym.h> and <bp-asm.h>.
18902 (memset): Don't use BP_SYM.
18903 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18904 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18905 (__bzero): Don't use BP_SYM.
18906 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18907 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18908 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18909 <bp-sym.h> and <bp-asm.h>.
18910 (__memchr): Don't use BP_SYM.
18911 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18912 <bp-sym.h> and <bp-asm.h>.
18913 (memcmp): Don't use BP_SYM. Remove comment about bounded
18914 pointers.
18915 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18916 <bp-sym.h> and <bp-asm.h>.
18917 (memcpy): Don't use BP_SYM.
18918 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18919 <bp-sym.h> and <bp-asm.h>.
18920 (__mempcpy): Don't use BP_SYM.
18921 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18922 <bp-sym.h> and <bp-asm.h>.
18923 (__memrchr): Don't use BP_SYM.
18924 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18925 <bp-sym.h> and <bp-asm.h>.
18926 (memset): Don't use BP_SYM.
18927 (__bzero): Likewise.
18928 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18929 <bp-sym.h> and <bp-asm.h>.
18930 (__rawmemchr): Don't use BP_SYM.
18931 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18932 <bp-sym.h> and <bp-asm.h>.
18933 (__STRCMP): Don't use BP_SYM.
18934 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18935 <bp-sym.h> and <bp-asm.h>.
18936 (strchr): Don't use BP_SYM.
18937 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18938 <bp-sym.h> and <bp-asm.h>.
18939 (__strchrnul): Don't use BP_SYM.
18940 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18941 <bp-sym.h> and <bp-asm.h>.
18942 (strlen): Don't use BP_SYM.
18943 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18944 <bp-sym.h> and <bp-asm.h>.
18945 (strncmp): Don't use BP_SYM. Remove comment about bounded
18946 pointers.
18947 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18948 <bp-sym.h> and <bp-asm.h>.
18949 (__strnlen): Don't use BP_SYM.
18950 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18951 <bp-sym.h> and <bp-asm.h>.
18952 (__GI__setjmp): Don't use BP_SYM.
18953 (_setjmp): Likewise.
18954 (__sigsetjmp): Likewise.
18955 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18956 (L(start_addresses)): Don't use BP_SYM.
18957 (_start): Likewise.
18958 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18959 <bp-asm.h>.
18960 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18961 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18962 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18963 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18964 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18965 <bp-asm.h>.
18966 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18967 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
18968 about bounded pointers.
18969 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18970 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18971 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18972 <bp-asm.h>.
18973 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18974 about bounded pointers. Remove GKM FIXME comments.
18975 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18976 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18977 <bp-asm.h>.
18978 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18979 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
18980 Remove GKM FIXME comments.
18981 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18982 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18983 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18984 <bp-asm.h>.
18985 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
18986 about bounded pointers. Remove GKM FIXME comment.
18987 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18988 and <bp-asm.h>.
18989 (strncmp): Don't use BP_SYM. Remove comment about bounded
18990 pointers.
18991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18992 <bp-sym.h> and <bp-asm.h>.
18993 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18995 <bp-sym.h> and <bp-asm.h>.
18996 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
18997 comment.
18998
cdcf361f
PP
189992013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19000
19001 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19002 call free(NULL).
19003
3c4a2b15
DM
190042013-03-05 David S. Miller <davem@davemloft.net>
19005
19006 * po/es.po: Update from translation team.
19007
cdcf361f 190082013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
19009
19010 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19011 <bits/mman-linux.h>.
19012 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19013 is fine.
19014 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19015 <bits/mman-linux.h> to end of file.
19016 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19017 is fine.
19018 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19019 <bits/mman-linux.h> to end of file.
19020 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19021 is fine.
19022 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19023 <bits/mman-linux.h> to end of file.
19024
19025 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19026 (MCL_CURRENT, MCL_FUTURE): Define here.
19027
5f67c04f
AK
190282013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19029
8a4473cc 19030 [BZ #15232]
5f67c04f
AK
19031 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19032 attribute_hidden.
19033 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19034
c3e94a95
AK
190352013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19036
19037 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19038 fourth parameter needed for rt_sigprocmask syscall.
19039 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19040 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19041 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19042 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19043 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19044 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19045
cfb6382a
JM
190462013-03-04 Joseph Myers <joseph@codesourcery.com>
19047
19048 [BZ #13550]
19049 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19050 comment about bounded pointers.
19051 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19052 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19053
539d8e01
AJ
190542013-03-04 Andreas Jaeger <aj@suse.de>
19055
19056 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19057 common definitions.
19058
19059 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19060 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19061 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19062 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19063 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
19064 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19065
2e167a70 190662013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
19067
19068 [BZ #15055]
19069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19070 __ieee754_sqrl instead of __sqrl.
19071
68508633
JM
190722013-03-01 Joseph Myers <joseph@codesourcery.com>
19073
19074 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19075 * sysdeps/powerpc/fpu_control.h: ... here.
19076 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19077 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19078 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19079 * sysdeps/powerpc/bits/mathinline.h: ... here.
19080
7775448e
RM
190812013-03-01 Roland McGrath <roland@hack.frob.com>
19082
19083 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19084 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19085 to just [NEED_DL_SYSINFO_DSO].
19086 * elf/dl-support.c: Likewise.
19087 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19088 * elf/rtld.c (dl_main): Likewise.
19089 * elf/setup-vdso.h (setup_vdso): Likewise.
19090 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19091 * sysdeps/unix/sysv/linux/dl-sysdep.c
19092 (_dl_discover_osversion): Likewise.
19093
4e9b5995
CD
190942013-03-01 Carlos O'Donell <carlos@redhat.com>
19095
19096 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19097 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19098
e23872c8
SP
190992013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19100
e5c74c63
SP
19101 * NEWS: Mention libm performance improvements and non-x86 PI
19102 futex support.
19103
e23872c8
SP
19104 * csu/libc-start.c (__pthread_initialize_minimal): Change
19105 function arguments.
19106 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19107
b5510883
JM
191082013-02-28 Joseph Myers <joseph@codesourcery.com>
19109
19110 [BZ #13550]
19111 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19112 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19113 <bp-sym.h> and <bp-asm.h>.
19114 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19115 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19116 and <bp-asm.h>.
19117 (memcpy): Don't use BP_SYM.
19118 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19119 <bp-asm.h>.
19120 (__mpn_add_n): Don't use BP_SYM.
19121 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19122 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19123 and <bp-asm.h>.
19124 (__mpn_addmul_1): Don't use BP_SYM.
19125 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19126 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19127 <bp-sym.h>.
19128 (_setjmp): Don't use BP_SYM.
19129 (__novmx_setjmp): Likewise.
19130 (__GI__setjmp): Likewise.
19131 (__vmx_setjmp): Likewise.
19132 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19133 <bp-sym.h>.
19134 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19135 (__bzero): Don't use BP_SYM.
19136 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19137 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19138 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19139 <bp-sym.h> and <bp-asm.h>.
19140 (memcpy): Don't use BP_SYM.
19141 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19142 <bp-sym.h> and <bp-asm.h>.
19143 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19144 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19145 <bp-sym.h> and <bp-asm.h>.
19146 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19147 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19148 <bp-asm.h>.
19149 (__mpn_lshift): Don't use BP_SYM.
19150 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19151 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19152 <bp-asm.h>.
19153 (memset): Don't use BP_SYM.
19154 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19155 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19156 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19157 <bp-asm.h>.
19158 (__mpn_mul_1): Don't use BP_SYM.
19159 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19160 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19161 <bp-sym.h> and <bp-asm.h>.
19162 (memcmp): Don't use BP_SYM.
19163 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19164 <bp-sym.h> and <bp-asm.h>.
19165 (memcpy): Don't use BP_SYM.
19166 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19167 <bp-sym.h> and <bp-asm.h>.
19168 (memset): Don't use BP_SYM.
19169 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19170 <bp-sym.h> and <bp-asm.h>.
19171 (strncmp): Don't use BP_SYM.
19172 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19173 <bp-sym.h> and <bp-asm.h>.
19174 (memcpy): Don't use BP_SYM.
19175 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19176 <bp-sym.h> and <bp-asm.h>.
19177 (memset): Don't use BP_SYM.
19178 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19179 <bp-sym.h> and <bp-asm.h>.
19180 (__memchr): Don't use BP_SYM.
19181 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19182 <bp-sym.h> and <bp-asm.h>.
19183 (memcmp): Don't use BP_SYM.
19184 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19185 <bp-sym.h> and <bp-asm.h>.
19186 (memcpy): Don't use BP_SYM.
19187 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19188 <bp-sym.h> and <bp-asm.h>.
19189 (__mempcpy): Don't use BP_SYM.
19190 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19191 <bp-sym.h> and <bp-asm.h>.
19192 (__memrchr): Don't use BP_SYM.
19193 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19194 <bp-sym.h> and <bp-asm.h>.
19195 (memset): Don't use BP_SYM.
19196 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19197 <bp-sym.h> and <bp-asm.h>.
19198 (__rawmemchr): Don't use BP_SYM.
19199 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19200 <bp-sym.h> and <bp-asm.h>.
19201 (__STRCMP): Don't use BP_SYM.
19202 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19203 <bp-sym.h> and <bp-asm.h>.
19204 (strchr): Don't use BP_SYM.
19205 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19206 <bp-sym.h> and <bp-asm.h>.
19207 (__strchrnul): Don't use BP_SYM.
19208 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19209 <bp-sym.h> and <bp-asm.h>.
19210 (strlen): Don't use BP_SYM.
19211 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19212 <bp-sym.h> and <bp-asm.h>.
19213 (strncmp): Don't use BP_SYM.
19214 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19215 <bp-sym.h> and <bp-asm.h>.
19216 (__strnlen): Don't use BP_SYM.
19217 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19218 <bp-asm.h>.
19219 (__mpn_rshift): Don't use BP_SYM.
19220 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19221 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19222 <bp-sym.h> and <bp-asm.h>.
19223 (__sigsetjmp): Don't use BP_SYM.
19224 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19225 (L(start_addresses)): Don't use BP_SYM.
19226 (_start): Likewise.
19227 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19228 <bp-asm.h>.
19229 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19230 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19231 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19232 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19233 <bp-asm.h>.
19234 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19235 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19236 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19237 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19238 <bp-asm.h>.
19239 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19240 comments.
19241 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19242 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19243 <bp-asm.h>.
19244 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19245 FIXME comments.
19246 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19247 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19248 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19249 <bp-asm.h>.
19250 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19251 comment.
19252 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19253 and <bp-asm.h>.
19254 (strncmp): Don't use BP_SYM,
19255 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19256 <bp-asm.h>.
19257 (__mpn_sub_n): Don't use BP_SYM.
19258 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19259 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19260 and <bp-asm.h>.
19261 (__mpn_submul_1): Don't use BP_SYM.
19262 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19264 <bp-sym.h> and <bp-asm.h>.
19265 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19267 <bp-sym.h> and <bp-asm.h>.
19268 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19269 comment.
19270
8d19fe64
SP
192712013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19272
19273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19274 Use ZK to minimize writes to Z.
19275 (sub_magnitudes): Simplify code a bit.
19276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19277 Use ZK to minimize writes to Z.
19278 (sub_magnitudes): Simplify code a bit.
19279
85bd816a
RM
192802013-02-27 Roland McGrath <roland@hack.frob.com>
19281
19282 * csu/gmon-start.c: Add special exception to license text.
19283
b5977bf2
RH
192842013-02-27 Richard Henderson <rth@redhat.com>
19285
19286 * scripts/config.guess: Update from config.git.
19287 * scripts/config.sub: Likewise.
19288
11d6e2f2
SP
192892013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19290
09c14ed2
SP
19291 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19292
a688864e
SP
19293 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19294
6295157a
SP
19295 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19296
b8de2202
SP
19297 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19298
11d6e2f2
SP
19299 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19300
7e80ddb8
RM
193012013-02-26 Roland McGrath <roland@hack.frob.com>
19302
19303 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19304 [$(build-shared = yes].
7e80ddb8 19305
7da6d9ed
SP
193062013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19307
45f05884
SP
19308 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19309 (__mul): Reduce iterations for calculating mantissa.
19310
2236d359
SP
19311 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19312 MPTWO.
19313 (__mpranred): Likewise.
19314
7da6d9ed
SP
19315 [BZ #15160]
19316 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19317 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19318
b7688c42
PE
193192013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19320
19321 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19322 Define __attribute__.
19323
53a5c423
SP
193242013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19325
19326 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19327 unused.
19328 * posix/regex_internal.h (__attribute): Remove.
19329 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19330 (re_string_context_at): Likewise.
19331 (bitset_not): Use __attribute__ and mark function as possibly
19332 unused.
19333 (bitset_merge): Likewise.
19334 (bitset_mask): Likewise.
19335 (re_string_char_size_at): Likewise.
19336 (re_string_wchar_at): Likewise.
19337 (re_string_elem_size_at): Likewise.
19338
60f5a8b5
SP
193392013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19340
2a983a2e
SP
19341 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19342 code.
19343 (cc32): Likewise.
19344
e69804d1
SP
19345 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19346 (__acr): Likewise.
19347 (__cpy): Likewise.
19348 (norm): Likewise.
19349 (denorm): Likewise.
19350 (__dbl_mp): Likewise.
19351 (add_magnitudes): Likewise.
19352 (sub_magnitudes): Likewise.
19353 (__mul): Likewise.
19354 (__inv): Likewise.
19355
2f22a1e8
SP
19356 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19357 style.
19358
8930ddc7
SP
19359 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19360 style.
19361
dc60cb11
SP
19362 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19363 code.
19364
60f5a8b5
SP
19365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19366 up changes with default code.
19367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19368 Likewise.
19369
b4d1fd33
AM
193702013-02-24 Allan McRae <allan@archlinux.org>
19371
faf6f8bc
AM
19372 * manual/socket.texi (The Internet Namespace): Order menu items
19373 to match that in the file.
19374
b4d1fd33
AM
19375 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19376 node listing of the info page menu.
19377
2366713d
JM
193782013-02-21 Joseph Myers <joseph@codesourcery.com>
19379
19380 [BZ #13550]
19381 * sysdeps/i386/bp-asm.h: Remove file.
19382 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19383 (PARMS): Do not use macros from bp-asm.h.
19384 (S1): Likewise.
19385 (S2): Likewise.
19386 (SIZE): Likewise.
19387 (__mpn_add_n): Do not use BP_SYM
19388 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19389 "bp-asm.h".
19390 (PARMS): Do not use macros from bp-asm.h.
19391 (S1): Likewise.
19392 (SIZE): Likewise.
19393 (__mpn_addmul_1): Do not use BP_SYM
19394 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19395 "bp-asm.h".
19396 (PARMS): Do not use macros from bp-asm.h.
19397 (SIGMSK): Likewise.
19398 (_setjmp): Likewise. Do not use BP_SYM.
19399 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19400 "bp-asm.h".
19401 (PARMS): Do not use macros from bp-asm.h.
19402 (SIGMSK): Likewise.
19403 (setjmp): Likewise. Do not use BP_SYM.
19404 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19405 "bp-asm.h".
19406 (PARMS): Do not use macros from bp-asm.h.
19407 (__frexp): Do not use BP_SYM.
19408 (frexp): Likewise.
19409 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19410 "bp-asm.h".
19411 (PARMS): Do not use macros from bp-asm.h.
19412 (__frexpf): Do not use BP_SYM.
19413 (frexpf): Likewise.
19414 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19415 "bp-asm.h".
19416 (PARMS): Do not use macros from bp-asm.h.
19417 (__frexpl): Do not use BP_SYM.
19418 (frexpl): Likewise.
19419 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19420 "bp-asm.h".
19421 (PARMS): Do not use macros from bp-asm.h.
19422 (__remquo): Do not use BP_SYM.
19423 (remquo): Likewise.
19424 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19425 "bp-asm.h".
19426 (PARMS): Do not use macros from bp-asm.h.
19427 (__remquof): Do not use BP_SYM.
19428 (remquof): Likewise.
19429 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19430 "bp-asm.h".
19431 (PARMS): Do not use macros from bp-asm.h.
19432 (__remquol): Do not use BP_SYM.
19433 (remquol): Likewise.
19434 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19435 "bp-asm.h".
19436 (PARMS): Do not use macros from bp-asm.h.
19437 (DEST): Likewise.
19438 (SRC): Likewise.
19439 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19440 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19441 "bp-asm.h".
19442 (PARMS): Do not use macros from bp-asm.h.
19443 (strlen): Do not use BP_SYM.
19444 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19445 "bp-asm.h".
19446 (PARMS): Do not use macros from bp-asm.h.
19447 (S1): Likewise.
19448 (S2): Likewise.
19449 (SIZE): Likewise.
19450 (__mpn_add_n): Do not use BP_SYM.
19451 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19452 "bp-asm.h".
19453 (PARMS): Do not use macros from bp-asm.h.
19454 (S1): Likewise.
19455 (SIZE): Likewise.
19456 (__mpn_addmul_1): Do not use BP_SYM.
19457 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19458 weak_alias.
19459 (bzero): Likewise.
19460 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19461 "bp-asm.h".
19462 (PARMS): Do not use macros from bp-asm.h.
19463 (S): Likewise.
19464 (SIZE): Likewise.
19465 (__mpn_lshift): Do not use BP_SYM.
19466 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19467 "bp-asm.h".
19468 (PARMS): Do not use macros from bp-asm.h.
19469 (DEST): Likewise.
19470 (SRC): Likewise.
19471 (LEN): Likewise.
19472 (memcpy): Likewise. Do not use BP_SYM.
19473 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19474 libc_hidden_def and weak_alias.
19475 (mempcpy): Do not use BP_SYM in weak_alias.
19476 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19477 "bp-asm.h".
19478 (PARMS): Do not use macros from bp-asm.h.
19479 (DEST): Likewise.
19480 (LEN): Likewise.
19481 [!BZERO_P] (CHR): Likewise.
19482 (memset): Likewise. Do not use BP_SYM.
19483 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19484 "bp-asm.h".
19485 (PARMS): Do not use macros from bp-asm.h.
19486 (S1): Likewise.
19487 (SIZE): Likewise.
19488 (__mpn_mul_1): Do not use BP_SYM.
19489 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19490 "bp-asm.h".
19491 (PARMS): Do not use macros from bp-asm.h.
19492 (S): Likewise.
19493 (SIZE): Likewise.
19494 (__mpn_rshift): Do not use BP_SYM.
19495 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19496 "bp-asm.h".
19497 (PARMS): Do not use macros from bp-asm.h.
19498 (STR): Likewise.
19499 (CHR): Likewise.
19500 (strchr): Likewise. Do not use BP_SYM.
19501 (index): Do not use BP_SYM in weak_alias.
19502 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19503 "bp-asm.h".
19504 (PARMS): Do not use macros from bp-asm.h.
19505 (DEST): Likewise.
19506 (SRC): Likewise.
19507 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19508 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19509 "bp-asm.h".
19510 (PARMS): Do not use macros from bp-asm.h.
19511 (strlen): Do not use BP_SYM.
19512 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19513 "bp-asm.h".
19514 (PARMS): Do not use macros from bp-asm.h.
19515 (S1): Likewise.
19516 (S2): Likewise.
19517 (SIZE): Likewise.
19518 (__mpn_sub_n): Do not use BP_SYM.
19519 * sysdeps/i386/i586/submul_1.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 (SIZE): Likewise.
19524 (__mpn_submul_1): Do not use BP_SYM.
19525 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19526 "bp-asm.h".
19527 (PARMS): Do not use macros from bp-asm.h.
19528 (S1): Likewise.
19529 (S2): Likewise.
19530 (SIZE): Likewise.
19531 (__mpn_add_n): Do not use BP_SYM.
19532 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19533 weak_alias.
19534 (bzero): Likewise.
19535 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19536 "bp-asm.h".
19537 (PARMS): Do not use macros from bp-asm.h.
19538 (BLK2): Likewise.
19539 (LEN): Likewise.
19540 (memcmp): Do not use BP_SYM.
19541 (bcmp): Do not use BP_SYM in weak_alias.
19542 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19543 "bp-asm.h".
19544 (PARMS): Do not use macros from bp-asm.h.
19545 (DEST): Likewise.
19546 (SRC): Likewise.
19547 (LEN): Likewise.
19548 (memcpy): Likewise. Do not use BP_SYM.
19549 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19550 "bp-asm.h".
19551 (PARMS): Do not use macros from bp-asm.h.
19552 (DEST): Likewise.
19553 (SRC): Likewise.
19554 (LEN): Likewise.
19555 (memmove): Likewise. Do not use BP_SYM.
19556 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19557 "bp-asm.h".
19558 (PARMS): Do not use macros from bp-asm.h.
19559 (DEST): Likewise.
19560 (SRC): Likewise.
19561 (LEN): Likewise.
19562 (__mempcpy): Likewise. Do not use BP_SYM.
19563 (mempcpy): Do not use BP_SYM in weak_alias.
19564 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19565 "bp-asm.h".
19566 (PARMS): Do not use macros from bp-asm.h.
19567 (DEST): Likewise.
19568 (LEN): Likewise.
19569 [!BZERO_P] (CHR): Likewise.
19570 (memset): Likewise. Do not use BP_SYM.
19571 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19572 "bp-asm.h".
19573 (PARMS): Do not use macros from bp-asm.h.
19574 (STR2): Likewise.
19575 (strcmp): Do not use BP_SYM.
19576 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
19577 "bp-asm.h".
19578 (PARMS): Do not use macros from bp-asm.h.
19579 (STR): Likewise.
19580 (DELIM): Likewise.
19581 [USE_AS_STRTOK_R] (SAVE): Likewise.
19582 (FUNCTION): Likewise. Do not use BP_SYM.
19583 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19584 aliases.
19585 (strtok_r): Likewise.
19586 (__GI___strtok_r): Likewise.
19587 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19588 (PARMS): Do not use macros from bp-asm.h.
19589 (S): Likewise.
19590 (SIZE): Likewise.
19591 (__mpn_lshift): Do not use BP_SYM.
19592 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19593 (PARMS): Do not use macros from bp-asm.h.
19594 (STR): Likewise.
19595 (CHR): Likewise.
19596 (__memchr): Do not use BP_SYM.
19597 (memchr): Do not use BP_SYM in weak_alias.
19598 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19599 (PARMS): Do not use macros from bp-asm.h.
19600 (BLK2): Likewise.
19601 (LEN): Likewise.
19602 (memcmp): Do not use BP_SYM.
19603 (bcmp): Do not use BP_SYM in weak_alias.
19604 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19605 (PARMS): Do not use macros from bp-asm.h.
19606 (S1): Likewise.
19607 (SIZE): Likewise.
19608 (__mpn_mul_1): Do not use BP_SYM.
19609 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19610 "bp-asm.h".
19611 (PARMS): Do not use macros from bp-asm.h.
19612 (STR): Likewise.
19613 (CHR): Likewise.
19614 (__rawmemchr): Do not use BP_SYM.
19615 (rawmemchr): Do not use BP_SYM in weak_alias.
19616 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19617 (PARMS): Do not use macros from bp-asm.h.
19618 (S): Likewise.
19619 (SIZE): Likewise.
19620 (__mpn_rshift): Do not use BP_SYM.
19621 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19622 (PARMS): Do not use macros from bp-asm.h.
19623 (SIGMSK): Likewise.
19624 (__sigsetjmp): Likewise. Do not use BP_SYM.
19625 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19626 (_start): Do not use BP_SYM.
19627 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19628 (PARMS): Do not use macros from bp-asm.h.
19629 (DEST): Likewise.
19630 (SRC): Likewise.
19631 (__stpcpy): Likewise. Do not use BP_SYM.
19632 (stpcpy): Do not use BP_SYM in weak_alias.
19633 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19634 "bp-asm.h".
19635 (PARMS): Do not use macros from bp-asm.h.
19636 (DEST): Likewise.
19637 (SRC): Likewise.
19638 (LEN): Likewise.
19639 (__stpncpy): Likewise. Do not use BP_SYM.
19640 (stpncpy): Do not use BP_SYM in weak_alias.
19641 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19642 (PARMS): Do not use macros from bp-asm.h.
19643 (STR): Likewise.
19644 (CHR): Likewise.
19645 (strchr): Likewise. Do not use BP_SYM.
19646 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19647 "bp-asm.h".
19648 (PARMS): Do not use macros from bp-asm.h.
19649 (STR): Likewise.
19650 (CHR): Likewise.
19651 (__strchrnul): Likewise. Do not use BP_SYM.
19652 (strchrnul): Do not use BP_SYM in weak_alias.
19653 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19654 "bp-asm.h".
19655 (PARMS): Do not use macros from bp-asm.h.
19656 (STOP): Likewise.
19657 (strcspn): Do not use BP_SYM.
19658 * sysdeps/i386/strpbrk.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 (STOP): Likewise.
19663 (strpbrk): Likewise. Do not use BP_SYM.
19664 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19665 "bp-asm.h".
19666 (PARMS): Do not use macros from bp-asm.h.
19667 (STR): Likewise.
19668 (CHR): Likewise.
19669 (strrchr): Likewise. Do not use BP_SYM.
19670 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19671 (PARMS): Do not use macros from bp-asm.h.
19672 (SKIP): Likewise.
19673 (strspn): Do not use BP_SYM.
19674 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19675 (PARMS): Do not use macros from bp-asm.h.
19676 (STR): Likewise.
19677 (DELIM): Likewise.
19678 (SAVE): Likewise.
19679 (FUNCTION): Likewise. Do not use BP_SYM.
19680 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19681 aliases.
19682 (strtok_r): Likewise.
19683 (__GI___strtok_r): Likewise.
19684 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19685 (PARMS): Do not use macros from bp-asm.h.
19686 (S1): Likewise.
19687 (S2): Likewise.
19688 (SIZE): Likewise.
19689 (__mpn_sub_n): Do not use BP_SYM.
19690 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19691 "bp-asm.h".
19692 (PARMS): Do not use macros from bp-asm.h.
19693 (S1): Likewise.
19694 (SIZE): Likewise.
19695 (__mpn_submul_1): Do not use BP_SYM.
19696 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19697 <bp-sym.h>.
19698 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19699 and <bp-asm.h>.
19700 (PARMS): Do not use macros from bp-asm.h.
19701 (FLAGS): Likewise.
19702 (PTID): Likewise.
19703 (TLS): Likewise.
19704 (CTID): Likewise.
19705 (__clone): Do not use BP_SYM.
19706 (clone): Do not use BP_SYM in weak_alias.
19707 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19708 and <bp-asm.h>.
19709 (PARMS): Do not use macros from bp-asm.h.
19710 (LEN): Likewise.
19711 (__mmap64): Do not use BP_SYM.
19712 (mmap64): Do not use BP_SYM in weak_alias.
19713 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19714 <bp-sym.h> and <bp-asm.h>.
19715 (PARMS): Do not use macros from bp-asm.h.
19716 (__posix_fadvise64_l64): Do not use BP_SYM.
19717 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19718 (PARMS): Do not use macros from bp-asm.h.
19719 (NSOPS): Likewise.
19720 (semtimedop): Do not use BP_SYM.
19721 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19722 and <bp-asm.h>.
19723
582a3cff
AM
197242013-02-21 Allan McRae <allan@archlinux.org>
19725
19726 * manual/message.texi (Charset conversion in gettext):
19727 Move @end statement to beginning of line.
19728
bab8a695
SP
197292013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19730
80945231
SP
19731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19732 static.
19733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19734 Likewise.
19735
bab8a695
SP
19736 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19737 (denorm): Likewise.
19738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19740
e21d7aa7
AK
197412013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19742
19743 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19744 tail-call to the resolved function if pltexit isn't needed.
19745
4c7a4263
SP
197462013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19747
19748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19749 or Y being zero as being unlikely.
19750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19751 Likewise.
19752
41f49342
CD
197532013-02-20 Carlos O'Donell <carlos@redhat.com>
19754
19755 * manual/nss.texi (System Databases and Name Service Switch):
19756 Remove frobnicate @pxref.
19757
50022a93
TS
197582013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19759
19760 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19761 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19762
08cbd996
PM
197632013-02-20 Petr Machata <pmachata@redhat.com>
19764
19765 * elf/elf.h (R_ARM_TARGET1): New macro.
19766 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19767 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19768 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19769 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19770 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19771 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19772 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19773 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19774 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19775 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19776 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19777 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19778 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19779 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19780 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19781 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19782 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19783 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19784 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19785 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19786 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19787 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19788 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19789 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19790 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19791 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19792 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19793 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19794 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19795 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19796 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19797 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19798 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19799 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19800 (R_ARM_THM_GOT_BREL12): Likewise.
19801 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19802 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19803 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19804 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19805 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19806 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19807 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19808 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19809 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19810
c7b275d6
TS
198112013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19812
19813 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19814 __attribute_used__ to __attribute__ ((unused)).
19815
20cd7fb3
SP
198162013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19817
19818 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19819 powerpc mpa.c.
19820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19821 comment formatting.
19822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19823
92945b52
JM
198242013-02-19 Joseph Myers <joseph@codesourcery.com>
19825
19826 [BZ #13550]
19827 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19828 Remove macro.
19829 (ENTER): Remove both macro definitions.
19830 (LEAVE): Likewise.
19831 (CHECK_BOUNDS_LOW): Likewise.
19832 (CHECK_BOUNDS_HIGH): Likewise.
19833 (CHECK_BOUNDS_BOTH): Likewise.
19834 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19835 (RETURN_BOUNDED_POINTER): Likewise.
19836 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19837 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19838 (POP_ERRNO_LOCATION_RETURN): Likewise.
19839 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19840 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19841 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19842 macros.
19843 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19844 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19845 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19846 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19847 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19848 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19849 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19850 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19851 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19852 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19853 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19854 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19855 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19856 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19857 removed macros.
19858 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19859 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19860 macros.
19861 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19862 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19863 * sysdeps/i386/i586/memset.S (memset): Likewise.
19864 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19865 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19866 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19867 macros.
19868 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19869 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19870 Change uses of L(2) to L(out).
19871 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19872 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19873 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19874 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19875 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19876 removed macros.
19877 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19878 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19879 macros.
19880 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19881 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19882 (RETURN): Do not use macro LEAVE.
19883 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19884 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19885 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19886 * sysdeps/i386/i686/memset.S (memset): Likewise.
19887 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19888 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19889 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19890 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19891 Likewise.
19892 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19893 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19894 L(1_2) and L(1_3) into L(1).
19895 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19896 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19897 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19898 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19899 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19900 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19901 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19902 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19903 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19904 macros.
19905 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19906 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19907 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19908 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19909 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19910 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19911 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19912 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19913 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19914 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19915 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19916 * sysdeps/i386/strspn.S (strspn): Likewise.
19917 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19918 conditional code.
19919 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19920 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19921 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19922 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19923 L(1_3) into L(1_1).
19924 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19925 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19926 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19927 macros.
19928 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19929
2389741a
JJ
199302013-02-19 Jakub Jelinek <jakub@redhat.com>
19931
19932 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19933 macro.
19934
2016b3cd
SP
199352013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19936
e4f22324
SP
19937 * math/atest-exp.c (exp_mpn): Remove ROUND.
19938 * math/atest-exp2.c (exp_mpn): Likewise.
19939 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19940
2016b3cd
SP
19941 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19942 * stdlib/tst-tls-atexit-lib.c: Likewise.
19943 * stdlib/tst-tls-atexit.c: Likewise.
19944
4be9b544
MF
199452013-02-18 Mike Frysinger <vapier@gentoo.org>
19946
19947 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19948 and __attribute_alloc_size__.
19949
2f62b9ee
MF
199502013-02-18 Mike Frysinger <vapier@gentoo.org>
19951
19952 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19953 __attribute_alloc_size__.
19954 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19955 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19956
6ff444c4
MF
199572013-02-18 Mike Frysinger <vapier@gentoo.org>
19958
19959 * include/programs/xmalloc.h: New file.
19960 * catgets/gencat.c: Include it.
19961 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19962 * elf/pldd.c: Likewise.
19963 * iconv/iconv_charmap.c: Likewise.
19964 * iconv/iconvconfig.c: Likewise.
19965 * iconv/strtab.c: Likewise.
19966 * locale/programs/locale.c: Likewise.
19967 * locale/programs/localedef.h: Likewise.
19968 * locale/programs/simple-hash.c: Likewise.
19969 * nscd/nscd.h: Likewise.
19970 * nss/makedb.c: Likewise.
19971 * sysdeps/generic/ldconfig.h: Likewise.
19972
be179c8a
SP
199732013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19974
ba384f6e
SP
19975 * Versions.def: Add GLIBC_2.18.
19976 * include/link.h (struct link_map): New member l_tls_dtor_count.
19977 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19978 (__call_tls_dtors): Likewise.
19979 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19980 __cxa_thread_atexit_impl.
19981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19982 Likewise.
19983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19984 Likewise.
19985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19986 Likewise.
19987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19988 Likewise.
19989 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19991 Likewise.
19992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19993 Likewise.
19994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19996 Likewise.
19997 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19998 (tests): Add test case tst-tls-atexit.
19999 (modules-names): Add shared library for tst-tls-atexit.
85891aca 20000 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
20001 (GLIBC_PRIVATE): Add __call_tls_dtors.
20002 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20003 for libstdc++.
20004 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20005 * stdlib/tst-tls-atexit.c: New test case.
20006 * stdlib/tst-tls-atexit-lib.c: New test case.
20007
ffaa74cf 20008 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 20009
be179c8a
SP
20010 * elf/Versions (ld): Add _dl_find_dso_for_object.
20011 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20012 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20013 (dl_open_worker): Use _dl_find_dso_for_object.
20014 * elf/dl-sym.c (do_sym): Likewise.
20015 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20016
f78b5caa
AK
200172013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20018
20019 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20020 Syntactic changes only.
20021 (_dl_runtime_profile): Do a tail-call to the resolved function.
20022
29691210
JM
200232013-02-17 Joseph Myers <joseph@codesourcery.com>
20024
20025 [BZ #13550]
20026 * sysdeps/x86_64/bp-asm.h: Remove file.
20027 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20028 <bp-sym.h> and <bp-asm.h>.
20029 (__clone): Do not use BP_SYM.
20030 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20031 <bp-sym.h> and <bp-asm.h>.
20032 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20033 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20034 "bp-asm.h".
20035 (_setjmp): Do not use BP_SYM.
20036 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20037 "bp-asm.h".
20038 (setjmp): Do not use BP_SYM.
20039 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20040 libc_hidden_def.
20041 (mempcpy): Do not use BP_SYM in weak_alias.
20042 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20043 "bp-asm.h".
20044 (strchr): Do not use BP_SYM.
20045 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20046 "bp-asm.h".
20047 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20048 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20049 (_start): Do not use BP_SYM.
20050 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20051 "bp-asm.h".
20052 (strcat): Do not use BP_SYM.
20053 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20054 "bp-asm.h".
20055 (STRCMP): Do not use BP_SYM.
20056 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20057 "bp-asm.h".
20058 (STRCPY): Do not use BP_SYM.
20059 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20060 "bp-asm.h".
20061 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20062 "bp-asm.h".
20063 (FUNCTION): Do not use BP_SYM.
20064 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20065 weak_alias.
20066 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20067
f238fd19
AJ
200682013-02-17 Andreas Jaeger <aj@suse.de>
20069
20070 * time/Versions: Sort entries.
20071 * string/Versions: Likewise.
20072 * resolv/Versions: Likewise.
20073 * posix/Versions: Likewise.
20074 * iconv/Versions: Likewise.
20075 * elf/Versions: Likewise.
20076 * wcsmbs/Versions: Likewise.
20077
bd07f23c 200782013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 20079
22af19f9
SP
20080 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20081 loop termination condition.
20082
4709fe76
SP
20083 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20084 variable to calculate EZ.
20085 (__sqr): Likewise.
2d0e0f29
SP
20086
20087 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20088 the lower precision input.
20089
daaa7713
JM
200902013-02-15 Joseph Myers <joseph@codesourcery.com>
20091
20092 [BZ #13550]
20093 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20094 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20095 (run-via-rtld-prefix): Do not handle %-bp tests.
20096 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20097 (all-object-suffixes): Remove .ob.
20098 (bppfx): Remove variable.
20099 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20100 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20101 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20102 [$(build-bounded) = yes] (libtype.ob): Likewise.
20103 * Makerules (elide-routines.ob): Remove variable.
20104 (do-tests-clean): Do not handle *-bp.out.
20105 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20106 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20107 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20108 (tests): Do not include $(tests-bp.out).
20109 (xtests): Do not include $(xtests-bp.out).
20110 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20111 [$(build-bounded) = yes] ($(addprefix
20112 $(objpfx),$(binaries-bounded))): Remove rule.
20113 ($(objpfx)%-bp.out): Remove rule.
20114 * config.make.in (build-bounded): Remove variable.
20115 * crypt/Makefile [$(build-bounded) = yes]
20116 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20117 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20118 append to variable.
20119 [$(build-bounded) = yes] (install-lib): Likewise.
20120 [$(build-bounded) = yes] (generated): Likewise.
20121 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20122 Remove rule.
20123 * intl/Makefile [$(build-bounded) = yes]
20124 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20125 * math/Makefile [$(build-bounded) = yes]
20126 ($(tests:%=$(objpfx)%-bp): Likewise.
20127 * misc/Makefile [$(build-bounded) = yes]
20128 ($(objpfx)tst-tsearch-bp): Likewise.
20129 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20130 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20131 Remove dependency.
20132 * string/Makefile (o-objects.ob): Remove variable.
20133 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20134 (CFLAGS-.ob): Remove variable.
20135 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20136 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20137 both definitions of variable.
20138 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20139 (ASFLAGS-.ob): Remove variable.
20140
e97ed6dd
JM
201412013-02-14 Joseph Myers <joseph@codesourcery.com>
20142
2bdd4ca6
JM
20143 [BZ #13550]
20144 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20145 Remove __BOUNDED_POINTERS__ from condition.
20146 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20147 * string/bits/string2.h [!__NO_STRING_INLINES &&
20148 !__BOUNDED_POINTERS__]: Likewise.
20149 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20150 Likewise.
20151 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20152 Remove conditional code.
20153 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20154 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20155 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20156 condition.
20157
e97ed6dd
JM
20158 [BZ #13550]
20159 * csu/libc-start.c: Do not include <bp-sym.h>.
20160 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20161 * elf/dl-open.c: Do not include <bp-sym.h>.
20162 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20163 * math/fegetenv.c: Do not include <bp-sym.h>.
20164 (fegetenv): Do not use BP_SYM in versioned symbols.
20165 * nptl/sysdeps/pthread/bits/libc-lockP.h
20166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20167 <bp-sym.h>.
20168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20169 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20171 (__pthread_mutex_destroy): Likewise.
20172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20173 (__pthread_mutex_lock): Likewise.
20174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20175 (__pthread_mutex_trylock): Likewise.
20176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20177 (__pthread_mutex_unlock): Likewise.
20178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20179 (__pthread_mutexattr_init): Likewise.
20180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20181 (__pthread_mutexattr_destroy): Likewise.
20182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20183 (__pthread_mutexattr_settype): Likewise.
20184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20185 (__pthread_rwlock_init): Likewise.
20186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20187 (__pthread_rwlock_destroy): Likewise.
20188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20189 (__pthread_rwlock_rdlock): Likewise.
20190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20191 (__pthread_rwlock_tryrdlock): Likewise.
20192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20193 (__pthread_rwlock_wrlock): Likewise.
20194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20195 (__pthread_rwlock_trywrlock): Likewise.
20196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20197 (__pthread_rwlock_unlock): Likewise.
20198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20199 (__pthread_key_create): Likewise.
20200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20201 (__pthread_setspecific): Likewise.
20202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20203 (__pthread_getspecific): Likewise.
20204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20205 Likewise.
20206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20207 (_pthread_cleanup_push_defer): Likewise.
20208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20209 (_pthread_cleanup_pop_restore): Likewise.
20210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20211 (pthread_setcancelstate): Likewise.
20212 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20213 <bp-sym.h>.
20214 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20215 (memchr): Do not use BP_SYM in weak_alias.
20216 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20217 (fegetenv): Do not use BP_SYM in versioned symbols.
20218 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20219 (fesetenv): Do not use BP_SYM in versioned symbols.
20220 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20221 (feupdateenv): Do not use BP_SYM in versioned symbols.
20222 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20223 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20224 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20225 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20226 (open64): Do not use BP_SYM in weak_alias.
20227 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20228 (fegetenv): Do not use BP_SYM in versioned symbols.
20229 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20230 (fesetenv): Do not use BP_SYM in versioned symbols.
20231 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20232 (feupdateenv): Do not use BP_SYM in versioned symbols.
20233 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20234 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20235 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20236 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20237 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20238 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20239 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20240 <bp-sym.h>.
20241 (__libc_start_main): Do not use BP_SYM.
20242
d6752ccd
SP
202432013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20244
cb57ce60
SP
20245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20246 redundant return line.
20247 (norm): Likewise.
20248 (denorm): Likewise.
20249 (dbl_mp): Likewise.
20250 (sub_magnitudes): Likewise.
20251 (__add): Likewise.
20252 (__sub): Likewise.
20253 (__mul): Likewise.
20254 (__inv): Likewise.
20255 (__dvd): Likewise.
20256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20257 (norm): Likewise.
20258 (denorm): Likewise.
20259 (dbl_mp): Likewise.
20260 (sub_magnitudes): Likewise.
20261 (__add): Likewise.
20262 (__sub): Likewise.
20263 (__mul): Likewise.
20264 (__inv): Likewise.
20265 (__dvd): Likewise.
20266
f414520d
SP
20267 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20268 instead of __mul.
20269 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20270 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20271 (cc32): Likewise.
20272
d6752ccd
SP
20273 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20274 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20275 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20276 of __mul for squares.
20277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20278 function
20279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20280 Likewise.
20281 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20282 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20283
70d9946a
JM
202842013-02-13 Joseph Myers <joseph@codesourcery.com>
20285
20286 [BZ #13550]
20287 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20288 code.
20289 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20290 prototype or function definition. Rename ubp_* variables and
20291 parameters. Remove argv definitions conditional on
20292 [__BOUNDED_POINTERS__].
20293 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20294 * elf/dl-runtime.c (_dl_fixup): Likewise.
20295 * include/set-hooks.h (RUN_HOOK): Likewise.
20296 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20297 definition.
20298 * string/strcpy.c (strcpy): Do not use __unbounded.
20299 * sysdeps/generic/frame.h (struct layout): Likewise.
20300 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20301 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20302 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20303 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20304 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20305 (__backtrace): Likewise.
20306 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20307 use __ptrvalue.
20308 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20309 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20310 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20311 Likewise.
20312 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20313 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20314 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20315 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20316 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20317 Do not use __unbounded.
20318 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20319 Rename __unboundedrlimits parameter to rlimits in prototype.
20320 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20321 Do not use __unbounded.
20322 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20323 not use __ptrvalue.
20324 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20325 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20326 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20327 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20328 __ptrvalue or __unbounded.
20329 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20330 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20331 use __unbounded.
20332 (__new_msgctl): Do not use __ptrvalue.
20333 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20334 __unbounded.
20335 (__libc_msgrcv): Do not use __ptrvalue.
20336 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20337 startup_info): Do not use __unbounded.
20338 (__libc_start_main): Likewise. Rename ubp_* variables and
20339 parameters. Remove argv definitions conditional on
20340 [__BOUNDED_POINTERS__].
20341 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20342 __ptrvalue.
20343 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20344 use __unbounded.
20345 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20346 or __ptrvalue.
20347 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20348 use __unbounded.
20349 (__new_shmctl): Do not use __ptrvalue.
20350 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20351 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20352 Likewise.
20353 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20354 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20355 (__libc_sigaction): Likewise.
20356 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20357 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20358 Likewise.
20359 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20360
cc7834d6
OB
203612013-02-13 Ondřej Bílka <neleai@seznam.cz>
20362
ffb1ec7b 20363 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
20364
20365 * string/mempcpy.c: Implement by calling memcpy.
20366
bdf02814
SP
203672013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20368
c2af38aa
SP
20369 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20370
4e92d59e
SP
20371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20372 evaluation.
20373
909279a5
SP
20374 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20375 values in the mantissa.
20376
bdf02814
SP
20377 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20378 minimize writes to Z.
20379 (sub_magnitudes): Simplify code a bit.
20380
cd525923
RM
203812013-02-12 Roland McGrath <roland@hack.frob.com>
20382
20383 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20384 from the message. The linker prefixes all warnings with that already.
20385
7e2f0d2d
AS
203862013-02-12 Andreas Schwab <schwab@suse.de>
20387
a445af0b
AS
20388 [BZ #15078]
20389 * posix/regexec.c (extend_buffers): Add parameter min_len.
20390 (check_matching): Pass minimum needed length.
20391 (clean_state_log_if_needed): Likewise.
20392 (get_subexp): Likewise.
20393 * posix/Makefile (tests): Add bug-regex34.
20394 (bug-regex34-ENV): Define.
20395 * posix/bug-regex34.c: New file.
20396
7e2f0d2d
AS
20397 [BZ #11561]
20398 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20399 elements compare against the byte sequence of it, not its name.
20400 * posix/Makefile (tests): Add bug-regex35.
20401 (bug-regex35-ENV): Define.
20402 * posix/bug-regex35.c: New file.
20403
a175b684
TV
204042013-02-11 Tom de Vries <tom@codesourcery.com>
20405
20406 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20407 comment.
20408 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20409 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20410 (CHECK_EOL): Add undef.
20411
310998fe 204122013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
20413
20414 * bits/stdlib-bsearch.h: New file.
20415 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 20416 * stdlib/stdlib.h: Likewise.
41eda41d 20417
8ded91fb
RM
204182013-02-11 Roland McGrath <roland@hack.frob.com>
20419
20420 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20421 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20422 declaration.
20423 * manual/search.texi (Array Search Function): Add missing const in
20424 lfind prototype.
20425 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20426 declaration to use rlim_t.
20427 (Basic Scheduling Functions): Remove erroneous const from
20428 sched_getparam prototype. Remove erroneous * from
20429 sched_get_priority_max and sched_get_priority_min prototypes.
20430 (Resource Usage): Fix summary @comment on vtimes to refer to
20431 sys/vtimes.h rather than vtimes.h.
20432 Add missing *s in vtimes prototype.
20433 (Limits on Resources): Fix ulimit prototype to return long int.
20434 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20435 prototypes to use long int rather than double.
20436 (BSD Random): Fix initstate and setstate to use char *, not void *.
20437 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20438 prototype to make second argument 'struct aiocb64 *const[]'.
20439 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20440 (Status of AIO Operations): Remove erroneous const in aio_return and
20441 aio_return64 prototypes.
20442 (Synchronizing I/O): Fix sync prototype to return void.
20443 * manual/startup.texi (Suboptions): Remove an erroneous const in
20444 getsubopt prototype.
20445 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20446 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20447 use size_t rather than int.
20448 (Scanning All Users): Likewise for getpwent_r.
20449 (Setting Groups): Add missing const to setgroups prototype.
20450 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20451 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20452 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20453 'const void *' rather than 'const char *'.
20454 (Host Address Functions): Likewise for inet_ntop.
20455 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20456 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20457 ssize_t for return value.
20458 (Sending Data): Likewise for send, sendto, sendmsg.
20459 (Socket Option Functions): Add a missing const in setsockopt prototype.
20460 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20461 use wchar_t for the argument.
20462 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20463 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20464 take no arguments.
20465 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20466 double/float/long double for second argument.
20467 Fix return types of significand, significandf, significandl.
20468 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20469 argument in fchmod prototype.
20470 (File Owner): Use uid_t and gid_t in fchown prototype.
20471 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20472 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20473 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20474 use 'const struct dirent **' as argument types to CMP function pointer
20475 argument.
20476 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20477 (File Times): Fix summary magic @comment for struct utimbuf and utime
20478 to refer to utime.h, not time.h.
20479 * manual/string.texi (Argz Functions): Add missing const in
20480 argz_extract and argz_next prototypes.
20481 (Finding Tokens in a String): Likewise for basename.
20482 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20483 (Copying and Concatenation): Fix typo in wmemmove prototype.
20484 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20485 (Signal Stack): Remove erroneous const in sigstack prototype.
20486 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20487 prototype.
20488 (Simple Calendar Time): Likewise for stime.
20489 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20490 prototype.
20491 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20492 say sys/sysctl.h instead.
20493 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20494 and vsyslog prototypes.
20495
fe77fe6d
TV
204962013-02-11 Tom de Vries <tom@codesourcery.com>
20497
20498 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20499 Remove.
20500
3a09b620
RM
205012013-02-11 Roland McGrath <roland@hack.frob.com>
20502
20503 * misc/sys/mman.h: Fix typo in mremap comment.
20504
550a0b89
RM
205052013-02-08 Roland McGrath <roland@hack.frob.com>
20506
20507 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20508 the '\0' terminator.
20509
a2da1673
JM
205102013-02-08 Joseph Myers <joseph@codesourcery.com>
20511
20512 [BZ #13550]
20513 * debug/segfault.c: Don't include <bp-checks.h>.
20514 * sysdeps/generic/bp-checks.h: Remove file.
20515 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20516 (__GETDENTS): Don't use CHECK_N.
20517 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20518 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20519 (__getgroups): Don't use CHECK_N.
20520 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20521 (setgroups): Don't use CHECK_N.
20522 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20523 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20524 (__libc_msgrcv): Don't use CHECK_N.
20525 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20526 (__libc_msgsnd): Don't use CHECK_N.
20527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20528 <bp-checks.h>.
20529 (__libc_pread): Don't use CHECK_N.
20530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20531 include <bp-checks.h>.
20532 (__libc_pread64): Don't use CHECK_N.
20533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20534 include <bp-checks.h>.
20535 (__libc_pwrite): Don't use CHECK_N.
20536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20537 include <bp-checks.h>.
20538 (__libc_pwrite64): Don't use CHECK_N.
20539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20540 <bp-checks.h>.
20541 (__libc_pread): Don't use CHECK_N.
20542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20543 include <bp-checks.h>.
20544 (__libc_pread64): Don't use CHECK_N.
20545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20546 include <bp-checks.h>.
20547 (__libc_pwrite): Don't use CHECK_N.
20548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20549 include <bp-checks.h>.
20550 (__libc_pwrite64): Don't use CHECK_N.
20551 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20552 (do_pread): Don't use CHECK_N.
20553 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20554 (do_pread64): Don't use CHECK_N.
20555 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20556 (do_pwrite): Don't use CHECK_N.
20557 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20558 (do_pwrite64): Don't use CHECK_N.
20559 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20560 (__libc_readv): Don't use CHECK_N.
20561 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20562 (semop): Don't use CHECK_N.
20563 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20564 <bp-checks.h>.
20565 (semtimedop): Don't use CHECK_N.
20566 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20567 (__libc_pread): Don't use CHECK_N.
20568 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20569 <bp-checks.h>.
20570 (__libc_pread64): Don't use CHECK_N.
20571 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20572 <bp-checks.h>.
20573 (__libc_pwrite): Don't use CHECK_N.
20574 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20575 <bp-checks.h>.
20576 (__libc_pwrite64): Don't use CHECK_N.
20577 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20578 <bp-checks.h>.
20579 (__libc_msgrcv): Don't use CHECK_N.
20580 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20581 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20582 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20583 (__libc_writev): Don't use CHECK_N.
20584
b84660a8
RM
205852013-02-08 Roland McGrath <roland@hack.frob.com>
20586
7f3e75f8
RM
20587 * string/strcpy.c: Removed unused variable.
20588
b84660a8
RM
20589 * Makeconfig (+sysdep-includes): Define with := rather than =.
20590 Use an existing include/ subdir of each sysdeps dir before it.
20591
471514d3
CD
205922013-02-08 Carlos O'Donell <carlos@redhat.com>
20593
20594 * nscd/connection.c (register_traced_file): Comment function.
20595 [HAVE_INOTIFY] (union __inev): Define.
20596 [HAVE_INOTIFY] (inotify_check_files): New function.
20597 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20598 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20599 clear_db_cache.
20600 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20601
b2d3c3be
CD
206022013-02-08 Carlos O'Donell <carlos@redhat.com>
20603
20604 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20605 loaded if not already and that a failure is permanent.
20606
b39949d2
CD
206072013-02-08 Carlos O'Donell <carlos@redhat.com>
20608
ddacd1db 20609 [BZ #15006]
b39949d2
CD
20610 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20611 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20612
b2c9eff4
JM
206132013-02-08 Joseph Myers <joseph@codesourcery.com>
20614
f3aae3f3
JM
20615 [BZ #13550]
20616 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20617 (CHECK_1_NULL_OK): Likewise.
20618 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20619 (__fxstat): Do not use CHECK_1.
20620 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20621 <bp-checks.h>.
20622 (___fxstat64): Do not use CHECK_1.
20623 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20624 <bp-checks.h>.
20625 (__fxstatat): Do not use CHECK_1.
20626 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20627 <bp-checks.h>.
20628 (__fxstatat64): Do not use CHECK_1.
20629 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20630 <bp-checks.h>.
20631 (__fxstat): Do not use CHECK_1.
20632 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20633 <bp-checks.h>.
20634 (__fxstatat): Do not use CHECK_1.
20635 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20636 <bp-checks.h>.
20637 (__getresgid): Do not use CHECK_1.
20638 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20639 <bp-checks.h>.
20640 (__getresuid): Do not use CHECK_1.
20641 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20642 <bp-checks.h>.
20643 (__lxstat): Do not use CHECK_1.
20644 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20645 <bp-checks.h>.
20646 (__old_msgctl): Do not use CHECK_1.
20647 (__new_msgctl): Likewise.
20648 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20649 <bp-checks.h>.
20650 (__new_setrlimit): Do not use CHECK_1.
20651 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20652 <bp-checks.h>.
20653 (__old_shmctl): Do not use CHECK_1.
20654 (__new_shmctl): Likewise.
20655 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20656 <bp-checks.h>.
20657 (__xstat): Do not use CHECK_1.
20658 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20659 (__lxstat): Do not use CHECK_1.
20660 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20661 <bp-checks.h>.
20662 (___lxstat64): Do not use CHECK_1.
20663 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20664 (__old_msgctl): Do not use CHECK_1.
20665 (__new_msgctl): Likewise.
20666 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20667 <bp-checks.h>.
20668 (__gettimeofday): Do not use CHECK_1.
20669 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20670 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20671 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20672 <bp-checks.h>.
20673 (__gettimeofday): Do not use CHECK_1.
20674 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20675 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20676 (__new_shmctl): Do not use CHECK_1.
20677 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20678 <bp-checks.h>.
20679 (do_sigtimedwait): Do not use CHECK_1.
20680 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20681 <bp-checks.h>.
20682 (do_sigwaitinfo): Do not use CHECK_1.
20683 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20684 <bp-checks.h>.
20685 (msgctl): Do not use CHECK_1.
20686 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20687 <bp-checks.h>.
20688 (shmctl): Do not use CHECK_1.
20689 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20690 (ustat): Do not use CHECK_1.
20691 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20692 <bp-checks.h>.
20693 (__fxstat): Do not use CHECK_1.
20694 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20695 <bp-checks.h>.
20696 (__fxstatat): Do not use CHECK_1.
20697 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20698 <bp-checks.h>.
20699 (__lxstat): Do not use CHECK_1.
20700 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20701 <bp-checks.h>.
20702 (__xstat): Do not use CHECK_1.
20703 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20704 (__xstat): Do not use CHECK_1.
20705 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20706 (___xstat64): Do not use CHECK_1.
20707
b2c9eff4
JM
20708 [BZ #13550]
20709 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20710 definitions.
20711 (CHECK_BOUNDS_HIGH): Likewise.
20712 * string/strcpy.c: Do not include <bp-checks.h>.
20713 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20714
f1d70dad
RM
207152013-02-07 Roland McGrath <roland@hack.frob.com>
20716
20717 * nscd/nscd-client.h (__nscd_drop_map_ref):
20718 Add __attribute__ ((unused)).
20719 * nis/nss-nisplus.h (niserr2nss): Likewise.
20720
20721 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20722 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20723
20724 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20725 Remove inline keyword.
20726 * include/rounding-mode.h (round_away): Likewise.
20727 * libio/wfileops.c (adjust_wide_data): Likewise.
20728 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20729 (__m128i_strloadu_tolower): Likewise.
20730 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20731 (__m128i_strloadu_tolower): Likewise.
20732 * time/mktime.c (ydhms_diff): Likewise.
20733 * locale/elem-hash.h (elem_hash): Likewise.
20734 * locale/setlocale.c (setdata): Likewise.
20735 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20736 (re_string_wchar_at): Likewise.
20737 (bitset_not, bitset_merge, bitset_mask): Likewise.
20738 [!(__GNUC__ > 3)] (inline): Remove macro.
20739 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20740 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20741 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20742 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20743 * string/memcmp.c (memcmp_bytes): Likewise.
20744 * locale/programs/locarchive.c (compute_hashval): Likewise.
20745 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20746 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20747 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20748 * nss/getent.c (print_rpc, print_protocols): Likewise.
20749 (print_passwd, print_group, print_aliases): Likewise.
20750 * nis/nss-nisplus.h (niserr2nss): Likewise.
20751 * nscd/connections.c (restart_p): Likewise.
20752 Change return type to bool.
20753
eab55bfb
RM
207542013-02-05 Roland McGrath <roland@hack.frob.com>
20755
7bd642f5
RM
20756 * Makeconfig (all-Depend-files): Add existing
20757 $(sorted-subdirs:=/Depend) files.
20758 (all-subdirs): Remove nss.
20759 * sysdeps/unix/inet/Subdirs: Add it here instead.
20760 * hesiod/Depend: New file.
20761
573c29b2
RM
20762 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20763 instead of calling alloca.
20764
b2e25af0
RM
20765 * io/lseek.c (__lseek): Rename to __libc_lseek.
20766 Define __lseek as an alias.
20767
eab55bfb
RM
20768 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20769
9a0d1941
CD
207702013-02-04 Carlos O'Donell <carlos@redhat.com>
20771
20772 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20773 else clause and remove check for non-standard endianness.
20774
b83bbec4
DM
207752013-02-04 David S. Miller <davem@davemloft.net>
20776
20777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20778
6277fdab
JM
207792013-02-04 Joseph Myers <joseph@codesourcery.com>
20780
20781 [BZ #13550]
20782 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20783 (__ubp_memchr): Remove prototype.
20784 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20785 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20786 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20787 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20788 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20789 Remove alias.
20790 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20791 (__ubp_memchr): Likewise.
20792 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20793 (__ubp_memchr): Likewise.
20794 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20795 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20796 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20797 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20798 CHECK_STRING.
20799 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20800 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20801 (__getcwd): Do not use CHECK_STRING.
20802 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20803 <bp-checks.h>.
20804 (__real_chown): Do not use CHECK_STRING.
20805 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20806 <bp-checks.h>.
20807 (fchownat): Do not use CHECK_STRING.
20808 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20809 CHECK_STRING.
20810 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20811 <bp-checks.h>.
20812 (__lchown): Do not use CHECK_STRING.
20813 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20814 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20815 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20816 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20818 include <bp-checks.h>.
20819 (truncate64): Do not use CHECK_STRING.
20820 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20821 <bp-checks.h>.
20822 (__real_chown): Do not use CHECK_STRING.
20823 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20824 <bp-checks.h>.
20825 (__lchown): Do not use CHECK_STRING.
20826 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20827 <bp-checks.h>.
20828 (__chown): Do not use CHECK_STRING.
20829 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20830 <bp-checks.h>.
20831 (truncate64): Do not use CHECK_STRING.
20832 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20833 Likewise.
20834 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20835 (__xmknod): Do not use CHECK_STRING.
20836 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20837 <bp-checks.h>.
20838 (__xmknodat): Do not use CHECK_STRING.
20839 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20840 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20841
903ae060
AS
208422013-02-04 Andreas Schwab <schwab@suse.de>
20843
20844 [BZ #14142]
20845 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20846 * include/netdb.h: Likewise for h_errno.
20847 * elf/tst-stackguard1.c: Include <tls.h>.
20848
542f9466
JK
208492013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20850
20851 * elf/link.h (struct link_map): Extend the l_addr comment.
20852 * include/link.h (struct link_map): Likewise.
20853
e782a927
JM
208542013-02-01 Joseph Myers <joseph@codesourcery.com>
20855
20856 [BZ #13550]
20857 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20858 (BOUNDED_1): Remove macro.
20859 * debug/backtrace.c: Don't include <bp-checks.h>.
20860 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20861 (__backtrace): Likewise.
20862 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20863 <bp-checks.h>.
20864 (__backtrace): Don't use BOUNDED_1.
20865 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20866 <bp-checks.h>.
20867 (__backtrace): Don't use BOUNDED_1.
20868 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20869 (__backtrace): Don't use BOUNDED_1.
20870 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20871 (shmat): Don't use BOUNDED_N.
20872
8cf28c5e
JM
208732013-01-31 Joseph Myers <joseph@codesourcery.com>
20874
3a7ac8a0
JM
20875 [BZ #13550]
20876 * sysdeps/generic/bp-start.h: Remove file.
20877 * csu/libc-start.c: Don't include <bp-start.h>.
20878 (LIBC_START_MAIN): Set up __environ directly instead of using
20879 INIT_ARGV_and_ENVIRON.
20880 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20881 <bp-start.h>.
20882
f3499f95
JM
20883 [BZ #13550]
20884 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20885 definitions.
20886 (CHECK_FCNTL): Likewise.
20887 (CHECK_N_PAGES): Likewise.
20888
32a45bea
JM
20889 [BZ #13550]
20890 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20891 definitions.
20892 (CHECK_SIGSET_NULL_OK): Likewise.
20893 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20894 <bp-checks.h>.
20895 (sigpending): Don't use CHECK_SIGSET.
20896 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20897 <bp-checks.h>.
20898 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20899 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20900 <bp-checks.h>.
20901 (do_sigsuspend): Don't use CHECK_SIGSET.
20902 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20903 use CHECK_SIGSET.
20904 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20905 (do_sigwait): Don't use CHECK_SIGSET.
20906 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20907 use CHECK_SIGSET.
20908 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20909 include <bp-checks.h>.
20910 (sigpending): Don't use CHECK_SIGSET.
20911 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20912 include <bp-checks.h>.
20913 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20914 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20915 <bp-checks.h>.
20916 (sigpending): Don't use CHECK_SIGSET.
20917 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20918 <bp-checks.h>.
20919 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20920
2e8a5c8c
JM
20921 [BZ #13550]
20922 * sysdeps/generic/bp-semctl.h: Remove file.
20923 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20924 <bp-checks.h> and <bp-semctl.h>.
20925 (__old_semctl): Don't use CHECK_SEMCTL.
20926 (__new_semctl): Likewise.
20927 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20928 and <bp-semctl.h>.
20929 (__old_semctl): Don't use CHECK_SEMCTL.
20930 (__new_semctl): Likewise.
20931 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20932 <bp-checks.h> and <bp-semctl.h>.
20933 (__old_semctl): Don't use CHECK_SEMCTL.
20934 (__new_semctl): Likewise.
20935 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20936 <bp-checks.h> and <bp-semctl.h>.
20937 (semctl): Don't use CHECK_SEMCTL.
20938
c2d54929
JM
20939 [BZ #13550]
20940 * Makerules (elide-bp-thunks): Remove variable.
20941 (elide-routines.oS): Don't use $(elide-bp-thunks).
20942 (elide-routines.os): Likewise.
20943 (elide-routines.o): Likewise.
20944 (elide-routines.op): Likewise.
20945 (elide-routines.og): Likewise.
20946 (objects): Don't use $(bp-thunks).
20947 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20948 include.
20949 (common-generated): Do not add s-proto-bp.d.
20950 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20951 (int): Likewise.
20952 (typ): Likewise.
20953 Do not generate makefile rules for bounded-pointer thunks.
20954 * sysdeps/generic/bp-thunks.h: Remove file.
20955 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20956 * sysdeps/unix/s-proto-bp.S: Likewise.
20957
8cf28c5e
JM
20958 [BZ #15062]
20959 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20960 parts of result separately when argument is not close to line from
20961 -i to i and one part of argument is small.
20962 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20963 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20964 * math/libm-test.inc (cacos_test): Add more tests.
20965 (casin_test): Likewise.
20966 (casinh_test): Likewise.
20967 * sysdeps/i386/fpu/libm-test-ulps: Update.
20968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20969
c4e33b8d
DM
209702013-01-31 David S. Miller <davem@davemloft.net>
20971
20972 * po/de.po: Update from translation team.
20973
3b60b421
MK
209742013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
20975
20976 * time/tzfile.c: Include stdint.h for SIZE_MAX.
20977
bb931195
TS
209782013-01-25 Thomas Schwinge <thomas@codesourcery.com>
20979
b5a5da23
TS
20980 * configure.in (_AC_PROG_CC_C89): New definition.
20981 * configure: Regenerate.
20982
bb931195
TS
20983 * configure.in (AC_PROG_CPP): New definition.
20984 * configure: Regenerate.
20985
8c53a12c
JM
209862013-01-23 Joseph Myers <joseph@codesourcery.com>
20987
20988 * debug/tst-backtrace.h: New file.
20989 * debug/tst-backtrace2.c: Include tst-backtrace.h.
20990 (ret): Remove variable.
20991 (x): Likewise.
20992 (FAIL): Remove macro.
20993 (NO_INLINE): Likewise.
20994 (fn1): Use match function instead of strstr.
20995 * debug/tst-backtrace3.c: Include tst-backtrace.h.
20996 (ret): Remove variable.
20997 (x): Likewise.
20998 (FAIL): Remove macro.
20999 (NO_INLINE): Likewise.
21000 (fn): Use match function instead of strstr.
21001 * debug/tst-backtrace4.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 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21008 (ret): Remove variable.
21009 (x): Likewise.
21010 (FAIL): Remove macro.
21011 (NO_INLINE): Likewise.
21012 (handle_signal): Use match function instead of strstr.
21013
4858fa2a
RM
210142013-01-23 Roland McGrath <roland@hack.frob.com>
21015
21016 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21017
bae8e7f5
DM
210182013-01-23 David S. Miller <davem@davemloft.net>
21019
21020 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21021 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21022 argument of CAS if possible.
21023 * sysdeps/sparc/sparc64/bits/atomic.h
21024 (__arch_compare_and_exchange_val_32_acq): Likewise.
21025 (__arch_compare_and_exchange_val_64_acq): Likewise.
21026
9cbbc4ae
PT
210272013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21028
21029 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21030 * sysdeps/posix/ulimit.c: ... this.
92a601b8 21031 Include <limits.h>.
67b3f58c 21032 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 21033
5655a0b5
AC
210342013-01-23 Adam Conrad <adconrad@0c3.net>
21035
21036 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21037 (LDFLAGS-tst-array5): Likewise.
21038
052aff95
JM
210392013-01-23 Joseph Myers <joseph@codesourcery.com>
21040
21041 [BZ #15036]
21042 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21043 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21044 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21045 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21046
7c1e01aa
DM
210472013-01-21 David S. Miller <davem@davemloft.net>
21048
21049 * sysdeps/sparc/backtrace.c: New file.
21050 * sysdeps/sparc/sparc32/backtrace.h: New file.
21051 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21052 * sysdeps/sparc/sparc64/backtrace.h: New file.
21053 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21054 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21055 -funwind-tables.
21056
ab087e0a
AS
210572013-01-21 Andreas Schwab <schwab@suse.de>
21058
21059 [BZ #15020]
21060 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21061 closed its stdout.
21062
ed689c2f
AS
210632013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21064
21065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21066 "mpa2.h".
21067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21068
31d470ac
JM
210692013-01-18 Joseph Myers <joseph@codesourcery.com>
21070 Mark Mitchell <mark@codesourcery.com>
21071 Tom de Vries <tom@codesourcery.com>
21072 Paul Pluzhnikov <ppluzhnikov@google.com>
21073
21074 * debug/tst-backtrace2.c: New file.
21075 * debug/tst-backtrace3.c: Likewise.
21076 * debug/tst-backtrace4.c: Likewise.
21077 * debug/tst-backtrace5.c: Likewise.
21078 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21079 (CFLAGS-tst-backtrace3.c): Likewise.
21080 (CFLAGS-tst-backtrace4.c): Likewise.
21081 (CFLAGS-tst-backtrace5.c): Likewise.
21082 (LDFLAGS-tst-backtrace2): Likewise.
21083 (LDFLAGS-tst-backtrace3): Likewise.
21084 (LDFLAGS-tst-backtrace4): Likewise.
21085 (LDFLAGS-tst-backtrace5): Likewise.
21086 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21087 tst-backtrace4 and tst-backtrace5.
21088
90567f30 210892013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
21090 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21091
21092 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21093 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21094 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21095 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21097 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21098 "+r" and remove output regs list as redundant. Add explicit inline
21099 asm to specify register of return val to work around compiler codegen
21100 bug. Remove (int) cast on return value. Add return type parameter to
21101 use in macro so that this macro does not truncate return value for
21102 64-bit values.
21103 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21104 pass to INTERNAL_VSYSCALL_NCS.
21105 (INLINE_VSYSCALL): Add 'long int' as return type to
21106 INTERNAL_VSYSCALL_NCS macro invocation.
21107 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21108 INTERNAL_VSYSCALL_NCS macro invocation.
21109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21110
d3b9ea61
SP
211112013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21112
0b57daeb
SP
21113 [BZ #14496]
21114 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21115 Fix application of SIMD FP exception mask.
21116
caa99d06
SP
21117 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21118 mp_no from a power of two.
21119 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21120 __mpexp_twomm1. Use __pow_mp.
21121
d3b9ea61
SP
21122 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21123 multiplication.
21124
1dbaee3c
DM
211252013-01-17 David S. Miller <davem@davemloft.net>
21126
21127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21128
728d7b43
JM
211292013-01-17 Joseph Myers <joseph@codesourcery.com>
21130
21131 [BZ #15023]
21132 * include/complex.h: Condition contents on [!_COMPLEX_H].
21133 (__kernel_casinhf): New prototype.
21134 (__kernel_casinh): Likewise.
21135 (__kernel_casinhl): Likewise.
21136 * math/Makefile (libm_calls): Add k_casinh.
21137 * math/k_casinh.c: New file.
21138 * math/k_casinhf.c: Likewise.
21139 * math/k_casinhl.c: Likewise.
21140 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21141 finite nonzero arguments.
21142 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21143 finite nonzero arguments.
21144 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21145 finite nonzero arguments.
21146 * math/s_casinh.c: Do not include <float.h>.
21147 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21148 * math/s_casinhf.c: Do not include <float.h>.
21149 (__casinhf): Move code for finite nonzero arguments to
21150 k_casinhf.c.
21151 * math/s_casinhl.c: Do not include <float.h>.
21152 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21153 redefine.
21154 (__casinhl): Move code for finite nonzero arguments to
21155 k_casinhl.c.
21156 * math/libm-test.inc (cacos_test): Add more tests.
21157 * sysdeps/i386/fpu/libm-test-ulps: Update.
21158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21159
2a26ef3a
PT
211602013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21161
21162 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21163 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21164 [!HAVE_MREMAP]: Remove [defined linux] case.
21165 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21166
a897655d
SP
211672013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21168
21169 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21170
881ebe89 211712013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
21172
21173 * elf/elf.h (R_386_SIZE32): New relocation.
21174 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21175 R_386_SIZE32.
21176 (elf_machine_rela): Likewise.
21177 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21178 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21179
59981e9b
JM
211802013-01-17 Joseph Myers <joseph@codesourcery.com>
21181
21182 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21183 (FP_FAST_FMA): Do not define.
21184 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21185 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21186 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21187 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21188 !_SOFT_FLOAT]: Likewise.
21189 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21190 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21191 value.
21192 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21193 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21194 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21195 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21196 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21197 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21198 file.
21199
cfa8054f
AS
212002013-01-16 Andreas Schwab <schwab@suse.de>
21201
21202 [BZ #14327]
21203 * include/stdlib.h (__mktemp): Add declaration.
21204 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21205 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21206
dd930cc5
SP
212072013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21208
881ebe89
SP
21209 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21210 definitions.
21211 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21212 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21213 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21214 definitions here.
21215 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21216 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21217 definitions.
21218 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21219 and ONE.
21220 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21221 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21222 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21223 definitions.
21224 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21225 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21226 definitions.
21227 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 21228
dd930cc5
SP
21229 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21230
c19a9f89
DM
212312013-01-15 David S. Miller <davem@davemloft.net>
21232
1aa61767
DM
21233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21234 trunc{,f} to libm-sysdep_routes.
21235 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21237 file.
21238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21240 file.
21241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21242 file.
21243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21245 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21246 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21247 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21248 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21249 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21250 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21251
c42d5e98
DM
21252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21253 nearbyint{,f} to libm-sysdep_routes.
21254 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21256 New file.
21257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21258 file.
21259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21260 New file.
21261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21262 file.
21263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21265 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21266 file.
21267 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21268 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21269 file.
21270 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21271 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21272 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21273
c19a9f89
DM
21274 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21275 libc_feholdexcept and libc_fesetenv.
21276
357679d2
MF
212772013-01-15 Mike Frysinger <vapier@gentoo.org>
21278
21279 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21280
65a82e3d
DM
212812013-01-14 David S. Miller <davem@davemloft.net>
21282
8b954ab9
DM
21283 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21284 (SPARC_ASM_VIS2_IFUNC): Likewise.
21285 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21287 use of 'siam' instruction.
21288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21289 Likewise.
21290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21291 Likewise.
21292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21293 Likewise.
21294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21296 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21299 file.
21300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21301 file.
21302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21303 file.
21304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21305 file.
21306 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21308 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21309 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21311 new VIS2 routines.
21312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21315 Likewise.
21316 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21318 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21321 routines to libm-sysdep_routines.
21322 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21323
65a82e3d
DM
21324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21325 fdim/fdimf to libm-sysdep_routines.
21326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21327 file.
21328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21330 file.
21331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21334 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21335 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21336 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21337 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21338
e34ab705
SP
213392013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21340
2a91b573
SP
21341 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21342 to optimize copies.
21343
1066a534
SP
21344 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21347
e34ab705
SP
21348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21349 local variable MPTWO.
21350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21351 Likewise.
21352
aba5e596
MF
213532013-01-13 Mike Frysinger <vapier@gentoo.org>
21354
21355 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21356 GLOB_NOESCAPE.
21357
e557e9e5
MF
213582013-01-13 Mike Frysinger <vapier@gentoo.org>
21359
21360 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21361
0428cec9
MF
213622013-01-13 Mike Frysinger <vapier@gentoo.org>
21363
21364 * manual/pattern.texi (glob_t): Document gl_flags.
21365 (glob64_t): Likewise.
21366
8794a964
DM
213672013-01-11 David S. Miller <davem@davemloft.net>
21368
66438c3f
RM
21369 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21370 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21371 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
21372 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21373 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21374 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21375 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21376 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21377 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21378 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21379 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21380 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21381 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21382
4ae4244d
DM
21383 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21384 sparc V9 rather than using V8 code.
21385 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21386 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21387
8794a964
DM
21388 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21389 Move to...
21390 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21391 Here.
21392
6270516e
RM
213932013-01-11 Roland McGrath <roland@hack.frob.com>
21394
21395 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21396 not in the main loop.
21397 * configure: Regenerated.
21398
6a57d931
JM
213992013-01-11 Joseph Myers <joseph@codesourcery.com>
21400
21401 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21402 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21403 to just #else.
21404 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21405 [!__GLIBC_HAVE_LONG_LONG] case.
21406 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21407 condition to just #else.
21408 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21409 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21410 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21411 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21412 unconditional.
21413 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21414 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21415 #elif condition to just #else.
21416 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21417 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21418 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21419 #elif condition to just #else.
21420
0e8529e9
SE
214212013-01-11 Steve Ellcey <sellcey@mips.com>
21422
21423 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21424 (EF_MIPS_ARCH_64): Fix value.
21425 (EF_MIPS_ARCH_32R2): New.
21426 (EF_MIPS_ARCH_64R2): New.
21427
740b3dbe
L
214282013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21429
21430 * Makeconfig (+link-pie-before-libc): New.
21431 (+link-pie-after-libc): Likewise.
21432 (+link-pie-tests): Likewise.
21433 (+link-pie): Rewritten.
21434 (link-before-libc): Remove $(config-LDFLAGS).
21435 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21436 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21437 (config-LDFLAGS): Renamed to ...
21438 (rtld-LDFLAGS): This.
21439 (rtld-tests-LDFLAGS): New macro.
21440 (link-libc-rpath-link): Likewise.
21441 (link-libc-tests-rpath-link): Likewise.
21442 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21443 (link-libc): Prepand $(link-libc-rpath-link).
21444 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21445 (test-program-prefix): New macro.
21446 (test-via-rtld-prefix): Likewise.
21447 (test-program-cmd): Likewise.
21448 (host-test-program-cmd): Likewise.
21449 * Makefile ($(common-objpfx)testrun.sh): Replace
21450 $(run-program-prefix) with $(test-program-prefix).
21451 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21452 $(rtld-LDFLAGS).
21453 ($(common-objpfx)shlib.lds): Likewise.
21454 (build-module-helper): Likewise.
21455 ($(common-objpfx)format.lds): Likewise.
21456 * Rules (binaries-pie-tests): New.
21457 (binaries-pie-notests): Likewise.
21458 (binaries-pie): Rewritten.
21459 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21460 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21461 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21462 (make-test-out): Replace $(host-built-program-cmd) with
21463 $(host-test-program-cmd).
21464 * config.make.in (build-hardcoded-path-in-tests): New variable.
21465 * configure.in (--enable-hardcoded-path-in-tests): New configure
21466 option.
21467 (hardcoded_path_in_tests): New AC_SUBST.
21468 * configure: Regenerated.
21469 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21470 $(built-program-cmd) with $(test-program-cmd).
21471 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21472 (test_program_cmd): This.
21473 * elf/Makefile ($(objpfx)order.out): Run test with
21474 $(test-program-prefix).
21475 ($(objpfx)order2.out): Likewise.
21476 ($(objpfx)tst-initorder.out): Likewise.
21477 ($(objpfx)tst-initorder2.out): Likewise.
21478 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21479 $(test-program-cmd).
21480 ($(objpfx)tst-array1-static.out): Likewise.
21481 ($(objpfx)tst-array2.out): Likewise.
21482 ($(objpfx)tst-array3.out): Likewise.
21483 ($(objpfx)tst-array4.out): Likewise.
21484 ($(objpfx)tst-array5.out): Likewise.
21485 ($(objpfx)tst-array5-static.out): Likewise.
21486 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21487 $(test-program-cmd).
21488 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21489 $(run-program-prefix) with $(test-program-prefix).
21490 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21491 (test_program_prefix): This.
21492 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21493 $(run-program-prefix) with $(test-program-prefix).
21494 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21495 (test_program_prefix): This.
21496 * iconvdata/tst-tables.sh: Likewise.
21497 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21498 $(run-program-prefix) with $(test-program-prefix).
21499 ($(objpfx)tst-translit.out): Likewise.
21500 ($(objpfx)tst-gettext2.out): Likewise.
21501 ($(objpfx)tst-gettext4.out): Likewise.
21502 ($(objpfx)tst-gettext6.out): Likewise.
21503 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21504 (test_program_prefix): This.
21505 * intl/tst-gettext2.sh: Likewise.
21506 * intl/tst-gettext4.sh Likewise.
21507 * intl/tst-gettext6.sh: Likewise.
21508 * intl/tst-translit.sh: Likewise.
21509 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21510 with $(test-program-cmd).
21511 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21512 $(run-program-prefix) with $(test-program-prefix).
21513 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21514 (test_program_prefix): This.
21515 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21516 $(run-program-prefix) with $(test-program-prefix).
21517 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21518 (test_program_prefix): This.
21519 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21520 * posix/Makefile ($(objpfx)globtest.out): Replace
21521 $(run-via-rtld-prefix) and $(test-wrapper) with
21522 $(test-program-prefix) and $(test-via-rtld-prefix).
21523 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21524 $(test-program-prefix).
21525 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21526 $(host-test-program-cmd).
21527 (tst-spawn-ARGS): Likewise.
21528 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21529 $(test-program-prefix).
21530 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21531 (test_via_rtld_prefix): This.
21532 (test_wrapper): Renamed to ...
21533 (test_program_prefix): This.
21534 (run_program_prefix): Replaced by test_program_prefix.
21535 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21536 (test_program_prefix): This.
21537 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21538 with $(host-test-program-cmd).
21539 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21540 $(run-program-prefix) with $(test-program-prefix).
21541 ($(objpfx)tst-printf.out): Likewise.
21542 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21543 $(test-program-cmd).
21544 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21545 (test_program_prefix): This.
21546 * stdio-common/tst-unbputc.sh: Likewise.
21547 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21548 $(run-program-prefix) with $(test-program-prefix).
21549 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21550 (test_program_prefix): This.
21551 * string/Makefile ($(objpfx)tst-svc.out): Replace
21552 $(built-program-cmd) with $(test-program-cmd).
21553
c6fe55cf
AJ
215542013-01-11 Andreas Jaeger <aj@suse.de>
21555
21556 [BZ #15003]
21557 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21558 value. Sync with Linux 3.7.
21559
9e6919c8
DM
215602013-01-10 David S. Miller <davem@davemloft.net>
21561
21562 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21563 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21564 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21565
1c9f1a02
RM
215662013-01-10 Roland McGrath <roland@hack.frob.com>
21567
21568 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21569 never set.
21570 * configure: Regenerated.
21571
b9de2dde
DM
215722013-01-10 David S. Miller <davem@davemloft.net>
21573
21574 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21575 sparc V9 rather than using V8 code.
21576 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21577 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21578
e7f68ef4
RM
215792013-01-10 Roland McGrath <roland@hack.frob.com>
21580
21581 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21582 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21583 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21584 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21585 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21586 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21587 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21588 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21589 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21590 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21591 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21592 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21593 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21594 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21595 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21596 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21597 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21598 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21599 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21600 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21601 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21602 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21603 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21604 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21605 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21606 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21607 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21608
5a47cc9c
DM
216092013-01-10 David S. Miller <davem@davemloft.net>
21610
21611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21612
4cf8f209
L
216132013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21614
21615 * posix/Makefile (tests-static): New variable.
21616 (tests): Add $(tests-static).
21617 (tst-exec-static-ARGS): New variable.
21618 (tst-spawn-static-ARGS): Likewise.
21619 * posix/tst-exec-static.c: New file.
21620 * posix/tst-spawn-static.c: Likewise.
21621 * posix/tst-exec.c: Support run directly.
21622 * posix/tst-spawn.c: Likewise.
21623
fed0faa1
JM
216242013-01-10 Joseph Myers <joseph@codesourcery.com>
21625
828beb13
JM
21626 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21627 long.
21628 * math/bits/mathcalls.h (llrint): Likewise.
21629 (llround): Likewise.
21630 * stdlib/stdlib.h (struct drand48_data): Likewise.
21631 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21632 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21633 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21634 Likewise.
21635 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21636 Likewise.
21637 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21638 (elf_greg_t): Likewise.
21639 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21640 (__jmp_buf): Likewise.
21641 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21642 definitions.
21643 (llrint): Likewise, for all definitions.
21644 (llrintl): Likewise.
21645
fed0faa1
JM
21646 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21647 Remove [__GNUC__] condition.
21648 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21649 condition to just [__USE_ISOC99].
21650 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21651
1a20cb20
L
216522013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21653
21654 [BZ #14200]
21655 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21656 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21657 defined.
21658 (_POSIX_V6_ILP32_OFF32): Likewise.
21659 (_XBS5_ILP32_OFF32): Likewise.
21660 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21661 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21662
751b85f7
SP
216632013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21664
7490eb81
SP
21665 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21666
751b85f7
SP
21667 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21668 doubles __mpexp_twomm1. Adjust usage.
21669 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21670 Remove.
21671
988197f0
AS
216722013-01-10 Andreas Schwab <schwab@suse.de>
21673
21674 [BZ #14964]
21675 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21676 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21677
e83d7298
DM
216782013-01-09 David S. Miller <davem@davemloft.net>
21679
034ed64b 21680 [BZ #15003]
57f41c40
AS
21681 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21682 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21683 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21684 (TCP_FASTOPEN): Define.
e83d7298
DM
21685 (tcp_repair_opt): New structure.
21686 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21687 enum values.
57f41c40
AS
21688 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21689 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21690 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
21691 (tcp_cookie_transactions): New structure.
21692
d5e0b9bd
AB
216932013-01-09 Anton Blanchard <anton@samba.org>
21694
21695 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21696 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21697 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21698 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21699
0c07e3ea
JM
217002013-01-09 Joseph Myers <joseph@codesourcery.com>
21701
21702 * include/features.h (__USE_ANSI): Remove.
21703
232f7002
RM
217042013-01-09 Roland McGrath <roland@hack.frob.com>
21705
ad98e30c
RM
21706 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21707
232f7002
RM
21708 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21709
950c99ca
SP
217102013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21711
b5792741
SP
21712 * sysdeps/s390/fpu/libm-test-ulps: Update.
21713
47cf2278
SP
21714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21715
950c99ca
SP
21716 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21717 (__acr): Likewise.
21718 (__cpy): Likewise.
21719 (norm): Likewise.
21720 (denorm): Likewise.
21721 (__mp_dbl): Likewise.
21722 (__dbl_mp): Likewise.
21723 (add_magnitudes): Likewise.
21724 (sub_magnitudes): Likewise.
21725 (__add): Likewise.
21726 (__sub): Likewise.
21727 (__mul): Likewise.
21728 (__inv): Likewise.
21729 (__dvd): Likewise.
21730 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21731 (__acr): Likewise.
21732 (__cpy): Likewise.
21733 (norm): Likewise.
21734 (denorm): Likewise.
21735 (__mp_dbl): Likewise.
21736 (__dbl_mp): Likewise.
21737 (add_magnitudes): Likewise.
21738 (sub_magnitudes): Likewise.
21739 (__add): Likewise.
21740 (__sub): Likewise.
21741 (__mul): Likewise.
21742 (__inv): Likewise.
21743 (__dvd): Likewise.
21744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21745 (__acr): Likewise.
21746 (__cpy): Likewise.
21747 (norm): Likewise.
21748 (denorm): Likewise.
21749 (__mp_dbl): Likewise.
21750 (__dbl_mp): Likewise.
21751 (add_magnitudes): Likewise.
21752 (sub_magnitudes): Likewise.
21753 (__add): Likewise.
21754 (__sub): Likewise.
21755 (__mul): Likewise.
21756 (__inv): Likewise.
21757 (__dvd): Likewise.
21758
eede9df9
JM
217592013-01-08 Joseph Myers <joseph@codesourcery.com>
21760
21761 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21762 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21763 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21764 2 && __USE_EXTERN_INLINES]: Likewise.
21765
c40ea3d9
AJ
217662013-01-08 Andreas Jaeger <aj@suse.de>
21767
21768 [BZ# 14985]
21769 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21770 Remove.
21771 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21772 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21773
2ccdea26
AB
217742013-01-07 Anton Blanchard <anton@samba.org>
21775
21776 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21777 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21778 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21779 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21780 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21781 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21782 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21783 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21785 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21786 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21787 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21788 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21789 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21790 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21791 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21792 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21793 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21794 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21795 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21796 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21797 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21798 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21799 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21800 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21801 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21802 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21803 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21804 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21805 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21806 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21808 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21809 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21810 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21811 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21812 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21813 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21814 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21815 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21816 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21817 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21818 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21819
a9708fed
JM
218202013-01-07 Joseph Myers <joseph@codesourcery.com>
21821
375607b9
JM
21822 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21823 (__MALLOC_PMT): Likewise.
21824 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21825 [__GNUC__], only on [_LIBC].
21826 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21827 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21828 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21829 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21830 forward declaration.
21831 (realloc_hook_ini): Likewise.
21832 (memalign_hook_ini): Likewise.
21833 (__libc_memalign): Do not use __MALLOC_PMT in variable
21834 declaration.
21835 (__libc_valloc): Likewise.
21836 (__libc_pvalloc): Likewise.
21837 (__libc_calloc): Likewise.
21838 (__posix_memalign): Likewise.
21839
a9708fed
JM
21840 [BZ #14996]
21841 * math/s_casinh.c: Include <float.h>.
21842 (__casinh): Do not do computation with squaring and square root
21843 for large arguments.
21844 * math/s_casinhf.c: Include <float.h>.
21845 (__casinhf): Do not do computation with squaring and square root
21846 for large arguments.
21847 * math/s_casinhl.c: Include <float.h>.
21848 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21849 (__casinhl): Do not do computation with squaring and square root
21850 for large arguments.
21851 * math/libm-test.inc (casin_test): Add more tests.
21852 (casinh_test): Likewise.
21853 * sysdeps/i386/fpu/libm-test-ulps: Update.
21854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21855
afec409a
L
218562013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21857
21858 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21859 (__x86_64_raw_data_cache_size): Likewise.
21860 (__x86_64_data_cache_size_half): Likewise.
21861 (__x86_64_raw_data_cache_size_half): Likewise.
21862 (__x86_64_shared_cache_size): Likewise.
21863 (__x86_64_raw_shared_cache_size): Likewise.
21864 (__x86_64_shared_cache_size_half): Likewise.
21865 (__x86_64_raw_shared_cache_size_half): Likewise.
21866 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21867 to ...
21868 (__x86_data_cache_size): This.
21869 (__x86_64_raw_data_cache_size): Renamed to ...
21870 (__x86_raw_data_cache_size): This.
21871 (__x86_64_data_cache_size_half): Renamed to ...
21872 (__x86_data_cache_size_half): This.
21873 (__x86_64_raw_data_cache_size_half): Renamed to ...
21874 (__x86_raw_data_cache_size_half): This.
21875 (__x86_64_shared_cache_size): Renamed to ...
21876 (__x86_shared_cache_size): This.
21877 (__x86_64_raw_shared_cache_size): Renamed to ...
21878 (__x86_raw_shared_cache_size): This.
21879 (__x86_64_shared_cache_size_half): Renamed to ...
21880 (__x86_shared_cache_size_half): This.
21881 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21882 (__x86_raw_shared_cache_size_half): This.
21883 * sysdeps/x86_64/memcpy.S: Updated.
21884 * sysdeps/x86_64/memset.S: Likewise.
21885 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21886 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21887 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21888
0b3986d0
DM
218892013-01-04 David S. Miller <davem@davemloft.net>
21890
21891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21892
e47686e9
AS
218932013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21894
d643bac1
AS
21895 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21896 1 to avoid redefinition warning.
21897 (__USE_GNU): Don't define.
21898 (init_signaling_nan): Protoize.
21899
e47686e9
AS
21900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21901
b18decba
SP
219022013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21903
fffb407f
SP
21904 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21905 * sysdeps/powerpc/powerpc32/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 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21912 (__cpymn): Likewise.
21913 (norm): Remove commented code.
21914 (denorm): Likewise.
21915 (__mp_dbl): Likewise.
21916 (__inv): Likewise.
21917
b18decba
SP
21918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21919 mp_no value for 1.0 and 2.0.
21920 (norm): Use RADIXI instead of radixi.d.
21921 (denorm): Likewise.
21922 (__mul): Use 0.0 instead of zero.d.
21923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21924 mp_no value for 1.0 and 2.0.
21925 (norm): Use RADIXI instead of radixi.d.
21926 (denorm): Likewise.
21927 (__mul): Use 0.0 instead of zero.d.
21928
cdc1c96f
JM
219292013-01-04 Joseph Myers <joseph@codesourcery.com>
21930
21931 [BZ #14994]
21932 * math/s_casinh.c (__casinh): Reduce finite argument to first
21933 quadrant then set signs of results at the end.
21934 * math/s_casinhf.c (__casinhf): Likewise.
21935 * math/s_casinhl.c (__casinhl): Likewise.
21936 * math/libm-test.inc (casin_test): Add more tests.
21937 (casinh_test): Likewise.
21938 * sysdeps/i386/fpu/libm-test-ulps: Update.
21939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21940
302913e1
SP
219412013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21942
6420d207
SP
21943 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21944
a9e48ab4
SP
21945 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21946
b7837264
SP
21947 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21948 declarations.
21949 (denorm): Likewise.
21950 (__mp_dbl): Likewise.
21951 (__inv): Likewise.
21952
f8af25d2
SP
21953 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21954 and adjust the header comment.
21955
302913e1
SP
21956 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21957 variable name from declaration.
21958
5d7dd1ca
L
219592013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21960
21961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21962 Initialize COMMON_CPUID_INDEX_7 element.
21963 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21964 (CPUID_RTM): Likewise.
21965 (HAS_RTM): Likewise.
21966 (COMMON_CPUID_INDEX_7): New enum.
21967
2f5f40f4
AS
219682013-01-03 Andreas Schwab <schwab@linux-m68k.org>
21969
21970 [BZ #14981]
21971 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21972 size is zero, record memory as freed.
21973
4056f4a0
AJ
219742013-01-03 Andreas Jaeger <aj@suse.de>
21975
21976 * po/ia.po: Add new Interlingua translation.
21977
ab15736f 219782012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
21979
21980 * locale/programs/localedef.c: Fix description of '--posix' flag.
21981
568035b7
JM
219822013-01-02 Joseph Myers <joseph@codesourcery.com>
21983
e6898b8d
JM
21984 * NEWS: Update dates in second copyright notice.
21985 * README: Update copyright dates in example.
21986 * manual/libc.texinfo: Update copyright dates.
21987 * scripts/test-installation.pl: Update copyright date in --version
21988 output.
21989
0e2f9562
JM
21990 * hurd/ctty-input.c: Fix copyright notice formatting.
21991 * hurd/ctty-output.c: Likewise.
21992 * hurd/dtable.c: Likewise.
21993 * hurd/hurd-raise.c: Likewise.
21994 * hurd/hurdprio.c: Likewise.
21995 * hurd/msgportdemux.c: Likewise.
21996 * misc/sys/file.h: Likewise.
21997 * misc/sys/ioctl.h: Likewise.
21998 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21999 * sysdeps/mach/hurd/chdir.c: Likewise.
22000 * sysdeps/mach/hurd/fchdir.c: Likewise.
22001 * sysdeps/mach/hurd/rename.c: Likewise.
22002 * sysdeps/mach/hurd/rmdir.c: Likewise.
22003 * sysdeps/mach/hurd/seekdir.c: Likewise.
22004 * sysdeps/mach/hurd/setsid.c: Likewise.
22005 * sysdeps/posix/wait3.c: Likewise.
22006
568035b7
JM
22007 * All files with FSF copyright notices: Update copyright dates
22008 using scripts/update-copyrights.
22009 * intl/plural.c: Regenerated.
22010 * locale/programs/charmap-kw.h: Likewise.
22011 * locale/programs/locfile-kw.h: Likewise.
22012
da08f647
SP
220132013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22014
0f5477af
SP
22015 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22016 four values.
22017
44e0d4c2
SP
22018 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22019 calculation loop and add branch prediction.
22020
4d55b4e5
SP
22021 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22022 check access beyond bounds of m1np.
22023
da08f647
SP
22024 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22025 MPTWO.
22026 (__inv): Remove local variable MPTWO to use the global
22027 constant.
22028 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22029 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22030 variable MPTWO.
22031 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22032 MP3HALFS static const.
22033
8e051029
DM
220342013-01-01 David S. Miller <davem@davemloft.net>
22035
22036 * po/ca.po: Update from translation team.
22037
f4cf5f2d
JM
220382013-01-01 Joseph Myers <joseph@codesourcery.com>
22039
22040 * scripts/update-copyrights: New file.
22041 * Makeconfig: Reformat copyright notice.
22042 * ctype/ctype.h: Likewise.
22043 * debug/swprintf_chk.c: Likewise.
22044 * elf/dl-cache.c: Likewise.
22045 * elf/dl-debug.c: Likewise.
22046 * elf/dl-object.c: Likewise.
22047 * grp/initgroups.c: Likewise.
22048 * hurd/Makefile: Likewise.
22049 * hurd/hurd/signal.h: Likewise.
22050 * hurd/hurdfault.c: Likewise.
22051 * hurd/hurdioctl.c: Likewise.
22052 * hurd/hurdlookup.c: Likewise.
22053 * hurd/intr-msg.c: Likewise.
22054 * iconv/gconv_open.c: Likewise.
22055 * libio/swprintf.c: Likewise.
22056 * locale/lc-ctype.c: Likewise.
22057 * locale/nl_langinfo.c: Likewise.
22058 * mach/Machrules: Likewise.
22059 * mach/Makefile: Likewise.
22060 * malloc/obstack.h: Likewise.
22061 * manual/Makefile: Likewise.
22062 * manual/tsort.awk: Likewise.
22063 * misc/bits/stab.def: Likewise.
22064 * nis/nis_print_group_entry.c: Likewise.
22065 * nis/nis_table.c: Likewise.
22066 * nis/nss_compat/compat-pwd.c: Likewise.
22067 * nis/nss_compat/compat-spwd.c: Likewise.
22068 * po/Makefile: Likewise.
22069 * posix/fnmatch.c: Likewise.
22070 * posix/regex.h: Likewise.
22071 * resolv/Makefile: Likewise.
22072 * resolv/nss_dns/dns-network.c: Likewise.
22073 * resolv/res_hconf.c: Likewise.
22074 * scripts/gen-sorted.awk: Likewise.
22075 * soft-fp/soft-fp.h: Likewise.
22076 * stdio-common/printf.h: Likewise.
22077 * stdlib/monetary.h: Likewise.
22078 * stdlib/random.c: Likewise.
22079 * stdlib/random_r.c: Likewise.
22080 * sysdeps/generic/Makefile: Likewise.
22081 * sysdeps/gnu/Makefile: Likewise.
22082 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22083 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22084 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22085 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22086 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22087 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22088 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22089 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22090 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22091 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22092 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22093 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22094 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22095 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22096 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22097 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22098 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22099 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22100 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22101 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22102 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22103 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22104 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22105 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22106 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22107 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22108 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22109 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22110 * sysdeps/mach/hurd/errnos.awk: Likewise.
22111 * sysdeps/mach/hurd/fork.c: Likewise.
22112 * sysdeps/mach/hurd/getcwd.c: Likewise.
22113 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22114 * sysdeps/mach/hurd/mmap.c: Likewise.
22115 * sysdeps/mach/hurd/utimes.c: Likewise.
22116 * sysdeps/mach/hurd/xmknod.c: Likewise.
22117 * sysdeps/posix/profil.c: Likewise.
22118 * sysdeps/posix/readdir_r.c: Likewise.
22119 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22120 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22121 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22122 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22123 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22124 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22125 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22126 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22127 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22128 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22129 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22130 * sysdeps/pthread/lio_listio.c: Likewise.
22131 * sysdeps/sparc/dl-procinfo.h: Likewise.
22132 * sysdeps/unix/i386/sysdep.S: Likewise.
22133 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22134 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22135 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22136 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22138 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22139 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22140 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22141 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22142 * sysdeps/wordsize-32/divdi3.c: Likewise.
22143 * time/sys/time.h: Likewise.
22144 * wcsmbs/Makefile: Likewise.
22145
0549fbba
DM
221462013-01-01 David S. Miller <davem@davemloft.net>
22147
a141f1a7
DM
22148 * po/fr.po: Update from translation team.
22149
0549fbba
DM
22150 * catgets/gencat.c: Update copyright year.
22151 * csu/version.c: Likewise.
22152 * debug/catchsegv.sh: Likewise.
22153 * debug/pcprofiledump.c: Likewise.
22154 * debug/xtrace.sh: Likewise.
22155 * elf/ldconfig.c: Likewise.
22156 * elf/ldd.bash.in: Likewise.
22157 * elf/pldd.c: Likewise.
22158 * elf/sotruss.ksh: Likewise.
22159 * elf/sprof.c: Likewise.
22160 * iconv/iconv_prog.c: Likewise.
22161 * iconv/iconvconfig.c: Likewise.
22162 * locale/programs/locale.c: Likewise.
22163 * locale/programs/localedef.c: Likewise.
22164 * login/programs/pt_chown.c: Likewise.
22165 * malloc/memusage.sh: Likewise.
22166 * malloc/memusagestat.c: Likewise.
22167 * malloc/mtrace.pl: Likewise.
22168 * nscd/nscd.c: Likewise.
22169 * nss/getent.c: Likewise.
22170 * nss/makedb.c: Likewise.
22171 * posix/getconf.c: Likewise.
22172
18ea052c
SP
221732012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22174
22175 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22176 numbers.
22177
9c89fca6
MF
221782012-12-30 Mike Frysinger <vapier@gentoo.org>
22179
22180 * math/bits/mathcalls.h (modf): Use __nonnull.
22181
085ec079
SP
221822012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22183
22184 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22185 (split): Use macro CN instead of the bare value.
22186 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22187 could be used.
22188 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22189 instead of the bare value.
22190 (power1): Likewise.
22191
6d9f97e1
SP
221922012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22193
d63f73be
SP
22194 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22195 __ATAN_TWOM.
22196 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22197
6d9f97e1
SP
22198 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22199 their values.
22200 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22201 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22202 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22203 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22204
4c4febf5
AJ
222052012-12-28 Andreas Jaeger <aj@suse.de>
22206
af5843ef
AJ
22207 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22208 values are from Linux 3.7.
22209
4c4febf5
AJ
22210 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22211 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22212
99136f82
SP
222132012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22214
2f216c3c 22215 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
22216 TRUE case.
22217
99136f82
SP
22218 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22219 (norm): Likewise.
22220 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22221 variables with preprocessor constants.
22222 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22223 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22224 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22225
7fffbdff
BH
222262012-12-27 Bruno Haible <bruno@clisp.org>
22227
22228 [BZ #14317]
22229 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22230 only if needed.
22231
b76eb5f0
SP
222322012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22233
31a7fe5c
SP
22234 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22235 and use variable directly.
22236 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22237
b76eb5f0
SP
22238 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22239 MPONE.
22240 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22241 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22242 variable MPONE.
22243 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22244 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22245 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22246 include directive. Remove local variable MPONE.
22247 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22248 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22249 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22250
2c8bfe7d
DM
222512012-12-25 David S. Miller <davem@davemloft.net>
22252
22253 * version.h (RELEASE): Set to "development".
22254 (VERSION): Set to "2.17.90".
22255 * NEWS: Add 2.18 section.
22256
147d03b0
DM
222572012-12-21 David S. Miller <davem@davemloft.net>
22258
22259 * po/hr.po: Update from translation team.
22260
a8ebb2b9
AK
222612012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22262
22263 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22264
95b4f1b6
SE
222652012-12-19 Steve Ellcey <sellcey@mips.com>
22266
b2d94007 22267 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 22268
cedb2a90
MS
222692012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22270
22271 * manual/contrib.texi (Contributors): Spelling correction.
22272
bbf527d6
DM
222732012-12-15 David S. Miller <davem@davemloft.net>
22274
22275 * po/ru.po: Update from translation team.
22276
bc38c906
DM
222772012-12-13 David S. Miller <davem@davemloft.net>
22278
85429b1a
DM
22279 * NEWS: Mention IFUNC testsuite enhancements.
22280
d283e353
DM
22281 * po/pl.po: Update from translation team.
22282 * po/bg.po: Likewise.
22283
bc38c906
DM
22284 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22285 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22286
a181b0d7
DM
222872012-12-11 David S. Miller <davem@davemloft.net>
22288
4641d57e
DM
22289 * po/sv.po: Update from translation team.
22290
f7bc6495
DM
22291 * po/vi.po: Update from translation team.
22292
6fc9048f
DM
22293 * po/cs.po: Update from translation team.
22294
a181b0d7
DM
22295 * po/de.po: Update from translation team.
22296 * po/eo.po: Likewise.
22297 * po/nl.po: Likewise.
22298
f70bfe80
SP
222992012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22300
3c8b4190
SP
22301 [BZ #14246]
22302 * manual/argp.texi (Argp Helper Functions): Move node to follow
22303 Argp Parsing State.
22304
f70bfe80
SP
22305 [BZ #14872]
22306 * manual/conf.texi (Limits on File System Capacity): Mention if
22307 terminating null is included in the max size.
22308
188f0adf
AJ
223092012-12-10 Andreas Jaeger <aj@suse.de>
22310
22311 * po/cs.po: Update from translation team.
22312
56e7d3ad
SP
223132012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22314
22315 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22316 void pointer and cast to uintptr_t.
22317 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22318 path.
22319 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22320 * sysdeps/s390/s390-64/memset.S: Likewise.
22321
76f2d2ea 223222012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
22323
22324 [BZ #14833]
22325 * menual/message.texi (Message Translation): Fix typos.
22326 (Helper programs for gettext): Likewise.
22327
67cbf9a2
AS
223282012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22329
22330 [BZ #14898]
22331 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22332 Change to -1.
22333
682d0e9a
DM
223342012-12-07 David S. Miller <davem@davemloft.net>
22335
22336 * po/libc.pot: Update.
22337
573cd484
RH
223382012-12-07 Richard Henderson <rth@redhat.com>
22339
7e9da188 22340 [BZ #10114]
573cd484
RH
22341 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22342 normal/normal case to before the switch.
22343 (_FP_DIV): Likewise.
22344
e933a943
MF
223452012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22346 Mike Frysinger <vapier@gentoo.org>
22347
22348 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22349 check for __NR_fadvise64_64.
22350
82123268
CM
223512012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22352
22353 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22354 0, not just to plain "0" as a statement.
22355 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22356 with cw.
22357
d9814526
JM
223582012-12-06 Joseph Myers <joseph@codesourcery.com>
22359
22360 * NEWS: Use sourceware.org in Bugzilla URL.
22361
7728c574
SP
223622012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22363
f16946dd
SP
22364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22365 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22366
5704bbcb
SP
22367 * stdio-common/tst-put-error.c (do_test): Add newline to the
22368 padded test to ensure flush.
22369
17aa0516
JL
223702012-12-05 Jeff Law <law@redhat.com>
22371
22372 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22373
363313b5
JM
223742012-12-05 Joseph Myers <joseph@codesourcery.com>
22375
effbd42a
JM
22376 * README: Don't refer to ports add-on as distributed separately.
22377 Mention AArch64 in list of systems supported in the ports add-on.
22378
87600365
JM
22379 * LICENSES: Add more non-FSF copyright and license notices.
22380
a0d7066a
JM
22381 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22382 ((unused)).
22383
66ca5a5b
JM
22384 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22385
363313b5
JM
22386 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22387 10000 as width of padded output.
22388
b37984ad
JM
223892012-12-04 Joseph Myers <joseph@codesourcery.com>
22390
9003570a
JM
22391 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22392
b37984ad
JM
22393 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22394 variable LX with __attribute__ ((unused)).
22395 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22396 Likewise.
22397 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22398 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22399 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22400 with __attribute__ ((unused)).
22401
c8df52ec
DM
224022012-12-04 David S. Miller <davem@abraco.davemloft.net>
22403
22404 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22405
b3b099af
JM
224062012-12-04 Joseph Myers <joseph@codesourcery.com>
22407
c33aa6e3
JM
22408 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22409 (CFLAGS-nldbl-acos.c): New variable.
22410 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22411 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22412 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22413 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22414 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22415 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22416 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22417 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22418 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22419 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22420 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22421 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22422 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22423 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22424 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22425 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22426 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22427 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22428 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22429 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22430 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22431 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22432 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22433 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22434 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22435 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22436 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22437 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22438 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22439 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22440 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22441 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22442 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22443 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22444 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22445 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22446 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22447 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22448 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22449 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22450 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22451 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22452 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22453 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22454 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22455 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22456 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22457 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22458 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22459 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22460 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22461 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22462 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22463 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22464 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22465 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22466 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22467 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22468 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22469 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22470 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22471 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22472 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22473 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22474 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22475 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22476 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22477 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22478 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22479 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22480 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22481 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22482 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22483 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22484 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22485 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22486 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22487 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22488 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22489 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22490 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22491 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22492 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22493 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22494 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22495 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22496 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22497 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22498 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22499 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22500 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22501 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22502 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22503 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22504 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22505 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22506 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22507
20f0018d
JM
22508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22509 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22510
b3b099af
JM
22511 [BZ #14914]
22512 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22513 whole low double instead of just low 47 bits when splitting values
22514 into two parts.
22515
029264d1
AM
225162012-12-03 Allan McRae <allan@archlinux.org>
22517
22518 * manual/stdio.texi (Predefined Printf Handlers): Remove
22519 @hsep and @vsep usage.
22520
c9d6789e
MF
225212012-12-03 Mike Frysinger <vapier@gentoo.org>
22522
22523 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22524 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22525
4b7634a5
JL
225262012-12-03 Jeff Law <law@redhat.com>
22527
22528 * time/sys/time.h (settimeofday): Do not mark TV argument
22529 as __nonnull.
22530
eb6cbd24
MF
225312012-12-01 Mike Frysinger <vapier@gentoo.org>
22532
22533 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22534 when currently writing and seek to current position when not.
22535 * libio/Makefile (tests): Remove bug-fclose1.
22536 * libio/bug-fclose1.c: Delete.
22537
f638872a
JM
225382012-12-01 Joseph Myers <joseph@codesourcery.com>
22539
22540 * manual/arith.texi (feenableexcept): Fix typo.
22541 (fedisableexcept): Likewise.
22542
48085d14
RM
225432012-11-30 Roland McGrath <roland@hack.frob.com>
22544
22545 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22546 second, differently-typed declaration, rather than a cast.
22547
1a538b9f
SP
225482012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22549
22550 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22551 * include/rpc/svc.h: ... here.
22552
d07f2ff1 225532012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
22554
22555 [BZ #13013]
22556 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22557 depending n and resplen2 to catch cases where answer
22558 equals answerp2.
22559
c93ec1f0
CD
225602012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22561
22562 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22563 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22564
37db69de
MF
225652012-11-29 Mike Frysinger <vapier@gentoo.org>
22566
22567 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22568
e10c4e4f
RM
225692012-11-29 Roland McGrath <roland@hack.frob.com>
22570
22571 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22572
2af1b328
JL
225732012-11-28 Jeff Law <law@redhat.com>
22574
22575 [BZ #13761]
22576 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22577 dataset_temporary. Track alloca usage into alloca_used.
22578 If dataset is large allocate and release it via malloc/free.
22579
111db5b1
FW
225802012-06-04 Florian Weimer <fweimer@redhat.com>
22581
f06cc227 22582 [BZ #14197]
111db5b1
FW
22583 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22584
dd694abd
DM
225852012-11-28 David S. Miller <davem@davemloft.net>
22586
22587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22588
9984dd01
JM
225892012-11-28 Joseph Myers <joseph@codesourcery.com>
22590
22591 [BZ #14803]
22592 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22593 of pi/2 rounded to nearest to 64 bits.
22594 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22595 nearest to 64 bits.
22596 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22597 bits.
22598
14bc93a9
JL
225992012-11-28 Jeff Law <law@redhat.com>
22600 Martin Osvald <mosvald@redhat.com>
22601
22602 [BZ #14889]
22603 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22604 * sunrpc/svc.c: Include time.h.
22605 (__svc_accept_failed): New function.
22606 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22607 any reason other than EINTR, call __svc_accept_failed.
22608 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22609 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22610
e3c6aa3a
AS
226112012-11-28 Andreas Schwab <schwab@suse.de>
22612
22613 * scripts/abilist.awk: Also handle indirect functions in .opd
22614 section.
22615
1bead169
JM
226162012-11-28 Joseph Myers <joseph@codesourcery.com>
22617
22618 [BZ #13881]
22619 * sysdeps/x86/fpu/powl_helper.c: New file.
22620 * sysdeps/x86/fpu/Makefile: Likewise.
22621 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22622 (p3): New object.
22623 (__ieee754_powl): Use __powl_helper for finite arguments except
22624 integer exponents below 8.
22625 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22626 (p3): New object.
22627 (__ieee754_powl): Use __powl_helper for finite arguments except
22628 integer exponents below 8.
22629 * math/libm-test.inc (pow_test): Add more tests and enable some
22630 previously disabled tests.
22631 * sysdeps/i386/fpu/libm-test-ulps: Update.
22632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22633
0817d63d
SP
226342012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22635 Carlos O'Donell <carlos_odonell@mentor.com>
22636
22637 * nss/makedb.c (is_prime): Assert that input is odd and greater
22638 than 4. Note that fact in a comment too.
22639 (next_prime): Add 4 to input.
22640
de2fd463
SP
226412012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22642
22643 [BZ #11741]
22644 * libio/Makefile (tests): Add test case tst-fwrite-error.
22645 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22646 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22647 * libio/tst-fwrite-error.c: New test case.
22648
c515fb51
L
226492012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22650
22651 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22652 before casting to void *.
22653 * include/libc-internal.h (__pointer_type): New macro.
22654 (__integer_if_pointer_type_sub): Likewise.
22655 (__integer_if_pointer_type): Likewise.
22656 (cast_to_integer): Likewise.
22657 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22658 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22659 before casting to atomic64_t.
22660 (atomic_exchange_acq): Likewise.
22661 (__arch_exchange_and_add_body): Likewise.
22662 (__arch_add_body): Likewise.
22663 (atomic_add_negative): Likewise.
22664 (atomic_add_zero): Likewise.
22665
4cf77aa9
JM
226662012-11-26 Joseph Myers <joseph@codesourcery.com>
22667
22668 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22669 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22670 (add_fdes): Likewise.
22671 (linear_search_fdes): Likewise.
22672 (binary_search_unencoded_fdes): Likewise.
22673
d260b3b4
AS
226742012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22675
22676 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22677
67060746
AC
226782012-11-24 Adam Conrad <adconrad@0c3.net>
22679
22680 * configure.in: Autodetect C++ header directories.
22681 * configure: Regenerated.
22682
800938a1
MF
226832012-11-23 Mike Frysinger <vapier@gentoo.org>
22684
22685 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22686
4e6e34e6
AS
226872012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22688
22689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22690
7c7feb47
JM
226912012-11-22 Joseph Myers <joseph@codesourcery.com>
22692
7184dcdf
JM
22693 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22694 LDBL_MANT_DIG == 106]: Disable some tests.
22695 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22696 Likewise.
22697 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22698 Likewise.
22699
0a42601f
JM
22700 [BZ #14871]
22701 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22702 input for small inputs. Return +/- pi/2 for large inputs.
22703 * math/libm-test.inc (atan_test): Add more tests.
22704
79c9b9fe
JM
22705 * sysdeps/generic/unwind-dw2-fde-glibc.c
22706 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22707 __attribute__ ((unused)).
22708
c60d3bf2
JM
22709 [BZ #14645]
22710 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22711 x * y if x and y are nonzero and z is zero.
22712
ef1e0867
JM
22713 [BZ #14811]
22714 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22715 nonzero exponents with absolute value below 0x1p-117 to +/-
22716 0x1p-117.
22717
1468ded3
JM
22718 [BZ #14869]
22719 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22720 up arguments below 2**-450, not just those below 2**-500.
22721 * math/libm-test.inc (hypot_test): Add another test.
22722
8e27e3cc
JM
22723 [BZ #14868]
22724 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22725 Return a+b for ratio over 2**120, not 2**60.
22726 * math/libm-test.inc (hypot_test): Add another test.
22727
c9c0279b
JM
22728 * math/libm-test.inc (clog_test): Use
22729 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22730 (clog10_test): Likewise.
22731
7c7feb47
JM
22732 [BZ #6778]
22733 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22734
fff1530e
AS
227352012-11-22 Andreas Schwab <schwab@suse.de>
22736
22737 * sysdeps/i386/fpu/libm-test-ulps: Update.
22738
94558d30
PT
227392012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22740
22741 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22742 printf output with newline.
22743
7e1be741
L
227442012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22745
6bfea974
L
22746 [BZ #14865]
22747 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22748 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22749 -z nodlopen, -z initfirst and -z execstack support.
22750 * configure: Regenerated.
22751
7e1be741
L
22752 * elf/elf.h (DF_1_NODIRECT): New macro.
22753 (DF_1_IGNMULDEF): Likewise.
22754 (DF_1_NOKSYMS): Likewise.
22755 (DF_1_NOHDR): Likewise.
22756 (DF_1_EDITED): Likewise.
22757 (DF_1_NORELOC): Likewise.
22758 (DF_1_SYMINTPOSE): Likewise.
22759 (DF_1_GLOBAUDIT): Likewise.
22760 (DF_1_SINGLETON): Likewise.
22761 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22762 DT_1_SUPPORTED_MASK bits.
22763 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22764
105ce2ce
CD
227652012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22766
22767 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22768
123be9de
TS
227692012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22770
d072f3f7
TS
22771 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22772 macro.
22773
123be9de
TS
22774 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22775 (sendmmsg): Move declarations...
22776 * socket/sys/socket.h: ... here.
22777 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22778 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22779 include it from...
22780 * socket/recvmmsg.c: ... this new file.
22781 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22782 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22783 definition of __sendmmsg hidden.
22784 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22785 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22786 Move ENOSYS stub into and include it from...
22787 * socket/sendmmsg.c: ... this new file.
22788 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22789 (sysdep_routines): Move recvmmsg and sendmmsg...
22790 * socket/Makefile (routines): ... here.
22791 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22792 (GLIBC_PRIVATE): Add __sendmmsg.
22793 * include/sys/socket.h (__sendmmsg): Add declarations.
22794 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22795 sendmmsg.
22796
cf9a5d18
JM
227972012-11-20 Joseph Myers <joseph@codesourcery.com>
22798
22799 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22800 variable I1 with __attribute__ ((unused)).
22801 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22802
ecd4caf9
JM
228032012-11-19 Joseph Myers <joseph@codesourcery.com>
22804
be14d48f
JM
22805 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22806 DUMMY variables with __attribute__ ((unused)).
22807
ecd4caf9
JM
22808 * bits/byteswap.h: Include <bits/types.h>.
22809 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22810
986cab95
PT
228112012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22812
22813 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22814 string_t. Do not manually set errno.
22815 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22816 length with __strnlen. Make sure to both set errno and return it on
22817 failure.
22818
6d33cc9d
DM
228192012-11-19 David S. Miller <davem@davemloft.net>
22820
22821 With help from Joseph Myers.
22822 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22823 very large arguments properly.
22824 * math/libm-test.inc (atan_test): New tests.
22825 (atan2_test): New tests.
22826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22828
ee663277
JM
228292012-11-19 Joseph Myers <joseph@codesourcery.com>
22830
877f2d8e
JM
22831 [BZ #14856]
22832 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22833 Define to 3.
22834
116fc08a
JM
22835 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22836 [POSIX] (EADDRNOTAVAIL): Likewise.
22837 [POSIX] (EAFNOSUPPORT): Likewise.
22838 [POSIX] (EALREADY): Likewise.
22839 [POSIX] (ECONNABORTED): Likewise.
22840 [POSIX] (ECONNREFUSED): Likewise.
22841 [POSIX] (ECONNRESET): Likewise.
22842 [POSIX] (EDESTADDRREQ): Likewise.
22843 [POSIX] (EDQUOT): Likewise.
22844 [POSIX] (EHOSTUNREACH): Likewise.
22845 [POSIX] (EIDRM): Likewise.
22846 [POSIX] (EISCONN): Likewise.
22847 [POSIX] (ELOOP): Likewise.
22848 [POSIX] (EMULTIHOP): Likewise.
22849 [POSIX] (ENETDOWN): Likewise.
22850 [POSIX] (ENETUNREACH): Likewise.
22851 [POSIX] (ENOBUFS): Likewise.
22852 [POSIX] (ENODATA): Likewise.
22853 [POSIX] (ENOLINK): Likewise.
22854 [POSIX] (ENOMSG): Likewise.
22855 [POSIX] (ENOPROTOOPT): Likewise.
22856 [POSIX] (ENOSR): Likewise.
22857 [POSIX] (ENOSTR): Likewise.
22858 [POSIX] (ENOTCONN): Likewise.
22859 [POSIX] (ENOTSOCK): Likewise.
22860 [POSIX] (EOPNOTSUPP): Likewise.
22861 [POSIX] (EOVERFLOW): Likewise.
22862 [POSIX] (EPROTO): Likewise.
22863 [POSIX] (EPROTONOSUPPORT): Likewise.
22864 [POSIX] (EPROTOTYPE): Likewise.
22865 [POSIX] (ESTALE): Likewise.
22866 [POSIX] (ETIME): Likewise.
22867 [POSIX] (ETXTBSY): Likewise.
22868 [POSIX] (EWOULDBLOCK): Likewise.
22869 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22870 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22871 [POSIX] (SEEK_CUR): Likewise.
22872 [POSIX] (SEEK_END): Likewise.
22873 [POSIX || UNIX98] (mode_t): Do not require.
22874 [POSIX] (off_t): Likewise.
22875 [POSIX] (pid_t): Likewise.
22876 [POSIX] (sys/stat.h): Do not allow header.
22877 [POSIX] (unistd.h): Likewise.
22878 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22879 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22880 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22881 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22882 require.
22883 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22884 sigevent): Specify elements.
22885 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22886 entry.
22887 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22888 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22889
a483863f
JM
22890 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22891 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22892 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22893 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22894 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22895 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22896 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22897 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22898 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22899 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22900 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22901 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22902 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22903 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22904 Likewise.
22905 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22906 Likewise.
22907 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22908 Likewise.
22909 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22910 Likewise.
22911 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22912 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22913 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22914 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22915 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22916 Specify lower bound on value.
22917 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22918 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22919 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22920 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22921 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22922 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22923 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22924 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22925 value.
22926 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22927 as optional.
22928 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22929 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22930 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22931 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22932 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22933 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22934 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22935 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22936 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22937 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22938 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22939 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22940 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22941 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22942 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22943 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22944 entry.
22945 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22946 optional.
22947 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22948 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22949 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22950 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22951 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22952 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22953 Likewise.
22954 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22955 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22956 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22957 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22958 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22959 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22960 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22961 as optional.
22962 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22963 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22964 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22965 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22966 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22967 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22968 specify as optional.
22969 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22970 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22971 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22972 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22973 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22974 [XPG3] (NL_LANGMAX): Likewise.
22975 [POSIX || XPG3] (NL_MSGMAX): Likewise.
22976 [POSIX || XPG3] (NL_NMAX): Likewise.
22977 [POSIX || XPG3] (NL_SETMAX): Likewise.
22978 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22979 [XPG3] (NZERO): Likewise.
22980 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22981 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22982 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22983 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22984 (REG_ERANGE): Expect.
22985 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22986 optional-constant.
22987 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22988 Use (void) in prototype.
22989 [POSIX] (*_t): Allow.
22990 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22991 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22992 (WRDE_BADVAL): Expect.
22993
5ba924e3
JM
22994 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22995 expect.
22996 [XPG3 || XPG4] (O_RSYNC): Likewise.
22997 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22998 Likewise.
22999 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23000 [XPG3 || XPG4] (sigqueue): Likewise.
23001 [XPG3 || XPG4] (sigtimedwait): Likewise.
23002 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23003 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23004 [XPG3 || XPG4] (vsnprintf): Likewise.
23005 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23006 Likewise.
23007 [XPG3 || XPG4] (blksize_t): Likewise.
23008 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23009 Likewise.
23010 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23011 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23012 [XPG3 || XPG4] (struct itimerspec): Likewise.
23013 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23014 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23015 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23016 [XPG3 || XPG4] (clockid_t): Likewise.
23017 [XPG3 || XPG4] (timer_t): Likewise.
23018 [XPG3 || XPG4] (clock_getres): Likewise.
23019 [XPG3 || XPG4] (clock_gettime): Likewise.
23020 [XPG3 || XPG4] (clock_settime): Likewise.
23021 [XPG3 || XPG4] (nanosleep): Likewise.
23022 [XPG3 || XPG4] (timer_create): Likewise.
23023 [XPG3 || XPG4] (timer_delete): Likewise.
23024 [XPG3 || XPG4] (timer_gettime): Likewise.
23025 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23026 [XPG3 || XPG4] (timer_settime): Likewise.
23027 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23028 [XPG3 || XPG4] (getlogin_r): Likewise.
23029 [XPG3 || XPG4] (pread): Likewise.
23030 [XPG3 || XPG4] (pthread_atfork): Likewise.
23031 [XPG3 || XPG4] (pwrite): Likewise.
23032
ee663277
JM
23033 [BZ #14835]
23034 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23035 <bits/siginfo.h>.
23036
942caa16
PT
230372012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23038
e19af380
PT
23039 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23040 finalizing MALLSTREAM.
23041
942caa16
PT
23042 * sysdeps/mach/hurd/syncfs.c: New file.
23043
cfde9b46
SP
230442012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23045
23046 [BZ #14719]
23047 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23048 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23049 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23050 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23051 (_nss_dns_gethostbyname4_r): Likewise.
23052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23053 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23054
f6da27e5
PH
230552012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23056
23057 [BZ #13763]
23058 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23059
6665d4a2
SM
230602012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23061
1f51ee92
SM
23062 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23063 * elf/cache.c (print_entry): Print ",AArch64" for
23064 FLAG_AARCH64_LIB64
23065
6665d4a2
SM
23066 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23067 * elf/cache.c (print_entry): Print ",hard-float" for
23068 FLAG_ARM_LIBHF.
23069
05b227bd
DM
230702012-11-18 David S. Miller <davem@davemloft.net>
23071
23072 With help from Joseph Myers.
23073 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23074 cutoff to 2**-13.
23075 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23076 cutoff to 2**-25.
23077 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23078 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23079 small.
23080 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23081 * math/libm-test.inc (y0_test): New tests.
23082 (y1_test): New tests.
23083 * sysdeps/i386/fpu/libm-test-ulps: Update.
23084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23086
786b0b67
AS
230872012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23088
23089 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23090 64-bit targets.
23091 * configure: Regenerated.
23092
8e18b86d
DM
230932012-11-17 David S. Miller <davem@davemloft.net>
23094
23095 [BZ #14811]
23096 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23097 nonzero exponents with absolute value below 0x1p-128 to +/-
23098 0x1p-128.
23099
531f1ae0
JM
231002012-11-17 Joseph Myers <joseph@codesourcery.com>
23101
12df29e2
JM
23102 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23103
150dc1a0
JM
23104 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23105
531f1ae0
JM
23106 * posix/getconf-speclist.c: New file.
23107 * posix/posix-envs.def: Likewise.
23108 * posix/confstr.c (START_ENV_GROUP): New macro.
23109 (END_ENV_GROUP): Likewise.
23110 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23111 (KNOWN_PRESENT_ENV_STRING): Likewise.
23112 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23113 (UNKNOWN_ENVIRONMENT): Likewise.
23114 (confstr): Include posix-envs.def instead of handling
23115 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23116 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23117 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23118 (END_ENV_GROUP): Likewise.
23119 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23120 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23121 (UNKNOWN_ENVIRONMENT): Likewise.
23122 (__sysconf): Include posix-envs.def instead of handling associated
23123 cases directly here.
23124 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23125 preprocessing getconf-speclist.c rather than running getconf or
23126 generating empty file.
23127
a93f9cbc
PT
231282012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23129
23130 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23131
d64d9f87
AL
231322012-11-16 Andrej Lajovic <natrij@gmail.com>
23133
23134 [BZ #14672]
23135 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23136
447885eb
DM
231372012-11-16 David S. Miller <davem@davemloft.net>
23138
23139 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23140 smaller than LDBL_EPSILON/2.0L, just return xm1.
23141
bcbf9830
L
231422012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23143
23144 * elf/tst-array1.c (init): Set constructor priority to 1000.
23145 (fini): Set destructor priority to 1000.
23146 * elf/tst-array2dep.c: Likewise.
23147
2b766585
SP
231482012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23149
23150 [BZ #11741]
23151 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23152 (_IO_new_file_xsputn): Also return EOF if none of the input
23153 data was written when overflow failed.
23154 * libio/iopadn.c (_IO_padn): Likewise.
23155 * libio/iowpadn.c (_IO_wpadn): Likewise.
23156 * stdio-common/tst-put-error.c: Add copyright notice.
23157 (do_test): Add case for printing padded string.
23158 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23159 _IO_padn returned error.
23160 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23161 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23162 return EOF.
23163
b1848fde
SP
231642012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23165
23166 * libio/libioP.h: Add comment note that the references to C++
23167 bits are now obsolete.
23168
2fd89785
MS
231692012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23170
23171 * math/libm-test.inc (check_complex): Use asprintf.
23172
e3ea5409
JM
231732012-11-14 Joseph Myers <joseph@codesourcery.com>
23174
23175 * debug/pcprofiledump.c (print_version): Update copyright year.
23176 * malloc/memusagestat.c (print_version): Likewise.
23177
2e64d265
L
231782012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23179
23180 [BZ #14831]
23181 * elf/Makefile (tests): Add tst-audit8.
23182 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23183 ($(objpfx)tst-audit8.out): New target.
23184 (tst-audit8-ENV): New variable.
23185 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23186 audit if l_reloc_result is NULL.
23187 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23188 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23189 * elf/tst-audit8.c: New file.
23190
c485e4d2
MS
231912012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23192
23193 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23194 * misc/Makefile (CFLAGS-select.c): Define.
23195 * posix/Makefile (CFLAGS-pause.c): Define.
23196
3a0d900a
DM
231972012-11-13 David S. Miller <davem@davemloft.net>
23198
23199 * crypt/Makefile: Move test targets after toplevel Rules
23200 inclusion. Grab any necessary sysdep routines when linking.
23201 * crypt/md5.c (md5_process_block): Remove define, we will always
23202 name it __md5_process_block.
23203 (md5_finish_ctx): Update md5_process_block call.
23204 (md5_stream): Likewise.
23205 (md5_process_bytes): Likewise.
23206 (md5_process_block): Rename to __md5_process_block and move to ...
23207 * crypt/md5-block.c: ... here.
23208 * crypt/sha256.c (sha256_process_block): Move to ...
23209 * crypt/sha256-block.c: ... here.
23210 * crypt/sha512.c (sha512_process_block): Move to ...
23211 * crypt/sha512-block.c: ... here.
23212 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23213 path.
23214 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23215 * sysdeps/sparc/sparc64/multiarch/Makefile
23216 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23217 crypt subdir.
23218 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23219 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23220 multiarch changes.
23221 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23222 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23223 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23224 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23225 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23226 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23227 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23228 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23229 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23230 file.
23231 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23232 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23233 file.
23234 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23235
8ca89318
JM
232362012-11-13 Joseph Myers <joseph@codesourcery.com>
23237
e27d476a
JM
23238 * timezone/tzselect.ksh: Update from tzcode git revision
23239 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23240 * timezone/zdump.c: Likewise.
23241 * timezone/zic.c: Likewise.
23242 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23243 in TZVERSION setting, not $(PKGVERSION).
23244 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23245 REPORT_BUGS_TO settings.
23246
8ca89318
JM
23247 [BZ #14838]
23248 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23249 macro.
23250
47594329
MS
232512012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23252
23253 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23254 detection to immediately after _FP_ROUND().
23255 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23256 bits are 0.
23257
640ac3f1
DM
232582012-11-11 David S. Miller <davem@davemloft.net>
23259
23260 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23261 inttypes.h
23262 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23263 __close rather than their public counterparts.
23264
3d2577bb
JM
232652012-11-10 Joseph Myers <joseph@codesourcery.com>
23266
23267 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23268 file.
23269 [UNIX98] (sem_timedwait): Do not expect.
23270 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23271 [XPG4 || UNIX98] (sockatmark): Do not expect.
23272 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23273 (clock_getcpuclockid): Do not expect.
23274 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23275 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23276 Do not expect.
23277 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23278 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23279 [UNIX98] (vwscanf): Likewise.
23280 [UNIX98] (vswscanf): Likewise.
23281
fb1ae1ee
JM
232822012-11-09 Joseph Myers <joseph@codesourcery.com>
23283
9ec6f8bd
JM
23284 * timezone/version.h: Remove file.
23285 * timezone/README: Do not refer to version.h.
23286 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23287 $(objpfx)version.h.
23288 ($(objpfx)zdump.o): Likewise.
c3f81911 23289 ($(objpfx)version.h): New target.
9ec6f8bd 23290
0aa8f8a1
JM
23291 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23292 2012i.
23293 * timezone/README: Don't mention modification to tzselect.ksh.
23294 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23295 work on unmodified tzselect.ksh. Substitute version numbers in
23296 tzselect.ksh.
23297
4e87147f
JM
23298 * Makefile (format-me): Remove.
23299 (INSTALL): Adjust indentation. Use commands directly instead of
23300 using $(format-me).
23301
8b748aed
JM
23302 * aclocal.m4 (ACX_PKGVERSION): New macro.
23303 (ACX_BUGURL): Likewise.
23304 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23305 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23306 (REPORT_BUGS_TO): Likewise.
23307 * configure: Regenerated.
23308 * config.h.in (PKGVERSION): New macro.
23309 (REPORT_BUGS_TO): Likewise.
23310 * config.make.in (PKGVERSION): New variable.
23311 (PKGVERSION_TEXI): Likewise.
23312 (REPORT_BUGS_TO): Likewise.
23313 (REPORT_BUGS_TEXI): Likewise.
23314 * Makefile (format-me): Use -I$(common-objpfx)manual.
23315 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23316 ($(common-objpfx)manual/%): New target.
23317 (manual/%): Remove target.
23318 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23319 (print_version): Use PKGVERSION.
23320 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23321 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23322 and REPORT_BUGS_TO.
23323 ($(objpfx)xtrace): Likewise.
23324 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23325 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23326 (print_version): Use PKGVERSION.
23327 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23328 (do_version): Use PKGVERSION.
23329 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23330 REPORT_BUGS_TO.
23331 (common-ldd-rewrite): Likewise.
23332 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23333 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23334 (print_version): Use PKGVERSION.
23335 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23336 * elf/pldd.c (argp_program_bug_address): Remove variable.
23337 (more_help): New function.
23338 (argp): Use more_help.
23339 (print_version): Use PKGVERSION.
23340 * elf/sln.c (main): Use PKGVERSION.
23341 (usage): Use REPORT_BUGS_TO.
23342 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23343 (top level): Use PKGVERSION.
23344 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23345 (print_version): Use PKGVERSION.
23346 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23347 (print_version): Use PKGVERSION.
23348 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23349 (print_version): Use PKGVERSION.
23350 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23351 (print_version): Use PKGVERSION.
23352 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23353 (print_version): Use PKGVERSION.
23354 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23355 (print_version): Use PKGVERSION.
23356 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23357 and BUGURL.
23358 ($(objpfx)memusage): Likewise.
23359 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23360 (do_version): Use PKGVERSION.
23361 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23362 (print_version): Use PKGVERSION.
23363 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23364 ($PKGVERSION): New variable.
23365 ($REPORT_BUGS_TO): Likewise.
23366 (usage): Use $REPORT_BUGS_TO.
23367 (top level): Use $PKGVERSION.
23368 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23369 ($(objpfx)pkgvers.texi): New rule.
23370 ($(objpfx)stamp-pkgvers): Likewise.
23371 * manual/install.texi: Include pkgvers.texi.
23372 (--with-pkgversion): Document new configure option.
23373 (--with-bugurl): Likewise.
23374 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23375 than necessarily for this particular distribution. Use
23376 REPORT_BUGS_TO for where to report bugs.
23377 * INSTALL: Regenerated.
23378 * manual/libc.texinfo: Include pkgvers.texi.
23379 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23380 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23381 (print_version): Use PKGVERSION.
23382 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23383 (print_version): Use PKGVERSION.
23384 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23385 (print_version): Use PKGVERSION.
23386 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23387 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23388 macro.
23389 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23390 (print_version): Use PKGVERSION.
23391 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23392 (print_version): Use PKGVERSION.
23393 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23394 and PKGVERSION.
23395
92e4b6a9
JM
23396 * timezone/checktab.awk: Update from tzcode 2012i.
23397 * timezone/ialloc.c: Likewise.
23398 * timezone/private.h: Likewise.
23399 * timezone/scheck.c: Likewise.
23400 * timezone/tzfile.h: Likewise.
23401 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23402 (TZVERSION): Hardcode tzcode version number.
23403 * timezone/zdump.c: Update from tzcode 2012i.
23404 * timezone/zic.c: Likewise.
23405 * timezone/version.h: New file.
23406 * timezone/README: Describe version.h. Update upstream location.
23407
9bde902c
JM
23408 [BZ #14824]
23409 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23410 (mktemp): Enable declaration.
23411 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23412 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23413 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23414 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23415 Likewise.
23416 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23417 Likewise.
23418 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23419 Likewise.
23420 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23421 Likewise.
23422 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23423 Likewise.
23424 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23425 Likewise.
23426
fb1ae1ee
JM
23427 [BZ #14821]
23428 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23429 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23430 for copies of such integer values.
23431 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23432 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23433
2c1adbcb
AJ
234342012-11-09 Andreas Jaeger <aj@suse.de>
23435
23436 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23437 definitions and declarations that are provided by
23438 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23439
d0f8457e
AK
234402012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23441
3a235abb 23442 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
23443 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23444 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23445 definition.
23446
57241e26
MS
234472012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23448
23449 * elf/elf.h: Update comment before AArch64 relocations.
23450
60e8270d
DM
234512012-11-07 David S. Miller <davem@davemloft.net>
23452
23453 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23454 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23455 (__start_context): Declare.
23456 (__makecontext_ret): Delete.
23457 (__makecontext): Hook up __start_context instead of
23458 __makecontext_ret.
23459 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23460 (sysdep_routines): Add __start_context when in stdlib.
23461
0fbb0fbc
JM
234622012-11-07 Joseph Myers <joseph@codesourcery.com>
23463
23464 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23465 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23466 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23467 hardcoded "nm".
23468 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23469 (READELF): New variable. Use it instead of hardcoded "readelf".
23470
eb48db7e
L
234712012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23472
23473 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23474 * sysdeps/x86/Makefile: Here.
23475 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23476 * sysdeps/x86/tst-xmmymm.sh: This.
23477
05bcf62a
JM
234782012-11-07 Joseph Myers <joseph@codesourcery.com>
23479
c4b6cf53
JM
23480 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23481 expectations.
23482 [UNIX98] (pthread_barrier_t): Do not expect.
23483 [UNIX98] (pthread_barrierattr_t): Likewise.
23484 [UNIX98] (pthread_spinlock_t): Likewise.
23485 [UNIX98] (pthread_barrier_destroy): Likewise.
23486 [UNIX98] (pthread_barrier_init): Likewise.
23487 [UNIX98] (pthread_barrier_wait): Likewise.
23488 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23489 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23490 [UNIX98] (pthread_barrierattr_init): Likewise.
23491 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23492 [UNIX98] (pthread_getcpuclockid): Likewise.
23493 [UNIX98] (pthread_mutex_timedlock): Likewise.
23494 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23495 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23496 [UNIX98] (pthread_sigmask): Likewise.
23497 [UNIX98] (pthread_spin_destroy): Likewise.
23498 [UNIX98] (pthread_spin_init): Likewise.
23499 [UNIX98] (pthread_spin_lock): Likewise.
23500 [UNIX98] (pthread_spin_trylock): Likewise.
23501 [UNIX98] (pthread_spin_unlock): Likewise.
23502 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23503 Do not expect.
23504 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23505 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23506 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23507 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23508 [XPG3 || XPG4] (pthread_key_t): Likewise.
23509 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23510 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23511 [XPG3 || XPG4] (pthread_once_t): Likewise.
23512 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23513 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23514 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23515 [XPG3 || XPG4] (pthread_t): Likewise.
23516
cbe6e120
JM
23517 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23518 not expect.
23519 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23520
1b126443
JM
23521 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23522 Change function return type to int.
23523
b961a573
JM
23524 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23525 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23526 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23527 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23528 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23529 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23530 [!POSIX] (posix_madvise): Likewise.
23531 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23532 && !UNIX98].
23533 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23534 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23535 (mode_t): Likewise.
23536 (posix_mem_offset): Likewise.
23537 (posix_typed_mem_get_info): Likewise.
23538 (posix_typed_mem_open): Likewise.
23539
9e188909
JM
23540 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23541 Change condition to [XOPEN2K8].
23542
05bcf62a
JM
23543 * conform/conformtest.pl: Preprocess allow-header data with -x c
23544 instead of from stdin.
23545 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23546 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23547 [C99-based standards] (cerfc): Likewise.
23548 [C99-based standards] (cexp2): Likewise.
23549 [C99-based standards] (cexpm1): Likewise.
23550 [C99-based standards] (clog10): Likewise.
23551 [C99-based standards] (clog1p): Likewise.
23552 [C99-based standards] (clog2): Likewise.
23553 [C99-based standards] (clgamma): Likewise.
23554 [C99-based standards] (ctgamma): Likewise.
23555 [C99-based standards] (cerff): Likewise.
23556 [C99-based standards] (cerfcf): Likewise.
23557 [C99-based standards] (cexp2f): Likewise.
23558 [C99-based standards] (cexpm1f): Likewise.
23559 [C99-based standards] (clog10f): Likewise.
23560 [C99-based standards] (clog1pf): Likewise.
23561 [C99-based standards] (clog2f): Likewise.
23562 [C99-based standards] (clgammaf): Likewise.
23563 [C99-based standards] (ctgammaf): Likewise.
23564 [C99-based standards] (cerfl): Likewise.
23565 [C99-based standards] (cerfcl): Likewise.
23566 [C99-based standards] (cexp2l): Likewise.
23567 [C99-based standards] (cexpm1l): Likewise.
23568 [C99-based standards] (clog10l): Likewise.
23569 [C99-based standards] (clog1pl): Likewise.
23570 [C99-based standards] (clog2l): Likewise.
23571 [C99-based standards] (clgammal): Likewise.
23572 [C99-based standards] (ctgammal): Likewise.
23573 * conform/data/inttypes.h-data [C99-based standards]: Include
23574 stdint.h-data. Remove all expectations for stdint.h contents.
23575 [C99-based standards] (PRI*): Do not allow.
23576 [C99-based standards] (SCN*): Likewise.
23577 [C99-based standards] (*_t): Likewise.
23578 [C99-based-standards] (PRId8): Expect macro.
23579 [C99-based-standards] (PRIi8): Likewise.
23580 [C99-based-standards] (PRIo8): Likewise.
23581 [C99-based-standards] (PRIu8): Likewise.
23582 [C99-based-standards] (PRIx8): Likewise.
23583 [C99-based-standards] (PRIX8): Likewise.
23584 [C99-based-standards] (SCNd8): Likewise.
23585 [C99-based-standards] (SCNi8): Likewise.
23586 [C99-based-standards] (SCNo8): Likewise.
23587 [C99-based-standards] (SCNu8): Likewise.
23588 [C99-based-standards] (SCNx8): Likewise.
23589 [C99-based-standards] (PRIdLEAST8): Likewise.
23590 [C99-based-standards] (PRIiLEAST8): Likewise.
23591 [C99-based-standards] (PRIoLEAST8): Likewise.
23592 [C99-based-standards] (PRIuLEAST8): Likewise.
23593 [C99-based-standards] (PRIxLEAST8): Likewise.
23594 [C99-based-standards] (PRIXLEAST8): Likewise.
23595 [C99-based-standards] (SCNdLEAST8): Likewise.
23596 [C99-based-standards] (SCNiLEAST8): Likewise.
23597 [C99-based-standards] (SCNoLEAST8): Likewise.
23598 [C99-based-standards] (SCNuLEAST8): Likewise.
23599 [C99-based-standards] (SCNxLEAST8): Likewise.
23600 [C99-based-standards] (PRIdFAST8): Likewise.
23601 [C99-based-standards] (PRIiFAST8): Likewise.
23602 [C99-based-standards] (PRIoFAST8): Likewise.
23603 [C99-based-standards] (PRIuFAST8): Likewise.
23604 [C99-based-standards] (PRIxFAST8): Likewise.
23605 [C99-based-standards] (PRIXFAST8): Likewise.
23606 [C99-based-standards] (SCNdFAST8): Likewise.
23607 [C99-based-standards] (SCNiFAST8): Likewise.
23608 [C99-based-standards] (SCNoFAST8): Likewise.
23609 [C99-based-standards] (SCNuFAST8): Likewise.
23610 [C99-based-standards] (SCNxFAST8): Likewise.
23611 [C99-based-standards] (PRId16): Likewise.
23612 [C99-based-standards] (PRIi16): Likewise.
23613 [C99-based-standards] (PRIo16): Likewise.
23614 [C99-based-standards] (PRIu16): Likewise.
23615 [C99-based-standards] (PRIx16): Likewise.
23616 [C99-based-standards] (PRIX16): Likewise.
23617 [C99-based-standards] (SCNd16): Likewise.
23618 [C99-based-standards] (SCNi16): Likewise.
23619 [C99-based-standards] (SCNo16): Likewise.
23620 [C99-based-standards] (SCNu16): Likewise.
23621 [C99-based-standards] (SCNx16): Likewise.
23622 [C99-based-standards] (PRIdLEAST16): Likewise.
23623 [C99-based-standards] (PRIiLEAST16): Likewise.
23624 [C99-based-standards] (PRIoLEAST16): Likewise.
23625 [C99-based-standards] (PRIuLEAST16): Likewise.
23626 [C99-based-standards] (PRIxLEAST16): Likewise.
23627 [C99-based-standards] (PRIXLEAST16): Likewise.
23628 [C99-based-standards] (SCNdLEAST16): Likewise.
23629 [C99-based-standards] (SCNiLEAST16): Likewise.
23630 [C99-based-standards] (SCNoLEAST16): Likewise.
23631 [C99-based-standards] (SCNuLEAST16): Likewise.
23632 [C99-based-standards] (SCNxLEAST16): Likewise.
23633 [C99-based-standards] (PRIdFAST16): Likewise.
23634 [C99-based-standards] (PRIiFAST16): Likewise.
23635 [C99-based-standards] (PRIoFAST16): Likewise.
23636 [C99-based-standards] (PRIuFAST16): Likewise.
23637 [C99-based-standards] (PRIxFAST16): Likewise.
23638 [C99-based-standards] (PRIXFAST16): Likewise.
23639 [C99-based-standards] (SCNdFAST16): Likewise.
23640 [C99-based-standards] (SCNiFAST16): Likewise.
23641 [C99-based-standards] (SCNoFAST16): Likewise.
23642 [C99-based-standards] (SCNuFAST16): Likewise.
23643 [C99-based-standards] (SCNxFAST16): Likewise.
23644 [C99-based-standards] (PRId32): Likewise.
23645 [C99-based-standards] (PRIi32): Likewise.
23646 [C99-based-standards] (PRIo32): Likewise.
23647 [C99-based-standards] (PRIu32): Likewise.
23648 [C99-based-standards] (PRIx32): Likewise.
23649 [C99-based-standards] (PRIX32): Likewise.
23650 [C99-based-standards] (SCNd32): Likewise.
23651 [C99-based-standards] (SCNi32): Likewise.
23652 [C99-based-standards] (SCNo32): Likewise.
23653 [C99-based-standards] (SCNu32): Likewise.
23654 [C99-based-standards] (SCNx32): Likewise.
23655 [C99-based-standards] (PRIdLEAST32): Likewise.
23656 [C99-based-standards] (PRIiLEAST32): Likewise.
23657 [C99-based-standards] (PRIoLEAST32): Likewise.
23658 [C99-based-standards] (PRIuLEAST32): Likewise.
23659 [C99-based-standards] (PRIxLEAST32): Likewise.
23660 [C99-based-standards] (PRIXLEAST32): Likewise.
23661 [C99-based-standards] (SCNdLEAST32): Likewise.
23662 [C99-based-standards] (SCNiLEAST32): Likewise.
23663 [C99-based-standards] (SCNoLEAST32): Likewise.
23664 [C99-based-standards] (SCNuLEAST32): Likewise.
23665 [C99-based-standards] (SCNxLEAST32): Likewise.
23666 [C99-based-standards] (PRIdFAST32): Likewise.
23667 [C99-based-standards] (PRIiFAST32): Likewise.
23668 [C99-based-standards] (PRIoFAST32): Likewise.
23669 [C99-based-standards] (PRIuFAST32): Likewise.
23670 [C99-based-standards] (PRIxFAST32): Likewise.
23671 [C99-based-standards] (PRIXFAST32): Likewise.
23672 [C99-based-standards] (SCNdFAST32): Likewise.
23673 [C99-based-standards] (SCNiFAST32): Likewise.
23674 [C99-based-standards] (SCNoFAST32): Likewise.
23675 [C99-based-standards] (SCNuFAST32): Likewise.
23676 [C99-based-standards] (SCNxFAST32): Likewise.
23677 [C99-based-standards] (PRId64): Likewise.
23678 [C99-based-standards] (PRIi64): Likewise.
23679 [C99-based-standards] (PRIo64): Likewise.
23680 [C99-based-standards] (PRIu64): Likewise.
23681 [C99-based-standards] (PRIx64): Likewise.
23682 [C99-based-standards] (PRIX64): Likewise.
23683 [C99-based-standards] (SCNd64): Likewise.
23684 [C99-based-standards] (SCNi64): Likewise.
23685 [C99-based-standards] (SCNo64): Likewise.
23686 [C99-based-standards] (SCNu64): Likewise.
23687 [C99-based-standards] (SCNx64): Likewise.
23688 [C99-based-standards] (PRIdLEAST64): Likewise.
23689 [C99-based-standards] (PRIiLEAST64): Likewise.
23690 [C99-based-standards] (PRIoLEAST64): Likewise.
23691 [C99-based-standards] (PRIuLEAST64): Likewise.
23692 [C99-based-standards] (PRIxLEAST64): Likewise.
23693 [C99-based-standards] (PRIXLEAST64): Likewise.
23694 [C99-based-standards] (SCNdLEAST64): Likewise.
23695 [C99-based-standards] (SCNiLEAST64): Likewise.
23696 [C99-based-standards] (SCNoLEAST64): Likewise.
23697 [C99-based-standards] (SCNuLEAST64): Likewise.
23698 [C99-based-standards] (SCNxLEAST64): Likewise.
23699 [C99-based-standards] (PRIdFAST64): Likewise.
23700 [C99-based-standards] (PRIiFAST64): Likewise.
23701 [C99-based-standards] (PRIoFAST64): Likewise.
23702 [C99-based-standards] (PRIuFAST64): Likewise.
23703 [C99-based-standards] (PRIxFAST64): Likewise.
23704 [C99-based-standards] (PRIXFAST64): Likewise.
23705 [C99-based-standards] (SCNdFAST64): Likewise.
23706 [C99-based-standards] (SCNiFAST64): Likewise.
23707 [C99-based-standards] (SCNoFAST64): Likewise.
23708 [C99-based-standards] (SCNuFAST64): Likewise.
23709 [C99-based-standards] (SCNxFAST64): Likewise.
23710 [C99-based-standards] (PRIdMAX): Likewise.
23711 [C99-based-standards] (PRIiMAX): Likewise.
23712 [C99-based-standards] (PRIoMAX): Likewise.
23713 [C99-based-standards] (PRIuMAX): Likewise.
23714 [C99-based-standards] (PRIxMAX): Likewise.
23715 [C99-based-standards] (PRIXMAX): Likewise.
23716 [C99-based-standards] (SCNdMAX): Likewise.
23717 [C99-based-standards] (SCNiMAX): Likewise.
23718 [C99-based-standards] (SCNoMAX): Likewise.
23719 [C99-based-standards] (SCNuMAX): Likewise.
23720 [C99-based-standards] (SCNxMAX): Likewise.
23721 [C99-based-standards] (PRIdPTR): Likewise.
23722 [C99-based-standards] (PRIiPTR): Likewise.
23723 [C99-based-standards] (PRIoPTR): Likewise.
23724 [C99-based-standards] (PRIuPTR): Likewise.
23725 [C99-based-standards] (PRIxPTR): Likewise.
23726 [C99-based-standards] (PRIXPTR): Likewise.
23727 [C99-based-standards] (SCNdPTR): Likewise.
23728 [C99-based-standards] (SCNiPTR): Likewise.
23729 [C99-based-standards] (SCNoPTR): Likewise.
23730 [C99-based-standards] (SCNuPTR): Likewise.
23731 [C99-based-standards] (SCNxPTR): Likewise.
23732 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23733 allow.
23734 * conform/data/stdint.h-data: Update comments to clarify
23735 requirements.
23736 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23737 type.
23738 [C99-based standards] (INT8_MAX): Likewise.
23739 [C99-based standards] (INT16_MIN): Likewise.
23740 [C99-based standards] (INT16_MAX): Likewise.
23741 [C99-based standards] (INT32_MIN): Likewise.
23742 [C99-based standards] (INT32_MAX): Likewise.
23743 [C99-based standards] (INT64_MIN): Likewise.
23744 [C99-based standards] (INT64_MAX): Likewise.
23745 [C99-based standards] (UINT8_MAX): Likewise.
23746 [C99-based standards] (UINT16_MAX): Likewise.
23747 [C99-based standards] (UINT32_MAX): Likewise.
23748 [C99-based standards] (UINT64_MAX): Likewise.
23749 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23750 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23751 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23752 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23753 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23754 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23755 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23756 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23757 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23758 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23759 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23760 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23761 [C99-based standards] (INT_FAST8_MIN): Likewise.
23762 [C99-based standards] (INT_FAST8_MAX): Likewise.
23763 [C99-based standards] (INT_FAST16_MIN): Likewise.
23764 [C99-based standards] (INT_FAST16_MAX): Likewise.
23765 [C99-based standards] (INT_FAST32_MIN): Likewise.
23766 [C99-based standards] (INT_FAST32_MAX): Likewise.
23767 [C99-based standards] (INT_FAST64_MIN): Likewise.
23768 [C99-based standards] (INT_FAST64_MAX): Likewise.
23769 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23770 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23771 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23772 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23773 [C99-based standards] (INTPTR_MIN): Likewise.
23774 [C99-based standards] (INTPTR_MAX): Likewise.
23775 [C99-based standards] (UINTPTR_MAX): Likewise.
23776 [C99-based standards] (INTMAX_MIN): Likewise.
23777 [C99-based standards] (INTMAX_MAX): Likewise.
23778 [C99-based standards] (UINTMAX_MAX): Likewise.
23779 [C99-based standards] (PTRDIFF_MIN): Likewise.
23780 [C99-based standards] (PTRDIFF_MAX): Likewise.
23781 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23782 [C99-based standards] (SIZE_MAX): Likewise.
23783 [C99-based standards] (WCHAR_MAX): Likewise.
23784 [C99-based standards] (WINT_MAX): Likewise.
23785 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23786 constraint on value.
23787 [C99-based standards] (WCHAR_MIN): Likewise.
23788 [C99-based standards] (WINT_MIN): Likewise.
23789 [C99-based standards] (*_t): Allow.
23790 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23791 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23792 Include math.h-data and complex.h-data. Remove all expectations
23793 of math.h and complex.h contents.
23794 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23795 at end of line.
23796 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23797 (struct tm): Expect tag.
23798 [C99-based-standards] (wcstof): Expect function.
23799 [C99-based-standards] (wcstold): Likewise.
23800 [C99-based-standards] (wcstoll): Likewise.
23801 [C99-based-standards] (wcstoull): Likewise.
23802 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23803 macro-int-constant. Specify type.
23804 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23805 constraint on value.
23806 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23807 Specify type.
23808 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23809 Specify value.
23810 [ISO C standards]: Do not allow headers.
23811 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23812 wcs[abcdefghijklmnopqrstuvwxyz]*.
23813 [ISO C standards] (*_t): Do not allow.
23814 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23815 Expect function.
23816 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23817 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23818 Specify type.
23819 [ISO C standards]: Do not allow headers.
23820 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23821 is[abcdefghijklmnopqrstuvwxyz]*.
23822 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23823 to[abcdefghijklmnopqrstuvwxyz]*.
23824 [ISO C standards] (*_t): Do not allow.
23825 * conform/data/stdalign.h-data: New file.
23826 * conform/data/stdbool.h-data: Likewise.
23827 * conform/data/stdnoreturn.h-data: Likewise.
23828
7514feb8
RM
238292012-11-07 Roland McGrath <roland@hack.frob.com>
23830
23831 [BZ #14815]
23832 * manual/filesys.texi (Directory Entries): Typo fix.
23833 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23834
19b2ecfc
MS
238352012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23836
23837 * elf/elf.h (EM_AARCH64): New macro.
23838 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23839 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23840 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23841 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23842 (R_AARCH64_TLSDESC): Likewise.
23843 (NT_ARM_TLS): Likewise.
23844 (NT_ARM_HW_BREAK): Likewise.
23845 (NT_ARM_HW_WATCH): Likewise.
23846
60e235ee
JM
238472012-11-07 Joseph Myers <joseph@codesourcery.com>
23848
23849 [BZ #14811]
23850 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23851 (__ieee754_powl): Saturate nonzero exponents with absolute value
23852 below 0x1p-79 to +/- 0x1p-79.
23853 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23854 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23855 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23856 nonzero exponents with absolute value below 0x1p-32 to +/-
23857 0x1p-32.
23858 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23859 (__ieee754_powl): Saturate nonzero exponents with absolute value
23860 below 0x1p-79 to +/- 0x1p-79.
23861 * math/libm-test.inc (pow_test): Add more tests.
23862
0ab234b7
AK
238632012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23864
23865 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23866 _dl_s390_cap_flags with kernel. Increase string length.
23867 (_dl_s390_platforms): Add z196 and zEC12.
23868
45832f74
JM
238692012-11-07 Joseph Myers <joseph@codesourcery.com>
23870
23871 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23872 Change XOPEN21K to XOPEN2K.
23873
19218757
MK
238742012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23875
23876 * string/memmove.c: Use memcpy when possible.
23877
c5f45721
AJ
238782012-11-06 Andreas Jaeger <aj@suse.de>
23879
23880 * po/eo.po: Update from translation team.
23881
82477c28
JM
238822012-11-06 Joseph Myers <joseph@codesourcery.com>
23883
23884 [BZ #14793]
23885 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23886 exponent and small x and y exponents, scale x or y up. Increase
23887 by 2 the exponent used in scaling up.
23888 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23889 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23890 * math/libm-test.inc (fma_test): Add more tests.
23891 (fma_test_towardzero): Likewise.
23892 (fma_test_downward): Likewise.
23893 (fma_test_upward): Likewise.
23894
99252c8c
JM
238952012-11-05 Joseph Myers <joseph@codesourcery.com>
23896
acfa885f
JM
23897 [BZ #14805]
23898 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23899 fenv_t *.
23900
99252c8c
JM
23901 [BZ #14801]
23902 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23903 namespace for names of struct fields.
23904 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23905 fenv_t fields.
23906 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23907 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23908
d6d98dea
ST
239092012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23910
23911 [BZ #3665]
23912 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23913
e10bb107
TS
239142012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23915
23916 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23917 PTR_DEMANGLE.
23918
23919 [BZ #5246]
23920 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23921 PTR_DEMANGLE.
23922
a0c2940d
JM
239232012-11-04 Joseph Myers <joseph@codesourcery.com>
23924
23925 [BZ #14797]
23926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23927 definitely overflow as x * y not x * y + z.
23928 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23929 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23930 * math/libm-test.inc (fma_test): Add more tests.
23931 (fma_test_towardzero): Likewise.
23932 (fma_test_downward): Likewise.
23933 (fma_test_upward): Likewise.
23934
b830319d
TS
239352012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23936
23937 [BZ #157]
23938
23939 * include/stub-tag.h: Remove file.
23940 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23941 '#include' of it.
23942 * manual/maint.texi (Porting): Don't reference it.
23943 * Makerules ($(objpfx)stubs): Likewise.
23944 * dirent/closedir.c: Don't include <stub-tag.h>.
23945 * dirent/dirfd.c: Likewise.
23946 * dirent/fdopendir.c: Likewise.
23947 * dirent/getdents.c: Likewise.
23948 * dirent/getdents64.c: Likewise.
23949 * dirent/opendir.c: Likewise.
23950 * dirent/readdir.c: Likewise.
23951 * dirent/readdir64.c: Likewise.
23952 * dirent/readdir64_r.c: Likewise.
23953 * dirent/readdir_r.c: Likewise.
23954 * dirent/rewinddir.c: Likewise.
23955 * dirent/seekdir.c: Likewise.
23956 * dirent/telldir.c: Likewise.
23957 * gmon/profil.c: Likewise.
23958 * grp/setgroups.c: Likewise.
23959 * inet/if_index.c: Likewise.
23960 * io/access.c: Likewise.
23961 * io/chdir.c: Likewise.
23962 * io/chmod.c: Likewise.
23963 * io/chown.c: Likewise.
23964 * io/close.c: Likewise.
23965 * io/dup.c: Likewise.
23966 * io/dup2.c: Likewise.
23967 * io/dup3.c: Likewise.
23968 * io/euidaccess.c: Likewise.
23969 * io/faccessat.c: Likewise.
23970 * io/fchdir.c: Likewise.
23971 * io/fchmod.c: Likewise.
23972 * io/fchmodat.c: Likewise.
23973 * io/fchown.c: Likewise.
23974 * io/fchownat.c: Likewise.
23975 * io/fcntl.c: Likewise.
23976 * io/flock.c: Likewise.
23977 * io/fstatfs.c: Likewise.
23978 * io/fstatfs64.c: Likewise.
23979 * io/fstatvfs.c: Likewise.
23980 * io/fstatvfs64.c: Likewise.
23981 * io/futimens.c: Likewise.
23982 * io/fxstat.c: Likewise.
23983 * io/fxstat64.c: Likewise.
23984 * io/fxstatat.c: Likewise.
23985 * io/fxstatat64.c: Likewise.
23986 * io/getcwd.c: Likewise.
23987 * io/isatty.c: Likewise.
23988 * io/lchmod.c: Likewise.
23989 * io/lchown.c: Likewise.
23990 * io/link.c: Likewise.
23991 * io/linkat.c: Likewise.
23992 * io/lseek.c: Likewise.
23993 * io/lseek64.c: Likewise.
23994 * io/lxstat64.c: Likewise.
23995 * io/mkdir.c: Likewise.
23996 * io/mkdirat.c: Likewise.
23997 * io/mkfifo.c: Likewise.
23998 * io/mkfifoat.c: Likewise.
23999 * io/open.c: Likewise.
24000 * io/open64.c: Likewise.
24001 * io/openat.c: Likewise.
24002 * io/openat64.c: Likewise.
24003 * io/pipe.c: Likewise.
24004 * io/pipe2.c: Likewise.
24005 * io/poll.c: Likewise.
24006 * io/posix_fadvise.c: Likewise.
24007 * io/posix_fadvise64.c: Likewise.
24008 * io/posix_fallocate.c: Likewise.
24009 * io/posix_fallocate64.c: Likewise.
24010 * io/read.c: Likewise.
24011 * io/readlink.c: Likewise.
24012 * io/readlinkat.c: Likewise.
24013 * io/rmdir.c: Likewise.
24014 * io/sendfile.c: Likewise.
24015 * io/sendfile64.c: Likewise.
24016 * io/statfs.c: Likewise.
24017 * io/statfs64.c: Likewise.
24018 * io/statvfs.c: Likewise.
24019 * io/statvfs64.c: Likewise.
24020 * io/symlink.c: Likewise.
24021 * io/symlinkat.c: Likewise.
24022 * io/ttyname.c: Likewise.
24023 * io/ttyname_r.c: Likewise.
24024 * io/umask.c: Likewise.
24025 * io/unlink.c: Likewise.
24026 * io/unlinkat.c: Likewise.
24027 * io/utime.c: Likewise.
24028 * io/utimensat.c: Likewise.
24029 * io/write.c: Likewise.
24030 * io/xmknod.c: Likewise.
24031 * io/xmknodat.c: Likewise.
24032 * io/xstat.c: Likewise.
24033 * io/xstat64.c: Likewise.
24034 * login/getpt.c: Likewise.
24035 * login/grantpt.c: Likewise.
24036 * login/unlockpt.c: Likewise.
24037 * math/e_acoshl.c: Likewise.
24038 * math/e_acosl.c: Likewise.
24039 * math/e_asinl.c: Likewise.
24040 * math/e_atan2l.c: Likewise.
24041 * math/e_atanhl.c: Likewise.
24042 * math/e_coshl.c: Likewise.
24043 * math/e_expl.c: Likewise.
24044 * math/e_fmodl.c: Likewise.
24045 * math/e_gammal_r.c: Likewise.
24046 * math/e_hypotl.c: Likewise.
24047 * math/e_j0l.c: Likewise.
24048 * math/e_j1l.c: Likewise.
24049 * math/e_jnl.c: Likewise.
24050 * math/e_lgammal_r.c: Likewise.
24051 * math/e_log10l.c: Likewise.
24052 * math/e_log2l.c: Likewise.
24053 * math/e_logl.c: Likewise.
24054 * math/e_powl.c: Likewise.
24055 * math/e_rem_pio2l.c: Likewise.
24056 * math/e_sinhl.c: Likewise.
24057 * math/e_sqrtl.c: Likewise.
24058 * math/fclrexcpt.c: Likewise.
24059 * math/fedisblxcpt.c: Likewise.
24060 * math/feenablxcpt.c: Likewise.
24061 * math/fegetenv.c: Likewise.
24062 * math/fegetexcept.c: Likewise.
24063 * math/fegetround.c: Likewise.
24064 * math/feholdexcpt.c: Likewise.
24065 * math/fesetenv.c: Likewise.
24066 * math/fesetround.c: Likewise.
24067 * math/feupdateenv.c: Likewise.
24068 * math/fgetexcptflg.c: Likewise.
24069 * math/fraiseexcpt.c: Likewise.
24070 * math/fsetexcptflg.c: Likewise.
24071 * math/ftestexcept.c: Likewise.
24072 * math/k_cosl.c: Likewise.
24073 * math/k_rem_pio2l.c: Likewise.
24074 * math/k_sinl.c: Likewise.
24075 * math/k_tanl.c: Likewise.
24076 * math/s_asinhl.c: Likewise.
24077 * math/s_atanl.c: Likewise.
24078 * math/s_cbrtl.c: Likewise.
24079 * math/s_erfl.c: Likewise.
24080 * math/s_expm1l.c: Likewise.
24081 * math/s_log1pl.c: Likewise.
24082 * math/s_tanhl.c: Likewise.
24083 * misc/acct.c: Likewise.
24084 * misc/brk.c: Likewise.
24085 * misc/chflags.c: Likewise.
24086 * misc/chroot.c: Likewise.
24087 * misc/fchflags.c: Likewise.
24088 * misc/fgetxattr.c: Likewise.
24089 * misc/flistxattr.c: Likewise.
24090 * misc/fremovexattr.c: Likewise.
24091 * misc/fsetxattr.c: Likewise.
24092 * misc/fsync.c: Likewise.
24093 * misc/ftruncate.c: Likewise.
24094 * misc/futimes.c: Likewise.
24095 * misc/futimesat.c: Likewise.
24096 * misc/getdomain.c: Likewise.
24097 * misc/getdtsz.c: Likewise.
24098 * misc/gethostid.c: Likewise.
24099 * misc/gethostname.c: Likewise.
24100 * misc/getloadavg.c: Likewise.
24101 * misc/getpagesize.c: Likewise.
24102 * misc/getsysstats.c: Likewise.
24103 * misc/getxattr.c: Likewise.
24104 * misc/gtty.c: Likewise.
24105 * misc/ioctl.c: Likewise.
24106 * misc/lgetxattr.c: Likewise.
24107 * misc/listxattr.c: Likewise.
24108 * misc/llistxattr.c: Likewise.
24109 * misc/lremovexattr.c: Likewise.
24110 * misc/lsetxattr.c: Likewise.
24111 * misc/lutimes.c: Likewise.
24112 * misc/madvise.c: Likewise.
24113 * misc/mincore.c: Likewise.
24114 * misc/mlock.c: Likewise.
24115 * misc/mlockall.c: Likewise.
24116 * misc/mmap.c: Likewise.
24117 * misc/mprotect.c: Likewise.
24118 * misc/msync.c: Likewise.
24119 * misc/munlock.c: Likewise.
24120 * misc/munlockall.c: Likewise.
24121 * misc/munmap.c: Likewise.
24122 * misc/preadv.c: Likewise.
24123 * misc/preadv64.c: Likewise.
24124 * misc/ptrace.c: Likewise.
24125 * misc/pwritev.c: Likewise.
24126 * misc/pwritev64.c: Likewise.
24127 * misc/readv.c: Likewise.
24128 * misc/reboot.c: Likewise.
24129 * misc/remap_file_pages.c: Likewise.
24130 * misc/removexattr.c: Likewise.
24131 * misc/revoke.c: Likewise.
24132 * misc/select.c: Likewise.
24133 * misc/setdomain.c: Likewise.
24134 * misc/setegid.c: Likewise.
24135 * misc/seteuid.c: Likewise.
24136 * misc/sethostid.c: Likewise.
24137 * misc/sethostname.c: Likewise.
24138 * misc/setregid.c: Likewise.
24139 * misc/setreuid.c: Likewise.
24140 * misc/setxattr.c: Likewise.
24141 * misc/sstk.c: Likewise.
24142 * misc/stty.c: Likewise.
24143 * misc/swapoff.c: Likewise.
24144 * misc/swapon.c: Likewise.
24145 * misc/sync.c: Likewise.
24146 * misc/syncfs.c: Likewise.
24147 * misc/syscall.c: Likewise.
24148 * misc/truncate.c: Likewise.
24149 * misc/ualarm.c: Likewise.
24150 * misc/usleep.c: Likewise.
24151 * misc/ustat.c: Likewise.
24152 * misc/utimes.c: Likewise.
24153 * misc/vhangup.c: Likewise.
24154 * misc/writev.c: Likewise.
24155 * posix/_exit.c: Likewise.
24156 * posix/alarm.c: Likewise.
24157 * posix/execve.c: Likewise.
24158 * posix/fexecve.c: Likewise.
24159 * posix/fork.c: Likewise.
24160 * posix/fpathconf.c: Likewise.
24161 * posix/getaddrinfo.c: Likewise.
24162 * posix/getegid.c: Likewise.
24163 * posix/geteuid.c: Likewise.
24164 * posix/getgid.c: Likewise.
24165 * posix/getgroups.c: Likewise.
24166 * posix/getlogin.c: Likewise.
24167 * posix/getlogin_r.c: Likewise.
24168 * posix/getpgid.c: Likewise.
24169 * posix/getpid.c: Likewise.
24170 * posix/getppid.c: Likewise.
24171 * posix/getresgid.c: Likewise.
24172 * posix/getresuid.c: Likewise.
24173 * posix/getsid.c: Likewise.
24174 * posix/getuid.c: Likewise.
24175 * posix/glob64.c: Likewise.
24176 * posix/nanosleep.c: Likewise.
24177 * posix/pathconf.c: Likewise.
24178 * posix/pause.c: Likewise.
24179 * posix/posix_madvise.c: Likewise.
24180 * posix/pread.c: Likewise.
24181 * posix/pread64.c: Likewise.
24182 * posix/pwrite.c: Likewise.
24183 * posix/pwrite64.c: Likewise.
24184 * posix/sched_getaffinity.c: Likewise.
24185 * posix/sched_getp.c: Likewise.
24186 * posix/sched_gets.c: Likewise.
24187 * posix/sched_primax.c: Likewise.
24188 * posix/sched_primin.c: Likewise.
24189 * posix/sched_rr_gi.c: Likewise.
24190 * posix/sched_setaffinity.c: Likewise.
24191 * posix/sched_setp.c: Likewise.
24192 * posix/sched_sets.c: Likewise.
24193 * posix/sched_yield.c: Likewise.
24194 * posix/setgid.c: Likewise.
24195 * posix/setlogin.c: Likewise.
24196 * posix/setpgid.c: Likewise.
24197 * posix/setresgid.c: Likewise.
24198 * posix/setresuid.c: Likewise.
24199 * posix/setsid.c: Likewise.
24200 * posix/setuid.c: Likewise.
24201 * posix/sleep.c: Likewise.
24202 * posix/spawni.c: Likewise.
24203 * posix/sysconf.c: Likewise.
24204 * posix/times.c: Likewise.
24205 * posix/wait.c: Likewise.
24206 * posix/wait3.c: Likewise.
24207 * posix/wait4.c: Likewise.
24208 * posix/waitpid.c: Likewise.
24209 * resolv/gai_sigqueue.c: Likewise.
24210 * resource/getpriority.c: Likewise.
24211 * resource/getrlimit.c: Likewise.
24212 * resource/getrusage.c: Likewise.
24213 * resource/nice.c: Likewise.
24214 * resource/setpriority.c: Likewise.
24215 * resource/setrlimit.c: Likewise.
24216 * resource/ulimit.c: Likewise.
24217 * rt/aio_cancel.c: Likewise.
24218 * rt/aio_fsync.c: Likewise.
24219 * rt/aio_read.c: Likewise.
24220 * rt/aio_sigqueue.c: Likewise.
24221 * rt/aio_suspend.c: Likewise.
24222 * rt/aio_write.c: Likewise.
24223 * rt/clock_getres.c: Likewise.
24224 * rt/clock_gettime.c: Likewise.
24225 * rt/clock_nanosleep.c: Likewise.
24226 * rt/clock_settime.c: Likewise.
24227 * rt/lio_listio.c: Likewise.
24228 * rt/mq_close.c: Likewise.
24229 * rt/mq_getattr.c: Likewise.
24230 * rt/mq_notify.c: Likewise.
24231 * rt/mq_open.c: Likewise.
24232 * rt/mq_receive.c: Likewise.
24233 * rt/mq_send.c: Likewise.
24234 * rt/mq_setattr.c: Likewise.
24235 * rt/mq_timedreceive.c: Likewise.
24236 * rt/mq_timedsend.c: Likewise.
24237 * rt/mq_unlink.c: Likewise.
24238 * rt/shm_open.c: Likewise.
24239 * rt/shm_unlink.c: Likewise.
24240 * rt/timer_create.c: Likewise.
24241 * rt/timer_delete.c: Likewise.
24242 * rt/timer_getoverr.c: Likewise.
24243 * rt/timer_gettime.c: Likewise.
24244 * rt/timer_settime.c: Likewise.
24245 * setjmp/__longjmp.c: Likewise.
24246 * setjmp/setjmp.c: Likewise.
24247 * signal/kill.c: Likewise.
24248 * signal/killpg.c: Likewise.
24249 * signal/raise.c: Likewise.
24250 * signal/sigaction.c: Likewise.
24251 * signal/sigaltstack.c: Likewise.
24252 * signal/sigblock.c: Likewise.
24253 * signal/sigignore.c: Likewise.
24254 * signal/sigintr.c: Likewise.
24255 * signal/signal.c: Likewise.
24256 * signal/sigpause.c: Likewise.
24257 * signal/sigpending.c: Likewise.
24258 * signal/sigqueue.c: Likewise.
24259 * signal/sigreturn.c: Likewise.
24260 * signal/sigset.c: Likewise.
24261 * signal/sigsetmask.c: Likewise.
24262 * signal/sigstack.c: Likewise.
24263 * signal/sigsuspend.c: Likewise.
24264 * signal/sigtimedwait.c: Likewise.
24265 * signal/sigvec.c: Likewise.
24266 * signal/sigwait.c: Likewise.
24267 * signal/sigwaitinfo.c: Likewise.
24268 * signal/sysv_signal.c: Likewise.
24269 * socket/accept.c: Likewise.
24270 * socket/accept4.c: Likewise.
24271 * socket/bind.c: Likewise.
24272 * socket/connect.c: Likewise.
24273 * socket/getpeername.c: Likewise.
24274 * socket/getsockname.c: Likewise.
24275 * socket/getsockopt.c: Likewise.
24276 * socket/isfdtype.c: Likewise.
24277 * socket/listen.c: Likewise.
24278 * socket/recv.c: Likewise.
24279 * socket/recvfrom.c: Likewise.
24280 * socket/recvmsg.c: Likewise.
24281 * socket/send.c: Likewise.
24282 * socket/sendmsg.c: Likewise.
24283 * socket/sendto.c: Likewise.
24284 * socket/setsockopt.c: Likewise.
24285 * socket/shutdown.c: Likewise.
24286 * socket/sockatmark.c: Likewise.
24287 * socket/socket.c: Likewise.
24288 * socket/socketpair.c: Likewise.
24289 * stdio-common/ctermid.c: Likewise.
24290 * stdio-common/cuserid.c: Likewise.
24291 * stdio-common/remove.c: Likewise.
24292 * stdio-common/rename.c: Likewise.
24293 * stdio-common/renameat.c: Likewise.
24294 * stdio-common/tempname.c: Likewise.
24295 * stdlib/getcontext.c: Likewise.
24296 * stdlib/makecontext.c: Likewise.
24297 * stdlib/setcontext.c: Likewise.
24298 * stdlib/swapcontext.c: Likewise.
24299 * stdlib/system.c: Likewise.
24300 * streams/fattach.c: Likewise.
24301 * streams/fdetach.c: Likewise.
24302 * streams/getmsg.c: Likewise.
24303 * streams/getpmsg.c: Likewise.
24304 * streams/putmsg.c: Likewise.
24305 * streams/putpmsg.c: Likewise.
24306 * sysdeps/unix/bsd/getpt.c: Likewise.
24307 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24308 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24309 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24311 Likewise.
24312 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24313 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24314 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24315 * sysvipc/msgctl.c: Likewise.
24316 * sysvipc/msgget.c: Likewise.
24317 * sysvipc/msgrcv.c: Likewise.
24318 * sysvipc/msgsnd.c: Likewise.
24319 * sysvipc/semctl.c: Likewise.
24320 * sysvipc/semget.c: Likewise.
24321 * sysvipc/semop.c: Likewise.
24322 * sysvipc/semtimedop.c: Likewise.
24323 * sysvipc/shmat.c: Likewise.
24324 * sysvipc/shmctl.c: Likewise.
24325 * sysvipc/shmdt.c: Likewise.
24326 * sysvipc/shmget.c: Likewise.
24327 * termios/tcdrain.c: Likewise.
24328 * termios/tcflow.c: Likewise.
24329 * termios/tcflush.c: Likewise.
24330 * termios/tcgetattr.c: Likewise.
24331 * termios/tcgetpgrp.c: Likewise.
24332 * termios/tcsendbrk.c: Likewise.
24333 * termios/tcsetattr.c: Likewise.
24334 * termios/tcsetpgrp.c: Likewise.
24335 * time/adjtime.c: Likewise.
24336 * time/clock.c: Likewise.
24337 * time/getitimer.c: Likewise.
24338 * time/gettimeofday.c: Likewise.
24339 * time/setitimer.c: Likewise.
24340 * time/settimeofday.c: Likewise.
24341 * time/stime.c: Likewise.
24342 * time/time.c: Likewise.
24343
243442012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 24345
a20492cf
PT
24346 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24347 /usr/old/bin.
24348
72e182e3
PT
24349 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24350 instead of spaces.
24351 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24352
fbeafede
JM
243532012-11-03 Joseph Myers <joseph@codesourcery.com>
24354
5b5b04d6
JM
24355 [BZ #14796]
24356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24357 FE_TONEAREST before applying Dekker multiplication and Knuth
24358 addition. Clear inexact exceptions and check for exact zero
24359 results afterwards.
24360 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24361 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24362 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24363 * math/libm-test.inc (fma_test): Add more tests.
24364 (fma_test_towardzero): Likewise.
24365 (fma_test_downward): Likewise.
24366 (fma_test_upward): Likewise.
24367 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24368 function.
24369 (libc_fesetround): New macro.
24370 (libc_fesetroundf): Likewise.
24371 (libc_fesetroundl): Likewise.
24372 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24373 function.
24374 (libc_fesetround_387): Likewise.
24375 (libc_fesetroundf): New macro.
24376 (libc_fesetround): Likewise.
24377 (libc_fesetroundl): Likewise.
24378 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24379 function.
24380 (libc_fesetroundf): New macro.
24381 (libc_fesetround): Likewise.
24382 (libc_fesetroundl): Likewise.
24383 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24384 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24385 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24386 libm_hidden_ver.
24387 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24388 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24389 libm_hidden_def.
24390 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24391 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24392 libm_hidden_ver.
24393 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24394 libm_hidden_def.
24395
fbeafede
JM
24396 [BZ #3439]
24397 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24398 integer constant usable in #if and use that to give value to enum
24399 constant.
24400 (FE_DIVBYZERO): Likewise.
24401 (FE_UNDERFLOW): Likewise.
24402 (FE_OVERFLOW): Likewise.
24403 (FE_INVALID): Likewise.
24404 (FE_INVALID_SNAN): Likewise.
24405 (FE_INVALID_ISI): Likewise.
24406 (FE_INVALID_IDI): Likewise.
24407 (FE_INVALID_ZDZ): Likewise.
24408 (FE_INVALID_IMZ): Likewise.
24409 (FE_INVALID_COMPARE): Likewise.
24410 (FE_INVALID_SOFTWARE): Likewise.
24411 (FE_INVALID_SQRT): Likewise.
24412 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24413 (FE_TONEAREST): Likewise.
24414 (FE_TOWARDZERO): Likewise.
24415 (FE_UPWARD): Likewise.
24416 (FE_DOWNWARD): Likewise.
24417 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24418 (FE_DIVBYZERO): Likewise.
24419 (FE_OVERFLOW): Likewise.
24420 (FE_UNDERFLOW): Likewise.
24421 (FE_INEXACT): Likewise.
24422 (FE_TONEAREST): Likewise.
24423 (FE_DOWNWARD): Likewise.
24424 (FE_UPWARD): Likewise.
24425 (FE_TOWARDZERO): Likewise.
24426 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24427 (FE_UNDERFLOW): Likewise.
24428 (FE_OVERFLOW): Likewise.
24429 (FE_DIVBYZERO): Likewise.
24430 (FE_INVALID): Likewise.
24431 (FE_TONEAREST): Likewise.
24432 (FE_TOWARDZERO): Likewise.
24433 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24434 (FE_OVERFLOW): Likewise.
24435 (FE_UNDERFLOW): Likewise.
24436 (FE_DIVBYZERO): Likewise.
24437 (FE_INEXACT): Likewise.
24438 (FE_TONEAREST): Likewise.
24439 (FE_TOWARDZERO): Likewise.
24440 (FE_UPWARD): Likewise.
24441 (FE_DOWNWARD): Likewise.
24442 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24443 (FE_DIVBYZERO): Likewise.
24444 (FE_OVERFLOW): Likewise.
24445 (FE_UNDERFLOW): Likewise.
24446 (FE_INEXACT): Likewise.
24447 (FE_TONEAREST): Likewise.
24448 (FE_DOWNWARD): Likewise.
24449 (FE_UPWARD): Likewise.
24450 (FE_TOWARDZERO): Likewise.
24451
105ca950
CM
244522012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24453
24454 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24455
a542b389
AS
244562012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24457
24458 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24459 commands. Quote $PWD.
24460 (blacklist_exports): Don't use remove_newlines. Replace "declare
24461 -x" by "export".
24462 (remove_newlines): Remove.
24463
f62c8abc
L
244642012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24465
24466 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24467 * stdlib/stdlib.h (atof): Moved to ...
24468 * include/bits/stdlib-float.h: Here. New file.
24469 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24470 * stdlib/bits/stdlib-float.h: New file.
24471 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24472 -mno-sse -mno-mmx.
24473 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24474 <xmmintrin.h>.
24475
0155d5b2
JM
244762012-11-02 Joseph Myers <joseph@codesourcery.com>
24477
a68d0680
JM
24478 * conform/conformtest.pl (@headers): Add fenv.h.
24479 * conform/data/fenv.h-data: New file.
24480 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24481 include of <math/fenv.h>.
24482
caf7f573
JM
24483 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24484 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24485 && !UNIX98]. Enables tests for XOPEN2K8.
24486 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24487 POSIX2008]: Likewise.
24488
6c073ad6
JM
24489 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24490 (struct rusage): Do not expect type or its members.
24491
0155d5b2
JM
24492 [BZ #3439]
24493 * math/math.h (FP_NAN): Define macro to integer constant usable in
24494 #if and use that to give value to enum constant.
24495 (FP_INFINITE): Likewise.
24496 (FP_ZERO): Likewise.
24497 (FP_SUBNORMAL): Likewise.
24498 (FP_NORMAL): Likewise.
24499
b5dcacb4
AS
245002012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24501
24502 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24503 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24504 arguments.
24505
f7934be8
RM
245062012-11-02 Roland McGrath <roland@hack.frob.com>
24507
24508 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24509 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24510 autoconf-time if not.
24511 * configure.in: Remove AC_PREREQ.
24512
d7d08bde
TMQMF
245132012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24514
24515 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24516 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24517 of the internal implementation.
24518
dcdae19a
JM
245192012-11-02 Joseph Myers <joseph@codesourcery.com>
24520
24521 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24522 except include of <misc/sys/syslog.h>.
24523
d6cffd3e
AS
245242012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24525
24526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24527 function returns with a NULL context exit with zero.
24528
b3563932
TMQMF
245292012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24530
24531 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24532
b288a93d
L
245332012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24534
24535 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24536 (run_program_cmd): This.
24537 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24538 (tst_langinfo): New variable. Use it.
24539
a2421a68
SAS
245402012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24541
24542 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24543 floating point opcodes.
24544
6f796e1b
TS
245452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24546
7402596b
TS
24547 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24548 variable.
24549
d0d4f868
TS
24550 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24551
6f796e1b
TS
24552 * sysdeps/mach/hurd/powerpc: Remove directory.
24553 * sysdeps/mach/powerpc: Likewise.
24554
4da224a2
AS
245552012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24556
24557 * scripts/check-local-headers.sh: Ignore c++ headers.
24558
341dd673
TS
245592012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24560
24561 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24562 __libc_cleanup_region_start argument.
24563
473611b2
JM
245642012-11-01 Joseph Myers <joseph@codesourcery.com>
24565
24566 [BZ #14784]
24567 [BZ #14785]
24568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24569 x * y using scaling, not as x * y + z.
24570 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24571 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24572 * math/libm-test.inc (fma_test): Add more tests.
24573 (fma_test_towardzero): Likewise.
24574 (fma_test_downward): Likewise.
24575 (fma_test_upward): Likewise.
24576
4078da3d
TS
245772012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24578
24579 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24580
903252aa
JM
245812012-10-31 Joseph Myers <joseph@codesourcery.com>
24582
24583 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24584 New variable.
24585
cbc818d0
TS
245862012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24587
24588 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24589
5a03cb1e
AS
245902012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24591
24592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24593 Fix sort order.
24594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24595 Likewise.
24596
90aff2ff
TMQMF
245972012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24598
24599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24600 Fix the order of the list for glibc 2.17.
24601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24602 Likewise.
24603
1818fcb7
AS
246042012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24605
24606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24607
ef82f4da
JM
246082012-10-31 Joseph Myers <joseph@codesourcery.com>
24609
16a0e2ec
JM
24610 [BZ #14610]
24611 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24612 for low part of x being zero before using __atanl (y).
24613 * math/libm-test.inc (atan2_test): Add another test.
24614
0eb69512
JM
24615 * manual/install.texi (Configuring and compiling): Document
24616 general use of test-wrapper and test-wrapper-env.
24617 * INSTALL: Regenerated.
24618
ef82f4da
JM
24619 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24620 (__fma): Do not extract and scale down low bits on after-rounding
24621 systems when result rounded to normal precision would have normal
24622 exponent.
24623 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24624 (__fmal): Do not extract and scale down low bits on after-rounding
24625 systems when result rounded to normal precision would have normal
24626 exponent.
24627 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24628 (__fmal): Do not extract and scale down low bits on after-rounding
24629 systems when result rounded to normal precision would have normal
24630 exponent.
24631 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24632 macro.
24633 (fma_test): Add more tests.
24634 (fma_test_towardzero): Likewise.
24635 (fma_test_downward): Likewise.
24636 (fma_test_upward): Likewise.
24637
954ef0d9
L
246382012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24639
24640 * sysdeps/i386/tininess.h: Renamed to ...
24641 * sysdeps/x86/tininess.h: This.
24642 * sysdeps/x86_64/tininess.h: Removed.
24643
df61ffb2
JM
246442012-10-30 Joseph Myers <joseph@codesourcery.com>
24645
24646 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24647 input. Use $(build-program-cmd).
24648 ($(objpfx)tst-array1-static.out): Likewise.
24649 ($(objpfx)tst-array2.out): Likewise.
24650 ($(objpfx)tst-array3.out): Likewise.
24651 ($(objpfx)tst-array4.out): Likewise.
24652 ($(objpfx)tst-array5.out): Likewise.
24653 ($(objpfx)tst-array5-static.out): Likewise.
24654
01767843
CM
246552012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24656
47cc1490
CM
24657 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24658 if defined.
24659
01767843
CM
24660 * nss/nsswitch.h (nss_interface_function): Provide new
24661 macro for use with NSS functions.
24662 * grp/initgroups.c: Use new macro.
24663 * nss/getXXbyYY.c: Likewise.
24664 * nss/getXXbyYY_r.c: Likewise.
24665 * nss/getXXent.c: Likewise.
24666 * nss/getXXent_r.c: Likewise.
24667 * sysdeps/posix/getaddrinfo.c: Likewise.
24668
8321aa97
AJ
246692012-10-30 Andreas Jaeger <aj@suse.de>
24670
24671 * po/ru.po: Update Russion translation from translation project.
24672
2a27fd6d
JM
246732012-10-30 Joseph Myers <joseph@codesourcery.com>
24674
8627a232
JM
24675 [BZ #14152]
24676 [BZ #14783]
24677 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24678 result and shift together with sticky bit instead of replicating
24679 round-to-nearest rounding.
24680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24681 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24682 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24683 missing underflow exceptions.
24684 (fma_test_towardzero): Add more tests.
24685 (fma_test_downward): Likewise.
24686 (fma_test_upward): Likewise.
24687
2a27fd6d
JM
24688 [BZ #14047]
24689 * sysdeps/generic/tininess.h: New file.
24690 * sysdeps/i386/tininess.h: Likewise.
24691 * sysdeps/sh/tininess.h: Likewise.
24692 * sysdeps/x86_64/tininess.h: Likewise.
24693 * stdlib/tst-strtod-underflow.c: Likewise.
24694 * stdlib/tst-tininess.c: Likewise.
24695 * stdlib/strtod_l.c: Include <tininess.h>.
24696 (round_and_return): Do not set errno for exact underflow cases.
24697 Force an underflow exception when setting errno for underflow.
24698 Determine underflow based on rounding to normal precision if
24699 TININESS_AFTER_ROUNDING.
24700 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24701 ERANGE for exact underflow cases.
24702 * stdlib/Makefile (tests): Add tst-tininess and
24703 tst-strtod-underflow.
24704 ($(objpfx)tst-tininess): Use $(link-libm).
24705 ($(objpfx)tst-strtod-underflow): Likewise.
24706
e7170363
AJ
247072012-10-30 Andreas Jaeger <aj@suse.de>
24708
e5088dc6
AJ
24709 [BZ#14767]
24710 * elf/Makefile (tests): Remove conditional for have-initfini-array
24711 since this is now always required and the variable does not exist
24712 anymore.
24713 (tests-static): Likewise.
24714 (modules-names): Likewise.
24715
e7170363 24716 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
24717
24718 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24719 merged with constructor/destructor.
24720 (init_array): Likewise.
24721 * elf/tst-array2dep.c (fini_array): Likewise.
24722 (init_array): Likewise.
24723
60457d8a
MF
247242012-10-29 Mike Frysinger <vapier@gentoo.org>
24725
24726 * manual/message.texi: Delete @cartouche tags.
24727
8bece752
PT
247282012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24729
94ce799f
PT
24730 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24731 EOPNOTSUPP.
24732 * sysdeps/mach/hurd/fsync.c: Likewise.
24733
8bece752
PT
24734 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24735 [_POSIX_REALTIME_SIGNALS]: Change condition to
24736 [_POSIX_REALTIME_SIGNALS > 0].
24737
86ebe6b1
AJ
247382012-10-27 Andreas Jaeger <aj@suse.de>
24739
24740 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24741 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24742 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24743 [__WORDSIZE != 64]: Likewise.
24744
54399c08
L
247452012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24746
24747 * iconvdata/tst-table.sh: Remove ${SHELL}.
24748 * iconvdata/tst-tables.sh: Likewise.
24749
e2211bed
DM
247502012-10-25 David S. Miller <davem@davemloft.net>
24751
24752 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24753 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24754 of strtoull.
24755
f303f97c
DM
24756 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24757 ifunc-impl-list.c
24758 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24759 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24760 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24761 file.
24762
1e9d84cd
RM
247632012-10-25 Roland McGrath <roland@hack.frob.com>
24764
24765 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24766 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24767 __getdirentries.
24768
df381762
JM
247692012-10-25 Joseph Myers <joseph@codesourcery.com>
24770 Jim Blandy <jimb@codesourcery.com>
24771
24772 * scripts/cross-test-ssh.sh: New file.
24773 * manual/install.texi (Configuring and compiling): Document use of
24774 cross-test-ssh.sh.
24775 * INSTALL: Regenerated.
24776
bff64913
PT
247772012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24778
24779 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24780 EOPNOTSUPP.
24781
25fe8932
JM
247822012-10-25 Joseph Myers <joseph@codesourcery.com>
24783
24784 * Makeconfig (run-program-prefix): Fix comment.
24785
cc1290d0
JM
247862012-10-24 Joseph Myers <joseph@codesourcery.com>
24787 Jim Blandy <jimb@codesourcery.com>
24788
24789 * Makeconfig (test-wrapper): New variable,
24790 (test-wrapper-env): Likewise.
24791 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24792 (run-built-tests): Define to yes.
24793 (run-program-prefix): Use $(test-wrapper).
24794 (built-program-cmd): Likewise.
24795 * Rules (make-test-out): Use $(test-wrapper-env) and
24796 $(host-built-program-cmd).
24797 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24798 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24799 tst-pathopt.sh.
24800 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24801 $(test-wrapper-env) to tst-rtld-load-self.sh.
24802 ($(objpfx)order2.out): Use $(test-wrapper).
24803 ($(objpfx)tst-initorder.out): Likewise.
24804 ($(objpfx)tst-initorder2.out): Likewise.
24805 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24806 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24807 (test_wrapper_env): New variable. Use it to run ld.so.
24808 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24809 Use it to run ld.so.
24810 (test_wrapper_env): Likewise.
24811 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24812 $(test-wrapper) to run-iconv-test.sh.
24813 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24814 (ICONV): Use $test_wrapper.
24815 * posix/Makefile ($(objpfx)globtest.out): Pass
24816 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24817 globtest.sh, not $(run-program-prefix).
24818 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24819 (test_wrapper): Likewise.
24820 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24821 set together with run_via_rtld_prefix.
24822 (run_program_prefix): Define in terms of test_wrapper and
24823 run_via_rtld_prefix.
24824
6e6249d0
RM
248252012-10-24 Roland McGrath <roland@hack.frob.com>
24826
24827 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24828 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24829 Targets removed.
24830
24831 [BZ #14743]
24832 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24833 Declare __clock_getres, __clock_gettime, __clock_settime,
24834 __clock_nanosleep, and __clock_getcpuclockid.
24835 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24836 Remove librt_hidden_def (clock_gettime).
24837 * sysdeps/unix/clock_gettime.c: Likewise.
24838 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24839 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24840 * rt/clock_getres.c: Define __clock_getres as an alias.
24841 * sysdeps/posix/clock_getres.c: Likewise.
24842 * rt/clock_settime.c: Define __clock_settime as an alias.
24843 * sysdeps/unix/clock_settime.c: Likewise.
24844 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24845 * sysdeps/unix/clock_nanosleep.c: Likewise.
24846 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24847 * rt/clock-compat.c: New file.
24848 * rt/Makefile (librt-routines): Add clock-compat and move
24849 $(clock-routines) to ...
24850 (routines): ... here, new variable.
24851 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24852 Don't add get_clockfreq here.
24853 * rt/Versions (libc: GLIBC_2.17): New version set.
24854 Add clock_* symbols here.
24855 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24856 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24857 (GLIBC_2.17): Add clock_* symbols.
24858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24860 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24862 Likewise.
24863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24864 Likewise.
24865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24869 * NEWS: Mention the move.
24870
24871 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24872 Use __open, __read, __close rather than their public counterparts.
24873 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24874 (__get_clockfreq_via_cpuinfo): Likewise.
24875 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24876 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24877
24878 * config.h.in (HAVE_IFUNC): New #undef.
24879 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24880 was successful.
24881 * configure: Regenerated.
24882
0cae3f4b
MF
248832012-10-24 Mike Frysinger <vapier@gentoo.org>
24884
24885 * configure.in: Move READELF check to start of file.
24886 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24887 libc_cv_asm_gnu_indirect_function in the process.
24888 * configure: Regenerated.
24889
8175a253
MF
248902012-10-24 Mike Frysinger <vapier@gentoo.org>
24891
24892 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24893 send the output to /dev/null.
24894 (libc_cv_cc_with_libunwind): Likewise.
24895 (libc_cv_as_noexecstack): Likewise.
24896 * configure: Regenerate.
24897
0708a7d1
JM
248982012-10-24 Joseph Myers <joseph@codesourcery.com>
24899
10b40d85
JM
24900 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24901
0708a7d1
JM
24902 * posix/globtest.sh (TMPDIR): Do not set.
24903 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24904 (testout): Likewise.
24905
9fddec1a
AJ
249062012-10-24 Andreas Jaeger <aj@suse.de>
24907
3a8db22f
AJ
24908 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24909 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24910 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24911 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24912 posix_fadvise64, posix_fallocate64.
24913
9fddec1a
AJ
24914 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24915 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24916 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24917 Likewise.
24918 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24919 Likewise.
24920 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24921
24922 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24923 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24924 <bits/fcntl-linux.h>.
24925 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24926
24927 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24928 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24929 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24930 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24931 [__WORDSIZE != 64]: Likewise.
24932
ebfd1bbd
JM
249332012-10-23 Joseph Myers <joseph@codesourcery.com>
24934
03ac099f
JM
24935 * Makeconfig (run-built-tests): New variable.
24936 * Rules [$(cross-compiling) = yes]: Change condition to
24937 [$(run-built-tests) = no].
24938 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24939 to [$(run-built-tests) = yes].
24940 * elf/Makefile [$(cross-compiling) = no]: Likewise
24941 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24942 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24943 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24944 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24945 * io/Makefile [$(cross-compiling) = no]: Likewise.
24946 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24947 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24948 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24949 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24950 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24951 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24952 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24953 * string/Makefile [$(cross-compiling) = no]: Likewise.
24954
ebfd1bbd
JM
24955 * posix/Makefile ($(objpfx)globtest.out): Pass
24956 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24957 $(rtld-installed-name).
24958 * posix/globtest.sh (elf_objpfx): Remove variable.
24959 (rtld_installed_name): Likewise.
24960 (library_path): Likewise.
24961 (run_program_prefix): New variable. Use for running globtest
24962 binary.
24963
166bca24
JB
249642012-10-23 Jim Blandy <jimb@codesourcery.com>
24965 Joseph Myers <joseph@codesourcery.com>
24966
24967 * Makeconfig (host-built-program-cmd): New variable.
24968 * elf/Makefile (tst-stackguard1-ARGS): Use
24969 $(host-built-program-cmd).
24970 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24971 (tst-spawn-ARGS): Likewise.
24972 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24973
88866099
JM
249742012-10-23 Joseph Myers <joseph@codesourcery.com>
24975 Jim Blandy <jimb@codesourcery.com>
24976
24977 * Makeconfig (run-via-rtld-prefix): New variable.
24978 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24979 (built-program-cmd): Likewise.
24980
b4b4c296
AJ
249812012-10-22 Andreas Jaeger <aj@suse.de>
24982
24983 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24984 __O_RSYNC if it exists, otherwise to O_SYNC.
24985
6fb54a22
JB
249862012-10-22 Jim Blandy <jimb@codesourcery.com>
24987 Joseph Myers <joseph@codesourcery.com>
24988
24989 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24990 /dev/null.
24991 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24992 from /dev/null
24993 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24994 /dev/null.
24995
481b90b9
AJ
249962012-10-22 Andreas Jaeger <aj@suse.de>
24997
2a0e2669
AJ
24998 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24999 Define always.
25000 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25001
76e38f9a
AJ
25002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25003 bits/fcntl-linux.h.
25004
7cd37b43
AJ
25005 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25006 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25007
481b90b9
AJ
25008 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25009 to __O_LARGEFILE.
25010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25011 to __O_LARGEFILE.
25012
aba75984
JB
250132012-10-21 Jim Blandy <jimb@codesourcery.com>
25014 Joseph Myers <joseph@codesourcery.com>
25015
25016 * config.make.in (NM): New variable.
25017
88d4247f
AJ
250182012-10-21 Andreas Jaeger <aj@suse.de>
25019
25020 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25021 definitions and declarations that are provided by
25022 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25023
f2eed205
L
250242012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25025
25026 [BZ #14683]
25027 * elf/Makefile (tests-static): Add tst-leaks1-static.
25028 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25029 ($(objpfx)tst-leaks1-static): New rule.
25030 ($(objpfx)tst-leaks1-static-mem): Likewise.
25031 (tst-leaks1-static-ENV): New macro.
25032 * elf/dl-open.c (dl_open_worker): Check the main application
25033 only if SHARED is defined.
25034 * elf/tst-leaks1-static.c: New file.
25035
335e6931
AJ
250362012-10-20 Andreas Jaeger <aj@suse.de>
25037
25038 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25039 generic values for Linux.
25040 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25041 and declarations that are provided by <bits/fcntl-linux.h> and
25042 include <bits/fcntl-linux.h>.
25043 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25044 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25045
ac5c94d3
RM
250462012-10-20 Roland McGrath <roland@hack.frob.com>
25047
25048 * io/fcntl.h: Move include of <bits/types.h> to the top and
25049 include it unconditionally.
25050
de54b33a
L
250512012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25052
228cfb01
L
25053 * wcsmbs/Makefile (tests-ifunc): New variable.
25054 (tests): Add $(tests-ifunc).
25055 * wcsmbs/test-wcschr-ifunc.c: New file.
25056 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25057 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25058 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25059 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25060 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25061
69f07e5f
L
25062 * string/Makefile (tests-ifunc): New variable.
25063 (tests): Add $(tests-ifunc).
25064 * string/test-memccpy.c (TEST_NAME): New macro.
25065 * string/test-memchr.c (TEST_NAME): Likewise.
25066 * string/test-memcmp.c (TEST_NAME): Likewise.
25067 * string/test-memcpy.c (TEST_NAME): Likewise.
25068 * string/test-memmem.c (TEST_NAME): Likewise.
25069 * string/test-memmove.c (TEST_NAME): Likewise.
25070 * string/test-memset.c (TEST_NAME): Likewise.
25071 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25072 * string/test-stpcpy.c (TEST_NAME): Likewise.
25073 * string/test-stpncpy.c (TEST_NAME): Likewise.
25074 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25075 * string/test-strcasestr.c (TEST_NAME): Likewise.
25076 * string/test-strcat.c (TEST_NAME): Likewise.
25077 * string/test-strchr.c (TEST_NAME): Likewise.
25078 * string/test-strcmp.c(TEST_NAME): Likewise.
25079 * string/test-strcpy.c (TEST_NAME): Likewise.
25080 * string/test-strcspn.c (TEST_NAME): Likewise.
25081 * string/test-strlen.c (TEST_NAME): Likewise.
25082 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25083 * string/test-strncmp.c (TEST_NAME): Likewise.
25084 * string/test-strncpy.c (TEST_NAME): Likewise.
25085 * string/test-strnlen.c (TEST_NAME): Likewise.
25086 * string/test-strpbrk.c (TEST_NAME): Likewise.
25087 * string/test-strrchr.c (TEST_NAME): Likewise.
25088 * string/test-strspn.c (TEST_NAME): Likewise.
25089 * string/test-strstr.c (TEST_NAME): Likewise.
25090 * string/test-bcopy-ifunc.c: New file.
25091 * string/test-bzero-ifunc.c: Likewise.
25092 * string/test-memccpy-ifunc.c: Likewise.
25093 * string/test-memchr-ifunc.c: Likewise.
25094 * string/test-memcmp-ifunc.c: Likewise.
25095 * string/test-memcpy-ifunc.c: Likewise.
25096 * string/test-memmem-ifunc.c: Likewise.
25097 * string/test-memmove-ifunc.c: Likewise.
25098 * string/test-mempcpy-ifunc.c: Likewise.
25099 * string/test-memset-ifunc.c: Likewise.
25100 * string/test-rawmemchr-ifunc.c: Likewise.
25101 * string/test-stpcpy-ifunc.c: Likewise.
25102 * string/test-stpncpy-ifunc.c: Likewise.
25103 * string/test-strcasecmp-ifunc.c: Likewise.
25104 * string/test-strcasestr-ifunc.c: Likewise.
25105 * string/test-strcat-ifunc.c: Likewise.
25106 * string/test-strchr-ifunc.c: Likewise.
25107 * string/test-strchrnul-ifunc.c: Likewise.
25108 * string/test-strcmp-ifunc.c: Likewise.
25109 * string/test-strcpy-ifunc.c: Likewise.
25110 * string/test-strcspn-ifunc.c: Likewise.
25111 * string/test-strlen-ifunc.c: Likewise.
25112 * string/test-strncasecmp-ifunc.c: Likewise.
25113 * string/test-strncat-ifunc.c: Likewise.
25114 * string/test-strncmp-ifunc.c: Likewise.
25115 * string/test-strncpy-ifunc.c: Likewise.
25116 * string/test-strnlen-ifunc.c: Likewise.
25117 * string/test-strpbrk-ifunc.c: Likewise.
25118 * string/test-strrchr-ifunc.c: Likewise.
25119 * string/test-strspn-ifunc.c: Likewise.
25120 * string/test-strstr-ifunc.c: Likewise.
25121
de54b33a
L
25122 * debug/Makefile (tests-ifunc): New variable.
25123 (tests): Add $(tests-ifunc).
25124 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25125 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25126 * debug/test-stpcpy_chk-ifunc.c: New file.
25127 * debug/test-strcpy_chk-ifunc.c: Likewise.
25128
88481c16
SP
251292012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25130
25131 [BZ #13601]
25132 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25133 header is not read in.
25134
135948bd
JM
251352012-10-19 Joseph Myers <joseph@codesourcery.com>
25136
89f1c388
JM
25137 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25138 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25139 directly. Pass built executable to script as
25140 $(built-program-cmd).
25141 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25142 $testprogram without using LD_LIBRARY_PATH and $ldso.
25143
e40a0d21
JM
25144 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25145 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25146 $(rtld-installed-name).
25147 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25148 (rtld_installed_name): Likewise.
25149 (library_path): Likewise.
25150 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25151 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25152 $(run-program-prefix) to tst-tables.sh.
25153 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25154 it to run tst-table-from and tst-table-to.
25155 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25156 Pass it to tst-table.sh.
25157 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25158 $(run-program-prefix) to tst-gettext.sh.
25159 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25160 tst-translit.sh.
25161 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25162 tst-gettext2.sh.
25163 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25164 to run tst-gettext.
25165 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25166 to run tst-gettext2.
25167 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25168 to run tst-translit.
25169 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25170 $(run-program-prefix) to tst-mtrace.sh.
25171 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25172 to run tst-mtrace.
25173 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25174 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25175 $(rtld-installed-name).
25176 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25177 (rtld_installed_name): Likewise.
25178 (run_program_prefix): New variable. Use it to run wordexp-test.
25179
728e272a
JM
25180 * Makeconfig (ARCH): Remove all definitions.
25181 (machine): Likewise.
25182 [ARCH]: Remove conditional code.
25183 [!objdir]: Give error.
25184 [!objdir] (objpfx): Remove.
25185 [!objdir] (common-objpfx): Likewise.
25186 [!objdir] (common-objdir): Likewise.
25187 * configure.in (config_makefile): Remove. Hardcode Makefile in
25188 AC_CONFIG_FILES call.
25189 * configure: Regenerated.
25190
d528cdcf
JM
25191 [BZ #13888]
25192 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25193 or TMPDIR.
25194 (testout): Likewise.
25195
135948bd
JM
25196 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25197 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25198 $(rtld-installed-name).
25199 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25200 (rtld_installed_name): Likwise.
25201 (runit): Remove function.
25202 (run_getconf): New variable, Use it for running getconf binary.
25203
38c78296
L
252042012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25205
25206 [BZ #14716]
25207 * string/test-memmem.c (check_result): New function.
25208 (do_one_test): Use it.
25209 (check1): New function.
25210 (test_main): Use it.
25211
d077f65f
MT
252122012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25213
25214 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25215
ced52c71
JM
252162012-10-18 Joseph Myers <joseph@codesourcery.com>
25217
25218 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25219 (_G_LSEEK64): Likewise.
25220 (_G_MMAP64): Likewise.
25221 (_G_FSTAT64): Likewise.
25222 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25223 (_G_LSEEK64): Likewise.
25224 (_G_MMAP64): Likewise.
25225 (_G_FSTAT64): Likewise.
25226 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25227 unconditional. Call __mmap64 directly.
25228 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25229 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25230 __lseek64 directly.
25231 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25232 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25233 __mmap64 directly.
25234 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25235 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25236 __lseek64 directly.
25237 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25238 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25239 __lseek64 directly.
25240 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25241 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25242 __lseek64 directly.
25243 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25244 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25245 __fxstat64 directly.
25246 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25247 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25248 unconditional.
25249 (freopen64) [!_G_OPEN64]: Remove conditional code.
25250 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25251 unconditional.
25252 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25253 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25254 unconditional.
25255 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25256 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25257 unconditional.
25258 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25259 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25260 unconditional.
25261 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25262 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25263 unconditional.
25264 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25265 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25266 unconditional.
25267 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25268 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25269 unconditional.
25270 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25271
b741de23
SP
252722012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25273
25274 [BZ #12140]
25275 * manual/memory.texi (Malloc Tunable Parameters): Add note
25276 about free list pointers overwriting some perturb bytes.
25277 Wording suggested by Roland McGrath.
25278
f9b9d9c9
JM
252792012-10-17 Joseph Myers <joseph@codesourcery.com>
25280
25281 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25282 (lgamma_test): Likewise.
25283 (tgamma_test): Likewise.
25284
172a631a
FW
252852012-10-16 Florian Weimer <fweimer@redhat.com>
25286
25287 [BZ #14700]
25288 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25289 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25290
e9f37252
MK
252912012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25292
25293 * NEWS: Mention BZ #14716.
25294 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25295 when removing AVAILABLE1_USES_J macro.
25296
d394eb74
L
252972012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25298
25299 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25300 (__bswap_64): __uint64_t for unsigned 64-bit int.
25301
ca38dc17
AS
253022012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25303
25304 * include/string.h (memmem): Declare libc hidden alias.
25305 * string/memmem.c (memmem): Define libc hidden alias.
25306 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25307 __read, __close instead of open, read, close.
25308
9a387d1f
L
253092012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25310
ac49ecaf
L
25311 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25312 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25313 global and hidden.
25314 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25315 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25316 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25317 Likewise.
25318 (__rawmemchr_sse2): Likewise.
25319 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25320 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25321 (__strchr_sse2): Likewise.
25322 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25323 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25324 (__strcasecmp_sse2): Likewise.
25325 (__strncasecmp_sse2): Likewise.
25326 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25327 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25328 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25329 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25330 (__strrchr_sse2): Likewise.
25331 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25332 ifunc-impl-list.c.
25333 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25334 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25335 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25336 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25337 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25338 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25339 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25340 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25341 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25342 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25343 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25344 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25345 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25346 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25347 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25348 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25349 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25350 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25351 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25352 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25353 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25354 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25355 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25356 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25357 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25358 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25359 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25360 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25361 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25362 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25363
b090e8ea
L
25364 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25365 global and hidden.
25366 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25367 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25368 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25369 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25370 Likewise.
25371 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25372 Likewise.
25373 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25374 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25375 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25376 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25377 ifunc-impl-list.c.
25378 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25379 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25380 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25381 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25382 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25383 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25384 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25385 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25386 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25387 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25388 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25389 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25390 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25391 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25392 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25393 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25394 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25395 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25396 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25397 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25398 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25399 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25400 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25401 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25402 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25403 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25404 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25405 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25406 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25407 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25408 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25409 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25410 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25411 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25412 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25413 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25414 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25415 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25416 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25417 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25418 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25419
11dd4af6
L
25420 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25421 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25422 * include/ifunc-impl-list.h: New file.
25423 * misc/ifunc-impl-list.c: Likewise.
25424 * misc/Makefile (routines): Add ifunc-impl-list.
25425 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25426 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
25427 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25428 TEST_NAME]: New variables.
11dd4af6
L
25429 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25430 are defined.
25431 (test_init): Call __libc_ifunc_impl_list to initialize
25432 func_list if TEST_IFUNC and TEST_NAME are defined.
25433
9a387d1f
L
25434 * string/Makefile (strop-tests): Add bcopy and bzero.
25435 * string/test-bcopy.c: New file.
25436 * string/test-bzero.c: Likewise.
25437 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25438 defined.
25439 * string/test-memset.c: Support bzero test if TEST_BZERO is
25440 defined.
25441 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25442 __libc_memmove.
25443 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25444 __libc_memset.
25445 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25446 of memset.
25447
472371b9
JM
254482012-10-10 Joseph Myers <joseph@codesourcery.com>
25449
1e4a9536
JM
25450 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25451 * configure: Regenerated.
25452
d173d12e
JM
25453 * Makeconfig (+link-static-before-libc): Don't include
25454 $(link-static-libc).
25455
472371b9
JM
25456 * libio/libio.h (_IO_pos_t): Remove.
25457
89a3ad0b
AO
254582012-10-10 Alexandre Oliva <aoliva@redhat.com>
25459
25460 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25461 McGrath.
25462
e7451425
AO
254632012-10-10 Alexandre Oliva <aoliva@redhat.com>
25464
25465 * crypt/crypt-entry.c: Include fips-private.h.
25466 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25467 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25468 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25469 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25470
4ba74a35
AO
254712012-10-10 Alexandre Oliva <aoliva@redhat.com>
25472
25473 * crypt/crypt-private.h: Include stdbool.h.
25474 (_ufc_setup_salt_r): Return bool.
25475 * crypt/crypt-entry.c: Include errno.h.
25476 (__crypt_r): Return NULL with EINVAL for bad salt.
25477 * crypt/crypt_util.c (bad_for_salt): New.
25478 (_ufc_setup_salt_r): Check that salt is long enough and within
25479 the specified alphabet.
25480 * crypt/badsalttest.c: New file.
25481 * crypt/Makefile (tests): Add it.
25482 ($(objpfx)badsalttest): New.
25483
f96f1242
MK
254842012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25485
25486 * NEWS: Add entry for BZ #14602.
25487
0e8e0c1c
JM
254882012-10-09 Joseph Myers <joseph@codesourcery.com>
25489
25490 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25491 type-generic.
25492 * math/libm-test.inc: Update comment listing what functions and
25493 macros are tested.
25494 (isgreater_test): New function.
25495 (isgreaterequal_test): Likewise.
25496 (isless_test): Likewise.
25497 (islessequal_test): Likewise.
25498 (islessgreater_test): Likewise.
25499 (isunordered_test): Likewise.
25500 (main): Call the new functions.
25501
273edc5e
RM
255022012-10-09 Roland McGrath <roland@hack.frob.com>
25503
b8493de0
RM
25504 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25505 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25506 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25507 * sysdeps/i386/configure: Regenerated.
25508 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25509 * sysdeps/mach/configure: Regenerated.
25510 * sysdeps/mach/hurd/configure: Regenerated.
25511 * sysdeps/powerpc/configure: Regenerated.
25512 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25513 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25514 * sysdeps/s390/s390-32/configure: Regenerated.
25515 * sysdeps/s390/s390-64/configure: Regenerated.
25516 * sysdeps/sh/configure: Regenerated.
25517 * sysdeps/sparc/configure: Regenerated.
25518 * sysdeps/unix/sysv/linux/configure: Regenerated.
25519 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25520 * sysdeps/x86_64/configure: Regenerated.
25521
273edc5e
RM
25522 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25523 defined. Don't check if MAP is NULL.
25524
c8450f70
JM
255252012-10-09 Joseph Myers <joseph@codesourcery.com>
25526
25527 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25528 (_G_stat64): Likewise.
25529 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25530 (_G_stat64): Likewise.
25531 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25532 instead of struct _G_stat64.
25533 * libio/fileops.c (mmap_remap_check): Likewise.
25534 (decide_maybe_mmap): Likewise.
25535 (_IO_new_file_seekoff): Likewise.
25536 (_IO_file_stat): Likewise.
25537 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25538 _G_off64_t.
25539 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25540 instead of struct _G_stat64.
25541 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25542
57e605ba
MK
255432012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25544
25545 [BZ #14602]
25546 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25547 Replace with ...
25548 (CHECK_EOL): New macro.
25549 (two_way_short_needle): Check beginning of haystack for EOL. Use
25550 CHECK_EOL.
25551 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25552 Replace with CHECK_EOL.
25553 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25554 Replace with CHECK_EOL.
25555
ef1bb361
JM
255562012-10-08 Joseph Myers <joseph@codesourcery.com>
25557
25558 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25559 type-generic.
25560 * math/libm-test.inc: Update comment listing what functions and
25561 macros are tested.
25562 (finite_test): New function.
25563 (isinf_test): Likewise.
25564 (isnan_test): Likewise.
25565 (fpclassify_test): Test subnormal input.
25566 (isfinite_test): Likewise.
25567 (isnormal_test): Likewise.
25568 (main): Call the new functions.
25569
55f11534
JN
255702012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25571
25572 [BZ #14660]
25573 * Makerules (%.dynsym): Force C locale when running
25574 $(OBJDUMP) --dynamic-syms.
25575
1ab29350
AS
255762012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25577
25578 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25579 <stdint.h>.
25580
f1ecb7ef
DM
255812012-10-06 David S. Miller <davem@davemloft.net>
25582
25583 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25584 upper 32-bits of the length value in %o2 since we use branch-on-register
25585 tests which consider the entire 64-bit register.
25586
5d41d91a
L
255872012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25588
25589 * string/test-strstr.c (check2): Add a test for page boundary.
25590
3baddb72
DM
255912012-10-05 David S. Miller <davem@davemloft.net>
25592
25593 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25594 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25595 file.
25596 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25597 sysdep_routines.
25598 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25599 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25600 and bzero when HWCAP_SPARC_CRYPTO is present.
25601
9cee5585
L
256022012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25603
d7e0dab9
L
25604 [BZ #14602]
25605 * string/test-strstr.c (check2): New function.
25606 (test_main): Call check2.
25607
03759f47
L
25608 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25609 and bug-strchr1.
25610 * string/bug-strcasestr1.c (do_test): Moved to ...
25611 * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
25617 * string/test-strchr.c (check1): Here. New function.
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-strstr1.c (main): Moved to ...
046f153e 25623 * string/test-strstr.c (check1): Here. New function.
03759f47
L
25624 (do_one_test): Break out result checking code into ...
25625 (check_result): This. New function.
25626 (do_one_test): Call check_result.
25627 (test_main): Call check1.
25628 * string/bug-strcasestr1.c: Removed.
25629 * string/bug-strchr1.c: Likewise.
25630 * string/bug-strstr1.c: Likewise.
25631
53cea63e
L
25632 * elf/Makefile (dl-routines): Add hwcaps.
25633 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25634 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25635 (_dl_important_hwcaps): Moved to ...
25636 * elf/dl-hwcaps.c: Here. New file.
25637 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25638
9cee5585 25639 [BZ #14557]
bb859b06
L
25640 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25641 if IS_IN_rtld isn't defined.
25642
9cee5585
L
25643 * elf/dl-support.c (_dl_sysinfo_map): New.
25644 Include "get-dynamic-info.h" and "setup-vdso.h".
25645 (_dl_non_dynamic_init): Call setup_vdso.
25646 * elf/dynamic-link.h: Don't include <assert.h>.
25647 (elf_get_dynamic_info): Moved to ...
25648 * elf/get-dynamic-info.h: Here. New file.
25649 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25650 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25651 * elf/setup-vdso.h: Here. New file.
25652 * elf/rtld.c: Include "setup-vdso.h".
25653 (dl_main): Call setup_vdso.
25654
23c31b76
JM
256552012-10-05 Joseph Myers <joseph@codesourcery.com>
25656
28234b07
JM
25657 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25658 creal in comment listing functions tested. List finite, isinf,
25659 isnan, isless, islessequal, isgreater, isgreaterequal,
25660 islessgreater, isunordered, lgamma_r and pow10 as functions and
25661 macros not tested. Mention which functions not tested are aliases
25662 for other functions. Fix typo. Note that signs of NaNs are not
25663 tested.
25664
23c31b76
JM
25665 * scripts/config.guess: Update from config.git.
25666 * scripts/config.sub: Likewise.
25667
9043e228
RM
256682012-10-04 Roland McGrath <roland@hack.frob.com>
25669
25670 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25671 * misc/madvise.c (madvise): Renamed to __madvise.
25672 Make madvise a weak alias.
25673 * include/sys/mman.h: Declare __madvise.
25674 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25675 * sysdeps/unix/syscalls.list
25676 (madvise): Make __madvise the strong name, and madvise a weak alias.
25677 * sysdeps/unix/sysv/linux/syscalls.list
25678 (madvise, mmap): Remove redundant entries.
25679 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25680 * malloc/malloc.c (mtrim): Likewise.
25681 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25682
f57f8055
RM
256832012-10-03 Roland McGrath <roland@hack.frob.com>
25684
25685 * sysdeps/mach/hurd/dl-cache.c: File removed.
25686 * config.h.in (USE_LDCONFIG): New #undef.
25687 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25688 * configure: Regenerated.
25689 * elf/Makefile (dl-routines): Add dl-cache only under
25690 [$(use-ldconfig) = yes].
25691 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25692 cache on [USE_LDCONFIG].
25693 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25694 [USE_LDCONFIG].
25695 * elf/rtld.c (dl_main): Likewise.
25696
5bb0c10a
PT
256972012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25698
25699 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25700 _SC_LEVEL4_CACHE_LINESIZE.
25701
010188c6
RM
257022012-10-03 Roland McGrath <roland@hack.frob.com>
25703
25704 * sysdeps/unix/bsd/confstr.h: File removed.
25705
b6c5ec07
AO
257062012-10-02 Alexandre Oliva <aoliva@redhat.com>
25707
25708 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25709 sys/sdt-config.h.
25710
408223d4
RM
257112012-10-02 Roland McGrath <roland@hack.frob.com>
25712
25713 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25714 Make 'mapoff' field ElfW(Off) rather than off_t.
25715
bb9510dc
DL
257162012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25717
fc997c6e
DL
25718 * nscd/Makefile: Remove nscd-cflags and all its users.
25719 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25720 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25721
bb9510dc
DL
25722 [BZ #10631]
25723 * malloc.c (malloc_printerr): Clarify error message.
25724
05699367
L
257252012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25726
25727 [BZ #14648]
25728 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25729 Set bit_FMA_Usable if FMA is supported.
25730 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25731 macro.
25732 (bit_FMA4_Usable): Updated.
25733 (index_FMA_Usable): New macro.
25734 (CPUID_FMA): Likewise
25735 (HAS_FMA): Defined with bit_FMA_Usable.
25736
51367701
RM
257372012-10-01 Roland McGrath <roland@hack.frob.com>
25738
25739 * bits/types.h (__swblk_t): Type removed.
25740 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25741 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25742 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25743 (__SWBLK_T_TYPE): Likewise.
25744 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25745 (__SWBLK_T_TYPE): Likewise.
25746 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25747 (__SWBLK_T_TYPE): Likewise.
25748 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25749 (__SWBLK_T_TYPE): Likewise.
25750
4d57bf63 257512012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 25752 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
25753
25754 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25755 (xdr_mapname): Use YPMAXMAP as maxsize.
25756 (xdr_peername): Use YPMAXPEER as maxsize.
25757 (xdr_keydat): Use YPAXRECORD as maxsize.
25758 (xdr_valdat): Use YPMAXRECORD as maxsize.
25759
93c65d43
RM
257602012-10-01 Roland McGrath <roland@hack.frob.com>
25761
497a03d6
RM
25762 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25763
93c65d43
RM
25764 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25765 * csu/init-first.c: ... here.
25766 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25767 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25768 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25769 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25770 * sysdeps/i386/init-first.c: File removed.
25771 * sysdeps/sh/init-first.c: File removed.
25772
bec749fd
JM
257732012-10-01 Joseph Myers <joseph@codesourcery.com>
25774
25775 [BZ #14645]
25776 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25777 if x * y might underflow to zero and z is zero.
25778 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25779 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25780 * math/libm-test.inc (min_subnorm_value): New variable.
25781 (fma_test): Add more tests.
25782 (fma_test_towardzero): Likewise.
25783 (fma_test_downward): Likewise
25784 (fma_test_upward): Likewise.
25785 (initialize): Set min_subnorm_value.
25786
8ec5b013
JM
257872012-09-29 Joseph Myers <joseph@codesourcery.com>
25788
25789 [BZ #14638]
25790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25791 0 + 0.
25792 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25793 mode for addition resulting in exact zero.
25794 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25795 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25796 exact 0 + 0.
25797 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25798 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25799 * math/libm-test.inc (fma_test): Add more tests.
25800 (fma_test_towardzero): New function.
25801 (fma_test_downward): Likewise.
25802 (fma_test_upward): Likewise.
25803 (main): Call the new functions.
25804
b1fa802e
DM
258052012-09-28 David S. Miller <davem@davemloft.net>
25806
25807 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25808
d3b9fd9e
RM
258092012-09-28 Roland McGrath <roland@hack.frob.com>
25810
ea4d37b3
RM
25811 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25812 instead of SIGALRM.
25813
ac51c949
RM
25814 * sysdeps/gnu/_G_config.h: Moved to ...
25815 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25816 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25817 * sysdeps/generic/_G_config.h: ... here.
25818
28c195f7
RM
25819 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25820
848917f9
RM
25821 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25822
6bacf05b
RM
25823 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25824 Conditionalize target on [libnss_test1.so-version].
25825
91363dbb
RM
25826 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25827
cc87f7d8
RM
25828 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25829 (elfobjdir): Move out of conditionals.
25830
b1c608fe
RM
25831 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25832 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25833 (__nss_lookup_function): Conditionalize label remove_from_tree on
25834 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 25835
1d9a6d96
DM
258362012-09-28 David S. Miller <davem@davemloft.net>
25837
25838 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25839 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25840 file.
25841 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25842 sysdep_routines.
25843 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25844 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25845 when HWCAP_SPARC_CRYPTO is present.
25846
72581615
PT
258472012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25848
25849 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25850
715a900c
JL
258512012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25852
25853 [BZ #6530]
25854 * stdio-common/vfprintf.c (process_string_arg): Revert
25855 2000-07-22 change.
25856
258572011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25858
25859 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25860 for testcase.
25861 * stdio-common/tst-sprintf.c: Include <locale.h>
25862 (main): Test sprintf's handling of incomplete multibyte
25863 characters.
25864
9bac1d86
L
258652012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25866
25867 * elf/dl-runtime.c (VERSYMIDX): Removed.
25868 * elf/dl-version.c (VERSYMIDX): Likewise.
25869 * elf/do-rel.h (VERSYMIDX): Likewise.
25870 (VALIDX): Likewise.
25871 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25872 * elf/rtld.c (VALIDX): Likewise.
25873 (ADDRIDX): Likewise.
9bac1d86
L
25874 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25875 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25876 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
25877 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25878 (VALIDX): Likewise.
25879 (ADDRIDX): Likewise.
9bac1d86 25880
b31606c0
PT
258812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25882
25883 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25884
11541177
JL
258852012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25886
25887 [BZ #11438]
25888 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25889 to global scope.
25890 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25891 addresses are in the same scope as 192.0.2/24.
25892 * posix/gai.conf: Document new scope table defaults.
25893
adb26fae
SP
258942012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25895
25896 [BZ #5298]
25897 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25898 for ftell. Compute offsets from write pointers instead.
25899 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25900
4573c6b0
SP
259012012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25902
25903 [BZ #14543]
25904 * libio/Makefile (tests): New test case tst-fseek.
25905 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25906 combination works in wide mode.
25907 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25908 state when the external buffer state changes.
25909
aa9bbfe6
DM
259102012-09-27 David S. Miller <davem@davemloft.net>
25911
25912 [BZ #14376]
25913 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25914 pass reloc->r_addend in as the 'high' argument to
25915 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25916
784421e7
DM
25917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25918
c39bc8b8
PT
259192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25920
25921 * rt/tst-aio2.c: Include <pthread.h>.
25922 * rt/tst-aio3.c: Likewise.
25923
1ccc2399
SE
259242012-09-27 Steve Ellcey <sellcey@mips.com>
25925
25926 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25927
31ed4153
L
259282012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25929
25f5f885
L
25930 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25931 contents on [SHARED].
31ed4153 25932
b7bfe116
MP
259332012-09-26 Marek Polacek <polacek@redhat.com>
25934
25935 [BZ #14530]
25936 [BZ #13741]
25937 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25938 for C++ and GCC <4.3 as well as for non GCC compilers.
25939
43c4edba
MT
259402012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25941
25942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25943
6a1bf82f
RM
259442012-09-25 Roland McGrath <roland@hack.frob.com>
25945
25946 * Makefile.in (all, install): Declare with .PHONY.
25947 Reported by Michael Hope <michael.hope@linaro.org>.
25948
8ad11b9a
TMQMF
259492012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25950
25951 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25952 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25953 system header.
25954 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25955 Likewise.
25956 (sydep_routines): Add the new and the internal functions.
25957 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25958 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25960 (GLIBC_2.17): Add the new function.
25961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25962 (GLIBC_2.17): Likewise.
25963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25964 (GLIBC_2.17): Likewise.
25965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25966 (GLIBC_2.17): Likewise.
25967 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25968
7e2fca8d
AM
259692012-09-25 Alan Modra <amodra@gmail.com>
25970
25971 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25972 Add release barrier before setting once_control to say
25973 initialisation is done. Add hints on lwarx. Use macro in
25974 place of isync.
25975 (clear_once_control): Add release barrier.
25976
b87c4b24
JM
259772012-09-25 Joseph Myers <joseph@codesourcery.com>
25978
d032e0d2
JM
25979 [BZ #13629]
25980 * math/s_clog.c (__clog): Handle more values close to |z| = 1
25981 specially.
25982 * math/s_clog10.c (__clog10): Likewise.
25983 * math/s_clog10f.c (__clog10f): Likewise.
25984 * math/s_clog10l.c (__clog10l): Likewise.
25985 * math/s_clogf.c (__clogf): Likewise.
25986 * math/s_clogl.c (__clogl): Likewise.
25987 * math/Makefile (libm-calls): Add x2y2m1.
25988 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25989 (__x2y2m1): Likewise.
25990 (__x2y2m1l): Likewise.
25991 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25992 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25993 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25994 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25995 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25996 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25997 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25998 * sysdeps/i386/fpu/libm-test-ulps: Update.
25999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26000
b87c4b24
JM
26001 [BZ #14621]
26002 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26003 int as type of variable DEPTH.
26004 (glob): Use size_t instead of int as type of variables NEWCOUNT
26005 and OLD_PATHC.
26006
6d3bf199
LD
260072012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26008
22bf5c17
LD
26009 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26010 Add s_sincosf-sse2.
26011 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26012 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26013 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26014 macros for using routine as __sincosf_ia32.
26015 Use macro for function declaration and weak_alias.
26016 * sysdeps/i386/fpu/libm-test-ulps: Update.
26017
26018 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26019 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26020
26021 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
26022 subnormal argument.
26023 * math/s_cexpf.c (__cexpf): Likewise.
26024 * math/s_csinf.c (__csinf): Likewise.
26025 * math/s_csinhf.c (__csinhf): Likewise.
26026 * math/s_ctanf.c (__ctanf): Likewise.
26027 * math/s_ctanhf.c (__ctanhf): Likewise.
26028 * math/s_ccosh.c (__ccoshf): Likewise.
26029 * math/s_cexp.c (__cexpl): Likewise.
26030 * math/s_csin.c (__csin): Likewise.
26031 * math/s_csinh.c (__csinh): Likewise.
26032 * math/s_ctan.c (__ctan): Likewise.
26033 * math/s_ctanh.c (ctanh): Likewise.
26034 * math/s_ccoshl.c (__ccoshl): Likewise.
26035 * math/s_cexpl.c (__cexpl): Likewise.
26036 * math/s_csinl.c (__csinl): Likewise.
26037 * math/s_csinhl.c (__csinhl): Likewise.
26038 * math/s_ctanl.c (__ctanl): Likewise.
26039 * math/s_ctanhl.c (__ctanhl): Likewise.
26040
203e5603
JM
260412012-09-25 Joseph Myers <joseph@codesourcery.com>
26042
26043 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26044 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26045 (_IO_off_t): Define to __off_t, not _G_off_t.
26046 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26047 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26048 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26049 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26050 type of __dummy and __dummy2 fields.
26051 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26052 (_G_ssize_t): Likewise.
26053 (_G_off_t): Likewise.
26054 (_G_pid_t): Likewise.
26055 (_G_uid_t): Likewise.
26056 (_G_wchar_t): Likewise.
26057 (_G_wint_t): Likewise.
26058 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26059 (_G_ssize_t): Likewise.
26060 (_G_off_t): Likewise.
26061 (_G_pid_t): Likewise.
26062 (_G_uid_t): Likewise.
26063 (_G_wchar_t): Likewise.
26064 (_G_wint_t): Likewise.
26065 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26066 (_G_ssize_t): Likewise.
26067 (_G_off_t): Likewise.
26068 (_G_pid_t): Likewise.
26069 (_G_uid_t): Likewise.
26070 (_G_wchar_t): Likewise.
26071 (_G_wint_t): Likewise.
26072
9fab36eb
SP
260732012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26074
26075 * malloc/arena.c: Include malloc-sysdep.h.
26076 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26077 is sufficient to shrink the heap or an unmap is needed.
26078 * sysdeps/generic/malloc-sysdep.h: New file. Define
26079 new function check_may_shrink_heap.
26080 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26081 new function check_may_shrink_heap.
26082
2b4f00d1
SP
260832012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26084
26085 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26086 comments.
26087
9a9028b1
DL
260882012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26089
57c69bef
DL
26090 * catgets/test-gencat.sh: Add "set -e".
26091 * elf/tst-pathopt.sh: Likewise.
26092 * grp/tst_fgetgrent.sh: Likewise.
26093 * iconvdata/run-iconv-test.sh: Likewise.
26094 * intl/tst-gettext.sh: Likewise.
26095 * intl/tst-gettext2.sh: Likewise.
26096 * intl/tst-gettext4.sh: Likewise.
26097 * intl/tst-gettext6.sh: Likewise.
26098 * intl/tst-translit.sh: Likewise.
26099 * io/ftwtest-sh: Likewise.
26100 * libio/test-freopen.sh: Likewise.
26101 * malloc/tst-mtrace.sh: Likewise.
26102 * posix/globtest.sh: Likewise.
26103 * posix/tst-getconf.sh: Likewise.
26104 * posix/wordexp-tst.sh: Likewise.
26105 * stdio-common/tst-printf.sh: Likewise.
26106 * stdio-common/tst-unbputc.sh: Likewise.
26107 * stdlib/tst-fmtmsg.sh: Likewise.
26108 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26109 * catgets/Makefile: Do not specify -e option when running
26110 testsuite shell scripts.
26111 * elf/Makefile: Likewise.
26112 * grp/Makefile: Likewise.
26113 * iconvdata/Makefile: Likewise.
26114 * intl/Makefile: Likewise.
26115 * io/Makefile: Likewise.
26116 * libio/Makefile: Likewise.
26117 * malloc/Makefile: Likewise.
26118 * posix/Makefile: Likewise.
26119 * stdio-common/Makefile: Likewise.
26120 * stdlib/Makefile: Likewise.
26121 * sysdeps/x86_64/Makefile: Likewise.
26122
9a9028b1
DL
26123 * io/ftwtest-sh: Add copyright header.
26124 * posix/globtest.sh: Likewise.
26125 * posix/tst-getconf.sh: Likewise.
26126 * posix/wordexp-tst.sh: Likewise.
26127 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26128
ced6f16e
L
261292012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26130
94b32c39
L
26131 [BZ #13679]
26132 * Makeconfig (+link): Defined as $(+link-static) if
26133 $(build-shared) isn't yes.
26134 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26135 isn't yes.
26136 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26137
189e935b
L
26138 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26139
ced6f16e
L
26140 [BZ #14562]
26141 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26142 new chunk size with MALLOC_ALIGN_MASK.
26143
a9f8e53a
JM
261442012-09-24 Joseph Myers <joseph@codesourcery.com>
26145
26146 [BZ #5044]
26147 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26148 <rounding-mode.h>.
26149 (__printf_fphex): Determine rounding using get_rounding_mode and
26150 round_away.
26151 * stdio-common/tst-printf-round.c (struct hex_test): New
26152 structure.
26153 (hex_tests): New variable.
26154 (test_hex_in_one_mode): New function.
26155 (do_test): Also run tests for hex float output.
26156
43153109
JM
261572012-09-21 Joseph Myers <joseph@codesourcery.com>
26158
26159 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26160 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26161 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26162 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26163 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26164 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26165 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26166 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26167
8a26625d
JM
261682012-09-20 Joseph Myers <joseph@codesourcery.com>
26169
26170 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26171 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26172 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26173 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26174
f3fd569c
DL
261752012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26176
26177 [BZ #14579]
26178 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26179 mode only.
26180 * elf/tst-rtld-load-self.sh: New test.
26181 * elf/Makefile: Run it.
26182
63bbedd4
JM
261832012-09-18 Joseph Myers <joseph@codesourcery.com>
26184
26185 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26186 (tst-writev-ENV): Remove.
26187 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26188
626f8b6a
CM
261892012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26190
26191 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26192
b7aaa4d6
JM
261932012-09-17 Joseph Myers <joseph@codesourcery.com>
26194
26195 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26196 unconditional.
26197 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26198 Likewise.
26199 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26200 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26201 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26202 Likewise.
26203
65513990
L
262042012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26205
26206 [BZ #14587]
26207 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26208 * config.make.in (have-cpp-asm-debuginfo): Removed.
26209 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26210 * configure: Regenerated.
26211
784761be
JM
262122012-09-14 Joseph Myers <joseph@codesourcery.com>
26213
26214 [BZ #5044]
26215 * stdio-common/printf_fp.c: Include <stdbool.h> and
26216 <rounding-mode.h>.
26217 (___printf_fp): Determine rounding using get_rounding_mode and
26218 round_away.
26219 * stdio-common/tst-printf-round.c: New file.
26220 * stdio-common/Makefile (tests): Add tst-printf-round.
26221 (link-libm): New variable.
26222 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26223
9503345f
L
262242012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26225
26226 [BZ #14576]
26227 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26228 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26229 Likewise.
26230 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26231 Likewise.
26232
ad35fc00
JM
262332012-09-13 Joseph Myers <joseph@codesourcery.com>
26234
26235 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26236 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26237 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26238 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26239
6c9b0f68
JM
262402012-09-12 Joseph Myers <joseph@codesourcery.com>
26241
26242 [BZ #14518]
26243 * include/rounding-mode.h: New file.
26244 * sysdeps/generic/get-rounding-mode.h: Likewise.
26245 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26246 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26247 (MAX_VALUE): New macro.
26248 (MIN_VALUE): Likewise.
26249 (overflow_value): New function.
26250 (underflow_value): Likewise.
26251 (round_and_return): Use overflow_value and underflow_value to
26252 determine return values in overflow and underflow cases. Use
26253 round_away to determine rounding depending on rounding mode.
26254 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26255 determine return values in overflow and underflow cases.
26256 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26257 (struct test_results): New structure.
26258 (struct test): Use struct test_results to store expected results
26259 for all rounding modes.
26260 (TEST): Include expected results for all rounding modes.
26261 (test_in_one_mode): New function.
26262 (do_test): Use test_in_one_mode to compute and check results.
26263 Check results for all rounding modes.
26264 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26265 $(link-libm).
26266
19fcedd5
AM
262672012-12-09 Allan McRae <allan@archlinux.org>
26268
1e9d84cd 26269 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 26270
8bbfd2f1
JM
262712012-09-11 Joseph Myers <joseph@codesourcery.com>
26272
26273 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26274 (_G_int32_t): Likewise.
26275 (_G_uint16_t): Likewise.
26276 (_G_uint32_t): Likewise.
26277 (_G_HAVE_BOOL): Likewise.
26278 (_G_HAVE_ATEXIT): Likewise.
26279 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26280 (_G_HAVE_IO_FILE_OPEN): Likewise.
26281 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26282 (_G_int32_t): Likewise.
26283 (_G_uint16_t): Likewise.
26284 (_G_uint32_t): Likewise.
26285 (_G_HAVE_BOOL): Likewise.
26286 (_G_HAVE_ATEXIT): Likewise.
26287 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26288 (_G_HAVE_IO_FILE_OPEN): Likewise.
26289 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26290 (_G_int32_t): Likewise.
26291 (_G_uint16_t): Likewise.
26292 (_G_uint32_t): Likewise.
26293 (_G_HAVE_BOOL): Likewise.
26294 (_G_HAVE_ATEXIT): Likewise.
26295 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26296 (_G_HAVE_IO_FILE_OPEN): Likewise.
26297
b1dc5912
L
262982012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26299
26300 * csu/libc-tls.c: Update copyright years.
26301
0e886ef9
JM
263022012-09-10 Joseph Myers <joseph@codesourcery.com>
26303
28361c5e
JM
26304 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26305 [!_G_USING_THUNKS]: Remove conditional code.
26306 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26307 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26308
0e886ef9
JM
26309 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26310 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26311 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26312 (_G_VTABLE_LABEL_PREFIX): Likewise.
26313 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26314 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26315 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26316 (_G_VTABLE_LABEL_PREFIX): Likewise.
26317 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26318 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26319 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26320 (_G_VTABLE_LABEL_PREFIX): Likewise.
26321 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26322
bcba7aa2
L
263232012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26324
26325 * libio/Makefile: Include ../Makeconfig before tests.
26326 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26327 only if $(build-shared) is yes.
26328
06585ee8
L
26329 * iconv/gconv_db.c: Update copyright years.
26330
80ccd52c
LD
263312012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26332
26333 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26334 unwind info if defined PIC. Fix special cases description.
26335 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26336
26337 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26338 DP_HI_MASK entry.
26339 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26340
691bc9c1
L
263412012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26342
3d9b46b3
L
26343 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26344
de2139a9
L
26345 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26346 is NULL.
26347
5ca78dd0
L
26348 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26349 (LDLIBS-tst-chk4): This.
26350 (LDFLAGS-tst-chk5): Renamed to ...
26351 (LDLIBS-tst-chk5): This.
26352 (LDFLAGS-tst-chk6): Renamed to ...
26353 (LDLIBS-tst-chk6): This.
26354 (LDFLAGS-tst-lfschk4): Renamed to ...
26355 (LDLIBS-tst-lfschk4): This.
26356 (LDFLAGS-tst-lfschk5): Renamed to ...
26357 (LDLIBS-tst-lfschk5): This.
26358 (LDFLAGS-tst-lfschk6): Renamed to ...
26359 (LDLIBS-tst-lfschk6): This.
26360
691bc9c1
L
26361 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26362 on $(common-objpfx)soversions.mk.
26363
65cafb1c
JM
263642012-09-07 Joseph Myers <joseph@codesourcery.com>
26365
26366 [BZ #10014]
26367 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26368 example host name.
26369
c78ab094
SP
263702012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26371
26372 * malloc/arena.c (arena_get_retry): New function that gets
26373 another arena for the caller to try its request on.
26374 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26375 current arena cannot fulfill the request.
26376 (__libc_memalign): Likewise.
26377 (__libc_memalign): Likewise.
26378 (__libc_pvalloc): Likewise.
26379 (__libc_calloc): Likewise.
26380
01f49f59
JT
263812012-09-05 John Tobey <john.tobey@gmail.com>
26382
26383 [BZ #13542]
26384 * manual/arith.texi (Operations on Complex): Fix description
26385 of carg branch cut.
26386
4c23fed5
JM
263872012-09-06 Joseph Myers <joseph@codesourcery.com>
26388
1d3c8572
JM
26389 [BZ #10014]
26390 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26391 host name.
26392
4c23fed5
JM
26393 [BZ #10038]
26394 * manual/memory.texi (Memory): Make order of menu items match
26395 order of sections.
26396
04570aaa
L
263972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26398
26399 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26400 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26401 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26402
b80af2f4
L
264032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26404
26405 * csu/libc-tls.c (static_dtv): Renamed to ...
26406 (_dl_static_dtv): This. Make it global.
26407 (_dl_initial_dtv): Removed.
26408 (__libc_setup_tls): Updated.
26409 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26410 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26411 DL_INITIAL_DTV.
26412
2abe9f15
PM
264132012-09-06 Petr Machata <pmachata@redhat.com>
26414
26415 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26416 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26417 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26418 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26419
0948c3af
L
264202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26421
26422 [BZ #14545]
26423 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26424 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26425 freeing dtv[-1].
26426
a5055ad1
L
264272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26428
26429 [BZ #14544]
26430 * Makeconfig (link-static-before-libc): Replace $(+prector)
26431 with $(+prectorT).
26432 (link-static-after-libc): Replace $(+postctor) with
26433 $(+postctorT).
26434 (link-bounded): Replace $(+prector)/$(+postctor) with
26435 $(+prectorT)/$(+postctorT).
26436 (+prectorT): New macro.
26437 (+postctorT): Likewise.
26438
ed8c2ecd
JM
264392012-09-06 Joseph Myers <joseph@codesourcery.com>
26440
26441 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26442 (round_str): Handle values above the maximum for IBM long double
26443 as inexact.
26444 * stdlib/tst-strtod-round.c (tests): Regenerated.
26445
14c996c8
AK
264462012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26447
26448 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26449 assembler flag.
26450 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26451 zarch_nohighgprs around the zarch optimized routines.
26452 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26453 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26454 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26455 for zarch.
26456
430d6ce6
DM
264572012-09-05 David S. Miller <davem@davemloft.net>
26458
26459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26460
57f41c40
AS
26461 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26462 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
26463 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26464 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26465 entries.
26466
24d4e01b
AO
264672012-09-05 Alexandre Oliva <aoliva@redhat.com>
26468
26469 * malloc/arena.c: Fold copyright years.
26470 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26471
61d58174
AO
264722012-09-05 Alexandre Oliva <aoliva@redhat.com>
26473
26474 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26475
20196a5e
AO
264762012-09-05 Alexandre Oliva <aoliva@redhat.com>
26477
26478 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26479
5c447383
AO
264802012-09-05 Alexandre Oliva <aoliva@redhat.com>
26481
26482 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26483 change internal state upon failure.
26484
fad64255
AO
264852012-09-05 Alexandre Oliva <aoliva@redhat.com>
26486
26487 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26488 * malloc/memusage.c (mmap): Likewise.
26489 (mmap64, mremap): Likewise. Adjust name in comment.
26490
1ffb8c90
SP
264912012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26492
26493 * libio/fileops.c: Fix typos in comments.
26494 * libio/oldfileops.c: Likewise.
26495 * libio/wfileops.c: Likewise.
26496
6ef9cc37
SP
264972012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26498
26499 [BZ #1349]
26500 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26501 (tst-malloc-usable-ENV): Set environment for test case.
26502 * malloc/hooks.c (malloc_check_get_size): New function to get
26503 requested size.
26504 * malloc/malloc.c (musable): Use malloc_check_get_size.
26505 * malloc/tst-malloc-usable.c: New test case.
26506
4d038ae3
AS
265072012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26508
26509 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26510
c4e85184
AM
265112012-09-05 Allan McRae <allan@archlinux.org>
26512
b9dafc56 26513 [BZ #13966]
c4e85184
AM
26514 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26515 determine header location.
26516 * configure: Regenerated.
26517
e1343020
AS
265182012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26519
26520 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26521 float format.
26522 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
26523 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26524 format.
e1343020
AS
26525 (test): Regenerate.
26526
0a9f1987
DM
265272012-09-04 David S. Miller <davem@davemloft.net>
26528
26529 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26530 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26531 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26532
29237804
FW
265332012-09-04 Florian Weimer <fweimer@redhat.com>
26534
26535 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26536 failures.
26537
edb3cb88
FW
26538 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26539
60160d83
JM
265402012-09-04 Joseph Myers <joseph@codesourcery.com>
26541
26542 [BZ #9914]
26543 * libio/iogetdelim.c: Include <limits.h>.
26544 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26545 + len + 1 would overflow.
26546
bcd6c8dc
AJ
265472012-09-03 Andreas Jaeger <aj@suse.de>
26548
26549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26550 * sysdeps/i386/fpu/libm-test-ulps: Update.
26551
4ffffbd2
LD
265522012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26553
26554 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26555 Add s_sinf-sse2, s_conf-sse2.
26556
26557 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26558 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26559 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26560 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26561
26562 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26563 for using routine as __sinf_ia32.
26564 Use macro for function declaration and weak_alias.
26565 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26566 for using routine as __cosf_ia32.
26567 Use macro for function declaration and weak_alias.
26568
26569 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26570 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26571
26572 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26573 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26575
26576 * math/libm-test.inc (cos_test): Add more test cases.
26577 (sin_test): Likewise.
26578 (sincos_test): Likewise.
26579
511fa286
AK
265802012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26581
26582 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26583 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26584 hidden.
26585 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26586
5f30cfec
L
265872012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26588
26589 [BZ #14538]
26590 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26591 first element of the GOT.
26592 (elf_machine_load_address): Return the difference between
26593 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26594
0786794f
AM
265952012-09-01 Allan McRae <allan@archlinux.org>
26596
5f30cfec
L
26597 [BZ #13412]
26598 * configure.in (AWK): Require gawk version 3.0 or later.
26599 * configure: Regenerated.
0786794f 26600
26889eac
JM
266012012-09-01 Joseph Myers <joseph@codesourcery.com>
26602
26603 * sysdeps/unix/sysv/linux/kernel-features.h
26604 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26605 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26606 [__NR_clock_getres]: Make code unconditional.
26607 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26608 (clock_getcpuclockid): Remove code left unreachable by removal of
26609 conditionals.
26610 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26611 code unconditional.
26612 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26613 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26614 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26615 Make code unconditional.
26616 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26617 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26618 * sysdeps/unix/sysv/linux/clock_settime.c
26619 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26620 conditional code.
26621 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26622 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26623
d22e28b0
L
266242012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26625
26626 [BZ #14476]
26627 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26628 scripts/test-installation.pl.
26629
26630 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26631 and $ld_so_version if it is set.
26632
050af9c4
SP
266332012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26634
26635 [BZ #14516]
26636 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26637 failure if reading from procfs failed.
26638 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26639
ad845c0b
JM
266402012-08-27 Joseph Myers <joseph@codesourcery.com>
26641
26642 * sysdeps/unix/sysv/linux/kernel-features.h
26643 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26644 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26645 Remove conditional code.
26646 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26647 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26648 Remove conditional code.
26649 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26650 * sysdeps/unix/sysv/linux/i386/fxstat.c
26651 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26652 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26653 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26654 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26655 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26656 * sysdeps/unix/sysv/linux/i386/lxstat.c
26657 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26658 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26659 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26660 Remove conditional code.
26661 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26662 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26663 Remove conditional code.
26664 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26665 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26666 <kernel-features.h>.
26667 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26668 Remove.
26669 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26670 Remove conditional code.
26671 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26672 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26673 Remove conditional.
26674
5dbf56af
MF
266752012-08-27 Mike Frysinger <vapier@gentoo.org>
26676
26677 [BZ #5400]
26678 * NEWS: Add fixed bug number.
26679
d6e70f43
JM
266802012-08-27 Joseph Myers <joseph@codesourcery.com>
26681
7efb4737
JM
26682 [BZ #14519]
26683 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26684 underflowing exponent in case of negative sign.
26685 * stdlib/tst-strtod-round-data: Add more tests.
26686 * stdlib/tst-strtod-round.c (tests): Regenerated.
26687
af92131a
JM
26688 [BZ #3479]
26689 * stdlib/strtod_l.c (NDIG): Remove.
26690 (HEXNDIG): Likewise.
26691 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26692 smallest representable value.
26693 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26694 lie within an exact representation of 1/2 ulp of the result.
26695 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26696 unconditionally.
26697 (TENS_P9_IDX): Define unconditionally.
26698 (TENS_P9_SIZE): Likewise.
26699 (TENS_P10_IDX): Likewise.
26700 (TENS_P10_SIZE): Likewise.
26701 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26702 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26703 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26704 entries for 10^2^13 and 10^2^14.
26705 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26706 (TENS_P13_IDX): Define.
26707 (TENS_P13_SIZE): Likewise.
26708 (TENS_P14_IDX): Likewise.
26709 (TENS_P14_SIZE): Likewise.
26710 (_fpioconst_pow10): Change array size to
26711 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26712 unconditional.
26713 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26714 1024]: Add entries for 10^2^13 and 10^2^14.
26715 [LAST_POW10 > _LAST_POW10]: Remove #error.
26716 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26717 (_fpioconst_pow10): Change array size to
26718 FPIOCONST_POW10_ARRAY_SIZE.
26719 * stdlib/gen-fpioconst.c: New file.
26720 * stdlib/gen-tst-strtod-round.c: Likewise.
26721 * stdlib/tst-strtod-round-data: Likewise.
26722 * stdlib/tst-strtod-round.c: Likewise.
26723 * stdlib/Makefile (tests): Add tst-strtod-round.
26724
d6e70f43
JM
26725 [BZ #14459]
26726 * stdlib/strtod_l.c: Include <stdint.h>.
26727 (NDEBUG): Do not define.
26728 (round_and_return): Change EXPONENT parameter to type intmax_t.
26729 Rearrange calculations to avoid internal overflow possibilities.
26730 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26731 Rearrange calculations to avoid internal overflow possibilities.
26732 Assert that number fits inside MPNSIZE limbs.
26733 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26734 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26735 calculations and add assertions to avoid internal overflow
26736 possibilities. Add casts to avoid signed/unsigned operations.
26737 * stdlib/tst-strtod-overflow.c: New file.
26738 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26739
1f529f7d
MP
267402012-08-25 Marek Polacek <polacek@redhat.com>
26741
26742 * time/time.h: Fix some typos in comments.
26743
59a629f1
RM
267442012-08-23 Roland McGrath <roland@hack.frob.com>
26745
26746 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26747 * posix/tst-rfc3484-2.c: Likewise.
26748 * posix/tst-rfc3484-3.c: Likewise.
26749
d3bafbc9
SM
267502012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26751
26752 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26753 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26754
4efcc022
JM
267552012-08-23 Joseph Myers <joseph@codesourcery.com>
26756
26757 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26758 #include of fxstatat64.c.
26759
3cc3ef96
RM
267602012-08-22 Roland McGrath <roland@hack.frob.com>
26761
f04e2132
RM
26762 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26763 * shadow/getspent_r.c: Likewise.
26764 * shadow/getspnam.c: Likewise.
26765 * shadow/getspnam_r.c: Likewise.
26766 * gshadow/getsgent.c: Likewise.
26767 * gshadow/getsgent_r.c: Likewise.
26768 * gshadow/getsgnam.c: Likewise.
26769 * gshadow/getsgnam_r.c: Likewise.
26770 * inet/getnetbyad.c: Likewise.
26771 * inet/getnetbyad_r.c: Likewise.
26772 * inet/getnetbynm.c: Likewise.
26773 * inet/getnetbynm_r.c: Likewise.
26774 * inet/getnetent.c: Likewise.
26775 * inet/getnetent_r.c: Likewise.
26776 * inet/getproto.c: Likewise.
26777 * inet/getproto_r.c: Likewise.
26778 * inet/getprtent.c: Likewise.
26779 * inet/getprtent_r.c: Likewise.
26780 * inet/getprtname.c: Likewise.
26781 * inet/getprtname_r.c: Likewise.
26782 * inet/getrpcbyname.c: Likewise.
26783 * inet/getrpcbyname_r.c: Likewise.
26784 * inet/getrpcbynumber.c: Likewise.
26785 * inet/getrpcbynumber_r.c: Likewise.
26786 * inet/getrpcent.c: Likewise.
26787 * inet/getrpcent_r.c: Likewise.
26788 * inet/getaliasent.c: Likewise.
26789 * inet/getaliasent_r.c: Likewise.
26790 * inet/getaliasname.c: Likewise.
26791 * inet/getaliasname_r.c: Likewise.
26792 * nscd/getgrgid_r.c: Likewise.
26793 * nscd/getgrnam_r.c: Likewise.
26794 * nscd/gethstbyad_r.c: Likewise.
26795 * nscd/gethstbynm3_r.c: Likewise.
26796 * nscd/getpwnam_r.c: Likewise.
26797 * nscd/getpwuid_r.c: Likewise.
26798 * nscd/getsrvbynm_r.c: Likewise.
26799 * nscd/getsrvbypt_r.c: Likewise.
26800 * nscd/gai.c: Likewise.
26801
c53d909c
RM
26802 * configure.in (build_nscd): New substituted variable, set
26803 by --disable-build-nscd and defaults to $use_nscd.
26804 * configure: Regenerated.
26805 * config.make.in (build-nscd): New substituted variable.
26806 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26807 Change conditional to require [$(build-nscd) = yes] as well.
26808 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26809
3cc3ef96
RM
26810 [BZ# 13696]
26811 * configure.in (use_nscd): New substituted variable, set by
26812 --disable-nscd. If enabled, define USE_NSCD.
26813 * configure: Regenerated.
26814 * config.h.in: Add USE_NSCD.
26815 * config.make.in (use-nscd): New substituted variable.
26816 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26817 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26818 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26819 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26820 (CFLAGS-getgrnam_r.c): Likewise.
26821 (CFLAGS-initgroups.c): Likewise.
26822 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26823 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26824 Variables removed.
26825 * inet/getnetgrent_r.c
26826 (nscd_setnetgrent): New function, broken out of ...
26827 (setnetgrent): ... here. Call it.
26828 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26829 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26830 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26831 * nscd/Makefile (routines, aux): Move definitions after include of
26832 Makeconfig. Conditionalize on [$(use-nscd) != no].
26833 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26834 Conditionalize on [USE_NSCD].
26835 (is_nscd, nscd_init_cb): Likewise.
26836 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26837 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26838 * nss/nss_db/db-init.c: Likewise.
26839 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26840 [USE_NSCD].
26841 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26842 (make_request): Use it.
26843 (cache_valid_p): New function.
26844 (__check_pf): Use it.
26845 * NEWS: Add item for --disable-nscd.
26846
07e51550
DL
268472012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26848
26849 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26850 to support sed >= 4.2.1-20-ga9bf076.
26851 * configure: Regenerated.
26852
35a5b08b
RM
268532012-08-22 Roland McGrath <roland@hack.frob.com>
26854
26855 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26856 Conditionalize whole body on [IREL].
26857
8479f23a
JL
268582012-08-22 Jeff Law <law@redhat.com>
26859
26860 [BZ #14505]
26861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26862 if the family is PF_UNSPEC.
26863
48da0b21
MF
268642012-08-22 Mike Frysinger <vapier@gentoo.org>
26865
26866 * Makerules (lib-version): Rename from V.
26867 (install-lib-nosubdir): Change V to lib-version.
26868
15d0da8c
WS
268692012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26870
26871 [BZ #14252]
26872 * powerpc32/power6/wcschr.c: New file.
26873 * powerpc32/power6/wcscpy.c: New file.
26874 * powerpc32/power6/wcsrchr.c: New file.
26875 * powerpc64/power6/wcschr.c: New file.
26876 * powerpc64/power6/wcscpy.c: New file.
26877 * powerpc64/power6/wcsrchr.c: New file.
26878
bcca0895
MK
268792012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26880
26881 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26882 (two_way_short_needle): Use it.
5a4aaa33
RM
26883 * string/strstr.c (AVAILABLE1_USES_J): Define.
26884 * string/strcasestr.c: Likewise.
99677e57
MK
26885
26886 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26887 array references.
26888 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26889
400726de
MK
26890 [BZ #11607]
26891 * NEWS: Add an entry.
26892 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26893 define their defaults.
26894 (two_way_short_needle): Detect end-of-string on-the-fly.
26895 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26896 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26897 * string/bug-strcasestr1.c: New test.
26898 * string/Makefile: Run it.
26899
20a71f2c
MK
269002012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26901
26902 [BZ #11607]
26903 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26904 the first character.
26905
21ad0558
RM
269062012-08-21 Roland McGrath <roland@hack.frob.com>
26907
26908 * csu/elf-init.c (__libc_csu_irel): Function removed.
26909 * csu/libc-start.c (apply_irel): New function.
26910 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26911
0e1d9911
JM
269122012-08-21 Joseph Myers <joseph@codesourcery.com>
26913
26914 * sysdeps/unix/sysv/linux/kernel-features.h
26915 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26916 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26917 <kernel-features.h>.
26918 [__NR_fadvise64_64]: Make code unconditional.
26919 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26920 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26921 !__NR_fadvise64_64)]: Likewise.
26922 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26923 !__NR_fadvise64_64))]: Likewise.
26924 [__NR_fadvise64]: Make code unconditional.
26925 [!__NR_fadvise64]: Remove conditional code.
26926 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26927 <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/powerpc/powerpc32/posix_fadvise64.c: Do
26933 not 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 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26939 include <kernel-features.h>.
26940 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26941 unconditional.
26942 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26943 conditional code.
26944
14a50c9d
WS
269452012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26946
26947 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26948 slight instruction rearrangements per scrollpipe analysis.
26949 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26950
c0f4faf0
RM
269512012-08-20 Roland McGrath <roland@hack.frob.com>
26952
696da859
RM
26953 * manual/syslog.texi (syslog; vsyslog, closelog):
26954 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26955 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26956
c0f4faf0
RM
26957 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26958 DSOCAPS to match condition on defining it.
26959
348363b2
JM
269602012-08-20 Joseph Myers <joseph@codesourcery.com>
26961
a35cbf28
JM
26962 * sysdeps/unix/sysv/linux/kernel-features.h
26963 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26965 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26966 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26968 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26969 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26971 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26972 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26973
445f7ecd
JM
26974 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26975 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26976
348363b2
JM
26977 * sysdeps/unix/sysv/linux/kernel-features.h
26978 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26979 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26980 unconditional.
26981 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26982 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26983 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26984 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26985 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26986 Make code unconditional.
26987 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26988 (__mmap64) [!__NR_mmap2]: Likewise.
26989 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26990 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26991 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26992 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26993 [__NR_mmap2]: Make code unconditional.
26994 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26995 (__mmap64) [!__NR_mmap2]: Likewise.
26996
bc5bc0e5
AK
269972012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26998
26999 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27000
88d506de
AJ
270012012-08-18 Andreas Jaeger <aj@suse.de>
27002
27003 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27004
493387d2
MF
270052012-08-18 Mike Frysinger <vapier@gentoo.org>
27006
27007 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27008 * include/unistd.h (__have_sock_cloexec): Likewise.
27009 (__have_pipe2): Likewise.
27010 (__have_dup3): Likewise.
27011
a277af22
MF
270122012-08-18 Mike Frysinger <vapier@gentoo.org>
27013
27014 [BZ #9685]
27015 * include/unistd.h (__have_pipe2): Change define into an extern int.
27016 (__have_dup3): Likewise.
27017 * socket/have_sock_cloexec.c: Include fcntl.h.
27018 (__have_pipe2): New variable.
27019 (__have_dup3): Likewise.
27020
fdab8fd3
MF
270212012-08-17 Mike Frysinger <vapier@gentoo.org>
27022
27023 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27024
31035e80
MP
270252012-08-17 Marek Polacek <polacek@redhat.com>
27026
27027 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27028 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27029
3bd9e993
RM
270302012-08-17 Roland McGrath <roland@hack.frob.com>
27031
c91c505f
RM
27032 * configure.in: Add AC_SUBST for sysheaders.
27033 * configure: Regenerated.
27034 * config.make.in (sysheaders): New substituted variable.
27035
7c6f9d53
RM
27036 * sysdeps/unix/mkfifo.c: Moved ...
27037 * sysdeps/posix/mkfifo.c: ... here.
27038 * sysdeps/unix/mkfifoat.c: Moved ...
27039 * sysdeps/posix/mkfifoat.c: ... here.
27040
27041 * sysdeps/unix/utime.c: Moved ...
27042 * sysdeps/posix/utime.c: ... here.
27043
27044 * sysdeps/unix/time.c: Moved ...
27045 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
27046 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27047 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
27048
27049 * sysdeps/unix/nice.c: Moved ...
27050 * sysdeps/posix/nice.c: ... here.
27051
27052 * sysdeps/unix/alarm.c: Moved ...
27053 * sysdeps/posix/alarm.c: ... here.
27054
3bd9e993
RM
27055 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27056
d1f09384
JL
270572012-08-17 Jeff Law <law@redhat.com>
27058
27059 * intl/Makefile (codeset_mo): New variable.
27060 ($(codeset_mo)): New target.
27061 (tst-codeset.out): Depend on that. Remove explicit rule.
27062 (tst-gettext3.out, tst-gettext5.out): Likewise.
27063 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27064 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27065 * intl/tst-codeset.sh: Remove.
27066 * intl/tst-gettext3.sh: Likewise.
27067 * intl/tst-gettext5.sh: Likewise.
27068
2ae1ae5c
RM
270692012-08-17 Roland McGrath <roland@hack.frob.com>
27070
c31fdb83
RM
27071 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27072 * sysdeps/unix/syscalls.list: ... here.
27073
a0844057
RM
27074 * sysdeps/posix/getaddrinfo.c
27075 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27076 (gaiconf_init, gaiconf_reload): Use them.
27077 [!_STATBUF_ST_NSEC]
27078 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27079 Define using time_t rather than struct timespec.
27080
750c1f2a
RM
27081 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27082 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27083 Macros removed.
27084 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27085 [!NO_THREADS].
27086 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27087 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27088 Likewise.
27089
2ae1ae5c
RM
27090 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27091 __libc_cleanup_push argument.
27092
e66a42f5
RM
27093 * bits/param.h: New file.
27094 * misc/sys/param.h: New file.
27095 * include/sys/param.h: New file.
27096 * misc/Makefile (headers): Add bits/param.h.
27097 * sysdeps/generic/sys/param.h: File removed.
27098 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27099 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27100 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 27101 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 27102
b7c08a66
RM
27103 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27104 last change.
27105
b2e1c562
RM
27106 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27107 [_IO_MTSAFE_IO].
27108 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27109 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27110 New macros.
27111
c75ccd4c
RM
27112 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27113 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27114 rather than -D_IO_MTSAFE_IO conditionally.
27115 * stdio-common/Makefile (CPPFLAGS): Likewise.
27116 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27117 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27118 Use $(libio-mtsafe).
27119 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27120 of -D_IO_MTSAFE_IO.
27121 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27122 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27123 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27124 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27125 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27126 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27127 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27128 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27129 (CFLAGS-fread_u_chk.c): Likewise.
27130 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27131 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27132 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27133 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27134 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27135 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27136 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27137 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27138 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27139
27140 * libio/Makefile: Test [$(libc-reentrant) = yes]
27141 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27142
27143 * Makeconfig
27144 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27145 * sysdeps/pthread/configure: File removed.
27146 * sysdeps/pthread/Makeconfig: New file.
27147 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27148 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27149
d9195db8
GB
271502012-08-16 Gary Benson <gbenson@redhat.com>
27151
27152 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27153 unmapping the first object in a namespace.
27154
86466cd9
RM
271552012-08-16 Roland McGrath <roland@hack.frob.com>
27156
27157 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27158 (__internal_setnetgrent): ... this. Add internal_function to
27159 definition. Add libc_hidden_def.
27160 (setnetgrent): Update caller.
27161 (internal_endnetgrent): Renamed to ...
27162 (__internal_endnetgrent): ... this. Add internal_function to
27163 definition. Add libc_hidden_def.
27164 (endnetgrent): Update caller.
27165 (internal_getnetgrent_r): Renamed to ...
27166 (__internal_getnetgrent_r): ... this. Add internal_function to
27167 definition. Add libc_hidden_def.
27168 (__getnetgrent_r): Update caller.
27169 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27170
c3c8283c
JM
271712012-08-16 Joseph Myers <joseph@codesourcery.com>
27172
27173 * stdlib/longlong.h: Update from GCC.
27174
db1ee0a8
RM
271752012-08-16 Roland McGrath <roland@hack.frob.com>
27176
27177 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27178 on _QL, which is set by umul_ppmm but never used.
27179 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27180 variables, which are set by GMP macros but never used.
27181 * stdio-common/_itowa.c (_itowa): Likewise.
27182 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27183 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27184
30f69637
CD
271852012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27186
27187 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27188 struct La_sh_regs is not constant.
27189 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27190 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27191 and struct La_sparc64_regs are not constant.
27192
93a78ac4
JM
271932012-08-16 Joseph Myers <joseph@codesourcery.com>
27194
27195 * sysdeps/unix/sysv/linux/kernel-features.h
27196 (__ASSUME_POSIX_TIMERS): Remove.
27197 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27198 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27199 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27200 Make code unconditional.
27201 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27202 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27203 Make code unconditional.
27204 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27205 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27206 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27207 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27208 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27209 Make code unconditional.
27210 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27211 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27212 (__libc_missing_posix_timers): Remove.
27213
dd924cd7
RM
272142012-08-15 Roland McGrath <roland@hack.frob.com>
27215
4b4f2771
RM
27216 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27217 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27218
601c888b
RM
27219 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27220
176790a7
RM
27221 * elf/dl-sym.c: Include <stdlib.h>.
27222
329bc018
RM
27223 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27224 constants, which avoids warnings in 32-bit builds.
27225
e04e272d
RM
27226 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27227 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27228
952bf94a
RM
27229 * misc/lseek.c: File moved to ...
27230 * io/lseek.c: ... here.
27231
7c99b50a
RM
27232 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27233
dd924cd7
RM
27234 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27235 shifting LEN more than 31 bits at once.
27236
b3f479a8
LD
272372012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27238
27239 [BZ #14195]
8c4ae0d4
RM
27240 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27241 segmentation fault for a case of two empty input strings.
b3f479a8
LD
27242 * string/test-strncasecmp.c (check1): Renamed to...
27243 (bz12205): ...this.
27244 (bz14195): Add new testcase for two empty input strings and N > 0.
27245 (test_main): Call new testcase, adapt for renamed function.
27246
9c55864e
AJ
272472012-08-15 Andreas Jaeger <aj@suse.de>
27248
27249 [BZ #14090]
27250 * crypt/md5test2.c: New test, based on test supplied by Serge
27251 Belyshev <belyshev@depni.sinp.msu.ru>.
27252 * crypt/Makefile (xtests): Add md5test-giant..
27253 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27254
02dcb6c5
PE
272552012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27256
27257 [BZ #14090]
27258 * crypt/md5.c (md5_process_block): Don't assume the buffer
27259 length is less than 2**32.
27260 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27261 length is less than 2**64.
27262
a3f95dcc
RM
272632012-08-15 Roland McGrath <roland@hack.frob.com>
27264
be75d758
RM
27265 * string/str-two-way.h: Include <sys/param.h>.
27266 (MAX): Macro removed.
27267
7312ca90
RM
27268 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27269 Move #define and #undef of memmove to just before and after
27270 including <string.h>.
27271
9a0a5486
RM
27272 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27273 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27274 and after including <string.h>. Move declarations of
27275 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27276 to before #include "string/memmove.c".
27277
67cc348d
RM
27278 * include/dirent.h: Declare __getdirentries.
27279
a3f95dcc
RM
27280 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27281 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27282
ca98e171
MF
272832012-08-14 Mike Frysinger <vapier@gentoo.org>
27284
27285 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27286 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27287 * sysdeps/i386/configure: Regenerated.
27288 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27289 STABS_CURRENT_FILE, and STABS_FUN.
27290 (END): Remove call to STABS_FUN_END.
27291 (STABS_CURRENT_FILE1): Delete.
27292 (STABS_CURRENT_FILE): Likewise.
27293 (STABS_FUN): Likewise.
27294 (STABS_FUN_END): Likewise.
27295 (STABS_FUN2): Likewise.
27296 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27297 * sysdeps/x86_64/configure: Regenerated.
27298
5908bf46
RM
272992012-08-14 Roland McGrath <roland@hack.frob.com>
27300
27301 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 27302 * elf/dl-lookup.c: Likewise.
5908bf46 27303
f2c05b9e
JM
273042012-08-14 Joseph Myers <joseph@codesourcery.com>
27305
27306 * sysdeps/unix/sysv/linux/kernel-features.h
27307 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27308 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27309 unconditionally.
27310 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27311 unconditionally.
27312 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27313 condition on __ASSUME_CLONE_THREAD_FLAGS.
27314
e11f5155
AJ
273152012-08-14 Andreas Jaeger <aj@suse.de>
27316
27317 * sysdeps/i386/fpu/libm-test-ulps: Update.
27318
51a9ba86
MK
273192012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27320
2fdd4f78
AJ
27321 * include/atomic.h (atomic_exchange_and_add): Split into ...
27322 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27323 New atomic macros.
51a9ba86 27324
ba6cba9e
MT
273252012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27326
27327 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27328
42443a47
JL
273292012-08-13 Jeff Law <law@redhat.com>
27330
27331 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27332 null byte in the output string.
27333
121dce05
JM
273342012-08-10 Joseph Myers <joseph@codesourcery.com>
27335
27336 * sysdeps/unix/sysv/linux/kernel-features.h
27337 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27338 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27339 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27340 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27341 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27342 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27343 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27344
bf51f568
JL
273452012-08-09 Jeff Law <law@redhat.com>
27346
27347 [BZ #13939]
27348 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27349 When avoid_arena is set, don't retry in the that arena. Pick the
27350 next one, whatever it might be.
27351 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27352 (arena_lock): Pass in new parameter to arena_get2.
27353 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27354 arena_get2.
27355 (__libc_malloc): Unify retrying after main arena failure with
27356 __libc_memalign version.
27357 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27358
f85fa270
L
273592012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27360
27361 [BZ #14166]
27362 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27363 to __redirect_strstr.
27364 (__strstr_sse42): Use typeof __redirect_strstr.
27365 (__strstr_ia32): Likewise.
27366 (__libc_strstr): New prototype.
27367 (strstr): Renamed to ...
27368 (__libc_strstr): This.
27369 (strstr): New strong alias of __libc_strstr.
27370 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27371 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27372 __redirect_time.
27373 Include <time.h>.
27374 (__libc_time): New prototype.
27375 (time_ifunc): Replace time with __libc_time.
27376 (time): New strong alias and hidden definition of __libc_time.
27377 (__GI_time): Remove strong alias.
27378 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27379 Include <stddef.h>.
27380 (memmove): Redefined to __redirect_memmove.
27381 (__memmove_sse2): Use typeof __redirect_memmove.
27382 (__memmove_ssse3): Likewise.
27383 (__memmove_ssse3_back): Likewise.
27384 (__libc_memmove): New prototype.
27385 (memmove): Renamed to ...
27386 (__libc_memmove): This.
27387 (memmove): New strong alias of __libc_memmove.
27388
33b4a91e
MS
273892012-08-08 Mark Salter <msalter@redhat.com>
27390
27391 * elf/elf.h
27392 (R_MN10300_TLS_GD): Define.
27393 (R_MN10300_TLS_LD): Likewise.
27394 (R_MN10300_TLS_LDO): Likewise.
27395 (R_MN10300_TLS_GOTIE): Likewise.
27396 (R_MN10300_TLS_IE): Likewise.
27397 (R_MN10300_TLS_LE): Likewise.
27398 (R_MN10300_TLS_DTPMOD): Likewise.
27399 (R_MN10300_TLS_DTPOFF): Likewise.
27400 (R_MN10300_TLS_TPOFF): Likewise.
27401 (R_MN10300_SYM_DIFF): Likewise.
27402 (R_MN10300_ALIGN): Likewise.
27403 (R_MN10300_NUM): Update.
27404
b36137f1
JM
274052012-08-08 Joseph Myers <joseph@codesourcery.com>
27406
27407 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27408 Remove.
27409
cdd915fd
RM
274102012-08-08 Roland McGrath <roland@hack.frob.com>
27411
a2433aac
RM
27412 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27413
cdd915fd
RM
27414 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27415 sysdeps/unix -> sysdeps/posix move.
27416 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27417
bf9b740a
AM
274182012-08-07 Allan McRae <allan@archlinux.org>
27419
27420 [BZ #14303]
27421 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27422 (SUNOS_CPP): Likewise.
27423 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27424 not found.
27425 (open_input): Call CPP using execvp.
27426
93df14ee
JM
274272012-08-07 Joseph Myers <joseph@codesourcery.com>
27428
27429 * sysdeps/unix/sysv/linux/kernel-features.h
27430 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27431 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27432 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27433 (__ASSUME_WAITID_SYSCALL): Likewise.
27434 * sysdeps/unix/sysv/linux/dl-execstack.c
27435 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27436 code unconditional.
27437 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27438 conditional code.
27439 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27440 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27441 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27442 code.
27443 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27444 unconditional.
27445 [__ASSUME_WAITID_SYSCALL]: Likewise.
27446 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27447
d34689de
RM
274482012-08-07 Roland McGrath <roland@hack.frob.com>
27449
a281decc
RM
27450 * sysdeps/unix/closedir.c: Renamed to ...
27451 * sysdeps/posix/closedir.c: ... here.
27452 * sysdeps/unix/dirfd.c: Renamed to ...
27453 * sysdeps/posix/dirfd.c: ... here.
27454 * sysdeps/unix/dirstream.h: Renamed to ...
27455 * sysdeps/posix/dirstream.h: ... here.
27456 * sysdeps/unix/fdopendir.c: Renamed to ...
27457 * sysdeps/posix/fdopendir.c: ... here.
27458 * sysdeps/unix/opendir.c: Renamed to ...
27459 * sysdeps/posix/opendir.c: ... here.
27460 * sysdeps/unix/readdir.c: Renamed to ...
27461 * sysdeps/posix/readdir.c: ... here.
27462 * sysdeps/unix/readdir_r.c: Renamed to ...
27463 * sysdeps/posix/readdir_r.c: ... here.
27464 * sysdeps/unix/rewinddir.c: Renamed to ...
27465 * sysdeps/posix/rewinddir.c: ... here.
27466 * sysdeps/unix/seekdir.c: Renamed to ...
27467 * sysdeps/posix/seekdir.c: ... here.
27468 * sysdeps/unix/telldir.c: Renamed to ...
27469 * sysdeps/posix/telldir.c: ... here.
27470 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27471 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27472 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27473 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27474
22895b47
RM
27475 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27476 * bits/fcntl.h: ... here.
27477
707a53b6
RM
27478 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27479 not 0.
27480 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27481 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27482 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27483 (struct flock): Move l_start, l_len to the beginning.
27484 Use __pid_t for l_pid.
27485 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27486 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27487 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27488 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27489 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27490 [__USE_LARGEFILE64] (struct flock64): New type.
27491 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27492
f0bd3e25
RM
27493 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27494 * bits/dirent.h: ... here.
27495
d34689de
RM
27496 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27497 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27498
6dad2c06
JM
274992012-08-07 Joseph Myers <joseph@codesourcery.com>
27500
27501 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27502 Change from 2.6.0 to 2.6.16.
27503 * sysdeps/unix/sysv/linux/configure: Regenerated.
27504 * sysdeps/unix/sysv/linux/kernel-features.h
27505 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27506 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27507 version.
27508 (__ASSUME_UTIMES): Likewise.
27509 (__ASSUME_CLONE_STOPPED): Remove.
27510 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27511 architectures, not kernel version.
27512 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27513 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27514 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27515 (__ASSUME_WAITID_SYSCALL): Likewise.
27516 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27517 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27518 * README: State 2.6.16 as minimum Linux kernel version. Do not
27519 refer to older versions.
27520
03af9520
RM
275212012-08-06 Roland McGrath <roland@hack.frob.com>
27522
8e49df1d
RM
27523 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27524 Define alphasort64 as an alias.
27525 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27526 Define versionsort64 as an alias.
27527 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27528 Define scandir64 as an alias.
27529 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27530 Define scandirat64 as an alias.
27531 * dirent/alphasort64.c (alphasort64):
27532 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27533 * dirent/versionsort64.c: Likewise.
27534 * dirent/scandir64.c: Likewise.
27535 * dirent/scandirat64.c: Likewise.
27536 * sysdeps/wordsize-64/alphasort.c: File removed.
27537 * sysdeps/wordsize-64/alphasort64.c: File removed.
27538 * sysdeps/wordsize-64/scandir.c: File removed.
27539 * sysdeps/wordsize-64/scandir64.c: File removed.
27540 * sysdeps/wordsize-64/scandirat.c: File removed.
27541 * sysdeps/wordsize-64/scandirat64.c: File removed.
27542 * sysdeps/wordsize-64/versionsort.c: File removed.
27543 * sysdeps/wordsize-64/versionsort64.c: File removed.
27544 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27545 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27546 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27547 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27548 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27549 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27550 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27551 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27552
27553 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27554 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27555 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27556 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27557 [defined __arch64__ || defined __sparcv9]
27558 (__INO_T_MATCHES_INO64_T): New macro.
27559 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27560 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27561 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27562 * sysdeps/unix/sysv/linux/bits/dirent.h
27563 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27564 (_DIRENT_MATCHES_DIRENT64): New macro.
27565
03af9520
RM
27566 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27567 Define lockf64 as an alias.
27568 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27569 Define fseeko64 as an alias.
27570 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27571 Define ftello64 as an alias.
27572 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27573 Define _IO_fgetpos64 and fgetpos64 as aliases.
27574 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27575 Define _IO_fsetpos64 and fsetpos64 as aliases.
27576 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27577 Conditionalize body on this.
27578 * libio/fseeko64.c: Likewise.
27579 * libio/ftello64.c: Likewise.
27580 * libio/iofgetpos64.c: Likewise.
27581 * libio/iofsetpos64.c: Likewise.
27582 * sysdeps/wordsize-64/lockf.c: File removed.
27583 * sysdeps/wordsize-64/lockf64.c: File removed.
27584 * sysdeps/wordsize-64/fseeko.c: File removed.
27585 * sysdeps/wordsize-64/fseeko64.c: File removed.
27586 * sysdeps/wordsize-64/ftello.c: File removed.
27587 * sysdeps/wordsize-64/ftello64.c: File removed.
27588 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27589 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27590 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27591 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27592 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27593 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27594 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27595 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27596 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27597 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27598 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27599 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27600 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27601 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27602
27603 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27604 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27605 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27606 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27607 [defined __arch64__ || defined __sparcv9]
27608 (__OFF_T_MATCHES_OFF64_T): New macro.
27609 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27610 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27611 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27612 (__OFF_T_MATCHES_OFF64_T): New macro.
27613
c5757acd
L
276142012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27615
27616 * stdlib/secure-getenv.c (__secure_getenv): Replace
27617 GLIBC_2_16 with GLIBC_2_17.
27618
3a31811e
L
276192012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27620
27621 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27622 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27623
faa2bccb
DM
276242012-08-03 David S. Miller <davem@davemloft.net>
27625
27626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27627
85fe1997
JM
276282012-08-03 Joseph Myers <joseph@codesourcery.com>
27629
27630 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27631 Remove.
27632 (__ASSUME_CORRECT_SI_PID): Likewise.
27633 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27634 (__ASSUME_TMPFS_NAME): Likewise.
27635 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27636 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27637 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27638 (HAVE_AUX_SECURE): Make definition unconditional.
27639 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27640 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27641
4f75b7a0
RM
276422012-08-03 Roland McGrath <roland@hack.frob.com>
27643
27644 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27645 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27646 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27647 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27648 __eloop_threshold instead of SYMLOOP_MAX.
27649
27650 * sysdeps/generic/eloop-threshold.h: New file.
27651 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27652 of MAXSYMLINKS.
27653 * elf/chroot_canon.c (chroot_canon): Likewise.
27654
7aab07e4
JM
276552012-08-03 Joseph Myers <joseph@codesourcery.com>
27656
27657 [BZ #13717]
27658 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27659 Change to 2.6.0 everywhere.
27660 * sysdeps/unix/sysv/linux/configure: Regenerated.
27661 * sysdeps/unix/sysv/linux/kernel-features.h
27662 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27663 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27664 kernel versions.
27665 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27666 (__ASSUME_FUTEX_REQUEUE): Remove.
27667 (__ASSUME_STATFS64): Define unconditionally.
27668 (__ASSUME_AT_SECURE): Likewise.
27669 (__ASSUME_CORRECT_SI_PID): Likewise.
27670 (__ASSUME_TGKILL): Define without depending on kernel version for
27671 i386.
27672 (__ASSUME_UTIMES): Likewise.
27673 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27674 kernel version.
27675 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27676 (__ASSUME_TMPFS_NAME): Likewise.
27677 * README: Update reference to Linux kernel versions.
27678
b67e9372
MP
276792012-08-02 Marek Polacek <polacek@redhat.com>
27680
1f529f7d 27681 [BZ# 14150]
b67e9372
MP
27682 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27683 libc_cv_asm_type_prefix with %.
27684 * configure: Regenerated.
d2441631
RM
27685 * include/libc-symbols.h: Remove comment about
27686 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
27687 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27688 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27689 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27690 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27691 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27692 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27693 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27694 * elf/tst-unique2mod1.c: Likewise.
27695 * elf/tst-unique1mod2.c: Likewise.
27696 * elf/tst-unique1mod1.c: Likewise.
27697 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27698 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27699 Replace ASM_TYPE_DIRECTIVE with .type.
27700 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27701 * sysdeps/i386/sysdep.h: Likewise.
27702 * sysdeps/x86_64/sysdep.h: Likewise.
27703 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
27704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27705 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 27706 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
27707 * sysdeps/powerpc/powerpc32/sysdep.h:
27708 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
27709 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27710 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27711 * sysdeps/i386/fpu/e_powf.S: Likewise.
27712 * sysdeps/i386/fpu/e_expl.S: Likewise.
27713 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27714 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27715 * sysdeps/i386/fpu/e_pow.S: Likewise.
27716 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27717 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27718 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27719 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27720 * sysdeps/i386/fpu/e_log2.S: Likewise.
27721 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27722 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27723 * sysdeps/i386/fpu/e_powl.S: Likewise.
27724 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27725 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27726 * sysdeps/i386/fpu/e_logl.S: Likewise.
27727 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27728 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27729 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27730 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27731 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27732 * sysdeps/i386/fpu/e_log.S: Likewise.
27733 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27734 * sysdeps/i386/fpu/e_logf.S: Likewise.
27735 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27736 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27737 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27738 * sysdeps/i386/fpu/e_log10.S: Likewise.
27739 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27740 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27741 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27742 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27743 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27744 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27745 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27746 * sysdeps/i386/i686/strtok.S: Likewise.
27747 * sysdeps/i386/i386-mcount.S: Likewise.
27748 * sysdeps/i386/strtok.S: Likewise.
27749 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27750 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27751 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27752 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27753 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27754 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27755 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27756 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27757 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27758 * sysdeps/x86_64/_mcount.S: Likewise.
27759 * sysdeps/x86_64/strtok.S: Likewise.
27760 * sysdeps/sh/_mcount.S: Likewise.
27761
2747bf9a
RM
277622012-08-01 Roland McGrath <roland@hack.frob.com>
27763
27764 * libio/iofopen.c: Include <fcntl.h>.
27765 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27766 (_IO_fopen64, fopen64): Define as aliases.
27767 * libio/iofopen64.c: Include <fcntl.h>.
27768 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27769 Conditionalize body on this.
27770 * sysdeps/wordsize-64/iofopen.c: File removed.
27771 * sysdeps/wordsize-64/iofopen64.c: File removed.
27772
3fb791b8
MP
277732012-08-01 Marek Polacek <polacek@redhat.com>
27774
27775 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27776 Use dlfcn directly instead of a variable.
27777 (binfmt-subdir): Do not define.
27778 (dlfcn): Likewise.
27779
a9f1039f
JM
277802012-08-01 Joseph Myers <joseph@codesourcery.com>
27781
23bddc06
JM
27782 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27783 Remove all definitions.
27784 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27785 <kernel-features.h>.
27786 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27787 (miss_F_GETOWN_EX): Remove all definitions.
27788 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27789 macro definition.
27790 [!__ASSUME_FCNTL64]: Remove conditional code.
27791 [__ASSUME_FCNTL64]: Make code unconditional.
27792 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27793 <kernel-features.h>.
27794 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27795 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27796 (lockf64) [__NR_fcntl64]: Make code unconditional.
27797 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27798
a9f1039f
JM
27799 * sysdeps/unix/sysv/linux/kernel-features.h
27800 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27801 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27802 Make code unconditional.
27803 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27804 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27806 [__NR_vfork]: Make code unconditional.
27807 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27808 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27810 [__NR_vfork]: Make code unconditional.
27811 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27812 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27813
09c0ee5f
RM
278142012-08-01 Roland McGrath <roland@hack.frob.com>
27815
48aec5b9
RM
27816 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27817 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27818
cd97c966
RM
27819 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27820 Define mkstemp64 as an alias.
3f55550c
RM
27821 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27822 Define mkstemps64 as an alias.
cd97c966
RM
27823 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27824 Define mkostemp64 as an alias.
b8625cfc
RM
27825 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27826 Define mkostemps64 as an alias.
cd97c966
RM
27827 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27828 Conditionalize body on this.
27829 * misc/mkostemp64.c: Likewise.
b8625cfc 27830 * misc/mkostemps64.c: Likewise.
3f55550c 27831 * misc/mkstemps64.c: Likewise.
cd97c966
RM
27832 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27833 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27834 * sysdeps/wordsize-64/mkostemp.c: File removed.
27835 * sysdeps/wordsize-64/mkstemp.c: File removed.
27836 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27837 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27838 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27839 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27840
09c0ee5f
RM
27841 [BZ #14138]
27842 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27843 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27844 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27845 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27846
27847 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27848 compat_symbol macros from <shlib-compat.h> rather than the underlying
27849 default_symbol_version and symbol_version macros, so that DEFAULT
27850 lines in shlib-versions are respected.
27851 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27852
7e66ee51
FW
278532012-08-01 Florian Weimer <fweimer@redhat.com>
27854
27855 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27856 Declare with warn_unused_result.
27857 (setgid, setregid, setegid, setresgid): Likewise.
27858 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27859 Likewise.
27860 * WUR-REPORT: Remove set*id functions.
27861
d2a54255
PT
278622012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27863
27864 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27865
7ecdb005
RM
278662012-07-31 Roland McGrath <roland@hack.frob.com>
27867
b4180a5e 27868 [BZ #10191]
789bd351
RM
27869 * include/sys/socket.h (__libc_accept, __libc_accept4):
27870 Add attribute_hidden.
27871 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27872
40ce302d
RM
27873 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27874 use of PTR_MANGLE.
27875 * inet/getnetgrent_r.c (setup): Likewise.
27876
7ecdb005
RM
27877 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27878
e2eabb2c
DM
278792012-07-31 David S. Miller <davem@davemloft.net>
27880
27881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27882
d0419dbf
JM
278832012-07-31 Joseph Myers <joseph@codesourcery.com>
27884
27885 [BZ #13629]
27886 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27887 value between 1.0 and 2.0 and smaller part has absolute value less
27888 than 1.0.
27889 * math/s_clog10.c (__clog10): Likewise.
27890 * math/s_clog10f.c (__clog10f): Likewise.
27891 * math/s_clog10l.c (__clog10l): Likewise.
27892 * math/s_clogf.c (__clogf): Likewise.
27893 * math/s_clogl.c (__clogl): Likewise.
27894 * math/libm-test.inc (clog_test): Add more tests.
27895 (clog10_test): Likewise.
27896 * sysdeps/i386/fpu/libm-test-ulps: Update.
27897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27898
2bc13872
FW
278992012-07-31 Florian Weimer <fweimer@redhat.com>
27900
27901 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27902 Exit with zero in case no suitable GID is found, and write a
27903 message to standard error.
27904
bea9b193
RM
279052012-07-30 Roland McGrath <roland@hack.frob.com>
27906
27907 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27908 rather than to 1.
27909 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27910 (MAXPATHLEN): Removed.
27911 (NOGROUP, NODEV): New macros.
27912 (setbit, clrbit, isset, isclr): New macros.
27913 (howmany, roundup, powerof2): New macros.
27914 (DEV_BSIZE): New macro.
27915
27916 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27917 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27918
27919 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27920 definition on [!__NO_LONG_DOUBLE_MATH].
27921
27922 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27923 PTR_MANGLE and PTR_DEMANGLE.
27924
27925 * socket/accept4.c (accept4): Rename to __libc_accept4.
27926 Define accept4 as a weak alias.
27927
27928 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27929 on [_DIRENT_HAVE_D_TYPE].
27930 * io/ftw.c (ftw_dir): Likewise.
27931
27932 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27933
27934 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27935
27936 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27937 Use the BSD numbers rather than the arbitrary ones we had.
27938 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27939 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27940 (SIGXCPU, SIGXFSZ): New macros.
27941 (_NSIG): Now 32.
27942
27943 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27944 initializer on [_LIBC_REENTRANT].
27945
27946 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27947 definitions inside [_POSIX_MAPPED_FILES].
27948
27949 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27950
27951 * dirent/opendir.c: Include <fcntl.h>.
27952
27953 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27954 (__libc_getspecific): Likewise.
27955 (__libc_key_create): Likewise.
27956
27957 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27958 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27959 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27960 (tmpfile64): Define as alias.
27961 * sysdeps/wordsize-64/tmpfile.c: File removed.
27962 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27963 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27964 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27965
27966 * stdio-common/vfscanf.c: Include <stdbool.h>.
27967 * nss/makedb.c: Likewise.
27968 * stdio-common/_i18n_number.h: Likewise.
27969 * argp/argp-help.c: Likewise.
27970 * posix/wordexp.c: Likewise.
27971 * sysdeps/posix/spawni.c: Likewise.
27972 * nss/nss_files/files-initgroups.c: Likewise.
27973 * stdio-common/reg-modifier.c: Include <stdlib.h>.
27974 * nss/nss_files/files-initgroups.c: Likewise.
27975 * nss/nss_db/db-netgrp.c: Likewise.
27976 * nss/nss_db/db-initgroups.c: Likewise.
27977 * io/fchmodat.c: Include <sys/stat.h>.
27978
27979 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27980 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27981
27982 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27983 [HAVE_MMAP].
27984
27985 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27986 Add multiple inclusion protection.
27987
e5abc686
DM
279882012-07-27 David S. Miller <davem@davemloft.net>
27989
27990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27991
815e6fa3
GB
279922012-07-27 Gary Benson <gbenson@redhat.com>
27993
27994 [BZ #14298]
27995 * elf/rtld.c: Include <stap-probe.h>.
27996 (dl_main): Added static probes "init_start" and "init_complete".
27997 * elf/dl-load.c: Include <stap-probe.h>.
27998 (lose): Take new parameter "nsid".
27999 Added static probe "map_failed".
28000 (_dl_map_object_from_fd): Pass namespace id to lose.
28001 Added static probe "map_start".
28002 (open_verify): Pass namespace id to lose.
28003 * elf/dl-open.c: Include <stap-probe.h>.
28004 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28005 and "reloc_complete".
28006 * elf/dl-close.c: Include <stap-probe.h>.
28007 (_dl_close_worker): Added static probes "unmap_start" and
28008 "unmap_complete".
28009 * elf/rtld-debugger-interface.txt: New file documenting the above.
28010
9f98c16c
RM
280112012-07-26 Roland McGrath <roland@hack.frob.com>
28012
28013 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28014 rather than a string variable.
28015 * sunrpc/rpc_main.c (h_output): Likewise.
28016 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28017
f3c22df3
PT
280182012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28019
28020 * inet/check_native.c: New file.
28021
3129cfc6
JM
280222012-07-26 Joseph Myers <joseph@codesourcery.com>
28023
da865e95
JM
28024 [BZ #13629]
28025 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28026 if larger part has absolute value 1.0.
28027 * math/s_clog10.c (__clog10): Likewise.
28028 * math/s_clog10f.c (__clog10f): Likewise.
28029 * math/s_clog10l.c (__clog10l): Likewise.
28030 * math/s_clogf.c (__clogf): Likewise.
28031 * math/s_clogl.c (__clogl): Likewise.
28032 * math/libm-test.inc (clog_test): Add more tests.
28033 (clog10_test): Likewise.
28034 * sysdeps/i386/fpu/libm-test-ulps: Update.
28035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28036
3129cfc6
JM
28037 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28038 (pltexit): Likewise.
28039 (La_regs): Likewise.
28040 (La_retval): Likewise.
28041 (int_retval): Likewise.
28042 Update #error for removed macros to refer only to definitions in
28043 tst-audit.h.
28044 * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.c (pltenter): Remove all definitions of
28069 macro.
28070 (pltexit): Likewise.
28071 (La_regs): Likewise.
28072 (La_retval): Likewise.
28073 (int_retval): Likewise.
28074 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28075 macro.
28076 (pltexit): Likewise.
28077 (La_regs): Likewise.
28078 (La_retval): Likewise.
28079 (int_retval): Likewise.
28080 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28081 macro definitions in tst-audit.h.
28082 * sysdeps/i386/tst-audit.h: New file.
28083 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28084 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28085 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28086 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28087 * sysdeps/sh/tst-audit.h: Likewise.
28088 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28089 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28090 * sysdeps/x86_64/tst-audit.h: Likewise.
28091
bfc07087
AJ
280922012-07-26 Andreas Jaeger <aj@suse.de>
28093
b1b2aaf8
AJ
28094 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28095 ptrace.
28096
28097 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28098 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28099 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28100 PTRACE_O_MASK.
28101 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28102 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28103 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28104
bfc07087
AJ
28105 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28106 value.
28107
28108 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28109 _sigsys.
28110 (si_call_addr, si_syscall, si_arch): Define new macro.
28111 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28112 _sigsys.
28113 (si_call_addr, si_syscall, si_arch): Define new marcro.
28114 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28115 _sigsys.
28116 (si_call_addr, si_syscall, si_arch): Define new macro.
28117 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28118 _sigsys.
28119 (si_call_addr, si_syscall, si_arch): Define new macro.
28120
89b4b02f
JM
281212012-07-25 Joseph Myers <joseph@codesourcery.com>
28122
28123 [BZ #13717]
28124 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28125 Change to 2.4.21 where previously 2.4.1.
28126 * sysdeps/unix/sysv/linux/configure: Regenerated.
28127 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28128 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28129 Linux kernel version.
28130 (__ASSUME_STD_AUXV): Remove.
28131 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28132 kernel version.
28133 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28134 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28135 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28136 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28137 (__ASSUME_NETLINK_SUPPORT): Likewise.
28138 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28139 (__no_netlink_support): Remove conditional definition.
28140 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28141 Remove.
28142 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28143 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28144 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28145 (if_nameindex_ioctl): Remove.
28146 (if_nameindex_netlink): Do not handle __no_netlink_support.
28147 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28148 code.
28149 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28150 Remove conditional code.
28151 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28152 code.
28153 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28154 unconditional.
28155 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28156 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28157 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28158 Remove.
28159 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28160 [!__ASSUME_STD_AUXV]: Remove conditional code.
28161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28162 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28163 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28165 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28166 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28167 code.
28168 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28170 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28171 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28172 conditional code.
28173 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28175 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28176 code.
28177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28178 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28179 conditional code.
28180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28181 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28182 code unconditional.
28183 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28184 conditional code.
28185 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28186 unconditional.
28187 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28188 conditional code.
28189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28190 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28191 unconditional.
28192 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28193 conditional code.
28194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28195 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28196 code unconditional.
28197 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28198 conditional code.
28199 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28200 unconditional.
28201 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28202 conditional code.
28203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28204 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28205 code unconditional.
28206 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28207 conditional code.
28208 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28209 unconditional.
28210 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28211 conditional code.
28212
842a39cd
AS
282132012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28214
28215 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28216 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28217 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28218 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28219 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28220 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28221 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28222 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28223 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28224 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28225 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28226 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28227 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28228 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28229 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28230 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28231 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28232 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28233 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28234 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28235 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28236 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28237 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28238
84b3fd84
FW
282392012-07-25 Florian Weimer <fweimer@redhat.com>
28240
28241 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
28242 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28243 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28244 Introduce __libc_secure_getenv.
0c7936d5
FW
28245 * stdlib/Versions (2.17): Add secure_getenv
28246 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28247 * stdlib/secure-getenv.c: Rename __secure_getenv to
28248 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28249 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
28250 * stdlib/tst-secure-getenv.c: New.
28251 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
28252 * manual/startup.texi (Environment Access): Document
28253 secure_getenv.
84b3fd84
FW
28254 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28255 __libc_secure_getenv.
28256 * inet/ruserpass.c (ruserpass): Likewise.
28257 * malloc/mtrace.c (mtrace): Likewise.
28258 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 28259 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
28260 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28261 * sysdeps/posix/tempname.c: Likewise. Evaluate
28262 HAVE_SECURE_GETENV.
28263 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 28264 __secure_getenv to __libc_secure_getenv.
84b3fd84 28265 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
28266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28267 Likewise.
28268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28269 Likewise.
28270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28272 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 28277
56e49b71
JM
282782012-07-25 Joseph Myers <joseph@codesourcery.com>
28279
28280 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28281 (struct La_i86_retval): Likewise.
28282 (struct La_x86_64_regs): Likewise.
28283 (struct La_x86_64_retval): Likewise.
28284 (struct La_x32_regs): Likewise.
28285 (struct La_x32_retval): Likewise.
28286 (struct La_ppc32_regs): Likewise.
28287 (struct La_ppc32_retval): Likewise.
28288 (struct La_ppc64_regs): Likewise.
28289 (struct La_ppc64_retval): Likewise.
28290 (struct La_sh_regs): Likewise.
28291 (struct La_sh_retval): Likewise.
28292 (struct La_s390_32_regs): Likewise.
28293 (struct La_s390_32_retval): Likewise.
28294 (struct La_s390_64_regs): Likewise.
28295 (struct La_s390_64_retval): Likewise.
28296 (struct La_sparc32_regs): Likewise.
28297 (struct La_sparc32_retval): Likewise.
28298 (struct La_sparc64_regs): Likewise.
28299 (struct La_sparc64_retval): Likewise.
28300 (struct audit_ifaces): Remove architecture-specific pltenter and
28301 pltexit members.
28302 * sysdeps/i386/ldsodefs.h: New file.
28303 * sysdeps/powerpc/ldsodefs.h: Likewise.
28304 * sysdeps/s390/ldsodefs.h: Likewise.
28305 * sysdeps/sh/ldsodefs.h: Likewise.
28306 * sysdeps/sparc/ldsodefs.h: Likewise.
28307 * sysdeps/x86_64/ldsodefs.h: Likewise.
28308
354691b7
MP
283092012-07-25 Marek Polacek <polacek@redhat.com>
28310
28311 [BZ #6808]
28312 * math/libm-test.inc (yn_test): Add another test.
28313 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28314 to ERANGE when the result is +-Inf.
28315 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28316 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28317 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28318 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28319
bf9e2071
JM
283202012-07-24 Joseph Myers <joseph@codesourcery.com>
28321
28322 * conform/data/time.h-data (NULL): Use macro-constant. Require
28323 equal to 0.
28324 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28325 clock_t.
28326 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28327
57633811
TS
283282012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28329
28330 * configure.in <sysdeps resolving>: Correct printing
28331 Implies_before.
28332 * configure: Regenerate.
28333
c23c33b0
TS
283342012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28335
28336 * math/w_ilogb.c: Include <limits.h>.
28337 * math/w_ilogbl.c: Likewise.
28338
b5982523
JM
283392012-07-20 Joseph Myers <joseph@codesourcery.com>
28340
28341 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28342 va_copy. Document allowing for unavailable va_copy only as
28343 pre-C99 compatibility.
28344 * manual/string.texi (Copying and Concatenation): Use va_copy
28345 instead of __va_copy in concat example.
28346
ac4ea442
PT
283472012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28348
28349 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28350 (__sendto): Use create_address_port. Initialize APORT and deallocate
28351 it if not null.
28352
f98eafbd
PT
28353 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28354 with O_NOLINK passed to __file_name_lookup.
28355
898c7aab
PT
28356 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28357 with O_NOLINK passed to __file_name_lookup.
28358
0ced335a
PT
28359 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28360 negative N or less than NGIDS.
28361
b3404dbd
PT
28362 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28363 type to string_t. Set ERANGE as errno and return it if NAME is not big
28364 enough. Use memcpy instead of strncpy.
28365
0f48659e
JM
283662012-07-20 Joseph Myers <joseph@codesourcery.com>
28367
28368 * elf/Makefile (check-data): Remove.
28369 (localplt.data): New vpath directive.
28370 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28371 instead of $(check-data).
28372 * scripts/data/localplt-generic.data: Move to ...
28373 * sysdeps/generic/localplt.data: ... here.
28374 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28375 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28376 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28378 ... here.
28379 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28381 ... here.
28382 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28384 ... here.
28385 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28387 ... here.
28388 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28390 ... here.
28391 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28393 ... here.
28394
d37cbdaa
AZ
283952012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28396
28397 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28398 PPC32 and PPC64 files.
28399 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28400 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28401
46f85fc2
AK
284022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28403
28404 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28405 __makecontext_ret to ...
28406 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28407 ... here and call exit if uc_link is NULL. New file.
28408 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28409 __makecontext_ret.S.
28410 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28411 __makecontext_ret to ...
28412 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28413 ... here and call exit if uc_link is NULL. New file.
28414 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28415 __makecontext_ret.S.
28416
08f43f9b
AK
284172012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28418
28419 * elf/elf.h (R_390_IRELATIVE): New definition.
28420 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28421 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28422 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28423 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28424 (elf_machine_lazy_rel): Likewise.
28425 * sysdeps/s390/dl-irel.h: New file.
28426 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28427 * sysdeps/s390/s390-64/memset.S: New asm code.
28428 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28429 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28430 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28431 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28432 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28433 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28434 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28435 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28436 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28437 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28438 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28439 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28440 * sysdeps/s390/s390-32/memset.S: New asm code.
28441 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28442
3b05db33
MP
284432012-07-17 Marek Polacek <polacek@redhat.com>
28444
28445 [BZ #14349]
28446 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28447 * sysdeps/s390/s390-64/configure.in: Likewise.
28448 * sysdeps/sparc/configure.in: Likewise.
28449 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28450 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28451 * sysdeps/i386/configure.in: Likewise.
28452 * sysdeps/x86_64/configure.in: Likewise.
28453 * sysdeps/sh/configure.in: Likewise.
28454 * sysdeps/s390/s390-32/configure: Regenerated.
28455 * sysdeps/s390/s390-64/configure: Likewise.
28456 * sysdeps/x86_64/configure: Likewise.
28457 * sysdeps/sh/configure: Likewise.
28458 * sysdeps/powerpc/powerpc64/configure: Likewise.
28459 * sysdeps/powerpc/powerpc32/configure: Likewise.
28460 * sysdeps/sparc/configure: Likwise.
28461 * sysdeps/i386/configure: Likewise.
28462
a66877c6
MP
28463 * elf/dl-open.c: Comment fixes.
28464
cfc82fd8
JM
284652012-07-17 Joseph Myers <joseph@codesourcery.com>
28466
bd29910a
JM
28467 * Makefile [CXX] (check-data): Remove.
28468 [CXX] (c++-types.data): New vpath directive.
28469 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28470 vpath. Do not allow for C++ type data being missing.
28471 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28472 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28473 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28474 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28475 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28476 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28477 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28479 ... here.
28480 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28482 ... here.
28483 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28485 ... here.
28486 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28488 ... here.
28489 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28491 ... here.
28492 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28494 ... here.
28495 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28497 ... here.
28498 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28500
cfc82fd8
JM
28501 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28502 definitions to architecture-specific files.
28503 (TLS_IE): Likewise.
28504 (TLS_LD): Likewise.
28505 (TLS_GD): Likewise.
28506 * sysdeps/i386/tls-macros.h: New file.
28507 * sysdeps/powerpc/tls-macros.h: Likewise.
28508 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28509 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28510 * sysdeps/sh/tls-macros.h: Likewise.
28511 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28512 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28513 * sysdeps/x86_64/tls-macros.h: Likewise.
28514
f7db3170
TS
285152012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28516
07cbfc23
TS
28517 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28518 zero value for regular exit case.
28519
f7db3170
TS
28520 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28521 (__start_context): Preserve zero value for regular exit case.
28522
dc97c227
TS
285232012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28524 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28525
28526 * manual/setjmp.texi (setcontext): Clarify normal process
28527 termination when uc_link is the null pointer.
28528 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28529 exit call.
28530
d0cd7d02
AS
285312012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28532
28533 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28534 preprocessor. Test for each exception mask separately.
28535
dd318934
AJ
285362012-07-16 Andreas Jaeger <aj@suse.de>
28537
28538 * po/ru.po: Update from translation team.
28539
8048311a
JM
285402012-07-15 Joseph Myers <joseph@codesourcery.com>
28541
28542 * conform/data/string.h-data (NULL): Use macro-constant. Require
28543 equal to 0.
28544 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28545 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28546 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28547 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28548 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28549
b637d46e
AJ
285502012-07-13 Andreas Jaeger <aj@suse.de>
28551
28552 * po/fr.po: Update from translation team.
28553
541428fe
MP
285542012-07-12 Marek Polacek <polacek@redhat.com>
28555
28556 [BZ #14173]
28557 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28558 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28559 loop condition.
28560
ec332e94
JM
285612012-07-12 Joseph Myers <joseph@codesourcery.com>
28562
28563 [BZ #13717]
28564 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28565 Change to 2.4.1 where previously 2.4.0.
28566 * sysdeps/unix/sysv/linux/configure: Regenerated.
28567 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28568 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28569 version.
28570 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28571 (__ASSUME_AT_CLKTCK): Remove.
28572 (__ASSUME_AT_PAGESIZE): Likewise.
28573 (__ASSUME_AT_XID): Likewise.
28574 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28575 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28576 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28577 unconditionally.
28578 (HAVE_AUX_PAGESIZE): Likewise.
28579 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28580 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28581 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28582
7b6e99be
JB
285832012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28584
28585 [BZ #14307]
28586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28587 the temporary buffer used to invoke __gethostbyname2_r,
28588 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28589 host_data / struct gaih_addrtuple.
28590 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28591 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28592 header file nss/nsswitch.h.
28593 * nss/nsswitch.h (global scope): Add definition of implementation
28594 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28595 resolv/nss_dns/dns-host.c).
28596
608404eb
AJ
285972012-07-11 Andreas Jaeger <aj@suse.de>
28598
28599 * po/fr.po: Update from translation team.
28600
71220aca
AJ
28601 * po/sv.po: Update from translation team
28602 * po/fr.po: Another update from translation team.
28603
28cfe843
AZ
286042012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28605
28606 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28607 for subnormals or multiply small sinh result by itself.
28608 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28610
6b90f981
DM
286112012-07-11 David S. Miller <davem@davemloft.net>
28612
28613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28614
c6825772
AS
286152012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28616
28617 [BZ #14347]
28618 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28619 (INTERNAL_MARK): Shift it here.
28620
7b8e0d49
MP
286212012-07-10 Marek Polacek <polacek@redhat.com>
28622
28623 [BZ #14151]
28624 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28625 libc_cv_asm_global_directive with .globl.
28626 * configure: Regenerated.
28627 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28628 with .globl.
28629 * sysdeps/i386/configure: Regenerated.
28630 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28631 with .globl.
28632 * sysdeps/x86_64/configure: Regenerated.
28633 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28634 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28635 * elf/tst-unique2mod2.c: Likewise.
28636 * elf/tst-unique2mod1.c: Likewise.
28637 * elf/tst-unique1mod2.c: Likewise.
28638 * elf/tst-unique1mod1.c: Likewise.
28639 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28640 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28641 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28642 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28643 * sysdeps/mach/sysdep.h: Likewise.
28644 * sysdeps/i386/sysdep.h: Likewise.
28645 * sysdeps/i386/i386-mcount.S: Likewise.
28646 * sysdeps/x86_64/_mcount.S: Likewise.
28647 * sysdeps/x86_64/sysdep.h: Likewise.
28648 * sysdeps/sh/_mcount.S: Likewise.
28649 * sysdeps/sh/sysdep.h: Likewise.
28650 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28651 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28652 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28653 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28654 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28655 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28656 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28657 * locale/localeinfo.h: Likewise.
28658 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28659 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28660
6c55cda3
RM
286612012-07-09 Roland McGrath <roland@hack.frob.com>
28662
28663 [BZ #14336]
28664 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28665 system".
28666 * manual/message.texi (The Uniforum approach): Likewise.
28667 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28668 (glibc iconv Implementation): Likewise.
28669
638a572e
JM
286702012-07-09 Joseph Myers <joseph@codesourcery.com>
28671
28672 [BZ #14337]
28673 * math/s_clog.c (__clog): Avoid scaling a value down where that
28674 could result in underflow.
28675 * math/s_clog10.c (__clog10): Likewise.
28676 * math/s_clog10f.c (__clog10f): Likewise.
28677 * math/s_clog10l.c (__clog10l): Likewise.
28678 * math/s_clogf.c (__clogf): Likewise.
28679 * math/s_clogl.c (__clogl): Likewise.
28680 * math/libm-test.inc (clog_test): Add more tests.
28681 (clog10_test): Likewise.
28682 * sysdeps/i386/fpu/libm-test-ulps: Update.
28683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28684
261f4859
AS
286852012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28686
0abaf3e4
AS
28687 [BZ #14283]
28688 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28689 by 7 not 8 to examine high bit of fractional part.
28690
261f4859
AS
28691 [BZ #14042]
28692 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28693 for call to __mcount_internal.
28694 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28695 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28696 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28697
f17ac40d
JM
286982012-07-06 Joseph Myers <joseph@codesourcery.com>
28699
9ad63c23
JM
28700 [BZ #14154]
28701 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28702 approximation for values within 0x1p-13f of an odd multiple of
28703 pi/4.
28704 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28705 exception. Add more tests.
28706 * sysdeps/i386/fpu/libm-test-ulps: Update.
28707
f17ac40d
JM
28708 [BZ #6778]
28709 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28710 inputs and return -1 for them. Do not check for +Inf in case not
28711 reachable for +Inf.
28712 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28713 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28714 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28715 and return -1 for them. Do not check for +Inf in case not
28716 reachable for +Inf.
28717 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28718 define.
28719 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28720 and return -1 for them. Do not check for +Inf in case not
28721 reachable for +Inf.
28722 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28723 spurious underflow.
28724 * sysdeps/i386/fpu/libm-test-ulps: Update.
28725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28726
fb21f89b
MF
287272012-07-06 Mike Frysinger <vapier@gentoo.org>
28728
28729 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28730
cdfe2c5e
JM
287312012-07-05 Joseph Myers <joseph@codesourcery.com>
28732
28733 [BZ #14157]
28734 [BZ #14331]
28735 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28736 could result in spurious underflow. Scale down values above
28737 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28738 * math/s_csqrtf.c (__csqrtf): Likewise.
28739 * math/s_csqrtl.c (__csqrtl): Likewise.
28740 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28741 spurious underflow.
28742 * sysdeps/i386/fpu/libm-test-ulps: Update.
28743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28744
70d35b67
AS
287452012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28746
704bc459
AS
28747 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28748 xopen-msg.sed.
28749 * catgets/xopen-msg.awk: New file.
28750 * catgets/xopen-msg.sed: Removed.
28751
70d35b67
AS
28752 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28753 po2text.sed.
28754 * intl/po2test.awk: New file.
28755 * intl/po2test.sed: Removed.
28756
ca61cf32
JM
287572012-07-04 Joseph Myers <joseph@codesourcery.com>
28758
28759 [BZ #14328]
28760 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28761 or multiply small sinh result by itself.
28762 * math/s_ctanf.c (__ctanf): Likewise.
28763 * math/s_ctanh.c (__ctanh): Likewise.
28764 * math/s_ctanhf.c (__ctanhf): Likewise.
28765 * math/s_ctanhl.c (__ctanhl): Likewise.
28766 * math/s_ctanl.c (__ctanl): Likewise.
28767 * math/libm-test.inc (ctan_test_tonearest): New function.
28768 (ctan_test_towardzero): Likewise.
28769 (ctan_test_downward): Likewise.
28770 (ctan_test_upward): Likewise.
28771 (ctanh_test_tonearest): Likewise.
28772 (ctanh_test_towardzero): Likewise.
28773 (ctanh_test_downward): Likewise.
28774 (ctanh_test_upward): Likewise.
28775 (main): Call these new functions.
28776 * sysdeps/i386/fpu/libm-test-ulps: Update.
28777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28778
ca48a46a
MF
287792012-07-03 Mike Frysinger <vapier@gentoo.org>
28780
28781 * .gitignore: Delete /ports entry.
28782
9d63d37d
AJ
287832012-07-03 Andreas Jaeger <aj@suse.de>
28784
28785 * po/bg.po: Update from translation team.
28786 * po/cs.po: Likewise.
28787 * po/de.po: Likewise.
28788 * po/hr.po: Likewise.
28789 * po/nl.pl: Likewise.
28790 * po/pl.po: Likewise.
28791 * po/vi.po: Likewise.
28792
370ca3d2
JM
287932012-07-03 Joseph Myers <joseph@codesourcery.com>
28794
95f5a9a8
JM
28795 * Makeconfig [!+link] (+link-before-libc): New variable.
28796 [!+link] (+link-after-libc): Likewise.
28797 [!+link] (+link-tests): Likewise.
28798 [!+link] (+link): Define in terms of $(+link-before-libc) and
28799 $(+link-after-libc).
28800 [!+link-static] (+link-static-before-libc): New variable.
28801 [!+link-static] (+link-static-after-libc): Likewise.
28802 [!+link-static] (+link-static-tests): Likewise.
28803 [!+link-static] (+link-static): Define in terms of
28804 $(+link-static-before-libc) and $(+link-static-after-libc).
28805 [build-shared] (link-libc-before-gnulib): New variable.
28806 [build-shared] (link-libc-tests): Likewise.
28807 [build-shared] (link-libc): Define in terms of
28808 $(link-libc-before-gnulib).
28809 [!build-shared] (link-libc-tests): New variable.
28810 (link-libc-static-tests): New variable.
28811 [!gnulib] (gnulib-arch): New variable.
28812 [!gnulib] (gnulib-tests): Likewise.
28813 [!gnulib] (static-gnulib-arch): Likewise.
28814 [!gnulib] (static-gnulib-tests): Likewise.
28815 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28816 Define with "=" instead of ":=".
28817 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28818 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28819 * Rules (binaries-all-notests): New variable.
28820 (binaries-all-tests): Likewise.
28821 (binaries-static-notests): Likewise.
28822 (binaries-static-tests): Likewise.
28823 (binaries-all): Define using $(binaries-all-notests) and
28824 $(binaries-all-tests).
28825 (binaries-static): Define using $(binaries-static-notests) and
28826 $(binaries-static-tests).
28827 (binaries-shared-tests): New variable.
28828 (binaries-shared-notests): Likewise.
28829 (binaries-shared): Remove variable.
28830 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28831 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28832 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28833 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28834 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28835 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28836 * elf/Makefile (sln-modules): New variable.
28837 (extra-objs): Add $(sln-modules:=.o).
28838 (ldconfig-modules): Add static-stubs.
28839 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28840 * elf/static-stubs.c: New file.
28841
7a845b2c
JM
28842 [BZ #14283]
28843 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28844 by 7 not 8 to examine high bit of fractional part. Use volatile
28845 variables when splitting into final array of floats if
28846 __FLT_EVAL_METHOD__ != 0.
28847 * math/libm-test.inc (cos_test): Add another test.
28848 (sin_test): Likewise.
28849 * sysdeps/i386/fpu/libm-test-ulps: Update.
28850
e2283f38
JM
28851 [BZ #14273]
28852 * math/libm-test.inc (cosh_test): Add more tests.
28853
370ca3d2
JM
28854 * version.h (RELEASE): Set to "development".
28855 (VERSION): Set to "2.16.90".
28856
ee9247c3
CD
288572012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28858
28859 * NEWS: Update copyright. Remove last-updated date.
28860 Mention math library bug fixes and timezone data changes.
28861 * README: Mention GNU/Hurd, x32, and HPPA support status.
28862
4648c381
TS
288632012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28864
28865 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28866
aac78a43
AJ
288672012-06-27 Andreas Jaeger <aj@suse.de>
28868
28869 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28870
ed3dbfad
AJ
288712012-06-25 Andreas Jaeger <aj@suse.de>
28872
28873 * sysdeps/s390/fpu/libm-test-ulps: Update.
28874
4d0ee855
AS
288752012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28876 Thomas Schwinge <thomas@codesourcery.com>
28877
28878 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28879 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28880 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28881 fanotify_mark.
28882
af1bce34
TS
288832012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28884
a9fa33ba
TS
28885 * sysdeps/mach/start.c: Remove file.
28886 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28887 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28888 * sysdeps/sh/init-first.c: Likewise.
28889
58f902b8
TS
28890 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28891 registers for frame unwinding purposes, add CFI directives.
28892 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28893 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28894 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28895 Likewise.
28896
1518f58b
TS
28897 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28898 __fortify_fail returning.
28899 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28900
db9b5059
TS
28901 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28902 sysdeps/sh/____longjmp_chk.S.
28903 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28904 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28905 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28906 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28907
967705fe
TS
28908 * sysdeps/sh/abort-instr.h: New file.
28909 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28910 process in case exit returns.
28911
a9def8c4
TS
28912 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28913 initialize the GOT register before use.
28914
2a649725
TS
28915 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28916 calculation of ARGC > 4.
28917
af1bce34
TS
28918 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28919 meaningful names to some local labels.
28920
d230f50a
KK
289212012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28922 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28923
28924 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28925 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28926 (__arch_compare_and_exchange_val_16_acq): Likewise.
28927 (__arch_compare_and_exchange_val_32_acq): Likewise.
28928 (atomic_exchange_and_add): Fix gUSA sequence.
28929 (atomic_add): Likewise.
28930 (atomic_add_negative): Likewise.
28931 (atomic_add_zero): Likewise.
28932 (atomic_bit_test_set): Likewise.
28933
0479b305
AS
289342012-06-22 Andreas Schwab <schwab@redhat.com>
28935
28936 [BZ #13579]
28937 * include/link.h (struct link_map): Add l_free_initfini.
28938 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28939 l_initfini.
28940 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28941 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28942 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28943 set.
28944
0e3933b9
CD
289452012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28946
28947 * configure.in: Use AC_LANG_SOURCE.
28948 * configure: Regenerate.
28949
4248b1b1
RM
289502012-06-22 Roland McGrath <roland@hack.frob.com>
28951
28952 * configure.in (libc_cv_localstatedir): New substituted variable.
28953 * configure: Regenerated.
28954 * config.make.in (localstatedir): New variable, substituted from
28955 libc_cv_localstatedir.
28956 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28957 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28958 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28959 * sysdeps/gnu/configure: Regenerated.
28960
006dd861
JL
289612012-06-21 Jeff Law <law@redhat.com>
28962
28963 [BZ #14277]
28964 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28965 free. Simplify list management for _LIBC case.
28966
79662d42
JM
289672012-06-21 Joseph Myers <joseph@codesourcery.com>
28968
b7abb4bf
JM
28969 [BZ #14273]
28970 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28971 Clear sign bit of 64-bit integer value before comparing against
28972 overflow value.
28973
79662d42
JM
28974 * sysdeps/mach/configure: Regenerated.
28975
1f150908
L
289762012-06-21 H.J. Lu <hongjiu.lu@intel.com>
28977
28978 [BZ #14278]
28979 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28980
28363bbf
JL
289812012-06-21 Jeff Law <law@redhat.com>
28982
28983 [BZ #13882]
28984 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
28985 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 28986 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
28987 * elf/dl-open.c (dl_open_worker): Likewise.
28988
09615db4
CD
289892012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
28990
28991 * scripts/list-sources.sh: Scan PORTS for translations.
28992 * po/libc.pot: Regenerated.
28993
2174c6dd
AJ
289942012-06-21 Andreas Jaeger <aj@suse.de>
28995
28996 [BZ #12194]
28997 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28998 warning.
28999 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29000 * bits/byteswap-16.h (__bswap_16): Likewise.
29001 * bits/byteswap.h (__bswap_constant_16): Likewise.
29002
3ee947b1
L
290032012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29004
29005 [BZ #14117]
a2f34833
L
29006 * sysdeps/i386/fpu_control.h: Removed.
29007 * sysdeps/x86_64/fpu_control.h: Moved to ...
29008 * sysdeps/x86/fpu_control.h: Here.
29009
3ee947b1
L
29010 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29011 (_FPU_SETCW): Likewise.
29012
ed1825f8
L
290132012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29014
25f1282a
L
29015 [BZ #14117]
29016 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29017 * sysdeps/x86/fpu/bits/mathinline.h: This.
29018 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29019
ed1825f8
L
29020 [BZ #14050]
29021 [BZ #14117]
29022 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29023 functions if __x86_64__ is defined.
29024
36d54b74
CLT
290252012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29026
29027 * string/endian.h: Add !__ASSEMBLER__ condition for including
29028 conversion interfaces.
29029
10285c21
JM
290302012-06-15 Joseph Myers <joseph@codesourcery.com>
29031
29032 [BZ #14241]
29033 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29034 of ABS(x) in calculating zero to negative powers other than odd
29035 integers.
29036 * math/libm-test.inc (pow_test): Add more tests.
29037
06c5abbd
AJ
290382012-06-15 Andreas Jaeger <aj@suse.de>
29039
29040 * manual/contrib.texi (Contributors): Update entry of Liubov
29041 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29042 Machado Filho.
29043
a3aeac40
CH
290442012-06-15 Cyril Hrubis <metan@ucw.cz>
29045
29046 * string/string.h: Add __wur to GNU version of strerror_r.
29047
49bdf4c1
L
290482012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29049
29050 [BZ #14229]
29051 * string/Makefile (tests): Add tst-strtok_r.
29052 * string/tst-strtok_r.c: New file.
29053 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29054 RAX_LP/RDX_LP on SAVE_PTR.
29055
834f9b8d
RM
290562012-06-14 Roland McGrath <roland@hack.frob.com>
29057
29058 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29059
75fa1921
JM
290602012-06-14 Joseph Myers <joseph@codesourcery.com>
29061
29062 * libm_test.inc (csqrt_test): Allow more spurious underflow
29063 exceptions.
29064 (j0_test): Likewise.
29065 (j1_test): Likewise.
29066 (y0_test): Likewise.
29067 (y1_test): Likewise.
29068
771766df
CD
290692012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29070
29071 * po/Makefile (libc.pot): Use UTF-8 charset.
29072
ceb9e56b
PP
290732012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29074
29075 [BZ #14210]
29076 Suppress sign-conversion warning from FD_SET.
29077 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29078 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29079 not unsigned long int.
29080 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29081
ddb28975
L
290822012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29083
29084 [BZ #14050]
29085 [BZ #14117]
29086 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29087 __extern_always_inline instead of __extern_inline.
29088 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29089 (__signbit): Likewise.
29090 (__signbitl): Support C++ namespace.
29091 (lrintf): New inline function.
29092 (lrint): Likewise.
29093 (llrintf): Likewise.
29094 (llrint): Likewise.
29095 (fmaxf): Likewise.
29096 (fmax): Likewise.
29097 (fminf): Likewise.
29098 (fmin): Likewise.
29099 (rint): Likewise.
29100 (rintf): Likewise.
29101 (ceil): Likewise.
29102 (ceilf): Likewise.
29103 (floor): Likewise.
29104 (floorf): Likewise.
29105 (nearbyint): Likewise.
29106 (nearbyintf): Likewise.
29107
d7b4fb26
TS
291082012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29109
29110 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29111 non-default versions.
29112
eb55f5c2
RM
291132012-06-11 Roland McGrath <roland@hack.frob.com>
29114
29115 [BZ #14218]
29116 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29117
366af02c
TS
291182012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29119
99ff6e5c
TS
29120 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29121 (FE_UPWARD, FE_DOWNWARD): Don't define.
29122 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29123 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29124
366af02c
TS
29125 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29126 reading it.
29127 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29128 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29129
793ea851
KK
291302012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29131
29132 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29133 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29134 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29135 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29136
a728a38f
L
291372012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29138
29139 [BZ #14117]
c08010c7
L
29140 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29141 * sysdeps/i386/fpu/Implies: New file.
29142 * sysdeps/x86_64/fpu/Implies: Likewise.
29143 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29144 * sysdeps/x86/fpu/bits/fenv.h: This.
29145
a728a38f
L
29146 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29147 __SSE_MATH__.
29148
6e230d11
SP
291492012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29150
29151 [BZ #14134]
29152 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29153 character 0xffff that matches the last element of the
29154 conversion table.
29155
1b671feb
AZ
291562012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29157
29158 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29159 fmodl commit.
29160
6043738b
AZ
291612012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29162
29163 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29164 values higher than 25.6283.
29165
34ae0b32
AZ
291662012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29167
29168 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29169 subnormal exponent extraction and add some __builtin_expect.
29170 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29171 Fix for subnormal mantissa calculation.
29172
1214ec8f
MF
291732012-06-04 Mike Frysinger <vapier@gentoo.org>
29174
29175 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29176 cpu2 is -1 and errno is not ENOSYS.
29177
f3d1f93c
L
291782012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29179
29180 [BZ #14117]
0e4a3cd7
L
29181 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29182 * sysdeps/x86/bits/string.h: This.
29183 * sysdeps/x86_64/bits/string.h: Removed.
29184
6704c645
L
29185 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29186 if not compiling for x86-64, but compiling for >= i486.
29187
48495318
L
29188 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29189 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29190
14adcbfc
L
29191 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29192 New macro from Linux kernel 3.4.0.
29193 (FP_XSTATE_MAGIC2): Likewise.
29194 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29195 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29196 (struct _fpx_sw_bytes): New struct.
29197 (struct _xsave_hdr): Likewise.
29198 (struct _ymmh_state): Likewise.
29199 (struct _xstate): Likewise.
29200
68e408ab
L
29201 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29202 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29203 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29204 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29205 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29206 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29207
f3d1f93c
L
29208 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29209 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29210 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29211 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29212 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29213 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29214
d9dc34cd
TMQMF
292152012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29216
29217 [BZ #13743]
29218 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29219 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29220 (sysdep_headers): Include sys/platform/ppc.h.
29221 * sysdeps/powerpc/test-gettimebase.c: Test for
29222 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29223 * manual/Makefile (appendices): Include platform.texi.
29224 * manual/contrib.texi (Contributors): Update @node pointers.
29225 * manual/maint.texi (Maintenance): Likewise.
29226 (Platform): New node.
29227 * manual/platform.texi: New file. Document the new features.
29228
4af3879c
SP
292292012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29230 Jakub Jelinek <jakub@redhat.com>
29231
29232 [BZ #14188]
29233 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29234 where __builtin_expect is unavailable.
29235
2fd6ff13
DM
292362012-06-03 David S. Miller <davem@davemloft.net>
29237
29238 * stdlib/longlong.h: Updated from GCC.
29239
173f7220
AS
292402012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29241
29242 [BZ #14042]
29243 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29244 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29245 __mcount_internal.
29246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29247 (GLIBC_2.16): Likewise.
29248
f34a1c6f
L
292492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29250
29251 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29252
88a4576f
JM
292532012-06-01 Joseph Myers <joseph@codesourcery.com>
29254
ea32bcdd
JM
29255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29256 (default-abi): New variable.
29257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29258 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29259 variable.
29260 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29261 Likewise.
29262 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29263 Likewise.
29264 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29265 Likewise.
29266
88a4576f
JM
29267 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29268 definition. Document in comment.
29269
402fe938
DM
292702012-06-01 David S. Miller <davem@davemloft.net>
29271
29272 * stdlib/longlong.h: Updated from GCC.
29273
3553723f
L
292742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29275
29276 [BZ #14117]
3bd872c4
L
29277 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29278 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29279 sys/debugreg.h sys/io.h here.
29280 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29281 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29282 sys/io.h.
29283 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29284 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29285 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29286 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29287 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29288 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29289
3553723f
L
29290 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29291 Define only if __x86_64__ is defined.
29292
4842e4fe
JM
292932012-06-01 Joseph Myers <joseph@codesourcery.com>
29294
c5bfe3d5
JM
29295 [BZ #14048]
29296 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29297 Use int64_t for variable i.
29298 * math/libm-test.inc (fmod_test): Add more tests.
29299
4842e4fe
JM
29300 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29301 z computation is not scheduled after fetestexcept.
29302 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29303 Use math_force_eval instead of asm to ensure calculation scheduled
29304 before exception test.
29305 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29306 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29307
efb73488
AJ
293082012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29309
29310 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29311 computation is not scheduled after fetestexcept.
29312
29bcce7c
L
293132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29314
29315 [BZ #14117]
29316 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29317 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29318
73a68f94
AZ
293192012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29320
29321 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29322 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29323
67b6df78
L
293242012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29325
edf2933a 29326 [BZ #14117]
ebc64a18
L
29327 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29328 <bits/wordsize.h>.
29329 (__WCHAR_MIN): Support __WORDSIZE == 64.
29330 (__WCHAR_MAX): Likewise.
29331
edf2933a
L
29332 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29333 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29334
57c6cf40
L
29335 [BZ #14183]
29336 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29337 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29338
67b6df78 29339 [BZ #14117]
8eb6281e
L
29340 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29341 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29342
aac639f4
L
29343 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29344 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29345
67b6df78
L
29346 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29347 Defined to 1 if __x86_64__ isn't defined.
29348 (_STAT_VER_LINUX_OLD): New.
29349 (st_atime): Remove duplicate.
29350 (st_mtime): Likewise.
29351 (st_ctime): Likewise.
29352
1c2cfe81
DM
293532012-05-31 David S. Miller <davem@davemloft.net>
29354
29355 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29356 entries.
29357
5be8418c
AS
293582012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29359
e7725326
AS
29360 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29361 gen-libm-test.pl.
29362
5be8418c
AS
29363 [BZ #14132]
29364 * elf/dl-reloc.c: Include <_itoa.h>.
29365 (_dl_reloc_bad_type): Remove use of INTUSE.
29366 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29367 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29368 * stdio-common/psiginfo.c (psiginfo): Likewise.
29369 * stdio-common/psignal.c (psignal): Likewise.
29370 * string/strsignal.c (strsignal): Likewise.
29371 * include/signal.h (_sys_siglist): Declare hidden proto.
29372 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29373 INTVARDEF with libc_hidden_data_def.
29374 * stdio-common/itoa-udigits.c: Likewise.
29375 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29376 (_itoa_lower_digits_internal): Remove declaration.
29377 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29378 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29379 (_sys_sigabbrev_internal): Remove aliases.
29380 (_sys_siglist): Define hidden alias.
29381
507352f1
MT
293822012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29383
29384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29385 bits/sysctl.h.
29386
42bbb1c3
L
293872012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29388
29389 [BZ #14117]
6bd784b6
L
29390 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29391 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29392
8bca20f0
L
29393 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29394 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29395 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29396 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29397 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29398 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29399
f9e890a9
L
29400 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29401 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29402 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29403
471101a1
L
29404 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29405 with __addr.
29406 (insw): Likewise.
29407 (insl): Likewise.
29408 (outsb): Likewise.
29409 (outsw): Likewise.
29410 (outsl): Likewise.
29411
6451c862
L
29412 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29413 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29414 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29415
a254b8c9
L
29416 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29417 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29418 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29419 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29420 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29421 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29422
b8dfdd92
L
29423 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29424 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29425
578cd270
L
29426 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29427 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29428
de662f5f
L
29429 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29430 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29431 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29432
25653439
L
29433 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29434 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29435 to ...
29436 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29437
6bad24a0
L
29438 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29439 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29440 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29441
42bbb1c3
L
29442 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29443 for x86-64.
29444 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29445
2d10d547
JM
294462012-05-31 Joseph Myers <joseph@codesourcery.com>
29447
29448 * math/math.h (M_El): Use two more decimal places.
29449 (M_LOG2El): Likewise.
29450 (M_LOG10El): Likewise.
29451 (M_LN2l): Likewise.
29452 (M_LN10l): Likewise.
29453 (M_PIl): Likewise.
29454 (M_PI_2l): Likewise.
29455 (M_PI_4l): Likewise.
29456 (M_1_PIl): Likewise.
29457 (M_2_PIl): Likewise.
29458 (M_2_SQRTPIl): Likewise.
29459 (M_SQRT2l): Likewise.
29460 (M_SQRT1_2l): Likewise.
29461
f230c29b
DM
294622012-05-31 David S. Miller <davem@davemloft.net>
29463
29464 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29465 values between float registers.
29466 * sysdeps/sparc/sparc64/memset.S: Likewise.
29467 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29468
fed806c3
MF
294692012-05-31 Mike Frysinger <vapier@gentoo.org>
29470
29471 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29472 -D_FORTIFY_SOURCE=1.
29473 (CPPFLAGS-tst-longjmp_chk.c): Define.
29474 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29475 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29476 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29477 CFLAGS-tst-wchar-h.c.
29478
30917259
MP
294792012-05-31 Marek Polacek <polacek@redhat.com>
29480
29481 [BZ #14132]
29482 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29483 __endmntent_internal): Remove declaration.
29484 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29485 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29486 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29487
1c58d5dc
DM
294882012-05-30 David S. Miller <davem@davemloft.net>
29489
29490 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29491 (___Q_simulate_exceptions): Use real FP ops rather than writing
29492 into the %fsr.
29493 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29494 Likewise.
29495
7dc00e0d
L
294962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29497
29498 [BZ #14117]
0bd53985
L
29499 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29500 * sysdeps/x86/bits/xtitypes.h: This.
29501
3a257e66
L
29502 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29503 * sysdeps/x86/bits/wordsize.h: This.
29504
62f62904
L
29505 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29506 * sysdeps/x86/bits/huge_vall.h: This.
29507
404fe9d9
L
29508 * sysdeps/i386/bits/select.h: Removed.
29509 * sysdeps/x86_64/bits/select.h: Renamed to ...
29510 * sysdeps/x86/bits/select.h: This.
29511
d48d0446
L
29512 * sysdeps/i386/bits/setjmp.h: Removed.
29513 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29514 * sysdeps/x86/bits/setjmp.h: This.
29515
7dc00e0d
L
29516 * sysdeps/i386/bits/mathdef.h: Removed.
29517 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29518 * sysdeps/x86/bits/mathdef.h: This.
29519
03277f8f
AS
295202012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29521
29522 [BZ #14132]
29523 * include/sys/socket.h (__connect_internal)
29524 (__libc_sa_len_internal): Remove declaration.
29525 (__connect, __libc_sa_len): Declare hidden_proto.
29526 (SA_LEN): Remove use of INTUSE.
29527 * socket/connect.c: Add libc_hidden_def.
29528 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29529 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29530 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29531 alias.
29532 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29533 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29534 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29535 of adding _internal alias.
29536
13764867
L
295372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29538
29539 [BZ #14117]
6bd97696
L
29540 * sysdeps/i386/bits/link.h: Removed.
29541 * sysdeps/i386/bits/linkmap.h: Likewise.
29542 * sysdeps/x86_64/bits/link.h: Renamed to ...
29543 * sysdeps/x86/bits/link.h: This.
29544 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29545 * sysdeps/x86/bits/linkmap.h: This.
29546
f726f0bb
L
29547 * sysdeps/i386/bits/endian.h: Removed.
29548 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29549 * sysdeps/x86/bits/endian.h: This.
29550
13764867
L
29551 * sysdeps/i386/bits/byteswap.h: Removed.
29552 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29553 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29554 * sysdeps/x86/bits/byteswap.h: This.
29555 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29556 * sysdeps/x86/bits/byteswap-16.h: This.
29557 * sysdeps/i386/Implies: Add x86.
29558 * sysdeps/x86_64/Implies: Likewise.
29559
ae251b0b
DM
295602012-05-30 David S. Miller <davem@davemloft.net>
29561
29562 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29563 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29564 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29565 (FP_TRAPPING_EXCEPTIONS): Define.
29566 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29567 (FP_TRAPPING_EXCEPTIONS): Define.
29568 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29569 subnormals only when inexact has been signalled or underflow
29570 exceptions are enabled.
29571 (_FP_PACK_CANONICAL): Likewise.
29572
d5c90867
L
295732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29574
29575 [BZ #14183]
29576 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29577 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29578
63f1549e
RH
295792012-05-30 Richard Henderson <rth@twiddle.net>
29580
8d8f2279
RH
29581 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29582 with #ifndef NOT_IN_libc.
29583
63f1549e
RH
29584 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29585 marked to avoid plt entry.
29586
0ab0291b
L
295872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29588
29589 [BZ #14112]
29590 * Makeconfig (default-abi): New macro.
29591 (abi-includes): Likewise.
29592 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29593 $(abi-$(default-abi)-lib-soname) for soname if defined.
29594 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29595 abi-variants.
29596 * Makefile (installed-stubs): Likewise.
29597 * include/stubs-biarch.h: Removed.
29598 * scripts/lib-names.awk: Only handle one library at a time.
29599 * scripts/soversions.awk: Remove WORDSIZE support.
29600 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29601 entries.
29602 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29603 Removed.
29604 (syscall-list-default-condition): Likewise.
29605 (syscall-list-default-condition): Likewise.
29606 (syscall-list-includes): Likewise.
29607 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29608 syscall-list-* with abi-*. Handle undefined abi-variants.
29609 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29610 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29611 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29612 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29613 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29614 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29615 Removed.
29616 (syscall-list-32-options): Likewise.
29617 (syscall-list-32-condition): Likewise.
29618 (syscall-list-64-options): Likewise.
29619 (syscall-list-64-condition): Likewise.
29620 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29621 macro.
29622 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29623 Renamed to ...
29624 (abi-*): This.
29625 (abi-64-ld-soname): New macro.
29626 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29627 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29628 Renamed to ...
29629 (abi-*): This.
29630 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29631 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29632
4da0431d
JM
296332012-05-30 Joseph Myers <joseph@codesourcery.com>
29634
3a85279c
JM
29635 * sysdeps/unix/sysv/linux/kernel-features.h
29636 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29637 * sysdeps/unix/sysv/linux/ftruncate64.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/truncate64.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/ftruncate64.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 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29656 include <kernel-features.h>.
29657 [!__NR_ftruncate64]: Remove conditional code.
29658 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29659 [__NR_ftruncate64]: Make code unconditional.
29660 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29661
4da0431d
JM
29662 * configure.in (libc_cv_fpie): Weaken to a compile test using
29663 LIBC_TRY_CC_OPTION.
29664 * configure: Regenerated.
29665
11ef492c
AK
296662012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29667
29668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29672 Refreshed.
29673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29679 Refreshed.
29680
d66ef399
DM
296812012-05-27 David S. Miller <davem@davemloft.net>
29682
29683 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29684 (___Q_zero): New.
29685 (__Q_simulate_exceptions): Return void. Change to simulate
29686 exceptions by writing into the %fsr.
29687 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29688 (__Qp_handle_exceptions): Likewise.
29689 (numbers): Delete.
29690 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29691 __Qp_handle_exceptions.
29692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29693 __Qp_handle_exceptions.
29694 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29695 as unused and give dummy FP_RND_NEAREST initializer.
29696 (FP_INHIBIT_RESULTS): Define.
29697 (___Q_simulate_exceptions): Update declaration.
29698 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29699 formatting.
29700 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29701 as unused and give dummy FP_RND_NEAREST initializer.
29702 (__Qp_handle_exceptions): Update declaration.
29703 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29704 formatting.
29705
04fb54b5
TS
297062012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29707
29708 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29709 the temporary FPU control word.
29710 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29711 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29712 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29713 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29714 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29715 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29716 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29717 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29718 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29719 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29720 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29721
3f99608f
KK
297222012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29723
29724 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29725 fields.
29726
65a4de4e
CLT
297272012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29728
29729 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29730 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29731 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29732 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29733 Likewise.
29734 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29735 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29736 Likewise.
29737
15749d40
UD
297382012-05-27 Ulrich Drepper <drepper@gmail.com>
29739
29740 * po/h.po: Update from translation team.
29741
25dbcb27
AS
297422012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29743
3d3f8e55
AS
29744 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29745
25dbcb27
AS
29746 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29747 handling of denormals.
29748 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29749 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29750 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29751 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29752 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29753 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29754 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29755 Likewise.
29756
7ad47a80 297572012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
29758
29759 [BZ #14152]
29760 * math/libm-test.inc (fma_test): Don't always expect underflow
29761 exception.
29762
9c6ea9fa
SP
297632012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29764
29765 [BZ #12416]
29766 * elf/tst-execstack.c: Include stackinfo.h.
29767 (do_test): Adjust test case to ensure that pthread_getattr_np
29768 behaviour remains the same after marking stack executable.
29769
a8239222
JM
297702012-05-25 Joseph Myers <joseph@codesourcery.com>
29771
29772 * sysdeps/unix/sysv/linux/kernel-features.h
29773 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29774 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29775 kernel-features.h.
29776 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29777 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29778 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29779 kernel-features.h.
29780 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29781 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29782
918b5606
L
297832012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29784
29785 * configure.in: Define the default includes to being none.
29786 * configure: Regenerated.
29787
3a097cc7
RM
297882012-05-25 Roland McGrath <roland@hack.frob.com>
29789
8422c9a5
RM
29790 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29791 * sysdeps/x86_64/setjmp.S: Likewise.
29792 * sysdeps/i386/bsd-setjmp.S: Likewise.
29793 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29794 * sysdeps/i386/setjmp.S: Likewise.
29795 * sysdeps/i386/__longjmp.S: Likewise.
29796 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29797 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29798
3a097cc7
RM
29799 * include/stap-probe.h: New file.
29800 * configure.in: Handle --enable-systemtap.
29801 * configure: Regenerated.
29802 * config.h.in (USE_STAP_PROBE): New #undef.
29803 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29804 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29805 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29806
21708942
JM
298072012-05-25 Joseph Myers <joseph@codesourcery.com>
29808
29809 [BZ #13717]
29810 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29811 to 2.4.0 where earlier.
29812 * sysdeps/unix/sysv/linux/configure: Regenerated.
29813 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29814 <kernel-features.h>.
29815 [__ASSUME_32BITUIDS]: Make code unconditional.
29816 [!__ASSUME_32BITUIDS]: Remove conditional code.
29817 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29818 <kernel-features.h>.
29819 [__ASSUME_32BITUIDS]: Make code unconditional.
29820 [!__ASSUME_32BITUIDS]: Remove conditional code.
29821 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29822 [__ASSUME_32BITUIDS]: Make code unconditional.
29823 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29824 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29825 <kernel-features.h>.
29826 [__ASSUME_32BITUIDS]: Make code unconditional.
29827 [!__ASSUME_32BITUIDS]: Remove conditional code.
29828 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29829 <kernel-features.h>.
29830 [__ASSUME_32BITUIDS]: Make code unconditional.
29831 [!__ASSUME_32BITUIDS]: Remove conditional code.
29832 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29833 <kernel-features.h>.
29834 [__ASSUME_32BITUIDS]: Make code unconditional.
29835 [!__ASSUME_32BITUIDS]: Remove conditional code.
29836 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29837 <kernel-features.h>.
29838 [__ASSUME_32BITUIDS]: Make code unconditional.
29839 [!__ASSUME_32BITUIDS]: Remove conditional code.
29840 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29841 <kernel-features.h>.
29842 [__ASSUME_32BITUIDS]: Make code unconditional.
29843 [!__ASSUME_32BITUIDS]: Remove conditional code.
29844 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29845 <kernel-features.h>.
29846 [__ASSUME_32BITUIDS]: Make code unconditional.
29847 [!__ASSUME_32BITUIDS]: Remove conditional code.
29848 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29849 <kernel-features.h>.
29850 [__ASSUME_32BITUIDS]: Make code unconditional.
29851 [!__ASSUME_32BITUIDS]: Remove conditional code.
29852 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29853 <kernel-features.h>.
29854 [__ASSUME_32BITUIDS]: Make code unconditional.
29855 [!__ASSUME_32BITUIDS]: Remove conditional code.
29856 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29857 <kernel-features.h>.
29858 [__ASSUME_32BITUIDS]: Make code unconditional.
29859 [!__ASSUME_32BITUIDS]: Remove conditional code.
29860 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29861 <kernel-features.h>.
29862 [__ASSUME_32BITUIDS]: Make code unconditional.
29863 [!__ASSUME_32BITUIDS]: Remove conditional code.
29864 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29865 <kernel-features.h>.
29866 [__NR_setresgid] (__setresgid): Do not declare.
29867 [__ASSUME_32BITUIDS]: Make code unconditional.
29868 [!__ASSUME_32BITUIDS]: Remove conditional code.
29869 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29870 <kernel-features.h>.
29871 [__NR_setresuid] (__setresuid): Do not declare.
29872 [__ASSUME_32BITUIDS]: Make code unconditional.
29873 [!__ASSUME_32BITUIDS]: Remove conditional code.
29874 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29875 <kernel-features.h>.
29876 [__ASSUME_32BITUIDS]: Make code unconditional.
29877 [!__ASSUME_32BITUIDS]: Remove conditional code.
29878 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29879 <kernel-features.h>.
29880 [__ASSUME_32BITUIDS]: Make code unconditional.
29881 [!__ASSUME_32BITUIDS]: Remove conditional code.
29882 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29883 <kernel-features.h>.
29884 [__ASSUME_32BITUIDS]: Make code unconditional.
29885 [!__ASSUME_32BITUIDS]: Remove conditional code.
29886 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29887 <kernel-features.h>.
29888 [__ASSUME_32BITUIDS]: Make code unconditional.
29889 [!__ASSUME_32BITUIDS]: Remove conditional code.
29890 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29891 <kernel-features.h>.
29892 [__ASSUME_32BITUIDS]: Make code unconditional.
29893 [!__ASSUME_32BITUIDS]: Remove conditional code.
29894 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29895 <kernel-features.h>.
29896 [__ASSUME_32BITUIDS]: Make code unconditional.
29897 [!__ASSUME_32BITUIDS]: Remove conditional code.
29898 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29899 <kernel-features.h>.
29900 [__ASSUME_32BITUIDS]: Make code unconditional.
29901 [!__ASSUME_32BITUIDS]: Remove conditional code.
29902 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29903 <kernel-features.h>.
29904 [__ASSUME_32BITUIDS]: Make code unconditional.
29905 [!__ASSUME_32BITUIDS]: Remove conditional code.
29906 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29907 <kernel-features.h>.
29908 [__ASSUME_32BITUIDS]: Make code unconditional.
29909 [!__ASSUME_32BITUIDS]: Remove conditional code.
29910 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29911 <kernel-features.h>.
29912 [__ASSUME_32BITUIDS]: Make code unconditional.
29913 [!__ASSUME_32BITUIDS]: Remove conditional code.
29914 * sysdeps/unix/sysv/linux/kernel-features.h
29915 (__ASSUME_SETRESUID_SYSCALL): Remove.
29916 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29917 (__ASSUME_32BITUIDS): Likewise.
29918 (__ASSUME_LDT_WORKS): Likewise.
29919 (__ASSUME_O_DIRECTORY): Likewise.
29920 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29921 architecture but not kernel version.
29922 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29923 (__ASSUME_MMAP2_SYSCALL): Likewise.
29924 (__ASSUME_STAT64_SYSCALL): Likewise.
29925 (__ASSUME_IPC64): Likewise.
29926 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29927 <kernel-features.h>.
29928 [__ASSUME_32BITUIDS]: Make code unconditional.
29929 [!__ASSUME_32BITUIDS]: Remove conditional code.
29930 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29931 <kernel-features.h>.
29932 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29933 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29934 132096]: Remove conditional code.
29935 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29936 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29937 <kernel-features.h>.
29938 [__ASSUME_32BITUIDS]: Make code unconditional.
29939 [!__ASSUME_32BITUIDS]: Remove conditional code.
29940 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29941 <kernel-features.h>.
29942 [__ASSUME_32BITUIDS]: Make code unconditional.
29943 [!__ASSUME_32BITUIDS]: Remove conditional code.
29944 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29945 <kernel-features.h>.
29946 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29947 unconditional.
29948 (__setresgid): Do not declare.
29949 [__ASSUME_32BITUIDS]: Make code unconditional.
29950 [!__ASSUME_32BITUIDS]: Remove conditional code.
29951 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29952 <kernel-features.h>.
29953 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29954 unconditional.
29955 (__setresuid): Do not declare.
29956 [__ASSUME_32BITUIDS]: Make code unconditional.
29957 [!__ASSUME_32BITUIDS]: Remove conditional code.
29958 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29959 <kernel-features.h>.
29960 [__ASSUME_32BITUIDS]: Make code unconditional.
29961 [!__ASSUME_32BITUIDS]: Remove conditional code.
29962 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29963 <kernel-features.h>.
29964 [__ASSUME_32BITUIDS]: Make code unconditional.
29965 [!__ASSUME_32BITUIDS]: Remove conditional code.
29966
a386f1cc
RH
299672012-05-25 Richard Henderson <rth@twiddle.net>
29968
29969 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29970 dl_hwcap to ifunc resolver.
29971 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29972 elf_ifunc_invoke.
29973 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29974 dl_hwcap to ifunc resolver.
29975 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29976
b6550497
JM
299772012-05-24 Joseph Myers <joseph@codesourcery.com>
29978
29979 [BZ #14153]
29980 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29981 for |x| <= 2**-26, not 2**-57.
29982 * math/libm-test.inc (acos_test): Do not allow spurious underflow
29983 exception.
29984
b0bc23a1
JL
299852012-05-24 Jeff Law <law@redhat.com>
29986
29987 * stdio-common/Makefile (tests): Add bug25.
29988 * stdio-common/bug25.c: New test.
29989
347c92e9
L
299902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
29991
29992 [BZ #13576]
29993 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29994 multiple of MALLOC_ALIGNMENT in size.
29995 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29996
6bcc8b3f
JM
299972012-05-24 Joseph Myers <joseph@codesourcery.com>
29998
29999 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30000 Require >= 256.
30001 (FILENAME_MAX): Use macro-int-constant.
30002 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30003 (_IOFBF): Use macro-int-constant.
30004 (_IOLBF): Likewise.
30005 (_IONBF): Likewise.
30006 (SEEK_CUR): Likewise.
30007 (SEEK_END): Likewise.
30008 (SEEK_SET): Likewise.
30009 (TMP_MAX): Likewise.
30010 (EOF): Use macro-int-constant. Require < 0.
30011 (NULL): Use macro-constant. Require == 0.
30012 (stdin): Require type to be FILE *.
30013 (stdout): Likewise.
30014 (stderr): Likewise.
30015 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30016 macro-int-constant.
30017 (EXIT_SUCCESS): Likewise.
30018 (NULL): Use macro-constant. Require == 0.
30019 (RAND_MAX): Use macro-int-constant.
30020 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30021 [C99-based standards] (strtof): Require function.
30022 [C99-based standards] (strtold): Likewise.
30023 [C99-based standards] (strtoll): Likewise.
30024 [C99-based standards] (strtoull): Likewise.
30025 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30026 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30027 [ISO || ISO99 || ISO11] (math.h): Likewise.
30028 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30029 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30030 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30031
d18ea0c5
AS
300322012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30033
30034 [BZ #14132]
56d25bb8
AS
30035 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30036 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30037 * intl/dgettext.c (DCGETTEXT): Likewise.
30038 * intl/gettext.c (DCGETTEXT): Likewise.
30039 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30040 * posix/regex_internal.h (gettext): Likewise.
30041 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30042 Remove declaration.
30043 * include/argz.h (__argz_count_internal)
30044 (__argz_stringify_internal): Remove declaration.
30045 (__argz_count, __argz_stringify): Declare hidden proto.
30046 * intl/dcgettext.c: Remove use of INTDEF.
30047 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30048 * string/argz-stringify.c: Likewise.
30049 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30050 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30051 Declare hidden proto.
d18ea0c5
AS
30052 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30053 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30054 Declare hidden proto.
30055 * include/stdio.h (__asprintf_internal): Don't declare.
30056 (__asprintf): Don't define as macro. Declare hidden proto.
30057 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30058 (__fsetlocking): Declare hidden proto.
30059 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30060 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30061 hidden proto.
30062 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30063 (_IO_setlinebuf): Remove use of INTUSE.
30064 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30065 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30066 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30067 Remove declaration.
30068 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30069 (_IO_do_flush): Remove use of INTUSE.
30070 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30071 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30072 (_IO_adjust_column, _IO_least_wmarker)
30073 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30074 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30075 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30076 (_IO_default_doallocate, _IO_wdefault_doallocate)
30077 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30078 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30079 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30080 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30081 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30082 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30083 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30084 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30085 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30086 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30087 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30088 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30089 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30090 proto.
30091 (_IO_flush_all_internal, _IO_adjust_column_internal)
30092 (_IO_default_uflow_internal, _IO_default_finish_internal)
30093 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30094 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30095 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30096 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30097 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30098 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30099 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30100 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30101 (_IO_file_close_internal, _IO_file_close_it_internal)
30102 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30103 (_IO_file_init_internal, _IO_file_attach_internal)
30104 (_IO_file_fopen_internal, _IO_file_read_internal)
30105 (_IO_file_sync_internal, _IO_file_seek_internal)
30106 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30107 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30108 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30109 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30110 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30111 (_IO_list_all_internal, _IO_link_in_internal)
30112 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30113 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30114 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30115 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30116 (_IO_do_write_internal, _IO_padn_internal)
30117 (_IO_getline_info_internal, _IO_getline_internal)
30118 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30119 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30120 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30121 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30122 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30123 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30124 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30125 with libc_hidden_ver, remove use of INTUSE.
30126 * libio/genops.c: Likewise.
30127 * libio/freopen.c: Likewise.
30128 * libio/freopen64.c: Likewise.
30129 * libio/iofclose.c: Likewise.
30130 * libio/iofdopen.c: Likewise.
30131 * libio/iofflush.c: Likewise.
30132 * libio/iofflush_u.c: Likewise.
30133 * libio/iofgets.c: Likewise.
30134 * libio/iofgets_u.c: Likewise.
30135 * libio/iofopen.c: Likewise.
30136 * libio/iofopncook.c: Likewise.
30137 * libio/iofread.c: Likewise.
30138 * libio/iofread_u.c: Likewise.
30139 * libio/ioftell.c: Likewise.
30140 * libio/iofwrite.c: Likewise.
30141 * libio/iogetline.c: Likewise.
30142 * libio/iogets.c: Likewise.
30143 * libio/iogetwline.c: Likewise.
30144 * libio/iopadn.c: Likewise.
30145 * libio/iopopen.c: Likewise.
30146 * libio/ioseekoff.c: Likewise.
30147 * libio/ioseekpos.c: Likewise.
30148 * libio/iosetbuffer.c: Likewise.
30149 * libio/iosetvbuf.c: Likewise.
30150 * libio/ioungetc.c: Likewise.
30151 * libio/ioungetwc.c: Likewise.
30152 * libio/iovdprintf.c: Likewise.
30153 * libio/iovsprintf.c: Likewise.
30154 * libio/iovsscanf.c: Likewise.
30155 * libio/memstream.c: Likewise.
30156 * libio/obprintf.c: Likewise.
30157 * libio/oldfileops.c: Likewise.
30158 * libio/oldiofclose.c: Likewise.
30159 * libio/oldiofdopen.c: Likewise.
30160 * libio/oldiofopen.c: Likewise.
30161 * libio/oldiopopen.c: Likewise.
30162 * libio/oldstdfiles.c: Likewise.
30163 * libio/putc.c: Likewise.
30164 * libio/setbuf.c: Likewise.
30165 * libio/setlinebuf.c: Likewise.
30166 * libio/stdfiles.c: Likewise.
30167 * libio/strops.c: Likewise.
30168 * libio/vasprintf.c: Likewise.
30169 * libio/vscanf.c: Likewise.
30170 * libio/vsnprintf.c: Likewise.
30171 * libio/vswprintf.c: Likewise.
30172 * libio/wfiledoalloc.c: Likewise.
30173 * libio/wfileops.c: Likewise.
30174 * libio/wgenops.c: Likewise.
30175 * libio/wmemstream.c: Likewise.
30176 * libio/wstrops.c: Likewise.
30177 * libio/__fpurge.c: Likewise.
30178 * libio/__fsetlocking.c: Likewise.
30179 * assert/assert.c: Likewise.
30180 * debug/fgets_chk.c: Likewise.
30181 * debug/fgets_u_chk.c: Likewise.
30182 * debug/fread_chk.c: Likewise.
30183 * debug/fread_u_chk.c: Likewise.
30184 * debug/gets_chk.c: Likewise.
30185 * debug/obprintf_chk.c: Likewise.
30186 * debug/vasprintf_chk.c: Likewise.
30187 * debug/vdprintf_chk.c: Likewise.
30188 * debug/vsnprintf_chk.c: Likewise.
30189 * debug/vsprintf_chk.c: Likewise.
30190 * malloc/mtrace.c: Likewise.
30191 * misc/error.c: Likewise.
30192 * misc/syslog.c: Likewise.
30193 * stdio-common/asprintf.c: Likewise.
30194 * stdio-common/fxprintf.c: Likewise.
30195 * stdio-common/getw.c: Likewise.
30196 * stdio-common/isoc99_fscanf.c: Likewise.
30197 * stdio-common/isoc99_scanf.c: Likewise.
30198 * stdio-common/isoc99_vfscanf.c: Likewise.
30199 * stdio-common/isoc99_vscanf.c: Likewise.
30200 * stdio-common/isoc99_vsscanf.c: Likewise.
30201 * stdio-common/printf-prs.c: Likewise.
30202 * stdio-common/printf_fp.c: Likewise.
30203 * stdio-common/printf_fphex.c: Likewise.
30204 * stdio-common/printf_size.c: Likewise.
30205 * stdio-common/putw.c: Likewise.
30206 * stdio-common/scanf.c: Likewise.
30207 * stdio-common/sprintf.c: Likewise.
30208 * stdio-common/tmpfile.c: Likewise.
30209 * stdio-common/vfprintf.c: Likewise.
30210 * stdio-common/vfscanf.c: Likewise.
30211 * stdlib/strfmon_l.c: Likewise.
30212 * sunrpc/openchild.c: Likewise.
30213 * sunrpc/xdr_stdio.c: Likewise.
30214 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30215 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30216
d6c33fda
RM
302172012-05-24 Roland McGrath <roland@hack.frob.com>
30218
c1487492
RM
30219 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30220
30221 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30222 in the third column, to generate for the shared library an IFUNC
30223 that uses _dl_vdso_vsym.
30224 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30225 * Makeconfig (object-suffixes-noshared): New variable.
30226
30227 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30228 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30229 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30230 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30231
d6c33fda
RM
30232 [BZ #14132]
30233 * include/sys/time.h (__gettimeofday): Remove macro.
30234 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30235 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30236 Remove INTDEF.
30237 (__gettimeofday): Add libc_hidden_def.
30238 (gettimeofday): Add libc_hidden_weak.
30239 * sysdeps/mach/gettimeofday.c: Likewise.
30240 * sysdeps/posix/gettimeofday.c: Likewise.
30241 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30242 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30243 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30244 (__gettimeofday_internal): Remove strong_alias.
30245 (__gettimeofday): Add libc_hidden_def.
30246 (gettimeofday): Add libc_hidden_weak.
30247 * sysdeps/unix/syscalls.list (gettimeofday):
30248 Remove __gettimeofday_internal alias.
30249
b5a2bbe6
L
302502012-05-24 Daniel Jacobowitz <drow@false.org>
30251 H.J. Lu <hongjiu.lu@intel.com>
30252
30253 [BZ #12495]
30254 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30255 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30256 (largebin_index_32_big): New.
30257 (largebin_index): Use it for 16-byte alignment.
30258 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30259 correction with front_misalign.
30260
cfba4fda
L
302612012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30262
7f907421
L
30263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30265 Likewise.
30266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30267 Likewise.
30268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30269 Likewise.
30270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30271 Likewise.
30272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30273 Likewise.
30274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30275 Likewise.
30276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30277 Likewise.
30278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30279 Likewise.
30280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30281 Likewise.
30282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30283 Likewise.
30284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30285 Likewise.
30286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30287 Likewise.
30288
cfba4fda
L
30289 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30290 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30291
80bad0cc
JM
302922012-05-24 Joseph Myers <joseph@codesourcery.com>
30293
7a25eb06
JM
30294 [BZ #10846]
30295 [BZ #14036]
30296 * math/libm-test.inc (exp_test): Add test from bug 14036.
30297 (pow_test): Add test from bug 10846.
30298
795405f9
JM
30299 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30300 and other flags.
30301 (special_function): Do not include flags in test name.
30302 (parse_args): Likewise.
30303 * sysdeps/i386/fpu/libm-test-ulps: Update.
30304 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30305 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30306 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30308
80bad0cc
JM
30309 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30310 exceptions.
30311 * math/libm-test.inc ("Philosophy"): Update comment about
30312 exception testing.
30313 (UNDERFLOW_EXCEPTION): New macro.
30314 (UNDERFLOW_EXCEPTION_OK): Likewise.
30315 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30316 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30317 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30318 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30319 (INVALID_EXCEPTION_OK): Update value.
30320 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30321 (OVERFLOW_EXCEPTION_OK): Likewise.
30322 (IGNORE_ZERO_INF_SIGN): Likewise.
30323 (test_exceptions): Handle underflow exceptions.
30324 (acos_test): Update for underflow exception expectations.
30325 (cexp_test): Likewise.
30326 (clog_test): Likewise.
30327 (clog10_test): Likewise.
30328 (csqrt_test): Likewise.
30329 (ctan_test): Likewise.
30330 (ctanh_test): Likewise.
30331 (exp_test): Likewise.
30332 (exp10_test): Likewise.
30333 (exp2_test): Likewise.
30334 (expm1_test): Likewise.
30335 (fma_test): Likewise.
30336 (j0_test): Likewise.
30337 (jn_test): Likewise.
30338 (nexttoward_test): Likewise.
30339 (pow_test): Likewise.
30340 (scalbn_test): Likewise.
30341 (scalbln_test): Likewise.
30342 (tan_test): Likewise.
30343 (y1_test): Likewise.
30344 * sysdeps/i386/fpu/libm-test-ulps: Update.
30345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30346
9e0e3d0b
DM
303472012-05-23 David S. Miller <davem@davemloft.net>
30348
30349 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30350 (__libc_sigaction): Remove unused local variables.
30351
ccd0a08f
L
303522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30353
30354 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30355
62bdf9a6
PE
303562012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30357
f8591f80
PE
30358 mktime: avoid signed integer overflow
30359 * time/mktime.c (__mktime_internal): Do not mishandle the case
30360 where diff == INT_MIN.
30361
94c7d826
PE
30362 mktime: simplify computation of average
30363 * time/mktime.c (ranged_convert): Use new time_t_avg function
30364 instead of rolling our own (probably-slower) code.
30365
ce73d683
PE
30366 mktime: do not assume signed right shift propagates sign bit
30367 * time/mktime.c (isdst_differ): New static function.
30368 (__mktime_internal): No need to normalize tm_isdst now.
30369 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30370 tm_isdst values.
30371
72a22e59
PE
30372 mktime: merge another wrapv change from gnulib
30373 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30374 from some compilers.
30375
68605433
PE
30376 mktime: remove incorrect attempt at unusual arithmetics
30377 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30378 The code didn't really work on such machines anyway.
30379 (TYPE_MINIMUM): Assume two's complement.
30380 (twos_complement_arithmetic): Verify that long_int and time_t
30381 are two's complement (or unsigned, in the latter case).
30382
03cf7fe3
PE
30383 mktime: check signed shifts on long_int and time_t, too
30384 * time/mktime.c (SHR): Check that shifts work as desired
30385 on the types long_int and time_t too, as SHR is used on
30386 such types.
30387
f04dfbc2
PE
30388 mktime: do not assume 'long' is wide enough
30389 * time/mktime.c (verify): Move decl up.
30390 (long_int): New type.
30391 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30392 to remove assumption in the code that 'long' is wide enough to
30393 store year values. This assumption is not true on x32 and on
30394 some non-glibc platforms.
30395
62bdf9a6
PE
30396 mktime: merge wrapv change from gnulib
30397 * time/mktime.c (WRAPV): New macro.
30398 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30399 (guess_time_tm, __mktime_internal): Do not assume that signed
30400 integer overflow wraps around; modern compilers generate code
30401 where this assumption is no longer valid.
30402
5e292e4f
L
304032012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30404
30405 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30406 Replace "jmp L(pseudo_end)" with "ret".
30407 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30408 Likewise.
30409
8caf8c87
AJ
304102012-05-23 Andreas Jaeger <aj@suse.de>
30411
30412 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30413 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30414
1a09dc56
AJ
304152012-05-23 Andreas Jaeger <aj@suse.de>
30416 Maximilian Attems <max@stro.at>
30417
30418 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30419 New macros.
30420
1c87aba0
L
304212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30422
30423 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30424 code so that pseudo_end is just ret and the stack pointer is
30425 correct also for static library in error case.
30426
40e45bd5
JM
304272012-05-23 Joseph Myers <joseph@codesourcery.com>
30428
c2670533
JM
30429 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30430 move to syscalls.list.
30431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30435
40e45bd5
JM
30436 * manual/install.texi (Running make install): Do not mention Linux
30437 kernel version for which pt_chown is not needed.
30438 (Linux): Do not mention problems with nscd with 2.0 kernels.
30439 * INSTALL: Regenerated.
30440
be08eda5
AJ
304412012-05-23 Andreas Jaeger <aj@suse.de>
30442
30443 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30444 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30445 macro.
30446 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30447 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30448 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30449 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30450 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30451 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30452 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30453 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30454 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30455 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30456 * sysdeps/unix/sysv/linux/bits/in.h
30457 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30458
a6a056bb
RM
304592012-05-22 Roland McGrath <roland@hack.frob.com>
30460
30461 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30462 (PREPARE_VERSION): Just use assert instead, it will be elided
30463 under [NDEBUG] anyway.
30464
c9009328
L
304652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30466
30467 * sysdeps/unix/sysv/linux/Makefile: Include
30468 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 30469 (sysdep_routines): Remove sysctl.
c9009328
L
30470 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30471 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30472 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30473 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30474 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30475
73338355
AJ
304762012-05-22 Andreas Jaeger <aj@suse.de>
30477
30478 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30479 that pseudo_end is just ret and the stack pointer is correct also
30480 for static library in error case.
30481
d44638b0
PP
304822012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30483
30484 [BZ #14122]
30485 * nss/nsswitch.c (defconfig_entries): New variable.
30486 (__nss_database_lookup): Don't leak defconfig entries.
30487 (nss_parse_service_list): Don't leak on error paths.
30488 (free_database_entries): New function.
30489 (free_defconfig): New function.
30490 (free_mem): Move common code to free_database_entries.
30491
31a39bd8
L
304922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30493
da0331a8
L
30494 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30495 Add arch_prctl.
30496 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30497
31a39bd8
L
30498 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30499 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30500 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30501 New macro.
30502 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30503 (INTERNAL_SYSCALL_TYPES): Likewise.
30504 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30505 (LOAD_REGS_TYPES_[1-6]): Likewise.
30506 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30507 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30508
45470df3
AZ
305092012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30510
30511 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30512 copysignl for GLIBC_2_0.
30513 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30514 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30515 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30516 logbl for GLIBC_2_0.
30517 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30518 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30519
98a61bcb
L
305202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30521
a4f6e481
L
30522 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30523 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30524
f63d5db6
L
30525 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30526 Use "neg %eax".
30527
98a61bcb
L
30528 * time/mktime.c: Update copyright years.
30529
95770f14
PE
305302012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30531
6226efbd
PE
30532 mktime: merge comment-quoting-style change from gnulib
30533 * time/mktime.c: Quote 'like this' in comments.
30534 The GNU coding standards suggest that we no longer quote `like this',
30535 as "`" and "'" are typically rendered asymmetrically nowadays.
30536 The typical gnulib style is to quote 'like this' when quoting
30537 code, and "like this" when quoting English.
30538
b99e4f78
PE
30539 * time/mktime.c (compile-command): Add "-I.".
30540
643e01e6
PE
30541 mktime: merge mktime-internal.h change from gnulib
30542 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30543
2554247d
PE
30544 mktime: merge time_r change from gnulib
30545 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30546
826dd0ab
PE
30547 mktime: merge DEBUG change from gnulib
30548 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30549 case system <time.h> has a #define.
30550
bd83aabe
PE
30551 mktime: merge <sys/types.h> change from gnulib
30552 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30553 since <time.t> is now guaranteed to define time_t.
30554
95770f14
PE
30555 mktime: merge HAVE_CONFIG_H change from gnulib
30556 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30557
5e1a27a9
L
305582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30559
0e44a77e
L
30560 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30561 Use "neg %eax".
30562
5e1a27a9
L
30563 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30564 __rlim_t cast.
30565 (struct rusage): Use anonymous union to pad each field to
30566 __syscall_slong_t.
30567
46259bec
DM
305682012-05-21 David S. Miller <davem@davemloft.net>
30569
30570 * Makefules (o-iterator): Remove .s cases.
30571 (compile-command.s): Delete.
30572 (COMPILE.s): Delete.
30573 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30574
59f0c22e
JM
305752012-05-21 Joseph Myers <joseph@codesourcery.com>
30576
30577 * configure.in (libc_cv_predef_stack_protector): Only consider
30578 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30579 * configure: Regenerated.
30580
20c07380
L
305812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30582
bbb3154b
L
30583 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30584 New macro. Use R*LP on int and pointer.
30585 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
30586 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30587 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
30588 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30589
20c07380
L
30590 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30591 [__WORDSIZE_TIME64_COMPAT32] instead of
30592 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30593 (struct utmp): Likewise.
30594 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30595 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30596 Renamed to ...
30597 (__WORDSIZE_TIME64_COMPAT32): This.
30598 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30599 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30600 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30601 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30602 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30603 (__WORDSIZE_TIME64_COMPAT32): New macro.
30604
d8d1017e
AJ
306052012-05-21 Andreas Jaeger <aj@suse.de>
30606
30607 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30608 only if [SHARED]. Add prototype for __wcschr_ia32.
30609
6c7fb145
RM
306102012-05-21 Roland McGrath <roland@hack.frob.com>
30611
30612 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30613 of %rbp unmolested in the jmp_buf while mangling the low bits.
30614 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30615 unmolested high bits of %rbp while demangling the low bits.
30616 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30617
66274218
AJ
306182012-05-21 Andreas Jaeger <aj@suse.de>
30619
07c58f8f
AJ
30620 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30621 * sunrpc/svc_simple.c: Use it for registerrpc.
30622 * sunrpc/xcrypt.c: Use it for passwd2des.
30623
66274218
AJ
30624 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30625
61f65140
L
306262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30627
30628 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30629 Don't define if [__SYSCALL_WORDSIZE != 32].
30630 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30631 New macro.
30632
5fefb436
AJ
306332012-05-21 Bruno Haible <bruno@clisp.org>
30634 Andreas Jaeger <aj@suse.de>
30635
30636 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30637 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30638 inptr and inend for must_buffer_ch.
30639 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30640 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30641 * stdio-common/Makefile (tests): Remove bug15.
30642 (bug15-ENV): Remove macro.
30643 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30644 anymore.
30645
d8e272ab
AJ
306462012-05-19 Andreas Jaeger <aj@suse.de>
30647 Roland McGrath <roland@hack.frob.com>
30648
30649 * manual/contrib.texi: Completely rewritten. It contains now an
30650 alphabetical list of contributors and their contributions.
30651
4a56a162
RH
306522012-05-21 Richard Henderson <rth@twiddle.net>
30653
30654 * misc/getauxval.c (__getauxval): Use unsigned long int.
30655 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30656 (getauxval): Use unsigned long int.
30657
d024d23c
L
306582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30659
30660 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30661
cbc00a03
RM
306622012-05-21 Roland McGrath <roland@hack.frob.com>
30663
30664 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30665 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30666 __alignof__ (long double).
30667
478143fa
AZ
306682012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30669
30670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30671
c7683a6d
RH
306722012-05-20 Richard Henderson <rth@twiddle.net>
30673
30674 * misc/getauxval.c: New file.
30675 * misc/sys/auxv.h: New file.
30676 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30677 (routines): Add getauxval.
30678 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30679 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30680 * elf/dl-sysdep.c (_dl_auxv): Remove.
30681 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30682 * elf/dl-support.c (_dl_auxv): New variable.
30683 (_dl_aux_init): Initialize it.
30684 * manual/startup.texi (Auxiliary Vector): New node.
30685 * sysdeps/generic/bits/hwcap.h: New file.
30686 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30687 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30688 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30689 * sysdeps/sparc/sysdep.h: ... here. Include it.
30690 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30691 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
30692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30693 Update.
c7683a6d
RH
30694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30697 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30702
a6f1845d
AZ
307032012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30704
30705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30706
cbcbe830
DM
307072012-05-19 David S. Miller <davem@davemloft.net>
30708
30709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30710
e0b16cc2
JM
307112012-05-19 Joseph Myers <joseph@codesourcery.com>
30712
30713 [BZ #14123]
30714 * math/s_ccosh.c: Include <float.h>
30715 (__ccosh): Avoid internal overflow calculating sinh and cosh
30716 values before multiplying by sin and cos values.
30717 * math/s_ccoshf.c: Likewise.
30718 * math/s_ccoshl.c: Likewise.
30719 * math/s_csin.c: Likewise.
30720 * math/s_csinf.c: Likewise.
30721 * math/s_csinl.c: Likewise.
30722 * math/s_csinh.c: Likewise.
30723 * math/s_csinhf.c: Likewise.
30724 * math/s_csinhl.c: Likewise.
30725 * math/libm-test.inc (ccos_test): Add more tests.
30726 (ccosh_test): Likewise.
30727 (csin_test): Likewise.
30728 (csinh_test): Likewise.
30729 * sysdeps/i386/fpu/libm-test-ulps: Update.
30730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30731
6ad13e08
L
307322012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30733
f66f0ce8
L
30734 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30735 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30736
6ad13e08
L
30737 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30738
b1d072a7
JM
307392012-05-19 Joseph Myers <joseph@codesourcery.com>
30740
30741 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30742 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30743 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30744 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30745 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30746 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30747 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30748 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30749 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30750 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30751 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30752 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30753 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30754 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30755 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30756 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30757 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30758 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30759 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30760 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30761 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30762 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30763 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30764 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30765 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30766 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30767 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30768 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30769 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30770 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30771 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30772
9eae47cb
AJ
307732012-05-18 Andreas Jaeger <aj@suse.de>
30774
30775 * csu/.gitignore: Delete.
30776
bb07f69f
L
307772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30778
30779 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30780 (timex): Use __syscall_slong_t.
30781
e6bdb741
AJ
307822012-05-18 Andreas Jaeger <aj@suse.de>
30783 Carlos O'Donell <carlos_odonell@mentor.com>
30784
30785 * manual/install.texi (Configuring and compiling): Update
30786 description about files modified in the source directory.
d6c33fda 30787 * INSTALL: Regenerated.
e6bdb741 30788
1b74487e
L
307892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30790
30791 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30792 value. Use "or" to set return value to -1.
30793 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30794 negate return value.
30795
a88b64b9
TMQMF
307962012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30797
57f41c40
AS
30798 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30799 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
30800 failure if the compiler has Graphite support disabled.
30801 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30802 Likewise.
57f41c40
AS
30803 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30804 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
30805 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30806 Likewise.
30807
3707636e
L
308082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30809
610b8622
L
30810 * sysdeps/x86_64/x32/_itoa.h: New file.
30811
7cd195df
L
30812 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30813 getdents system call only if kernel and user dirents have the
30814 same d_ino and d_off.
30815
94b07d20
L
30816 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30817 LLONG_MAX != LONG_MAX.
30818 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30819 (_fitoa_word): Likewise.
30820
18298070
L
30821 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30822 years.
30823 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30824 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30825 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30826
553c7ea4
L
30827 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30828 include <bits/wordsize.h>. Check __x86_64__ instead of
30829 __WORDSIZE.
30830 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30831 if __x86_64__ is defined. Use anonymous union on fpstate.
30832
3707636e
L
30833 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30834 anonymous union.
30835
b53ef01a
AS
308362012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30837
37fb1dc0
AS
30838 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30839 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30840 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30841 Refer to _rtld_local_ro instead of _rtld_global_ro.
30842 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30843 Likewise.
30844 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30845 Likewise.
30846 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30847 Likewise.
30848 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30849 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30850 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30851
b53ef01a
AS
30852 * sysdeps/powerpc/powerpc32/dl-machine.c
30853 (__elf_machine_runtime_setup) [PROF]: Don't reference
30854 _dl_prof_resolve.
30855
7a185db2
AJ
308562012-05-18 Andreas Jaeger <aj@suse.de>
30857
30858 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30859 function only available for GCCs before 3.4 since GCC 3.4
30860 introduced a builtin.
30861 (lrint): Likewise.
30862 (llrintf): Likewise.
30863 (llrint): Likewise.
30864 (fmaxf): Likewise.
30865 (fmax): Likewise.
30866 (fminf): Likewise.
30867 (fmin): Likewise.
30868 (rint): Likewise.
30869 (rintf): Likewise.
30870 (nearbyint): Likewise.
30871 (nearbyintf): Likewise.
30872 (ceil): Likewise.
30873 (ceilf): Likewise.
30874 (floor): Likewise.
30875 (floorf): Likewise.
30876
3e5aef87
L
308772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30878
428bd707
L
30879 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30880 on both fields and cast pointer to __syscall_ulong_t.
30881
3e5aef87
L
30882 * bits/types.h (__fsword_t): New type.
30883 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30884 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30885 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30886 (__FSWORD_T_TYPE): Likewise.
30887 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30888 (__FSWORD_T_TYPE): Likewise.
30889 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30890 (__FSWORD_T_TYPE): Likewise.
30891 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30892 (__FSWORD_T_TYPE): Likewise.
30893 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30894 __SWORD_TYPE with __fsword_t.
30895 (statfs64): Likewise.
30896
1ba7c3dc
DM
308972012-05-17 David S. Miller <davem@davemloft.net>
30898
30899 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30900
59910343
AJ
309012012-05-17 Andreas Jaeger <aj@suse.de>
30902
30903 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30904 warning.
30905
2e4c1e9e
L
309062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30907
30908 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30909
de7f5ce7
AJ
309102012-05-17 Andreas Jaeger <aj@suse.de>
30911
30912 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30913 when it is used.
30914
286abc3d
CM
309152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30916
30917 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30918
477cc68e
L
309192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30920
30921 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30922 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30923
1a0994f5
CD
309242012-05-17 Andreas Jaeger <aj@suse.de>
30925 Carlos O'Donell <carlos_odonell@mentor.com>
30926
30927 [BZ #14059]
30928 * sysdeps/x86_64/multiarch/init-arch.h
30929 (bit_YMM_Usable): Rename to...
30930 (bit_AVX_Usable): ... this.
30931 (bit_FMA4_Usable): New macro.
30932 (bit_XMM_state): New macro.
30933 (bit_YMM_state): New macro.
30934 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30935 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30936 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30937 (CPUID_OSXSAVE): New macro.
30938 (CPUID_AVX): New macro.
30939 (CPUID_FMA4): New macro.
30940 (index_YMM_Usable): Rename to...
30941 (index_AVX_Usable): ... this.
30942 (HAS_AVX): Use HAS_ARCH_FEATURE.
30943 (HAS_FMA4): Likewise.
30944 (HAS_YMM_USABLE): Remove.
30945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30946 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30947 are present.
30948 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30949 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30950 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30951 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30952 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30953
0af797de
CM
309542012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30955
30956 * math/libm-test.c: Support platforms without multiple rounding modes.
30957 * math/bug-nextafter.c: Support platforms without FP exceptions.
30958 * math/bug-nexttoward.c: Likewise.
30959 * math/test-fenv.c: Likewise.
30960 * math/test-misc.c: Likewise.
30961 * stdlib/bug-getcontext.c: Likewise.
30962
e39745ff
AJ
309632012-05-17 Andreas Jaeger <aj@suse.de>
30964
30965 * manual/examples/search.c (critter_cmp): Change signature to
30966 avoid warnings.
30967 * manual/string.texi (Collation Functions): Likewise.
30968
48970aba
L
309692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
30970
30971 * bits/types.h: Fold copyright years.
30972 * bits/typesizes.h: Likewise.
30973 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30974 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30975 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30976 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30977 * time/time.h: Likewise.
30978
bedee953
PP
309792012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
30980
30981 [BZ #208]
30982 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30983 in instead of returning them. Return void.
30984 (__libc_mallinfo): Accumulate over all arenas.
30985 (__malloc_stats): Adjust for change in int_mallinfo interface.
30986
61653dfb
RM
309872012-05-16 Roland McGrath <roland@hack.frob.com>
30988
30b99d79
RM
30989 [BZ #10375]
30990 * configure.in (NM): Add AC_CHECK_TOOL for it.
30991 (libc_extra_cflags): New substituted variable.
30992 Check for -fstack-protector being used implicitly.
30993 * configure: Regenerated.
30994 * config.make.in (config-extra-cflags): New variable,
30995 gets @libc_extra_cflags@.
30996 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30997
61653dfb
RM
30998 [BZ #10375]
30999 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31000 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31001 * configure: Regenerated.
31002 * config.make.in (CPPUNDEFS): New substituted variable.
31003 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31004 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31005 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31006
661768bb
L
310072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31008
31009 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31010 (mq_attr): Use __syscall_slong_t.
31011
d4261567
L
310122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31013
31014 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31015 Check __x86_64__ instead of __WORDSIZE.
31016 (_STAT_VER_LINUX): Likewise.
31017 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31018 __syscall_ulong_t and __syscall_slong_t.
31019 (stat64): Likewise.
31020
cf3ff365
L
310212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31022
31023 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31024
76cf3e4d
L
310252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31026
31027 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31028
a637753a
L
310292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31030
31031 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31032 __syscall_ulong_t.
31033
d5e05119
L
31034 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31035 include <bits/wordsize.h>. Check __x86_64__ instead of
31036 __WORDSIZE.
31037 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31038 defined.
31039 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31040
f62ee380
L
31041 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31042 include <bits/wordsize.h>. Check __x86_64__ instead of
31043 __WORDSIZE.
31044 (user_regs_struct): Use "__extension__ unsigned long long"
31045 instead of "unsigned long" if __x86_64__ is defined.
31046 (user): Likewise. Pad after pointer field if __ILP32__ is
31047 defined.
31048
4e124ced
JM
310492012-05-16 Joseph Myers <joseph@codesourcery.com>
31050
6a3951a0
JM
31051 * configure.in (makeinfo): Require version 4.5 or later. Allow
31052 versions 5 to 9.
31053 * configure: Regenerated.
31054 * manual/install.texi (texinfo): Increase version requirement to
31055 4.5 or later.
31056 * INSTALL: Regenerated.
31057
4e124ced
JM
31058 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31059
953ca31a
L
310602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31061
31062 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31063
617aca05
L
31064 * sysdeps/x86_64/x32/ffs.c: New file.
31065
5762f7ae
L
31066 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31067 __syscall_ulong_t.
31068 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31069 defined. Use __syscall_ulong_t.
31070 (shminfo): Use __syscall_ulong_t.
31071 (shm_info): Likewise.
31072
a26b6856
L
31073 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31074 __syscall_ulong_t.
31075
cb2b9ef7
L
31076 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31077 <bits/wordsize.h>.
31078 (msgqnum_t): Use __syscall_ulong_t.
31079 (msglen_t): Likewise.
31080 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31081 __syscall_ulong_t.
31082
34683bb0
L
31083 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31084 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31085
84a68786
L
31086 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31087
48baa5f1
L
31088 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31089 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31090
180be88b
L
31091 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31092 __syscall_slong_t.
31093
5e90c8ad
L
31094 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31095 include <bits/wordsize.h>. Check __x86_64__ instead of
31096 __WORDSIZE.
31097
23dfb58b
L
31098 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31099 "unsigned long long int" if __x86_64__ is defined.
31100 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31101
ce5d54b0
L
31102 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31103 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31104 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31105
13dc9eac
L
31106 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31107 <stdint.h>.
31108 (GET_PC): Cast to uintptr_t first.
31109 (GET_FRAME): Likewise.
31110 (GET_STACK): Likewise.
31111
a7895d15
L
31112 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31113 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31114 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31115 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31116 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31117 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31118 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31119 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31120 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31121 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31122 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31123 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31124 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31125 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31126 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31127 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31128 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31129 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31130 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31131 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31132 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31133 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31134 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31135 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31136 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31137 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31138 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31139 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31140 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31141
656416c9
AS
311422012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31143
5bd66283
AS
31144 * Makerules (+depfiles): Also collect depfiles from .oS in
31145 $(extra-objs).
31146 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31147 .oS, $(libnldbl-routines)).
31148
656416c9
AS
31149 * Makerules (native-compile-mkdep-flags): Define.
31150 * sunrpc/Makefile (extra-objs): Add $(addprefix
31151 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31152 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31153 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31154 calling $(make-target-directory).
31155
a46f2169
L
311562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31157
31158 * bits/types.h (__snseconds_t): Removed.
31159 * time/time.h (struct timespec): Replace __snseconds_t with
31160 __syscall_slong_t.
31161 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31162 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31163 Likewise.
31164 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31165 (__SNSECONDS_T_TYPE): Likewise.
31166 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31167 (__SNSECONDS_T_TYPE): Likewise.
31168 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31169 (__SNSECONDS_T_TYPE): Likewise.
31170
6af6528b
L
311712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31172
31173 * sysdeps/mach/hurd/bits/typesizes.h
31174 (__SYSCALL_SLONG_TYPE): New macro.
31175 (__SYSCALL_ULONG_TYPE): Likewise.
31176
de986b56
L
311772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31178
31179 * bits/types.h (__syscall_slong_t): New type.
31180 (__syscall_ulong_t): Likewise.
31181
31182 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31183 (__SYSCALL_ULONG_TYPE): Likewise.
31184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31185 (__SYSCALL_SLONG_TYPE): Likewise.
31186 (__SYSCALL_ULONG_TYPE): Likewise.
31187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31188 (__SYSCALL_SLONG_TYPE): Likewise.
31189 (__SYSCALL_ULONG_TYPE): Likewise.
31190 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31191 (__SYSCALL_SLONG_TYPE): Likewise.
31192 (__SYSCALL_ULONG_TYPE): Likewise.
31193
85736dc7
L
311942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31195
31196 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31197 Add sigaltstack-offsets.sym.
31198 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31199 <sigaltstack-offsets.h>.
31200 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31201 longjmp_msg pointer.
31202 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31203 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31204 signal stack.
31205 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31206
cc03b296
JM
312072012-05-15 Joseph Myers <joseph@codesourcery.com>
31208
a9538892
JM
31209 * elf/stackguard-macros.h: Remove file.
31210 * sysdeps/generic/stackguard-macros.h: New file.
31211 * sysdeps/i386/stackguard-macros.h: Likewise.
31212 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31213 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31214 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31215 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31216 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31217 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31218 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31219 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31220 <elf/stackguard-macros.h>.
31221
cc03b296
JM
31222 [BZ #14109]
31223 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31224 __aligned__ in attribute.
31225 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31226 (gregset_t): Likewise.
31227
93171016
L
312282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31229
31230 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31231 * sysdeps/x86_64/64/Implies-after: Here. New file.
31232 * sysdeps/x86_64/x32/Implies-after: New file.
31233
d86813a0
L
312342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31235
31236 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31237 and access return value for _dl_profile_fixup. Use R10_LP to
31238 load frame size.
31239
2953ec75
L
312402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31241
31242 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31243
3b550e9e
L
312442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31245
31246 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31247 * sysdeps/x86_64/x32/sysdep.h: New file.
31248
eda41706
L
312492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31250
31251 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31252 * sysdeps/x86_64/setjmp.S: Likewise.
31253
9ea01d93
AZ
312542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31255
31256 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31257 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31258 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31259 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31260 remove unused global constant.
31261
02a91938
CM
312622012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31263
31264 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31265 include of <not-cancel.h>.
31266
6540185f
RM
312672012-05-15 Roland McGrath <roland@hack.frob.com>
31268
31269 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31270
509072a0
AJ
312712012-05-15 Jeff Law <law@redhat.com>
31272 Andreas Jaeger <aj@suse.de>
31273
31274 [BZ #13594]
31275 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31276 out from...
31277 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31278 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31279 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31280 code changing __hst_map_handle.map.
31281
ba75122d
RM
312822012-05-15 Roland McGrath <roland@hack.frob.com>
31283
31284 * configure.in (sysnames): Look for Implies-before and Implies-after
31285 files.
31286 * configure: Regenerated.
31287
890d8bd8
L
312882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31289
31290 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31291 8-byte data alignment with LP_SIZE alignment.
31292
f6ee6623
L
312932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31294
31295 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31296 into R10_LP.
31297
ea2626f6
L
312982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31299
31300 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31301
085f715e
L
313022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31303
31304 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31305 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31306 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31307 Likewise.
31308 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31309
be8498fc
L
313102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31311
31312 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31313 (stackinfo_sub_sp): Likewise.
31314
70bc83b9
L
313152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31316
31317 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31318 RAX_LP.
31319
9bc0b730
L
313202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31321
31322 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31323 into R*_LP.
31324
6d2850e7
L
313252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31326
31327 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31328 sizes into R*_LP.
31329
3cb84561
L
313302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31331
31332 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31333
54e2ed81
L
313342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31335
31336 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31337 into R11_LP and load __x86_64_shared_cache_size_half into
31338 R8_LP.
31339
8a17f349
L
313402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31341
31342 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31343 R8_LP.
31344
777b1eea
AZ
313452012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31346
31347 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31348 logb for POWER7.
31349 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31350 logbf for POWER7.
31351 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31352 logbl for POWER7.
31353 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31354 powerpc32/power7/fpu/s_logb.c via #include.
31355 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31356 powerpc32/power7/fpu/s_logbf.c via #include.
31357 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31358 powerpc32/power7/fpu/s_logbl.c via #include.
31359
d20d4ac2
JM
313602012-05-15 Joseph Myers <joseph@codesourcery.com>
31361
31362 * README.libm: Remove file.
31363
6cdef1ab
L
313642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31365
31366 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31367 count for x32. Use R*_LP and omit operand-size suffix.
31368
0b254d8f
L
313692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31370
31371 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31372 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31373 * sysdeps/x86_64/x32/shlib-versions: New file.
31374
ceb809dc
RM
313752012-05-14 Roland McGrath <roland@hack.frob.com>
31376
31377 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31378 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31379 Use _dl_fatal_printf instead.
31380
37f1abd4
JM
313812012-05-14 Joseph Myers <joseph@codesourcery.com>
31382
31383 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31384 set if not set by the user. Do not allow for being unset.
31385 * sysdeps/unix/sysv/linux/configure: Regenerated.
31386
11de3a33
L
313872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31388
31389 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31390 the `q' suffix from lea and replace .quad with ASM_ADDR.
31391
e02f153a
L
313922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31393
31394 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31395 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31396 instead of $17.
31397 (PTR_DEMANGLE): Likewise.
31398
520ae0fd
L
313992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31400
31401 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31402 (LP_OP): Likewise.
31403 (ASM_ADDR): Likewise.
31404 (RAX_LP): Likewise.
31405 (RBP_LP): Likewise.
31406 (RBX_LP): Likewise.
31407 (RCX_LP): Likewise.
31408 (RDI_LP): Likewise.
31409 (RSI_LP): Likewise.
31410 (RSP_LP): Likewise.
31411 (R8_LP): Likewise.
31412 (R9_LP): Likewise.
31413 (R10_LP): Likewise.
31414 (R10_LP): Likewise.
31415 (R11_LP): Likewise.
31416 (R12_LP): Likewise.
31417 (R13_LP): Likewise.
31418 (R14_LP): Likewise.
31419 (R15_LP): Likewise.
31420
b985be81
L
314212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31422
31423 * sysdeps/x86_64/x32/dl-machine.h: New file.
31424
6a4888ff
AJ
314252012-05-14 Andreas Jaeger <aj@suse.de>
31426
31427 * manual/Makefile (subdir): Remove export of subdir.
31428 (all): Remove target.
31429 (.PHONY): Remove all from list.
31430 (mkinstalldirs): Remove.
31431 (.PHONY): Remove installdirs from list.
31432 ($(inst_infodir)/libc.info): Use make-target-directory.
31433 (installdirs): Remove.
31434 (subdir_%): Remove.
31435 (glibc-targets): Remove.
31436 (lib): Remove.
31437 (stubs): Remove.
31438 ($(objpfx)stubs ../po/manual.pot): Remove.
31439 ($(objpfx)stamp%): Remove.
31440 (make-target-directory): Remove.
31441 (subdir_install): Remove.
31442 (routines): Remove.
31443 (aux): Remove.
31444 (sources): Remove.
31445 (objects): Remove.
31446 (headers): Remove.
31447
31448 [BZ #13750]
31449 * manual/.gitignore: Remove, it's not needed anymore.
31450 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31451 all files in it.
31452 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31453 directory.
31454 (texis): Renamed to $(objpfx)texis.
31455 (texis-path): New, contains path to generated files.
31456 (chapters.%): Use texis-path for complete path, add extra argument
31457 libc-texinfo.sh.
31458 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31459 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31460 (summary,texi, stamp-summary): Use complete path of
31461 files. Generate files in build dir.
31462 (dir-add.texi): Build in build dir.
31463 (libm-err.texi,stamp-libm-err): Likewise.
31464 (version.texi, stamp-version): Likewise.
31465 (.%c.texi): Likewise.
31466 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31467 (mostlyclean): Remove target.
31468 (realclean): Remove target.
31469 (generated): Add new variable with contents from mostlyclean and
31470 realclean, remove entries duplicated in common-mostlyclean, add
31471 stamp-libm-err and stamp-version.
31472 (generated-dirs): Add libc directory.
31473 ($(inst_infodir)/libc.info): Install files from build dir.
31474
31475 * manual/install.texi (Configuring and compiling): Adjust since
31476 the info files are not part of the tar ball anymore.
31477
7ac77294
AJ
314782012-05-14 Andreas Jaeger <aj@suse.de>
31479
31480 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31481 variable.
31482
ffb7875d
JM
314832012-05-14 Joseph Myers <joseph@codesourcery.com>
31484
31485 [BZ #13717]
31486 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31487 to 2.2.0 where earlier.
31488 * sysdeps/unix/sysv/linux/configure: Regenerated.
31489 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31490 Remove conditional code.
31491 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31492 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31493 Remove conditional code.
31494 [!__NR_lchown]: Likewise.
31495 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31496 [__NR_lchown]: Likewise.
31497 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31498 comment referencing __ASSUME_LCHOWN_SYSCALL.
31499 * sysdeps/unix/sysv/linux/i386/sigaction.c
31500 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31501 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31502 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31503 Remove conditional code.
31504 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31505 (__protocol_available): Remove #if 0 code.
31506 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31507 conditional code.
31508 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31509 * sysdeps/unix/sysv/linux/kernel-features.h
31510 (__ASSUME_GETCWD_SYSCALL): Don't define.
31511 (__ASSUME_REALTIME_SIGNALS): Likewise.
31512 (__ASSUME_PREAD_SYSCALL): Likewise.
31513 (__ASSUME_PWRITE_SYSCALL): Likewise.
31514 (__ASSUME_POLL_SYSCALL): Likewise.
31515 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31516 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31517 non-SPARC.
31518 (__ASSUME_SIOCGIFNAME): Don't define.
31519 (__ASSUME_MSG_NOSIGNAL): Likewise.
31520 (__ASSUME_SENDFILE): Define unconditionally.
31521 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31522 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31523 conditional code.
31524 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31525 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31526 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31527 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31528 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31529 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31530 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31532 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31533 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31535 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31536 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31538 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31539 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31541 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31542 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31544 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31545 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31547 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31548 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31550 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31551 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31553 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31554 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31555 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31556 Remove conditional code.
31557 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31558 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31559 Remove conditional code.
31560 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31561 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31562 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31563 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31564 Remove conditional code.
31565 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31566 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31567 Remove conditional code.
31568 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31569 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31570 Remove conditional code.
31571 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31572 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31573 Remove conditional code.
31574 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31575 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31576 Remove conditional code.
31577 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31578 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31579 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31580 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31581 * sysdeps/unix/sysv/linux/sigaction.c
31582 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31583 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31584 * sysdeps/unix/sysv/linux/sigpending.c
31585 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31586 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31587 * sysdeps/unix/sysv/linux/sigprocmask.c
31588 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31589 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31590 * sysdeps/unix/sysv/linux/sigsuspend.c
31591 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31592 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31593 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31594 (__libc_missing_rt_sigs): Remove.
31595 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31596 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31597 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31598 Remove conditional code.
31599 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31600 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31601 return 1.
31602 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31603 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31604 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31605 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31606
1bfb7291
AJ
316072012-05-14 Andreas Jaeger <aj@suse.de>
31608
caae5a81
AJ
31609 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31610 it's not used in glibc.
31611 (__coshm1): Likewise.
31612 (__acosh1p): Likewise.
31613 (__sgn): Likewise.
31614
1bfb7291
AJ
31615 * manual/string.texi (Copying and Concatenation): Add missing
31616 variable in concat example.
31617 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31618
c044d724
L
316192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31620
144c5467 31621 [BZ #14103]
c044d724
L
31622 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31623 __builtin_clzl with __builtin_clzll.
31624
2523c62b
L
316252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31626
31627 [BZ #14104]
31628 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31629 libc_freeres_ptr.
31630
d7bb4c42
LD
316312012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31632
31633 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31634 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31635 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31636 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31637
9dc4e1fb
MF
316382012-05-14 Mike Frysinger <vapier@gentoo.org>
31639
31640 * NEWS: Update ia64 info.
31641
c7df0112
AS
316422012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31643
31644 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31645 used as bcopy.
31646
dc70356c
TS
316472012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31648
31649 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31650 * sysdeps/unix/syscalls.list (dup3): Likewise.
31651 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31652 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31653
9fb1a21f
L
316542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31655
31656 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31657 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31658
4822a2a5
L
316592012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31660
31661 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31662 thread pointer.
31663 (TLS_IE): Use mov/add instead of movq/addq to load thread
31664 pointer.
31665 (TLS_GD_PREFIX): New.
31666 (TLS_GD): Use it.
31667
842b81d6
DM
316682012-05-11 David S. Miller <davem@davemloft.net>
31669
31670 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31671 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31672 (_FPU_SETCW): Likewise.
31673
1cf463cd
L
316742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31675
31676 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31677 is 32-byte aligned.
31678
60cc4a18
AS
316792012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31680
31681 [BZ #11837]
31682 * iconvdata/gb18030.c: Update tables.
31683 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31684 characters specially.
31685 (BODY for TO_LOOP): Add encoding of missing ranges.
31686
febb44a4
TS
316872012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31688
31689 [BZ #13673]
31690 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31691 * sysdeps/mach/hurd/dup3.c: Likewise.
31692 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31693 * sysdeps/powerpc/memmove.c:: Likewise.
31694
0a10fb9e
L
316952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31696
31697 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31698 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31699
df8a552f
L
317002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31701
31702 * elf/elf.h (R_X86_64_RELATIVE64): New.
31703 (R_X86_64_NUM): Updated.
31704 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31705 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31706 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31707 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31708 tst-quad1pie tst-quad2pie
31709 (modules-names): Add tst-quadmod1 tst-quadmod2.
31710 ($(objpfx)tst-quad1): New dependency.
31711 ($(objpfx)tst-quad2): Likewise.
31712 ($(objpfx)tst-quad1pie): Likewise.
31713 ($(objpfx)tst-quad2pie): Likewise.
31714 * sysdeps/x86_64/tst-quad1.c: New file.
31715 * sysdeps/x86_64/tst-quad1pie.c: New file.
31716 * sysdeps/x86_64/tst-quad2.c: Likewise.
31717 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31718 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31719 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31720 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31721 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31722
f34d6f84
ST
317232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31724
f42d41d1
ST
31725 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31726 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31727 * streams/stropts.h (t_scalar_t): Define type.
31728
3c3571fc
ST
31729 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31730 (_PATH_PRESERVE): Set to "/var/lib".
31731 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31732
61f06bd3
ST
31733 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31734 instead of int.
31735
918d4d71
ST
31736 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31737 if __dir_mkfile succeeded.
31738
f34d6f84
ST
31739 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31740 checking for _hurd_dtablesize. Unlock it right after having
31741 finished _hurd_dtable allocation.
31742
10589b4a
TS
317432012-05-10 Thomas Schwinge <thomas@schwinge.name>
31744
674cdbc7
TS
31745 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31746 * sysdeps/mach/hurd/configure: Regenerated.
31747 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31748 special-casing to...
31749 * sysdeps/gnu/configure.in: ... this new file.
31750 * sysdeps/unix/sysv/linux/configure: Regenerated.
31751 * sysdeps/gnu/configure: New generated file.
31752
8e41b99f
TS
31753 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31754 for Linux: use nsec instead of usec, as well as:
31755 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31756 members of type struct timespec.
31757 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31758 New macros.
31759 (struct stat64): Likewise.
31760 (_STATBUF_ST_NSEC): New macro.
31761 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31762
10589b4a
TS
31763 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31764 __strtoul_internal rather than strtoul.
31765
63643c85
PT
317662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31767
31768 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31769 and reject them.
31770
3faebe6a
ST
317712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31772
31773 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31774 which preserves existing values.
31775 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31776
c6474b07
PT
317772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31778
31779 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31780 TIMEOUT values. Return EINVAL for NFDS values either negative or
31781 greater than FD_SETSIZE.
31782
1043890b
ST
317832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31784
31785 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31786 allocated, call __vm_protect to finish enabling the existing space, and
31787 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31788 allocate the remainder.
31789
37ed8b9b
PT
317902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31791
31792 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31793 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31794
db653660
ST
317952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31796
37ed8b9b
PT
31797 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31798 sysdeps/mach/hurd/readlink.c.
b29d4053 31799
db653660
ST
31800 * posix/tst-sysconf.c (posix_options): Only use
31801 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31802 _POSIX_SYNCHRONIZED_IO when they are defined
31803 * sysdeps/mach/hurd/bits/posix_opt.h:
31804 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31805 (_XOPEN_REALTIME): Undefine macro.
31806 (_XOPEN_REALTIME_THREADS): Undefine macro.
31807 (_XOPEN_SHM): Undefine macro.
31808 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31809 macro to -1.
31810 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31811 macro to -1.
31812 (_POSIX_ASYNC_IO): Undefine macro.
31813 (_POSIX_PRIORITIZED_IO): Undefine macro.
31814 (_POSIX_SPIN_LOCKS): Define macro to -1.
31815
ee16e894
ST
31816 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31817 SA_NODEFER, SA_RESETHAND.
31818 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31819 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31820 F_DUPFD_CLOEXEC.
31821
6103ae3b
TS
318222012-05-10 Thomas Schwinge <thomas@schwinge.name>
31823
31824 * elf/Makefile (pldd-modules): Define unconditionally.
31825
80b4e5f3
TS
318262012-05-10 Thomas Schwinge <thomas@schwinge.name>
31827
31828 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31829
edadcbd6
ST
318302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31831
31832 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31833 Return ENOENT when name is empty.
31834 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31835
80694780
TS
318362012-05-10 Thomas Schwinge <thomas@schwinge.name>
31837
1792c087
TS
31838 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31839
80694780
TS
31840 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31841
6b645f0d
ST
318422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31843
80694780
TS
31844 Fix mlock in all cases except non-readable pages.
31845 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31846 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 31847
6b645f0d
ST
31848 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31849 (__mkdir): When path is `/', just fail with EEXIST.
31850 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31851
e468f8a3
TS
318522012-05-10 Thomas Schwinge <thomas@schwinge.name>
31853
31854 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31855 <sys/uio.h> (for writev).
31856 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31857 and <sys/param.h> (for MIN).
31858
a4186cff
PT
318592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31860
31861 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31862 REQUESTED_TIME. Properly set the remaining time and return EINTR
31863 if interrupted.
31864
510bbf14
TS
318652012-05-10 Thomas Schwinge <thomas@schwinge.name>
31866
31867 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31868 Depend on against $(link-rpcuserlibs).
31869
5d5722e8
ST
318702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31871
a4186cff
PT
31872 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31873 (__libc_stack_end): Do not use attribute_relro.
31874 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31875 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 31876 to libthread-provided value.
a4186cff
PT
31877 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31878 attribute_relro.
5d5722e8 31879
37233df9
TS
318802012-05-10 Thomas Schwinge <thomas@schwinge.name>
31881
be971a2b
TS
31882 [BZ #3748]
31883 * bits/libc-lock.h (__libc_once_get): New macro.
31884 * sysdeps/mach/bits/libc-lock.h: Likewise.
31885 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31886 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31887 instead of using implementation details.
31888
37233df9
TS
31889 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31890 * libio/freopen.c: Likewise.
31891 * libio/freopen64.c: Likewise.
31892 * misc/syslog.c: Likewise.
31893 * nscd/connections.c: Likewise.
31894 * nscd/netgroupcache.c: Likewise.
31895 * sysdeps/posix/getcwd.c: Likewise.
31896
38de94a5
RM
318972012-05-10 Roland McGrath <roland@hack.frob.com>
31898
31899 * math/w_ilogbf.c: Add #include <limits.h>.
31900
67530489
ST
319012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31902
a4186cff 31903 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
31904 path instead of returning without unlocking.
31905
67530489
ST
31906 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31907 immediate-write ioctls.
31908 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31909
5aa3a74a
TS
319102012-05-10 Thomas Schwinge <thomas@schwinge.name>
31911
18bad2ae
TS
31912 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31913 __builtin_frame_address instead of making assumptions about the
31914 location of the return address relative to DATA. Force early load of
31915 the return address.
31916 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31917 __builtin_frame_address.
31918
5aa3a74a
TS
31919 dup3 for GNU Hurd.
31920 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31921 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31922 implement dup3 and do some further code clean-ups.
31923 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31924 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31925
ecd0de9a
ST
319262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31927
cd9fa985
ST
31928 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31929
a4186cff
PT
31930 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31931 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31932 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31933 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31934 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31935 d->port.lock.
802ca5a5 31936
a4186cff
PT
31937 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31938 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31939 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 31940
bcf55240
TS
319412012-05-10 Thomas Schwinge <thomas@schwinge.name>
31942
6960eb42
TS
31943 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31944 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31945 definitions.
31946
eb43375f
TS
31947 accept4 for GNU Hurd.
31948 * include/sys/socket.h (__libc_accept4): New prototype.
31949 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31950 to implement __libc_accept4.
31951 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31952 __libc_accept4.
31953 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31954
bcf55240
TS
31955 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31956 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31957 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31958 signal-defines.sym.
31959
6178c55b
ST
319602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31961
a4186cff 31962 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 31963
6f080c2f
TS
319642012-05-10 Thomas Schwinge <thomas@schwinge.name>
31965
31966 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31967 assertion on O_CLOEXEC flag.
31968 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31969 * hurd/intern-fd.c: Likewise.
31970 * hurd/port2fd.c: Likewise.
31971
bcfe3a54
ST
319722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31973
31974 [BZ #3906]
31975 * bits/in.h (IPV6_PKTINFO): Define new macro.
31976 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31977
89c9aa49
AZ
319782012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31979
31980 [BZ #13954]
31981 [BZ #13955]
31982 [BZ #13956]
31983 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31984 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31985 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31986 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31987 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31988 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31989 * math/libm-test.inc (logb_test) : Additional logb tests.
31990
021db4be
AJ
319912012-05-09 Andreas Schwab <schwab@linux-m68k.org>
31992 Andreas Jaeger <aj@suse.de>
31993
31994 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31995 * configure: Regenerated.
31996 * config.h.in (LINK_OBSOLETE_RPC): New macro.
31997 * config.make.in (link-obsolete-rpc): New substituted variable.
31998 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31999 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32000 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32001 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32002 so that libc.a contains the symbols.
32003 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32004 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32005 * sunrpc/auth_none.c: Likewise.
32006 * sunrpc/auth_unix.c: Likewise.
32007 * sunrpc/authdes_prot.c: Likewise.
32008 * sunrpc/authuxprot.c: Likewise.
32009 * sunrpc/clnt_gen.c: Likewise.
32010 * sunrpc/clnt_perr.c: Likewise.
32011 * sunrpc/clnt_raw.c: Likewise.
32012 * sunrpc/clnt_simp.c: Likewise.
32013 * sunrpc/clnt_tcp.c: Likewise.
32014 * sunrpc/clnt_udp.c: Likewise.
32015 * sunrpc/clnt_unix.c: Likewise.
32016 * sunrpc/des_crypt.c: Likewise.
32017 * sunrpc/des_soft.c: Likewise.
32018 * sunrpc/get_myaddr.c: Likewise.
32019 * sunrpc/key_call.c: Likewise.
32020 * sunrpc/key_prot.c: Likewise.
32021 * sunrpc/netname.c: Likewise.
32022 * sunrpc/pm_getmaps.c: Likewise.
32023 * sunrpc/pm_getport.c: Likewise.
32024 * sunrpc/pmap_clnt.c: Likewise.
32025 * sunrpc/pmap_prot.c: Likewise.
32026 * sunrpc/pmap_prot2.c: Likewise.
32027 * sunrpc/pmap_rmt.c: Likewise.
32028 * sunrpc/publickey.c: Likewise.
32029 * sunrpc/rpc_cmsg.c: Likewise.
32030 * sunrpc/rpc_common.c: Likewise.
32031 * sunrpc/rpc_dtable.c: Likewise.
32032 * sunrpc/rpc_prot.c: Likewise.
32033 * sunrpc/rpc_thread.c: Likewise.
32034 * sunrpc/rtime.c: Likewise.
32035 * sunrpc/svc.c: Likewise.
32036 * sunrpc/svc_auth.c: Likewise.
32037 * sunrpc/svc_raw.c: Likewise.
32038 * sunrpc/svc_run.c: Likewise.
32039 * sunrpc/svc_tcp.c: Likewise.
32040 * sunrpc/svc_udp.c: Likewise.
32041 * sunrpc/svc_unix.c: Likewise.
32042 * sunrpc/svcauth_des.c: Likewise.
32043 * sunrpc/xcrypt.c: Likewise.
32044 * sunrpc/xdr.c: Likewise.
32045 * sunrpc/xdr_array.c: Likewise.
32046 * sunrpc/xdr_float.c: Likewise.
32047 * sunrpc/xdr_intXX_t.c: Likewise.
32048 * sunrpc/xdr_mem.c: Likewise.
32049 * sunrpc/xdr_rec.c: Likewise.
32050 * sunrpc/xdr_ref.c: Likewise.
32051 * sunrpc/xdr_sizeof.c: Likewise.
32052 * sunrpc/xdr_stdio.c: Likewise.
32053
b5c086a2
RM
320542012-05-10 Roland McGrath <roland@hack.frob.com>
32055
32056 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32057 change. Update copyright years.
32058
6d74dd09
JM
320592012-05-10 Joseph Myers <joseph@codesourcery.com>
32060
32061 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32062
28e72501
MK
320632012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32064 Joseph Myers <joseph@codesourcery.com>
32065 Paul Pluzhnikov <ppluzhnikov@google.com>
32066
32067 [BZ #14012]
32068 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32069 requiring rpcgen.
32070 [cross-compiling] (extra-libs): Likewise.
32071 [cross-compiling] (extra-libs-others): Likewise.
32072 [cross-compiling] (librpcsvc-routines): Likewise.
32073 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32074 [cross-compiling] (omit-deps): Likewise.
32075 (sunrpc-CPPFLAGS): New variable.
32076 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32077 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32078 (cross-rpcgen-objs): New variable.
32079 (extra-objs): Append $(cross-rpcgen-objs).
32080 ($(cross-rpcgen-objs)): New rule.
32081 ($(objpfx)cross-rpcgen): Likewise.
32082 (rpcgen-cmd): Define to use $(built-program-file). Expand
32083 comment.
32084 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32085 ($(objpfx)x%.stmp): Likewise.
32086 * sunrpc/proto.h [IS_IN_build] (_): Define.
32087 [IS_IN_build] (_libc_intl_domainname): Likewise.
32088
c8c59454
L
320892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32090
32091 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32092 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32093 and R_X86_64_TPOFF64.
32094
6f27cd16
JM
320952012-05-10 Joseph Myers <joseph@codesourcery.com>
32096
32097 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32098 sysdeps/unix/sysv/syscalls.list.
32099 (stime): Likewise.
32100 (utime): Likewise.
32101 * sysdeps/unix/sysv/syscalls.list: Remove file.
32102
02467e1c
PE
321032012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32104
32105 [BZ #3440]
32106 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32107 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32108 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32109 (__LC_IDENTIFICATION): Make these macros useful in #if
32110 expressions, as required by C99.
32111
da392631
AS
321122012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32113
32114 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32115 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32116 after this.
32117
8115f29b
L
321182012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32119
32120 * stdlib/longlong.h: Updated from GCC.
32121
bdd74070
AJ
321222012-05-09 Andreas Jaeger <aj@suse.de>
32123
edfe0dbe
AJ
32124 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32125 default is first entry.
32126 (run_mode): Set type.
32127 (main): Remove informal message about syslog.
32128 (options): Fix typo.
32129
bcfe3a54
ST
32130 [BZ #14053]
32131 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 32132 to asm.
bcfe3a54
ST
32133 (lrint): Likewise.
32134 (llrintf): Likewise.
32135 (llrint): Likewise.
32136 (rint): Likewise.
32137 (rintf): Likewise.
32138 (nearbyint): Likewise.
32139 (nearbyintf): Likewise.
bdd74070 32140
91d8d69e
AJ
321412012-05-09 Andreas Jaeger <aj@suse.de>
32142 Pedro Alves <palves@redhat.com>
32143
32144 * nscd/nscd.c (run_mode): Use enum.
32145 (main): Cleanup coding style issue.
32146
bb90b80b
AJ
321472012-05-09 Alexandre Oliva <aoliva@redhat.com>
32148 Andreas Jaeger <aj@suse.de>
32149
bcfe3a54
ST
32150 * nscd/nscd.c (go_background): Replaced with...
32151 (run_mode): ... this.
bb90b80b 32152 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
32153 (options): Add -F --foreground.
32154 (main): Implement it.
32155 (parse_opt): Parse it.
bb90b80b 32156
1a4b75a1
AJ
321572012-05-09 Andreas Jaeger <aj@suse.de>
32158
32159 [BZ #14083]
32160 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32161 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32162 -Wconversion warning.
32163 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32164 Likewise.
32165
b1cc2472
JM
321662012-05-09 Joseph Myers <joseph@codesourcery.com>
32167
32168 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32169 == 0.
32170 (LC_ALL): Use macro-int-constant.
32171 (LC_COLLATE): Likewise.
32172 (LC_CTYPE): Likewise.
32173 (LC_MESSAGES): Likewise.
32174 (LC_MONETARY): Likewise.
32175 (LC_NUMERIC): Likewise.
32176 (LC_TIME): Likewise.
32177 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32178 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32179 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32180 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32181 Specify type.
32182 [C99-based standards] (float_t): Expect type.
32183 [C99-based standards] (double_t): Expect type.
32184 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32185 type.
32186 [C99-based standards] (HUGE_VALL): Likewise.
32187 [C99-based standards] (INFINITY): Likewise.
32188 [C99-based standards] (NAN): Likewise.
32189 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32190 [C99-based standards] (FP_NAN): Likewise.
32191 [C99-based standards] (FP_NORMAL): Likewise.
32192 [C99-based standards] (FP_SUBNORMAL): Likewise.
32193 [C99-based standards] (FP_ZERO): Likewise.
32194 [C99-based standards] (FP_FAST_FMA): Use
32195 optional-macro-int-constant. Specify type. Require == 1.
32196 [C99-based standards] (FP_FAST_FMAF): Likewise.
32197 [C99-based standards] (FP_FAST_FMAL): Likewise.
32198 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32199 [C99-based standards] (FP_ILOGBNAN): Likewise.
32200 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32201 Specify type.
32202 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32203 [C99-based standards] (math_errhandling): Specify type.
32204 [ISO99 || ISO11] (signgam): Do not allow.
32205 [non-C99-based standards] (copysignf): Do not allow.
32206 [non-C99-based standards] (exp2f): Likewise.
32207 [non-C99-based standards] (log2f): Likewise.
32208 [non-C99-based standards] (modff): Allow.
32209 [non-C99-based standards] (erff): Do not allow.
32210 [non-C99-based standards] (erfcf): Likewise.
32211 [non-C99-based standards] (gammaf): Likewise.
32212 [non-C99-based standards] (hypotf): Likewise.
32213 [non-C99-based standards] (j0f): Likewise.
32214 [non-C99-based standards] (j1f): Likewise.
32215 [non-C99-based standards] (jnf): Likewise.
32216 [non-C99-based standards] (lgammaf): Likewise.
32217 [non-C99-based standards] (tgammaf): Likewise.
32218 [non-C99-based standards] (y0f): Likewise.
32219 [non-C99-based standards] (y1f): Likewise.
32220 [non-C99-based standards] (ynf): Likewise.
32221 [non-C99-based standards] (isnanf): Likewise.
32222 [non-C99-based standards] (acoshf): Likewise.
32223 [non-C99-based standards] (asinhf): Likewise.
32224 [non-C99-based standards] (atanhf): Likewise.
32225 [non-C99-based standards] (cbrtf): Likewise.
32226 [non-C99-based standards] (expm1f): Likewise.
32227 [non-C99-based standards] (ilogbf): Likewise.
32228 [non-C99-based standards] (log1pf): Likewise.
32229 [non-C99-based standards] (logbf): Likewise.
32230 [non-C99-based standards] (nextafterf): Likewise.
32231 [non-C99-based standards] (remainderf): Likewise.
32232 [non-C99-based standards] (rintf): Likewise.
32233 [non-C99-based standards] (scalbf): Likewise.
32234 [non-C99-based standards] (copysignl): Likewise.
32235 [non-C99-based standards] (exp2l): Likewise.
32236 [non-C99-based standards] (log2l): Likewise.
32237 [non-C99-based standards] (modfl): Allow.
32238 [non-C99-based standards] (erfl): Do not allow.
32239 [non-C99-based standards] (erfcl): Likewise.
32240 [non-C99-based standards] (gammal): Likewise.
32241 [non-C99-based standards] (hypotl): Likewise.
32242 [non-C99-based standards] (j0l): Likewise.
32243 [non-C99-based standards] (j1l): Likewise.
32244 [non-C99-based standards] (jnl): Likewise.
32245 [non-C99-based standards] (lgammal): Likewise.
32246 [non-C99-based standards] (tgammal): Likewise.
32247 [non-C99-based standards] (y0l): Likewise.
32248 [non-C99-based standards] (y1l): Likewise.
32249 [non-C99-based standards] (ynl): Likewise.
32250 [non-C99-based standards] (isnanl): Likewise.
32251 [non-C99-based standards] (acoshl): Likewise.
32252 [non-C99-based standards] (asinhl): Likewise.
32253 [non-C99-based standards] (atanhl): Likewise.
32254 [non-C99-based standards] (cbrtl): Likewise.
32255 [non-C99-based standards] (expm1l): Likewise.
32256 [non-C99-based standards] (ilogbl): Likewise.
32257 [non-C99-based standards] (log1pl): Likewise.
32258 [non-C99-based standards] (logbl): Likewise.
32259 [non-C99-based standards] (nextafterl): Likewise.
32260 [non-C99-based standards] (remainderl): Likewise.
32261 [non-C99-based standards] (rintl): Likewise.
32262 [non-C99-based standards] (scalbl): Likewise.
32263 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32264 [non-C99-based standards] (FP_*): Do not allow.
32265 [C99-based standards] (FP_*): Change to
32266 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32267 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32268 allow.
32269 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32270 (SIG_ERR): Likewise.
32271 [X/Open-based standards] (SIG_HOLD): Likewise.
32272 (SIG_IGN): Likewise.
32273 (SIGABRT): Use macro-int-constant. Specify type. Require
32274 positive value.
32275 (SIGFPE): Likewise.
32276 (SIGILL): Likewise.
32277 (SIGINT): Likewise.
32278 (SIGSEGV): Likewise.
32279 (SIGTER): Likewise.
32280 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32281 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32282 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32283 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32284 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32285 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32286 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32287 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32288 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32289 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32290 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32291 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32292 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32293 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32294 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32295 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32296 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32297 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32298 [X/Open-based standards] (SIGTRAP): Likewise.
32299 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32300 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32301 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32302 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32303 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32304 allow.
32305
b9f1922d
IW
323062012-05-08 Ian Wienand <ianw@vmware.com>
32307
32308 [BZ #14080]
32309 * time/tzset.c (__tzset_parse_tz): Update default rules for
32310 daylight time changes in the Energy Policy Act of 2005.
32311
1db86e88
AJ
323122012-05-09 Andreas Jaeger <aj@suse.de>
32313
32314 [BZ #13983]
32315 * elf/ldconfig.c (parse_conf): Change string to make clear that
32316 ldconfig only issued a warning if ld.so.conf does not exist.
32317
dee4a4e3
DM
323182012-05-08 David S. Miller <davem@davemloft.net>
32319
ee0db190
DM
32320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32321 movxtod instead of popping the value on the stack.
32322
dee4a4e3
DM
32323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32324
6a43ec98
CD
323252012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32326
32327 * config.h.in: Add HAVE_ARM_PCS_VFP.
32328
05c2c961
RMG
323292012-05-08 Roland Mc Grath <roland@hack.frob.com>
32330
bcfe3a54
ST
32331 [BZ #13979]
32332 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32333 checking but the checks are disabled for any reason.
05c2c961 32334
4b30f61a
L
323352012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32336
32337 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32338 and ELF64_R_TYPE with ELFW(R_TYPE).
32339
eee2bc67
JM
323402012-05-08 Joseph Myers <joseph@codesourcery.com>
32341
7ea5391a
JM
32342 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32343 (ulimit): Likewise.
32344
eee2bc67
JM
32345 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32346 (settimeofday): Likewise.
32347
abb66a67
MF
323482012-05-08 Mike Frysinger <vapier@gentoo.org>
32349
32350 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32351 a struct th_u2 inside the union, and move tu_block/tu_code into
32352 a new th_u3 union of tu_block/tu_code inside of that. Move
32353 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32354 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32355 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32356 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32357 (th_stuff): Change to th_u1.tu_stuff.
32358 (th_data): Define.
32359 (th_msg): Change to th_u1.th_u2.tu_data.
32360
7f18b530
DM
323612012-05-07 David S. Miller <davem@davemloft.net>
32362
05760585
DM
32363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32364
7f18b530
DM
32365 [BZ #14074]
32366 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32367 (SETUP_PIC_REG): Use it.
32368 (SETUP_PIC_REG_LEAF): Use it.
32369
495fd99f
JM
323702012-05-07 Joseph Myers <joseph@codesourcery.com>
32371
32372 [BZ #13885]
32373 [BZ #13923]
32374 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32375 USE_AS_EXPM1L.
32376 (EXPL_FINITE): Likewise.
32377 (FLDLOG): Likewise.
32378 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32379 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32380 e_expl.S.
32381 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32382 USE_AS_EXPM1L.
32383 (EXPL_FINITE): Likewise.
32384 (FLDLOG): Likewise.
32385 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32386 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32387 e_expl.S.
32388 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32389 test of -max_value argument for long double.
32390 * sysdeps/i386/fpu/libm-test-ulps: Update.
32391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32392
6693d694
DM
323932012-05-06 David S. Miller <davem@davemloft.net>
32394
32395 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32396 quad soft-float symbols whose references which are compiler
32397 generated.
32398 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32399
6c23e11c
JM
324002012-05-06 Joseph Myers <joseph@codesourcery.com>
32401
d8b82cad
JM
32402 [BZ #13884]
32403 [BZ #13914]
32404 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32405 USE_AS_EXP10L.
32406 (EXPL_FINITE): Likewise.
32407 (FLDLOG): Likewise.
32408 (c0): Likewise.
32409 (c1): Likewise.
32410 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32411 Adjust comments for base varying.
32412 (__expl_finite): Change alias to EXPL_FINITE.
32413 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32414 e_expl.S.
32415 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32416 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32417 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32418 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32419 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32420 USE_AS_EXP10L.
32421 (EXPL_FINITE): Likewise.
32422 (FLDLOG): Likewise.
32423 (c0): Likewise.
32424 (c1): Likewise.
32425 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32426 Adjust comments for base varying.
32427 (__expl_finite): Change alias to EXPL_FINITE.
32428 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32429 tests for bugs.
32430 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32431
6c23e11c
JM
32432 [BZ #14064]
32433 * math/libm-test.inc (check_float_internal): Correct ulp
32434 calculation for subnormal expected results.
32435
29ba805c
AJ
324362012-05-06 Andreas Jaeger <aj@suse.de>
32437
32438 * Makeconfig (+math-flags): New, set to -frounding-math.
32439 (+cflags): Add +math-flags so that all of glibc gets compiled with
32440 it.
32441
32442 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32443
7b17aeda
JM
324442012-05-05 Joseph Myers <joseph@codesourcery.com>
32445
5779f134
JM
32446 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32447 Disable one test.
32448
41498f4d
JM
32449 [BZ #13787]
32450 [BZ #13922]
32451 [BZ #14036]
32452 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32453 (__ieee754_expl): Allow for and saturate large arguments.
32454 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32455 (u_threshold): Likewise.
32456 (__exp): Call __ieee754_exp before checking for overflow and
32457 underflow.
32458 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32459 (u_threshold): Likewise.
32460 (__expf): Call __ieee754_expf before checking for overflow and
32461 underflow.
32462 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32463 (u_threshold): Likewise.
32464 (__expl): Call __ieee754_expl before checking for overflow and
32465 underflow.
32466 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32467 (__ieee754_expl): Allow for and saturate large arguments.
32468 * math/libm-test.inc (exp_test): Add another test. Do not allow
32469 missing overflow exception on overflow.
32470 (expm1_test): Do not allow missing overflow exception on overflow.
32471
6698b8bf
JM
32472 * sysdeps/i386/fpu/e_expl.c: Move to ...
32473 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32474 rather than using inline asm.
32475 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32476 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32477 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32478
7b17aeda
JM
32479 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32480 (nice): Likewise.
32481 (poll): Likewise.
32482 (signal): Likewise.
32483 (time): Likewise.
32484 (times): Likewise.
32485
f7c85819
JM
324862012-05-04 Joseph Myers <joseph@codesourcery.com>
32487
32488 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32489 sysdeps/unix/common/syscalls.list.
32490 (fchmod): Likewise.
32491 (fchown): Likewise.
32492 (ftruncate): Likewise.
32493 (getrusage): Likewise.
32494 (gettimeofday): Likewise.
32495 (setpgid): Likewise.
32496 (setregid): Likewise.
32497 (setreuid): Likewise.
32498 (sigaction): Likewise.
32499 (truncate): Likewise.
32500 (vhangup): Likewise.
32501 * sysdeps/unix/common/syscalls.list: Remove file.
32502 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32503 * sysdeps/unix/sysv/linux/Implies: Likewise.
32504
336270d0
L
325052012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32506
32507 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32509 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32510 Moved to ...
32511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32512 Here.
32513 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32514 to ...
32515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32516 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32517 to ...
32518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32519 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32520 to ...
32521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32522 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32523 to ...
32524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32525 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32526 to ...
32527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32528 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32529 to ...
32530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32531 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32532 to ...
32533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32534 Here.
32535 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32536 to ...
32537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32538 Here.
32539 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32540 to ...
32541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32542 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32543 Moved to ...
32544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32545 Here.
32546 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32547 to ...
32548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32549
d128e450
JM
325502012-05-04 Joseph Myers <joseph@codesourcery.com>
32551
fa8ee516
JM
32552 * sysdeps/unix/common/bits/dirent.h: Remove file.
32553 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32554
d128e450
JM
32555 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32556 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32557 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32558 * sysdeps/unix/bsd/isatty.c: Likewise.
32559 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32560 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32561 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32562
ff8faaf0 325632012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 32564
62881be4 32565 [BZ #13563]
31dc8730
AZ
32566 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32567 long double comparison inaccuracies.
32568 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32570
6fef930c
AS
325712012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32572
32573 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32574 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32575
8f203e6c
JM
325762012-05-04 Joseph Myers <joseph@codesourcery.com>
32577
32578 [BZ #14049]
32579 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32580 nonzero digits before rounding a hex value.
32581 * stdlib/tst-strtod.c (tests): Add another test.
32582
5197d9c2
AK
325832012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32584
32585 * sysdeps/s390/fpu/libm-test-ulps: Update.
32586
f0c1dedf
AJ
325872012-05-03 Andreas Jaeger <aj@suse.de>
32588
32589 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32590 does not get optimized out.
32591 (malloc_opt_barrier): New.
32592
a65ef2ae 325932012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 32594 Roland McGrath <roland@hack.frob.com>
a65ef2ae 32595
2b942cb7 32596 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 32597 intermediate file deletion.
2b942cb7 32598 (generated): Add .symlist files.
a65ef2ae 32599
54b71e02
JM
326002012-05-03 Joseph Myers <joseph@codesourcery.com>
32601
32602 [BZ #13775]
32603 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32604 Redirect under this condition.
32605 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32606 [__USE_GNU] (__dprintf_chk): Not under this condition.
32607 [__USE_GNU] (__vdprintf_chk): Likewise.
32608 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32609 under this condition.
32610 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32611 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32612 [__USE_XOPEN2K8] (vdprintf): Likewise.
32613 [__USE_GNU] (__dprintf_chk): Not under this condition.
32614 [__USE_GNU] (__vdprintf_chk): Likewise.
32615 [__USE_GNU] (dprintf): Likewise.
32616 [__USE_GNU] (vdprintf): Likewise.
32617
d3dfcc41
RM
326182012-05-03 Roland McGrath <roland@hack.frob.com>
32619
32620 * elf/Makefile (common-generated): Set this instead of generated for
32621 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32622 $(all-built-dso)-derived lists.
32623
7ac30cc5
AJ
326242012-05-03 Andreas Jaeger <aj@suse.de>
32625
0c51e550
AJ
32626 * sysdeps/i386/fpu/libm-test-ulps: Update.
32627
7ac30cc5
AJ
32628 * FAQ: Removed.
32629 * FAQ.in: Likewise.
32630 * scripts/gen-FAQ.pl: Likewise.
32631 * manual/install.texi (Installation): Point to online location of
32632 FAQ.
32633 * Makefile (files-for-dist): Remove FAQ.
32634 (FAQ): Remove.
32635
d4c2917f
AM
326362012-05-02 Allan McRae <allan@archlinux.org>
32637
32638 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32639 (LDFLAGS-reldepmod5.so): Likewise.
32640 (LDFLAGS-reldep6mod1.so): Likewise.
32641 (LDFLAGS-reldep6mod4.so): Likewise.
32642 (LDFLAGS-reldep8mod3.so): Likewise.
32643 (LDFLAGS-unload4mod1.so): Likewise.
32644 (LDFLAGS-unload4mod2.so): Likewise.
32645 (LDFLAGS-tst-initorder): Likewise.
32646 (LDFLAGS-tst-initordera2.so): Likewise.
32647 (LDFLAGS-tst-initordera3.so): Likewise.
32648 (LDFLAGS-tst-initordera4.so): Likewise.
32649 (LDFLAGS-tst-initorderb2.so): Likewise.
32650 (LDFLAGS-noload): Likewise.
32651 (LDFLAGS-next): Likewise.
32652 (LDFLAGS-order2mod1.so): Likewise.
32653 (LDFLAGS-order2mod2.so): Likewise.
32654 (LDFLAGS-tst-initorder2): Likewise.
32655 (LDFLAGS-tst-initorder2a.so): Likewise.
32656 (LDFLAGS-tst-initorder2b.so): Likewise.
32657 (LDFLAGS-tst-initorder2c.so): Likewise.
32658 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32659
d77f993f
DM
326602012-05-02 David S. Miller <davem@davemloft.net>
32661
32662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32663
171a70b4
PP
326642012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32665
32666 [BZ #14055]
32667 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32668
0be196ad
AJ
326692012-05-02 Andreas Jaeger <aj@suse.de>
32670
32671 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32672 since we manipulate rounding mode.
32673 (CPPFLAGS-test-idouble.c): Likewise.
32674 (CPPFLAGS-test-ifloat.c): Likewise.
32675 (CFLAGS-test-ldouble.c): Likewise.
32676 (CFLAGS-test-double.c): Likewise.
32677 (CFLAGS-test-float.c): Likewise.
32678 (CFLAGS-test-misc.c): Likewise.
32679 (CFLAGS-test-test-fenv.c): Likewise.
32680
4f9d04aa
AZ
326812012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32682
2b942cb7
RM
32683 [BZ #2550]
32684 [BZ #2570]
32685 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32686 comparisons to determine direction to adjust input.
4f9d04aa 32687
82a79e7d
RM
326882012-05-01 Roland McGrath <roland@hack.frob.com>
32689
f5a01ca9
RM
32690 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32691 output to the target.
32692
90fe4186
RM
32693 * scripts/localplt.awk: New file.
32694 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32695 (check-localplt-CFLAGS): Variable removed.
32696 ($(all-built-dso:=.jmprel)): New static pattern rule.
32697 (generated): Add those targets.
32698 (localplt-built-dso): New variable.
32699 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32700
32701 * elf/check-localplt.c: File removed.
32702
82397ed6
RM
32703 * scripts/check-execstack.awk: New file.
32704 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32705 (check-execstack-CFLAGS): Variable removed.
32706 ($(objpfx)check-execstack.h): Target removed.
32707 ($(objpfx)execstack-default): New target.
32708 (generated): Add that instead of check-execstack.h.
32709 ($(all-built-dso:=.phdr)): New static pattern rule.
32710 (generated): Add those targets.
32711 * elf/check-execstack.c: File removed.
32712
82a79e7d
RM
32713 * scripts/check-textrel.awk: New file.
32714 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32715 (check-textrel-CFLAGS): Variable removed.
32716 (all-built-dso): Use := to define.o
32717 ($(all-built-dso:=.dyn)): New static pattern rule.
32718 (generated): Add those targets.
32719 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32720 * config.make.in (READELF): New substituted variable.
32721 * elf/check-textrel.c: File removed.
32722
62fde54f 327232012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 32724
615605c9
JM
32725 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32726 allow.
32727 * conform/data/ctype.h-data [C99-based standards] (isblank):
32728 Expect function.
32729 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32730 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32731 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32732 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32733 Specify type. Require positive value.
32734 (EILSEQ): Likewise.
32735 (ERANGE): Likewise.
32736 [ISO || POSIX] (EILSEQ): Do not expect.
32737 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32738 Specify type. Require positive value.
32739 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32740 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32741 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32742 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32743 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32744 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32745 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32746 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32747 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32748 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32749 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32750 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32751 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32752 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32753 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32754 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32755 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32756 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32757 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32758 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32759 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32760 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32761 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32762 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32763 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32764 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32765 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32766 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32767 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32768 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32769 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32770 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32771 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32772 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32773 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32774 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32775 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32776 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32777 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32778 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32779 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32780 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32781 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32782 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32783 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32784 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32785 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32786 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32787 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32788 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32789 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32790 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32791 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32792 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32793 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32794 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32795 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32796 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32797 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32798 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32799 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32800 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32801 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32802 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32803 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32804 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32805 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32806 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32807 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32808 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32809 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32810 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32811 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32812 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32813 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32814 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32815 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32816 Require >= 2.
32817 (FLT_ROUNDS): Expect as macro, not constant.
32818 (FLT_MANT_DIG): Use macro-int-constant.
32819 (DBL_MANT_DIG): Likewise.
32820 (LDBL_MANT_DIG): Likewise.
32821 (FLT_DIG): Likewise.
32822 (DBL_DIG): Likewise.
32823 (LDBL_DIG): Likewise.
32824 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32825 (DBL_MIN_EXP): Likewise.
32826 (LDBL_MIN_EXP): Likewise.
32827 (FLT_MAX_EXP): Use macro-int-constant.
32828 (DBL_MAX_EXP): Likewise.
32829 (LDBL_MAX_EXP): Likewise.
32830 (FLT_MAX_10_EXP): Likewise.
32831 (DBL_MAX_10_EXP): Likewise.
32832 (LDBL_MAX_10_EXP): Likewise.
32833 (FLT_MAX): Use macro-constant.
32834 (DBL_MAX): Likewise.
32835 (LDBL_MAX): Likewise.
32836 (FLT_EPSILON): Use macro-constant. Give upper bound.
32837 (DBL_EPSILON): Likewise.
32838 (LDBL_EPSILON): Likewise.
32839 (FLT_MIN): Likewise.
32840 (DBL_MIN): Likewise.
32841 (LDBL_MIN): Likewise.
32842 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32843 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32844 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32845 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32846 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32847 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32848 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32849 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32850 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32851 [ISO11] (FLT_TRUE_MIN): Likewise.
32852 [ISO11] (LDBL_TRUE_MIN): Likewise.
32853 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32854 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32855 (SCHAR_MIN): Use macro-int-constant. Specify type.
32856 (SCHAR_MAX): Likewise.
32857 (UCHAR_MAX): Likewise.
32858 (CHAR_MIN): Likewise.
32859 (CHAR_MAX): Likewise.
32860 (MB_LEN_MAX): Use macro-int-constant.
32861 (SHRT_MIN): Use macro-int-constant. Specify type.
32862 (SHRT_MAX): Likewise.
32863 (USHRT_MAX): Likewise.
32864 (INT_MAX): Likewise.
32865 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32866 bound negative.
32867 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32868 bound with "U".
32869 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32870 bound with "L".
32871 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32872 bound negative. Suffix upper bound with "L".
32873 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32874 bound with "UL".
32875 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32876 Specify type.
32877 [C99-based standards] (LLONG_MAX): Likewise.
32878 [C99-based standards] (ULLONG_MAX): Likewise.
32879 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32880 == 0.
32881 [ISO11] (max_align_t): Require type.
32882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32883
c9140a62
JM
32884 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32885 from $CFLAGS, without defining away __attribute__ calls.
32886 (checknamespace): Use $CFLAGS_namespace.
32887
9af0bf29
JM
32888 * conform/conformtest.pl (@keywords): Only include C99 keywords
32889 for standards based on C99 or C11.
32890
343222a2
JM
32891 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32892 Disable tests.
32893 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32894 UNIX98]: Likewise.
32895
661f8cf0
JM
32896 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32897 usability of symbols in #if.
32898
ee74b9cb
JM
32899 * conform/conformtest.pl: If macro or constant types start
32900 "promoted:", expect the symbol to be of the following type
32901 promoted by the integer promotions.
62fde54f 32902
aafc49b3
JM
32903 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32904 in one place. Also handle "macro-constant".
32905
fefdf574
JM
32906 * conform/conformtest.pl: Only accept expected macro values with
32907 "==". Parse all "macro" lines in one place.
32908 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32909
f2d922fe
JM
32910 * conform/conformtest.pl: Handle braced types on "constant" lines
32911 instead of handling "typed-constant".
32912 * conform/data/signal.h-data: Use "constant" instead of
32913 "typed-constant".
32914
d22956c9
JM
32915 * conform/conformtest.pl: Handle "optional-" at start of lines in
32916 one place rather than duplicating several cases. Handle each
32917 format of "macro" line with initial "optional-".
32918
028e2e38
JM
32919 * conform/conformtest.pl: Only accept expected constant or
32920 optional-constant values with "==". Parse all "constant" lines in
32921 one place. Parse all "optional-constant" lines in one place.
32922 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32923 * conform/data/fmtmsg.h-data: Likewise.
32924 * conform/data/netinet/in.h-data: Likewise.
32925 * conform/data/tar.h-data: Likewise.
32926 * conform/data/limits.h-data: Use "==" form on "constant" and
32927 "optional-constant" lines.
32928
1b8f2850
JM
32929 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32930 Use -std=c99 for XOPEN2K.
32931 (@knownproblems): Remove.
32932 (newtoken): Don't check %isknown.
32933
a05a144b
JM
32934 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32935 Do not expect macro.
32936 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32937 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32938 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32939 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32940 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32941 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32942 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32943 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32944 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32945 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32946 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32947 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32948 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32949 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32950 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32951 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32952 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32953 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32954 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32955 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32956 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32957 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32958 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32959 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32960 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32961 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32962 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32963 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32964 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32965 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32966 [XPG3] (acosh): Likewise.
32967 [XPG3] (asinh): Likewise.
32968 [XPG3] (atanh): Likewise.
32969 [XPG3] (cbrt): Likewise.
32970 [XPG3] (expm1): Likewise.
32971 [XPG3] (ilogb): Likewise.
32972 [XPG3] (log1p): Likewise.
32973 [XPG3] (logb): Likewise.
32974 [XPG3] (nextafter): Likewise.
32975 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32976 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32977 [XPG3] (remainder): Likewise.
32978 [XPG3] (rint): Likewise.
32979 [XPG3 || XPG4 || UNIX98] (round): Likewise.
32980 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32981 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32982 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32983 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32984 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32985 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32986 [UNIX98 || XOPEN2K] (scalb): Expect.
32987 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32988 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32989 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32990 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32991 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32992 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32993 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32994 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32995 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32996 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32997 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32998 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32999 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33000 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33001 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33002 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33003 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33004 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33005 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33006 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33007 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33008 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33009 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33010 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33011 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33012 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33013 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33014 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33015 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33016 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33017 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33018 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33019 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33020 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33021 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33022 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33023 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33024 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33025 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33026 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33027 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33028 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33029 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33030 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33031 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33032 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33033 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33034 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33035 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33036 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33037 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33038 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33039 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33040 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33041 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33042 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33043 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33044 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33045 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33046 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33047 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33048 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33049 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33050 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33051 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33052 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33053 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33054 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33055 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33056 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33057 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33058 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33059 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33060 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33061 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33062 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33063 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33064 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33065 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33066 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33067 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33068 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33069 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33070 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33071 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33072 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33073 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33074 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33075 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33076 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33077 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33078 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33079 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33080 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33081 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33082 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33083 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33084 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33085 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33086 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33087 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33088 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33089 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33090 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33091 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33092 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33093 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33094 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33095 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33096 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33097 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33098 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33099 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33100 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33101 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33102 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33103 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33104 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33105 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33106 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33107 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33108 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33109 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33110 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33111 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33112 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33113 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33114 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33115 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33116 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33117 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33118 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33119 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33120 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33121 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33122 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33123 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33124
73c5ebe3
JM
33125 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33126 _XOPEN_SOURCE_EXTENDED for XPG4.
33127
39c33b6c
JM
33128 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33129
62fde54f
JM
33130 * Makeconfig (localtime): Remove variable.
33131 (inst_localtime-file): Likewise.
33132
0741d64c
AS
331332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33134
33135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33136 Update.
33137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33138 Update.
33139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33140 Update.
33141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33142 Update.
33143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33144 Update.
33145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33146 Update.
33147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33148 Update.
33149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33150 Update.
33151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33152 Update.
33153
7cb029ee
JM
331542012-05-01 Joseph Myers <joseph@codesourcery.com>
33155
33156 [BZ #2550]
33157 [BZ #2570]
33158 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33159 comparisons to determine direction to adjust input.
33160 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33161 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33162 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33163 Likewise.
33164 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33165 Likewise.
33166 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33167 Likewise.
33168 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33169 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33170 Likewise.
33171 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33172 Likewise.
33173 * math/libm-test.inc (nexttoward_test): Add more tests.
33174
412bd966
AS
331752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33176
33177 [BZ #14040]
33178 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33179 in version GLIBC_2.1, not GLIBC_2.0.
33180 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33181 Likewise.
33182
9568c0c2
JM
331832012-04-30 Joseph Myers <joseph@codesourcery.com>
33184
adfbc8ac
JM
33185 [BZ #13942]
33186 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33187 (1 - x) * (1 + x).
33188 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33189 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33190 * math/libm-test.inc (acos_test): Add more tests.
33191 (asin_test): Likewise.
33192 * sysdeps/i386/fpu/libm-test-ulps: Update.
33193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33194
5ba3cc69
JM
33195 [BZ #14034]
33196 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33197 of square root.
33198 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33199 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33200 * math/libm-test.inc (acos_test_tonearest): New function.
33201 (acos_test_towardzero): Likewise.
33202 (acos_test_downward): Likewise.
33203 (acos_test_upward): Likewise.
33204 (asin_test_tonearest): Likewise.
33205 (asin_test_towardzero): Likewise.
33206 (asin_test_downward): Likewise.
33207 (asin_test_upward): Likewise.
33208 (main): Call the new functions.
33209 * sysdeps/i386/fpu/libm-test-ulps: Update.
33210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33211
9568c0c2
JM
33212 [BZ #13884]
33213 [BZ #13924]
33214 * math/e_exp10.c: Include <float.h>.
33215 (__ieee754_exp10): Handle underflow here rather than multiplying
33216 large negative argument by M_LN10.
33217 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33218 of __ieee754_expf.
33219 * math/e_exp10l.c: Include <float.h>.
33220 (__ieee754_exp10l): Handle underflow here rather than multiplying
33221 large negative argument by M_LN10l.
33222 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33223 spurious overflow exception on underflow.
33224
5ac3ea17
MP
332252012-04-29 Marek Polacek <polacek@redhat.com>
33226
33227 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33228 (__fortify_function): New macro.
33229 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33230 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33231 __extern_always_inline.
33232 * libio/bits/stdio2.h: Likewise.
33233 * libio/bits/stdio.h: Likewise.
33234 * string/string.h: Likewise.
33235 * string/bits/string3.h: Likewise.
33236 * include/stdio.h: Likewise.
33237 * stdlib/bits/stdlib.h: Likewise.
33238 * stdlib/stdlib.h: Likewise.
33239 * rt/bits/mqueue2.h: Likewise.
33240 * rt/mqueue.h: Likewise.
33241 * posix/bits/unistd.h: Likewise.
33242 * posix/unistd.h: Likewise.
33243 * io/bits/poll2.h: Likewise.
33244 * io/bits/fcntl2.h: Likewise.
33245 * io/fcntl.h: Likewise.
33246 * io/sys/poll.h: Likewise.
33247 * misc/bits/syslog.h: Likewise.
33248 * misc/bits/syslog-ldbl.h: Likewise.
33249 * misc/sys/syslog.h: Likewise.
33250 * socket/bits/socket2.h: Likewise.
33251 * socket/sys/socket.h: Likewise.
33252 * debug/tst-chk1.c: Likewise.
33253 * wcsmbs/bits/wchar2.h: Likewise.
33254 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33255 * wcsmbs/wchar.h: Likewise.
33256
ecf0ebfb
AJ
332572012-04-29 Andreas Jaeger <aj@suse.de>
33258
33259 * Makerules (tests): Remove enable-check-abi protection.
33260 (check-abi-warn): Remove.
33261 (check-abi-%): Remove check-abi-warn usage.
33262
33263 * configure.in: Remove check-abi configure option.
33264 * configure: Regenerated.
33265 * config.make.in (enable-check-abi): Remove.
33266
6d5c57fa
AS
332672012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33268
24c5d07e 33269 [BZ #14033]
ded5180a
AS
33270 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33271 double functions to double *_finite functions.
33272
7e0d315d
AS
33273 [BZ #13941]
33274 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33275 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33276 LDBL_MIN_EXP.
33277 * stdio-common/Makefile (tests): Add tst-sprintf3.
33278 * stdio-common/tst-sprintf3.c: New file.
33279
6d5c57fa
AS
33280 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33281 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33282
0749ff8b
JM
332832012-04-28 Joseph Myers <joseph@codesourcery.com>
33284
33285 * conform/conformtest.pl: Remove duplicate typed-constant
33286 handling.
33287
8dbd5d7b
DM
332882012-04-28 David S. Miller <davem@davemloft.net>
33289
33290 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33291 (check-abi-%): Remove AWK script prerequisite and explicit
33292 abilist directory.
33293 (check-abi): Rewrite to just diff the symlist with the abilist.
33294 (config-tls, config-abi-config): Delete, no longer used.
33295 (update-abi-%): Remove AWK script and explicit abilist directory.
33296 (update-abi): Rewrite to simply compare and conditionally copy the
33297 symlist and the sysdep abilist file. Remove update-abi-config
33298 checks.
33299 * abilist/ld.abilist: Remove.
33300 * abilist/libBrokenLocale.abilist: Remove.
33301 * abilist/libanl.abilist: Remove.
33302 * abilist/libcrypt.abilist: Remove.
33303 * abilist/libdl.abilist: Remove.
33304 * abilist/librt.abilist: Remove.
33305 * abilist/libthread_db.abilist: Remove.
33306 * abilist/libutil.abilist: Remove.
33307 * scripts/extract-abilist.awk: Remove.
33308 * scripts/merge-abilist.awk: Remove.
33309 * sysdeps/generic/libcidn.abilist: New file.
33310 * sysdeps/generic/libnss_compat.abilist: New file.
33311 * sysdeps/generic/libnss_db.abilist: New file.
33312 * sysdeps/generic/libnss_dns.abilist: New file.
33313 * sysdeps/generic/libnss_files.abilist: New file.
33314 * sysdeps/generic/libnss_hesiod.abilist: New file.
33315 * sysdeps/generic/libnss_nis.abilist: New file.
33316 * sysdeps/generic/libnss_nisplus.abilist: New file.
33317 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33318 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33319 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33320 file.
33321 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33322 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33323 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33324 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33325 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33326 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33327 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33328 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33329 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33330 file.
33331 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33332 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33333 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33334 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33335 file.
33336 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33337 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33338 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33339 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33340 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33341 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33342 file.
33343 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33344 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33345 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33346 file.
33347 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33348 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33349 New file.
33350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33351 New file.
33352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33353 New file.
33354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33355 New file.
33356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33357 New file.
33358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33359 New file.
33360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33361 New file.
33362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33363 New file.
33364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33365 New file.
33366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33367 New file.
33368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33369 New file.
33370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33371 New file.
33372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33373 New file.
33374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33375 file.
33376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33377 New file.
33378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33379 New file.
33380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33381 file.
33382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33383 New file.
33384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33385 New file.
33386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33387 file.
33388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33389 New file.
33390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33391 New file.
33392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33393 New file.
33394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33395 New file.
33396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33397 New file.
33398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33399 New file.
33400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33402 file.
33403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33404 New file.
33405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33406 file.
33407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33408 file.
33409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33410 file.
33411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33412 file.
33413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33414 file.
33415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33416 New file.
33417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33418 file.
33419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33420 file.
33421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33422 New file.
33423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33424 file.
33425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33427 file.
33428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33429 New file.
33430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33431 file.
33432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33433 file.
33434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33435 file.
33436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33437 file.
33438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33439 file.
33440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33441 New file.
33442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33443 file.
33444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33445 file.
33446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33447 New file.
33448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33449 file.
33450 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33451 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33452 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33453 file.
33454 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33455 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33456 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33457 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33458 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33459 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33460 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33461 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33462 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33463 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33466 file.
33467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33468 New file.
33469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33470 file.
33471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33472 file.
33473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33474 file.
33475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33476 file.
33477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33478 file.
33479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33480 New file.
33481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33482 New file.
33483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33484 file.
33485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33486 New file.
33487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33488 file.
33489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33491 file.
33492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33493 New file.
33494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33495 file.
33496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33497 file.
33498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33499 file.
33500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33501 file.
33502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33503 file.
33504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33505 New file.
33506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33507 New file.
33508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33509 file.
33510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33511 New file.
33512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33513 file.
33514
41d73a1b
JM
335152012-04-28 Joseph Myers <joseph@codesourcery.com>
33516
33517 * conform/conformtest.pl: Fix typo in handling typed-constant from
33518 allow-header.
33519
28aeeda4
JM
335202012-04-27 Joseph Myers <joseph@codesourcery.com>
33521
adae8f5e
JM
33522 * README: Cut down references to pre-2.6 Linux kernels and
33523 Linuxthreads. Update lists of configurations in libc and ports
33524 and sort alphabetically. Say "or newer" with Linux kernel version
33525 requirements.
33526
28aeeda4
JM
33527 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33528
a462cb63
RA
335292012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33530
33531 [BZ #887]
33532 * math/libm-test.inc (logb_test_downward): New test to expose
33533 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33534 rounding mode.
33535
6ad3493e
JM
335362012-04-27 Joseph Myers <joseph@codesourcery.com>
33537
33538 [BZ #14027]
33539 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33540 to be done.
33541 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33542 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33543
2ce4f015
JM
335442012-04-26 Joseph Myers <joseph@codesourcery.com>
33545
5aeb141a
JM
33546 * sysdeps/unix/i386/brk.S: Remove file.
33547 * sysdeps/unix/i386/dl-brk.S: Likewise.
33548 * sysdeps/unix/i386/pipe.S: Likewise.
33549 * sysdeps/unix/i386/sigreturn.S: Likewise.
33550 * sysdeps/unix/i386/syscall.S: Likewise.
33551 * sysdeps/unix/i386/vfork.S: Likewise.
33552 * sysdeps/unix/i386/wait.S: Likewise.
33553
7143acae
JM
33554 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33555 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33556
2ce4f015
JM
33557 * configure.in (arm*-none*): Do not allow without
33558 --enable-hacker-mode.
33559 (netbsd*): Remove case setting base_os.
33560 (386bsd*): Likewise.
33561 (freebsd*): Likewise.
33562 (bsdi*): Likewise.
33563 (osf*): Likewise.
33564 (sunos*): Likewise.
33565 (ultrix*): Likewise.
33566 (newsos*): Likewise.
33567 (dynix*): Likewise.
33568 (*bsd*): Likewise.
33569 (sysv*): Likewise.
33570 (isc*): Likewise.
33571 (esix*): Likewise.
33572 (sco*): Likewise.
33573 (minix*): Likewise.
33574 (irix4*): Likewise.
33575 (irix6*): Likewise.
33576 (solaris[2-9]*): Likewise.
33577 (none): Likewise.
33578 * configure: Regenerated.
33579
0ac229c8
AZ
335802012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33581
33582 [BZ #11521]
33583 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33584 overflow or cancellation in calculating denominator.
33585 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33586 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33587 down expression to avoid unexpected rounding in newer GCCs.
33588 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33589
33f244f4
DM
335902012-04-26 David S. Miller <davem@davemloft.net>
33591
33592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33593 long-double compat symbols.
33594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33607
cfa1f3e8
DM
336082012-04-25 David S. Miller <davem@davemloft.net>
33609
33610 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33611 HWCAP_* values only after the memory barriers have been defined.
33612 (atomic_full_barrier): Define.
33613 (atomic_read_barrier): Define.
33614 (atomic_write_barrier): Define.
33615
6e236b92
SP
336162012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33617
33618 * shlib-versions: Add libgcc_s version information.
33619 * sysdeps/generic/libgcc_s.h: Remove.
33620 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33621 libgcc_s.h.
33622 * sysdeps/gnu/unwind-resume.c: Likewise.
33623 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33624
aab39a09
DM
336252012-04-25 David S. Miller <davem@davemloft.net>
33626
33627 * sysdeps/unix/sparc/brk.S: Delete.
33628 * sysdeps/unix/sparc/dl-brk.S: Delete.
33629 * sysdeps/unix/sparc/pipe.S: Delete.
33630 * sysdeps/unix/sparc/sysdep.S: Delete.
33631 * sysdeps/unix/sparc/sysdep.h: Delete.
33632 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
33633 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33634 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33635 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33636 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
33637 (JUMPTARGET): Remove.
33638 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33639 sysdeps/unix/sparc/sysdep.h
33640 (ENTRY, END): Remove.
33641 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33642
a3cc4f48
JM
336432012-04-25 Joseph Myers <joseph@codesourcery.com>
33644
2ed8cda2
JM
33645 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33646 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33647 -DIS_IN_build.
33648
35d76d59
JM
33649 * timezone/README: Update upstream location and email address for
33650 tzcode and tzdata.
33651 * timezone/zdump.c: Update from tzcode 2012b.
33652 * timezone/zic.c: Likewise.
33653
a3cc4f48
JM
33654 * configure.in (libc_cv_as_needed): Remove test.
33655 * configure: Regenerated.
33656 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33657 conditional definition.
33658 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33659 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33660 * config.make.in (have-as-needed): Remove variable.
33661
ceab42c3
SP
336622012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33663 Paul Pluzhnikov <ppluzhnikov@google.com>
33664
33665 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33666 strings correctly.
33667
3ce2865f
CLT
336682012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33669
33670 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33671 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33672 * sysdeps/sh/strlen.S: Likewise.
33673
f37e0d68
JM
336742012-04-24 Joseph Myers <joseph@codesourcery.com>
33675
ae186e9a
JM
33676 * sysdeps/unix/fork.S: Remove file.
33677 * sysdeps/unix/i386/fork.S: Likewise.
33678 * sysdeps/unix/sparc/fork.S: Likewise.
33679
b96914af
JM
33680 * sysdeps/unix/system.c: Remove file.
33681 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33682
f37e0d68
JM
33683 * sysdeps/unix/getegid.S: Remove file.
33684 * sysdeps/unix/geteuid.S: Likewise.
33685
87ef29ca
RM
336862012-04-24 Roland McGrath <roland@hack.frob.com>
33687
83bcd236
RM
33688 * scripts/check-localplt.awk: New file.
33689 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33690 of diff.
33691 * scripts/data/localplt-generic.data: Add a comment.
33692
87ef29ca
RM
33693 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33694 NODE when __dir_mkfile failed.
33695 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33696 Reported by Ludovic Courtès <ludo@gnu.org>.
33697
e5a6e567
AJ
336982012-04-24 Andreas Jaeger <aj@suse.de>
33699
33700 * Makerules (common-clean): Also remove gen-as-const-headers
33701 files.
33702
c1820385
JM
337032012-04-24 Joseph Myers <joseph@codesourcery.com>
33704
33705 * Makerules (native-compile): Do not change working directory for
33706 build. Use $(OUTPUT_OPTION) in command.
33707 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33708
94e02fc4
AZ
337092012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33710
33711 [BZ #13886]
33712 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33713 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33714 * math/libm-test.inc (floor_test): Add more tests.
33715 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33716
3a533ca3
JM
337172012-04-24 Joseph Myers <joseph@codesourcery.com>
33718
940ab4b3
JM
33719 * sysdeps/unix/getdents.c: Remove file.
33720 * sysdeps/unix/sysv/getdents.c: Likewise.
33721 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33722
90e037bd
JM
33723 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33724 sysdeps/unix/mman/syscalls.list.
33725 (mmap): Likewise.
33726 (mprotect): Likewise.
33727 (msync): Likewise.
33728 (munmap): Likewise.
33729 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33730 * sysdeps/unix/mman/syscalls.list: Remove.
33731 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33732
3a533ca3
JM
33733 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33734 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33735 * configure: Regenerated.
33736 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33737 $(libgcc_s_suffix).
33738 * config.make.in (libgcc_s_suffix): Remove variable.
33739
1ad743de
JM
337402012-04-23 Joseph Myers <joseph@codesourcery.com>
33741
4ad451e2
JM
33742 * sysdeps/unix/sysv/gethostname.c: Move to ...
33743 * sysdeps/posix/gethostname.c: ... here.
33744
5e37ce39
JM
33745 * sysdeps/unix/execve.S: Remove file.
33746
1ad743de
JM
33747 * sysdeps/unix/_exit.S: Remove file.
33748
4e681b5b
AJ
337492012-04-23 Andreas Jaeger <aj@suse.de>
33750
33751 [BZ #13739]
33752 * manual/Makefile: Remove make dist support, there's no
33753 need for a stand-alone documentation tar ball.
33754 (TEXI2DVI): Define always, it's not in Makeconfig.
33755 (dist): Removed.
33756 (tar-it): Removed.
33757 (edition): Removed.
33758 (glibc-doc-$(edition).tar): Removed
33759 (%.Z): Removed.
33760 (%.gz): Removed.
33761 (%.uu): Removed.
33762 (ETAGS): Remove, it's in Makeconfig.
33763 (move-if-change): Remove, it's in Makeconfig.
33764
38686a03 337652012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
33766
33767 [BZ #13970]
33768 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33769 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33770 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33771 (strtod_l, strtof_l, strtold_l): Remove __wur.
33772 It is not necessarily an error to ignore strtol's return value.
33773 One can reliably look at the stored endptr to decide whether
33774 the number had valid syntax.
33775
7c0616fa
AJ
337762012-04-21 Andreas Jaeger <aj@suse.de>
33777
803cb6b7 33778 [BZ #13739]
7c0616fa
AJ
33779 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33780
b0fe253f
JM
337812012-04-21 Joseph Myers <joseph@codesourcery.com>
33782
33783 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33784 * sysdeps/unix/sysv/Versions: Remove file.
33785
8280f22d
MT
337862012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33787
33788 [BZ #13927]
33789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33790
75ce411f 337912012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
33792
33793 [BZ #7064]
33794 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33795 version from __vm86.
33796
097d59fa
JM
337972012-04-20 Joseph Myers <joseph@codesourcery.com>
33798
a90f3bcb
JM
33799 * sysdeps/unix/common/lxstat.c: Remove file.
33800 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33801
edc7ea78
JM
33802 * sysdeps/unix/sysv/Makefile: Remove file.
33803
cb78c221
JM
33804 * sysdeps/unix/sysv/direct.h: Remove file.
33805
efa6a45f
JM
33806 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33807 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33808 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33809 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33810 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33811 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33812 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33813
9c9f2d0c
JM
33814 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33815
4541c83b
JM
33816 * sysdeps/unix/xmknod.c: Remove file.
33817 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33818
f5d153a0
JM
33819 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33820
aa746595
JM
33821 * sysdeps/unix/sysv/i386/time.S: Remove file.
33822
cce5905e
JM
33823 * sysdeps/unix/fxstat.c: Remove file.
33824 * sysdeps/unix/xstat.c: Likewise.
33825 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33826
37fa3841
JM
33827 * sysdeps/unix/sysv/sigaction.c: Remove file.
33828
ff1962a3
JM
33829 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33830 (sysdep_headers): Remove variable.
33831 [termio.h not in sysdep_headers] (generated): Likewise.
33832 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33833 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33834 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33835 * sysdeps/unix/sysv/tcflow.c: Likewise.
33836 * sysdeps/unix/sysv/tcflush.c: Likewise.
33837 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33838 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33839 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33840 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33841 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33842
e7740d31
JM
33843 * sysdeps/unix/siglist.c: Remove file.
33844
ee06f18b
JM
33845 * sysdeps/unix/getppid.S: Remove file.
33846
097d59fa
JM
33847 * sysdeps/unix/mkdir.c: Remove file.
33848 * sysdeps/unix/rmdir.c: Likewise.
33849
ff3d51ec
AS
338502012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33851
33852 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33853 ERR_MAX value.
33854 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33855 errlist-compat value.
33856
50f81fd7
DM
338572012-04-18 David S. Miller <davem@davemloft.net>
33858
33859 * sysdeps/generic/memcopy.h (reg_char): Delete.
33860 * debug/strcat_chk.c: Use char, not reg_char.
33861 * debug/strcpy_chk.c: Likewise.
33862 * debug/strncat_chk.c: Likewise.
33863 * debug/strncpy_chk.c: Likewise.
33864 * string/memchr.c: Likewise.
33865 * string/memrchr.c: Likewise.
33866 * string/rawmemchr.c: Likewise.
33867 * string/strcat.c: Likewise.
33868 * string/strchr.c: Likewise.
33869 * string/strchrnul.c: Likewise.
33870 * string/strcmp.c: Likewise.
33871 * string/strcpy.c: Likewise.
33872 * string/strncat.c: Likewise.
33873 * string/strncmp.c: Likewise.
33874 * string/strncpy.c: Likewise.
33875
8ff41c46
WS
338762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33877
33878 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33879 __builtin_memcopy is called when src and dest ranges are known to not
33880 overlap.
33881
6b652f46
WS
338822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33883
33884 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33885 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33886 fwd_align_merge macro call.
33887 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33888 bwd_align_merge macro call.
33889 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33890
b282631e
WS
338912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33892
33893 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33894 bwd_align_merge macros.
33895 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33896 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33897 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33898
95aa737c
DM
338992012-04-18 David S. Miller <davem@davemloft.net>
33900
33901 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33902
7a99a614
AJ
339032012-04-18 Andreas Jaeger <aj@suse.de>
33904
33905 [BZ# 6794]
33906 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33907 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33908 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33909
33910 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33911 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33912 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33913
33914 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33915 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33916 Adjust for changed ldbl-128 files.
33917
33918 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33919 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33920 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33921
e5270c23
DM
339222012-04-17 David S. Miller <davem@davemloft.net>
33923
33924 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33925
fb5e92c9
AS
339262012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33927
33928 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33929 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33930 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33931 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33932 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33933 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33934
76da7265
AZ
339352012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33936
33937 [BZ #6794]
33938 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33939 * math/libm-test.inc: Add ilogb errno and exception tests.
33940 * math/w_ilogb.c: New file: ilogb wrapper.
33941 * math/w_ilogbf.c: New file: ilogbf wrapper.
33942 * math/w_ilogbl.c: New file: ilogbl wrapper.
33943 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33944 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33945 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33946 exception being thrown with 0.0 as argument.
33947 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33948 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33949 exception being thrown with 0.0 as argument.
33950 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33951 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33952 exception being thrown with 0.0 as argument.
33953 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33954 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33955 exception being thrown with 0.0 as argument.
33956 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33957 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 33958 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
33959 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33960 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33961 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33962 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33963 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33964 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33965
0396e69d
PB
339662012-04-17 Petr Baudis <pasky@ucw.cz>
33967
33968 * include/sys/uio.h: Change __vector to __iovec to avoid clash
33969 with altivec.
33970
750b5926
MP
339712012-04-16 Marek Polacek <polacek@redhat.com>
33972
33973 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33974
751728a1
MP
339752012-04-16 Marek Polacek <polacek@redhat.com>
33976
33977 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33978 operands of fdivp instruction.
33979
34a27407
L
339802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33981
33982 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33983 * elf/tst-auditmod3b.c: Likewise.
33984 * elf/tst-auditmod4b.c: Likewise.
33985 * elf/tst-auditmod5b.c: Likewise.
33986 * elf/tst-auditmod6b.c: Likewise.
33987 * elf/tst-auditmod6c.c: Likewise.
33988 * elf/tst-auditmod7b.c: Likewise.
33989 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33990 * sysdeps/x86_64/preconfigure.in: Likewise.
33991 * sysdeps/x86_64/preconfigure: Regenerated.
33992
7e73e17d
L
339932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
33994
33995 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33996 __ILP32__.
33997
c7a6ab72
AB
339982012-04-13 Antoine Balestrat <merkil33@gmail.com>
33999
34000 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34001 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34002
a9e8e0e0
CL
340032012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34004
34005 [BZ #13973]
34006 * locale/iso-639.def: Fix gl language name. Spotted by
34007 Yaron Shahrabani.
34008
ec98af7d
RM
340092012-04-12 Roland McGrath <roland@hack.frob.com>
34010
34011 [BZ #2074]
34012 * libio/libio.h (__io_write_fn): Update comment.
34013
247c3ede
PB
340142012-04-12 Petr Baudis <pasky@ucw.cz>
34015
34016 [BZ #2074]
34017 * stdio.texi (Hook Functions): The user provided writer function
34018 is not allowed to return -1.
34019
55939d6d
DM
340202012-04-11 David S. Miller <davem@davemloft.net>
34021
34022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34023
90020f5a
MF
340242012-04-11 Mike Frysinger <vapier@gentoo.org>
34025
34026 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34027 Add a leading slash to rtkaio.
34028
288f9098
JM
340292012-04-11 Jim Meyering <meyering@redhat.com>
34030
90020f5a
MF
34031 [BZ #11959]
34032 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34033 It is not necessarily an error to ignore fwrite's return
34034 value. One can reliably use ferror to test for errors after
34035 the fact.
288f9098 34036
4be2b570
L
340372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34038
34039 * bits/types.h (__snseconds_t): New type.
34040 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34041
34042 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34043 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34044 (__SNSECONDS_T_TYPE): Likewise.
34045 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34046 (__SNSECONDS_T_TYPE): Likewise.
34047 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34048 (__SNSECONDS_T_TYPE): Likewise.
34049
288f9098 340502012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
34051
34052 [BZ #2636]
34053 * manual/time.texi (Processor Time): Return type of times is
34054 elapsed real time since an arbitrary point in the past.
34055 (CPU Time): Move CLK_TCK from here...
34056 (Processor Time): ...to here. Correct description.
34057 * manual/conf.texi (Constants for Sysconf): Correct description of
34058 _SC_CLK_TCK.
34059
d7dd4413
DM
340602012-04-10 David S. Miller <davem@davemloft.net>
34061
34062 [BZ #13967]
34063 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34064 where the is a gap between DT_REL(A) and DT_JMPREL.
34065
b46068fc
L
340662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34067
34068 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34069 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34070 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34071
73d65cc3
SP
340722012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34073
34074 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34075 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34076 (dl_main): Handle --inhibit-cache.
34077 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34078 _dl_inhibit_cache.
34079 * elf/dl-load.c (_dl_map_object): Use it.
34080 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34081
bcc8d661
JM
340822012-04-09 Joseph Myers <joseph@codesourcery.com>
34083
8f9a2fae
JM
34084 [BZ #13872]
34085 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34086 (__ieee754_powl): Saturate large exponents rather than testing for
34087 overflow of y*log2(x).
34088 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34089 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34090 exceptions.
34091
bcc8d661
JM
34092 [BZ #11521]
34093 * math/s_ctan.c: Include <float.h>.
34094 (__ctan): Avoid internal overflow or cancellation in calculating
34095 denominator.
34096 * math/s_ctanf.c: Likewise.
34097 * math/s_ctanl.c: Likewise.
34098 * math/s_ctanh.c: Likewise.
34099 * math/s_ctanhf.c: Likewise.
34100 * math/s_ctanhl.c: Likewise.
34101 * math/libm-test.inc (ctan_test): Add more tests.
34102 (ctanh_test): Likewise.
34103 * sysdeps/i386/fpu/libm-test-ulps: Update.
34104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34105
823fbbb4
AJ
341062012-04-09 Andreas Jaeger <aj@suse.de>
34107
03879793
AJ
34108 [BZ #6894]
34109 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34110 is an optional BSD extension.
34111
823fbbb4
AJ
34112 [BZ #10254]
34113 * manual/stdio.texi (Opening Streams): Document additional fopen
34114 parameters.
34115
8de131cb
RM
341162012-04-09 Roland McGrath <roland@hack.frob.com>
34117
34118 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34119 %eax without telling the compiler.
34120
c0ed9d7d
CD
341212012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34122
34123 [BZ # 13963]
34124 * manual/install.texi: Use sourceware.org.
34125
c483f6b4
JM
341262012-04-09 Joseph Myers <joseph@codesourcery.com>
34127
d7dd9453
JM
34128 [BZ #13873]
34129 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34130 (__ieee754_pow): Generate overflow and underflow using huge*huge
34131 and tiny*tiny rather than just returning constant infinity or zero
34132 for large exponents.
34133 * math/libm-test.inc (pow_test): Require overflow exceptions for
34134 applicable cases of large exponents.
34135
c483f6b4
JM
34136 [BZ #706]
34137 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34138 (__ieee754_pow): Use iterative multiplication algorithm only for
34139 integer exponents with absolute value below 1024. Check for odd
34140 integer exponents when using algorithm for real exponents.
34141 * math/libm-test.inc (pow_test): Add more tests.
34142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34143
d2de7579
JM
341442012-04-08 Joseph Myers <joseph@codesourcery.com>
34145
34146 [BZ #13705]
34147 * math/libm-test.inc (exp_test): Do not allow overflow exception
34148 on underflow test.
34149
f77f1232
AJ
341502012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34151
34152 [BZ #13705]
34153 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34154 instead of __kernel_standard_f.
34155
3884932b
MF
341562012-04-08 Mike Frysinger <vapier@gentoo.org>
34157
34158 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34159 * sysdeps/x86_64/memset_chk.S: Likewise.
34160
54472e9c
AJ
341612012-04-08 Andreas Jaeger <aj@suse.de>
34162
6ab0fbfc
AJ
34163 [BZ #10153]
34164 * manual/startup.texi (Environment Access): Describe return value
34165 for putenv and setenv.
34166
61efba8c
AJ
34167 [BZ #6895]
34168 * manual/filesys.texi (Directory Entries): Add description for
34169 DT_LNK.
34170
95c3f29a
AJ
34171 [BZ #6890]
34172 * manual/filesys.texi (Directory Entries): Clarify that it's file
34173 system not operating system in the description of DT_UNKNOWN.
34174
54472e9c
AJ
34175 [BZ #6578]
34176 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34177
624254b1
SC
341782012-04-08 Stephen Compall <s11@member.fsf.org>
34179
34180 [BZ #6649]
34181 * manual/llio.texi (Opening and Closing Files): Add cross
34182 reference to explain mode argument.
34183
1e4920e0
MF
341842012-04-07 Mike Frysinger <vapier@gentoo.org>
34185
34186 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34187 * sysdeps/x86_64/memset_chk.S: Likewise.
34188
5ed848f3
DM
341892012-04-07 David S. Miller <davem@davemloft.net>
34190
34191 * elf/elf.h (R_SPARC_WDISP10): Define.
34192 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34193 R_SPARC_SIZE32.
34194 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34195 R_SPARC_SIZE64 and R_SPARC_H34.
34196
96154cd8
CD
341972012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34198
34199 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34200 conditions and remove no longer applicable assertion.
34201
9904dc47
L
342022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34203
34204 * bits/byteswap.h: Include <features.h>.
34205 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34206 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34207
f8887d0a
L
342082012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34209
34210 * bits/byteswap.h (__bswap_16): Removed.
34211 Include <bits/byteswap-16.h> to get __bswap_16.
34212 * sysdeps/i386/bits/byteswap.h: Likewise.
34213 * sysdeps/s390/bits/byteswap.h: Likewise.
34214 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34215 * bits/byteswap-16.h: New file.
34216 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34217 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34218 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34219 * string/Makefile (headers): Add bits/byteswap-16.h.
34220
62470f60
PP
342212012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34222
34223 [BZ #13895]
34224 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34225 extra indirection.
34226 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34227 * nss/tst-nss-static.c: New.
34228
4dad7bab
RM
342292012-04-06 Robert Millan <rmh@gnu.org>
34230
34231 [BZ #6486]
34232 * manual/llio.texi (File Position Primitive): lseek
34233 refers to WHENCE when it really means OFFSET.
34234
e9142a17
AJ
342352012-04-06 Andreas Jaeger <aj@suse.de>
34236
2c040eff
AJ
34237 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34238 strncmp declarations.
34239
e9142a17
AJ
34240 * abilist/libc.abilist: Add __poll and __ppoll.
34241
ff9f1c5f
DM
342422012-04-05 David S. Miller <davem@davemloft.net>
34243
dcd2ae90
DM
34244 * scripts/check-local-headers.sh: Accept a host triplet in the
34245 path matched by the exclude regexp.
34246
993eb054
DM
34247 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34248 definition.
34249 * sysdeps/powerpc/powerpc32/dl-machine.h
34250 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34251 * sysdeps/s390/s390-32/dl-machine.h
34252 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34253 * sysdeps/sparc/sparc32/dl-machine.h
34254 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34255 * sysdeps/sparc/sparc64/dl-machine.h
34256 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34257
ff9f1c5f
DM
34258 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34259 lazy binding.
48e2e132 34260 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
34261 undefined symbol errors.
34262
48e2e132 34263 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
34264 DT_NEEDED entries.
34265
e80d6f94
MM
342662012-04-05 Michael Matz <matz@suse.de>
34267
34268 [BZ #13592]
34269 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34270
349fa79f
AJ
342712012-04-05 Andreas Jaeger <aj@suse.de>
34272
34273 [BZ #13908]
34274 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34275 comment.
34276
f402708f
KK
342772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34278
34279 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34280 which ROUND is no valid rounding mode.
34281
2ecccfc9
KK
342822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34283
34284 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34285 read again.
34286 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34287
8a53f50f
KK
342882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34289
34290 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34291 an exception using FPU order intentionally.
34292
342932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34294
34295 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34296 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34297 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34298 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34299
d653abb7
SJ
343002012-04-05 Simon Josefsson <simon@josefsson.org>
34301
34302 [BZ #12340]
34303 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34304 EINVAL when BUFLEN is too smal.
34305
c3b1bf7d
TS
343062012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34307
34308 [BZ #13553]
34309 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34310 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34311
b1aa60f3
AJ
343122012-04-03 Andreas Jaeger <aj@suse.de>
34313
c3b1bf7d 34314 [BZ #13938]
67f60a26
AJ
34315 * manual/setjmp.texi (System V contexts): Fix sentence.
34316
b1aa60f3
AJ
34317 [BZ #13926]
34318 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34319 New macro for this case.
34320 [!__GNUC__] (__bswap_64): New inline function for this case.
34321 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34322 * bits/byteswap.h: Likewise.
34323 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34324 ull, guard with __GLIBC_HAVE_LONG_LONG.
34325
34326 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34327 __GLIBC_HAVE_LONG_LONG.
34328
34329 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34330 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34331
39c59c35
TMQMF
343322012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34333
34334 [BZ #13691]
34335 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34336 inptr and inend, rather than using last_ch.
34337
135ffda8
DM
343382012-04-02 David S. Miller <davem@davemloft.net>
34339
34340 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34341 * stdio-common/printf-parse.h (read_int): Change return type to
34342 'int', return -1 on INT_MAX overflow.
34343 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34344 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34345 overflows INT_MAX. Check for overflow of in-format-string precision
34346 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34347 SIZE_MAX not INT_MAX for integer overflow test.
34348 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34349 skip the construct in the format string but do not record anything.
34350 * stdio-common/bug22.c: Adjust to test both width/prevision
34351 INT_MAX overflow as well as total length INT_MAX overflow. Check
34352 explicitly for proper errno values.
34353
228c019e
TS
343542012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34355
302cadd3
TS
34356 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34357 CHAR_MAX.
34358 * string/test-strcmp.c [! WIDE]: Likewise.
34359 * time/tst-mktime2.c: Likewise for INT_MAX.
34360 * string/test-string.h: #include <sys/param.h> for MIN.
34361
228c019e
TS
34362 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34363 * sysdeps/i386/init-first.c (init): Likewise.
34364 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34365 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34366 * sysdeps/sh/init-first.c (init): Likewise.
34367
cfa633f5
UD
343682012-04-01 Ulrich Drepper <drepper@gmail.com>
34369
34370 * po/ru.po: Update from translation team.
d1635ef8 34371 * po/vi.po: Likewise.
cfa633f5 34372
6cd0a5ea
SP
343732012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34374
34375 * resolv/nss_dns/dns-host.c: Merge copyright years.
34376
4b43400f
LD
343772012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34378
34379 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34380 Optimize memcpy with prefetch if
34381 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34382 src, dst pointers have unequal 16 byte alignments.
34383
48c41d04
SP
343842012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34385
34386 [BZ #13928]
34387 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34388 from a CNAME entry and return the minimum ttl for the query.
34389 (gaih_getanswer_slice): Likewise.
34390
b8dc394d
JL
343912012-03-30 Jeff Law <law@redhat.com>
34392
34393 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34394 due to long keys.
34395 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34396 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34397
2f5a5ed0
JL
34398 * resolv/nss_dns/dns-host.c: Update copyright year.
34399
1d39e359
UD
344002012-03-30 Ulrich Drepper <drepper@gmail.com>
34401
c030f70c 34402 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 34403 requests to save a system call. Fix check that all bytes are sent.
c030f70c 34404
1d39e359
UD
34405 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34406 comments for sendmmsg.
34407
344082012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
34409
34410 [BZ #13691]
34411 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34412 with only 1 character between 0x0041 and 0x01b0.
34413 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34414 * wcsmbs/tst-mbsnrtowcs.c: New file.
34415
20fde227
DM
344162012-03-29 David S. Miller <davem@davemloft.net>
34417
34418 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34419 small copies by hand.
34420
984a4237
JL
344212012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34422
34423 [BZ #13761]
57f41c40
AS
34424 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34425 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34426 group memberships.
984a4237 34427
18c9d62b
DM
344282012-03-28 David S. Miller <davem@davemloft.net>
34429
88d85d4f
DM
34430 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34431 that branches into memcpy.
34432 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34433 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34434 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34435 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34437 bits.
34438 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34439 implementation too.
34440 * sysdeps/sparc/mempcpy.S: New file.
34441
e5aa83e1
DM
34442 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34443 the IFUNC routine in the libc case.
34444 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34445
88570753
DM
34446 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34447 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34448 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34449 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34450 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34451 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34452 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34453 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34454
249d7567
DM
34455 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34456 loop to 256 bytes instead of 64 bytes and fix test signedness.
34457
18c9d62b
DM
34458 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34459 * sysdeps/sparc/sparc32/Makefile: rather than here...
34460 * sysdeps/sparc/sparc64/Makefile: and here.
34461
05f3d1f6
UD
344622012-03-28 Ulrich Drepper <drepper@gmail.com>
34463
34464 * malloc/mallocbug.c: Avoid warnings about unused variables.
34465
86ae07a8
JL
344662012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34467
34468 [BZ #13760]
34469 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34470 in the right place. Discard and retry query if response is
34471 larger than input buffer size.
34472
41bf21a1
JM
344732012-03-28 Joseph Myers <joseph@codesourcery.com>
34474
d6270972
JM
34475 [BZ #369]
34476 [BZ #2678]
34477 [BZ #3866]
34478 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34479 x for large integer exponent.
34480 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34481 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34482 sign of result as needed afterwards.
34483 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34484 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34485 result for underflowing pow the same as for overflow.
34486 (__kernel_standard_l): Handle powl overflow and underflow here
34487 rather than calling __kernel_standard.
34488 * math/libm-test.inc (pow_test): Add more tests.
34489
414fca03 34490 [BZ #3868]
41bf21a1
JM
34491 [BZ #13879]
34492 [BZ #13910]
34493 [BZ #13911]
34494 [BZ #13912]
34495 [BZ #13913]
34496 [BZ #13915]
34497 [BZ #13916]
34498 [BZ #13917]
34499 [BZ #13918]
34500 [BZ #13919]
34501 [BZ #13920]
34502 [BZ #13921]
34503 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34504 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34505 (__kernel_standard_l): New function.
34506 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34507 __kernel_standard.
34508 * math/w_acosl.c (__acosl): Likewise.
34509 * math/w_asinl.c (__asinl): Likewise.
34510 * math/w_atan2l.c (__atan2l): Likewise.
34511 * math/w_atanhl.c (__atanhl): Likewise.
34512 * math/w_coshl.c (__coshl): Likewise.
34513 * math/w_exp10l.c (__exp10l): Likewise.
34514 * math/w_exp2l.c (__exp2l): Likewise.
34515 * math/w_fmodl.c (__fmodl): Likewise.
34516 * math/w_hypotl.c (__hypotl): Likewise.
34517 * math/w_j0l.c (__j0l, __y0l): Likewise.
34518 * math/w_j1l.c (__j1l, __y1l): Likewise.
34519 * math/w_jnl.c (__jnl, __ynl): Likewise.
34520 * math/w_lgammal.c (__lgammal): Likewise.
34521 * math/w_log10l.c (__log10l): Likewise.
34522 * math/w_log2l.c (__log2l): Likewise.
34523 * math/w_logl.c (__logl): Likewise.
34524 * math/w_powl.c (__powl): Likewise.
34525 * math/w_remainderl.c (__remainderl): Likewise.
34526 * math/w_scalbl.c (sysv_scalbl): Likewise.
34527 * math/w_sinhl.c (__sinhl): Likewise.
34528 * math/w_sqrtl.c (__sqrtl): Likewise.
34529 * math/w_tgammal.c (__tgammal): Likewise.
34530 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34531 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34532 * math/libm-test.inc (acos_test): Add more tests.
34533 (acosh_test): Likewise.
34534 (asin_test): Likewise.
34535 (atanh_test): Likewise.
34536 (exp_test): Likewise.
34537 (exp10_test): Likewise.
34538 (exp2_test): Likewise.
34539 (expm1_test): Likewise.
34540 (lgamma_test): Likewise.
34541 (log_test): Likewise.
34542 (log10_test): Likewise.
34543 (log1p_test): Likewise.
34544 (log2_test): Likewise.
34545 (pow_test): Do not allow some spurious overflow exceptions.
34546 (sqrt_test): Add more tests.
34547 (tgamma_test): Likewise.
34548 (y0_test): Likewise.
34549 (y1_test): Likewise.
34550 (yn_test): Likewise.
34551
dd62fda6
AB
345522012-03-27 Anton Blanchard <anton@samba.org>
34553
34554 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34555 MAP_HUGETLB.
34556 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34557 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34558 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34559
1e3cdfda
AJ
345602012-03-27 David S. Miller <davem@davemloft.net>
34561
b855ab85
DM
34562 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34563
1e3cdfda
AJ
34564 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34565 have-as-vis3 check.
34566
345672012-03-27 Andreas Jaeger <aj@suse.de>
34568
34569 * sysdeps/x86_64/elf/configure.in: Moved to ...
34570 * sysdeps/x86_64/configure.in: ... here.
34571 * sysdeps/x86_64/elf/start.S: Moved to ...
34572 * sysdeps/x86_64/start.S: ... here.
34573 * sysdeps/x86_64/elf/configure: Delete.
34574
34575 * sysdeps/x86_64/configure.in: Merge contents from
34576 sysdeps/i386/configure.in (without i686 check).
34577
34578 * sysdeps/i386/elf/Versions: Merge into ...
34579 * sysdeps/i386/Versions: ... this.
34580 * sysdeps/i386/elf/Versions: Delete file.
34581 * sysdeps/i386/elf/start.S: Moved to ...
34582 * sysdeps/i386/start.S: ...here.
34583 * sysdeps/i386/elf/configure.in: Merge into...
34584 * sysdeps/i386/configure.in: ...here.
34585 * sysdeps/i386/elf/configure.in: Delete file.
34586 * sysdeps/i386/elf/configure: Delete file.
34587
34588 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34589 * debug/backtracesyms.c: ... here.
34590 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34591 * debug/backtracesymsfd.c: ... here.
34592 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34593 * sysdeps/generic/ifunc-sel.h: ... here.
34594
34595 * sysdeps/unix/i386/start.c: Delete file.
34596 * sysdeps/unix/sparc/start.c: Delete file.
34597 * sysdeps/unix/start.c: Delete file.
34598
34599 * sysdeps/sh/elf/configure.in: Moved to ...
34600 * sysdeps/sh/configure.in: ... here.
34601 * sysdeps/sh/elf/start.S: Moved to ...
34602 * sysdeps/sh/start.S: ... here.
34603 * sysdeps/sh/elf/configure: Delete file.
34604
34605 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34606 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34607 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34608 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34609 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34610 * sysdeps/powerpc/powerpc64/start.S: here.
34611 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34612 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34613 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34614 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34615 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34616
34617 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34618 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34619 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34620 * sysdeps/powerpc/powerpc32/start.S: ... here.
34621 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34622 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34623 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34624
34625 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34626 * sysdeps/powerpc/ifunc-sel.h: ... here.
34627 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34628 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34629
34630 * sysdeps/sparc/elf/configure.in: Moved to ...
34631 * sysdeps/sparc/configure.in: ... here.
34632 * sysdeps/sparc/elf/configure: Delete file.
34633 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34634 * sysdeps/sparc/sparc32/start.S: ... here.
34635 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34636 * sysdeps/sparc/sparc64/start.S: ... here.
34637 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34638 * sysdeps/sparc/sparc32/Makefile: ... this.
34639 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34640 * sysdeps/sparc/sparc64/Makefile: ... this.
34641
34642 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34643 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34644 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34645 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34646 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34647 * sysdeps/s390/s390-32/setjmp.S: ... here.
34648 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34649 * sysdeps/s390/s390-32/configure.in: ... here.
34650 * sysdeps/s390/s390-32/elf/configure: Delete file.
34651 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34652 * sysdeps/s390/s390-32/start.S: ... here.
34653
34654 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34655 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34656 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34657 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34658 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34659 * sysdeps/s390/s390-64/setjmp.S: ... here.
34660 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34661 * sysdeps/s390/s390-64/configure.in: ... here
34662 * sysdeps/s390/s390-64/elf/configure: Delete file.
34663 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34664 * sysdeps/s390/s390-64/start.S: ... here.
34665 * sysdeps/s390/s390-64/elf/configure: Delete.
34666
34667 * configure.in: Remove support for elf directories in sysdeps.
34668
34669 * configure: Regenerated.
34670 * sysdeps/i386/configure: Regenerated.
34671 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34672 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34673 * sysdeps/s390/s390-32/configure: Regenerated.
34674 * sysdeps/s390/s390-64/configure: Regenerated.
34675 * sysdeps/sh/configure: Regenerated.
34676 * sysdeps/sparc/configure: Regenerated.
34677 * sysdeps/x86_64/configure: Regenerated.
34678
a3f61311
AS
346792012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34680
c876e002
AS
34681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34682
a3f61311
AS
34683 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34684 denormal result into account.
34685
ac4c54f0
RM
346862012-03-25 Roland McGrath <roland@hack.frob.com>
34687
34688 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34689 Reported by Allan McRae <allan@archlinux.org>.
34690
6a9b9c02
JL
346912012-03-23 Jeff Law <law@redhat.com>
34692
34693 * nss/getnssent.c (__nss_getent): Fix typo.
34694
4c42a0c1
DM
346952012-03-23 David S. Miller <davem@davemloft.net>
34696
34697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34698
1532c7ac
L
346992012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34700
34701 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34702 to pad to uint64_t for each field.
34703 (dl_tls_index): Replace unsigned long with uint64_t.
34704
3ff42526
PP
347052012-03-23 Daniel Jacobowitz <dmj@google.com>
34706 Paul Pluzhnikov <ppluzhnikov@google.com>
34707
34708 [BZ #6528]
34709 * grp/Makefile (otherlibs): Don't set it.
34710 * inet/Makefile (otherlibs): Likewise.
34711 * login/Makefile (otherlibs): Likewise.
34712 * nscd/Makefile (otherlibs): Likewise.
34713 * posix/Makefile (otherlibs): Likewise.
34714 * pwd/Makefile (otherlibs): Likewise.
34715 * rt/Makefile (otherlibs): Likewise.
34716 * sunrpc/Makefile (otherlibs): Likewise.
34717 * nss/Makefile (otherlibs): Likewise.
34718 Add libnss_files to routines and static-only-routines.
34719 ($(objpfx)getent): Remove rule.
34720 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34721 static-only-routines.
34722
7c69cd14
JM
347232012-03-22 Joseph Myers <joseph@codesourcery.com>
34724
34725 [BZ #13892]
34726 * math/s_cexp.c: Include <float.h>.
34727 (__cexp): Handle exp result overflowing not necessarily
34728 overflowing both real and imaginary parts of result.
34729 * math/s_cexpf.c: Likewise.
34730 * math/s_cexpl.c: Likewise.
34731 * math/libm-test.inc (cexp_test): Add more tests.
34732 * sysdeps/i386/fpu/libm-test-ulps: Update.
34733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34734
81b035fe
L
347352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34736
34737 * include/link.h (ELFW): New macro.
34738 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34739 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34740
1da7940c
L
347412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34742
34743 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34744 with uint64_t.
34745
b749dbb9
L
347462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34747
34748 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34749 declaration.
34750 (struct La_x32_retval): Likewise.
34751
2ff87f3f
L
347522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34753
34754 * sysdeps/x86_64/preconfigure.in: New file.
34755 * sysdeps/x86_64/preconfigure: New generated file.
34756
c0df8e69
JM
347572012-03-22 Joseph Myers <joseph@codesourcery.com>
34758
48e44791
JM
34759 [BZ #13824]
34760 * math/e_exp2l.c: Include <float.h>.
34761 (__ieee754_exp2l): Handle overflow and underflow cases
34762 separately. Only pass fractional part of argument to
34763 __ieee754_expl.
34764 * math/libm-test.inc (exp2_test): Add more tests.
34765
c0df8e69
JM
34766 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34767 negating x to take absolute value.
34768 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34769 Likewise.
34770 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34771 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34772 Likewise.
34773 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34774 computing low part if x was negated.
34775 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34776
c8e43ba7
L
347772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34778
34779 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34780 la_x32_gnu_pltexit.
34781 (pltexit): Cast int_retval to ptrdiff_t.
34782 * elf/tst-auditmod3b.c: Likewise.
34783 * elf/tst-auditmod4b.c: Likewise.
34784 * elf/tst-auditmod5b.c: Likewise.
34785 * elf/tst-auditmod6b.c: Likewise.
34786 * elf/tst-auditmod6c.c: Likewise.
34787 * elf/tst-auditmod7b.c: Likewise.
34788
34789 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34790 and x32_gnu_pltexit.
34791
34792 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34793 __ELF_NATIVE_CLASS.
34794 (La_x32_regs): New macro.
34795 (La_x32_retval): Likewise.
34796 (la_x32_gnu_pltenter): New function prototype.
34797 (la_x32_gnu_pltexit): Likewise.
34798
7998fa78
AS
347992012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34800
dcb33988
AS
34801 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34802 exponent.
34803
233fc563
AS
34804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34805
7998fa78
AS
34806 * configure.in (libc_cv_cc_nofma): Check for option to disable
34807 generation of FMA instructions.
34808 * configure: Regenerate.
34809 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34810 * sysdeps/ieee754/dbl-64/Makefile: New file.
34811 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34812 Remove brandred-fma4.
34813 (CFLAGS-brandred-fma4.c): Remove.
34814 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34815 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34816 define.
34817 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34818 define.
34819
8e95c99a
L
348202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34821
34822 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34823 LLONG_MAX != LONG_MAX.
34824 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34825 (_fitoa_word): Likewise.
34826 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34827 LLONG_MAX != LONG_MAX.
34828 * stdio-common/_itowa.h: Include <_itoa.h>.
34829 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34830 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34831 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34832 only if not defined.
34833 (_ITOA_WORD_TYPE): Likewise.
34834 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34835 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34836
6f4db457
DM
348372012-03-21 David S. Miller <davem@davemloft.net>
34838
34839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34840
7785fe5a
L
348412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34842
34843 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34844 of x86_64 when setting libc_cv_slibdir, libdir and
34845 libc_cv_localedir.
34846 * sysdeps/unix/sysv/linux/configure: Regenerated.
34847
4535cd55
JM
348482012-03-21 Joseph Myers <joseph@codesourcery.com>
34849
34850 * manual/lang.texi (Old Varargs): Remove section.
34851 (How Variadic): Update menu.
34852 (va_start): Do not mention varargs.h.
34853
17228132
TS
348542012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34855 Joseph Myers <joseph@codesourcery.com>
34856
34857 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34858 link test.
34859 * configure: Regenerated.
34860
8149f976
TS
348612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34862
05f3d1f6
UD
34863 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34864 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34865 conformtest.pl
8149f976 34866
1a4ac776
JM
348672012-03-21 Joseph Myers <joseph@codesourcery.com>
34868
be22ce65
JM
34869 * NOTES: Remove.
34870 * Makefile (files-for-dist): Remove NOTES.
34871 (NOTES): Remove rule.
34872 * README: Don't refer to NOTES.
34873 * manual/creature.texi: Don't include macros.texi.
34874 * manual/intro.texi (creature.texi): Remove comment referring to
34875 NOTES.
34876
40b601fb
JM
34877 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34878 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34879 * configure: Regenerated.
34880 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34881 LIBC_TRY_CC_OPTION.
34882 (libc_cv_as_i686): Likewise.
34883 (libc_cv_cc_avx): Likewise.
34884 (libc_cv_cc_sse2avx): Likewise.
34885 (libc_cv_cc_fma4): Likewise.
34886 (libc_cv_cc_novzeroupper): Likewise.
34887 * sysdeps/i386/configure: Regenerated.
34888
1a4ac776
JM
34889 [BZ #13883]
34890 * sysdeps/i386/fpu/s_cexp.S: Remove.
34891 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34892 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34893 * math/libm-test.inc (cexp_test): Add more tests.
34894 * sysdeps/i386/fpu/libm-test-ulps: Update.
34895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34896
a458e7fe
AM
348972012-03-21 Allan McRae <allan@archlinux.org>
34898
34899 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34900
0cb7efc5
JM
349012012-03-21 Joseph Myers <joseph@codesourcery.com>
34902
34903 [BZ #13871]
34904 * math/w_exp2.c: Do not include <float.h>.
34905 (o_threshold, u_threshold): Remove.
34906 (__exp2): Calculate result before checking finiteness and calling
34907 __kernel_standard.
34908 * math/w_exp2f.c: Likewise.
34909 * math/w_exp2l.c: Likewise.
34910 * math/libm-test.inc (exp2_test): Require overflow exception for
34911 1e6 input.
2460d3aa
JM
34912
34913 [BZ #3866]
34914 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34915 range of signed 64-bit integers before using fistpll. Remove
34916 checks for whether integers fit in mantissa bits.
34917 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34918 the range of signed 32-bit integers before using fistpl. Remove
34919 checks for whether integers fit in mantissa bits.
34920 * sysdeps/i386/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 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34925 divide-by-zero is raised for zero to large negative powers.
34926 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34927 (__ieee754_powl): Test for y outside the range of signed 64-bit
34928 integers before using fistpll. Reduce 64-bit values to 63-bit
34929 ones as needed.
34930 * math/libm-test.inc (pow_test): Add more tests.
34931
eb96ffb0
L
349322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34933
34934 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34935 <stdio-common/_itoa.h>.
34936 * debug/segfault.c: Likewise.
34937 * elf/dl-cache.c: Likewise.
34938 * elf/dl-minimal.c: Likewise.
34939 * elf/dl-misc.c: Likewise.
34940 * elf/dl-sysdep.c: Likewise.
34941 * elf/dl-version.c: Likewise.
34942 * elf/rtld.c: Likewise.
34943 * hurd/hurdsock.c: Likewise.
34944 * hurd/lookup-retry.c: Likewise.
34945 * malloc/malloc.c: Likewise.
34946 * malloc/mtrace.c: Likewise.
34947 * nscd/nscd_getgr_r.c: Likewise.
34948 * nscd/nscd_getpw_r.c: Likewise.
34949 * nscd/nscd_getserv_r.c: Likewise.
34950 * posix/getopt_init.c: Likewise.
34951 * posix/wordexp.c: Likewise.
34952 * stdio-common/_itoa.c: Likewise.
34953 * stdio-common/printf_fphex.c: Likewise.
34954 * stdio-common/vfprintf.c: Likewise.
34955 * string/_strerror.c: Likewise.
34956 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34957 * sysdeps/i386/i686/hp-timing.h: Likewise.
34958 * sysdeps/mach/_strerror.c: Likewise.
34959 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34960 * sysdeps/mach/hurd/sethostid.c: Likewise.
34961 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34962 * sysdeps/mach/xpg-strerror.c: Likewise.
34963 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34964 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34965 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34966 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34967 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34968 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34969 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34970 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34971 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34972 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34973 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34974 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34975 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34976 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34977 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34978 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34979 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34980 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34981 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34982 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34983 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34984
34985 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34986
34987 * stdio-common/_itoa.h: Moved to ...
34988 * sysdeps/generic/_itoa.h: Here.
34989
34990 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34991
34992 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34993 instead of "_itoa.h" and "_itowa.h".
34994 * stdio-common/vfprintf.: Likewise.
34995
d1af992d
L
349962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34997
34998 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34999 <bits/wordsize.h>.
35000 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35001 (__signbit): Likwise.
35002 (llrintf): Likwise.
35003 (llrint): Likwise.
35004
114883e0
L
350052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35006
35007 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35008 __WORDSIZE != 64.
35009
c135cc1b
JM
350102012-03-20 Joseph Myers <joseph@codesourcery.com>
35011
35012 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35013 OVERFLOW_EXCEPTION_OK.
35014 * math/libm-test.inc ("Philosophy"): Update comment about
35015 exception testing.
35016 (OVERFLOW_EXCEPTION): Define.
35017 (OVERFLOW_EXCEPTION_OK): Likewise.
35018 (INVALID_EXCEPTION_OK): Renumber.
35019 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35020 (IGNORE_ZERO_INF_SIGN): Likewise.
35021 (test_exceptions): Handle FE_OVERFLOW.
35022 (exp10_test): Expect overflow exceptions.
35023 (exp2_test): Likewise.
35024 (expm1_test): Likewise.
35025 (nextafter_test): Likewise.
35026 (pow_test): Likewise.
35027 (scalbn_test): Likewise.
35028 (scalbln_test): Likewise.
35029
95443d88
L
350302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35031
35032 * sysdeps/x86_64/bits/atomic.h
35033 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35034 64bit integer.
35035 (atomic_exchange_acq): Likewise.
35036 (__arch_exchange_and_add_body): Likewise.
35037 (__arch_add_body): Likewise.
35038 (atomic_add_negative): Likewise.
35039 (atomic_add_zero): Likewise.
35040
490df6c4
L
350412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35042
c2722551 35043 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
35044 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35045
5e52b189
L
350462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35047
35048 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35049 Check __x86_64__ instead of __WORDSIZE.
35050
a9879d4c
L
350512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35052
35053 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35054
5df98260
DM
350552012-03-19 David S. Miller <davem@davemloft.net>
35056
e1497744
DM
35057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35058
5df98260
DM
35059 * sysdeps/sparc/fpu/fenv_private.h: New file.
35060 * sysdeps/sparc/fpu/math_private.h: Use it.
35061 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35062 Remove.
57f41c40 35063 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
35064 (libc_feholdexcept_setroundl): Remove.
35065 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35066 Remove.
35067 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35068 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35069
b4c35121
L
350702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35071
35072 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35073 int64_t instead of long int.
35074 (INSERT_WORDS64): Likwise.
35075
56965fd7
L
350762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35077
35078 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35079 _Unwind_GetCFA return to _Unwind_Ptr first.
35080
83d1aec8
JM
350812012-03-19 Joseph Myers <joseph@codesourcery.com>
35082
1897ad44
JM
35083 [BZ #13629]
35084 * math/s_clog.c: Include <float.h>.
35085 (__clog): Scale large or subnormal inputs.
35086 * math/s_clogf.c: Likewise.
35087 * math/s_clogl.c: Likewise.
35088 * math/s_clog10.c: Include <float.h>.
35089 (M_LOG10_2): Define.
35090 (__clog10): Scale large or subnormal inputs.
35091 * math/s_clog10f.c: Likewise.
35092 * math/s_clog10l.c: Likewise.
35093 * math/libm-test.inc (clog_test): Add more tests.
35094 (clog10_test): Likewise.
35095 * sysdeps/i386/fpu/libm-test-ulps: Update.
35096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35097
7726d6a9
JM
35098 [BZ #11451]
35099 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35100 x and y.
35101 * math/libm-test.inc (atan2_test): Add another test.
35102
83d1aec8
JM
35103 * Makerules (common-objdir-compile): Remove.
35104 * sysdeps/unix/Makefile (config-generated): Do not add
35105 $(unix-generated) to variable.
35106 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35107 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35108 Remove rule.
35109 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35110 Likewise.
35111 [generic bits/local_lim.h] (before-compile): Do not append to
35112 variable.
35113 [generic bits/local_lim.h] (common-generated): Likewise.
35114 [generic sys/param.h] (before-compile): Do not append to variable.
35115 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35116 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35117 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35118 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35119 include.
35120 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35121 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35122 [generic sys/param.h] ($(addprefix
35123 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35124 [generic sys/param.h] (common-generated): Do not append to
35125 variable.
35126 [generic sys/param.h] (sysdep_headers): Likewise.
35127 [generic bits/errno.h] (before-compile): Do not append to
35128 variable.
35129 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35130 rule.
35131 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35132 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35133 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35134 [generic bits/errno.h] (common-generated): Do not append to
35135 variable.
35136 [generic bits/ioctls.h] (before-compile): Do not append to
35137 variable.
35138 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35139 rule.
35140 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35141 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35142 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35143 rule.
35144 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35145 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35146 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35147 [generic bits/ioctls.h] (common-generated): Do not append to
35148 variable.
35149 [generic sys/syscall.h] (syscall.h): Remove variable.
35150 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35151 rule.
35152 [generic sys/syscall.h] (before-compile): Do not append to
35153 variable.
35154 [generic sys/syscall.h] (common-generated): Likewise.
35155 * sysdeps/unix/errnos-tmpl.c: Remove file.
35156 * sysdeps/unix/errnos.awk: Likewise.
35157 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35158 * sysdeps/unix/ioctls.awk: Likewise.
35159 * sysdeps/unix/mk-local_lim.c: Likewise.
35160 * sysdeps/unix/snarf-ioctls: Likewise.
35161
4851a949
RH
351622012-03-19 Richard Henderson <rth@twiddle.net>
35163
bd37f2ee
RH
35164 * sysdeps/i386/fpu/fenv_private.h: New file.
35165 * sysdeps/i386/fpu/math_private.h: Use it.
35166 (math_opt_barrier, math_force_eval): Remove.
35167 (libc_feholdexcept_setround_53bit): Remove.
35168 (libc_feupdateenv_53bit): Remove.
35169 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35170 (math_opt_barrier, math_force_eval): Remove.
35171 (libc_feholdexcept): Remove.
35172 (libc_feholdexcept_setround): Remove.
35173 (libc_fetestexcept, libc_fesetenv): Remove.
35174 (libc_feupdateenv_test): Remove.
35175 (libc_feupdateenv, libc_feholdsetround): Remove.
35176 (libc_feresetround): Remove.
35177
d0adc922
RH
35178 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35179 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35180
0fe0f1f8
RH
35181 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35182 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35183 (libc_feupdateenv_testl): New.
35184 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35185 (libc_feupdateenv_testf): New.
35186 (libc_feupdateenv): Use libc_feupdateenv_test.
35187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35188 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35189
eb92c487
RH
35190 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35191 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35192 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35193 (libc_feresetround_noex): New.
35194 (libc_feresetround_noexf): New.
35195 (libc_feresetround_noexl): New.
35196 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35197 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35198 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35199 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35200 SET_RESTORE_ROUND.
35201 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35202 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35203 (__cos): Likewise.
35204 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35205 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35206 SET_RESTORE_ROUND_NOEX.
35207 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35208 SET_RESTORE_ROUND_NOEXF.
35209 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35210 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35211 (libc_feholdsetroundf): New.
35212 (libc_feresetround, libc_feresetroundf): New.
35213
7d2e8012
RH
35214 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35215 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35216 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35217
b4dabbb4
RH
35218 * sysdeps/generic/math_private.h: Include <fenv.h>.
35219 (default_libc_feholdexcept): New.
35220 (default_libc_feholdexcept_setround): New.
35221 (default_libc_fesetenv, default_libc_feupdateenv): New.
35222 (libc_feholdexcept): Only define if undefined.
35223 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35224 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35225 (libc_feholdexcept_setroundl): Likewise.
35226 (libc_feholdexcept_setround_53bit): Likewise.
35227 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35228 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35229 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35230 (libc_feupdateenv_53bit): Likewise.
35231 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35232 (libc_feholdexcept): Convert from macro to inline function.
35233 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35234 (libc_fesetenv, libc_feupdateenv): Likewise.
35235
4851a949
RH
35236 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35237 not previously defined.
35238 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35239 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35240 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35241 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35242 * sysdeps/ieee754/flt-32/math_private.h: New file.
35243 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35244 math_private.h below SET_FLOAT_WORD.
35245 (__isnan, __isinf_ns, __finite): Remove.
35246 (__isnanf, __isinf_nsf, __finitef): Remove.
35247
e79d442e
AS
352482012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35249
35250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35251
90b80344
DM
352522012-03-17 David S. Miller <davem@davemloft.net>
35253
35254 [BZ #6471]
35255 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35256 for 2.16.
35257
edc21804
DM
352582012-03-16 David S. Miller <davem@davemloft.net>
35259
77e927af
DM
35260 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35261 warnings.
35262
374976dd
DM
35263 [BZ #6471]
35264 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35265 properly.
35266 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35267 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35268 sysdep_routines when subdir is sysvipc.
35269 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35270 __getshmlba helper.
35271
edc21804
DM
35272 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35273
473c3ef3
L
352742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35275
35276 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35277 [__LP64__].
35278
eb0f39b6
L
352792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35280
35281 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35282 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35283 (__lround): Renamed to ...
35284 (__llround): This. Replace long int with long long int.
35285 Define lround functions as aliases of llround functions.
35286 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35287
6b6cd74b
L
352882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35289
35290 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35291 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35292 adresses to uintptr_t. Replace "long int" and "unsigned long
35293 int" with "greg_t" on va_arg.
35294
f1a77b01
L
352952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35296
35297 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35298 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35299
35300 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35301 Move e_machine check before EI_CLASS check. Handle x32
35302 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35303 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35304 SKIP_EM_IA_64 and include
35305 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35306
35307 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35308 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35309 (add_system_dir): New macro.
35310
35311 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35312 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35313
11b90b9f
JM
353142012-03-16 Joseph Myers <joseph@codesourcery.com>
35315
c36e1d23
JM
35316 [BZ #2551]
35317 [BZ #2552]
35318 [BZ #2553]
35319 [BZ #2554]
35320 [BZ #2562]
35321 [BZ #2563]
35322 [BZ #2565]
35323 [BZ #2566]
35324 [BZ #2576]
35325 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35326 (y0): Likewise.
35327 * math/w_j0f.c (j0f): Likewise.
35328 (y0f): Likewise.
35329 * math/w_j0l.c (__j0l): Likewise.
35330 (__y0l): Likewise.
35331 * math/w_j1.c (j1): Likewise.
35332 (y1): Likewise.
35333 * math/w_j1f.c (j1f): Likewise.
35334 (y1f): Likewise.
35335 * math/w_j1l.c (__j1l): Likewise.
35336 (__y1l): Likewise.
35337 * math/w_jn.c (jn): Likewise.
35338 (yn): Likewise.
35339 * math/w_jnf.c (jnf): Likewise.
35340 (ynf): Likewise.
35341 * math/w_jnl.c (__jnl): Likewise.
35342 (__ynl): Likewise.
35343 * math/libm-test.inc (j0_test): Add more tests.
35344 (j1_test): Likewise.
35345 (jn_test): Likewise. Add trailing semicolon to existing test.
35346 (y0_test): Likewise.
35347 (y1_test): Likewise.
35348 * sysdeps/i386/fpu/libm-test-ulps: Update.
35349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35350
11b90b9f
JM
35351 [BZ #13851]
35352 [BZ #13854]
35353 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35354 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35355 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35356 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35357 (__tanl): Set errno for infinite argument.
35358 * sysdeps/i386/fpu/mptan.c: Remove.
35359 * sysdeps/i386/fpu/s_tan.S: Likewise.
35360 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35361 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35362 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35363 * math/libm-test.inc (tan_test): Add more tests and enable more
35364 tests for double and long double.
35365 * sysdeps/i386/fpu/libm-test-ulps: Update.
35366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35367
6a1bd2a1
JK
353682012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35369
35370 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35371 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35372
10a803e0
RM
353732012-03-16 Roland McGrath <roland@hack.frob.com>
35374
35375 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35376 * configure.in: Use it for both main tree and add-ons.
35377 * configure: Regenerated.
35378
f196c7f7
L
353792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35380
35381 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35382
8848d99d
JM
353832012-03-16 Joseph Myers <joseph@codesourcery.com>
35384
96cbe7f4
JM
35385 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35386 in comment.
35387
8848d99d
JM
35388 [BZ #13851]
35389 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35390 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35391 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35392 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35393 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35394 infinite argument.
35395 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35396 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35397 != 0 for prec == 2.
35398 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35399 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35400 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35401 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35402 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35403 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35404 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35405 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35406 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35407 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35408 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35409 * math/libm-test.inc (cos_test): Add more tests and enable more
35410 tests for long double.
35411 (sin_test): Likewise.
35412 (sincos_test): Likewise.
35413 * sysdeps/i386/fpu/libm-test-ulps: Update.
35414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35415
dd7f4703
DM
354162012-03-16 David S. Miller <davem@davemloft.net>
35417
35418 * sysdeps/sparc/fpu/math_private.h: New file.
35419
006f1daa
DM
354202012-03-15 David S. Miller <davem@davemloft.net>
35421
c0c83bc8
DM
35422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35423 file.
e6a62e18 35424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
35425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35426 file.
e6a62e18
DM
35427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35432 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35433 sysdep routines.
35434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35435
88cb87d9
DM
35436 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35437 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35438
006f1daa 35439 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
35440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35441 sparc-ifunc.h
006f1daa 35442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
35443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35444 Likewise.
35445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35446 Likewise.
006f1daa
DM
35447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
35450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35451 Likewise.
006f1daa
DM
35452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
35456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35457 Likewise.
35458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35459 Likewise.
006f1daa
DM
35460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35465 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35466 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35467 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35468 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35469 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35470 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35474 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35475 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35478 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35479 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35480 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35481 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35482 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35483 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35484
11e0098e
AS
354852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35486
35487 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35488 scaling.
35489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35490
e85b09d0
AJ
354912012-03-15 Andreas Jaeger <aj@suse.de>
35492
35493 [BZ #13852]
35494 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35495 ieee754/flt-32 implementation for sin, cos and sincos.
35496 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35497 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35498 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35499 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35500 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35501 ieee754/flt-32 implementation for tan.
35502
35503 * math/libm-test.inc (cos_test): Enable some large input tests for
35504 float as well
35505 (sin_test): Likewise.
35506 (sincos_test): Likewise.
35507 (tan_test): Add tests for large input.
35508
35509 * sysdeps/i386/fpu/libm-test-ulps: Update.
35510
81c64153
AJ
355112012-03-15 Andreas Jaeger <aj@suse.de>
35512
35513 [BZ #13658]
35514 * math/libm-test.inc (cos_test): Add more test cases.
35515 (sin_test): Likewise.
35516 (sincos_test): Likewise.
35517
7bbfa5c6
AJ
355182012-03-15 Andreas Jaeger <aj@suse.de>
35519
35520 [BZ #13837]
35521 * math/libm-test.inc (cos_test): Add a test case for large input
35522 value.
35523 (sin_test): Likewise.
35524 (sincos_test): Likewise.
35525
57f41c40
AS
355262012-03-15 Andreas Jaeger <aj@suse.de>
35527 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
35528
35529 [BZ #13658]
0671f479 35530 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
35531 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35532 * sysdeps/i386/fpu/branred.c: Likewise.
35533 * sysdeps/i386/fpu/dosincos.c: Likewise.
35534 * sysdeps/i386/fpu/mpa.c: Likewise.
35535 * sysdeps/i386/fpu/s_cos.S: Likewise.
35536 * sysdeps/i386/fpu/s_sin.S: Likewise.
35537 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35538 * sysdeps/i386/fpu/sincos32.c: Likewise.
35539
35540 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35541 Define.
35542 (libc_feupdateenv_53bit): Define.
35543 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35544 Define.
35545 (libc_feupdateenv_53bit): Define.
35546
35547 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35548 53 bit (without extend i386 double precision).
35549
35550 * math/libm-test.inc (sincos_test): Add tests for large input.
35551 (sin): Likewise.
35552 (cos): Likewise.
35553
35554 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35555
9cad04ea
AS
355562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35557
35558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35559
f7062b9a
DM
355602012-03-15 David S. Miller <davem@davemloft.net>
35561
35562 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35563 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35564 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35565 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
35577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35578 file.
f7062b9a 35579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
35580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35581 file.
f7062b9a 35582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
35583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35584 file.
f7062b9a 35585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
35586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35587 file.
f7062b9a
DM
35588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35590 fmin/fmax sysdep routines.
35591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35592
7bd951ff
DM
355932012-03-14 David S. Miller <davem@davemloft.net>
35594
559398ab
DM
35595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35597 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35599 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35600 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35601 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35602 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35605 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35608 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35609 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35610 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35611 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35612 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35613 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35614 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35615 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35616 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35617 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35618 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35619 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35620 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35621 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35623 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35624 routines.
35625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35626 file.
559398ab 35627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
35628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35629 file.
559398ab 35630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
35631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35632 file.
559398ab 35633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
35634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35635 file.
559398ab 35636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
35637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35638 file.
559398ab 35639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
35640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35641 file.
35642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35643 file.
35644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35645 file.
35646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35647 file.
35648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35649 New file.
35650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35651 file.
35652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35653 file.
559398ab 35654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
35655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35656 file.
559398ab 35657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35659 file.
559398ab 35660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
35661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35662 file.
559398ab 35663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
35664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35665 VIS3 routines.
559398ab
DM
35666
35667 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35668 New file.
35669
5a1c1e32
DM
35670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35671
eae47a36
DM
35672 * sysdeps/sparc/configure.in: New file.
35673 * sysdeps/sparc/configure: Generate.
35674 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35675 * configure: Regenerate.
35676 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35677 * config.make.in (have-as-vis3): New.
35678 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35679 available use -Av9d instead of -Av9a.
35680 * sysdeps/sparc/sparc64/Makefile: Likewise.
35681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
35682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35683 New file.
35684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35685 file.
35686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35687 New file.
35688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35689 file.
eae47a36
DM
35690 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35691 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35692 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35693 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35694 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35695
c0c83bc8
DM
35696 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35697 fzeros/fnegs to load 0x80000000 into a float register instead of
35698 using the stack.
7bd951ff
DM
35699 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35700
bd951ccb
JM
357012012-03-14 Joseph Myers <joseph@codesourcery.com>
35702
35703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35704 bits/syscall.h.
35705 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35706 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35707 ($(inst_includedir)/bits/syscall.h): Remove rule.
35708 ($(objpfx)bits/syscall.d): Include instead of
35709 $(objpfx)syscall-list.d.
35710 (generated): Change syscall-list.h and syscall-list.d to
35711 bits/syscall.h and bits/syscall.d.
35712
bb4e6db2
RM
357132012-03-14 Roland McGrath <roland@hack.frob.com>
35714
35715 [BZ #13846]
35716 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35717
aa4a2ae1
JM
357182012-03-14 Joseph Myers <joseph@codesourcery.com>
35719
e456826d
JM
35720 [BZ #13841]
35721 * math/s_csqrt.c: Include <float.h>.
35722 (__csqrt): Scale large or subnormal inputs.
35723 * math/s_csqrtf.c: Likewise.
35724 * math/s_csqrtl.c: Likewise.
35725 * math/libm-test.inc (csqrt_test): Add more tests.
35726 * sysdeps/i386/fpu/libm-test-ulps: Update.
35727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35728
aa4a2ae1
JM
35729 [BZ #13840]
35730 * math/libm-test.inc (hypot_test): Add more tests.
35731
7c10fd35
DM
357322012-03-13 David S. Miller <davem@davemloft.net>
35733
35734 [BZ #13840]
35735 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35736 double-precision for the calculation instead of scaling.
35737
f453b98b
JM
357382012-03-13 Joseph Myers <joseph@codesourcery.com>
35739
35740 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35741 manipulate bits before adding and subtracting TWO52[sx].
35742 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35743 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35744 Likewise.
35745 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35746
09a3453f
DM
357472012-03-13 David S. Miller <davem@davemloft.net>
35748
8e59da90
DM
35749 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35750 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35751 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35752 rtld-global-offsets.h
35753 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35754
2a8ab7f2
DM
35755 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35756 large parameters.
35757
10f62770
DM
35758 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35759
5f0bdb18
DM
35760 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35761 'err' in the ifdef scope in which it is actually used.
35762
09a3453f
DM
35763 * nss/nss_db/db-init.c: Include string.h
35764
b4b2eb5e
DM
357652012-03-12 David S. Miller <davem@davemloft.net>
35766
98bb2f1c
DM
35767 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35768 masking out of the most significant byte of random value used.
35769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35770 Fix coding style in previous change.
35771
b4b2eb5e
DM
35772 * sysdeps/unix/sysv/linux/kernel-features.h
35773 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35774 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35775 expression.
35776 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35777 later.
35778
6e226b09
DM
357792012-03-11 David S. Miller <davem@davemloft.net>
35780
a1bcbd40
DM
35781 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35782 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35783 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35784 for 'resultvar' otherwise things get truncated on 64-bit.
35785
cb9d6174
DM
35786 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35787 Fix masking out of the most significant byte of random value used.
35788
6e226b09
DM
35789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35790
058c132d
AS
357912012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35792
35793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35794
2d2cd515
DM
357952012-03-09 David S. Miller <davem@davemloft.net>
35796
35797 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35798 variables with appropriate CPP guards.
57f41c40
AS
35799 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35800 from the frame pointer, not the stack pointer. Correct layout
35801 comments. Fix test on resulting framesize and the management of
35802 the outregs buffer for pltexit. Preserve floating point return
35803 values across _dl_call_pltexit call.
2d2cd515
DM
35804 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35805 framesize and the management of the outregs buffer for pltexit.
35806 Preserve floating point return values across _dl_call_pltexit
35807 call.
57f41c40
AS
35808 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35809 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35810 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
35811 (print_exit): Fix format string for return register value.
35812
9a07f9d0
JM
358132012-03-10 Joseph Myers <joseph@codesourcery.com>
35814
35815 * sunrpc/Makefile (others): Add rpcgen.
35816 ($(objpfx)rpcgen): Remove special build rule and dependency on
35817 libc.
35818 * sunrpc/rpcgen.c: New file.
35819
547b5e30
PE
358202012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35821
c524201a
PE
35822 [BZ #13673]
35823 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35824 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35825 * sysdeps/i386/crti.S: Likewise.
35826 * sysdeps/i386/crtn.S: Likewise.
35827 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35828 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35829 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35830 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35831 * sysdeps/sh/crti.S: Likewise.
35832 * sysdeps/sh/crtn.S: Likewise.
35833 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35834
7b6235f2
PE
35835 [BZ #13673]
35836 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35837 with URL.
35838 * locale/programs/locfile-kw.gperf: Likewise.
35839 * locale/programs/charmap-kw.h: Regenerated.
35840 * locale/programs/locfile-kw.h: Likewise.
35841
547b5e30
PE
35842 [BZ #13673]
35843 * intl/plural.y: Replace FSF snail mail address with URL.
35844 * intl/plural.c: Regenerated.
35845
5f0a5dae
RH
358462012-03-09 Richard Henderson <rth@twiddle.net>
35847
35848 * include/math_private.h: Remove file.
35849 * math/math_private.h: Move file ...
35850 * sysdeps/generic/math_private.h: ... here.
35851
b8c03620
RH
35852 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35853 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35854 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35855
4e234f5d 35856 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
35857 and <math_private.h>.
35858 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35859 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35860 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35861 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35862 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35863 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35864 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35865 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35866 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35867 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35868 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35869 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35870 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35871 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35872 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35873 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35874 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35875 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35876 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35877 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35878 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35879 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35880 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35882 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35883 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35884 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35885 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35886 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35887 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35888 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35889 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35890 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35891 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35892 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35893 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35894 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35895 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35896 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35897 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35898 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35899 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35900 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35901 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35902 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35903 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35904 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35905 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35906 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35907 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35908 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35909 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35910 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35911 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35912 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35913 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35914 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35915 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35916 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35917 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35918 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35919 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35920 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35921 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35922 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35923 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35924 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35925 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35926 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35927 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35928 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35929 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35930 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35931 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35932 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35933 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35934 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35935 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35936 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35937 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35938 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35939 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35940 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35941 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35942 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35943 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35944 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35945 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35946 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35947 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35948 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35949 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35950 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35951 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35952 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35953 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35954 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35955 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35956 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35957 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35958 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35959 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35960 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35961 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35962 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35963 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35964 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35965 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35966 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35967 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35968 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35969 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35970 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35971 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35972 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35973 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35974 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35975 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35976 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35977 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35978 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35979 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35980 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35981 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35982 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35983 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35984 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35985 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35986 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35987 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35988 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35989 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35990 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35991 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35992 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35993 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35994 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35995 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35996 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35997 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35998 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35999 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36000 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36001 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36002 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36003 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36004 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36005 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36006 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36007 * sysdeps/ieee754/k_standard.c: Likewise.
36008 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36009 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36010 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36011 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36012 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36013 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36014 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36015 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36016 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36017 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36018 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36019 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36020 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36021 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36022 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36023 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36024 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36025 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36026 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36027 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36028 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36029 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36030 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36031 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36032 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36033 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36034 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36035 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36036 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36037 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36038 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36039 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36040 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36041 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36042 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36043 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36044 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36045 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36046 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36047 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36048 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36049 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36050 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36051 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36052 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36053 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36054 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36055 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36056 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36057 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36058 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36059 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36060 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36061 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36062 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36063 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36064 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36065 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36066 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36067 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36068 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36069 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36070 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36071 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36072 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36073 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36074 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36075 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36076 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36077 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36078 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36079 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36080 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36081 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36082 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36083 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36084 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36085 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36086 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36087 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36088 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36089 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36090 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36091 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36092 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36093 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36094 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36095 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36096 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36097 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36098 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36099 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36100 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36101 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36102 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36103 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36104 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36105 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36106 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36107 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36108 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36109 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36110 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36111 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36112 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36113 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36114 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36115 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36116 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36117 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36118 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36119 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36120 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36121 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36122 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36123 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36124 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36125 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36126 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36127 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36128 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36129 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36130 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36131 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36132 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36133 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36134 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36135 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36136 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36137 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36138 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36139 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36140 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36141 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36142 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36143 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36144 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36145 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36146 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36147 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36148 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36149 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36150 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36151 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36152 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36153 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36154 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36155 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36156 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36157 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36158 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36159 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36160 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36161 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36162 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36163 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36164 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36165 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36166 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36167 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36168 * sysdeps/ieee754/s_lib_version.c: Likewise.
36169 * sysdeps/ieee754/s_matherr.c: Likewise.
36170 * sysdeps/ieee754/s_signgam.c: Likewise.
36171 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36172 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36173 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36174 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36175 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36176 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36177 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36178 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36179 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36180 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36181 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36182 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36183 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36184 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36185 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36186 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36187 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36188 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36189 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36190 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36191 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 36192
1991fa03
JM
361932012-03-09 Joseph Myers <joseph@codesourcery.com>
36194
36195 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36196 * sunrpc/rpc_main.c: Likewise.
36197 * sunrpc/rpc_svcout.c: Likewise.
36198
60d6f5a6
DM
361992012-03-09 David S. Miller <davem@davemloft.net>
36200
36201 * include/math_private.h: New file.
36202
4962050e
JM
362032012-03-09 Joseph Myers <joseph@codesourcery.com>
36204
02a6f887
JM
36205 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36206 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36207 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36208 from <bits/socket_type.h>.
36209 (enum __socket_type): Don't define here.
36210 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36212 bits/socket_type.h.
36213
c6e013c1
JM
36214 [BZ #13566]
36215 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36216 checking __USE_GNU.
36217
4962050e
JM
36218 * Makerules ($(inst_includedir)/%.h): New rule.
36219 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36220 (install-others): Remove variable setting.
36221 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36222
38842f45
RH
362232012-03-08 Richard Henderson <rth@twiddle.net>
36224
67bb6da6
RH
36225 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36226 from macro to inline function; merge with the
36227 !__LIBC_INTERNAL_MATH_INLINES version.
36228 (__ieee754_sqrtf): Likewise.
36229
15194b4b
RH
36230 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36231 to inline function.
36232 (__rintf, __floor, __floorf): Likewise.
36233
64e21ede
RH
36234 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36235 macro to inline function.
36236 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36237
38842f45
RH
36238 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36239 not <math/math_private.h>.
36240
c64bf5fe
DM
362412012-03-08 David S. Miller <davem@davemloft.net>
36242
36243 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36244 copyright year.
36245 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36246
82d86f28
TS
362472012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36248
36249 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36250 normalization.
36251 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36252 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36253
aea5d727
UD
362542012-03-08 Ulrich Drepper <drepper@gmail.com>
36255
36256 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36257 be defined individually, they must be defined as a block. Define
36258 S for printing a string instead of hidint the different by using a
36259 macro for adding the 'l'.
36260 * stdio-common/tst-fphex-wide.c: Adjust.
36261
70bca0a3
MP
362622012-03-07 Marek Polacek <polacek@redhat.com>
36263
36264 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36265
65b81130
MP
362662012-03-08 Marek Polacek <polacek@redhat.com>
36267
36268 [BZ #13806]
36269 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36270 * stdio-common/tst-fphex.c: Define a few macros to make the
36271 test reusable. Use them.
36272 * stdio-common/tst-fphex-wide.c: New file.
36273
07037eeb
JM
362742012-03-08 Joseph Myers <joseph@codesourcery.com>
36275
a7a93d50
JM
36276 [BZ #6911]
36277 * manual/macros.texi (gnusystems): New macro.
36278 (nongnusystems): Likewise.
36279 (gnulinuxhurdsystems): Likewise.
36280 (gnuhurdsystems): Likewise..
36281 (gnulinuxsystems): Likewise.
36282 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36283 variants of the GNU system, not "GNU system".
36284 * manual/conf.texi: Likewise.
36285 * manual/errno.texi: Likewise. Update example of errno macro
36286 expansion.
36287 * manual/filesys.texi: Likewise.
36288 (getumask): Document as specific to GNU/Hurd.
36289 * manual/install.texi: Likewise. Reword some references to
36290 GNU/Linux.
36291 * manual/intro.texi: Likewise.
36292 * manual/io.texi: Likewise.
36293 (File Name Portability): Detail which constraints are inapplicable
36294 to all GNU systems and which are only inapplicable to GNU/Hurd.
36295 * manual/job.texi: Likewise.
36296 * manual/llio.texi: Likewise.
36297 (O_NOCTTY): Document as present on GNU/Linux.
36298 * manual/maint.texi: Likewise.
36299 * manual/memory.texi: Likewise.
36300 * manual/pattern.texi: Likewise.
36301 * manual/pipe.texi: Likewise.
36302 * manual/process.texi: Likewise.
36303 * manual/resource.texi: Likewise.
36304 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36305 child on GNU/Hurd.
36306 * manual/setjmp.texi: Likewise.
36307 * manual/signal.texi: Likewise.
36308 * manual/startup.texi: Likewise.
36309 * manual/stdio.texi: Likewise.
36310 * manual/terminal.texi: Likewise.
36311 (ONLCR): Document as POSIX.
36312 (OXTABS): Document availability on GNU/Linux as XTABS.
36313 (ONOEOT): Document availability separately from other bits.
36314 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36315 * manual/time.texi: Likewise.
36316 * manual/users.texi: Likewise.
36317 * INSTALL: Regenerated.
36318 * sysdeps/gnu/errlist.c: Regenerated.
36319
07037eeb
JM
36320 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36321 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36322 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36323 puts.
36324 * configure: Regenerated.
36325
d1d3431a
JM
363262012-03-07 Joseph Myers <joseph@codesourcery.com>
36327
af6a1e37
JM
36328 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36329 default includes instead of AC_HEADER_CHECK.
36330 * sysdeps/i386/configure: Regenerated.
36331
d1d3431a
JM
36332 [BZ #10716]
36333 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36334 * math/s_cacoshf.c (__cacoshf): Likewise.
36335 * math/s_cacoshl.c (__cacoshl): Likewise.
36336 * math/s_casinh.c (__casinh): Set signs of result from argument.
36337 * math/s_casinhf.c (__casinhf): Likewise.
36338 * math/s_casinhl.c (__casinhl): Likewise.
36339 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36340 (casinh_test): Add more tests.
36341 * sysdeps/i386/fpu/libm-test-ulps: Update.
36342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36343
482ff4da
UD
363442012-03-07 Ulrich Drepper <drepper@gmail.com>
36345
872fda05
UD
36346 * po/zh_TW.po: Update from translation team.
36347
a4300c7a
UD
36348 * login/Makefile (distribute): Remove variable.
36349 * catgets/Makefile: Likewise.
36350 * mach/Makefile: Likewise.
36351 * malloc/Makefile: Likewise.
36352 * misc/Makefile: Likewise.
36353 * iconv/Makefile: Likewise.
36354 * nscd/Makefile: Likewise.
36355 * hurd/Makefile: Likewise.
36356 * manual/Makefile: Likewise.
36357 * locale/Makefile: Likewise.
36358 * intl/Makefile: Likewise.
36359 * conform/Makefile: Likewise.
36360 * nss/Makefile: Likewise.
36361 * time/Makefile: Likewise.
36362 * soft-fp/Makefile: Likewise.
36363 * dirent/Makefile: Likewise.
36364 * gmon/Makefile: Likewise.
36365 * po/Makefile: Likewise.
36366 * rt/Makefile: Likewise.
36367 * socket/Makefile: Likewise.
36368 * math/Makefile: Likewise.
36369 * signal/Makefile: Likewise.
36370 * debug/Makefile: Likewise.
36371 * elf/Makefile: Likewise.
36372 * timezone/Makefile: Likewise.
36373 * stdlib/Makefile: Likewise.
36374 * iconvdata/Makefile: Likewise.
36375 * sunrpc/Makefile: Likewise.
36376 * io/Makefile: Likewise.
36377 * argp/Makefile: Likewise.
36378 * inet/Makefile: Likewise.
36379 * hesiod/Makefile: Likewise.
36380 * grp/Makefile: Likewise.
36381 * csu/Makefile: Likewise.
36382 * wctype/Makefile: Likewise.
36383 * crypt/Makefile: Likewise.
36384 * libio/Makefile: Likewise.
36385 * string/Makefile: Likewise.
36386 * nis/Makefile: Likewise.
36387 * resolv/Makefile: Likewise.
36388 * stdio-common/Makefile: Likewise.
36389 * wcsmbs/Makefile: Likewise.
36390 * dlfcn/Makefile: Likewise.
36391 * posix/Makefile: Likewise.
36392
3b7c4e74 36393 [BZ #6959]
482ff4da
UD
36394 * timezone/Makefile: Don't install timezone files, just the programs
36395 and scripts.
36396
f72ed77d
UD
363972012-03-06 Ulrich Drepper <drepper@gmail.com>
36398
a000466f
UD
36399 * nss/databases.def: Add missing gshadow entry.
36400
f72ed77d
UD
36401 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36402
a53b7a4e
MP
364032012-03-06 Marek Polacek <polacek@redhat.com>
36404
36405 [BZ #13726]
36406 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36407 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36408 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36409 * stdio-common/tst-long-dbl-fphex.c: New file.
36410
e9258400
DM
364112012-03-06 David S. Miller <davem@davemloft.net>
36412
36413 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36414 (set_obp_int): New function.
36415 (get_obp_int): New function.
36416 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
36417 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36418 Avoid unused variable warnings on 'val' and use builtin_expect.
36419 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36420 __builtin_expect.
e9258400
DM
36421 (INLINE_CLONE_SYSCALL): Likewise.
36422
3bd2c723
DM
364232012-03-05 David S. Miller <davem@davemloft.net>
36424
36425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36426
bbb78d03
AS
364272012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36428
884c5db4
AS
36429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36430
bbb78d03
AS
36431 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36432 only for |x| >= 40.
36433 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36434
1c9f702a 364352012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
36436
36437 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36438 Replace gettimeofday with __vdso_gettimeofday.
36439
7be16f82
RM
36440 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36441 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36442 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
36443
36444 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36445 time with __vdso_time.
36446
ed58a00f
JM
364472012-03-05 Joseph Myers <joseph@codesourcery.com>
36448
36449 * manual/lang.texi (size_t): Note types to which size_t may be
36450 equivalent with the GNU C Library, but do not describe when
36451 differences between them are significant.
36452
30ee4ced
AJ
364532012-03-05 Andreas Jaeger <aj@suse.de>
36454
36455 * sysdeps/i386/fpu/libm-test-ulps: Update.
36456
b7cd39e8
JM
364572012-03-05 Joseph Myers <joseph@codesourcery.com>
36458
36459 [BZ #3976]
36460 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36461 (__ieee754_pow): Save and restore rounding mode and use
36462 round-to-nearest for main computations.
36463 * math/libm-test.inc (pow_test_tonearest): New function.
36464 (pow_test_towardzero): Likewise.
36465 (pow_test_downward): Likewise.
36466 (pow_test_upward): Likewise.
36467 (main): Call the new functions.
36468 * sysdeps/i386/fpu/libm-test-ulps: Update.
36469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
36470
36471 [BZ #3976]
36472 * math/libm-test.inc (cosh_test_tonearest): New function.
36473 (cosh_test_towardzero): Likewise.
36474 (cosh_test_downward): Likewise.
36475 (cosh_test_upward): Likewise.
36476 (sinh_test_tonearest): Likewise.
36477 (sinh_test_towardzero): Likewise.
36478 (sinh_test_downward): Likewise.
36479 (sinh_test_upward): Likewise.
36480 (main): Call the new functions.
36481 * sysdeps/i386/fpu/libm-test-ulps: Update.
36482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36483
6c6a98c9
TV
364842012-03-05 Tom de Vries <tom@codesourcery.com>
36485
36486 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36487 default stack guard is set in last bytes.
36488 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36489
21bb2d2e 364902012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 36491
21bb2d2e 36492 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 36493
21bb2d2e
AJ
36494 [BZ #13656]
36495 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36496 possibly allocate from heap instead of stack.
36497 * stdio-common/bug-vfprintf-nargs.c: New file.
36498 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 36499
c6922934
AS
365002012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36501
36502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36503
bc957d53
MP
365042012-03-03 Marek Polacek <polacek@redhat.com>
36505
36506 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36507 * math/math_private.h: Likewise.
36508 * stdlib/tst-strtod.c: Likewise.
36509 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36510 * sysdeps/x86_64/bits/atomic.h: Likewise.
36511
6358490d
DM
365122012-03-02 David S. Miller <davem@davemloft.net>
36513
36514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36518 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36519 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36520 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36521 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36522
01ae168d
RM
365232012-03-02 Roland McGrath <roland@hack.frob.com>
36524
d9a17c07
RM
36525 [BZ #13792]
36526 * manual/examples/README: New file, says the example source files
36527 can be used under GPL>=2.
36528 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36529 line containing just "*/".
36530 * manual/examples/add.c: Add copyright header (GPL>=2).
36531 * manual/examples/argp-ex1.c: Likewise.
36532 * manual/examples/argp-ex2.c: Likewise.
36533 * manual/examples/argp-ex3.c: Likewise.
36534 * manual/examples/argp-ex4.c: Likewise.
36535 * manual/examples/atexit.c: Likewise.
36536 * manual/examples/db.c: Likewise.
36537 * manual/examples/dir.c: Likewise.
36538 * manual/examples/dir2.c: Likewise.
36539 * manual/examples/execinfo.c: Likewise.
36540 * manual/examples/filecli.c: Likewise.
36541 * manual/examples/filesrv.c: Likewise.
36542 * manual/examples/fmtmsgexpl.c: Likewise.
36543 * manual/examples/genpass.c: Likewise.
36544 * manual/examples/inetcli.c: Likewise.
36545 * manual/examples/inetsrv.c: Likewise.
36546 * manual/examples/isockad.c: Likewise.
36547 * manual/examples/longopt.c: Likewise.
36548 * manual/examples/memopen.c: Likewise.
36549 * manual/examples/memstrm.c: Likewise.
36550 * manual/examples/mkfsock.c: Likewise.
36551 * manual/examples/mkisock.c: Likewise.
36552 * manual/examples/mygetpass.c: Likewise.
36553 * manual/examples/pipe.c: Likewise.
36554 * manual/examples/popen.c: Likewise.
36555 * manual/examples/rprintf.c: Likewise.
36556 * manual/examples/search.c: Likewise.
36557 * manual/examples/select.c: Likewise.
36558 * manual/examples/setjmp.c: Likewise.
36559 * manual/examples/sigh1.c: Likewise.
36560 * manual/examples/sigusr.c: Likewise.
36561 * manual/examples/stpcpy.c: Likewise.
36562 * manual/examples/strdupa.c: Likewise.
36563 * manual/examples/strftim.c: Likewise.
36564 * manual/examples/strncat.c: Likewise.
36565 * manual/examples/subopt.c: Likewise.
36566 * manual/examples/swapcontext.c: Likewise.
36567 * manual/examples/termios.c: Likewise.
36568 * manual/examples/testopt.c: Likewise.
36569 * manual/examples/testpass.c: Likewise.
36570 * manual/examples/timeval_subtract.c: Likewise.
36571
01ae168d
RM
36572 [BZ #13792]
36573 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36574 function to ...
36575 * manual/timeval_subtract.c.texi: ... here, new file.
36576
49efa33d
DM
365772012-03-02 David S. Miller <davem@davemloft.net>
36578
36579 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36580
28afd92d
JM
365812012-03-02 Joseph Myers <joseph@codesourcery.com>
36582
804360ed
JM
36583 [BZ #3976]
36584 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36585 (__sin): Save and restore rounding mode and use round-to-nearest
36586 for all computations.
36587 (__cos): Save and restore rounding mode and use round-to-nearest
36588 for all computations.
36589 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36590 <fenv.h>.
36591 (tan): Save and restore rounding mode and use round-to-nearest for
36592 all computations.
36593 * math/libm-test.inc (cos_test_tonearest): New function.
36594 (cos_test_towardzero): Likewise.
36595 (cos_test_downward): Likewise.
36596 (cos_test_upward): Likewise.
36597 (sin_test_tonearest): Likewise.
36598 (sin_test_towardzero): Likewise.
36599 (sin_test_downward): Likewise.
36600 (sin_test_upward): Likewise.
36601 (tan_test_tonearest): Likewise.
36602 (tan_test_towardzero): Likewise.
36603 (tan_test_downward): Likewise.
36604 (tan_test_upward): Likewise.
36605 (main): Call the new functions.
36606 * sysdeps/i386/fpu/libm-test-ulps: Update.
36607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36608
a6d06d7b
JM
36609 [BZ #10135]
36610 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36611 small n, then large n, before computing and testing k+n.
36612 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36613 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36614 Likewise.
36615 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36616 Likewise.
36617 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36618 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36619 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36620 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36621 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36622 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36623 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36624 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36625 * math/libm-test.inc (scalbn_test): Add more tests.
36626 (scalbln_test): Likewise.
36627
07e12bb3
JM
36628 * manual/filesys.texi (mode_t): Describe constraints on size and
36629 signedness, not exact equivalence to a particular type.
36630 (ino_t): Likewise.
36631 (ino64_t): Likewise.
36632 (dev_t): Likewise.
36633 (nlink_t): Likewise.
36634 (blkcnt_t): Likewise.
36635 (blkcnt64_t): Likewise.
36636 * manual/llio.texi (off_t): Likewise.
36637
28afd92d
JM
36638 [BZ #3976]
36639 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36640 (__ieee754_exp): Save and restore rounding mode and use
36641 round-to-nearest for all computations.
36642 * math/libm-test.inc (exp_test_tonearest): New function.
36643 (exp_test_towardzero): Likewise.
36644 (exp_test_downward): Likewise.
36645 (exp_test_upward): Likewise.
36646 (main): Call the new functions.
36647 * sysdeps/i386/fpu/libm-test-ulps: Update.
36648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36649
b1eeb65d
CD
366502012-03-01 Chris Demetriou <cgd@google.com>
36651
36652 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36653 have predictable order.
36654
53362a4b
DM
366552012-03-01 David S. Miller <davem@davemloft.net>
36656
3c969083
DM
36657 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36658
759707de
DM
36659 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36660 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36661 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36662 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36663
dfdb8ff2
DM
36664 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36665 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36666 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36668 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36669 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36670 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36671 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36672 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36673
ead89f96
DM
36674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36675
7f66bd07
DM
36676 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36677 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36678 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36679
53362a4b
DM
36680 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36681 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36682 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36683 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36684 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36685 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36686 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36687 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36688 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36689 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36690 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36691 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36692 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36693 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36694 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36695 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36696 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36697 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36698 * sysdeps/sparc/elf/configure: Regenerated.
36699
7b1902cb
JM
367002012-03-01 Joseph Myers <joseph@codesourcery.com>
36701
bec039bc
JM
36702 * configure.in (AS, LD): Require binutils 2.20 or later.
36703 * configure: Regenerated.
36704 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36705 as required minimum version.
36706 * INSTALL: Regenerated.
36707
7b1902cb
JM
36708 [BZ #2541]
36709 [BZ #4108]
36710 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36711 before squaring exponent.
36712 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36713 bottom long double and 27 bits of top long double before squaring
36714 exponent.
36715 * math/libm-test.inc (erfc_test): Add more tests.
36716 * sysdeps/i386/fpu/libm-test-ulps: Update.
36717 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36719
f775c276
KT
367202012-03-01 Kai Tietz <ktietz@redhat.com>
36721
36722 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36723 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36724 containing bit-fields.
36725 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36726 * soft-fp/single.h (_FP_UNION_S): Likewise.
36727 * soft-fp/double.h (_FP_UNION_D): Likewise.
36728
5b8a4d4a
JM
367292012-02-29 Joseph Myers <joseph@codesourcery.com>
36730
0bab47b6
JM
36731 [BZ #13786]
36732 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36733 not include ../strcmp.S.
36734 [USE_AS_STRNCASECMP_L]: Likewise.
36735 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36736 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36737 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36738 (__strncasecmp_l_ia32): Define as alias to
36739 __strncasecmp_l_nonascii.
36740
0fcad3e2
JM
36741 [BZ #5794]
36742 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36743 * sysdeps/i386/fpu/libm-test-ulps: Update.
36744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36745
5b8a4d4a
JM
36746 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36748
8fdceb2e
JL
367492012-02-29 Jeff Law <law@redhat.com>
36750
36751 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36752 out of bounds read.
36753
1f393a11
MP
367542012-02-29 Marek Polacek <polacek@redhat.com>
36755
36756 [BZ #13706]
36757 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36758 * elf/Makefile: Add rules to run tst-unused-dep.out.
36759
8847f037
DM
367602012-02-28 David S. Miller <davem@davemloft.net>
36761
36762 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36763 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36764 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36765 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36766 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36767 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36768
169d7f11
JM
367692012-02-29 Joseph Myers <joseph@codesourcery.com>
36770
36771 * math/libm-test.inc (llround_test): Move one test from
36772 lround_test. Use TEST_f_L in moved test.
36773 (lround_test): Move misplaced test to llround_test. Add testcase
36774 from bug 2561.
36775
39adf059
UD
367762012-02-28 Ulrich Drepper <drepper@gmail.com>
36777
36778 * sysdeps/x86_64/fpu/e_expf.S: New file.
36779 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36780
71b5d1c5
SB
367812012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36782
36783 [BZ #13637]
36784 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36785 of remain_len that may cause incomplete multi-byte character and
36786 false match.
36787 * posix/bug-regex33.c: New file.
36788 * posix/Makefile (tests): Add bug-regex33.
36789
1f77f049
JM
367902012-02-28 Joseph Myers <joseph@codesourcery.com>
36791
36792 * manual/macros.texi: New file.
36793 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36794 * manual/libc.texinfo: Include macros.texi.
36795 * manual/creatute.texi: Likewise.
36796 * manual/install.texi: Likewise.
36797 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36798 @glibcadj{} in references to the GNU C Library.
36799 * manual/charset.texi: Likewise.
36800 * manual/conf.texi: Likewise.
36801 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36802 when not using those macros.
36803 * manual/creature.texi: Likewise.
36804 * manual/crypt.texi: Likewise.
36805 * manual/errno.texi: Likewise.
36806 * manual/filesys.texi: Likewise.
36807 * manual/header.texi: Likewise.
36808 * manual/install.texi: Likewise.
36809 * manual/intro.texi: Likewise.
36810 * manual/io.texi: Likewise.
36811 * manual/job.texi: Likewise.
36812 * manual/lang.texi: Likewise.
36813 * manual/libc.texiinfo: Likewise.
36814 * manual/llio.texi: Likewise.
36815 * manual/locale.texi: Likewise.
36816 * manual/maint.texi: Likewise.
36817 * manual/math.texi: Likewise.
36818 * manual/memory.texi: Likewise.
36819 * manual/message.texi: Likewise.
36820 * manual/nss.texi: Likewise.
36821 * manual/pattern.texi: Likewise.
36822 * manual/process.texi: Likewise.
36823 * manual/resource.texi: Likewise.
36824 * manual/search.texi: Likewise.
36825 * manual/setjmp.texi: Likewise.
36826 * manual/signal.texi: Likewise.
36827 * manual/socket.texi: Likewise.
36828 * manual/startup.texi: Likewise.
36829 * manual/stdio.texi: Likewise.
36830 * manual/string.texi: Likewise.
36831 * manual/sysinfo.texi: Likewise.
36832 * manual/syslog.texi: Likewise.
36833 * manual/terminal.texi: Likewise.
36834 * manual/time.texi: Likewise.
36835 * manual/users.texi: Likewise.
36836 * INSTALL: Regenerated.
36837 * NOTES: Regenerated.
d40c5d54 36838 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 36839
450bf206
AS
368402012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36841
36842 * include/dirent.h: Include <dirstream.h> before
36843 <dirent/dirent.h>.
36844
741a235b
DM
368452012-02-28 David S. Miller <davem@davemloft.net>
36846
36847 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36848 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36849 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36850 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36851
d6b5aa58
DM
368522012-02-27 David S. Miller <davem@davemloft.net>
36853
1aff59a3
DM
36854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36856 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36857 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36858
d6b5aa58
DM
36859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36860 frame pointer instead of stack pointer relative arg slot.
36861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36862 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36863 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36864
433f48bf
CD
368652012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36866
36867 [BZ #3992]
36868 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36869
d674b76d
DM
368702012-02-27 David S. Miller <davem@davemloft.net>
36871
36872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36876 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36877 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36878 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36879 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36880
0e7727f7
JM
368812012-02-27 Joseph Myers <joseph@codesourcery.com>
36882
36883 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36884 later. Allow versions 5-9.
43be4ca2 36885 * configure: Regenerated.
0e7727f7
JM
36886 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36887 required minimum version and 4.6 as recommended version. Do not
36888 mention bugs in GCC 2.7 and 2.8.
43be4ca2 36889 * INSTALL: Regenerated.
0e7727f7 36890
a78bc654
DM
368912012-02-27 David S. Miller <davem@davemloft.net>
36892
428d5830
DM
36893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36897 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36898 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36899 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36900 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36901
a78bc654
DM
36902 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36903 manipulate bits before adding and subtracting TWO112[sx].
36904 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36905
4579f81c
RM
369062012-02-27 Roland McGrath <roland@hack.frob.com>
36907
36c8acb4
RM
36908 [BZ #13775]
36909 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36910 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36911 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36912 being in POSIX, because they are in 1003.1-2008.
36913
84ad622b
RM
36914 * rt/tst-aio.c: Include <fcntl.h>.
36915 * rt/tst-aio7.c: Likewise.
36916 * rt/tst-aio64.c: Likewise.
36917
4579f81c
RM
36918 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36919
abd923db
JM
369202012-02-27 Joseph Myers <joseph@codesourcery.com>
36921
36922 * manual/install.texi (--with-headers): Describe headers as
36923 interface headers, not private headers.
36924 (Specific advice for GNU/Linux systems): Describe use of headers
36925 from "make headers_install", not private headers from older
36926 kernels.
43be4ca2 36927 * INSTALL: Regenerated.
abd923db
JM
36928 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36929 Change to 2.6.19.
36930 * sysdeps/unix/sysv/linux/configure: Regenerated.
36931
6664049b
JM
36932 * manual/llio.texi (fclean): Remove documentation.
36933
bb8b6697
JM
36934 * manual/Makefile (libc-texi-generated): New variable. Include
36935 version.texi.
36936 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36937 $(libc-texi-generated), not duplicated list of files.
36938 (version.texi, stamp-version): New rules.
36939 (realclean): Remove $(libc-texi-generated), not individual files
36940 from that list. Do not remove dir-add.texinfo.
36941 * manual/libc.texinfo: Comment out uses of edition numbers and
36942 references to printed manual. Remove last-updated dates.
36943 (EDITION): Comment out.
36944 (ISBN): Likewise.
36945 (VERSION, UPDATED): Remove.
36946 (version.texi): Include.
36947
12e5c3b9
AS
369482012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36949
36950 * sysdeps/posix/spawni.c: Include <signal.h>.
36951 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36952 * sysdeps/pthread/aio_fsync.c: Likewise.
36953
4efeffc1 369542012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 36955
ba63ba08
UD
36956 * conform/Makefile (tests): Run only when not cross-compiling and
36957 when fast-check is not defined.
36958
d94a4670
UD
36959 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36960 * conform/data/limits.h-data: Fixes for POSIX2008.
36961 * conform/run-conformtest.sh: Run all tests.
36962 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36963 headers.
36964 * include/bits/dlfcn.h: Likewise.
36965 * include/langinfo.h: Likewise.
36966 * include/monetary.h: Likewise.
36967 * include/sys/poll.h: Likewise.
36968
36969 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36970 for __USE_GNU.
36971 * posix/spawn.h: Define __need_sigset_t.
36972 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36973 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36974 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
36975 to get sigevent_t only.
36976 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36977 only for __USE_GNU.
36978 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36979 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36980 process_vm_writev only for __USE_GNU.
36981 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
36982
36983 * conform/Makefile: For now ignore errors from run-conformtest.
36984 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
36985 POSIX to avoid namespace pollution. Don't prepend headers.
36986 * conform/data/aio.h-data: Fixes for POSIX testing.
36987 * conform/data/fcntl.h-data: Likewise.
36988 * conform/data/glob.h-data: Likewise.
36989 * conform/data/grp.h-data: Likewise.
36990 * conform/data/pthread.h-data: Likewise.
36991 * conform/data/pwd.h-data: Likewise.
36992 * conform/data/signal.h-data: Likewise.
36993 * conform/data/spawn.h-data: Likewise.
36994 * conform/data/stdio.h-data: Likewise.
36995 * conform/data/stdlib.h-data: Likewise.
36996 * conform/data/stropts.h-data: Likewise.
36997 * conform/data/sys/mman.h-data: Likewise.
36998 * conform/data/sys/stat.h-data: Likewise.
36999 * conform/data/sys/types.h-data: Likewise.
37000 * conform/data/sys/wait.h-data: Likewise.
37001 * conform/data/time.h-data: Likewise.
37002 * conform/data/unistd.h-data: Likewise.
37003 * conform/data/utime.h-data: Likewise.
37004
37005 * io/sys/stat.h: fchmod was always in POSIX.
37006 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37007 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37008 * rt/aio.h: Define __need_timespec before including <time.h>.
37009 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37010 struct. Add forward declaration of pthread_attr_t and use it in
37011 sigevent.
37012 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37013 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37014 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37015 always remove CLK_TCK definition.
37016
c20105c3
AS
370172012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37018
37019 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37020
7a270350
UD
370212012-02-25 Ulrich Drepper <drepper@gmail.com>
37022
31341567
UD
37023 * conform/run-conformtest.sh: New file.
37024 * conform/Makefile: Run run-conformtest for tests.
37025 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37026 support.
37027
37028 * conform/data/uchar.h-data: New file.
37029 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37030 * conform/data/arpa/inet.h-data: Likewise.
37031 * conform/data/assert.h-data: Likewise.
37032 * conform/data/complex.h-data: Likewise.
37033 * conform/data/cpio.h-data: Likewise.
37034 * conform/data/ctype.h-data: Likewise.
37035 * conform/data/dirent.h-data: Likewise.
37036 * conform/data/dlfcn.h-data: Likewise.
37037 * conform/data/errno.h-data: Likewise.
37038 * conform/data/fcntl.h-data: Likewise.
37039 * conform/data/float.h-data: Likewise.
37040 * conform/data/fmtmsg.h-data: Likewise.
37041 * conform/data/fnmatch.h-data: Likewise.
37042 * conform/data/ftw.h-data: Likewise.
37043 * conform/data/glob.h-data: Likewise.
37044 * conform/data/grp.h-data: Likewise.
37045 * conform/data/iconv.h-data: Likewise.
37046 * conform/data/inttypes.h-data: Likewise.
37047 * conform/data/langinfo.h-data: Likewise.
37048 * conform/data/libgen.h-data: Likewise.
37049 * conform/data/limits.h-data: Likewise.
37050 * conform/data/locale.h-data: Likewise.
37051 * conform/data/math.h-data: Likewise.
37052 * conform/data/monetary.h-data: Likewise.
37053 * conform/data/mqueue.h-data: Likewise.
37054 * conform/data/ndbm.h-data: Likewise.
37055 * conform/data/net/if.h-data: Likewise.
37056 * conform/data/netdb.h-data: Likewise.
37057 * conform/data/netinet/in.h-data: Likewise.
37058 * conform/data/nl_types.h-data: Likewise.
37059 * conform/data/poll.h-data: Likewise.
37060 * conform/data/pthread.h-data: Likewise.
37061 * conform/data/pwd.h-data: Likewise.
37062 * conform/data/regex.h-data: Likewise.
37063 * conform/data/sched.h-data: Likewise.
37064 * conform/data/search.h-data: Likewise.
37065 * conform/data/semaphore.h-data: Likewise.
37066 * conform/data/setjmp.h-data: Likewise.
37067 * conform/data/signal.h-data: Likewise.
37068 * conform/data/spawn.h-data: Likewise.
37069 * conform/data/stdarg.h-data: Likewise.
37070 * conform/data/stdio.h-data: Likewise.
37071 * conform/data/stdlib.h-data: Likewise.
37072 * conform/data/string.h-data: Likewise.
37073 * conform/data/strings.h-data: Likewise.
37074 * conform/data/stropts.h-data: Likewise.
37075 * conform/data/sys/ipc.h-data: Likewise.
37076 * conform/data/sys/mman.h-data: Likewise.
37077 * conform/data/sys/msg.h-data: Likewise.
37078 * conform/data/sys/resource.h-data: Likewise.
37079 * conform/data/sys/select.h-data: Likewise.
37080 * conform/data/sys/sem.h-data: Likewise.
37081 * conform/data/sys/shm.h-data: Likewise.
37082 * conform/data/sys/socket.h-data: Likewise.
37083 * conform/data/sys/stat.h-data: Likewise.
37084 * conform/data/sys/statvfs.h-data: Likewise.
37085 * conform/data/sys/time.h-data: Likewise.
37086 * conform/data/sys/timeb.h-data: Likewise.
37087 * conform/data/sys/times.h-data: Likewise.
37088 * conform/data/sys/types.h-data: Likewise.
37089 * conform/data/sys/uio.h-data: Likewise.
37090 * conform/data/sys/un.h-data: Likewise.
37091 * conform/data/sys/utsname.h-data: Likewise.
37092 * conform/data/sys/wait.h-data: Likewise.
37093 * conform/data/syslog.h-data: Likewise.
37094 * conform/data/tar.h-data: Likewise.
37095 * conform/data/termios.h-data: Likewise.
37096 * conform/data/utime.h-data: Likewise.
37097 * conform/data/utmpx.h-data: Likewise.
37098 * conform/data/varargs.h-data: Likewise.
37099 * conform/data/wchar.h-data: Likewise.
37100 * conform/data/wctype.h-data: Likewise.
37101 * conform/data/wordexp.h-data: Likewise.
37102
37103 * include/stropts.h: New file.
37104 * include/uchar.h: New file.
37105 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37106 * include/assert.h: Likewise.
37107 * include/ctype.h: Likewise.
37108 * include/dirent.h: Likewise.
37109 * include/dlfcn.h: Likewise.
37110 * include/fcntl.h: Likewise.
37111 * include/fnmatch.h: Likewise.
37112 * include/glob.h: Likewise.
37113 * include/grp.h: Likewise.
37114 * include/libio.h: Likewise.
37115 * include/locale.h: Likewise.
37116 * include/math.h: Likewise.
37117 * include/net/if.h: Likewise.
37118 * include/netdb.h: Likewise.
37119 * include/netinet/in.h: Likewise.
37120 * include/pthread.h: Likewise.
37121 * include/pwd.h: Likewise.
37122 * include/regex.h: Likewise.
37123 * include/sched.h: Likewise.
37124 * include/search.h: Likewise.
37125 * include/setjmp.h: Likewise.
37126 * include/signal.h: Likewise.
37127 * include/stdio.h: Likewise.
37128 * include/stdlib.h: Likewise.
37129 * include/string.h: Likewise.
37130 * include/sys/cdefs.h: Likewise.
37131 * include/sys/mman.h: Likewise.
37132 * include/sys/msg.h: Likewise.
37133 * include/sys/resource.h: Likewise.
37134 * include/sys/select.h: Likewise.
37135 * include/sys/socket.h: Likewise.
37136 * include/sys/stat.h: Likewise.
37137 * include/sys/statvfs.h: Likewise.
37138 * include/sys/time.h: Likewise.
37139 * include/sys/times.h: Likewise.
37140 * include/sys/uio.h: Likewise.
37141 * include/sys/utsname.h: Likewise.
37142 * include/sys/wait.h: Likewise.
37143 * include/termios.h: Likewise.
37144 * include/time.h: Likewise.
37145 * include/ulimit.h: Likewise.
37146 * include/unistd.h: Likewise.
37147 * include/utime.h: Likewise.
37148 * include/wchar.h: Likewise.
37149 * include/wctype.h: Likewise.
37150 * include/wordexp.h: Likewise.
37151
37152 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37153
7a270350
UD
37154 * time/time.h: TIME_UTC must be a macro.
37155 Make timespec_get available for ISO C11 only as well.
37156
7724defc
UD
371572012-02-24 Ulrich Drepper <drepper@gmail.com>
37158
37159 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37160 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37161
6b1d1d46
JM
371622012-02-24 Joseph Myers <joseph@codesourcery.com>
37163
37164 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 37165
0f8bbd69
JM
371662012-02-24 Joseph Myers <joseph@codesourcery.com>
37167
37168 * manual/texinfo.tex: Update to version 2012-01-19.16.
37169
66ab80bc
JM
371702012-02-24 Joseph Myers <joseph@codesourcery.com>
37171
37172 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37173
74981cc5
RM
371742012-02-24 Roland McGrath <roland@hack.frob.com>
37175
ee968201
RM
37176 [BZ #13738]
37177 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37178 * manual/fdl-1.3.texi: New file.
37179 * manual/fdl-1.1.texi: File removed.
37180
74981cc5
RM
37181 [BZ #13738]
37182 * manual/libc.texinfo (FDL_VERSION): New @set.
37183 Use it for mention of FDL in cover text.
37184 (Documentation License): Use it in @include file name.
37185
7bb764bc
JM
371862012-02-22 Joseph Myers <joseph@codesourcery.com>
37187 Roland McGrath <roland@hack.frob.com>
37188
37189 [BZ #5461]
57f41c40
AS
37190 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37191 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
37192 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37193 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37194 name.
37195 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37196
6cbeae47
JM
371972012-02-22 Joseph Myers <joseph@codesourcery.com>
37198
37199 [BZ #2547]
37200 [BZ #11365]
37201 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37202 manipulate bits before adding and subtracting TWO23[sx].
37203 * math/libm-test.inc (nearbyint_test): Add more tests.
37204
fe45ce09
JM
372052012-02-22 Joseph Myers <joseph@codesourcery.com>
37206
37207 [BZ #2548]
37208 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37209 bits before adding and subtracting TWO23[sx].
37210 * math/libm-test.inc (rint_test): Add more tests.
37211 (rint_test_tonearest): Likewise.
37212 (rint_test_towardzero): Likewise.
37213 (rint_test_downward): Likewise.
37214 (rint_test_upward: Likewise.
37215
ff3b3d82
JM
372162012-02-22 Joseph Myers <joseph@codesourcery.com>
37217
37218 [BZ #10110]
37219 * include/stdc-predef.h: New file. Extracted from features.h.
37220 * include/features.h: Include stdc-predef.h.
37221 * Makefile (headers): Add stdc-predef.h.
37222 * CONFORMANCE (Compiler limitations): Update.
37223
ef0aab35
JM
372242012-02-22 Joseph Myers <joseph@codesourcery.com>
37225
37226 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37227
58639409
DM
372282012-02-21 David S. Miller <davem@davemloft.net>
37229
37230 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37231 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37232
c0e70b25
DM
372332012-02-20 David S. Miller <davem@davemloft.net>
37234
37235 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37236 using a normal save/restore sequence, rather than allocating a
37237 dummy stack frame just to store a frame pointer and restore.
37238 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37239
fb06851d
JM
372402012-02-21 Joseph Myers <joseph@codesourcery.com>
37241
37242 * manual/install.texi: Fix stray word in line-wrapped comment.
37243
7a8b71c3
DM
372442012-02-20 David S. Miller <davem@davemloft.net>
37245
d510c123
DM
37246 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37247 both binutils and gcc support GOTDATA.
37248
0722d7c2
DM
37249 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37250 "rd %pc" in the PIC register setup sequences.
37251
3d2b3019
DM
37252 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37253 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37254 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37255 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37256 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37257 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37258 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37259 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37260 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37261 (SYSCALL_ERROR_HANDLER): Likewise.
37262 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37263 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37264 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37265 (SYSCALL_ERROR_HANDLER): Likewise.
37266
c80098a9
DM
37267 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37268 (HAVE_GCC_GOTDATA): New.
37269 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37270 relocation support in both binutils and gcc.
37271 * sysdeps/sparc/elf/configure: Regenerate.
37272
3a2545a0
DM
37273 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37274 * sysdeps/sparc/sparc32/elf/configure: Delete.
37275 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37276 * sysdeps/sparc/sparc64/elf/configure: Delete.
37277 * sysdeps/sparc/elf/configure.in: New file.
37278 * sysdeps/sparc/elf/configure: Generate.
37279
7a8b71c3
DM
37280 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37281 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37282 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37283 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37284 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37285
f1e86fca
JM
372862012-02-21 Joseph Myers <joseph@codesourcery.com>
37287
37288 * manual/install.texi: Do not mention specific glibc version
37289 numbers.
37290 * manual/libc.texinfo (VERSION, UPDATED): Update.
37291 (@copying): Use @copyright{} and range of years.
37292
0e7dfaef
JM
372932012-02-21 Joseph Myers <joseph@codesourcery.com>
37294
37295 [BZ #13695]
37296 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37297 [crti.S not in sysdirs] (generated): Do not append.
37298 [crti.S not in sysdirs] (omit-deps): Likewise.
37299 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37300 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37301 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37302 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37303 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37304 Likewise.
37305 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37306 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37307 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37308 * csu/defs.awk: Remove file.
37309 * sysdeps/generic/initfini.c: Likewise.
37310 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37311 variable.
37312 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37313 Likewise.
37314
599af3ca
JM
373152012-02-20 Joseph Myers <joseph@codesourcery.com>
37316
37317 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37318 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37319 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37320 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37321 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37322 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37323 <bits/epoll.h>.
37324 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37325 (__EPOLL_PACKED): Define to empty if not defined by
37326 <bits/epoll.h>.
37327 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37329 bits/epoll.h.
37330
0e499750
JM
373312012-02-20 Joseph Myers <joseph@codesourcery.com>
37332
37333 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37334 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37335 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37336 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37337 <bits/timerfd.h>.
37338 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37340 bits/timerfd.h.
37341
5ad91f6e
JM
373422012-02-20 Joseph Myers <joseph@codesourcery.com>
37343
37344 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37345 in C locale.
37346 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37347 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37348 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37350
06b99b02
AJ
373512012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37352
37353 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37354 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37355
7638c0fd
AS
373562012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37357
37358 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37359 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37360 defined.
37361 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37362 Likewise.
37363 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37364 entry for 2.16.
37365
92221550
AJ
373662012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37367
37368 * math/w_acos.c: Use non-signaling floating-point comparisons.
37369 * math/w_acosf.c: Likewise.
37370 * math/w_acosh.c: Likewise.
37371 * math/w_acoshf.c: Likewise.
37372 * math/w_acoshl.c: Likewise.
37373 * math/w_acosl.c: Likewise.
37374 * math/w_asin.c: Likewise.
37375 * math/w_asinf.c: Likewise.
37376 * math/w_asinl.c: Likewise.
37377 * math/w_atanh.c: Likewise.
37378 * math/w_atanhf.c: Likewise.
37379 * math/w_atanhl.c: Likewise.
37380 * math/w_exp2.c: Likewise.
37381 * math/w_exp2f.c: Likewise.
37382 * math/w_exp2l.c: Likewise.
37383 * math/w_j0.c: Likewise.
37384 * math/w_j0f.c: Likewise.
37385 * math/w_j0l.c: Likewise.
37386 * math/w_j1.c: Likewise.
37387 * math/w_j1f.c: Likewise.
37388 * math/w_j1l.c: Likewise.
37389 * math/w_jn.c: Likewise.
37390 * math/w_jnf.c: Likewise.
37391 * math/w_log.c: Likewise.
37392 * math/w_log10.c: Likewise.
37393 * math/w_log10f.c: Likewise.
37394 * math/w_log10l.c: Likewise.
37395 * math/w_log2.c: Likewise.
37396 * math/w_log2f.c: Likewise.
37397 * math/w_log2l.c: Likewise.
37398 * math/w_logf.c: Likewise.
37399 * math/w_logl.c: Likewise.
37400 * math/w_sqrt.c: Likewise.
37401 * math/w_sqrtf.c: Likewise.
37402 * math/w_sqrtl.c: Likewise.
37403 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37404 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37405 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37406 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37407 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37408
ebaf36eb
JM
374092012-02-19 Joseph Myers <joseph@codesourcery.com>
37410
37411 [BZ #9739]
37412 * manual/string.texi (strnlen): Use correct parameter name in
37413 equivalent expression.
37414
71c254a6
JM
374152012-02-19 Joseph Myers <joseph@codesourcery.com>
37416
37417 [BZ #11174]
37418 * manual/users.texi (seteuid): Consistently use neweuid for
37419 argument name.
37420
16d2c631
JM
374212012-02-19 Joseph Myers <joseph@codesourcery.com>
37422
37423 [BZ #13704]
37424 * manual/nss.texi (Services in the NSS configuration): Correct
37425 list of services in example configuration file.
37426
cd837b09
NB
374272012-02-19 Nick Bowler <nbowler@draconx.ca>
37428
37429 [BZ #11322]
37430 * manual/arith.texi: Remove statements about negative zero
37431 behaving identically to zero.
37432
02c4bbad
JM
374332012-02-18 Joseph Myers <joseph@codesourcery.com>
37434
37435 [BZ #5993]
37436 * manual/install.texi: Do not document upgrading from libc5.
37437
366842e7
JM
374382012-02-18 Joseph Myers <joseph@codesourcery.com>
37439
37440 [BZ #4596]
37441 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37442
dd54084d
DM
374432012-02-18 David S. Miller <davem@davemloft.net>
37444
37445 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37446 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37447 %o7 across the call.
37448 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37449 instead.
37450 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37451 SETUP_PIC_REG_LEAF.
37452 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37453 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37454 * sysdeps/sparc/crtn.S: Likewise.
37455
2bcc53a3
UD
374562012-02-17 Ulrich Drepper <drepper@gmail.com>
37457
37458 * aout/Makefile: Remove.
37459
09c093b5
RK
374602012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37461
37462 [BZ #13058]
37463 * manual/examples/argp-ex1.c (main): Format definition in GNU
37464 style.
37465 * manual/examples/argp-ex2.c (main): Likewise.
37466 * manual/examples/argp-ex3.c (main): Likewise.
37467 * manual/examples/argp-ex4.c (main): Likewise.
37468 * manual/examples/longopt.c (main): Use new-style prototype
37469 definition.
37470 * manual/examples/strncat.c (main): Specify return type and use
37471 (void) for arguments.
37472 * manual/examples/subopt.c (main): Use char **argv argument.
37473
2ee633a2
JM
374742012-02-17 Joseph Myers <joseph@codesourcery.com>
37475
37476 [BZ #5077]
37477 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37478 rounding modes.
37479
0520adde
FB
374802012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37481
37482 [BZ #6907]
37483 * manual/string.texi (strchr): Change when strchrnul is
37484 recommended.
37485
3f4081cd
DGM
374862012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37487
37488 [BZ #174]
37489 * manual/locale.texi (setlocale): Document LOCPATH.
37490
d1b10e78
JM
374912012-02-17 Joseph Myers <joseph@codesourcery.com>
37492
37493 [BZ #10210]
37494 * manual/process.texi (execle): Move @dots{} before last argument.
37495
79c6869c
PB
374962012-02-17 Paul Bolle <pebolle@tiscali.nl>
37497
37498 [BZ #12047]
37499 * manual/charset.texi (Generic Charset Conversion): Fix typo
37500 (LC_TYPE -> LC_CTYPE).
37501
cc6e48bc
NB
375022012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37503
37504 [BZ #5805]
37505 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37506 (scalbnf): Likewise.
37507 (scalbnl): Likewise.
37508 (scalbln): Likewise.
37509 (scalblnf): Likewise.
37510 (scalblnl): Likewise.
37511 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37512 (vwarnx): Likewise.
37513 (verr): Likewise.
37514 (verrx): Likewise.
37515 * manual/filesys.texi (telldir): Use braces around return type.
37516 * manual/llio.texi (mmap): Add space after comma.
37517 (mmap64): Likewise.
37518 * manual/math.texi (jn): Use @var{} on parameter names.
37519 (jnf): Likewise.
37520 (jnl): Likewise.
37521 (yn): Likewise.
37522 (ynf): Likewise.
37523 (ynl): Likewise.
37524 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37525 line.
37526 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37527 "...".
37528 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37529 (sched_get_priority_max): Likewise.
37530 * manual/signal.texi (sigvec): Add space after comma.
37531 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37532 names.
37533 (if_indextoname): Likewise.
37534 (if_freenameindex): Likewise.
37535 (sendto): Use ',' instead of '.' in prototype.
37536 * manual/startup.texi (syscall): Use @dots{} instead of literal
37537 "...".
37538 * manual/stdio.texi (__fpending): Separate initial words of
37539 paragraph from @deftypefun line.
37540 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37541 "...".
37542 (vsyslog): Use @var{} on parameter names.
37543 * manual/terminal.texi (stty): Use @var{} on parameter names.
37544 * manual/users.texi (getutmp): Use @var{} on parameter names.
37545 (getutmpx): Likewise.
37546
5b23062f
JM
375472012-02-17 Joseph Myers <joseph@codesourcery.com>
37548
37549 [BZ #6884]
37550 * manual/stdio.texi (fopen): Fix typos in description of
37551 ",ccs=STRING".
37552
8dee4833
AJ
375532012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37554
37555 [BZ #4026]
37556 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37557 get clock_id definition.
37558
9078ce93
TS
375592012-02-17 Thomas Schwinge <thomas@schwinge.name>
37560
37561 [BZ #4822]
37562 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37563 (madvise): Cast every argument to void on its own.
37564
3835c55f
JM
375652012-02-17 Joseph Myers <joseph@codesourcery.com>
37566
37567 [BZ #9902]
37568 * manual/startup.texi (Exit Status): Fix typo.
37569
35c47e37
JM
375702012-02-17 Joseph Myers <joseph@codesourcery.com>
37571
37572 [BZ #10140]
37573 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37574 * manual/examples/argp-ex2.c: Likewise.
37575 * manual/examples/argp-ex3.c: Likewise.
37576
e3b69ca7
RH
375772012-02-16 Richard Henderson <rth@redhat.com>
37578
37579 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37580 * sysdeps/s390/s390-32/initfini.c: Remove.
37581 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37582 * sysdeps/s390/s390-64/initfini.c: Remove.
37583
df83af67
KK
375842012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37585
37586 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37587 compiler output for sysdeps/generic/initfini.c.
37588 * sysdeps/sh/elf/initfini.c: Remove file.
37589
f63f3380
DM
375902012-02-16 David S. Miller <davem@davemloft.net>
37591
fb59b3a4
DM
37592 [BZ #11494]
37593 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37594
f63f3380
DM
37595 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37596 * sysdeps/sparc/crti.S: New file.
37597 * sysdeps/sparc/crtn.S: New file.
37598 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37599 * sysdeps/sparc/sparc64/Makefile: Likewise.
37600
df6a4a4a
MF
376012012-02-15 Mike Frysinger <vapier@gentoo.org>
37602
6dd8f3dc 37603 [BZ #3335]
df6a4a4a
MF
37604 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37605
1cac7236
RM
376062012-02-15 Roland McGrath <roland@hack.frob.com>
37607
d2c736f8
RM
37608 [BZ #4822]
37609 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37610
1cac7236
RM
37611 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37612 (write, read, close): Likewise.
37613 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37614
8e475601
JM
376152012-02-15 Joseph Myers <joseph@codesourcery.com>
37616
37617 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37618 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37619 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37620 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37621 <bits/signalfd.h>.
37622 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37623 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37624 bits/signalfd.h.
37625
ed656b40
MP
376262012-02-14 Marek Polacek <polacek@redhat.com>
37627
37628 * sysdeps/x86_64/crti.S: New file.
37629 * sysdeps/x86_64/crtn.S: New file.
37630 * sysdeps/x86_64/elf/initfini.c: Remove file.
37631
2a979d3a
JM
376322012-02-13 Joseph Myers <joseph@codesourcery.com>
37633
37634 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37635 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37636 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37637 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37638 <bits/inotify.h>.
37639 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37641 bits/inotify.h.
37642
2a418ac3
JM
376432012-02-13 Joseph Myers <joseph@codesourcery.com>
37644
37645 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37646 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37647 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37648 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37649 <bits/eventfd.h>.
37650 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37651 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37652 bits/eventfd.h.
37653
fb779be7
TS
376542012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37655
e19e83c5
RM
37656 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37657 __feraiseexcept instead of feraiseexcept.
7c35ffed 37658
fb779be7
TS
37659 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37660 nanosleep invocations.
37661 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37662 strings, and add error checking for a nanosleep invocations.
37663
59ba27a6
PE
376642012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37665
37666 Replace FSF snail mail address with URLs, as per GNU coding standards.
37667 Most of the snail mail addresses were wrong anyway, and omitting
37668 them makes the source code easier to maintain. Almost all of the
37669 changes are to license notices and to locale LC_IDENTIFICATION
37670 addresses, except for this one:
37671 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37672 not its snail mail address.
37673
57b957eb
RH
376742012-02-09 Richard Henderson <rth@twiddle.net>
37675
af850b1c
RH
37676 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37677 of kernel-features.h.
37678
57b957eb
RH
37679 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37680
6b73181a
MP
376812012-02-08 Marek Polacek <polacek@redhat.com>
37682
37683 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37684 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37685 * sysdeps/gnu/_G_config.h: Likewise.
37686 * sysdeps/generic/_G_config.h: Likewise.
37687
26ecc33a
AS
376882012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37689
6c6dbc63
AS
37690 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37691 tests.
37692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37693
e216c012
AS
37694 * sysdeps/powerpc/powerpc32/crti.S: New file.
37695 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37696 * sysdeps/powerpc/powerpc64/crti.S: New file.
37697 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37698
26ecc33a
AS
37699 * Makeconfig (have-initfini): Don't set.
37700 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37701 * configure.in (nopic_initfini): Don't substitute.
37702 * config.h.in (HAVE_INITFINI): Don't #undef.
37703 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37704 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37705
3add8e13
JM
377062012-02-08 Joseph Myers <joseph@codesourcery.com>
37707
37708 Support crti.S and crtn.S provided directly by architectures.
37709 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37710 [crti.S in sysdirs] (omit-deps): Likewise.
37711 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37712 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37713 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37714 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37715 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37716 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37717 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37718 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37719 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37720 compiler output for sysdeps/generic/initfini.c.
37721 * sysdeps/i386/elf/Makefile: Remove file.
37722 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37723
a22f12b4
MP
377242012-02-07 Marek Polacek <polacek@redhat.com>
37725
37726 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37727 * sysdeps/gnu/_G_config.h: Likewise.
37728 * sysdeps/mach/hurd/_G_config.h: Likewise.
37729
148cf100
MP
377302012-02-07 Marek Polacek <polacek@redhat.com>
37731
37732 * math/Makefile (tests): Add tst-CMPLX2.
37733 * math/tst-CMPLX2.c: New file.
37734
cfdc0dd7
AS
377352012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37736
84ba42c4
AS
37737 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37738
cfdc0dd7
AS
37739 * math/libm-test.inc (jn_test): Add missing L suffix.
37740
622c86f4
MP
377412012-02-06 Marek Polacek <polacek@redhat.com>
37742
37743 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37744 * sysdeps/i386/fpu/e_powf.S: Likewise.
37745 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37746 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37747 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37748 * sysdeps/i386/fpu/e_pow.S: Likewise.
37749 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37750 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37751 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37752 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37753 * sysdeps/i386/fpu/e_log2.S: Likewise.
37754 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37755 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37756 * sysdeps/i386/fpu/e_powl.S: Likewise.
37757 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37758 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37759 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37760 * sysdeps/i386/fpu/e_logl.S: Likewise.
37761 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37762 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37763 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37764 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37765 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37766 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37767 * sysdeps/i386/fpu/e_log.S: Likewise.
37768 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37769 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37770 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37771 * sysdeps/i386/fpu/e_logf.S: Likewise.
37772 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37773 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37774 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37775 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37776 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37777 * sysdeps/i386/fpu/e_log10.S: Likewise.
37778 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37779 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37780 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37781 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37782 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37783 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37784 * sysdeps/i386/asm-syntax.h: Likewise.
37785 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37786 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37787 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37788 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37789 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37790 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37791 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37792 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37793 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37794 * sysdeps/powerpc/sysdep.h: Likewise.
37795 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37796 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37797
d4a54ac6
JM
377982012-02-06 Joseph Myers <joseph@codesourcery.com>
37799
37800 [BZ #411]
37801 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37802
314054ea
JM
378032012-02-06 Joseph Myers <joseph@codesourcery.com>
37804
37805 * sysdeps/i386/sysdep.h: Include <features.h>.
37806 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37807 version.
37808
d8e0ca50
JM
378092012-02-05 Joseph Myers <joseph@codesourcery.com>
37810
37811 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37812 Define.
37813 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37814 LOAD_PIC_REG_STR.
37815
b1da7dd9
JM
378162012-02-03 Joseph Myers <joseph@codesourcery.com>
37817
37818 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37819 (SETUP_PIC_REG): Use GET_PC_THUNK.
37820 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37821 macro.
37822
9a1d9254
JM
378232012-02-03 Joseph Myers <joseph@codesourcery.com>
37824
37825 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37826 for non-PIC compilation.
37827 (SETUP_PIC_REG): Add .p2align directive.
37828 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37829 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37830 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37831 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37832 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37833 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37834 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37835 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37836 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37837 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37838 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37839 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37840 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37841 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37842 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37843 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37844 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37845 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37846 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37847 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37848 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37849 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37850 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37851 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37852 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37853 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37854 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37855 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37856 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37857 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37858 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37859 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37860 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37861 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37862 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37863 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37864 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37865 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37866 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37867 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37868 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37869
65dc3b75
JM
378702012-02-03 Joseph Myers <joseph@codesourcery.com>
37871
37872 * math/tst-CMPLX.c: Include <stdio.h>.
37873
d55bf177
JM
378742012-01-31 Joseph Myers <joseph@codesourcery.com>
37875
37876 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37877 float.
37878 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37879 * sysdeps/sparc/bits/mathdef.h: Likewise.
37880
69db4f8f
MP
378812012-01-31 Marek Polacek <polacek@redhat.com>
37882
37883 * libio/libio.h: Don't define _PARAMS.
37884 * locale/programs/config.h: Don't define PARAMS.
37885 * stdlib/strtol_l.c: Likewise.
37886 (__strtol_l): Remove PARAMS from the prototype.
37887
41b81892
UD
378882012-01-31 Ulrich Drepper <drepper@gmail.com>
37889
3b49edc0
UD
37890 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37891 names. Just use the correct names. Remove unnecessary wrapper
37892 functions.
37893 * malloc/arena.c: Likewise.
37894 * malloc/hooks.c: Likewise.
37895
41b81892
UD
37896 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37897 ARENA_TEST says not to. Simplify test for creation of a new arena.
37898 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37899
27a25b6e
UD
379002012-01-30 Ulrich Drepper <drepper@gmail.com>
37901
37902 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37903 into tail calls.
37904 (update_get_addr): New function.
37905 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37906 GET_ADDR_MODULE parameter.
37907
c8a89e7d
JM
379082012-01-30 Joseph Myers <joseph@codesourcery.com>
37909
37910 * crypt/cert.c: Remove __STDC__ conditionals.
37911 * crypt/crypt-entry.c: Likewise.
37912 * crypt/crypt_util.c: Likewise.
37913 * libio/filedoalloc.c: Likewise.
37914 * libio/fileops.c: Likewise.
37915 * libio/genops.c: Likewise.
37916 * libio/iofclose.c: Likewise.
37917 * libio/iofdopen.c: Likewise.
37918 * libio/iofopen.c: Likewise.
37919 * libio/iofopen64.c: Likewise.
37920 * libio/iogetdelim.c: Likewise.
37921 * libio/iopopen.c: Likewise.
37922 * libio/obprintf.c: Likewise.
37923 * libio/oldfileops.c: Likewise.
37924 * libio/oldiofclose.c: Likewise.
37925 * libio/oldiofdopen.c: Likewise.
37926 * libio/oldiofopen.c: Likewise.
37927 * libio/oldiopopen.c: Likewise.
37928 * libio/wfiledoalloc.c: Likewise.
37929 * libio/wgenops.c: Likewise.
37930 * locale/programs/xmalloc.c: Likewise.
37931 * misc/syslog.c: Likewise.
37932 * stdio-common/xbug.c: Likewise.
37933 * string/memchr.c: Likewise.
37934 * string/memcmp.c: Likewise.
37935 * string/memrchr.c: Likewise.
37936 * string/rawmemchr.c: Likewise.
37937 * sysdeps/posix/getcwd.c: Likewise.
37938 * time/strftime_l.c: Likewise.
37939
3b100462
JM
379402012-01-30 Joseph Myers <joseph@codesourcery.com>
37941
37942 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
37943 * config.make.in (config-cflags-sse2avx): Define.
37944 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37945 Fix typo.
37946
607998af
CM
379472012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37948
37949 * scripts/config.guess: Update from upstream config git repository.
37950 * scripts/config.sub: Likewise.
37951
3601428f
CM
379522012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37953
3ac8b282
CM
37954 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37955 (EM_NUM): Update.
37956 (R_TILEPRO_*, R_TILEGX_*): New macros.
37957
e034841e
CM
37958 * scripts/firstversions.awk: Fix bug in version range handling.
37959
540d7568
CM
37960 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37961
3601428f
CM
37962 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37963
463de862
CM
37964 * include/sys/epoll.h: New file.
37965 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37966 libc_hidden_def.
37967
73139a76
UD
379682012-01-28 Ulrich Drepper <drepper@gmail.com>
37969
96bc5b45
UD
37970 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37971 Avoid unnecessary __WORDSIZE == 64 test.
37972 (fmaxf): Use VEX format if possible.
37973 (fmax): Likewise.
37974 (fminf): Likewise.
37975 (fmin): Likewise.
37976
56f6f6a2
UD
37977 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37978 * math/math_private.h: Remove libc_fegetround* and
37979 libc_fesetround*.
37980 * sysdeps/i386/configure.in: Check for -msse2avx.
37981 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37982 also if SSE2AVX is defined.
37983 Remove libc_fegetround* and libc_fesetround*.
37984 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37985 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
37986 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37987 of HAS_YMM_USABLE.
37988 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37989 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37990 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37991 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37992 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37993
73139a76
UD
37994 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37995
d73f93a4
AZ
379962012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37997
37998 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37999 size is not set.
38000 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38001
6ee65ed6
UD
380022012-01-27 Ulrich Drepper <drepper@gmail.com>
38003
38004 [BZ #13618]
38005 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38006 relocation.
38007 * Makeconfig (libm): Define.
38008 * elf/Makefile: Add rules to build and run tst-relsort1.
38009 * elf/tst-relsort1.c: New file.
38010 * elf/tst-relsort1mod1.c: New file.
38011 * elf/tst-relsort1mod2.c: New file.
38012
8db21882
JM
380132012-01-27 Joseph Myers <joseph@codesourcery.com>
38014
38015 * math/s_ldexp.c: Remove __STDC__ conditionals.
38016 * math/s_ldexpf.c: Likewise.
38017 * math/s_ldexpl.c: Likewise.
38018 * math/s_nextafter.c: Likewise.
38019 * math/s_nexttowardf.c: Likewise.
38020 * math/s_significand.c: Likewise.
38021 * math/s_significandf.c: Likewise.
38022 * math/s_significandl.c: Likewise.
38023 * math/w_jnl.c: Likewise.
38024 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38025 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38026 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38027 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38028 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38029 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38030 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38031 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38032 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38033 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38034 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38035 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38036 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38037 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38038 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38039 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38040 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38041 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38043 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38044 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38045 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38046 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38047 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38048 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38049 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38050 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38051 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38052 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38053 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38054 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38055 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38056 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38057 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38058 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38059 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38060 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38061 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38062 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38063 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38064 * sysdeps/ieee754/k_standard.c: Likewise.
38065 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38066 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38067 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38068 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38069 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38070 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38071 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38072 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38073 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38074 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38075 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38076 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38077 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38078 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38079 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38080 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38081 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38082 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38083 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38084 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38085 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38086 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38087 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38088 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38089 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38090 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38091 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38092 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38093 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38094 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38095 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38096 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38097 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38098 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38099 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38100 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38101 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38102 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38103 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38104 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38105 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38106 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38107 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38108 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38109 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38110 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38111 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38112 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38113 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38114 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38115 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38116 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38117 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38118 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38119 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38120 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38121 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38122 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38123 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38124 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38125 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38126 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38127 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38128 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38129 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38130 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38131 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38132 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38133 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38134 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38135 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38136 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38137 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38138 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38139 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38140 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38141 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38142 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38143 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38144 * sysdeps/ieee754/s_matherr.c: Likewise.
38145 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38146 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38147 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38148 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38149
965a54a4
JM
381502012-01-26 Joseph Myers <joseph@codesourcery.com>
38151
38152 * crypt/md5.h: Remove __STDC__ conditionals.
38153 * libio/libioP.h: Likewise.
38154 * locale/programs/config.h: Likewise.
38155 * sysdeps/generic/sysdep.h: Likewise.
38156 * sysdeps/i386/asm-syntax.h: Likewise.
38157 * sysdeps/s390/asm-syntax.h: Likewise.
38158 * sysdeps/unix/sysdep.h: Likewise.
38159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38161
7071ad79
JM
381622012-01-26 Joseph Myers <joseph@codesourcery.com>
38163
38164 * libio/libio.h: Remove __STDC__ conditionals.
38165 * malloc/obstack.h: Likewise.
38166 * math/complex.h: Likewise.
38167 * math/math.h: Likewise.
38168 * sysdeps/generic/_G_config.h: Likewise.
38169 * sysdeps/gnu/_G_config.h: Likewise.
38170 * sysdeps/mach/hurd/_G_config.h: Likewise.
38171 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38172 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38173 * sysdeps/sparc/bits/mathdef.h: Likewise.
38174
afc5ed09
UD
381752012-01-26 Ulrich Drepper <drepper@gmail.com>
38176
38177 [BZ #13583]
38178 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 38179 Clean up HAS_* macros.
afc5ed09 38180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
38181 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38182 possible.
38183 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38184 HAS_AVX.
38185 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38186 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38187 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38188 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38189 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 38190
bdb6de1d
JM
381912012-01-25 Joseph Myers <joseph@codesourcery.com>
38192
38193 * elf/tst-unique3.cc (gets): Remove declaration.
38194 * elf/tst-unique3lib.cc (gets): Likewise.
38195 * elf/tst-unique3lib2.cc (gets): Likewise.
38196 * elf/tst-unique4.cc (gets): Likewise.
38197
b15549e6
UD
381982012-01-24 Ulrich Drepper <drepper@gmail.com>
38199
38200 * include/stdio.h: Add C++ protection. Add gets declarations and
38201 definitions.
38202 * debug/tst-chk1.c: Don't declare gets here.
38203 * stdio-common/tst-gets.c: Likewise.
38204
a037381f
JM
382052012-01-24 Joseph Myers <joseph@codesourcery.com>
38206
38207 * posix/glob: Remove directory.
38208
f1d4aa75
JM
382092012-01-24 Joseph Myers <joseph@codesourcery.com>
38210
38211 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38212
81c0c964
PT
382132012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38214
38215 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38216 of the non-standard EPFNOSUPPORT.
38217
0ea698ae
ST
382182011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38219
38220 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38221 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38222 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38223
d220b117
UD
382242012-01-21 Ulrich Drepper <drepper@gmail.com>
38225
38226 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38227
3e1aa84e
UD
382282012-01-20 Ulrich Drepper <drepper@gmail.com>
38229
38230 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38231 transient errors.
38232 * nscd/grpcache.c (cache_addgr): Likewise.
38233 * nscd/hstcache.c (cache_addhst): Likewise.
38234 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38235 * nscd/pwdcache.c (cache_addpw): Likewise.
38236 * nscd/servicescache.c (cache_addserv): Likewise.
38237
400aa020
UD
382382012-01-16 Ulrich Drepper <drepper@gmail.com>
38239
d77e7869
UD
38240 * malloc/malloc.c: Various cleanups.
38241 * malloc/hooks.c: Likewise.
38242
400aa020
UD
38243 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38244 * stdlib/bug-fmtmsg1.c: New file.
38245
38246 * stdlib/fmtmsg.c (init): Add missing unlock.
38247 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38248
e0a309cf
MP
382492012-01-12 Marek Polacek <polacek@redhat.com>
38250
38251 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38252 and _GNU_SOURCE.
38253
929d11c7
WS
382542012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38255
38256 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38257 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38258 macro to ensure uniqueness of label name.
38259 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38260 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38261
41d0e869
UD
382622012-01-11 Ulrich Drepper <drepper@gmail.com>
38263
0cc5ed3b
UD
38264 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38265
41d0e869
UD
38266 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38267 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38268 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38269 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38270
a47a831a
UD
382712012-01-10 Ulrich Drepper <drepper@gmail.com>
38272
daa891c0
UD
38273 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38274
38275 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38276 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38277 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38278
e58ef0f2
UD
38279 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38280
a47a831a 38281 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
38282 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38283 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 38284 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
38285
38286 * math/bits/math-finite.h: Add ldexp support.
38287
a0bfc9c7
MP
382882012-01-10 Marek Polacek <polacek@redhat.com>
38289
38290 * locale/programs/localedef.h (show_archive_content): Add noreturn
38291 attribute.
38292
d6e97a1d
UD
382932012-01-09 Ulrich Drepper <drepper@gmail.com>
38294
38295 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38296
d5835c26
UD
382972012-01-08 Ulrich Drepper <drepper@gmail.com>
38298
e5f484c6
UD
38299 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38300
d5835c26
UD
38301 * io/Makefile (headers): Add bits/poll2.h.
38302
d1f741e9
WS
383032011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38304
38305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38306 typo #include statement.
38307
ec09c1c4
UD
383082012-01-08 Ulrich Drepper <drepper@gmail.com>
38309
38310 * include/sys/cdefs.h: Define __attribute_alloc_size.
38311 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38312 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38313 * elf/pldd.c: Likewise.
38314 * iconv/iconv_charmap.c: Likewise.
38315 * iconv/iconvconfig.c: Likewise.
38316 * iconv/strtab.c: Likewise.
38317 * locale/programs/locale.c: Likewise.
38318 * locale/programs/localedef.h: Likewise.
38319 * locale/programs/simple-hash.c: Likewise.
38320 * nscd/nscd.h: Likewise.
38321 * nss/makedb.c: Likewise.
38322 * sysdeps/generic/ldconfig.h: Likewise.
38323 * locale/programs/localedef.c: Remove xmalloc prototype.
38324 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38325
20b38e03
PP
383262012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38327
38328 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38329 appropriate.
38330
a0da5fe1
UD
383312012-01-08 Ulrich Drepper <drepper@gmail.com>
38332
1d5a644a 38333 * math/Makefile (tests): Add tst-CMPLX.
669704fd 38334 * math/tst-CMPLX.c: New file.
1d5a644a 38335
8784a6db
UD
38336 * math/complex.h (CMPLXL): Fix typo.
38337
d9a216c0
UD
38338 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38339 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38340 GLIBC_2.16.
38341 * debug/tst-chk1.c: Add poll and ppoll tests.
38342 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38343 * include/sys/poll.h: Add hidden proto for ppoll.
38344 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38345 * sysdeps/mach/hurd/ppoll.c: Likewise.
38346 * io/ppoll.c: Likewise.
38347 * debug/poll_chk.c: New file.
38348 * debug/ppoll_chk.c: New file.
38349 * include/bits/poll2.h: New file.
38350 * io/bits/poll2.h: New file.
38351
ac097f5c
UD
38352 [BZ #1350]
38353 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38354
2119dcfa
UD
38355 * configure.in: static is always set to yes. Remove.
38356 * config.make.in: Don't set build-static.
38357 * Makeconfig: Remove use of build-static.
38358 * dlfcn/Makefile: Likewise.
38359 * elf/Makefile: Likewise.
38360 * math/Makefile: Likewise.
38361 * misc/Makefile: Likewise.
38362 * nptl/Makefile: Likewise.
38363 * sysdeps/mach/hurd/Makefile: Likewise.
38364
121766a9
UD
38365 * configure.in: PWD_P is not used anymore.
38366 * config.make.in: Remove PWD_P entry.
38367
51a1d39c 38368 * configure.in: Remove last remnants of RANLIB.
8720d066 38369 No need to check for signed size_t anymore.
215f4bdc
UD
38370 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38371 and IA-64.
3857022a 38372 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
38373 * aclocal.m4: Likewise.
38374
d3ed7225
UD
38375 * wcsmbs/mbrtoc16.c: Implement using towc function.
38376 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38377 * wcsmbs/wcsmbsload.c: Likewise.
38378 * iconv/gconv_simple.c: Likewise.
38379 * iconv/gconv_int.h: Likewise.
38380 * iconv/gconv_builtin.h: Likewise.
38381 * iconv/iconv_prog.c: Remove CHAR16 handling.
38382
38383 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38384
38385 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38386
a0da5fe1
UD
38387 * configure.in: Remove --with-elf and --enable-bounded options.
38388 Dont set base_machine for ia64. More non-ELF conditions removed.
38389 Remove testing and setting of leading underscore information.
38390 * config.make.in (build-bounded): Set to no.
38391 * config.h.in: Remove NO_UNDERSCORES entry.
38392 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38393 them.
38394 * csu/start.c: Remove !NO_UNDERSCORE code.
38395 * locale/localeinfo.h: Likewise.
38396 * sysdeps/generic/machine-gmon.h: Likewise.
38397 * sysdeps/generic/sysdep.h: Likewise.
38398 * sysdeps/i386/sysdep.h: Likewise.
38399 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38400 * sysdeps/mach/sysdep.h: Likewise.
38401 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38402 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38403 * sysdeps/sh/sysdep.h: Likewise.
38404 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38405 * sysdeps/unix/i386/sysdep.S: Likewise.
38406 * sysdeps/unix/sparc/start.c: Likewise.
38407 * sysdeps/unix/sparc/sysdep.S: Likewise.
38408 * sysdeps/unix/sparc/sysdep.h: Likewise.
38409 * sysdeps/unix/start.c: Likewise.
38410 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38411 * sysdeps/x86_64/sysdep.h: Likewise.
38412
df78418a
UD
384132012-01-07 Ulrich Drepper <drepper@gmail.com>
38414
a784e502
UD
38415 [BZ #13553]
38416 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38417 for non-gcc.
38418 * argp/argp-fmtstream.h: Use const instead __const.
38419 * argp/argp.h: Likewise.
38420 * assert/assert.h: Likewise.
38421 * bits/fenv.h: Likewise.
38422 * bits/sched.h: Likewise.
38423 * bits/sigset.h: Likewise.
38424 * bits/sigthread.h: Likewise.
38425 * catgets/nl_types.h: Likewise.
38426 * conform/data/pthread.h-data: Likewise.
38427 * crypt/crypt-private.h: Likewise.
38428 * crypt/crypt.h: Likewise.
38429 * crypt/crypt_util.c: Likewise.
38430 * ctype/ctype.h: Likewise.
38431 * debug/execinfo.h: Likewise.
38432 * debug/mbsnrtowcs_chk.c: Likewise.
38433 * debug/mbsrtowcs_chk.c: Likewise.
38434 * debug/wcsnrtombs_chk.c: Likewise.
38435 * debug/wcsrtombs_chk.c: Likewise.
38436 * debug/wcstombs_chk.c: Likewise.
38437 * dirent/dirent.h: Likewise.
38438 * dlfcn/dlfcn.h: Likewise.
38439 * elf/neededtest4.c: Likewise.
38440 * grp/grp.h: Likewise.
38441 * gshadow/gshadow.h: Likewise.
38442 * iconv/gconv.h: Likewise.
38443 * iconv/gconv_int.h: Likewise.
38444 * iconv/gconv_simple.c: Likewise.
38445 * iconv/iconv.h: Likewise.
38446 * iconv/loop.c: Likewise.
38447 * iconv/skeleton.c: Likewise.
38448 * include/aio.h: Likewise.
38449 * include/aliases.h: Likewise.
38450 * include/argz.h: Likewise.
38451 * include/arpa/inet.h: Likewise.
38452 * include/assert.h: Likewise.
38453 * include/dirent.h: Likewise.
38454 * include/dlfcn.h: Likewise.
38455 * include/execinfo.h: Likewise.
38456 * include/fcntl.h: Likewise.
38457 * include/fenv.h: Likewise.
38458 * include/glob.h: Likewise.
38459 * include/grp.h: Likewise.
38460 * include/libintl.h: Likewise.
38461 * include/mntent.h: Likewise.
38462 * include/netdb.h: Likewise.
38463 * include/pwd.h: Likewise.
38464 * include/rpc/netdb.h: Likewise.
38465 * include/sched.h: Likewise.
38466 * include/search.h: Likewise.
38467 * include/shadow.h: Likewise.
38468 * include/signal.h: Likewise.
38469 * include/stdio.h: Likewise.
38470 * include/stdlib.h: Likewise.
38471 * include/string.h: Likewise.
38472 * include/sys/socket.h: Likewise.
38473 * include/sys/stat.h: Likewise.
38474 * include/sys/statfs.h: Likewise.
38475 * include/sys/statvfs.h: Likewise.
38476 * include/sys/syslog.h: Likewise.
38477 * include/sys/time.h: Likewise.
38478 * include/sys/uio.h: Likewise.
38479 * include/time.h: Likewise.
38480 * include/unistd.h: Likewise.
38481 * include/utmp.h: Likewise.
38482 * include/wchar.h: Likewise.
38483 * include/wctype.h: Likewise.
38484 * inet/aliases.h: Likewise.
38485 * inet/arpa/inet.h: Likewise.
38486 * inet/netinet/ether.h: Likewise.
38487 * inet/netinet/in.h: Likewise.
38488 * intl/libintl.h: Likewise.
38489 * io/bits/fcntl2.h: Likewise.
38490 * io/fcntl.h: Likewise.
38491 * io/ftw.h: Likewise.
38492 * io/sys/poll.h: Likewise.
38493 * io/sys/stat.h: Likewise.
38494 * io/sys/statfs.h: Likewise.
38495 * io/sys/statvfs.h: Likewise.
38496 * io/utime.h: Likewise.
38497 * libio/bits/stdio.h: Likewise.
38498 * libio/bits/stdio2.h: Likewise.
38499 * libio/libio.h: Likewise.
38500 * libio/libioP.h: Likewise.
38501 * libio/stdio.h: Likewise.
38502 * locale/lc-ctype.c: Likewise.
38503 * locale/locale.h: Likewise.
38504 * login/utmp.h: Likewise.
38505 * malloc/arena.c: Likewise.
38506 * malloc/malloc.c: Likewise.
38507 * malloc/malloc.h: Likewise.
38508 * malloc/mcheck.c: Likewise.
38509 * malloc/mtrace.c: Likewise.
38510 * math/bits/mathcalls.h: Likewise.
38511 * math/fenv.h: Likewise.
38512 * math/math_private.h: Likewise.
38513 * misc/bits/error.h: Likewise.
38514 * misc/bits/syslog.h: Likewise.
38515 * misc/err.h: Likewise.
38516 * misc/error.h: Likewise.
38517 * misc/fstab.h: Likewise.
38518 * misc/mntent.h: Likewise.
38519 * misc/regexp.h: Likewise.
38520 * misc/search.h: Likewise.
38521 * misc/sgtty.h: Likewise.
38522 * misc/sys/mman.h: Likewise.
38523 * misc/sys/syslog.h: Likewise.
38524 * misc/sys/uio.h: Likewise.
38525 * misc/sys/xattr.h: Likewise.
38526 * misc/ttyent.h: Likewise.
38527 * nis/rpcsvc/ypclnt.h: Likewise.
38528 * nss/nss.h: Likewise.
38529 * posix/bits/unistd.h: Likewise.
38530 * posix/fnmatch.h: Likewise.
38531 * posix/glob.h: Likewise.
38532 * posix/sched.h: Likewise.
38533 * posix/spawn.h: Likewise.
38534 * posix/sys/wait.h: Likewise.
38535 * posix/unistd.h: Likewise.
38536 * posix/wordexp.h: Likewise.
38537 * pwd/pwd.h: Likewise.
38538 * resolv/netdb.h: Likewise.
38539 * resource/sys/resource.h: Likewise.
38540 * rt/aio.h: Likewise.
38541 * rt/bits/mqueue2.h: Likewise.
38542 * rt/mqueue.h: Likewise.
38543 * shadow/shadow.h: Likewise.
38544 * signal/signal.h: Likewise.
38545 * socket/send.c: Likewise.
38546 * socket/sendto.c: Likewise.
38547 * socket/sys/socket.h: Likewise.
38548 * stdio-common/printf.h: Likewise.
38549 * stdlib/bits/stdlib.h: Likewise.
38550 * stdlib/fmtmsg.h: Likewise.
38551 * stdlib/monetary.h: Likewise.
38552 * stdlib/stdlib.h: Likewise.
38553 * stdlib/ucontext.h: Likewise.
38554 * streams/stropts.h: Likewise.
38555 * string/argz.h: Likewise.
38556 * string/bits/string2.h: Likewise.
38557 * string/string.h: Likewise.
38558 * string/strings.h: Likewise.
38559 * sunrpc/rpc/auth.h: Likewise.
38560 * sunrpc/rpc/auth_des.h: Likewise.
38561 * sunrpc/rpc/clnt.h: Likewise.
38562 * sunrpc/rpc/netdb.h: Likewise.
38563 * sunrpc/rpc/pmap_clnt.h: Likewise.
38564 * sunrpc/rpc/xdr.h: Likewise.
38565 * sysdeps/generic/inttypes.h: Likewise.
38566 * sysdeps/generic/net/if.h: Likewise.
38567 * sysdeps/generic/sys/swap.h: Likewise.
38568 * sysdeps/gnu/net/if.h: Likewise.
38569 * sysdeps/gnu/utmpx.h: Likewise.
38570 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38571 * sysdeps/i386/i486/bits/string.h: Likewise.
38572 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38573 * sysdeps/s390/bits/string.h: Likewise.
38574 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38575 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38576 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38577 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38578 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38579 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38580 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38581 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38582 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38583 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38584 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38585 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38586 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38587 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38588 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38589 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38590 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38591 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38592 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38593 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38594 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38595 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38596 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38597 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38598 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38599 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38600 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38601 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38602 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38603 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38604 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38605 * sysvipc/sys/ipc.h: Likewise.
38606 * sysvipc/sys/msg.h: Likewise.
38607 * sysvipc/sys/sem.h: Likewise.
38608 * sysvipc/sys/shm.h: Likewise.
38609 * termios/termios.h: Likewise.
38610 * time/sys/time.h: Likewise.
38611 * time/time.h: Likewise.
38612 * wcsmbs/bits/wchar2.h: Likewise.
38613 * wcsmbs/uchar.h: Likewise.
38614 * wcsmbs/wchar.h: Likewise.
38615 * wctype/wctype.h: Likewise.
38616
0269750c
UD
38617 [BZ #13551]
38618 * Makeconfig: Remove all but ELF support including AIX support.
38619 * Makerules: Likewise.
38620 * config.h.in: Likewise.
38621 * config.make.in: Likewise.
38622 * configure: Likewise.
38623 * configure.in: Likewise.
38624 * csu/Makefile: Likewise.
38625 * csu/version.c: Likewise.
38626 * debug/Makefile: Likewise.
38627 * dlfcn/Makefile: Likewise.
38628 * elf/Makefile: Likewise.
38629 * extra-lib.mk: Likewise.
38630 * iconv/Makefile: Likewise.
38631 * include/libc-symbols.h: Likewise.
38632 * include/shlib-compat.h: Likewise.
38633 * resolv/Makefile: Likewise.
38634 * resolv/res_libc.c: Likewise.
38635 * rt/Makefile: Likewise.
38636 * sysdeps/i386/asm-syntax.h: Likewise.
38637 * sysdeps/i386/sysdep.h: Likewise.
38638 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38639 * sysdeps/mach/sysdep.h: Likewise.
38640 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38641 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38642 * sysdeps/s390/asm-syntax.h: Likewise.
38643 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38644 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38645 * sysdeps/sh/sysdep.h: Likewise.
38646 * sysdeps/unix/sparc/sysdep.h: Likewise.
38647 * sysdeps/wordsize-32/divdi3.c: Likewise.
38648 * sysdeps/x86_64/sysdep.h: Likewise.
38649
00bbd29b
UD
38650 * argp/Versions: Remove _argp_unlock_xxx.
38651
38652 [BZ #13559]
38653 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38654 * abilist/libBrokenLocale.abilist: Likewise.
38655 * abilist/libanl.abilist: Likewise.
38656 * abilist/libc.abilist: Likewise.
38657 * abilist/libcrypt.abilist: Likewise.
38658 * abilist/libdl.abilist: Likewise.
38659 * abilist/libm.abilist: Likewise.
38660 * abilist/libnsl.abilist: Likewise.
38661 * abilist/libpthread.abilist: Likewise.
38662 * abilist/libresolv.abilist: Likewise.
38663 * abilist/librt.abilist: Likewise.
38664 * abilist/libthread_db.abilist: Likewise.
38665 * abilist/libutil.abilist: Likewise.
38666 * abilist/libnss_db.abilist: New file.
38667
38668 * scripts/abilist.awk: Add support for indirect functions.
38669
a2693a0e
UD
38670 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38671
3f05895f
UD
38672 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38673
ecb6fb48
UD
38674 * shlib-versions: Remove entries for ports architectures.
38675
664f8cb9
UD
38676 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38677 files in ports.
38678 * elf/stackguard-macros.h: Remove support for IA-64.
38679 * elf/tst-auditmod1.c: Likewise.
38680 * sysdeps/generic/ldsodefs.h: Likewise.
38681
7ae81d88
UD
38682 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38683 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38684 configure files.
38685
bdeba135
UD
38686 [BZ #13552]
38687 * configure.in: Remove --enable-omitfp support.
38688 * FAQ.in: Adjust.
38689 * config.make.in: Likewise.
38690 * Makeconfig: Likewise.
38691 * manual/install.texi: Likewise.
38692
d75a0a62
UD
38693 In case anyone cares, the IA-64 architecture could move to ports.
38694 * sysdeps/ia64/*: Removed.
38695 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 38696 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 38697
dcc9756b
UD
38698 [BZ #13555]
38699 * configure.in: Remove entries for unsupported architectures.
38700
d3761ebc 38701 [BZ #13533]
9954432e
UD
38702 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38703 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38704 routines.
38705 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38706 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38707 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38708 fall back to using wcrtomb.
38709 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38710 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38711 renaming.
38712 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38713 * wcsmbs/tst-c16c32-1.c: New file.
38714
38715 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38716 local variable.
38717
c3a87236
UD
38718 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38719
28926a1b
UD
38720 * elf/tst-unique3.cc: Add explicit declaration of gets.
38721 * elf/tst-unique3lib.cc: Likewise.
38722 * elf/tst-unique3lib2.cc: Likewise.
38723 * elf/tst-unique4.cc: Likewise.
38724
df78418a
UD
38725 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38726
8ecd6b2a
JM
387272012-01-06 Joseph Myers <joseph@codesourcery.com>
38728
38729 [BZ #13566]
38730 * assert/assert.h (static_assert): Don't define for C++.
38731 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38732 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38733
9f115170
UD
387342012-01-03 Ulrich Drepper <drepper@gmail.com>
38735
5e0d0300
UD
38736 * iconv/loop.c (single loop): Fix assertion in storing of
38737 remaining bytes.
38738
9f115170
UD
38739 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38740
81fb02b0
UD
387412012-01-01 Ulrich Drepper <drepper@gmail.com>
38742
38743 * posix/getconf.c: Update copyright year.
38744 * nss/getent.c: Likewise.
a316c1f6 38745 * nss/makedb.c: Likewise.
81fb02b0
UD
38746 * iconv/iconvconfig.c: Likewise.
38747 * iconv/iconv_prog.c: Likewise.
38748 * elf/ldconfig.c: Likewise.
a316c1f6
UD
38749 * elf/pldd.c: Likewise.
38750 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
38751 * catgets/gencat.c: Likewise.
38752 * csu/version.c: Likewise.
38753 * elf/ldd.bash.in: Likewise.
38754 * elf/sprof.c (print_version): Likewise.
38755 * locale/programs/locale.c: Likewise.
38756 * locale/programs/localedef.c: Likewise.
a316c1f6 38757 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
38758 * nscd/nscd.c (print_version): Likewise.
38759 * debug/xtrace.sh: Likewise.
38760 * malloc/memusage.sh: Likewise.
38761 * malloc/mtrace.pl: Likewise.
38762 * debug/catchsegv.sh: Likewise.
38763
2ba92745
JJ
387642011-12-30 Jakub Jelinek <jakub@redhat.com>
38765
38766 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38767 pure attribute.
38768
dadebdae
UD
387692011-12-24 Ulrich Drepper <drepper@gmail.com>
38770
d3761ebc 38771 [BZ #13533]
db6af3eb
UD
38772 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38773 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38774 transformations.
38775 * iconv/gconv_int.h: Likewise.
38776 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38777 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38778 from libc for GLIBC_2.16.
38779 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38780 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38781 * wcsmbs/uchar.h: Really define mbstate_t.
38782 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38783 * wcsmbs/c16rtomb.c: New file.
38784 * wcsmbs/mbrtoc16.c: New file.
38785 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38786 for C/POSIX locale.
38787 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38788 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38789
dadebdae
UD
38790 * wcsmbs/wchar.h: Add missing __restrict.
38791
67371b56
UD
387922011-12-23 Ulrich Drepper <drepper@gmail.com>
38793
74033a25
UD
38794 [BZ #13532]
38795 * time/Makefile (routines): Add timespec_get.
38796 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38797 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38798 timespec for ISO C11.
38799 * time/timespec_get.c: New file.
38800 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38801 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38802
380d7e87
UD
38803 [BZ #13531]
38804 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38805 * stdlib/stdlib.h: Declare aligned_alloc.
38806 * Versions.def: Add GLIBC_2.16 for libc.
38807 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38808
4e9e7a35
UD
38809 [BZ 13527]
38810 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38811 ISO C11.
38812
380d7e87 38813 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
38814 code.
38815
03a71829
UD
38816 [BZ #13528]
38817 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38818
839e283e
UD
38819 [BZ #13529]
38820 * assert/assert.h (static_assert): Define.
38821
ce5294e2 38822 * version.h: Update for 2.16 development version.
90fa7312 38823
8d44e150 38824 [BZ #13526]
d7809905
UD
38825 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38826 _ISOC11_SOURCE.
38827
c0da14cd
UD
38828 * version.h (RELEASE): Bump for 2.15 release.
38829 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38830
530a3249
MP
38831 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38832 Patch by Marek Polacek <mpolacek@redhat.com>.
38833
67371b56
UD
38834 * bits/byteswap.h: Protect long long constants with __extension__.
38835 * sysdeps/i386/bits/byteswap.h: Likewise.
38836 * sysdeps/ia64/bits/byteswap.h: Likewise.
38837 * sysdeps/s390/bits/byteswap.h: Likewise.
38838 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38839
15db4de1
LD
388402011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38841
38842 [BZ #13540]
bbe315ea
LD
38843 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38844 destination buffer.
15db4de1
LD
38845 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38846
2b2596b1
MP
388472011-12-23 Marek Polacek <polacek@redhat.com>
38848
38849 * elf/dl-addr.c (determine_info): Add inline keyword.
38850 * elf/tst-auditmod4b.c (check_avx): Likewise.
38851 * elf/tst-auditmod6b.c (check_avx): Likewise.
38852 * elf/tst-auditmod6c.c (check_avx): Likewise.
38853 * elf/tst-auditmod7b.c (check_avx): Likewise.
38854
70c6c246
UD
388552011-12-23 Ulrich Drepper <drepper@gmail.com>
38856
38857 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38858 !__SSE_MATH__.
38859
c044cf14
LD
388602011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38861
15db4de1 38862 [BZ #13540]
c044cf14
LD
38863 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38864 processing for last bytes.
38865
6b13d9d9
BH
388662011-08-06 Bruno Haible <bruno@clisp.org>
38867
d455f537
BH
38868 [BZ #13061]
38869 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38870 U+0385, not to U+1FEE.
38871
6b13d9d9
BH
38872 [BZ #13062]
38873 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38874 entry for U+00A5 U+0301.
38875
db910efd
UD
388762011-12-22 Ulrich Drepper <drepper@gmail.com>
38877
27deeafc
UD
38878 [BZ #13166]
38879 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38880 buffer for the output is too small.
38881
aed9d171
UD
38882 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38883 optimization.
38884
db910efd
UD
38885 [BZ #13185]
38886 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38887 SSE flags if possible.
38888
2bd779ae
LD
388892011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38890
e7f9dac3 38891 [BZ #13540]
2bd779ae
LD
38892 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38893 processing for last bytes.
38894
154bfc16
JM
388952011-12-22 Joseph Myers <joseph@codesourcery.com>
38896
38897 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38898 (syscall-list-default-options, syscall-list-default-condition)
38899 (syscall-list-includes): Define.
38900 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38901 list of ABIs and options and #if conditions for each ABI. Do not
38902 handle common syscalls between ABIs specially.
38903 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38904 Remove.
38905 (syscall-list-variants, syscall-list-32bit-options)
38906 (syscall-list-32bit-condition, syscall-list-64bit-options)
38907 (syscall-list-64bit-condition): Define.
38908 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38909 (syscall-list-variants, syscall-list-32bit-options)
38910 (syscall-list-32bit-condition, syscall-list-64bit-options)
38911 (syscall-list-64bit-condition): Define.
38912 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38913 Remove.
38914 (syscall-list-variants, syscall-list-32bit-options)
38915 (syscall-list-32bit-condition, syscall-list-64bit-options)
38916 (syscall-list-64bit-condition): Define.
38917 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38918 Remove.
38919 (syscall-list-variants, syscall-list-32bit-options)
38920 (syscall-list-32bit-condition, syscall-list-64bit-options)
38921 (syscall-list-64bit-condition): Define.
38922
21eaf3a5
UD
389232011-12-22 Ulrich Drepper <drepper@gmail.com>
38924
16c6f992
UD
38925 * locale/iso-639.def: Add brx entry.
38926
41043168
UD
38927 [BZ #13328]
38928 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38929 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38930
21eaf3a5
UD
38931 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38932 __feraiseexcept_renamed.
38933
e3a851a2
UD
389342011-12-21 Ulrich Drepper <drepper@gmail.com>
38935
4920765e
UD
38936 [BZ #13538]
38937 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38938 EPOLLET with unsigned values.
38939 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38940 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38941
e3a851a2
UD
38942 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38943 to large cancellation.
38944 * math/s_cacoshf.c: Likewise.
38945 * math/s_cacoshl.c: Likewise.
38946
b27e24b8
RK
389472011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38948
38949 [BZ #13305]
aebefeee 38950 [BZ #12786]
b27e24b8
RK
38951 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38952 * math/s_cacoshf.c: Likewise.
38953 * math/s_cacoshl.c: Likewise.
38954
ee190f67
UD
389552011-12-21 Ulrich Drepper <drepper@gmail.com>
38956
38957 [BZ #13439]
38958 * iconv/gconv.h: Define __GCONV_SWAP.
38959 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38960 * iconvdata/utf-16.c: Likewise.
38961 * iconvdata/utf-32.c: Likewise.
38962
707f25df
AS
389632011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38964
38965 [BZ #13524]
38966 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38967 numerator after shifting it by one limb.
38968
d2daaa1e
RÁE
389692011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
38970
38971 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38972 under [__USE_EXTERN_INLINES].
38973
a4647e72
UD
389742011-12-17 Ulrich Drepper <drepper@gmail.com>
38975
38976 [BZ #13446]
38977 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38978
f0b264f1
AZ
389792011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38980
38981 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38982 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38983 optimized code.
38984 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38985 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38986 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38987 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38988 for strncasecmp/strncasecmp_l compilation.
38989 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38990 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38991
8ef4f244
MP
389922011-12-08 Marek Polacek <mpolacek@redhat.com>
38993
38994 [BZ #13484]
38995 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38996 of __asm__.
38997
97ac2654
UD
389982011-12-17 Ulrich Drepper <drepper@gmail.com>
38999
39000 [BZ #13506]
39001 * time/tzfile.c (__tzfile_read): Check values from file header.
39002
91d2a845
WS
390032011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39004
39005 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39006 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39007 * powerpc/powerpc32/dl-start.S: Likewise.
39008 * powerpc/powerpc32/elf/start.S: Likewise.
39009 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39010 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39011 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39012 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39013 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39014 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39015 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39016 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39017 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39018 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39019 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39020 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39021 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39022 * powerpc/powerpc32/memset.S: Likewise.
39023 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39024 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39025 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39026 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39027 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39028 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39029 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39030 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39031 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39032 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39033 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39034 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39035 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39036
a1267ba1
AZ
390372011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39038
39039 * math/libm-test.inc: Added more nearbyint tests.
39040 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39041 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39042 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39043 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39044
ad8ac1bd
RL
390452011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39046
39047 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39048 FD_CLOEXEC.
39049
1d3e4b61
UD
390502011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39051
39052 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39053 Add wcscpy-ssse3 wcscpy-c.
39054 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39055 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39056 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39057 * sysdeps/x86_64/wcschr.S: New file.
39058 * sysdeps/x86_64/wcsrchr.S: New file.
39059 * string/test-strcmp.c: Remove checking of wcscmp function for
39060 wrong alignments.
39061 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39062 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39063 wcsrchr-sse2 wcsrchr-c.
39064 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39065 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39066 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39067 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39068 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39069 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39070 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39071 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39072 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39073 * wcsmbc/wcschr.c (WCSCHR): New macro.
39074
5b330a2d
UD
390752011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39076
39077 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39078 * wcsmbs/test-wcsrchr.c: New file.
39079 * string/test-strrchr.c: Add wcsrchr support.
39080 (WIDE): New macro.
39081 * wcsmbs/test-wcscpy.c: New file.
39082 * string/test-strcpy.c: Add wcscpy support.
39083 (WIDE): New macro.
26428b7c 39084
f039c043
UD
390852011-12-10 Ulrich Drepper <drepper@gmail.com>
39086
39087 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39088 the inner loop.
39089
850fb039
AS
390902011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39091
39092 [BZ #13472]
39093 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39094
4efbd5cb
UD
390952011-12-04 Ulrich Drepper <drepper@gmail.com>
39096
52ff5dd0 39097 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 39098 Minor optimizations.
52ff5dd0 39099
4efbd5cb
UD
39100 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39101 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39102 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39103
8a426e12
UD
391042011-12-03 Ulrich Drepper <drepper@gmail.com>
39105
aff2453d
UD
39106 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39107 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39108 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39109 for gcc to avoid warnings.
39110 * inet/Makefile (tests): Add tst-checks.
39111 * inet/tst-checks.c: New file.
39112
39113 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39114 warning.
39115
39116 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39117 __wmemcmp_sse2.
39118
39119 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39120 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39121
8a426e12
UD
39122 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39123
9bea3473
UD
391242011-12-02 Ulrich Drepper <drepper@gmail.com>
39125
3a965496
UD
39126 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39127 problem.
39128
9bea3473
UD
39129 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39130
f101631b
UD
391312011-11-29 Joseph Myers <joseph@codesourcery.com>
39132
39133 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39134 conditional on GCC version.
39135 (__arch_compare_and_exchange_val_8_acq)
39136 (__arch_compare_and_exchange_val_16_acq)
39137 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39138 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39139 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39140
a98275aa
UD
391412011-12-02 Joseph Myers <joseph@codesourcery.com>
39142
39143 * sysdeps/sh/backtrace.c: New file.
39144
d4cc29a2
AS
391452011-12-02 Andreas Schwab <schwab@redhat.com>
39146
39147 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39148 parenthesis.
39149
6257af2d
AS
391502011-12-01 Andreas Schwab <schwab@redhat.com>
39151
39152 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39153 falling back to utime.
39154
b5f44c1a
AS
391552011-11-30 Andreas Schwab <schwab@redhat.com>
39156
39157 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39158 expectations for float.
39159
f3a6cc0a
AS
391602011-11-29 Andreas Schwab <schwab@redhat.com>
39161
39162 * locale/weight.h (findidx): Add parameter len.
39163 * locale/weightwc.h (findidx): Likewise.
39164 * posix/fnmatch_loop.c (FCT): Adjust caller.
39165 * posix/regcomp.c (build_equiv_class): Likewise.
39166 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39167 * posix/regexec.c (check_node_accept_bytes): Likewise.
39168 * string/strcoll_l.c (STRCOLL): Likewise.
39169 * string/strxfrm_l.c (STRXFRM): Likewise.
39170
9d65ea3a
UD
391712011-11-17 Ulrich Drepper <drepper@gmail.com>
39172
39173 * Makefile.in: Remove CVSOPT handling.
39174 * configure.in: Remove use of AC_REVISION.
39175 * iconvdata/Makefile (distribute): No need to filter out CVS.
39176 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39177 handling.
39178
5583a086
AS
391792011-11-16 Andreas Schwab <schwab@redhat.com>
39180
39181 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39182 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39183 [USE_AS_STRNCASECMP_L]: Likewise.
39184 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39185 NO_TLS_DIRECT_SEG_REFS.
39186 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39187 Fix argument offsets for non-PIC.
39188 [USE_AS_STRNCASECMP_L]: Likewise.
39189 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39190 NO_TLS_DIRECT_SEG_REFS.
39191
d62a8200
UD
391922011-11-15 Ulrich Drepper <drepper@gmail.com>
39193
9d65ea3a 39194 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
39195 O_CLOEXEC.
39196 * locale/loadlocale.c (_nl_load_locale): Likewise.
39197
09f93bd3
AS
391982011-11-15 Andreas Schwab <schwab@redhat.com>
39199
446514f9
AS
39200 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39201 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39202 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39203 (SYSCALL_GETTIME): Set errno on error.
39204
09f93bd3
AS
39205 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39206 count references to noai6ai_cached.
39207
312be3f9
UD
392082011-11-15 Ulrich Drepper <drepper@gmail.com>
39209
39210 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39211
39212 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39213 FD_CLOEXEC for /proc/self/maps.
39214
39215 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39216 FD_CLOEXEC for /proc/meminfo.
39217
39218 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39219 gai.conf.
39220
39221 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39222 FD_CLOEXEC for given file.
39223
39224 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39225
39226 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39227 FD_CLOEXEC for /etc/hosts.
39228 (_gethtent): Likewise.
39229
39230 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39231
39232 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39233 cancellation and set FD_CLOEXEC for /etc/netgroup.
39234
39235 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39236 reading /etc/publickey.
39237
39238 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39239 allow cancellation when reading /etc/group.
39240
39241 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39242 cancellation.
39243 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39244
39245 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39246 when using data file.
39247
39248 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39249
39250 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39251 (write_nis_obj): Use "c" and "e" in fopen.
39252
39253 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39254
39255 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39256
39257 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39258
39259 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39260
39261 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39262 locale.alias.
39263
39264 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39265
39266 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39267
39268 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39269
39270 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39271 file parsing and set FD_CLOEXEC.
39272
82af0fa8
UD
392732011-11-14 Ulrich Drepper <drepper@gmail.com>
39274
39275 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39276
a5fb313c
AS
392772011-11-14 Andreas Schwab <schwab@redhat.com>
39278
39279 * malloc/arena.c (arena_get2): Don't call reused_arena when
39280 _int_new_arena failed.
39281
6abf3465
UD
392822011-11-14 Ulrich Drepper <drepper@gmail.com>
39283
39284 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39285 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39286 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39287 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39288 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39289 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39290 to compile strcasecmp and strncasecmp.
39291 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39292 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39293
39294 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39295
76e3966e
UD
392962011-11-13 Ulrich Drepper <drepper@gmail.com>
39297
39298 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39299 locale-defines.sym to gen-as-const-headers.
39300 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39301 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39302 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39303 to compile strcasecmp and strncasecmp.
39304 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39305 strcasecmp_l and strncasecmp_l.
39306 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39307 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39308 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39309 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39310 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39311 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39312 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39313 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39314 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39315 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39316 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39317
ab26144e
UD
393182011-11-12 Ulrich Drepper <drepper@gmail.com>
39319
7edb22ef
UD
39320 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39321 result of SYSDEP_GETTIME_CPU to retval.
39322 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39323 parameter list to macro. Remove trailing semicolon. Adjust users.
39324
9694fc44
UD
39325 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39326 variable.
39327
8ad89ef8
UD
39328 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39329 mantissa words.
39330 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39331
0c822ef9
UD
39332 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39333 from unused variable.
39334
874e0564
UD
39335 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39336 DWARF definitions.
39337 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39338 for assembling.
39339
3a2edc79
UD
39340 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39341 over namespaces.
39342
f3c2577f
UD
39343 * sunrpc/rpc_prot.c (rejected): Fix case value.
39344
294ce126
UD
39345 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39346 unsigned long long int to avoid warnings in shift.
39347
5e2b63c6
UD
39348 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39349 of use of trans.
39350 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39351 variable tmp.
39352
e7f4b08e
UD
39353 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39354 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39355 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39356
ab26144e
UD
39357 * nis/nis_table.c (nis_list): Use variable of correct type for
39358 result of __follow_path call.
39359
8a6d5255
AZ
393602011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39361
39362 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39363 of math functions ceil, trunc, floor, round, and sqrt, when
39364 avaliable on the platform.
39365 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39366 name clash.
39367 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39368 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39369 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39370
aaddc98c
MP
393712011-10-30 Marek Polacek <mpolacek@redhat.com>
39372
39373 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39374 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39375
95b7042b
RM
393762011-11-11 Roland McGrath <roland@hack.frob.com>
39377
39378 * include/unistd.h: Fix __readlink return type.
39379 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39380
57769839
UD
393812011-11-11 Ulrich Drepper <drepper@gmail.com>
39382
39383 * stdlib/ucontext.h: Undo last change for makecontext.
39384
edc5984d
AS
393852011-11-11 Andreas Schwab <schwab@redhat.com>
39386
98591e58
AS
39387 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39388
edc5984d
AS
39389 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39390 * setjmp/setjmp.h: Mark functions as non-leaf.
39391 * setjmp/bits/setjmp2.h: Likewise.
39392 * stdlib/ucontext.h: Likewise.
39393
77cdc054
AS
393942011-11-10 Andreas Schwab <schwab@redhat.com>
39395
39396 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39397 (reused_arena): Don't check arena limit.
39398 (arena_get2): Atomically check arena limit.
39399
fe72eebd
UD
394002011-11-08 Ulrich Drepper <drepper@gmail.com>
39401
5f078c32
UD
39402 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39403 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39404
fe72eebd
UD
39405 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39406 instructions.
39407
ae1bc2fa
AS
394082011-11-07 Andreas Schwab <schwab@redhat.com>
39409
7583a88d
AS
39410 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39411 handler when locking.
39412
ae1bc2fa
AS
39413 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39414 Fix size of allocated buffer.
39415
10fb0bfa
AS
394162011-11-04 Andreas Schwab <schwab@redhat.com>
39417
998832a4
AS
39418 [BZ #10103]
39419 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39420 declarations for long double functions.
39421 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39422
10fb0bfa
AS
39423 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39424
3d7ba52b
AS
394252011-11-03 Andreas Schwab <schwab@redhat.com>
39426
a9ae54a1
AS
39427 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39428 installed.
39429
3d7ba52b
AS
39430 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39431 is disabled.
39432
bc8db248
ST
394332011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39434
39435 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39436
45b96dd6
AS
394372011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39438
647776f6
AS
39439 * include/alloca.h (stackinfo_alloca_round): Define.
39440 (extend_alloca): Use it.
39441 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39442 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39443 here.
39444
d91a8b93
AS
39445 * scripts/check-local-headers.sh: Ignore libaudit.h.
39446
45b96dd6
AS
39447 * nscd/Makefile (extra-objs): Make recursively expanded.
39448
432d41ce
UD
394492011-11-01 Ulrich Drepper <drepper@gmail.com>
39450
34372fc6
UD
39451 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39452 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39453
fadb59f8
UD
39454 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39455 * posix/tst-rfc3484-2.c: Likewise.
39456 * posix/tst-rfc3484-3.c: Likewise.
39457
78239589
UD
39458 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39459 process_vm_writev.
39460 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39461 process_vm_writev.
39462 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39463 process_vm_writev from libc using GLIBC_2.15 version.
39464
432d41ce
UD
39465 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39466
02f9c6cf
PP
394672011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39468
39469 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39470 stack usage.
39471
3a2c0242
UD
394722011-10-31 Ulrich Drepper <drepper@gmail.com>
39473
f4ec4833
UD
39474 [BZ #13367]
39475 * nss/getent.c (initgroups_keys): Show error message in case no group
39476 names are given.
39477
3a2c0242
UD
39478 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39479 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39480 __bump_nl_timestamp.
39481 * nscd/connections (nscd_init): When host database is served open
39482 netlink socket and request notification about configuration changes.
39483 (main_loop_poll): Track netlink file descriptor and bump timestamp
39484 in case data becomes available.
39485 (main_loop_epoll): Likewise.
39486 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39487 (database_pers_head): Add extra_data fileds.
39488 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39489 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39490 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39491 Adjust caller.
39492 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39493 in6ai data, call __free_in6ai.
39494 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39495 Add -DHAVE_NETLINK.
39496 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39497 interface information. Reuse previous data if netlink timestamp
39498 is not changed.
39499 (__bump_nl_timestamp): New function.
39500 (__free_in6ai): New function.
39501
636064eb
UD
395022011-10-30 Ulrich Drepper <drepper@gmail.com>
39503
39504 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39505 close_not_cancel_no_status here.
39506 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39507
9beb2334
UD
395082011-10-29 Ulrich Drepper <drepper@gmail.com>
39509
6ef76f3b
UD
39510 [BZ #13276]
39511 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39512 return value.
39513
0ffc4f3e 39514 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
39515 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39516 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39517
cb95113e
UD
395182011-07-03 Andreas Jaeger <aj@suse.de>
39519
39520 [BZ #10709]
39521 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39522 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39523 * math/libm-test.inc (sin_test): Add test case.
39524
a1b560ff
UD
395252011-10-29 Ulrich Drepper <drepper@gmail.com>
39526
c9aaface
UD
39527 [BZ #13337]
39528 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39529 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39530
d272e7f1
UD
39531 * elf/chroot_canon.c (chroot_canon): Cleanups.
39532
1bc33071
UD
39533 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39534
1760874d
TJ
39535 [BZ #13335]
39536 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39537 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39538
51d91b18
UD
39539 * string/test-strchr.c: Make usable for strchrnul testing.
39540 * string/test-strchrnul.c: New file.
39541 * string/Makefile (strop-tests): Add strchrnul.
39542
a1b560ff 39543 * po/it.po: Update from translation team.
b611fb81 39544 * po/es.po: Likewise.
a1b560ff 39545
a5b81e1f
UD
395462011-10-28 Ulrich Drepper <drepper@gmail.com>
39547
fd52bc6d
UD
39548 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39549 the three constants needed as parameters. Drop the others.
39550 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39551 __m128i_strloadu_tolower.
52e4b9eb
UD
39552 Create and initialize variable zero and use it in all the places
39553 where _mm_setzero_si128 was used.
fd52bc6d 39554
a5b81e1f
UD
39555 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39556 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39557 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39558 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39559 anymore.
39560 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39561 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39562 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39563 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39564 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39565 __mpranred, __mptan.
39566 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39567 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39568 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39569 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39570 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39571 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39572 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39573 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39574 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39575
b4343346
AS
395762011-10-28 Andreas Schwab <schwab@redhat.com>
39577
0c92d8a8
AS
39578 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39579 redefine if SHARED.
39580 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39581
b4343346
AS
39582 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39583 wide char related routines to wcsmbs subdir.
39584
3871f58f
AS
395852011-10-27 Andreas Schwab <schwab@redhat.com>
39586
39587 [BZ #13344]
39588 * misc/sys/cdefs.h (__THROWNL): Define.
39589 * posix/unistd.h: Use __THREADNL instead of __THREAD
39590 for memory synchronization functions.
39591
94d44d9f
RM
395922011-10-26 Roland McGrath <roland@hack.frob.com>
39593
21b64b15 39594 [BZ #13349]
94d44d9f
RM
39595 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39596 doesn't exist.
39597 * manual/stdio.texi (Obstack Streams): Node removed.
39598
f6ce9294
AS
395992011-10-26 Andreas Schwab <schwab@redhat.com>
39600
80479147
AS
39601 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39602 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39603 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39604
f6ce9294
AS
39605 * math/math_private.h (math_force_eval): Allow non-addressable
39606 arguments.
39607 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39608
618280a1
UD
396092011-10-25 Ulrich Drepper <drepper@gmail.com>
39610
e0016b11
UD
39611 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39612 file is not needed.
39613
39614 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39615 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39616 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39617 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39618 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39619 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39620 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39621 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39622 Add AVX variants.
39623 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39624 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39625 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39626 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39627 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39628 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39629 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39630 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39631 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39632 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39633 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39634 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39635 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39636 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39637 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39638 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39639 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39640 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39641 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39642
39643 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39644 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39645
618280a1
UD
39646 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39647 place. Use VEX encoding when compiling for AVX.
39648
37822576
AS
396492011-10-25 Andreas Schwab <schwab@redhat.com>
39650
1f1e1947
AS
39651 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39652 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39653
37822576
AS
39654 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39655
31ea014d
UD
396562011-10-25 Ulrich Drepper <drepper@gmail.com>
39657
d7826aa1 39658 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 39659 useless if() expression.
d7826aa1
UD
39660 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39661 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39662 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39663 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39664 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39665 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39666 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39667 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39668 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39669 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39670 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39671 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39672 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39673 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39674 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39675 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39676 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39677 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39678 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39679
31ea014d
UD
39680 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39681
16437fec
AS
396822011-10-25 Andreas Schwab <schwab@redhat.com>
39683
39684 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39685 condition.
39686 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39687
31d3cc00
UD
396882011-10-25 Ulrich Drepper <drepper@gmail.com>
39689
39690 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39691 .text section. Avoid duplicate constants.
39692 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39693 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39694 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39695 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39696 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39697 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39698 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39699 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39700 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39701 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39702 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39703 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39704 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39705 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39706 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39707 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39708 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39709 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39710 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39711 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39712 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39713 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39714 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39715 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39716 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39717 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39718 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39719 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39720 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39721 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39722 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39723 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39724 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39725 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39726 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39727 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39728 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39729 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39730 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39731 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39732 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39733 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39734 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39735 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39736 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39737
58985aa9
UD
397382011-10-24 Ulrich Drepper <drepper@gmail.com>
39739
202c9deb
UD
39740 * sysdeps/x86_64/dla.h: Move to ...
39741 * sysdeps/x86_64/fpu/dla.h: ...here.
39742 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39743 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 39744
af968f62
UD
39745 * config.make.in: Add have-mfma4 entry.
39746 * configure.in: Substitute libc_cv_cc_fma4.
39747 * math/Makefile (dbl-only-routines): Add sincostab.
39748 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39749 Use __sincostab not sincos.
39750 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39751 name is a macro.
39752 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39753 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39754 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39755 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39756 using __copysign.
39757 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39758 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39759 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39760 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39761 and __inv.
39762 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39763 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39764 __copysign.
39765 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39766 define aliases when function name is a macro.
39767 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39768 sysdeps/ieee754/dbl-64/sincos.tbl.
39769 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39770 fma4-enabled routines.
39771 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39772 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39773 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39774 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39775 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39776 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39777 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39778 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39779 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39780 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39781 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39782 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39783 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39784 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39785 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39786 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39787 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39788 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39789 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39790 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39791 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39792 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39793 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39794 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39795 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39796 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39797 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39798 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39799 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39800 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39801
58985aa9
UD
39802 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39803 rename.
39804 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39805 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39806 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39807 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39808 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39809 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39810 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39811 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39812
a201fbcf
AS
398132011-10-24 Andreas Schwab <schwab@redhat.com>
39814
39815 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39816
fc2ee42a
LD
398172011-10-23 Ulrich Drepper <drepper@gmail.com>
39818
bb3129bd
UD
39819 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39820
0275fff8
UD
39821 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39822 prediction.
39823 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39824
2fa2ae85
UD
39825 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39826 Remove unused variable magic_bits.
39827 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39828
fc2ee42a
LD
39829 * string/strnlen.c: Define and use STRNLEN macro.
39830 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39831 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39832 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39833 * wcsmbs/wcslen.c: Define and use WCSLEN.
39834 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39835 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39836 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39837 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39838 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39839 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39840 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39841
ce7dd29f
LD
398422011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39843
39844 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39845 strnlen-sse2-no-bsf.
39846 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39847 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39848 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39849 Add strnlen support.
39850 (USE_AS_STRNLEN): New macro.
39851 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39852 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39853 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39854 * sysdeps/x86_64/wcslen.S: New file.
39855
979c70a3
MZ
398562011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39857
39858 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39859 XMM-moves are used for copying on small sizes.
39860
2d09f82f
LD
398612011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39862
39863 * wcsmbs/Makefile (strop-tests): Add wcschr.
39864 * wcsmbs/test-wcschr.c: New file.
39865 * string/test-strchr.c: Update.
39866 Add wcschr support.
39867 (WIDE): New macro.
39868
619fccca
LD
398692011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39870
2d09f82f 39871 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
39872 * wcsmbs/test-wcslen.c: New file.
39873 * string/test-strlen.c: Update.
39874 Add wcslen support.
39875 (WIDE): New macro.
39876
09f699ea
UD
398772011-10-23 Ulrich Drepper <drepper@gmail.com>
39878
39879 * po/it.po: Update from translation team.
39880
95584d3b
LD
398812011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39882
39883 * sysdeps/x86_64/wcscmp.S: Update.
39884 Fix wrong comparison semantics.
39885 wcscmp shall use signed comparison not unsigned.
39886 Don't use substraction to avoid overflow bug.
39887 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39888 * wcsmbc/wcscmp.c: Likewise.
39889 * string/test-strcmp.c: Likewise.
39890 Add new tests to check cases with negative values.
39891
c8b3296b
UD
398922011-10-23 Ulrich Drepper <drepper@gmail.com>
39893
39894 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39895 * sysdeps/x86_64/dla.h: ...here. New file.
39896 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39897 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39898 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39899 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39900 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39901 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39902 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39903 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39904 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39905
246ad57a
AS
399062011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39907
39908 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39909 __ynl_finite aliases.
39910
a1a87169
UD
399112011-10-22 Ulrich Drepper <drepper@gmail.com>
39912
0d355eb7
UD
39913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39914
a1a87169
UD
39915 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39916 define DLA_FMA.
39917 [DLA_FMA] (EMULV): Use DLA_FMA.
39918 [DLA_FMA] (MUL12): Use EMULV.
39919 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39920 that are not needed.
39921 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39922 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39923 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39924 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39925 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39926 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39927 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39928
ee2aafe0
AS
399292011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39930
39931 * math/s_nan.c: Undef __nan.
39932 * math/s_nanf.c: Undef __nanf.
39933 * math/s_nanl.c: Undef __nanl.
39934 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39935 "math_private.h".
39936
bc62c2fb
UD
399372011-10-22 Ulrich Drepper <drepper@gmail.com>
39938
77425c63
UD
39939 * math/s_catan.c: Add branch predictions.
39940 * math/s_catanf.c: Likewise.
39941 * math/s_catanh.c: Likewise.
39942 * math/s_catanhf.c: Likewise.
39943 * math/s_catanhl.c: Likewise.
39944 * math/s_catanl.c: Likewise.
39945 * math/s_cexp.c: Likewise.
39946 * math/s_cexpf.c: Likewise.
39947 * math/s_cexpl.c: Likewise.
39948 * math/s_clog.c: Likewise.
39949 * math/s_clog10.c: Likewise.
39950 * math/s_clog10f.c: Likewise.
39951 * math/s_clog10l.c: Likewise.
39952 * math/s_clogf.c: Likewise.
39953 * math/s_clogl.c: Likewise.
39954 * math/s_csqrt.c: Likewise.
39955 * math/s_csqrtf.c: Likewise.
39956 * math/s_csqrtl.c: Likewise.
39957 * math/s_ctanf.c: Likewise.
39958 * math/s_ctanh.c: Likewise.
39959 * math/s_ctanhf.c: Likewise.
39960 * math/s_ctanhl.c: Likewise.
39961 * math/s_ctanl.c: Likewise.
39962
bc62c2fb
UD
39963 * math/math_private.h: Define __nan, __nanf, __nanl.
39964 * math/s_cacosh.c: Include <math_private.h>.
39965 * math/s_cacoshl.c: Likewise.
39966 * math/s_casinh.c: Likewise.
39967 * math/s_casinhf.c: Likewise.
39968 * math/s_casinhl.c: Likewise.
39969 * math/s_ccos.c: Rely entire on ccosh.
39970 * math/s_ccosf.c: Rely entire on ccoshf.
39971 * math/s_ccosl.c: Rely entirely on ccoshl.
39972 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
39973 Remove tests for FE_INVALID.
39974 * math/s_ccoshf.c: Likewise.
39975 * math/s_ccoshl.c: Likewise.
39976 * math/s_csin.c: Likewise.
39977 * math/s_csinf.c: Likewise.
39978 * math/s_csinh.c Likewise.
39979 * math/s_csinhf.c: Likewise.
39980 * math/s_csinhl.c: Likewise.
39981 * math/s_csinl.c: Likewise.
39982 * math/s_ctan.c: Likewise.
39983 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39984 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39985 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39986
8ec250a4
UD
399872011-10-21 Ulrich Drepper <drepper@gmail.com>
39988
c196fed8
UD
39989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39990 compilation problems.
39991
8ec250a4
UD
39992 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39993 __builtin_expect.
39994
8d4f46c6
UD
399952011-10-20 Ulrich Drepper <drepper@gmail.com>
39996
ed72b654
UD
39997 * sysdeps/i386/configure.in: Test for -mfma4 option.
39998 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39999 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40000 COMMON_CPUID_INDEX_80000001.
40001 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40002 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40003 use it if FMA3 is not supported.
40004 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40005
8d4f46c6
UD
40006 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40007 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40008
d45c60c2
AS
400092011-10-20 Andreas Schwab <schwab@redhat.com>
40010
40011 [BZ #12892]
40012 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40013 it would create a cycle with a link time dependency.
40014
d9a4d2ab
UD
400152011-10-19 Ulrich Drepper <drepper@gmail.com>
40016
855d1560
UD
40017 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40018 instruction.
40019 * string/Makefile (strop-tests): Add rawmemchr.
40020 * string/test-rawmemchr.c: New file.
40021
d9a4d2ab
UD
40022 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40023 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40024 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40025 when compiling str{,n}casecmp and when AVX is available. Hook up
40026 new optimized code in initializers.
40027
8f3b1ffe
AS
400282011-10-19 Andreas Schwab <schwab@redhat.com>
40029
40030 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40031 __feraiseexcept instead of feraiseexcept.
40032
d38f1dba
UD
400332011-10-18 Ulrich Drepper <drepper@gmail.com>
40034
d9a8d0ab
UD
40035 * math/math_private.h: Define defaults for libc_fetestexcept and
40036 libc_feupdateenv.
40037 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40038 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40039 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40040 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40041 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40042 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40043 libc_fetestexcept and libc_feupdateenv.
40044
4855e3dd
UD
40045 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40046 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40047 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40048 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40049 libc_feholdexcept_setround.
40050
581d30e3
UD
40051 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40052 Add s_nearbyint-c and s_nearbyintf-c.
40053 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40054 nearbyintf inlines.
40055 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40056 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40057 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40058 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40059
d38f1dba
UD
40060 * math/math_private.h: Define defaults for libc_fegetround,
40061 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40062 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40063 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40064 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40065 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40066 standard functions.
40067 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40068 Remove comments and hacks for old compiler versions.
40069 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40070 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40071 libc_feholdexceptl.
40072
caa6c9d8
AS
400732011-10-18 Andreas Schwab <schwab@redhat.com>
40074
40075 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
40076 (__feraiseexcept_renamed): Add __NTH.
40077 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
40078 namespace violations.
40079
97c066e6
UD
400802011-10-17 Ulrich Drepper <drepper@gmail.com>
40081
99ce7b04
UD
40082 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40083
1004d182
UD
40084 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40085
228a984d
UD
40086 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40087 recently added interfaces.
40088 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40089
c8553a6a
UD
40090 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40091 about macro parameter expansion.
40092
ed22dcf6
UD
40093 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40094 __NO_MATH_INLINES is defined. Cleanups.
40095
40096 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40097 and __floorf is target has SSE4.1.
40098 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40099 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40100 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40101 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40102
b171c137
UD
40103 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40104 name.
40105 (floorf): Likewise.
40106
97c066e6
UD
40107 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40108
629f62ef
AS
401092011-10-17 Andreas Schwab <schwab@redhat.com>
40110
49a43d80
AS
40111 * misc/sys/cdefs.h: Fix last change.
40112
629f62ef
AS
40113 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40114 database lookup.
40115
e453f6cd
UD
401162011-10-16 Ulrich Drepper <drepper@gmail.com>
40117
aa78043a
UD
40118 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40119
ad0f5cad
UD
40120 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40121 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40122 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40123 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40124 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40125 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40126 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40127 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40128 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40129 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40130 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40131 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40132 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40133 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40134 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40135 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40136 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40137 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40138 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40139 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40140 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40141 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40142
40143 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40144 ceil, ceilf, floor, floorf.
40145
40146 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40147 Perform IRELATIVE relocations last.
40148
e453f6cd
UD
40149 * elf/do-rel.h: Add another parameter nrelative, replacing the
40150 local variable with the same name. Change name of the function
40151 to end in Rel or Rela (uppercase).
40152 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40153 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40154 elf_dynamic_do_##reloc function.
40155
fd5bdc09
UD
401562011-10-15 Ulrich Drepper <drepper@gmail.com>
40157
79b195b5
UD
40158 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40159 is sufficient, at least on modern CPUs.
40160
d4a28569
UD
40161 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40162
b61099b5
UD
40163 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40164 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40165
bcf01e6d
UD
40166 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40167 __expl_finite.
40168 * math/bits/math-finite.h: Add entries for exp.
40169 * math/e_expl.c: Add __*_finite alias.
40170 * sysdeps/i386/fpu/e_exp.S: Likewise.
40171 * sysdeps/i386/fpu/e_expf.S: Likewise.
40172 * sysdeps/i386/fpu/e_expl.c: Likewise.
40173 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40174 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40175 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40176 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40177 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40178 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40179 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40180
ba1a0d59
UD
40181 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40182 is sufficient, at least on modern CPUs.
40183
fd5bdc09
UD
40184 * ctype/ctype-info.c (__ctype_init): Define.
40185 * include/ctype.h (__ctype_init): Declare.
40186 (__ctype_b_loc): The variable is always initialized.
40187 (__ctype_toupper_loc): Likewise.
40188 (__ctype_tolower_loc): Likewise.
40189 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40190 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40191
7872cfb0
AS
401922011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40193
b468825a
AS
40194 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40195
7872cfb0
AS
40196 * configure.in: Also look in $cxxmachine/include for C++ system
40197 headers.
40198
be13f7bf
LD
401992011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40200
40201 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40202 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40203 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40204 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40205 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40206 (USE_AS_WMEMCMP): New macro.
40207 Fixing indents.
40208 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40209 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40210 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40211 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40212 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40213 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40214 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40215 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40216 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40217 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40218 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40219 (USE_AS_WMEMCMP): New macro.
40220 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40221 * sysdeps/string/test-memcmp.c: Update.
40222 Fix simple_wmemcmp.
40223 Add new tests.
40224 * wcsmbs/wmemcmp.c: Update.
40225 (WMEMCMP): New macro.
40226 Fix overflow bug.
40227
556a2007
AJ
402282011-10-12 Andreas Jaeger <aj@suse.de>
40229
40230 [BZ #13268]
40231 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40232
538faaa7
UD
402332011-10-15 Ulrich Drepper <drepper@gmail.com>
40234
ab6737ff
UD
40235 * libio/iofwide.c (do_length): Avoid warning.
40236
538faaa7
UD
40237 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40238
396a21b1
UD
402392011-10-14 Ulrich Drepper <drepper@gmail.com>
40240
cdf2901f
UD
40241 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40242
38ad40ce
UD
40243 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40244 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40245 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40246 * sysdeps/i386/i686/fpu/e_log.S: New file.
40247 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40248 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40249
396a21b1
UD
40250 * ctype/ctype.h: Add support for inlined isXXX functions when
40251 compiling C++ code.
40252
6b1f68c9
AS
402532011-10-14 Andreas Schwab <schwab@redhat.com>
40254
349290c0
AS
40255 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40256
6b1f68c9
AS
40257 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40258
f2282d42
RM
402592011-10-13 Roland McGrath <roland@hack.frob.com>
40260
40261 [BZ #13291]
40262 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40263
5298ffa8
AS
402642011-10-13 Andreas Schwab <schwab@redhat.com>
40265
714fad23
AS
40266 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40267 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40268 feraiseexcept.
40269
81dcc7fb
AS
40270 * sysdeps/x86_64/memrchr.S: Check for zero size.
40271
5298ffa8
AS
40272 * string/stratcliff.c: Add memrchr tests.
40273
951fbcec
LD
402742011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40275
40276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40277 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40278 rawmemchr-sse2 rawmemchr-sse2-bsf.
40279 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40280 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40281 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40282 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40283 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40284 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40285 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40286 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40287 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40288 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40289 * string/memrchr.c (MEMRCHR): New macro.
40290
0ac5ae23
UD
402912011-10-12 Ulrich Drepper <drepper@gmail.com>
40292
40293 Add integration with gcc's -ffinite-math-only and optimize wrapper
40294 functions in libm.
40295 * Versions.def: Define GLIBC_2.15 version for libm.
40296 * math/Makefile (headers): Add bits/math-finite.h.
40297 * math/bits/math-finite.h: New file.
40298 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40299 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40300 * math/e_acoshl.c: Add __*_finite alias.
40301 * math/e_acosl.c: Likewise.
40302 * math/e_asinl.c: Likewise.
40303 * math/e_atan2l.c: Likewise.
40304 * math/e_atanhl.c: Likewise.
40305 * math/e_coshl.c: Likewise.
40306 * math/e_exp10.c: Likewise.
40307 * math/e_exp10f.c: Likewise.
40308 * math/e_exp10l.c: Likewise.
40309 * math/e_exp2l.c: Likewise.
40310 * math/e_fmodl.c: Likewise.
40311 * math/e_gammal_r.c: Likewise.
40312 * math/e_hypotl.c: Likewise.
40313 * math/e_j0l.c: Likewise.
40314 * math/e_j1l.c: Likewise.
40315 * math/e_jnl.c: Likewise.
40316 * math/e_lgammal_r.c: Likewise.
40317 * math/e_log10l.c: Likewise.
40318 * math/e_log2l.c: Likewise.
40319 * math/e_logl.c: Likewise.
40320 * math/e_powl.c: Likewise.
40321 * math/e_sinhl.c: Likewise.
40322 * math/e_sqrtl.c: Likewise.
40323 * math/e_scalb.c: Completely rewritten and optimized.
40324 * math/e_scalbf.c: Likewise.
40325 * math/e_scalbl.c: Likewise.
40326 * math/w_acos.c: Likewise.
40327 * math/w_acosf.c: Likewise.
40328 * math/w_acosl.c: Likewise.
40329 * math/w_acosh.c: Likewise.
40330 * math/w_acoshf.c: Likewise.
40331 * math/w_acoshl.c: Likewise.
40332 * math/w_asin.c: Likewise.
40333 * math/w_asinf.c: Likewise.
40334 * math/w_asinl.c: Likewise.
40335 * math/w_atan2.c: Likewise.
40336 * math/w_atan2f.c: Likewise.
40337 * math/w_atan2l.c: Likewise.
40338 * math/w_atanh.c: Likewise.
40339 * math/w_atanhf.c: Likewise.
40340 * math/w_atanhl.c: Likewise.
40341 * math/w_exp10.c: Likewise.
40342 * math/w_exp10f.c: Likewise.
40343 * math/w_exp10l.c: Likewise.
40344 * math/w_fmod.c: Likewise.
40345 * math/w_fmodf.c: Likewise.
40346 * math/w_fmodl.c: Likewise.
40347 * math/w_j0.c: Likewise.
40348 * math/w_j0f.c: Likewise.
40349 * math/w_j0l.c: Likewise.
40350 * math/w_j1.c: Likewise.
40351 * math/w_j1f.c: Likewise.
40352 * math/w_j1l.c: Likewise.
40353 * math/w_jn.c: Likewise.
40354 * math/w_jnf.c: Likewise.
40355 * math/w_log.c: Likewise.
40356 * math/w_logf.c: Likewise.
40357 * math/w_logl.c: Likewise.
40358 * math/w_log10.c: Likewise.
40359 * math/w_log10f.c: Likewise.
40360 * math/w_log10l.c: Likewise.
40361 * math/w_log2.c: Likewise.
40362 * math/w_log2f.c: Likewise.
40363 * math/w_log2l.c: Likewise.
40364 * math/w_pow.c: Likewise.
40365 * math/w_powf.c: Likewise.
40366 * math/w_powl.c: Likewise.
40367 * math/w_remainder.c: Likewise.
40368 * math/w_remainderf.c: Likewise.
40369 * math/w_remainderl.c: Likewise.
40370 * math/w_scalb.c: Likewise.
40371 * math/w_scalbf.c: Likewise.
40372 * math/w_scalbl.c: Likewise.
40373 * math/w_sqrt.c: Likewise.
40374 * math/w_sqrtf.c: Likewise.
40375 * math/w_sqrtl.c: Likewise.
40376 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40377 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40378 used.
40379 * math/math_private.h: Declare __kernel_standard_f.
40380 * math/w_cosh.c: Remove cruft and optimize a bit.
40381 * math/w_coshf.c: Likewise.
40382 * math/w_coshl.c: Likewise.
40383 * math/w_exp2.c: Likewise.
40384 * math/w_exp2f.c: Likewise.
40385 * math/w_exp2l.c: Likewise.
40386 * math/w_hypot.c: Likewise.
40387 * math/w_hypotf.c: Likewise.
40388 * math/w_hypotl.c: Likewise.
40389 * math/w_lgamma.c: Likewise.
40390 * math/w_lgamma_r.c: Likewise.
40391 * math/w_lgammaf.c: Likewise.
40392 * math/w_lgammaf_r.c: Likewise.
40393 * math/w_lgammal.c: Likewise.
40394 * math/w_lgammal_r.c: Likewise.
40395 * math/w_sinh.c: Likewise.
40396 * math/w_sinhf.c: Likewise.
40397 * math/w_sinhl.c: Likewise.
40398 * math/w_tgamma.c: Likewise.
40399 * math/w_tgammaf.c: Likewise.
40400 * math/w_tgammal.c: Likewise.
40401 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40402 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40403 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40404 Minor optimizations. Pretty printing. Remove cruft.
40405 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40406 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40407 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40408 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40409 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40410 * sysdeps/i386/fpu/e_asin.S: Likewise.
40411 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40412 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40413 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40414 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40415 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40416 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40417 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40418 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40419 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40420 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40421 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40422 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40423 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40424 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40425 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40426 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40427 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40428 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40429 * sysdeps/i386/fpu/e_log.S: Likewise.
40430 * sysdeps/i386/fpu/e_log10.S: Likewise.
40431 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40432 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40433 * sysdeps/i386/fpu/e_log2.S: Likewise.
40434 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40435 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40436 * sysdeps/i386/fpu/e_logf.S: Likewise.
40437 * sysdeps/i386/fpu/e_logl.S: Likewise.
40438 * sysdeps/i386/fpu/e_pow.S: Likewise.
40439 * sysdeps/i386/fpu/e_powf.S: Likewise.
40440 * sysdeps/i386/fpu/e_powl.S: Likewise.
40441 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40442 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40443 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40444 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40445 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40446 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40447 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40448 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40449 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40450 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40451 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40452 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40453 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40454 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40455 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40456 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40457 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40458 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40459 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40460 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40461 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40462 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40463 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40464 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40465 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40466 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40467 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40468 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40469 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40470 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40471 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40472 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40473 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40474 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40475 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40476 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40477 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40478 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40479 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40480 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40481 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40482 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40483 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40484 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40485 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40486 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40487 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40488 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40489 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40490 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40491 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40492 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40493 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40494 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40495 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40496 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40497 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40498 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40499 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40500 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40501 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40502 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40503 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40504 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40505 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40506 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40507 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40508 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40509 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40510 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40511 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40512 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40513 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40514 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40515 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40516 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40517 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40518 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40519 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40520 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40521 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40522 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40523 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40524 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40525 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40526 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40527 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40528 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40529 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40530 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40531 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40532 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40533 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40534 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40535 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40536 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40537 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40538 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40539 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40540 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40541 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40542 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40543 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40544 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40545 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40546 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40547 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40548 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40549 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40550 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40551 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40552 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40553 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40554 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40555 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40556 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40557 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40558 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40559 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40560 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40561 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40562 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40563 (__isnanf): Likewise.
40564 (__isinf_ns): Likewise.
40565 (__isinf_nsf): Likewise.
40566 (__finite): Likewise.
40567 (__finitef): Likewise.
40568 (__ieee754_sqrt): Define as macro.
40569 (__ieee754_sqrtf): Define as macro.
40570 (__ieee754_sqrtl): Define as macro.
40571 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40572 inlined copy.
40573 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40574 __FINITE_MATH_ONLY__ consistent.
40575 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40576
12cc2fcd
AS
405772011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40578
a843a204
AS
40579 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40580 of rawmemchr.
40581
12cc2fcd
AS
40582 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40583
c853acd5
UD
405842011-10-09 Ulrich Drepper <drepper@gmail.com>
40585
40586 * po/ja.po: Update from translation team.
40587
c658d255
RM
405882011-10-08 Roland McGrath <roland@hack.frob.com>
40589
110946e4
RM
40590 * locale/programs/locarchive.c (prepare_address_space): New function.
40591 (create_archive, enlarge_archive, open_archive): Use it.
40592
50604220
RM
40593 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40594 inside [SHARED], where it is used.
40595
c658d255
RM
40596 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40597
40598 * nss/getent.c (netgroup_keys): Remove unused variable.
40599 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40600
6a621eb7
UD
406012011-10-08 Ulrich Drepper <drepper@gmail.com>
40602
7edb55ce
UD
40603 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40604 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40605 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40606 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40607 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40608 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40609 * math/Makefile (libm-calls): Add s_isinf_ns.
40610 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40611 * math/multc3.c: Likewise.
40612 * math/s_casin.c: Likewise.
40613 * math/s_casinf.c: Likewise.
40614 * math/s_casinl.c: Likewise.
40615 * math/s_ccos.c: Likewise.
40616 * math/s_ccosf.c: Likewise.
40617 * math/s_ccosl.c: Likewise.
40618 * math/s_ctan.c: Likewise.
40619 * math/s_ctanf.c: Likewise.
40620 * math/s_ctanh.c: Likewise.
40621 * math/s_ctanhf.c: Likewise.
40622 * math/s_ctanhl.c: Likewise.
40623 * math/s_ctanl.c: Likewise.
40624 * math/w_fmod.c: Likewise.
40625 * math/w_fmodf.c: Likewise.
40626 * math/w_fmodl.c: Likewise.
40627 * math/w_remainder.c: Likewise.
40628 * math/w_remainderf.c: Likewise.
40629 * math/w_remainderl.c: Likewise.
40630 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40631 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40632 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40633 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40634 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40635 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40636 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40637 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40638
187da0ae
UD
40639 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40640 of the number.
40641 * stdio-common/printf_fphex.c: Likewise.
40642 * stdio-common/printf_size.c: Likewise.
40643
9277c064
UD
40644 * math/e_exp10.c: Include math_private.h using <...> not "...".
40645 * math/e_exp10f.c: Likewise.
40646 * math/e_exp10l.c: Likewise.
40647 * math/e_exp2l.c: Likewise.
40648 * math/e_j0l.c: Likewise.
40649 * math/e_j1l.c: Likewise.
40650 * math/e_jnl.c: Likewise.
40651 * math/e_lgammal_r.c: Likewise.
40652 * math/e_rem_pio2l.c: Likewise.
40653 * math/e_scalb.c: Likewise.
40654 * math/e_scalbf.c: Likewise.
40655 * math/e_scalbl.c: Likewise.
40656 * math/k_cosl.c: Likewise.
40657 * math/k_sinl.c: Likewise.
40658 * math/k_tanl.c: Likewise.
40659 * math/s_cacoshf.c: Likewise.
40660 * math/s_catan.c: Likewise.
40661 * math/s_catanf.c: Likewise.
40662 * math/s_catanh.c: Likewise.
40663 * math/s_catanhf.c: Likewise.
40664 * math/s_catanhl.c: Likewise.
40665 * math/s_catanl.c: Likewise.
40666 * math/s_ccosh.c: Likewise.
40667 * math/s_ccoshf.c: Likewise.
40668 * math/s_ccoshl.c: Likewise.
40669 * math/s_cexp.c: Likewise.
40670 * math/s_cexpf.c: Likewise.
40671 * math/s_cexpl.c: Likewise.
40672 * math/s_clog.c: Likewise.
40673 * math/s_clog10.c: Likewise.
40674 * math/s_clog10f.c: Likewise.
40675 * math/s_clog10l.c: Likewise.
40676 * math/s_clogf.c: Likewise.
40677 * math/s_clogl.c: Likewise.
40678 * math/s_csin.c: Likewise.
40679 * math/s_csinf.c: Likewise.
40680 * math/s_csinh.c: Likewise.
40681 * math/s_csinhf.c: Likewise.
40682 * math/s_csinhl.c: Likewise.
40683 * math/s_csinl.c: Likewise.
40684 * math/s_csqrt.c: Likewise.
40685 * math/s_csqrtf.c: Likewise.
40686 * math/s_csqrtl.c: Likewise.
40687 * math/s_ctan.c: Likewise.
40688 * math/s_ctanf.c: Likewise.
40689 * math/s_ctanh.c: Likewise.
40690 * math/s_ctanhf.c: Likewise.
40691 * math/s_ctanhl.c: Likewise.
40692 * math/s_ctanl.c: Likewise.
40693 * math/s_ldexp.c: Likewise.
40694 * math/s_ldexpf.c: Likewise.
40695 * math/s_ldexpl.c: Likewise.
40696 * math/s_significand.c: Likewise.
40697 * math/s_significandf.c: Likewise.
40698 * math/s_significandl.c: Likewise.
40699 * math/w_acos.c: Likewise.
40700 * math/w_acosf.c: Likewise.
40701 * math/w_acosh.c: Likewise.
40702 * math/w_acoshf.c: Likewise.
40703 * math/w_acoshl.c: Likewise.
40704 * math/w_acosl.c: Likewise.
40705 * math/w_asin.c: Likewise.
40706 * math/w_asinf.c: Likewise.
40707 * math/w_asinl.c: Likewise.
40708 * math/w_atan2.c: Likewise.
40709 * math/w_atan2f.c: Likewise.
40710 * math/w_atan2l.c: Likewise.
40711 * math/w_atanh.c: Likewise.
40712 * math/w_atanhf.c: Likewise.
40713 * math/w_atanhl.c: Likewise.
40714 * math/w_cosh.c: Likewise.
40715 * math/w_coshf.c: Likewise.
40716 * math/w_coshl.c: Likewise.
40717 * math/w_dremf.c: Likewise.
40718 * math/w_exp10.c: Likewise.
40719 * math/w_exp10f.c: Likewise.
40720 * math/w_exp10l.c: Likewise.
40721 * math/w_exp2.c: Likewise.
40722 * math/w_exp2f.c: Likewise.
40723 * math/w_fmod.c: Likewise.
40724 * math/w_fmodf.c: Likewise.
40725 * math/w_fmodl.c: Likewise.
40726 * math/w_hypot.c: Likewise.
40727 * math/w_hypotf.c: Likewise.
40728 * math/w_hypotl.c: Likewise.
40729 * math/w_j0.c: Likewise.
40730 * math/w_j0f.c: Likewise.
40731 * math/w_j0l.c: Likewise.
40732 * math/w_j1.c: Likewise.
40733 * math/w_j1f.c: Likewise.
40734 * math/w_j1l.c: Likewise.
40735 * math/w_jn.c: Likewise.
40736 * math/w_jnf.c: Likewise.
40737 * math/w_jnl.c: Likewise.
40738 * math/w_lgamma.c: Likewise.
40739 * math/w_lgamma_r.c: Likewise.
40740 * math/w_lgammaf.c: Likewise.
40741 * math/w_lgammaf_r.c: Likewise.
40742 * math/w_lgammal.c: Likewise.
40743 * math/w_lgammal_r.c: Likewise.
40744 * math/w_log.c: Likewise.
40745 * math/w_log10.c: Likewise.
40746 * math/w_log10f.c: Likewise.
40747 * math/w_log10l.c: Likewise.
40748 * math/w_log2.c: Likewise.
40749 * math/w_log2f.c: Likewise.
40750 * math/w_log2l.c: Likewise.
40751 * math/w_logf.c: Likewise.
40752 * math/w_logl.c: Likewise.
40753 * math/w_pow.c: Likewise.
40754 * math/w_powf.c: Likewise.
40755 * math/w_powl.c: Likewise.
40756 * math/w_remainder.c: Likewise.
40757 * math/w_remainderf.c: Likewise.
40758 * math/w_remainderl.c: Likewise.
40759 * math/w_scalb.c: Likewise.
40760 * math/w_scalbf.c: Likewise.
40761 * math/w_scalbl.c: Likewise.
40762 * math/w_sinh.c: Likewise.
40763 * math/w_sinhf.c: Likewise.
40764 * math/w_sinhl.c: Likewise.
40765 * math/w_sqrt.c: Likewise.
40766 * math/w_sqrtf.c: Likewise.
40767 * math/w_sqrtl.c: Likewise.
40768 * math/w_tgamma.c: Likewise.
40769 * math/w_tgammaf.c: Likewise.
40770 * math/w_tgammal.c: Likewise.
40771
6a621eb7
UD
40772 * po/ja.po: Update from translation team.
40773
bf582445
AJ
407742011-09-29 Andreas Jaeger <aj@suse.de>
40775
f9efbf3a
AJ
40776 [BZ #13179]
40777 * sunrpc/netname.c (netname2host): Fix logic.
40778
bf582445
AJ
40779 [BZ #6779]
40780 [BZ #6783]
40781 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40782 correctly.
40783 * math/w_remainder.c (__remainder): Likewise.
40784 * math/w_remainderf.c (__remainderf): Likewise.
40785 * math/libm-test.inc (remainder_test): Add test cases.
40786
48693bea
AK
407872011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40788
40789 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40790 sdiv_qrnnd.
40791
42622229
LD
407922011-10-07 Ulrich Drepper <drepper@gmail.com>
40793
40794 * string/test-memcmp.c: Avoid unncessary #defines.
40795 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40796
093ecf92
LD
407972011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40798
40799 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40800 Use new sse2 version for core i3 - i7 as it's faster
40801 than sse42 version.
40802 (bit_Prefer_PMINUB_for_stringop): New.
40803 * sysdeps/x86_64/rawmemchr.S: Update.
40804 Replace with faster SSE2 version.
40805 * sysdeps/x86_64/memrchr.S: New file.
40806 * sysdeps/x86_64/memchr.S: Update.
40807 Replace with faster SSE2 version.
40808
fde56e5c
MP
408092011-09-12 Marek Polacek <mpolacek@redhat.com>
40810
40811 * elf/dl-load.c (lose): Add cast to avoid warning.
40812
21fd49a9
UD
408132011-10-07 Ulrich Drepper <drepper@gmail.com>
40814
5a06e643
UD
40815 * po/ca.po: Update from translation team.
40816
684ae515
UD
40817 * inet/getnetgrent_r.c: Hook up nscd.
40818 * nscd/Makefile (routines): Add nscd_netgroup.
40819 (nscd-modules): Add netgroupcache.
40820 (CFLAGS-netgroupcache.c): Define.
40821 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40822 (cache_search): Add const to second parameter.
40823 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40824 INNETGR.
40825 (dbs): Add netgrdb entry.
40826 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40827 (verify_persistent_db): Handle netgrdb.
40828 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40829 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40830 GETFDNETGR.
40831 (netgroup_response_header): Define.
40832 (innetgroup_response_header): Define.
40833 (datahead): Add netgroup_response_header and innetgroup_response_header
40834 elements.
40835 * nscd/nscd.conf: Add entries for netgroup cache.
40836 * nscd/nscd.h (dbtype): Add netgrdb.
40837 (_PATH_NSCD_NETGROUP_DB): Define.
40838 (netgroup_iov_disabled): Declare.
40839 (xmalloc, xcalloc, xrealloc): Move declarations here.
40840 (cache_search): Adjust prototype.
40841 Add netgroup-related prototypes.
40842 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40843 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40844 (__nscd_innetgr): Declare.
40845 * nscd/selinux.c (perms): Use access_vector_t as element type and
40846 add netgroup-related initializers.
40847 * nscd/netgroupcache.c: New file.
40848 * nscd/nscd_netgroup.c: New file.
40849 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40850 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40851 For four parameters use innetgr.
40852 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40853 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40854 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40855 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40856
21fd49a9
UD
40857 * nscd/connections.c (register_traced_file): Don't register file
40858 for disabled databases.
40859
054c0457
UD
408602011-10-06 Ulrich Drepper <drepper@gmail.com>
40861
32b63198
UD
40862 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40863
054c0457
UD
40864 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40865 from tree and freeing node.
40866
64031225
JO
408672011-09-25 Jiri Olsa <jolsa@redhat.com>
40868
40869 * nss/nsswitch.c (__nss_database_lookup): Handle
40870 nss_parse_service_list out of memory case.
40871
0490345c
JO
408722011-09-15 Jiri Olsa <jolsa@redhat.com>
40873
40874 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40875 out of memory case.
40876
3a62d00d
AS
408772011-10-04 Andreas Schwab <schwab@redhat.com>
40878
40879 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40880 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40881 pass it down.
40882 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40883 elf_machine_rela, elf_machine_lazy_rel.
40884 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40885 (ELF_DYNAMIC_DO_REL): Likewise.
40886 (ELF_DYNAMIC_DO_RELA): Likewise.
40887 (ELF_DYNAMIC_RELOCATE): Likewise.
40888 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40889 to ELF_DYNAMIC_DO_REL.
40890 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40891 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40892 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40893 elf_machine_rela.
40894 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40895 skip_ifunc, don't call ifunc function if non-zero.
40896 (elf_machine_rela): Likewise.
40897 (elf_machine_lazy_rel): Likewise.
40898 (elf_machine_lazy_rela): Likewise.
40899 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40900 (elf_machine_lazy_rel): Likewise.
40901 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40902 Likewise.
40903 (elf_machine_lazy_rel): Likewise.
40904 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40905 Likewise.
40906 (elf_machine_lazy_rel): Likewise.
40907 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40908 (elf_machine_lazy_rel): Likewise.
40909 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40910 (elf_machine_lazy_rel): Likewise.
40911 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40912 (elf_machine_lazy_rel): Likewise.
40913 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40914 (elf_machine_lazy_rel): Likewise.
40915 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40916 (elf_machine_lazy_rel): Likewise.
40917 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40918 (elf_machine_lazy_rel): Likewise.
40919
68577918
UD
409202011-09-28 Ulrich Drepper <drepper@gmail.com>
40921
40922 * nss/nss_files/files-init.c (_nss_files_init): Use static
40923 initialization for all the *_traced_file variables.
40924
68822d74
AS
409252011-09-28 Andreas Schwab <schwab@redhat.com>
40926
40927 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40928
2056100b
RM
409292011-09-27 Roland McGrath <roland@hack.frob.com>
40930
40931 [BZ #13226]
40932 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40933
32c76b63
AS
409342011-09-27 Andreas Schwab <schwab@redhat.com>
40935
40936 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40937 Reread the line before reparsing it.
40938
bf972c9d
AS
409392011-09-26 Andreas Schwab <schwab@redhat.com>
40940
40941 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40942
e057a1b5
JM
409432011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40944 Maxim Kuvyrkov <maxim@codesourcery.com>
40945 Joseph Myers <joseph@codesourcery.com>
40946
40947 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40948 if needed for __stack_chk_guard.
40949
bc7e1c36
RM
409502011-09-19 Roland McGrath <roland@hack.frob.com>
40951
ecb1482f
RM
40952 * sysdeps/posix/spawni.c (script_execute): Always define it.
40953 It will be optimized away if unused.
40954 (maybe_script_execute): New function.
40955 (__spawni): Call it.
40956
bc7e1c36
RM
40957 * Makerules: Don't include tls.make.
40958 (config-tls): Always set to thread.
40959 * tls.make.c: File removed.
40960
1c3b002b
MF
409612011-09-19 Mike Frysinger <vapier@gentoo.org>
40962
40963 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40964 * config.make.in (CPPFLAGS-config): New substituted variable.
40965
2840865d
UD
409662011-09-15 Ulrich Drepper <drepper@gmail.com>
40967
88738eb6
UD
40968 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40969
cbf645a6 40970 [BZ #13192]
2840865d
UD
40971 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40972 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40973
b402e91a
RM
409742011-09-15 Roland McGrath <roland@hack.frob.com>
40975
40976 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40977 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40978 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40979 (CALL_FAIL): Likewise.
40980 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40981 (CALL_FAIL): Macro removed.
40982 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40983
4c1a1f71
UD
409842011-09-15 Ulrich Drepper <drepper@gmail.com>
40985
40986 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40987 for __FINITE_MATH_ONLY__ == 1.
40988
edc121be
AS
409892011-09-15 Andreas Schwab <schwab@redhat.com>
40990
40991 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40992 __ieee754_sqrt instead of sqrt.
40993 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40994 __ieee754_sqrtf instead of sqrtf.
40995 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40996 __floorf instead of floorf.
40997 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40998 __floorf, __truncf instead of floorf, truncf.
40999
cd205654
UD
410002011-09-14 Ulrich Drepper <drepper@gmail.com>
41001
ee4d0315
UD
41002 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41003
cd205654
UD
41004 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41005 __extern_always_inline.
41006 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41007 32-bit.
41008
48b67d71
AS
410092011-09-14 Andreas Schwab <schwab@redhat.com>
41010
41011 * elf/rtld.c (dl_main): Also relocate in dependency order when
41012 doing symbol dependency testing.
41013
1ae12c75
AS
410142011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41015
41016 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41017 Always define `refsym'.
41018
995a80df
AS
410192011-09-13 Andreas Schwab <schwab@redhat.com>
41020
e529793b
AS
41021 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41022 (__FD_ELT): Renamed from __FDELT.
41023 * misc/bits/select2.h (__FD_ELT): Likewise.
41024 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41025 __FD_MASK instead of __FDELT, __FDMASK.
41026 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41027 Likewise.
41028 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41029 Likewise.
41030
52d4fef8
AS
41031 * elf/Makefile (gen-ldd): Fix pattern.
41032
995a80df
AS
41033 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41034 (init_tls): Likewise.
41035
8682f8b0
UD
410362011-09-12 Ulrich Drepper <drepper@gmail.com>
41037
41038 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41039
de82006d
AS
410402011-09-12 Andreas Schwab <schwab@redhat.com>
41041
a7c8e6a1
AS
41042 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41043 `struct cmsghdr *' instead of `void *'.
41044 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41045 Likewise.
41046
0f31fe77
AS
410472011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41048
41049 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41050 if non-absolute.
41051 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41052 ldd_rewrite_script.
0f31fe77 41053
32b4c839
UD
410542011-09-11 Ulrich Drepper <drepper@gmail.com>
41055
83cd1420
UD
41056 * configure.in: Remove --with-tls option.
41057 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41058 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41059 out in case it is missing.
41060 * sysdeps/ia64/elf/configure.in: Likewise.
41061 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41062 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41063 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41064 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41065 * sysdeps/sh/elf/configure.in: Likewise.
41066 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41067 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41068 * sysdeps/x86_64/elf/configure.in: Likewise.
41069 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41070 * sysdeps/mach/hurd/tls.h: Likewise.
41071
633f745d
UD
41072 [BZ #13067]
41073 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41074
f318beb8
UD
41075 [BZ #13090]
41076 * configure.in: Fix use of AC_INIT.
41077
32b4c839
UD
41078 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41079
3ce1f295
UD
410802011-09-10 Ulrich Drepper <drepper@gmail.com>
41081
bb016596
UD
41082 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41083 __set_errno.
8e58439c
UD
41084 * malloc/hooks.c: Likewise.
41085
aebae053 41086 [BZ #11929]
02d46fc4
UD
41087 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41088 variables statically.
41089 (narenas): Initialize.
41090 (list_lock): Initialize.
bb016596
UD
41091 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41092 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
41093 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41094 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41095 Add initializers to main_arena and mp_.
41096 (malloc_state): Remove pagesize member. Change all users to use
41097 GLRO(dl_pagesize).
41098
41099 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41100 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41101 is always initialized.
41102
22a89187
UD
41103 * malloc/malloc.c: Removed unused configurations and dead code.
41104 * malloc/arena.c: Likewise.
41105 * malloc/hooks.c: Likewise.
02d46fc4 41106 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 41107
d063d164
UD
41108 * include/tls.h: Removed. USE___THREAD must always be defined.
41109 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41110 * elf/dl-libc.c: Likewise.
41111 * elf/dl-tsd.c: Likewise.
41112 * include/errno.h: Likewise.
41113 * include/netdb.h: Likewise.
41114 * include/resolv.h: Likewise.
41115 * inet/herrno-loc.c: Likewise.
41116 * inet/herrno.c: Likewise.
41117 * malloc/arena.c: Likewise.
41118 * malloc/hooks.c: Likewise.
41119 * malloc/malloc.c: Likewise.
41120 * resolv/res-state.c: Likewise.
41121 * resolv/res_libc.c: Likewise.
41122 * sysdeps/i386/dl-machine.h: Likewise.
41123 * sysdeps/ia64/dl-machine.h: Likewise.
41124 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41125 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41126 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41127 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41128 * sysdeps/sh/dl-machine.h: Likewise.
41129 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41130 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41131 * sysdeps/unix/i386/sysdep.S: Likewise.
41132 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41133 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41134 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41135 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41136 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41137 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41138 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41139 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41140 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41142 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41143 * sysdeps/x86_64/dl-machine.h: Likewise.
41144 * tls.make.c: Likewise.
41145
3ce1f295
UD
41146 * configure.in: Remove --with-__thread option. Make tests for
41147 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41148 tls_model attribute fail if no support is available. Remove
41149 USE_IN_LIBIO.
41150 * Makeconfig: Adjust for dropped configure option. All features are
41151 now mandatory.
41152 * Makerules: Likewise.
41153 * Versions.def: Likewise.
41154 * argp/argp-fmtstream.c: Likewise.
41155 * argp/argp-fmtstream.h: Likewise.
41156 * argp/argp-help.c: Likewise.
41157 * assert/assert.c: Likewise.
41158 * config.h.in: Likewise.
41159 * config.make.in: Likewise.
41160 * configure: Likewise.
41161 * configure.in: Likewise.
41162 * csu/Versions: Likewise.
41163 * csu/init.c: Likewise.
41164 * elf/tst-audit2.c: Likewise.
41165 * elf/tst-tls10.c: Likewise.
41166 * elf/tst-tls10.h: Likewise.
41167 * elf/tst-tls11.c: Likewise.
41168 * elf/tst-tls12.c: Likewise.
41169 * elf/tst-tls14.c: Likewise.
41170 * elf/tst-tlsmod11.c: Likewise.
41171 * elf/tst-tlsmod12.c: Likewise.
41172 * elf/tst-tlsmod13.c: Likewise.
41173 * elf/tst-tlsmod13a.c: Likewise.
41174 * elf/tst-tlsmod14a.c: Likewise.
41175 * elf/tst-tlsmod15b.c: Likewise.
41176 * elf/tst-tlsmod16a.c: Likewise.
41177 * elf/tst-tlsmod16b.c: Likewise.
41178 * elf/tst-tlsmod7.c: Likewise.
41179 * elf/tst-tlsmod8.c: Likewise.
41180 * elf/tst-tlsmod9.c: Likewise.
41181 * gmon/gmon.c: Likewise.
41182 * grp/fgetgrent_r.c: Likewise.
41183 * grp/putgrent.c: Likewise.
41184 * hurd/fopenport.c: Likewise.
41185 * include/libc-symbols.h: Likewise.
41186 * include/tls.h: Likewise.
41187 * intl/gettextP.h: Likewise.
41188 * intl/loadinfo.h: Likewise.
41189 * locale/global-locale.c: Likewise.
41190 * locale/localeinfo.h: Likewise.
41191 * mach/devstream.c: Likewise.
41192 * malloc/arena.c: Likewise.
41193 * malloc/set-freeres.c: Likewise.
41194 * misc/err.c: Likewise.
41195 * misc/getttyent.c: Likewise.
41196 * misc/mntent_r.c: Likewise.
41197 * posix/getopt.c: Likewise.
41198 * posix/wordexp.c: Likewise.
41199 * pwd/fgetpwent_r.c: Likewise.
41200 * resolv/Versions: Likewise.
41201 * resolv/res_hconf.c: Likewise.
41202 * shadow/fgetspent_r.c: Likewise.
41203 * shadow/putspent.c: Likewise.
41204 * stdio-common/printf_fphex.c: Likewise.
41205 * stdio-common/tmpfile.c: Likewise.
41206 * stdlib/abort.c: Likewise.
41207 * stdlib/fmtmsg.c: Likewise.
41208 * sunrpc/auth_unix.c: Likewise.
41209 * sunrpc/clnt_perr.c: Likewise.
41210 * sunrpc/clnt_tcp.c: Likewise.
41211 * sunrpc/clnt_udp.c: Likewise.
41212 * sunrpc/clnt_unix.c: Likewise.
41213 * sunrpc/openchild.c: Likewise.
41214 * sunrpc/svc_simple.c: Likewise.
41215 * sunrpc/svc_tcp.c: Likewise.
41216 * sunrpc/svc_udp.c: Likewise.
41217 * sunrpc/svc_unix.c: Likewise.
41218 * sunrpc/xdr.c: Likewise.
41219 * sunrpc/xdr_array.c: Likewise.
41220 * sunrpc/xdr_rec.c: Likewise.
41221 * sunrpc/xdr_ref.c: Likewise.
41222 * sunrpc/xdr_stdio.c: Likewise.
41223
1248c1c4
PB
412242011-09-09 Ulrich Drepper <drepper@gmail.com>
41225
41226 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41227
412282011-07-03 Andreas Jaeger <aj@suse.de>
41229
41230 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41231 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41232 regenerate with gen-libm-tests.pl.
41233
412342010-05-12 Petr Baudis <pasky@suse.cz>
41235
41236 [BZ #11589]
41237 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41238 around j0() zero points by switching to j1().
41239 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41240 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41241 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41242 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41243
f22e1074
UD
412442011-09-09 Ulrich Drepper <drepper@gmail.com>
41245
f19009c1
UD
41246 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41247 instead of 0.
41248 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 41249 instead of 0.
f19009c1
UD
41250 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41251 Patch in part by Pavel Roskin <proski@gnu.org>.
41252
3f8cc204
UD
41253 [BZ #13138]
41254 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41255 realloc.
41256 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41257 Free memory block if necessary.
41258
f22e1074
UD
41259 [BZ #12847]
41260 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41261 be NULL. Don't lock in this case.
41262
0a2349f9
RM
412632011-09-09 Roland McGrath <roland@hack.frob.com>
41264
41265 * elf/elf.h (ELFOSABI_GNU): New macro.
41266 (ELFOSABI_LINUX): Define to that.
41267
f3cdd467
DZ
412682011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41269
41270 * string/strncat.c (strncat): Undef the symbol in case it has been
41271 defined in bits/string.h.
41272
74718d13
UD
412732011-09-09 Ulrich Drepper <drepper@gmail.com>
41274
633e9e0f
UD
41275 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41276
0a2349f9 41277 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
41278 link map.
41279
f9924780
AJ
412802011-08-17 Andreas Jaeger <aj@suse.de>
41281
41282 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41283
7f5517aa
PP
412842011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41285 Ian Lance Taylor <iant@google.com>
41286
41287 * math/libm-test.inc (lround_test): New testcase.
41288 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41289
762011fe
UD
412902011-09-08 Ulrich Drepper <drepper@gmail.com>
41291
92963737
UD
41292 * Makefile: Remove support for automatic cvs check-ins.
41293 * Makerules: Likewise.
41294 * config.make.in: Likewise.
41295 * configure.in: Likewise.
41296 * intl/Makefile: Likewise.
41297 * locale/Makefile: Likewise.
41298 * po/Makefile: Likewise.
41299 * posix/Makefile: Likewise.
41300 * sysdeps/gnu/Makefile: Likewise.
41301 * sysdeps/mach/hurd/Makefile: Likewise.
41302 * sysdeps/sparc/sparc32/Makefile: Likewise.
41303
b0727fd8
JS
41304 [BZ #13118]
41305 * posix/Makefile (bug-regex32-ENV): Define.
41306 Patch by John Stanley <jpsinthemix@verizon.net>.
41307
a0f33f99
UD
41308 * misc/Makefile (headers): Add bits/select2.h.
41309 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41310 * misc/bits/select2.h: New file.
41311 * include/bits/select2.h: New file.
41312 * debug/Makefile (routines): Add fdelt_chk.
41313 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41314 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41315 FD_ISSET.
41316 * debug/fdelt_chk.c: New file.
41317
762011fe
UD
41318 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41319 * wcsmbs/test-wmemcmp.c: Likewise.
41320 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 41321 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
41322
413232011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41324
41325 * string/Makefile (strop-tests): Add memcmp.
41326 * string/test-wmemcmp.c: New file.
41327 * string/test-memcmp.c: Add wmemcmp support.
41328
7f513ec8
RM
413292011-09-08 Roland McGrath <roland@hack.frob.com>
41330
0442afb4
RM
41331 [BZ #13153]
41332 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41333 2011-07-19 change.
41334
7f513ec8
RM
41335 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41336 garbage value in a __mach_port_mod_refs call in the cases of the
41337 task-self and thread-self ports.
41338
a12b2239
ST
413392011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41340
41341 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41342
610f9ab4
AS
413432011-09-08 Andreas Schwab <schwab@redhat.com>
41344
7f513ec8 41345 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 41346
48882a1a
LD
413472011-09-07 Ulrich Drepper <drepper@gmail.com>
41348
b49865be
UD
41349 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41350
fdc86bc9
UD
41351 * elf/dl-libc.c (dlerror_run): Pass back error code from
41352 dl_catch_error.
41353
c966526a
UD
41354 [BZ #13123]
41355 * elf/dl-load.c (lose): Free l_origin if it is valid.
41356
48882a1a
LD
41357 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41358 names.
41359 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41360 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41361 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41362 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41363 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41364 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41365
77a2a8b4
AZ
413662011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41367
41368 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41369 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41370 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41371 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41372 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41373 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41374 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41375 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41376 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41377 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41378
24f579d8
AM
413792011-08-15 Alan Modra <amodra@gmail.com>
41380
41381 [BZ #13092]
41382 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41383 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41384 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41385 ppc_mcount to static-only-routines.
41386 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41387 __mcount_internal.
41388 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41389 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41390
3d4837df
UD
413912011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41392
41393 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41394 for finite and infinity parameters.
41395
22700377
WS
413962011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41397
41398 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41399 and add nop instructions for throughput optimization.
41400 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41401
5025581e
WS
414022011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41403
41404 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41405 aligned copy for power7 with vector-scalar instructions.
41406 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41407
08a300c9
L
414082011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41409
41410 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41411 AVX check.
41412
59178ef9
AS
414132011-09-07 Andreas Schwab <schwab@redhat.com>
41414
41415 [BZ #13144]
41416 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41417 last change.
41418
e38ba7ab
UD
414192011-09-07 Ulrich Drepper <drepper@gmail.com>
41420
41421 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41422 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41423 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41424 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41425 clock_gettime.
41426
d53a73ac
UD
414272011-09-06 Ulrich Drepper <drepper@gmail.com>
41428
fc8bffcc
UD
41429 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41430 Forgot to demangle the pointer.
41431
ceaa0c5d
UD
41432 * sysdeps/i386/sysdep.h: Define atom_text_section.
41433 * sysdeps/x86_64/sysdep.h: Likewise.
41434 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41435 section with atom_text_section.
41436 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41437 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41438 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41439 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41440 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41441
a77d3c17
UD
41442 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41443 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41444 already be defined. Change to take two parameters and don't assign
41445 result to variable. Adjust all users.
41446 Define INTERNAL_GETTIME if not already defined.
41447 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41448 call.
41449 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41450 HAVE_CLOCK_GETTIME_VSYSCALL.
41451 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41452
d53a73ac
UD
41453 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41454 gettimeofday vsyscall, just use time.
41455
a8f84144
AS
414562011-09-06 Andreas Schwab <schwab@redhat.com>
41457
41458 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41459 <errno.h>.
41460
ef606249
UD
414612011-09-06 Ulrich Drepper <drepper@gmail.com>
41462
41463 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41464 syscall on x86-64.
41465 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41466 syscall.
41467 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41468 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41469 syscall if possible.
41470
6585cb60
UD
414712011-09-05 Ulrich Drepper <drepper@gmail.com>
41472
41473 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41474 e_ident. Don't pass to find_mapsXX.
41475 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41476
a5f524e4
LD
414772011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41478
41479 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41480 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41481 * sysdeps/x86_64/multiarch/strchr.S: Update.
41482 Check bit_slow_BSF bit.
41483 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41484 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41485 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41486
554881ef
UD
414872011-09-05 Ulrich Drepper <drepper@gmail.com>
41488
d96de963
UD
41489 [BZ #13134]
41490 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41491 before glibc 2.15.
41492 (tryshell): Define.
41493 (__spawni): Change last parameter to be flag. Test
41494 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41495 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41496 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41497 * posix/spawni.c: Likewise.
41498 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41499 * posix/spawnp.c: Likewise. Change normal version to use
41500 SPAWN_XFLAGS_USE_PATH.
41501 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41502 SPAWN_XFLAGS_TRY_SHELL.
41503
d48e5868
UD
41504 [BZ #13150]
41505 * posix/glob.h: Remove gcc 1.x support.
41506
554881ef
UD
41507 [BZ #13068]
41508 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41509
693fb948
LD
415102011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41511
41512 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41513 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41514 strrchr-sse2-bsf
41515 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41516 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41517 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41518 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41519 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41520 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41521
1b48c537
UD
415222011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41523
49d42c37
UD
41524 * sysdeps/x86_64/wcscmp.S: New file.
41525
1b48c537
UD
41526 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41527 wcscmp-c wcscmp-sse2
41528 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41529 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41530 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41531 * wcsmbs/wcscmp.c: Allow renaming.
41532
15c95c5d
DM
415332011-09-05 David S. Miller <davem@davemloft.net>
41534
41535 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41536 stack slot, rather than the struct return pointer slot.
41537 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41538 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41540 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41541
2f0ad8f3
UD
415422011-09-05 Ulrich Drepper <drepper@gmail.com>
41543
d88ae418
UD
41544 * po/ja.po: Update from translation team.
41545
2f0ad8f3
UD
41546 [BZ #13144]
41547 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41548 kernel in 64-bit binaries.
41549
5f4318d1
DM
415502011-09-01 David S. Miller <davem@davemloft.net>
41551
41552 * elf/elf.h (HWCAP_SPARC_*): Move to..
41553 * sysdeps/sparc/sysdep.h: this new file and add new values.
41554 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41555 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41556 _DL_HWCAP_COUNT to 24.
41557 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41558 entries.
41559 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41560 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41561 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41562 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41563 instead of magic constants.
41564 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41565
3ba57516
DM
415662011-08-31 David S. Miller <davem@davemloft.net>
41567
41568 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41569 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41570 Reimplement to do errno handling inline.
41571 (SYSCALL_ERROR_HANDLER): New macro.
41572 (__SYSCALL_STRING): Do not do errno handling in asm.
41573 (__CLONE_SYSCALL_STRING): Delete.
41574 (__INTERNAL_SYSCALL_STRING): Delete.
41575 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41576 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41577 (PSEUDO): Reimplement to do errno handling inline.
41578 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41579 (SYSCALL_ERROR_HANDLER): New macro.
41580 (__SYSCALL_STRING): Do not do errno handling in asm.
41581 (__CLONE_SYSCALL_STRING): Delete.
41582 (__INTERNAL_SYSCALL_STRING): Delete.
41583 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41584 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41585 i386.
41586 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41587 (inline_syscall*): Add 'err' argument.
41588 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41589 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41590 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41591 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41592
41593 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41594 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41595
2bc17433
AS
415962011-08-30 Andreas Schwab <schwab@redhat.com>
41597
41598 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41599
fbeb5f4d
JO
416002011-08-29 Jiri Olsa <jolsa@redhat.com>
41601
41602 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41603 directive.
41604
ad69cc26
DM
416052011-08-24 David S. Miller <davem@davemloft.net>
41606
41607 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41608
39dd69df
AS
416092011-08-24 Andreas Schwab <schwab@redhat.com>
41610
41611 * elf/Makefile: Add rules to build and run unload8 test.
41612 * elf/unload8.c: New file.
41613 * elf/unload8mod1.c: New file.
41614 * elf/unload8mod1x.c: New file.
41615 * elf/unload8mod2.c: New file.
41616 * elf/unload8mod3.c: New file.
41617
41618 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41619 it wasn't used.
41620
2c0b250a
DM
416212011-08-23 David S. Miller <davem@davemloft.net>
41622
41623 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41624 subtract stack bias.
41625 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41626 %sp not %fp in calculations.
41627 (_JMPBUF_UNWINDS_ADJ): Likewise.
41628
22044b48
DM
41629 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41630 (aio_suspend): Call it to force an exception region around the
41631 AIO_MISC_WAIT() invocation.
41632
2cae4995
AS
416332011-08-23 Andreas Schwab <schwab@redhat.com>
41634
41635 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41636 backslash.
41637
873a772e
AJ
416382011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41639
41640 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41641 protection macro.
41642 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41643 and <dl-machine.h>.
41644 (Elf64_FuncDesc): Remove.
41645
25ad0df1
DM
416462011-08-22 David S. Miller <davem@davemloft.net>
41647
41648 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41649 sigaltstack check, add missing cfi directives.
41650 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41651 missing cfi directives, and sigaltstack handling.
41652
e888bcbe
AS
416532011-08-16 Andreas Schwab <schwab@redhat.com>
41654
41655 [BZ #11724]
41656 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41657 object is seen twice.
41658 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41659
41660 * elf/Makefile (distribute): Add tst-initorder2.c.
41661 (tests): Add tst-initorder2.
41662 (modules-names): Add tst-initorder2a tst-initorder2b
41663 tst-initorder2c tst-initorder2d. Add rules to build them.
41664 ($(objpfx)tst-initorder2.out): New rule.
41665 * elf/tst-initorder2.c: New file.
41666 * elf/tst-initorder2.exp: New file.
41667
87162f46
AS
416682011-08-22 Andreas Schwab <schwab@redhat.com>
41669
70538b7f
AS
41670 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41671
f55ffe58
AS
41672 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41673 dependencies back to end of function.
41674
87162f46
AS
41675 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41676 $(elfobjdir)/ld.so.
41677
91b392a4
UD
416782011-08-21 Ulrich Drepper <drepper@gmail.com>
41679
41680 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41681 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41682 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41683 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41684 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41685 of __vdso_gettimeofday.
41686 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41687 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41688 attribute_hidden.
41689 (_libc_vdso_platform_setup): Remove initialization of
41690 __vdso_gettimeofday and __vdso_time.
41691
5c43483f
UD
416922011-08-20 Ulrich Drepper <drepper@gmail.com>
41693
775a77e7
UD
41694 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41695 and fgetc_unlocked.
41696 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41697 getc_unlocked.
89f447ed 41698
49c74ba9
UD
41699 * elf/dl-open.c (add_to_global): Report additions to the global scope
41700 for LD_DEBUG=scopes.
41701 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 41702 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 41703
5c43483f
UD
41704 [BZ #13114]
41705 * stdio-common/Makefile (tests): Add bug24.
41706 * stdio-common/bug24.c: New file.
41707
a101b025
AJ
417082011-08-19 Andreas Jaeger <aj@suse.de>
41709
41710 [BZ #13114]
41711 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41712 non-existant file when using close-on-exec mode.
41713
c88f1766
UD
417142011-08-20 Ulrich Drepper <drepper@gmail.com>
41715
0276a718
UD
41716 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41717 the very first instruction.
41718
c88f1766
UD
41719 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41720 the CFI state in the end.
41721 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41722 inclusion of dl-trampoline.h.
41723 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41724
51ccffa0
AS
417252011-08-19 Andreas Schwab <schwab@redhat.com>
41726
94d7165f
AS
41727 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41728 expectations for long double.
41729
51ccffa0
AS
41730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41731 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41732
fd708658 417332011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
41734
41735 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41736 artificual limit depends upon the system page size.
41737
44f0a71e
UD
417382011-08-17 Ulrich Drepper <drepper@gmail.com>
41739
41740 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41741 * resolv/Makefile: Define CFLAGS-libresolv.
41742
8de79a24
AS
417432011-08-17 Andreas Schwab <schwab@redhat.com>
41744
41745 * nss/makedb.c (compute_tables): Make variables used in nested
41746 function static.
41747
27724598
UD
417482011-08-17 Ulrich Drepper <drepper@gmail.com>
41749
c5305d88
UD
41750 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41751 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41752 if buffer was too small.
41753
27724598
UD
41754 * elf/pldd.c (main): Attach to all threads in the process.
41755 Rewrite /proc handling to use *at functions.
41756
076fe015
UD
417572011-08-16 Ulrich Drepper <drepper@gmail.com>
41758
174baab3
UD
41759 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41760 specifies first scope to show.
41761 (dl_open_worker): Update callers. Move printing scope of new
41762 object to before the relocation.
44f0a71e 41763 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
41764 * sysdeps/generic/ldsodefs.h: Update declaration.
41765
076fe015
UD
41766 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41767 string for the scope number.
41768
a60df2c3
UD
417692011-08-14 Ulrich Drepper <drepper@gmail.com>
41770
41771 * nscd/servicescache.c (cache_addserv): Make sure written is always
41772 initialized.
41773
5e4287d1
RM
417742011-08-14 Roland McGrath <roland@hack.frob.com>
41775
85ae0589
RM
41776 * sysdeps/i386/i486/bits/atomic.h
41777 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41778 statement expression, so as to suppress "set but not used" warning.
41779 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41780
69f63097
RM
41781 * string/strncat.c (STRNCAT): Use prototype definition.
41782
675456ef
RM
41783 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41784 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41785 -Iprograms here.
41786 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41787 (localedef-modules): Add localedef.
41788 (locale-modules): Add locale.
41789
5e4287d1
RM
41790 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41791 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41792 to avoid a warning.
41793
9c96ff23
DM
417942011-08-14 David S. Miller <davem@davemloft.net>
41795
41796 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41797 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41798
f9ddf089
UD
417992011-08-13 Ulrich Drepper <drepper@gmail.com>
41800
44f0a71e 41801 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
41802 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41803 * elf/rtld.c (dl_main): Set l_name of vDSO.
41804 Call _dl_show_scope when DL_DEBUG_SCOPES.
41805 (process_dl_debug): Recognize scopes flag and also set it for all.
41806 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41807 Declare _dl_show_scope.
41808
1dc27704
UD
41809 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41810 (do_dlopen): Pass caller_dlopen to dl_open.
41811 (__libc_dlopen_mode): Initialize caller_dlopen.
41812
f9ddf089
UD
41813 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41814 of libc. Make tolower call locale-independent. Optimize a bit by
41815 using isdigit instead of isalnum.
41816 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41817
9ac533d3
UD
418182011-08-12 Ulrich Drepper <drepper@gmail.com>
41819
41820 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41821 was a dependency or dynamically loaded.
41822
89edf2e9
UD
418232011-08-11 Ulrich Drepper <drepper@gmail.com>
41824
8e999d29
UD
41825 * intl/l10nflist.c: Allow architecture-specific pop function.
41826 * sysdeps/x86_64/l10nflist.c: New file.
41827
89edf2e9
UD
41828 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41829 classification.
41830
14d96785
AS
418312011-08-10 Andreas Schwab <schwab@redhat.com>
41832
41833 * include/dirent.h: Add libc_hidden_proto for scandirat and
41834 scandirat64. Don't declare __scandirat64.
41835 * dirent/scandirat.c: Add libc_hidden_def.
41836 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41837 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41838
6761ac04
DM
418392011-08-10 David S. Miller <davem@davemloft.net>
41840
41841 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41842 enum.
41843 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41844 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41845 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41846
c55fbd1e
UD
418472011-08-09 Ulrich Drepper <drepper@gmail.com>
41848
41849 * Versions.def [libc]: Add GLIBC_2.15.
41850 * dirent/Makefile (routines): Add scandirat and scandirat64.
41851 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41852 GLIBC_2.15.
41853 * dirent/dirent.h: Declare scandirat and scandirat64.
41854 * dirent/scandirat.c: New file.
41855 * dirent/scandirat64.c: New file.
41856 * sysdeps/wordsize-64/scandirat.c: New file.
41857 * sysdeps/wordsize-64/scandirat64.c: New file.
41858 * dirent/opendir.c: Define opendirat.
41859 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41860 using scandirat.
41861 * dirent/scandir64.c: Adjust for scandir.c change.
41862 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41863 __scandirat64, and __scandir_cancel_handler.
41864 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41865 additional parameter and use openat instead of open (outside of ld.so).
41866 Add new __opendir as wrapper around __opendirat.
41867 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41868 here without requiring old scandirat implementation.
41869
879165f2
UD
418702011-08-08 Ulrich Drepper <drepper@gmail.com>
41871
41872 * dirent/scandir.c (cancel_handler): Renamed to
41873 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41874 defined. Adjust users.
41875 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41876 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41877
cb7e923b
UD
418782011-08-04 Ulrich Drepper <drepper@gmail.com>
41879
16292edd
UD
41880 * string/test-string.h (IMPL): Use __STRING to expand name and then
41881 stringify it.
41882
cb7e923b
UD
41883 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41884 of cleanups.
41885
cff82933
LD
418862011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41887
41888 * string/Makefile: Update.
41889 (strop-tests): Append strncat.
41890 * string/test-wcscmp.c: New file.
41891 New comprehensive test for wcscmp.
41892 * string/test-strcmp.c: Update.
41893 (WIDE): New define.
41894
9be9bfcc
AS
418952011-07-22 Andreas Schwab <schwab@redhat.com>
41896
41897 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41898 line.
41899
2e96f1c7
AS
419002011-07-26 Andreas Schwab <schwab@redhat.com>
41901
41902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41903 encoding to ACE if AI_IDN.
41904
85188888
JJ
419052011-08-01 Jakub Jelinek <jakub@redhat.com>
41906
41907 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41908 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41909
5fa16e9b
LD
419102011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41911
41912 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41913 Fix overflow bug in strncat.
41914 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41915
41916 * string/test-strncat.c: Update.
41917 Add new tests for checking overflow bugs.
41918
419192011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41920
41921 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41922 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41923 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41924 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41925 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41926 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41927 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41928 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41929 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41930
41931 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41932 (USE_AS_STRCAT): Define.
41933 Add strcat and strncat support.
41934 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41935
8c1a459f
AS
419362011-07-25 Andreas Schwab <schwab@redhat.com>
41937
41938 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41939 __n bigger than INT_MAX+1.
41940 (__strncmp_g): Likewise.
41941
bba33c28
UD
419422011-07-23 Ulrich Drepper <drepper@gmail.com>
41943
798be72d
UD
41944 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41945 * libio/stido.h: Likewise.
41946
8accd4dc
UD
41947 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41948 (AF_NFC): Define.
41949 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41950 (AF_NFC): Define.
41951
cbff0d96
UD
41952 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41953 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41954 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41955 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41956 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41957
9191c04a
UD
41958 [BZ #13021]
41959 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41960 installed.
41961
bba33c28
UD
41962 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41963 typo.
41964 (_dl_x86_64_save_sse): Likewise.
41965
90f139dd
UD
419662011-07-22 Ulrich Drepper <drepper@gmail.com>
41967
1aae088a
UD
41968 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41969 OSXSAVE.
41970 (_dl_x86_64_save_sse): Likewise.
41971
8e2045f5
UD
41972 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41973
90f139dd
UD
41974 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41975
1d002f25
AS
419762011-07-21 Andreas Schwab <schwab@redhat.com>
41977
41978 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41979 change.
41980 (_dl_x86_64_save_sse): Use correct AVX check.
41981
21137f89
UD
419822011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41983
41984 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41985 bug in strncpy/strncat.
41986 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41987
a65c0b7a
UD
419882011-07-21 Ulrich Drepper <drepper@gmail.com>
41989
41990 * string/tester.c (test_strcat): Add tests for different alignments
41991 of source and destination.
41992 (test_strncat): Likewise.
41993
6986b98a
UD
419942011-07-20 Ulrich Drepper <drepper@gmail.com>
41995
90bb2039
UD
41996 [BZ #12852]
41997 * posix/glob.c (glob): Check passed in values before using them in
41998 expressions to avoid some overflows.
41999 (glob_in_dir): Likewise.
42000
5644ef54
UD
42001 [BZ #13007]
42002 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42003 check for AVX enablement so that we don't crash with old kernels and
42004 new hardware.
42005 * elf/tst-audit4.c: Add same checks here.
42006 * elf/tst-audit6.c: Likewise.
42007
42008 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 42009
bfc9dc9b
AS
420102011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42011
42012 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42013
702e64bb
UD
420142011-07-20 Ulrich Drepper <drepper@gmail.com>
42015
42016 * po/cs.po: Update from translation team.
42017 * po/bg.po: Likewise.
42018
295e904f
MP
420192011-07-12 Marek Polacek <mpolacek@redhat.com>
42020
42021 * misc/sys/cdefs.h: Add support for const attribute.
42022 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42023 to gnu_dev_{major,minor,makedev} functions.
42024
3ff94596
MP
420252011-07-20 Marek Polacek <mpolacek@redhat.com>
42026
42027 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42028
28b59fca
AS
420292011-07-20 Andreas Schwab <schwab@redhat.com>
42030
42031 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42032 strlen results.
42033
19df733e
AK
420342011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42035
42036 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42037 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42038 register in order to avoid conflicts with the soft frame pointer
42039 being held in r11 when necessary.
42040 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42041 (INTERNAL_VSYSCALL_NCS): Likewise.
42042
c8835729
MP
420432011-07-14 Marek Polacek <mpolacek@redhat.com>
42044
42045 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42046 * elf/dl-fini.c (_dl_fini): Adjust caller.
42047 * elf/dl-close.c (_dl_close_worker): Likewise.
42048 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42049
b902330c
MP
420502011-07-15 Marek Polacek <mpolacek@redhat.com>
42051
8991e135
MP
42052 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42053 "aux_cache->nlibs < 0".
42054
b902330c
MP
42055 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42056 in the reload-count case.
42057
99710781
LD
420582011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42059
42060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42061 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42062 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42063 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42064 * sysdeps/x86_64/multiarch/strcat.S: New file.
42065 * sysdeps/x86_64/multiarch/strncat.S: New file.
42066 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42067 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42068 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42069 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42070 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42071 (USE_AS_STRCAT): Define.
42072 Add strcat and strncat support.
42073 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42074 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42075 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42076 * string/strncat.c: Update.
42077 (USE_AS_STRNCAT): Define.
42078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42079 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42080 and i7.
42081 * sysdeps/x86_64/multiarch/init-arch.h
42082 (bit_Prefer_PMINUB_for_stringop): New.
42083 (index_Prefer_PMINUB_for_stringop): Likewise.
42084 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42085 bit_Prefer_PMINUB_for_stringop.
42086
7dc6bd90
UD
420872011-07-19 Ulrich Drepper <drepper@gmail.com>
42088
42089 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42090 buffer64.
42091 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42092 of casting of buffer.
42093 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42094 buffer32 and buffer64.
42095 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42096 writes instead of casting of buffer.
42097 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42098 buffer32.
42099 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42100 casting of buffer.
42101
e0e72284
AS
421022011-07-19 Andreas Schwab <schwab@redhat.com>
42103
42104 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42105
feb1eb0b
UD
421062011-07-19 Ulrich Drepper <drepper@gmail.com>
42107
42108 * nscd/nscd.c (termination_handler): Don't do anything for a database
42109 if it has not yet been initialized.
42110
298711ff
UD
421112011-07-18 Ulrich Drepper <drepper@gmail.com>
42112
42113 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42114
421152011-07-15 Marek Polacek <mpolacek@redhat.com>
42116
42117 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42118
f9d68389
UD
421192011-07-18 Ulrich Drepper <drepper@gmail.com>
42120
42121 * po/nl.po: Update from translation team.
42122 * po/sv.po: Likewise.
42123
db290cf5
RM
421242011-07-16 Roland McGrath <roland@hack.frob.com>
42125
42126 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42127 now disallowed by GCC.
5c550700 42128
fd5e21c7
RM
42129 * configure.in (use-default-link): Default to yes if a test -shared
42130 link meets our qualifications.
42131 * configure: Regenerated.
42132
5c550700
RM
42133 * config.make.in (output-format): New variable.
42134 * configure.in: Check for ld --print-output-format support.
42135 * configure: Regenerated.
42136 * Makerules ($(common-objpfx)format.lds)
42137 [$(output-format) != unknown]: Just use $(output-format),
42138 instead of the linker-script munging.
42139
9fa2c032
RM
421402011-07-14 Roland McGrath <roland@hack.frob.com>
42141
a6928d51
RM
42142 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42143 of $(common-objpfx)shlib.lds.
42144 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42145
661607b3
RM
42146 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42147 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42148
9fa2c032
RM
42149 * configure.in (-z relro check): Adjust test code to add a large
42150 writable data section after it.
42151 * configure: Regenerated.
42152
defe9061
RM
421532011-07-11 Roland McGrath <roland@hack.frob.com>
42154
42155 * configure.in (-z relro check): Fix test code to make the variable
42156 truly const.
42157 * configure: Regenerated.
42158
319b9ad4
UD
421592011-07-11 Ulrich Drepper <drepper@gmail.com>
42160
42161 * nscd/nscd.h (struct traced_file): Define.
42162 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42163 elements. Add traced_files.
42164 (inotify_fd): Declare.
42165 (register_traced_file): Declare.
42166 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42167 (inotify_fd): Export.
42168 (resolv_conf_descr): Remove.
42169 (nscd_init): Move inotify descriptor creation to main.
42170 Don't register files for notification here.
42171 (register_traced_file): New function.
42172 (invalidate_cache): Don't use reset_res to determine whether to call
42173 res_init, go through the list of registered files.
42174 (main_loop_poll): The inotify descriptors are now stored in the
42175 structures for the traced files.
42176 (main_loop_epoll): Likewise
42177 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42178 to __nss_disable_nscd.
42179 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42180 for a database anymore. Check the records for all the registered
42181 files instead.
42182 * nss/Makefile (libnss_files-routines): Add files-init.
42183 (libnss_db-routines): Add db-init.
42184 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42185 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42186 * nss/nss_db/db-init.c: New file.
42187 * nss/nss_files/files-init.c: New file.
42188 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42189 __nss_lookup_function.
42190 (__nss_lookup_function): Call nss_load_library.
42191 (nss_load_all_libraries): New function.
42192 (__nss_disable_nscd): Take parameter with callback function for files
42193 to register. Set is_nscd. Load all the DSOs for the NSS modules
42194 used for the cached services.
42195 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42196 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42197 options for features to all the files in nscd.
42198
42199 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42200
23bee3e8
RM
422012011-07-10 Roland McGrath <roland@hack.frob.com>
42202
42203 * csu/elf-init.c (__libc_csu_init): Comment typo.
42204
46a5b7f0
UD
422052011-07-09 Ulrich Drepper <drepper@gmail.com>
42206
42207 * po/pl.po: Update from translation team.
42208 * po/ja.po: Likewise.
42209 * po/ru.po: Likewise.
42210 * po/ko.po: Likewise.
42211 * po/fr.po: Likewise.
42212
d30cf5bb
RM
422132011-07-09 Roland McGrath <roland@hack.frob.com>
42214
113ddea4
RM
42215 * configure.in (.ctors/.dtors header and trailer check):
42216 Use an empirical test on a built program.
42217 * configure: Regenerated.
42218
574920b4
RM
42219 * configure.in (-z relro check): Use an empirical test on a built DSO.
42220 Detect, but do not require, on ia64.
42221 * configure: Regenerated.
42222
d30cf5bb
RM
42223 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42224 Update tests that use readelf to use $READELF instead.
42225 * configure: Regenerated.
42226
8538fdb3
UD
422272011-07-08 Ulrich Drepper <drepper@gmail.com>
42228
42229 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42230 if the result is not used.
42231
04d08991
AJ
422322011-07-05 Andreas Jaeger <aj@suse.de>
42233
42234 [BZ#9696]
42235 * stdlib/tst-strtod.c: Add testcase.
42236
de283087
AD
422372011-07-07 Ulrich Drepper <drepper@gmail.com>
42238
4e5f31c8 42239 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 42240 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
42241 The latter has a higher limit. Take additional parameter to pass to
42242 the new function.
42243 (__pathconf): Pass file to __statfs_link_max.
42244 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42245 __statfs_link_max.
42246 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42247 __statfs_link_max.
42248
de283087
AD
42249 [BZ #12868]
42250 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42251 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42252 Handle Lustre.
42253 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42254 (__statfs_filesize_max): Likewise.
42255 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42256
c75fa153
AJ
422572011-07-05 Andreas Jaeger <aj@suse.de>
42258
42259 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42260
1a544854
UD
422612011-07-06 Marek Polacek <mpolacek@redhat.com>
42262
42263 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42264 `status' variable.
42265 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42266 Likewise.
42267
6f0eec67
UD
422682011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42269
42270 * Makefile (strop-tests): Add strncat.
42271 * string/test-strncat.c: New file.
42272
aae30307
UD
422732011-06-30 Marek Polacek <mpolacek@redhat.com>
42274
42275 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42276
c0cfb5eb
UD
422772011-06-21 Andreas Jaeger <aj@suse.de>
42278
42279 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42280 Copy rule from iconvdata/Makefile.
42281
01636b21
UD
422822011-07-06 Ulrich Drepper <drepper@gmail.com>
42283
42284 [BZ #12922]
42285 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42286 but no long options are defined, just return 'W'.
42287
9895c8bc
UD
422882011-06-22 Marek Polacek <mpolacek@redhat.com>
42289
42290 [BZ #9696]
42291 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42292
5d4cf042
UD
422932011-07-06 Ulrich Drepper <drepper@gmail.com>
42294
42295 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42296 netgroups to read.
960e5535 42297 (innetgr): Likewise.
5d4cf042 42298
751eb97e
RM
422992011-07-05 Roland McGrath <roland@hack.frob.com>
42300
42301 * config.make.in (install_root): Default to $(DESTDIR).
42302
f15f1e45
UD
423032011-07-05 Ulrich Drepper <drepper@gmail.com>
42304
42305 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42306
4e34ac6a
RM
423072011-07-02 Roland McGrath <roland@hack.frob.com>
42308
5e9b6af4
RM
42309 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42310
84f9ea0f
RM
42311 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42312 containing directory rather than embedding absolute directory names.
42313
ea5ee9f7
RM
42314 * scripts/check-local-headers.sh: Rewritten using awk.
42315 Match by word, not by line. Print error messages for matches.
42316 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42317
1b74661a
RM
42318 * Makerules [shlib-lds-flags empty]:
42319 ($(common-objpfx)libc_pic.opts): New target.
42320 ($(common-objpfx)libc_pic.os.clean): New target.
42321 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42322
42323 * config.make.in (OBJCOPY): New variable.
42324 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42325 * configure: Regenerated.
42326
f781ef40
RM
42327 * config.make.in (use-default-link): New variable.
42328 * configure.in (use_default_link): Grok --with-default-link to set it.
42329 * configure: Regenerated.
42330 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42331 (shlib-lds, shlib-lds-flags): Define to empty.
42332
2d4fa81e
RM
42333 * Makerules (shlib-lds): New variable.
42334 (shlib-lds-flags): New variable.
42335 (build-shlib, build-moduile, build-module-asneeded): Use it.
42336 ($(common-objpfx)libc.so): Use $(shlib-lds).
42337 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42338 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42339
31fffa6b
RM
42340 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42341 DT_FLAGS/DT_FLAGS_1 with zero flags.
42342
4e34ac6a
RM
42343 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42344 linker script munging.
42345
fcfc776b
UD
423462011-07-02 Ulrich Drepper <drepper@gmail.com>
42347
42348 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42349 as 128-bit value.
42350 * crypt/sha512.c (sha512_process_block): Perform total addition using
42351 128-bit if possible.
42352 (__sha512_finish_ctx): Likewise.
42353 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42354 as 64-bit value.
42355 * crypt/sha256.c (SWAP64): Define.
42356 (sha256_process_block): Perform total addition using 64-bit if
42357 possible.
42358 (__sha256_finish_ctx): Likewise.
42359
99231d9a
UD
423602011-07-01 Ulrich Drepper <drepper@gmail.com>
42361
42362 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42363 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42364 * nscd/hstcache.c (cache_addhst): Likewise.
42365 * nscd/grpcache.c (cache_addgr): Likewise.
42366 * nscd/aicache.c (addhstaiX): Likewise
42367 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42368
445b4a53
TK
423692011-07-01 Thorsten Kukuk <kukuk@suse.de>
42370
42371 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42372 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42373 * nscd/hstcache.c (cache_addhst): Likewise.
42374 * nscd/grpcache.c (cache_addgr): Likewise.
42375 * nscd/aicache.c (addhstaiX): Likewise
42376
6d4d8e8e
AS
423772011-07-01 Andreas Schwab <schwab@redhat.com>
42378
42379 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42380 domain only when needed.
42381
89f654c5
AS
423822011-06-30 Andreas Schwab <schwab@redhat.com>
42383
42384 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42385 is always restored.
42386
cf3b23ff
UD
423872011-06-29 Ulrich Drepper <drepper@gmail.com>
42388
42389 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42390 are re-adding the entry.
42391 * nscd/servicescache.c (cache_addserv): Likewise.
42392
751626f9
AJ
423932011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42394
42395 * sysdeps/generic/dl-irel.h: fix protection against multiple
42396 inclusions.
42397 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42398
9113ea1f
UD
423992011-06-28 Ulrich Drepper <drepper@gmail.com>
42400
5c0b8d90
UD
42401 [BZ #12935]
42402 * malloc/memusage.sh: Fix quoting in message.
42403 * debug/xtrace.sh: Likewise.
42404
9113ea1f
UD
42405 * configure.in: Remove support for --experimental-malloc option, make
42406 it the default.
42407 * config.make.in: Likewise.
42408 * malloc/Makefile: Likewise.
42409
a4172181
AS
424102011-06-27 Andreas Schwab <schwab@redhat.com>
42411
42412 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42413 two-byte characters.
42414
78a7eee7
RM
424152011-06-27 Roland McGrath <roland@hack.frob.com>
42416
62bede13
RM
42417 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42418 AC_CACHE_CHECK invocation.
42419 * configure: Regenerated.
42420
78a7eee7
RM
42421 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42422
5ce33a62
UD
424232011-06-27 Ulrich Drepper <drepper@gmail.com>
42424
034807a9
UD
42425 [BZ #12350]
42426 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42427 bit from old_res_options.
42428
4902da17
UD
42429 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42430
5ce33a62
UD
42431 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42432 value type for setfct.
42433
c2344f56
L
424342011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42435
42436 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42437 __gettimeofday instead of gettimeofday.
42438
68468076
UD
424392011-06-26 Ulrich Drepper <drepper@gmail.com>
42440
42441 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42442
acb0d739
L
424432011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42444
42445 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42446
42447 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42448 info.
42449
8912479f
L
424502011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42451
42452 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42453 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42454 strcpy-sse2-unaligned strncpy-sse2-unaligned
42455 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42456 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42457 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42458 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42459 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42460 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42461 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42462 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42463 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42464 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42465 (STRCPY): Support SSE2 and SSSE3 versions.
42466
d5495a11
UD
424672011-06-24 Ulrich Drepper <drepper@gmail.com>
42468
42469 [BZ #12874]
42470 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42471 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42472 kernels which artificially limit size of requests.
42473
0b1cbaae
L
424742011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42475
42476 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42477 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42478 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42479 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42480 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42481 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42482 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42483 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42484 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42485 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42486 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42487 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42488 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42489 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42490 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42492 Enable unaligned load optimization for Intel Core i3, i5 and i7
42493 processors.
42494 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42495 Define.
42496 (index_Fast_Unaligned_Load): Define.
42497 (HAS_FAST_UNALIGNED_LOAD): Define.
42498
07f494a0
MP
424992011-06-23 Marek Polacek <mpolacek@redhat.com>
42500
42501 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42502
fa3fc0fe
UD
425032011-06-22 Ulrich Drepper <drepper@gmail.com>
42504
42505 [BZ #12907]
42506 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42507 until it is clear that the information is realy needed.
42508 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42509
e12df166
AS
425102011-06-22 Andreas Schwab <schwab@redhat.com>
42511
42512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42513
852eb34d
UD
425142011-06-22 Ulrich Drepper <drepper@gmail.com>
42515
84e2a551
UD
42516 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42517 /sys/devices/system/cpu/online if it is usable.
42518
852eb34d
UD
42519 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42520 reading the information from the /proc filesystem to once a second.
42521
6e502e19
UD
425222011-06-21 Andreas Jaeger <aj@suse.de>
42523
42524 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42525 NULL after inclusion of kernel headers.
42526
75d39ff2
UD
425272011-06-21 Ulrich Drepper <drepper@gmail.com>
42528
51f9aa6a
UD
42529 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42530 calls to internal_setent.
42531
c0244a9d
UD
42532 [BZ #12885]
42533 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42534 addresses using gethostbyname4_r ignore IPv4 addresses.
42535
c5e3c2ae
UD
42536 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42537 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42538
75d39ff2
UD
42539 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42540
42675c6f
DM
425412011-06-20 David S. Miller <davem@davemloft.net>
42542
42543 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42544 inclusions.
42545 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42546
42547 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42548 (elf_irel): Use it.
42549 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42550 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42551 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42552 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42553 * sysdeps/x86_64/dl-irel.h: Likewise.
42554
42555 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42556 * elf/dl-sym.c: Likewise.
42557
57912a71
UD
425582011-06-15 Ulrich Drepper <drepper@gmail.com>
42559
42560 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42561 need to dereference resplen2.
42562
ee22793d
AS
425632011-06-14 Andreas Schwab <schwab@redhat.com>
42564
42565 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42566
a9e836b0
UD
425672011-06-15 Ulrich Drepper <drepper@gmail.com>
42568
77fb9117
UD
42569 * Makeconfig: Define vardbdir and inst_vardbdir.
42570 * nss/Makefile: Add rules to install db-Makefile.
42571
40c1b22c
UD
42572 * nss/nss_db/db-XXX.c: Cleanup.
42573
9f2da732
UD
42574 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42575 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42576 GLIBC_PRIVATE.
42577 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42578 * nss/makedb.c: Implement -g option to specify that value strings
42579 are generated and should not be added to table iterated over for
42580 get*ent calls.
42581 * nss/nss_db/db-initgroups.c: New file.
42582
82e9a1f7
UD
42583 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42584 interface.
42585
c41af17e
UD
42586 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42587 (internal_getgrouplist): Adjust to name change.
42588 Update use_initgroups_entry if this is not the first call.
42589 * nss/databases.def: Add initgroups entry.
42590
a9e836b0
UD
42591 * nss/makedb.c (compute_tables): Check result of multiple hash table
42592 sizes to minimize maximum chain length.
42593
2666d441
UD
425942011-06-14 Ulrich Drepper <drepper@gmail.com>
42595
42596 * Versions.def: Add entry for libnss_db.
42597 * shlib-versions: Likewise.
42598 * nss/Makefile: Add rules to build libnss_db.
42599 * nss/Versions: Add libnss_db information. Organize libnss_files
42600 entries better.
42601 * nss/db-Makefile: Add gshadow support. Change rules for the new
42602 makedb progra. Some minor improvements to generate smaller files.
42603 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42604 here from...
42605 * nss/makedb.c: ...here.
42606 Improve database format to be smaller and require less memory at
42607 runtime.
42608 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42609 db anymore.
42610 * nss/nss_db/db-netgrp.c: Likewise.
42611 * nss/nss_db/db-open.c: Likewise.
42612 * nss/nss_files/flies-XXX.x: Adjust comments.
42613 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42614 * nss/nss_files/files-grp.c: Likewise.
42615 * nss/nss_files/files-hosts.c: Likewise.
42616 * nss/nss_files/files-network.c: Likewise.
42617 * nss/nss_files/files-proto.c: Likewise.
42618 * nss/nss_files/files-pwd.c: Likewise.
42619 * nss/nss_files/files-rpc.c: Likewise.
42620 * nss/nss_files/files-service.c: Likewise.
42621 * nss/nss_files/files-sgrp.c: Likewise.
42622 * nss/nss_files/files-spwd.c: Likewise.
42623 * nss/nss_db/db-alias.c: Removed.
42624 * nss/nss_db/dummy-db.h: Removed.
42625
9ee76b5a
UD
426262011-06-02 Ulrich Drepper <drepper@gmail.com>
42627
42628 * nss/makedb.c: Rewritten to not use database library.
42629 * nss/Makefile: Update to build new makedb program.
42630
c71ca1f8
AJ
426312011-06-14 Andreas Jaeger <aj@suse.de>
42632
42633 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42634 memset declaration.
42635
3154bfb8
UD
426362011-06-10 Andreas Schwab <schwab@redhat.com>
42637
42638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42639 tmpbuf.
42640
b350afab
RM
426412011-06-10 Roland McGrath <roland@hack.frob.com>
42642
decd4e50
RM
42643 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42644 * elf/Makefile ($(objpfx)ld.so): Likewise.
42645
5615eaf2
RM
42646 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42647 Don't list ld.so twice in dependencies.
42648
42649 * posix/bug-regex31.c: Include <stdlib.h>.
42650
42651 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42652
42653 * nis/nss_compat/compat-spwd.c
42654 (getspent_next_nss_netgr): Remove unused variable.
42655 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42656
42657 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42658 nonmembers" output to use the right array.
42659
42660 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42661
42662 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42663
42664 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42665 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42666 * catgets/gencat.c (read_input_file): Likewise.
42667 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42668
42669 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42670 variable definition inside #if's controlling its use.
42671
42672 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42673
42674 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42675
42676 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42677
42678 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42679 unreachable code.
42680
42681 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42682
b68e08db
RM
42683 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42684 * configure: Regenerated.
42685
b350afab
RM
42686 * Makerules: Revert last change.
42687 * elf/Makefile: Likewise.
42688
28368601
RM
426892011-06-09 Roland McGrath <roland@hack.frob.com>
42690
42691 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42692 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42693 (reloc-link): Likewise.
42694
11988f8f
UD
426952011-06-09 Ulrich Drepper <drepper@gmail.com>
42696
42697 * elf/Makefile: Add rules to build pldd.
42698 * elf/pldd.c: New file.
42699 * elf/pldd-xx.c: New file.
42700
e80fab37
UD
427012011-06-07 Ulrich Drepper <drepper@gmail.com>
42702
42703 * version.h: Update for 2.15 development version.
42704
9b849836
DM
427052011-06-07 David S. Miller <davem@davemloft.net>
42706
42707 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42708 ifuncs.
42709 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42710 elf_machine_lazy_rel): Likewise.
42711 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42712 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42713 elf_machine_lazy_rel): Likewise.
42714 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42715 dl_hwcap via passed in argument.
42716 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42717 Likewise.
42718
5a31b283
AK
427192011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42720
42721 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42722
069e52f8
RM
427232011-06-06 Roland McGrath <roland@hack.frob.com>
42724
42725 [BZ #12849]
42726 * manual/fdl-1.1.texi: New file, verbatim from:
42727 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42728 * manual/lgpl-2.1.texi: New file, verbatim from:
42729 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42730 * manual/Makefile (licenses): New variable, list those new file names.
42731 (texis): Use it.
42732 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42733
42734 * manual/fdl.texi: File removed.
42735 * manual/lesser.texi: File removed.
42736 * manual/libc.texinfo (Copying, Documentation License):
42737 Use new @include file names, put @appendix directive before @include.
42738
f16846a5
JJ
427392011-06-04 Jakub Jelinek <jakub@redhat.com>
42740
42741 [BZ #12841]
42742 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42743 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42744 (mq_open): Add __NTH.
42745
3d29045b
L
427462011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42747
42748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42749 Assume Intel Core i3/i5/i7 processor if AVX is available.
42750
8c297311
UD
427512011-05-31 Ulrich Drepper <drepper@gmail.com>
42752
42753 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42754 typo.
42755
c8fc0c91
UD
427562011-05-31 Andreas Schwab <schwab@redhat.com>
42757
42758 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42759 memory. Use alloca_account. Fix memory leak when retrying.
42760
5b27a807
UD
427612011-05-31 Ulrich Drepper <drepper@gmail.com>
42762
356f8bc6
UD
42763 * version.h (RELEASE): Bump for 2.14 release.
42764 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42765
5b27a807
UD
42766 * config.make.in (RANLIB): Remove entry.
42767
01f16ab0
UD
427682011-05-30 Ulrich Drepper <drepper@gmail.com>
42769
41fce8bd
UD
42770 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42771 (libc.pot): Work around missing support for .ksh extension in xgettext.
42772
4769ae77
UD
42773 [BZ #12684]
42774 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42775 if both request failed.
42776 (send_dg): In case of server errors clear resplen or *resplen2.
42777
6b1e7d19
UD
42778 [BZ #12454]
42779 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42780 when there are multiple maps.
42781 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42782 (_dl_fini): Remove test here.
42783
01f16ab0
UD
42784 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42785
b1ebd700
UD
427862011-05-29 Ulrich Drepper <drepper@gmail.com>
42787
7ae22829
UD
42788 [BZ #12350]
42789 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42790 bit from old_res_options.
42791 (gaih_inet): Likewise.
42792
553149f6 42793 [BZ #11099]
18a84741 42794 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
42795 as signed.
42796
652ffab1
UD
42797 * resolv/res_init.c (res_setoptions): Make the code more compact.
42798
16985fd0
UD
42799 [BZ #11558]
42800 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42801 set RES_USEVC.
42802
0464f746
UD
42803 [BZ #11634]
42804 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42805
7d17596c
UD
42806 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42807
cf6bbbd7
UD
42808 [BZ #11781]
42809 * malloc/malloc.h: Declare malloc hook variables as volatile.
42810
13f1ab36
UD
42811 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42812 in last patch.
42813
b1ebd700
UD
42814 [BZ #11799]
42815 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 42816 raise in the comment.
80e2212d
UD
42817 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42818 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42819 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 42820
ce67228d
UD
428212011-05-28 Ulrich Drepper <drepper@gmail.com>
42822
8887a920
UD
42823 [BZ #12811]
42824 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42825 grow the buffers more if it already has to be sufficient.
42826 (build_wcs_upper_buffer): Likewise.
42827 * posix/regexec.c (check_matching): Likewise.
42828 (clean_state_log_if_needed): Likewise.
42829 (extend_buffers): Don't enlarge buffers beyond size of the input
42830 buffer.
42831 Patches mostly by Emil Wojak <emil@wojak.eu>.
42832 * posix/bug-regex32.c: New file.
42833 * posix/Makefile (tests): Add bug-regex32.
42834
4f031072
UD
42835 * locale/findlocale.c (_nl_find_locale): Return right away if
42836 _nl_explode_name failed.
42837 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42838
d0478f0c
UD
42839 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42840
de81b246
UD
42841 * debug/xtrace.sh: Unify messages.
42842 * malloc/memusage.sh: Likewise.
42843
c738465a
UD
42844 [BZ #12813]
42845 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42846 time symbol from vDSO. Substitute with vsyscall if not available.
42847 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42848 __vdso_time.
42849
f1f929d7
UD
42850 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42851 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42852 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42853 Add sendmmsg and internal_sendmmsg.
42854 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42855 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42856 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42857
ce67228d
UD
42858 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42859 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42860 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42861
e57420c6
UD
428622011-05-27 Ulrich Drepper <drepper@gmail.com>
42863
a8509ca5
UD
42864 [BZ #12813]
42865 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42866 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42867 available.
42868 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42869 __vdso_getcpu.
42870
e57420c6
UD
42871 [BZ #12814]
42872 * iconvdata/Makefile (tests): Add bug-iconv9.
42873 * iconvdata/bug-iconv9.c: New file.
42874
4d07db15
AS
428752011-05-27 Andreas Schwab <schwab@redhat.com>
42876
42877 [BZ #12814]
42878 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42879
ea486f69
JJ
428802011-05-25 Jakub Jelinek <jakub@redhat.com>
42881
42882 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42883 (struct user_regs_struct): Change intcs field back to cs.
42884
6f038433
UD
428852011-05-25 Ulrich Drepper <drepper@gmail.com>
42886
42887 * po/ja.po: Update from translation team.
42888
67f86a25
UD
428892011-05-23 Ulrich Drepper <drepper@gmail.com>
42890
42891 [BZ #12795]
42892 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42893 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42894
def7fbd6
AS
428952011-05-20 Andreas Schwab <schwab@redhat.com>
42896
42897 * stdlib/longlong.h: Update from GCC.
42898
f50ef8f1
AS
428992011-05-23 Andreas Schwab <schwab@redhat.com>
42900
42901 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42902 parameter name.
42903 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42904 Add parameter name.
42905 (__sysconf): Pass it down.
42906
de7ce8f1
UD
429072011-05-22 Ulrich Drepper <drepper@gmail.com>
42908
f2962a71
UD
42909 [BZ #12671]
42910 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42911 some situations.
42912 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42913 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42914 add in in __libc_use_alloca calls. Adjust callers.
42915 (glob): Use malloc in some situations.
42916
de7ce8f1
UD
42917 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42918 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42919 pltexit.
42920
aec84f53
UD
429212011-05-21 Ulrich Drepper <drepper@gmail.com>
42922
05bb4a68
UD
42923 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42924 and CLOCK_BOOTTIME_ALARM.
42925
7ea72f99
UD
42926 [BZ #12782]
42927 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42928 is returned.
42929
7e4afad5
UD
42930 * string/_strerror.c (__strerror_r): Print negative errors as signed
42931 numbers.
42932
8e211fec
UD
42933 [BZ #12777]
42934 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42935 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42936 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42937
f7d82dc9
UD
42938 * configure.in: Fix typo in redirection and correct removal of test
42939 files in two cases.
42940
cc9e536d
UD
42941 [BZ #12788]
42942 * locale/setlocale.c (new_composite_name): Fix test to check for
42943 identical name of all categories.
42944
aec84f53
UD
42945 [BZ #12792]
42946 * libio/filedoalloc.c (local_isatty): New function.
42947 (_IO_file_doallocate): Use local_isatty.
42948 * stdio-common/perror.c (perror): In case a new stream is used
42949 forward the stream error.
42950 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42951 error flag.
42952
78e64fdc
RT
429532011-05-20 Ulrich Drepper <drepper@gmail.com>
42954
34a9094f
UD
42955 [BZ #11869]
42956 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42957 alloca.
42958 * include/alloca.h (extend_alloca_account): Define.
42959
78e64fdc
RT
42960 [BZ #11857]
42961 * posix/regex.h: Fix comments with documentation of user-accessible
42962 fields after compilation and describe correct free'ing of pattern
42963 after re_compile_pattern.
42964 Patch by Reuben Thomas <rrt@sc3d.org>.
42965
457bddfc
RA
429662011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
42967
42968 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42969 and -mno-altivec to prevent the compiler from using Altivec and/or
42970 VSX instructions when the corresponding registers are not available.
42971
a4527b51
AS
429722011-05-19 Andreas Schwab <schwab@redhat.com>
42973
42974 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42975
ed690b2f
UD
429762011-05-19 Ulrich Drepper <drepper@gmail.com>
42977
42978 * libio/freopen.c (freopen): Use __dup2, not dup2.
42979 * libio/freopen64.c (freopen64): Likewise.
42980
8db73634
L
429812011-05-17 H.J. Lu <hongjiu.lu@intel.com>
42982
42983 [BZ #12775]
42984 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42985 * math/Makefile (tests): Add test-powl.
42986 (CFLAGS-test-powl.c): Define.
42987 * math/test-powl.c: New file.
42988
0a197a9d
L
429892011-05-16 H.J. Lu <hongjiu.lu@intel.com>
42990
42991 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42992
ee30c380
UD
429932011-05-17 Ulrich Drepper <drepper@gmail.com>
42994
42995 [BZ #11837]
42996 * iconvdata/gb18030.c: Update to GB18020-2005.
42997
6ce75379
UD
429982011-05-16 Ulrich Drepper <drepper@gmail.com>
42999
a4b89fd8
AR
43000 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43001 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43002 Patch by Aharon Robbins <arnold@skeeve.com>.
43003
ea389b12
UD
43004 [BZ #11892]
43005 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43006 on the stack.
43007
68a3f91f
UD
43008 [BZ #11895]
43009 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43010 through underflows.
43011
15cc7dd1
UD
43012 [BZ #12766]
43013 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43014 point to strings before performing equality test for error_one_per_line
43015 mode.
43016
f3799213
UD
43017 [BZ #11697]
43018 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43019
d79a9c94
UD
43020 [BZ #11820]
43021 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43022 (struct user_fpregs_struct): Avoid __uint*_t types.
43023
56e5eb46
UD
43024 [BZ #6420]
43025 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43026 symbol info. Use it instead of calling _dl_addr locally.
43027 (lock_and_info): New function.
43028 (tr_freehook): Call lock_and_info and pass symbol info as additional
43029 parameter to tr_where.
43030 (tr_mallochook): Likewise.
43031 (tr_reallochook): Likewise.
43032 (tr_memalignhook): Likewise.
43033
6ce75379
UD
43034 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43035 used and couldn't be at all thread-safe.
43036
f8a3b5bf
UD
430372011-05-15 Ulrich Drepper <drepper@gmail.com>
43038
94b7cc37
UD
43039 * libio/freopen.c (freopen): Don't close old file descriptor
43040 before the new one is opened. Instead dup the new file descriptor
43041 to the old one after the new stream is created.
43042 * libio/freopen64.c (freopen64): Likewise.
43043 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43044 * libio/fileops.c (_IO_new_file_close_it): Handle new
43045 _IO_FLAGS2_NOCLOSE flag.
43046 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43047 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43048 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43049 _IO_FLAGS2_NOCLOSE flag.
43050 * include/unistd.h: Add hidden_proto for dup3.
43051 Define __have_dup3.
43052 * io/dup3.c: Define hidden symbol.
43053 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43054
bd25564e
UD
43055 [BZ #7101]
43056 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43057 when an incomplete long option is used.
43058 * posix/tst-getopt_long1.c: New file.
43059 * posix/Makefile (tests): Add tst-getopt_long1.
43060
c84cfef4
UD
43061 [BZ #10138]
43062 * scripts/config.guess: Update from autoconf-2.68.
43063 * scripts/config.sub: Likewise.
43064
3b85df27
UD
43065 [BZ #10157]
43066 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43067 tests into ...
43068 (has_cpuclock): ...this. New function.
43069 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43070 macro here based on has_cpuclock code.
43071
15a856b1
UD
43072 [BZ #10149]
43073 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43074 First byte (not low byte) is now always NUL.
43075 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43076
05f399e6
UD
43077 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43078 Use non-cancelable interfaces.
43079
10a52685 43080 [BZ #9809]
94ecc67d
UD
43081 * locale/iso-639.def: Add entry for Sorani.
43082
f8a3b5bf
UD
43083 [BZ #11901]
43084 * include/stdlib.h: Move include protection to the right place.
43085 Define abort_msg_s. Declare __abort_msg with it.
43086 * stdlib/abort.c (__abort_msg): Adjust type.
43087 * assert/assert.c (__assert_fail_base): New function. Majority
43088 of code from __assert_fail. Allocate memory for __abort_msg with
43089 mmap.
43090 (__assert_fail): Now call __assert_fail_base.
43091 * assert/assert-perr.c: Remove bulk of implementation. Use
43092 __assert_fail_base.
43093 * include/assert.hL Declare __assert_fail_base.
43094 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43095 mmap.
43096 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43097
1af4e298
UD
430982011-05-14 Ulrich Drepper <drepper@gmail.com>
43099
f8a3b5bf 43100 [BZ #11952]
d26dfc60
MG
43101 [BZ #12453]
43102 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43103 until all modules are registered in the DTV.
43104 * elf/Makefile: Add rules to build and run tst-tls19.
43105 * elf/tst-tls19.c: New file.
43106 * elf/tst-tls19mod1.c: New file.
43107 * elf/tst-tls19mod2.c: New file.
43108 * elf/tst-tls19mod3.c: New file.
43109 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43110
2fc54d6f
UD
43111 [BZ #12083]
43112 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43113 correctly.
43114
98d76b46
UD
43115 [BZ #12601]
43116 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43117 two-byte sequence errors.
43118 * iconvdata/Makefile (tests): Add bug-iconv8.
43119 * iconvdata/bug-iconv8.c: New file.
43120
da3c19ef
UD
43121 [BZ #12626]
43122 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43123 buf2 definition.
43124
ca408c15
UD
43125 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43126
d6f67f7d
UD
43127 [BZ #12432]
43128 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43129 (dummy_getcfa): New function.
43130 (init): Get _Unwind_GetCFA address, use dummy if not found.
43131 (backtrace_helper): In recursion check, also check whether CFA changes.
43132 (__backtrace): Completely initialize arg.
43133
1af4e298 43134 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
43135 storing incomplete byte sequence in state object. Avoid testing for
43136 guaranteed too small input if we know there is enough data available.
1af4e298 43137
da62f81b
AS
431382011-05-11 Andreas Schwab <schwab@redhat.com>
43139
43140 * Makeconfig (+link-pie): Indent.
43141 * Rules (binaries-pie): Define if $(have-fpie) and
43142 $(build-shared).
43143 (binaries-shared): Also filter out $(binaries-pie).
43144 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43145 * nscd/Makefile (others-pie): Add nscd.
43146 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43147 ($(objpfx)nscd): Remove command override.
43148 * login/Makefile (others-pie): Add pt_chown.
43149 ($(objpfx)pt_chown): Remove command override.
43150 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43151 remove command overrides.
43152
fcabc0f8
UD
431532011-05-13 Ulrich Drepper <drepper@gmail.com>
43154
20030ae6
UD
43155 * libio/tst_putwc.c: Fix error messages.
43156
fcabc0f8
UD
43157 [BZ #12724]
43158 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43159 currently writing and seek to current position when not.
43160 * libio/Makefile (tests): Add bug-fclose1.
43161 * libio/bug-fclose1.c: New file.
43162
320a5dc0
PB
431632011-05-12 Ulrich Drepper <drepper@gmail.com>
43164
43165 [BZ #12511]
43166 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43167 don't set DF_1_NODELETE here.
43168 (do_lookup_x): When entering new entry test for copy relocation
43169 and if necessary set DF_1_NODELETE flag.
43170 * elf/tst-unique4.cc: New file.
43171 * elf/tst-unique4.h: New file.
43172 * elf/tst-unique4lib.cc: New file.
43173 * elf/Makefile: Add rules to build and run tst-unique4.
43174 Patch by Piotr Bury <pbury@goahead.com>.
43175
22836f52
UD
431762011-05-11 Ulrich Drepper <drepper@gmail.com>
43177
f574184a
UD
43178 [BZ #12052]
43179 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43180
e1fb097f
UD
43181 [BZ #12625]
43182 * misc/mntent_r.c (addmntent): Flush the stream after the output
43183
22836f52
UD
43184 [BZ #12393]
43185 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43186 (is_trusted_path_normalize): Skip initial colon. Append slash
43187 to empty buffer. Duplicate is_trusted_path code but allow
43188 constructed patch to be prefix.
43189 (is_dst): Allow $ORIGIN followed by /.
43190 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43191 Correct testing of result of is_trusted_path_normalize
43192 (decompose_rpath): Fix warning.
43193
7b3b0b2a
UD
431942011-05-10 Ulrich Drepper <drepper@gmail.com>
43195
43196 [BZ #11257]
43197 * grp/initgroups.c (internal_getgrouplist): When we found the service
43198 list through the initgroups entry in nsswitch.conf do not always
43199 continue on a successful lookup. Don't always use the
eac80ce2 43200 __nss_group_database value if it is set.
7b3b0b2a
UD
43201 * nss/nsswitch.conf (initgroups): Change action for successful db
43202 lookup to continue for compatibility.
43203
2a81eaa5
UD
432042011-05-09 Ulrich Drepper <drepper@gmail.com>
43205
be97a69e
UD
43206 [BZ #11532]
43207 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43208 and CP774 modules.
43209 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43210 and CP774 modules.
43211 * iconvdata/tst-tables.sh: Likewise.
43212 * iconvdata/cp770.c: New file.
43213 * iconvdata/cp771.c: New file.
43214 * iconvdata/cp772.c: New file.
43215 * iconvdata/cp773.c: New file.
43216 * iconvdata/cp774.c: New file.
43217 * iconvdata/testdata/CP770: New file.
43218 * iconvdata/testdata/CP770..UTF8: New file.
43219 * iconvdata/testdata/CP771: New file.
43220 * iconvdata/testdata/CP771..UTF8: New file.
43221 * iconvdata/testdata/CP772: New file.
43222 * iconvdata/testdata/CP772..UTF8: New file.
43223 * iconvdata/testdata/CP773: New file.
43224 * iconvdata/testdata/CP773..UTF8: New file.
43225 * iconvdata/testdata/CP774: New file.
43226 * iconvdata/testdata/CP774..UTF8: New file.
43227
43228 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43229 END CHARMAP line.
43230 * iconvdata/gen-8bit-gap.sh: Likewise.
43231 * iconvdata/gen-8bit.sh: Likewise.
43232
c1e9e399
UD
43233 * locale/iso-639.def: Add ary entry.
43234
24c55fb3 43235 [BZ #11258]
96b4b1b0
UD
43236 * locale/C-translit.h.in: Add U20A1 transliteration.
43237
bdc2f971
KB
43238 [BZ #12178]
43239 * locale/iso-639.def: Add wae entry.
43240 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43241
2952b117
UD
43242 [BZ #12545]
43243 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43244 for n.
43245
2a81eaa5
UD
43246 [BZ #12711]
43247 * locale/C-translit.h.in: Add entry for U20B9.
43248 Patch by pravin.d.s@gmail.com.
43249
28377d1b
UD
432502011-05-08 Ulrich Drepper <drepper@gmail.com>
43251
7fb90fb8
UD
43252 [BZ #12713]
43253 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43254 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
43255 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43256 in rtld. Use *stat64.
7fb90fb8 43257 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 43258 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 43259 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
43260 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43261 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43262 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43263 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43264 __fstatat64 macros.
7fb90fb8
UD
43265 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43266 * dirent/rewinddir.c: Add libc_hidden_def.
43267 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 43268 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 43269
28377d1b
UD
43270 * include/dirent.h (__alloc_dir): Add flags parameter.
43271 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43272 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43273 __alloc_dir.
43274 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43275 from fdopendir if O_CLOEXEC is already set.
43276
66bdbaa4
AM
432772011-03-15 Alan Modra <amodra@gmail.com>
43278
43279 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43280 l_tls_firstbyte_offset non-zero. Save padding offset in
43281 l_tls_firstbyte_offset for later use.
43282 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43283 freeing static tls block.
43284
95721191
JN
432852011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43286
43287 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43288 where #ifdef was intended. The intent is to prevent ARG_MAX from
43289 being defined by the kernel headers.
43290
f87dfb1f
UD
432912011-05-07 Ulrich Drepper <drepper@gmail.com>
43292
43293 [BZ #12734]
43294 * resolv/resolv.h: Define RES_NOTLDQUERY.
43295 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43296 no-tld-query and set RES_NOTLDQUERY.
43297 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43298 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43299 modern BIND to search name as TLD unless forbidden.
43300
47c3cd7a
UD
433012011-05-07 Petr Baudis <pasky@suse.cz>
43302 Ulrich Drepper <drepper@gmail.com>
43303
43304 [BZ #12393]
43305 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43306 (is_trusted_path): ...to here.
c1e9ea35 43307 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 43308 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 43309 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 43310
8a35c912
PP
433112011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43312
43313 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43314 __BEGIN/__END_DECLS.
43315
acd41f47
UD
433162011-05-06 Ulrich Drepper <drepper@gmail.com>
43317
43318 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43319 NSS_STATUS_NOTFOUND if no record was found.
43320
597df647
AS
433212011-05-05 Andreas Schwab <schwab@redhat.com>
43322
43323 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43324 (headers-not-in-tirpc): Remove rpc/netdb.h
43325 * resolv/netdb.h: Revert last change.
43326
b9af1301
PP
433272011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43328
43329 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43330 circular dependency between libgcc.a and libc.a.
43331
4e34d5f5
AS
433322011-05-05 Andreas Schwab <schwab@redhat.com>
43333
43334 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43335 * nis/Makefile: Don't install rpcsvc/*.
43336 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43337 instead of <rpc/types.h>.
43338 (MAXHOSTNAMELEN): Define.
43339
00ee369c
AS
433402011-05-03 Andreas Schwab <schwab@redhat.com>
43341
43342 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43343
0b592a30
MB
433442011-04-28 Maciej Babinski <mbabinski@google.com>
43345
43346 [BZ #12714]
43347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43348 gethostbyname4_r when IPv6 results are possible.
43349
6e04cbbe
UD
433502011-05-02 Ulrich Drepper <drepper@gmail.com>
43351
43352 [BZ #12723]
43353 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43354 _PC_PIPE_BUF handling.
43355
e4ecafe0
BH
433562011-04-30 Bruno Haible <bruno@clisp.org>
43357
43358 [BZ #12717]
43359 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43360 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43361 to 'int'.
43362 * inet/getnameinfo.c (getnameinfo): Likewise.
43363
125ee683
UD
433642011-04-29 Ulrich Drepper <drepper@gmail.com>
43365
43366 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43367 to groups setting in database lookup.
43368 * nss/nsswitch.conf: Add initgroups entry.
43369
b722481a
EB
433702011-04-22 Ulrich Drepper <drepper@gmail.com>
43371
43372 [BZ #12685]
43373 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43374 mode string.
43375 Patch by Eric Blake <eblake@redhat.com>.
43376
4df46dbd
L
433772011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43378
43379 * sunrpc/Makefile (need-export-routines): Add svc_run.
43380 (routines): Remove svc_run.
43381 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43382 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43383 * sunrpc/svc_run.c (svc_run): Likewise.
43384 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43385
e84142d2
UD
433862011-04-21 Ulrich Drepper <drepper@gmail.com>
43387
43388 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43389 problem in reallocation in last patch.
43390
877175d8
UD
433912011-04-20 Ulrich Drepper <drepper@gmail.com>
43392
43393 * sunrpc/Makefile: Move inclusion of Rules.
43394
ab8eed78
UD
433952011-04-19 Ulrich Drepper <drepper@gmail.com>
43396
43397 * nss/nss_files/files-initgroups.c: New file.
43398 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43399 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43400 _nss_files_initgroups_dyn.
43401
e3d8f584
RS
434022011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43403
43404 * elf/elf.h (R_ARM_IRELATIVE): Define.
43405
af190f45
UD
434062011-04-19 Ulrich Drepper <drepper@gmail.com>
43407
43408 * po/ru.po: Update from translation team.
43409
53cf59ef
UD
434102011-04-17 Ulrich Drepper <drepper@gmail.com>
43411
43412 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43413 dependencies.
43414
4c559bcd
MF
434152011-02-06 Mike Frysinger <vapier@gentoo.org>
43416
43417 [BZ #12653]
43418 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43419 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43420 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43421 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43422 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43423
4420675c
AS
434242011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43425
43426 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43427 differing bytes.
43428 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43429 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43430 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43431
75ea32ab
UD
434322011-04-17 Ulrich Drepper <drepper@gmail.com>
43433
43434 [BZ #12420]
43435 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43436 storing it.
43437 * stdlib/bug-getcontext.c: New file.
43438 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43439
27390476
AK
434402011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43441
43442 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43443 instructions into .machine "z9-109".
43444 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43445 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43446
10442705
AK
434472011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43448
43449 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43450 between environment variables and auxiliary vector.
43451
7b57bfe5
UD
434522011-04-16 Ulrich Drepper <drepper@gmail.com>
43453
43454 * Makefile: Add rules to build linkobj/libc.so.
43455 * include/libc-symbols.h: Define libc_hidden_nolink.
43456 * include/rpc/auth.h: Mark functions which are to be hidden.
43457 * include/rpc/auth_des.h: Likewise.
43458 * include/rpc/auth_unix.h: Likewise.
43459 * include/rpc/clnt.h: Likewise.
43460 * include/rpc/des_crypt.h: Likewise.
43461 * include/rpc/key_prot.h: Likewise.
43462 * include/rpc/pmap_clnt.h: Likewise.
43463 * include/rpc/pmap_prot.h: Likewise.
43464 * include/rpc/pmap_rmt.h: Likewise.
43465 * include/rpc/rpc_msg.h: Likewise.
43466 * include/rpc/svc.h: Likewise.
43467 * include/rpc/svc_auth.h: Likewise.
43468 * include/rpc/xdr.h: Likewise.
43469 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43470 * nss/Makefile: Likewise.
43471 * sunrpc/Makefile: Don't install headers. Build library with normal
43472 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43473 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43474 for the compat linking library. Remove use of INTDEF/INTUSE.
43475 * sunrpc/auth_none.c: Likewise.
43476 * sunrpc/auth_unix.c: Likewise.
43477 * sunrpc/authdes_prot.c: Likewise.
43478 * sunrpc/authuxprot.c: Likewise.
43479 * sunrpc/clnt_gen.c: Likewise.
43480 * sunrpc/clnt_perr.c: Likewise.
43481 * sunrpc/clnt_raw.c: Likewise.
43482 * sunrpc/clnt_simp.c: Likewise.
43483 * sunrpc/clnt_tcp.c: Likewise.
43484 * sunrpc/clnt_udp.c: Likewise.
43485 * sunrpc/clnt_unix.c: Likewise.
43486 * sunrpc/des_crypt.c: Likewise.
43487 * sunrpc/des_soft.c: Likewise.
43488 * sunrpc/get_myaddr.c: Likewise.
43489 * sunrpc/key_call.c: Likewise.
43490 * sunrpc/key_prot.c: Likewise.
43491 * sunrpc/netname.c: Likewise.
43492 * sunrpc/pm_getmaps.c: Likewise.
43493 * sunrpc/pm_getport.c: Likewise.
43494 * sunrpc/pmap_clnt.c: Likewise.
43495 * sunrpc/pmap_prot.c: Likewise.
43496 * sunrpc/pmap_prot2.c: Likewise.
43497 * sunrpc/pmap_rmt.c: Likewise.
43498 * sunrpc/publickey.c: Likewise.
43499 * sunrpc/rpc_cmsg.c: Likewise.
43500 * sunrpc/rpc_common.c: Likewise.
43501 * sunrpc/rpc_dtable.c: Likewise.
43502 * sunrpc/rpc_prot.c: Likewise.
43503 * sunrpc/rpc_thread.c: Likewise.
43504 * sunrpc/rtime.c: Likewise.
43505 * sunrpc/svc.c: Likewise.
43506 * sunrpc/svc_auth.c: Likewise.
43507 * sunrpc/svc_authux.c: Likewise.
43508 * sunrpc/svc_raw.c: Likewise.
43509 * sunrpc/svc_run.c: Likewise.
43510 * sunrpc/svc_simple.c: Likewise.
43511 * sunrpc/svc_tcp.c: Likewise.
43512 * sunrpc/svc_udp.c: Likewise.
43513 * sunrpc/svc_unix.c: Likewise.
43514 * sunrpc/svcauth_des.c: Likewise.
43515 * sunrpc/xcrypt.c: Likewise.
43516 * sunrpc/xdr.c: Likewise.
43517 * sunrpc/xdr_array.c: Likewise.
43518 * sunrpc/xdr_float.c: Likewise.
43519 * sunrpc/xdr_intXX_t.c: Likewise.
43520 * sunrpc/xdr_mem.c: Likewise.
43521 * sunrpc/xdr_rec.c: Likewise.
43522 * sunrpc/xdr_ref.c: Likewise.
43523 * sunrpc/xdr_sizeof.c: Likewise.
43524 * sunrpc/xdr_stdio.c: Likewise.
43525
e6c61494
UD
435262011-04-10 Ulrich Drepper <drepper@gmail.com>
43527
43528 [BZ #12650]
43529 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43530 * sysdeps/ia64/dl-tls.h: Likewise.
43531 * sysdeps/powerpc/dl-tls.h: Likewise.
43532 * sysdeps/s390/dl-tls.h: Likewise.
43533 * sysdeps/sh/dl-tls.h: Likewise.
43534 * sysdeps/sparc/dl-tls.h: Likewise.
43535 * sysdeps/x86_64/dl-tls.h: Likewise.
43536 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43537
34fe483e
AS
435382011-03-14 Andreas Schwab <schwab@redhat.com>
43539
43540 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43541 rpath element also skip the following colon.
43542 (expand_dynamic_string_token): Add is_path parameter and pass
43543 down to DL_DST_REQUIRED and _dl_dst_substitute.
43544 (decompose_rpath): Call expand_dynamic_string_token with
43545 non-zero is_path. Ignore empty rpaths.
43546 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43547 with zero is_path.
43548
f12a32e6
AS
435492011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43550
43551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43552 Make cancelable.
43553
38a7d692
UD
435542011-04-09 Ulrich Drepper <drepper@gmail.com>
43555
43556 [BZ #12655]
43557 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43558 Patch by Filipe David Manana <fdmanana@apache.org>.
43559
e451d22b
AS
435602011-04-07 Andreas Schwab <schwab@redhat.com>
43561
43562 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43563 Maintain aligned stack.
43564 (CHECK_RSP): Remove unused macro.
43565
dedc7c7b
UD
435662011-04-03 Ulrich Drepper <drepper@gmail.com>
43567
43568 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43569 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43570
94521213
UD
435712011-04-02 Ulrich Drepper <drepper@gmail.com>
43572
43573 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43574
8cb700c0 43575 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 43576
0354e355
L
435772011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43578
43579 [BZ #12518]
43580 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43581 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43582 * sysdeps/x86_64/memmove.c: New file.
43583 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43584 (memcpy): Renamed to ...
43585 (__new_memcpy): This.
43586 (memcpy): Provide GLIBC_2_14 memcpy.
43587 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43588 (memcpy): Provide GLIBC_2_2_5 memcpy.
43589
8593482f
UD
435902011-04-01 Ulrich Drepper <drepper@gmail.com>
43591
43592 [BZ #12631]
43593 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43594
81a5726b
AS
435952011-03-30 Andreas Schwab <schwab@redhat.com>
43596
43597 * misc/syncfs.c: New file.
43598 * misc/Makefile (routines): Add syncfs.
43599 * posix/unistd.h: Declare syncfs.
43600 * sysdeps/unix/syscalls.list: Add syncfs.
43601
00e5419f
AS
436022011-04-01 Andreas Schwab <schwab@redhat.com>
43603
43604 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43605 open_by_handle_at.
43606 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43607 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43608 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43609 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43610 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43611 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43612 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43613
748876bf
UD
436142011-04-01 Ulrich Drepper <drepper@gmail.com>
43615
658e451d
UD
43616 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43617 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43618 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43619 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43620 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43621 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43622 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43623
748876bf
UD
43624 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43625 sync_file_range.c with -fexceptions.
43626 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43627 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43628 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43629 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43630 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43631 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43632 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
43633 sync_file_range as cancellation point
43634 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43635 now a wrapper around __call_sync_file_range with cancellation handling.
43636 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43637 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43638 function name to __call_sync_file_range.
43639 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43640 Add call_sync_file_range.
748876bf 43641
6e63d5e1
AS
436422011-04-01 Andreas Schwab <schwab@redhat.com>
43643
43644 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 43645 bits/timex.h.
6e63d5e1 43646
46998f74
UD
436472011-04-01 Ulrich Drepper <drepper@gmail.com>
43648
4c1423ed
UD
43649 * iconv/iconv.h: Fix typo in comment.
43650 * io/fcntl.h: Likewise.
43651 * libio/stdio.h: Likewise.
43652 * posix/spawn.h: Likewise.
43653 * posix/unistd.h: Likewise.
43654 * stdlib/stdlib.h: Likewise.
43655 * time/time.h: Likewise.
43656 * wcsmbs/wchar.h: Likewise.
43657
158648c0
UD
43658 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43659 open_by_handle): Add.
43660 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43661 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43662 Augment a few comments.
43663 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43664 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43665 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43667 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43668 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43669 open_by_handle.
43670
46998f74
UD
43671 * io/fcntl.h (AT_EMPTY_PATH): Define.
43672
83fe108b
UD
436732011-03-30 Ulrich Drepper <drepper@gmail.com>
43674
43675 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43676 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43677 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43678 to...
43679 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
43680 * Versions.def: Add GLIBC_2.14.
43681 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43682 Export.
83fe108b 43683
bb242059
UD
436842011-03-22 Ulrich Drepper <drepper@gmail.com>
43685
43686 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43687 round counter.
43688 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43689
c97a1282
L
436902011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43691
43692 [BZ #12597]
43693 * string/test-strncmp.c (do_page_test): New function.
43694 (check2): Likewise.
43695 (test_main): Call check2.
43696 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43697
2a115601
UD
436982011-03-20 Ulrich Drepper <drepper@gmail.com>
43699
43700 [BZ #12587]
43701 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43702 Handle cache information in CPU leaf 4.
43703 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43704
8126d904
UD
437052011-03-18 Ulrich Drepper <drepper@gmail.com>
43706
042c49c6 43707 [BZ #12583]
8126d904
UD
43708 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43709 character representation.
43710 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43711
ccfe366e
RA
437122011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43713
43714 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43715 END(__isnan) to END(__isnanf) to match function entry point/label
43716 EALIGN(__isnanf,...).
43717
c6e13027
JJ
437182011-03-10 Jakub Jelinek <jakub@redhat.com>
43719
43720 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43721
33f85a3f
UD
437222011-03-10 Ulrich Drepper <drepper@gmail.com>
43723
028478fa
UD
43724 [BZ #12510]
43725 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43726 copy from the symbol referenced in the relocation to initialize the
43727 used variable.
43728 Patch by Piotr Bury <pbury@goahead.com>.
43729 * elf/Makefile: Add rules to build and tst-unique3.
43730 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43731 * elf/tst-unique3.cc: New file.
43732 * elf/tst-unique3.h: New file.
43733 * elf/tst-unique3lib.cc: New file.
43734 * elf/tst-unique3lib2.cc: New file.
43735
33f85a3f
UD
43736 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43737
03592fc7
MF
437382011-03-10 Mike Frysinger <vapier@gentoo.org>
43739
43740 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43741 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43742 to _start.
03592fc7 43743
6a5ee102
UD
437442011-03-06 Ulrich Drepper <drepper@gmail.com>
43745
43746 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43747 to-be-loaded object along a path to loader is ld.so.
43748
7e4ba49c
HJ
437492011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43750 Ulrich Drepper <drepper@gmail.com>
43751
43752 * sysdeps/x86_64/memset.S: After aligning destination, code
43753 branches to different locations depending on the value of
43754 misalignment, when multiarch is enabled. Fix this.
43755
437562011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43757
43758 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43759 Set _x86_64_preferred_memory_instruction for AMD processsors.
43760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43761 Set bit_Prefer_SSE_for_memop for AMD processors.
43762
13a804de
UD
437632011-03-04 Ulrich Drepper <drepper@gmail.com>
43764
43765 * libio/fmemopen.c (fmemopen): Optimize a bit.
43766
9d25c392
AS
437672011-03-03 Andreas Schwab <schwab@redhat.com>
43768
43769 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43770
a5543c6a
RM
437712011-03-03 Roland McGrath <roland@redhat.com>
43772
43773 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43774
012d35f7
DM
437752011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43776
7e4ba49c 43777 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
43778 __bzero_ultra1 instead of __memset_ultra1.
43779
4bff6e01
AS
437802011-02-23 Andreas Schwab <schwab@redhat.com>
43781 Ulrich Drepper <drepper@gmail.com>
43782
43783 [BZ #12509]
43784 * include/link.h (struct link_map): Add l_orig_initfini.
43785 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43786 returning unsuccessfully.
43787 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43788 close of a file loaded at startup, restore the original l_initfini
43789 list.
43790 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43791 list, store the pointer.
43792 * elf/Makefile ($(objpfx)noload-mem): New rule.
43793 (noload-ENV): Define.
43794 (tests): Add $(objpfx)noload-mem.
43795 * elf/noload.c: Include <memcheck.h>.
43796 (main): Call mtrace. Close all opened handles.
43797
f2092faf
AS
437982011-02-17 Andreas Schwab <schwab@redhat.com>
43799
43800 [BZ #12454]
43801 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43802 dependencies are missing.
43803
6c8a2e88
ST
438042011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43805
f2092faf 43806 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
43807 Hurd needs munmap.
43808 * sysdeps/mach/hurd/ifreq.h: New file.
43809
84a42118
PB
438102011-01-27 Petr Baudis <pasky@suse.cz>
43811 Ulrich Drepper <drepper@gmail.com>
43812
071f805e 43813 [BZ 12445]#
84a42118
PB
43814 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43815 to extend_alloca().
43816 * stdio-common/bug23.c: New file.
43817 * stdio-common/Makefile (tests): Add bug23.
43818
e23fe25b
AS
438192010-09-28 Andreas Schwab <schwab@redhat.com>
43820 Ulrich Drepper <drepper@gmail.com>
43821
43822 [BZ #12489]
43823 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43824 before performing relro protection. At old place add assertion
43825 to make sure nothing changed.
43826
d3f02e10
NS
438272011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43828 Glauber de Oliveira Costa <glommer@gmail.com>
43829
43830 * elf/elf.h: Add new ARM TLS relocs.
43831
d55fd7a5
RA
438322011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43833
43834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43835 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43836 cast from r3.
43837 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43838 'tests' variable.
43839 * sysdeps/wordsize-64/tst-writev.c: New file.
43840
2206397e
RA
438412011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43842
43843 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43844 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43845 insns in _dl_start to prevent a TOC reference before relocs are
43846 resolved.
43847
e9433893
UD
438482011-02-15 Ulrich Drepper <drepper@gmail.com>
43849
43850 [BZ #12469]
43851 * Makeconfig: Remove RANLIB definition.
43852 * Makerules: Don't use RANLIB.
43853 * aclocal.m4: Remove ranlib test.
43854 * configure.in: No need to check for ranlib.
43855 * elf/rtld-Rules: Don't use RANLIB.
43856
f75286c6
ST
438572011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43858
8e31c82d
ST
43859 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43860 protection macro.
43861 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43862 inclusion protection macro.
43863
f75286c6
ST
43864 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43865 SIGRTMIN and SIGRTMAX and print information in that case only when
43866 SIGRTMIN is defined.
43867
c1d0e639
JJ
438682011-02-11 Jakub Jelinek <jakub@redhat.com>
43869
43870 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43871 arginfo fn returning -1.
43872
43873 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43874 and thousands string is zero terminated.
43875
edf9294e
AS
438762011-02-03 Andreas Schwab <schwab@redhat.com>
43877
43878 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43879 sysdeps/unix/sysv/linux/bits/socket.h.
43880
2b7e92df
ST
438812011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43882
edf9294e
AS
43883 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43884 (__CPU_COUNT): Remove old macros.
43885 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43886 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43887 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
43888 (__sched_cpualloc, __sched_cpufree): Add declarations.
43889
a4c7ea7b
UD
438902011-02-05 Ulrich Drepper <drepper@gmail.com>
43891
43892 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43893 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43894 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43895 (readdhstai): Return value of addhstaiX call.
43896 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43897 (addgrbyX): Return value returned by cache_addgr.
43898 (readdgrbyname): Return value returned by addgrbyX.
43899 (readdgrbygid): Likewise.
43900 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43901 (addpwbyX): Return value returned by cache_addpw.
43902 (readdpwbyname): Return value returned by addhstbyX.
43903 (readdpwbyuid): Likewise.
43904 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43905 (addservbyX): Return value returned by cache_addserv.
43906 (readdservbyname): Return value returned by addservbyX:
43907 (readdservbyport): Likewise.
43908 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43909 (addhstbyX): Return value returned by cache_addhst.
43910 (readdhstbyname): Return value returned by addhstbyX.
43911 (readdhstbyaddr): Likewise.
43912 (readdhstbynamev6): Likewise.
43913 (readdhstbyaddrv6): Likewise.
43914 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43915 (readdinitgroups): Return value returned by addinitgroupsX.
43916 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43917 (prune_cache): Keep track of timeout value of re-added entries.
43918 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43919 * nscd/nscd.h: Adjust prototypes of readd* functions.
43920
a0bf67cc
RM
439212011-02-04 Roland McGrath <roland@redhat.com>
43922
43923 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43924 (nis_stats): Likewise.
43925 * nis/nis_modify.c (nis_modify): Likewise.
43926 * nis/nis_remove.c (nis_remove): Likewise.
43927 * nis/nis_add.c (nis_add): Likewise.
43928
43929 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43930
43931 * posix/fnmatch_loop.c: Add some consts.
43932
43933 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43934
435b95eb
L
439352011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43936
43937 [BZ #12460]
43938 * config.make.in (config-cflags-novzeroupper): Define.
43939 * configure.in: Substitute libc_cv_cc_novzeroupper.
43940 * elf/Makefile (AVX-CFLAGS): Define.
43941 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43942 (CFLAGS-tst-auditmod4a.c): Likewise.
43943 (CFLAGS-tst-auditmod4b.c): Likewise.
43944 (CFLAGS-tst-auditmod6b.c): Likewise.
43945 (CFLAGS-tst-auditmod6c.c): Likewise.
43946 (CFLAGS-tst-auditmod7b.c): Likewise.
43947 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43948
8517b15e
UD
439492011-02-02 Ulrich Drepper <drepper@gmail.com>
43950
43951 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43952 function to the callback.
43953 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43954
10a656fe
AS
439552011-02-02 Andreas Schwab <schwab@redhat.com>
43956
43957 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43958 of errno.
43959
968dad0a
UD
439602011-01-19 Ulrich Drepper <drepper@gmail.com>
43961
9f94d2ea 43962 [BZ #11724]
968dad0a
UD
43963 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43964 of constructors.
43965 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43966 of destructors.
43967 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43968
43969 [BZ #11724]
43970 * elf/Makefile: Add rules to build and run new test.
43971 * elf/tst-initorder.c: New file.
43972 * elf/tst-initorder.exp: New file.
43973 * elf/tst-initordera1.c: New file.
43974 * elf/tst-initordera2.c: New file.
43975 * elf/tst-initordera3.c: New file.
43976 * elf/tst-initordera4.c: New file.
43977 * elf/tst-initorderb1.c: New file.
43978 * elf/tst-initorderb2.c: New file.
43979 * elf/tst-order-a1.c: New file.
43980 * elf/tst-order-a2.c: New file.
43981 * elf/tst-order-a3.c: New file.
43982 * elf/tst-order-a4.c: New file.
43983 * elf/tst-order-b1.c: New file.
43984 * elf/tst-order-b2.c: New file.
43985 * elf/tst-order-main.c: New file.
43986 New test case by George Gensure <werkt0@gmail.com>.
43987
86e92359
UD
439882010-10-01 Andreas Schwab <schwab@redhat.com>
43989
43990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43991 decoding ACE if AI_CANONIDN.
43992
5d5732b0
UD
439932011-01-18 Ulrich Drepper <drepper@gmail.com>
43994
43995 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43996
a77e8cbc
UD
439972011-01-17 Ulrich Drepper <drepper@gmail.com>
43998
6392473f
UD
43999 * version.h (RELEASE): Bump for 2.13 release.
44000 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44001
620a0529
UD
44002 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44003
18ba70a5
UD
44004 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44005 MADV_NOHUGEPAGE.
32465c3e
UD
44006 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44007 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44008 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44009 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44010 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44011 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44012
c0dafcf1
UD
44013 * posix/getconf.c: Update copyright year.
44014 * catgets/gencat.c: Likewise.
44015 * csu/version.c: Likewise.
44016 * debug/catchsegv.sh: Likewise.
44017 * debug/xtrace.sh: Likewise.
44018 * elf/ldconfig.c: Likewise.
44019 * elf/ldd.bash.in: Likewise.
44020 * elf/sprof.c (print_version): Likewise.
44021 * iconv/iconv_prog.c: Likewise.
44022 * iconv/iconvconfig.c: Likewise.
44023 * locale/programs/locale.c: Likewise.
44024 * locale/programs/localedef.c: Likewise.
44025 * malloc/memusage.sh: Likewise.
44026 * malloc/mtrace.pl: Likewise.
44027 * nscd/nscd.c (print_version): Likewise.
44028 * nss/getent.c: Likewise.
44029
a77e8cbc
UD
44030 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44031 PF_CAIF, and PF_ALG.
44032 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44033
77e8bddf
AS
440342011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44035
1f20b93a
AS
44036 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44037 (modules-names): Use them.
44038 (ifunc-test-modules, ifunc-pie-tests): Define.
44039 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44040 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44041 (test-extras): Likewise.
44042 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44043 $(compile-command.c).
44044 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44045 (all-built-dso): Define.
44046 (check-textrel.out, check-execstack.out): Depend on it.
44047
77e8bddf
AS
44048 * configure.in: Don't override --enable-multi-arch.
44049
bc425b33
UD
440502011-01-15 Ulrich Drepper <drepper@gmail.com>
44051
44052 [BZ #6812]
44053 * nscd/hstcache.c (tryagain): Define.
44054 (cache_addhst): Return tryagain not notfound for temporary errors.
44055 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44056 failed.
44057
794c3ad3
UD
440582011-01-14 Ulrich Drepper <drepper@gmail.com>
44059
70181fdd
UD
44060 [BZ #10563]
44061 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44062 to make the syscall.
44063 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44064
794c3ad3
UD
44065 [BZ #12378]
44066 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44067 and fall back to matching as normal character if the string ends before
44068 the matching ']' is found. This is what POSIX requires.
44069 * posix/testfnm.c: Adjust test result.
44070 * posix/globtest.sh: Adjust test result. Add new test.
44071 * posix/tst-fnmatch.input: Likewise.
44072 * posix/tst-fnmatch2.c: Add new test.
44073
68dc9497
AS
440742010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44075
44076 * elf/Makefile (check-execstack): Revert last change. Depend on
44077 check-execstack.h.
44078 (check-execstack.h): New target.
44079 (generated): Add check-execstack.h.
44080 * elf/check-execstack.c: Include "check-execstack.h".
44081 (main): Revert last change.
44082 (handle_file): Return zero if GNU_STACK is absent and
44083 DEFAULT_STACK_PERMS doesn't include PF_X.
44084
451f001b
UD
440852011-01-13 Ulrich Drepper <drepper@gmail.com>
44086
cfa28e56
UD
44087 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44088 in child fails because the descriptor is already closed.
8cf8ce17
UD
44089 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44090 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44091 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 44092
1086d70d
UD
44093 [BZ #12397]
44094 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44095 syscall.
44096
451f001b
UD
44097 [BZ #10484]
44098 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44099 temporary buffer used to handle multi lookups locally.
a85b5cb4 44100 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 44101
08769175
UD
441022011-01-12 Ulrich Drepper <drepper@gmail.com>
44103
44104 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44105 loader is ld.so.
44106
5e49c52e
UD
441072011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44108
44109 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44110 alignment for SSE2.
44111
60522a5f
UD
441122011-01-12 Ulrich Drepper <drepper@gmail.com>
44113
44114 [BZ #12394]
44115 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44116 characters. When rounding increased number of integer digits recompute
44117 number of groups.
44118 * stdio-common/tst-grouping.c: New file.
44119 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44120
f257bbd7
UD
441212011-01-09 Ulrich Drepper <drepper@gmail.com>
44122
44123 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44124 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44125
44126 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44127 void.
44128 * bits/select.h: Likewise.
44129
fa9c15cb
UD
441302011-01-08 Ulrich Drepper <drepper@gmail.com>
44131
44132 * po/ja.po: Update from translation team.
44133
16c2895f
DM
441342011-01-04 David S. Miller <davem@sunset.davemloft.net>
44135
44136 [BZ #11155]
44137 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44138 implementation just like for lxstat, fxstatat, et al.
44139
2543fef2
JM
441402010-12-27 Jim Meyering <meyering@redhat.com>
44141
44142 [BZ #12348]
44143 * posix/regexec.c (build_trtable): Return failure indication upon
44144 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44145
98727dbe
UD
441462010-12-25 Ulrich Drepper <drepper@gmail.com>
44147
5bd6dc5c
UD
44148 [BZ #12201]
44149 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44150 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44151 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44152 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44153
97983464
UD
44154 [BZ #12207]
44155 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44156
98727dbe
UD
44157 [BZ #12204]
44158 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44159 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44160
4a531bb0
L
441612010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44162
44163 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44164 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44165 script has SORT_BY_INIT_PRIORITY.
44166 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44167 NO_CTORS_DTORS_SECTIONS is defined.
44168 * elf/soinit.c: Likewise.
44169 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44170 NO_CTORS_DTORS_SECTIONS is defined.
44171 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44172 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44173 * sysdeps/sh/init-first.c: Likewise.
44174 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44175
07eb4b71
UD
441762010-12-24 Ulrich Drepper <drepper@gmail.com>
44177
44178 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44179 always use the slow path.
44180
30950a5f
RA
441812010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44182
44183 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44184 similar rule which adds the sysdep directories to the header search in
44185 order to pick up the correct platform stackinfo.h.
44186 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44187 perform test if it is, otherwise return successfully without testing.
44188 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44189 DEFAULT_STACK_PERMS define in stackinfo.h.
44190 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44191 defined in stackinfo.h.
44192 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44193 DEFAULT_STACK_PERMS defined in stackinfo.h.
44194 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44195 * sysdeps/ia64/stackinfo.h: Likewise.
44196 * sysdeps/s390/stackinfo.h: Likewise.
44197 * sysdeps/sh/stackinfo.h: Likewise.
44198 * sysdeps/sparc/stackinfo.h: Likewise.
44199 * sysdeps/x86_64/stackinfo.h: Likewise.
44200 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44201 PF_X for powerpc64. Retain PF_X for powerpc32.
44202
db753e2c
UD
442032010-12-19 Ulrich Drepper <drepper@gmail.com>
44204
14b697f7
UD
44205 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44206 accurately.
db753e2c
UD
44207 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44208 GETDENTS_64BIT_ALIGNED.
44209
28300719
UD
442102010-12-14 Ulrich Drepper <dreper@gmail.com>
44211
14b697f7 44212 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 44213
4f197237
AS
442142010-12-10 Andreas Schwab <schwab@redhat.com>
44215
dbb0472f
AS
44216 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44217 _GNU_SOURCE.
44218
4f197237
AS
44219 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44220 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44221 Remove __restrict.
44222 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44223 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44224
fb88ac72
UD
442252010-12-09 Ulrich Drepper <drepper@gmail.com>
44226
44227 [BZ #11655]
44228 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44229 are initialized.
44230
42acbb92
JJ
442312010-12-09 Jakub Jelinek <jakub@redhat.com>
44232
44233 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44234
c038d98d
UD
442352010-12-03 Ulrich Drepper <drepper@gmail.com>
44236
44237 * po/it.po: Update from translation team.
44238
3a4a2499
L
442392010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44240
44241 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44242 unused codes.
44243
1e24cf6e
UD
442442010-11-30 Ulrich Drepper <drepper@gmail.com>
44245
44246 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44247
a7690819
AS
442482010-11-24 Andreas Schwab <schwab@redhat.com>
44249
44250 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44251 specially.
44252 (gaih_getanswer_slice): Likewise.
44253
3bf8d1b1
JJ
442542010-10-20 Jakub Jelinek <jakub@redhat.com>
44255
44256 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44257
6db52fbb
PB
442582010-05-31 Petr Baudis <pasky@suse.cz>
44259
44260 [BZ #11149]
44261 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44262 silently even in the chroot mode.
44263
eaca7569
UD
442642010-11-22 Ulrich Drepper <drepper@gmail.com>
44265
44266 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44267 last patch a bit. Pretty printing
44268
3056dcdb
UD
442692010-05-31 Petr Baudis <pasky@suse.cz>
44270
44271 [BZ #10085]
44272 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44273 initialization of skip_initgroups_dyn.
44274
cf7c9078
UD
442752010-11-19 Ulrich Drepper <drepper@gmail.com>
44276
44277 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44278 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44279
a1fb5e3e
UD
442802010-11-16 Ulrich Drepper <drepper@gmail.com>
44281
44282 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44283
3540d66b
AS
442842010-11-11 Andreas Schwab <schwab@redhat.com>
44285
44286 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44287 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44288 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44289 ($(objpfx)tst-fnmatch-mem): New rule.
44290 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44291 * posix/tst-fnmatch.c (main): Call mtrace.
44292
13b69574
L
442932010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44294
44295 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44296 Support Intel processor model 6 and model 0x2c.
44297
da93d214
LM
442982010-11-10 Luis Machado <luisgpm@br.ibm.com>
44299
44300 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44301 signed comparison.
44302
8ca52c6e
L
443032010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44304
44305 [BZ #12205]
44306 * string/test-strncasecmp.c (check_result): New function.
44307 (do_one_test): Use it.
44308 (check1): New function.
44309 (test_main): Use it.
44310 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44311 Support strcasecmp and strncasecmp.
44312
69da074d
UD
443132010-11-08 Ulrich Drepper <drepper@gmail.com>
44314
44315 [BZ #12194]
44316 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44317 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44318
ff02d528
L
443192010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44320
44321 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44322 IFUNC support.
44323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44324 memset-x86-64.
44325 * sysdeps/x86_64/multiarch/bzero.S: New file.
44326 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44327 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44328 * sysdeps/x86_64/multiarch/memset.S: New file.
44329 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44331 Set bit_Prefer_SSE_for_memop for Intel processors.
44332 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44333 Define.
44334 (index_Prefer_SSE_for_memop): Define.
44335 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44336
344d0b54
LM
443372010-11-04 Luis Machado <luisgpm@br.ibm.com>
44338
44339 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44340 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44341
c0dde15b
UD
443422010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44343
44344 [BZ #12191]
44345 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44346 (__x86_64_raw_data_cache_size_half): Likewise.
44347 (__x86_64_raw_shared_cache_size): Likewise.
44348 (__x86_64_raw_shared_cache_size_half): Likewise.
44349
44350 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44351 (__x86_64_raw_data_cache_size_half): Likewise.
44352 (__x86_64_raw_shared_cache_size): Likewise.
44353 (__x86_64_raw_shared_cache_size_half): Likewise.
44354 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44355 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44356 and __x86_64_raw_shared_cache_size_half. Round
44357 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44358 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44359 to multiple of 256 bytes.
44360
0e516e0e
MS
443612010-11-03 Ulrich Drepper <drepper@gmail.com>
44362
44363 [BZ #12167]
44364 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44365 of inacessible symlinks. Verify result of symlink before returning it.
44366 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44367 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44368
0e012e87
ER
443692010-10-28 Erich Ritz <erichritz@gmail.com>
44370
44371 * math/math.h (isinf): Fix typo in comment.
44372
de0ff7bc
UD
443732010-11-01 Ulrich Drepper <drepper@gmail.com>
44374
44375 * po/da.po: Update from translation team.
44376
fa41c84d
UD
443772010-10-26 Ulrich Drepper <drepper@gmail.com>
44378
44379 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44380 is added to the list.
44381
f0967738
AK
443822010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44383 Ulrich Drepper <drepper@gmail.com>
44384
44385 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44386 the global list here. Move code to...
44387 (_dl_add_to_namespace_list): ...here. New function.
44388 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44389 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44390 * elf/dl-load.c (lose): Don't remove the element from the list.
44391 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44392 (_dl_map_object): Likewise.
44393
443942010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
44395
44396 [BZ #12159]
44397 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44398 into all bytes of SSE register.
44399 Patch by Richard Li <richardpku@gmail.com>.
44400
f0967738 444012010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
44402
44403 [BZ #12140]
44404 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44405 perturbing.
44406
d0b9e94f
MB
444072010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44408
44409 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44410 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44411 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44412 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44414 submachine.
44415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44416
8e9f92e9
AS
444172010-10-22 Andreas Schwab <schwab@redhat.com>
44418
44419 * include/dlfcn.h (__RTLD_SECURE): Define.
44420 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44421 mode & __RTLD_SECURE instead.
44422 (open_path): Rename preloaded parameter to secure.
44423 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44424 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44425 * elf/dl-deps.c (openaux): Likewise.
44426 * elf/rtld.c (struct map_args): Remove is_preloaded.
44427 (map_doit): Don't use it.
44428 (dl_main): Likewise.
44429 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44430 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44431
bc96fbda
AS
444322010-09-09 Andreas Schwab <schwab@redhat.com>
44433
44434 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44435 (sysd-rules-targets): Remove duplicates.
44436 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44437 rtld-%.$o dependency.
44438
22cd1c9b
AS
444392010-10-18 Andreas Schwab <schwab@redhat.com>
44440
44441 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44442 _dl_map_object do it.
44443
18edac48
UD
444442010-10-19 Ulrich Drepper <drepper@gmail.com>
44445
44446 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44447 fast fma builtins, define the macros in the C99 standard.
44448 (FP_FAST_FMAF): Likewise.
44449 (FP_FAST_FMAL): Likewise.
44450 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44451
44452 * bits/mathdef.h: Update copyright year.
44453 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44454
d2050124
MM
444552010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44456
44457 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44458 builtins, define the macros in the C99 standard.
44459 (FP_FAST_FMAF): Likewise.
44460 (FP_FAST_FMAL): Likewise.
44461 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44462 multiply/add.
44463 (FP_FAST_FMAF): Likewise.
44464
475facd1
JJ
444652010-10-15 Jakub Jelinek <jakub@redhat.com>
44466
44467 [BZ #3268]
44468 * math/libm-test.inc (fma_test): Some new testcases.
44469 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44470 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44471 y and infinite z. Do multiplication by C already in long double.
44472 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44474 y and infinite z. Do bitwise or of inexact bit into u.d.
44475 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44476 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44477 * sysdeps/i386/fpu/s_fma.S: Removed.
44478 * sysdeps/i386/fpu/s_fmal.S: Removed.
44479
7c08a05c
JJ
444802010-10-16 Jakub Jelinek <jakub@redhat.com>
44481
44482 [BZ #3268]
44483 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44484 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44485 computation is not scheduled after fetestexcept. Fix value
44486 of minimum denormal long double.
44487
f3f7372d
JJ
444882010-10-14 Jakub Jelinek <jakub@redhat.com>
44489
44490 [BZ #3268]
44491 * math/libm-test.inc (fma_test): Add some more tests.
44492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44493 correctly.
44494
14d43591
AS
444952010-10-15 Andreas Schwab <schwab@redhat.com>
44496
44497 * scripts/data/localplt-s390-linux-gnu.data: New file.
44498 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44499
5e908464
JJ
445002010-10-13 Jakub Jelinek <jakub@redhat.com>
44501
44502 [BZ #3268]
44503 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44504 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44505 instead of dbl-64.
44506 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44507 inlines.
44508 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44509 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44510 if one of x and y is very large and the other is subnormal.
44511 * sysdeps/s390/fpu/s_fmaf.c: New file.
44512 * sysdeps/s390/fpu/s_fma.c: New file.
44513 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44514 * sysdeps/powerpc/fpu/s_fma.S: New file.
44515 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44516 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44517 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44518
445192010-10-12 Jakub Jelinek <jakub@redhat.com>
44520
44521 [BZ #3268]
44522 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44523 fma tests.
44524 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44525 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44526 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44527 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44528 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44529 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44530 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44531
b833d51f
UD
445322010-10-12 Ulrich Drepper <drepper@redhat.com>
44533
44534 [BZ #12078]
44535 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44536 * posix/bug-regex31.input: Add test case.
44537
1751705d
UD
445382010-10-11 Ulrich Drepper <drepper@gmail.com>
44539
e9b9cbf5
UD
44540 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44541 * posix/bug-regex31.input: New file.
44542
44543 [BZ #12078]
44544 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44545 (parse_sub_exp): Fix last change, use postorder.
44546
ef06edbe
UD
44547 * posix/bug-regex31.c: New file.
44548 * posix/Makefile: Add rules to build and run bug-regex31.
44549
a129c80d
UD
44550 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44551
44552 [BZ #12078]
44553 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44554
b76b818e
UD
44555 [BZ #12108]
44556 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44557 to have entries in sys_siglist.
44558
1751705d
UD
44559 [BZ #12093]
44560 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44561 be NULL.
44562
9ff8d36f
JJ
445632010-10-07 Jakub Jelinek <jakub@redhat.com>
44564
44565 [BZ #3268]
44566 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44567 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44568 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44569 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44570 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44571 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44572 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44573 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44574 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44575 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44576 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44577 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44578 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44579 * math/ftestexcept.c (fetestexcept): Likewise.
44580 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44581 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44582 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44583 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44584 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44585 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44586 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44587
af325969
UD
445882010-10-11 Ulrich Drepper <drepper@gmail.com>
44589
c579b202 44590 [BZ #12107]
af325969
UD
44591 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44592 newline.
44593
67a67b95
UD
445942010-10-06 Ulrich Drepper <drepper@gmail.com>
44595
44596 * string/bug-strstr1.c: New file.
44597 * string/Makefile: Add rules to build and run bug-strstr1.
44598
5fb308bc
EB
445992010-10-05 Eric Blake <eblake@redhat.com>
44600
44601 [BZ #12092]
44602 * string/str-two-way.h (two_way_long_needle): Always clear memory
44603 when skipping input due to the shift table.
44604
45db99c7
UD
446052010-10-03 Ulrich Drepper <drepper@gmail.com>
44606
3b111893
UD
44607 [BZ #12005]
44608 * malloc/mcheck.c: Handle large requests.
44609
45db99c7
UD
44610 [BZ #12077]
44611 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44612 for strncmp and strncasecmp.
44613 * string/stratcliff.c: Add tests for strcmp and strncmp.
44614 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44615
cf7a1eb8
NI
446162010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44617
44618 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44619 __set_fpscr.
44620
6484ba5e
AJ
446212010-09-30 Andreas Jaeger <aj@suse.de>
44622
44623 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44624 (CGROUP_SUPER_MAGIC): Define.
44625 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44626 Handle btrfs and cgroup file systems.
44627 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44628 Likewise.
44629
91c42559
LM
446302010-09-27 Luis Machado <luisgpm@br.ibm.com>
44631
44632 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44633 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44634
87a97932
AK
446352010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44636
44637 [BZ #12067]
44638 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44639 trying to locate the ELF header.
44640
c21cc9bc
AS
446412010-09-27 Andreas Schwab <schwab@redhat.com>
44642
44643 [BZ #11611]
44644 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44645 Mask out sign-bit copies when constructing f_fsid.
44646
315970f6
PB
446472010-09-24 Petr Baudis <pasky@suse.cz>
44648
44649 * debug/stack_chk_fail_local.c: Add missing licence exception.
44650 * debug/warning-nop.c: Likewise.
44651
1ac7a2c7
JM
446522010-09-15 Joseph Myers <joseph@codesourcery.com>
44653
44654 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44655 implementing getdents64 using getdents syscall, set d_type if
44656 __ASSUME_GETDENTS32_D_TYPE.
44657
56801c50
AS
446582010-09-16 Andreas Schwab <schwab@redhat.com>
44659
44660 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44661 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44662
dda51327
UD
446632010-09-21 Ulrich Drepper <drepper@redhat.com>
44664
44665 [BZ #12037]
44666 * posix/unistd.h: Undo change of feature selection for ftruncate from
44667 2010-01-11.
44668
8ffcee4a
UD
446692010-09-20 Ulrich Drepper <drepper@redhat.com>
44670
a545ecd9 44671 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
44672 detection.
44673
e24f0a8b
AS
446742010-09-20 Andreas Schwab <schwab@redhat.com>
44675
44676 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44677 fanotify_mark.
44678 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44679
7291c56f
AS
446802010-09-14 Andreas Schwab <schwab@redhat.com>
44681
44682 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44683 variables after CHECK_SP call.
44684 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44685
bc5fb037
AS
446862010-09-13 Andreas Schwab <schwab@redhat.com>
44687 Ulrich Drepper <drepper@redhat.com>
44688
44689 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44690 re-relocationg ld.so.
44691 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44692 _dl_init_paths call.
44693 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44694 here anymore.
44695
e66e7419
UD
446962010-09-14 Ulrich Drepper <drepper@redhat.com>
44697
44698 * resolv/res_init.c (__res_vinit): Count the default server we added.
44699
c044aa75
CLT
447002010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44701 Ulrich Drepper <drepper@redhat.com>
44702
44703 [BZ #11968]
44704 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44705 (____longjmp_chk): Use %ebx for saving value across system call.
44706 Add unwind info.
44707
32cf4069
AS
447082010-09-06 Andreas Schwab <schwab@redhat.com>
44709
44710 * manual/Makefile: Don't mix pattern rules with normal rules.
44711
817328ee
AS
447122010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44713
44714 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44715 operation.
44716 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44717 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44718 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44719 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44720 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44721 Likewise.
44722
29fddf61
UD
447232010-09-04 Ulrich Drepper <drepper@redhat.com>
44724
44725 [BZ #11979]
44726 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44727 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44728
0959ffc9
UD
447292010-09-02 Ulrich Drepper <drepper@redhat.com>
44730
44731 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44732 * sysdeps/x86_64/addmul_1.S: Likewise.
44733 * sysdeps/x86_64/lshift.S: Likewise.
44734 * sysdeps/x86_64/mul_1.S: Likewise.
44735 * sysdeps/x86_64/rshift.S: Likewise.
44736 * sysdeps/x86_64/sub_n.S: Likewise.
44737 * sysdeps/x86_64/submul_1.S: Likewise.
44738
ece29840
ST
447392010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44740
0959ffc9
UD
44741 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44742 Define __sched_param instead of SCHED_* and sched_param when
ece29840 44743 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 44744 * bits/sched.h [__need_schedparam]
ece29840 44745 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
44746 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44747 (__defined_schedparam): Define to 1.
ece29840
ST
44748 (__sched_param): New structure, identical to sched_param.
44749 (__need_schedparam): Undefine.
44750
e53a31fe
MF
447512010-08-31 Mike Frysinger <vapier@gentoo.org>
44752
fdc0c10d
MF
44753 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44754 (epoll_create1): Declare.
44755
e53a31fe
MF
44756 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44757
a726d796
AS
447582010-08-31 Andreas Schwab <schwab@redhat.com>
44759
44760 [BZ #7066]
44761 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44762 shifting retval into place.
44763
2f3e3dc7
UD
447642010-09-01 Ulrich Drepper <drepper@redhat.com>
44765
f2933da9
UD
44766 * nis/rpcsvc/nis.h: Update copyright notice.
44767 * nis/rpcsvc/nis.x: Likewise.
44768 * nis/rpcsvc/nis_callback.h: Likewise.
44769 * nis/rpcsvc/nis_callback.x: Likewise.
44770 * nis/rpcsvc/nis_object.x: Likewise.
44771 * nis/rpcsvc/nis_tags.h: Likewise.
44772 * nis/rpcsvc/yp.h: Likewise.
44773 * nis/rpcsvc/yp.x: Likewise.
44774 * nis/rpcsvc/ypupd.h: Likewise.
44775 * nis/yp_xdr.c: Likewise.
44776 * nis/ypupdate_xdr.c: Likewise.
44777
2f3e3dc7
UD
44778 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44779 mainly the body of pmap_getport. Add parameters to specify timeouts.
44780 (pmap_getport): Use __libc_rpc_getport.
44781 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44782 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44783 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44784
f3dcc2f9
AS
447852010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44786
44787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44788 fanotify_mark.
44789
6d34eb5b
RM
447902010-08-27 Roland McGrath <roland@redhat.com>
44791
44792 * sysdeps/i386/i686/multiarch/Makefile
44793 (CFLAGS-varshift.c): New variable.
44794
9ea3de11
UD
447952010-08-27 Ulrich Drepper <drepper@redhat.com>
44796
c96d23fc
UD
44797 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44798 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44799
9ea3de11
UD
44800 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44801
44802 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44803
623aac7f
L
448042010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44805
44806 * sysdeps/x86_64/strlen.S: Unroll the loop.
44807 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44808 strlen-sse2 strlen-sse2-bsf.
44809 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44810 __strlen_no_bsf if bit_Slow_BSF is set.
44811 (__strlen_sse42): Removed.
44812 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44813 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44814
8b2b7715
RM
448152010-08-25 Roland McGrath <roland@redhat.com>
44816
44817 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44818 * sysdeps/x86_64/multiarch/varshift.c: New file.
44819 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44820 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44821 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44822 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44823
e73015f2
L
448242010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44825
44826 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44827 strlen-sse2 strlen-sse2-bsf.
44828 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44829 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44830 (__strlen_sse2): Removed.
44831 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44832 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44834 bit_Slow_BSF for Atom.
44835 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44836 (index_Slow_BSF): Define.
44837 (HAS_SLOW_BSF): Define.
44838
df24a73e
UD
448392010-08-25 Ulrich Drepper <drepper@redhat.com>
44840
44841 [BZ #10851]
44842 * resolv/res_init.c (__res_vinit): When no server address at all
44843 is given default to loopback.
44844
f2ac4868
RM
448452010-08-24 Roland McGrath <roland@redhat.com>
44846
09055553
RM
44847 * configure.in: Remove config-name.h generation.
44848 * configure: Regenerated.
44849 * config-name.in: File removed.
44850 * scripts/config-uname.sh: New file.
44851 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44852 ($(objdir)config-name.h): New target.
44853
f2ac4868
RM
44854 * sunrpc/rpc_parse.h: Avoid nested comment.
44855
73f27d5e
RH
448562010-08-24 Richard Henderson <rth@redhat.com>
44857 Ulrich Drepper <drepper@redhat.com>
44858 H.J. Lu <hongjiu.lu@intel.com>
44859
44860 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44861 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44862 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44863 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44864 _mm_alignr_epi8 with _mm_loadu_si128.
44865 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44866 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44867 (__m128i_shift_right): Removed.
44868 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44869 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44870 * sysdeps/x86_64/multiarch/varshift.h: New file.
44871 * sysdeps/x86_64/multiarch/varshift.S: New file.
44872
84b9230c
MF
448732010-08-21 Mike Frysinger <vapier@gentoo.org>
44874
44875 * configure.in: Move assembler checks to before sysdep dir checking.
44876
9bbd0ddc
PB
448772010-08-20 Petr Baudis <pasky@suse.cz>
44878
44879 * LICENSES: Sync the sunrpc license.
44880
9da4bb31
UD
448812010-08-19 Ulrich Drepper <drepper@redhat.com>
44882
a7ab6ec8
UD
44883 * sunrpc/auth_des.c: Update copyright notice once again.
44884 * sunrpc/auth_none.c: Likewise.
44885 * sunrpc/auth_unix.c: Likewise.
44886 * sunrpc/authdes_prot.c: Likewise.
44887 * sunrpc/authuxprot.c: Likewise.
44888 * sunrpc/bindrsvprt.c: Likewise.
44889 * sunrpc/clnt_gen.c: Likewise.
44890 * sunrpc/clnt_perr.c: Likewise.
44891 * sunrpc/clnt_raw.c: Likewise.
44892 * sunrpc/clnt_simp.c: Likewise.
44893 * sunrpc/clnt_tcp.c: Likewise.
44894 * sunrpc/clnt_udp.c: Likewise.
44895 * sunrpc/clnt_unix.c: Likewise.
44896 * sunrpc/des_crypt.c: Likewise.
44897 * sunrpc/des_soft.c: Likewise.
44898 * sunrpc/get_myaddr.c: Likewise.
44899 * sunrpc/getrpcport.c: Likewise.
44900 * sunrpc/key_call.c: Likewise.
44901 * sunrpc/key_prot.c: Likewise.
44902 * sunrpc/openchild.c: Likewise.
44903 * sunrpc/pm_getmaps.c: Likewise.
44904 * sunrpc/pm_getport.c: Likewise.
44905 * sunrpc/pmap_clnt.c: Likewise.
44906 * sunrpc/pmap_prot.c: Likewise.
44907 * sunrpc/pmap_prot2.c: Likewise.
44908 * sunrpc/pmap_rmt.c: Likewise.
44909 * sunrpc/rpc/auth.h: Likewise.
44910 * sunrpc/rpc/auth_unix.h: Likewise.
44911 * sunrpc/rpc/clnt.h: Likewise.
44912 * sunrpc/rpc/des_crypt.h: Likewise.
44913 * sunrpc/rpc/key_prot.h: Likewise.
44914 * sunrpc/rpc/netdb.h: Likewise.
44915 * sunrpc/rpc/pmap_clnt.h: Likewise.
44916 * sunrpc/rpc/pmap_prot.h: Likewise.
44917 * sunrpc/rpc/pmap_rmt.h: Likewise.
44918 * sunrpc/rpc/rpc.h: Likewise.
44919 * sunrpc/rpc/rpc_des.h: Likewise.
44920 * sunrpc/rpc/rpc_msg.h: Likewise.
44921 * sunrpc/rpc/svc.h: Likewise.
44922 * sunrpc/rpc/svc_auth.h: Likewise.
44923 * sunrpc/rpc/types.h: Likewise.
44924 * sunrpc/rpc/xdr.h: Likewise.
44925 * sunrpc/rpc_clntout.c: Likewise.
44926 * sunrpc/rpc_cmsg.c: Likewise.
44927 * sunrpc/rpc_common.c: Likewise.
44928 * sunrpc/rpc_cout.c: Likewise.
44929 * sunrpc/rpc_dtable.c: Likewise.
44930 * sunrpc/rpc_hout.c: Likewise.
44931 * sunrpc/rpc_main.c: Likewise.
44932 * sunrpc/rpc_parse.c: Likewise.
44933 * sunrpc/rpc_parse.h: Likewise.
44934 * sunrpc/rpc_prot.c: Likewise.
44935 * sunrpc/rpc_sample.c: Likewise.
44936 * sunrpc/rpc_scan.c: Likewise.
44937 * sunrpc/rpc_scan.h: Likewise.
44938 * sunrpc/rpc_svcout.c: Likewise.
44939 * sunrpc/rpc_tblout.c: Likewise.
44940 * sunrpc/rpc_util.c: Likewise.
44941 * sunrpc/rpc_util.h: Likewise.
44942 * sunrpc/rpcinfo.c: Likewise.
44943 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44944 * sunrpc/rpcsvc/key_prot.x: Likewise.
44945 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44946 * sunrpc/rpcsvc/mount.x: Likewise.
44947 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44948 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44949 * sunrpc/rpcsvc/rex.x: Likewise.
44950 * sunrpc/rpcsvc/rstat.x: Likewise.
44951 * sunrpc/rpcsvc/rusers.x: Likewise.
44952 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44953 * sunrpc/rpcsvc/spray.x: Likewise.
44954 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44955 * sunrpc/rtime.c: Likewise.
44956 * sunrpc/svc.c: Likewise.
44957 * sunrpc/svc_auth.c: Likewise.
44958 * sunrpc/svc_authux.c: Likewise.
44959 * sunrpc/svc_raw.c: Likewise.
44960 * sunrpc/svc_run.c: Likewise.
44961 * sunrpc/svc_simple.c: Likewise.
44962 * sunrpc/svc_tcp.c: Likewise.
44963 * sunrpc/svc_udp.c: Likewise.
44964 * sunrpc/svc_unix.c: Likewise.
44965 * sunrpc/svcauth_des.c: Likewise.
44966 * sunrpc/xcrypt.c: Likewise.
44967 * sunrpc/xdr.c: Likewise.
44968 * sunrpc/xdr_array.c: Likewise.
44969 * sunrpc/xdr_float.c: Likewise.
44970 * sunrpc/xdr_mem.c: Likewise.
44971 * sunrpc/xdr_rec.c: Likewise.
44972 * sunrpc/xdr_ref.c: Likewise.
44973 * sunrpc/xdr_sizeof.c: Likewise.
44974 * sunrpc/xdr_stdio.c: Likewise.
44975
9da4bb31
UD
44976 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44977 handling.
44978
bdaa77bc
AS
449792010-08-19 Andreas Schwab <schwab@redhat.com>
44980
44981 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44982
fe2f79db
LM
449832010-08-19 Luis Machado <luisgpm@br.ibm.com>
44984
44985 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44986 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44987 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44988 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44989 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44990 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44991 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44992 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44993 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44994 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44995 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44996 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44997 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44998 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44999
b9b42ee0
AB
450002010-07-26 Anton Blanchard <anton@samba.org>
45001
45002 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45003 * malloc/arena.c (heap_trim): Likewise.
45004
1c06ba31
UD
450052010-08-16 Ulrich Drepper <drepper@redhat.com>
45006
45007 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45008 here. Not...
45009 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45010 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45011
f8392f40
L
450122010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45013
45014 * sysdeps/i386/elf/Makefile: New file.
45015
3162f12e
AS
450162010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45017
45018 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45019 from fanotify_init.
45020 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45021 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45022
28c90b2c
UD
450232010-08-15 Ulrich Drepper <drepper@redhat.com>
45024
45025 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45026 of strncasecmp_l.
1feccb6c 45027 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 45028
ca6bb004
UD
450292010-08-14 Ulrich Drepper <drepper@redhat.com>
45030
e9f82e0d
UD
45031 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45032 strncase_l-nonascii.
45033 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45034 Add strncase_l-ssse3.
45035 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45036 * sysdeps/x86_64/strcmp.S: Likewise.
45037 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45038 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45039 * sysdeps/x86_64/strncase.S: New file.
45040 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45041 * sysdeps/x86_64/strncase_l.S: New file.
45042 * string/Makefile (strop-tests): Add strncasecmp.
45043 * string/test-strncasecmp.c: New file.
45044
45045 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45046 warning.
45047
ca6bb004
UD
45048 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45049 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45050
052fa7b3
AS
450512010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45052
45053 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45054
962dba78
UD
450552010-08-12 Ulrich Drepper <drepper@redhat.com>
45056
45057 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45058 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45059 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45060
bebff237
AM
450612010-05-01 Alan Modra <amodra@gmail.com>
45062
45063 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45064 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45065 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45066 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45067 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45068 tidying. Don't tail-call __sigjmp_save for static lib.
45069 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45070 save location.
45071 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45072 (CALL_MCOUNT): Add eh info, and nop after bl.
45073 (TAIL_CALL_SYSCALL_ERROR): New macro.
45074 (PSEUDO_RET): Use it.
45075 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45076 Correct save location of integer regs and cr.
45077 (_dl_profile_resolve): Correct cr save location. Delete nops
45078 after bl when SHARED. Reduce cfi size a little by better
45079 placement of cfi directives.
45080 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45081 make a stack frame. Instead use parm save area as a temp.
45082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45083 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45085 Don't make a stack frame for parent, use parm save area.
45086 Increase child stack frame to 112 bytes. Don't save unused reg,
45087 and adjust reg usage. Set up cfi on error recovery and
45088 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45090 (__makecontext): Add dummy nop after jump to exit.
45091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45092 Use correct parm save area and cr save, reduce stack frame.
45093 Correct cfi for possible PSEUDO_RET frame setup.
45094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45095 Branch to local label emitted by PSEUDO_RET rather than
45096 __syscall_error.
45097
02637374
AS
450982010-08-12 Andreas Schwab <schwab@redhat.com>
45099
45100 [BZ #11904]
45101 * locale/programs/locale.c (print_assignment): New function.
45102 (show_locale_vars): Use it.
45103
c3e2f19b
UD
451042010-08-11 Ulrich Drepper <drepper@redhat.com>
45105
3cdaa6ad
UD
45106 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45107 field.
45108 (struct statfs64): Likewise.
45109 (_STATFS_F_FLAGS): Define.
45110 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45111 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45112 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45113 (ST_VALID): Define locally.
45114 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45115 __statvfs_getflags, use the provided value.
45116 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45117 __ASSUME_STATFS_F_FLAGS.
45118
754f7da3
UD
45119 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45120
10b3bedc
UD
45121 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45122 Add sys/fanotify.h.
45123 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45124 fanotify_mask for GLIBC_2.13.
45125 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45126 fanotify_init and fanotify_mark.
45127 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45128 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45129
c08fb0d7
UD
45130 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45131 Add prlimit.
45132 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45133 prlimit64 for GLIBC_2.13.
45134 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45135 prlimit64.
45136 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45137 syscall.
45138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45139 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45140 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45141 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45142 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45143 add prlimit alias.
45144 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45145
15bac72b
UD
45146 [BZ #11903]
45147 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45148 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45149
c3e2f19b
UD
45150 * nss/Makefile: Add rules to build and run tst-nss-test1.
45151 * shlib-versions: Add entry for libnss_test1.
45152 * nss/nss_test1.c: New file.
45153 * nss/tst-nss-test1.c: New file.
45154
45155 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45156 (__nss_configure_lookup): Set appropriate entry in
45157 __nss_configure_lookup to true.
45158 * nss/nsswitch.h: Define enum with indeces of databases in
45159 databases and __nss_database_custom arrays. Declare
45160 __nss_database_custom.
45161 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45162 to avoid using nscd when custom rules are installed.
45163 * nss/getXXbyYY_r.c: Likewise.
45164 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45165
45166 * nss/nss_files/files-parse.c: Whitespace fixes.
45167
f15ce4d8
UD
451682010-08-09 Ulrich Drepper <drepper@redhat.com>
45169
45170 [BZ #11883]
45171 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45172 * posix/fnmatch_loop.c: Likewise.
45173
d22e4cc9
AK
451742010-07-17 Andi Kleen <ak@linux.intel.com>
45175
45176 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45177 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45178 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45179 * Versions.def [GLIBC_2.13]: Add.
45180
805bc17d
UD
451812010-08-06 Ulrich Drepper <drepper@redhat.com>
45182
45183 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45184 Also fail if tpwd after pwuid call is NULL.
45185
5a42321d
ST
451862010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45187
45188 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45189 when converting to ms.
45190
fd3ebeda
ST
451912010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45192
45193 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45194 EOPNOTSUPP errors with ENOTTY.
45195 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45196 EOPNOTSUPP errors with ENOTTY.
45197
73507d3a
UD
451982010-07-31 Ulrich Drepper <drepper@redhat.com>
45199
45200 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45201 Add strcasecmp_l-ssse3.
45202 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45203 strcasecmp.
45204 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45205 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45206 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45207
fe36dd02
UD
452082010-07-30 Ulrich Drepper <drepper@redhat.com>
45209
66f6765a
UD
45210 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45211
42e08a54
UD
45212 * string/Makefile (strop-tests): Add strcasecmp.
45213 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45214 strcasecmp_l-nonascii.
45215 (gen-as-const-headers): Add locale-defines.sym.
45216 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45217 * sysdeps/x86_64/strcasecmp.S: New file.
45218 * sysdeps/x86_64/strcasecmp_l.S: New file.
45219 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45220 * sysdeps/x86_64/locale-defines.sym: New file.
45221 * string/test-strcasecmp.c: New file.
45222
fe36dd02
UD
45223 * string/test-strcasestr.c: Test both ends of the range of characters.
45224 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45225
48cbc0d6
RM
452262010-07-29 Roland McGrath <roland@redhat.com>
45227
76e6d6bc 45228 [BZ #11856]
48cbc0d6
RM
45229 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45230
880113d9
UD
452312010-07-27 Ulrich Drepper <drepper@redhat.com>
45232
45233 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45234 for ld.so.
45235
deb9cabb
AS
452362010-07-27 Andreas Schwab <schwab@redhat.com>
45237
45238 * manual/memory.texi (Malloc Tunable Parameters): Document
45239 M_PERTURB.
45240
1c7570ff
RM
452412010-07-26 Roland McGrath <roland@redhat.com>
45242
45243 [BZ #11840]
45244 * configure.in (-fgnu89-inline check): Set and substitute
45245 gnu89_inline, not libc_cv_gnu89_inline.
45246 * configure: Regenerated.
45247 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45248
24fb0f88
UD
452492010-07-26 Ulrich Drepper <drepper@redhat.com>
45250
45251 * string/test-strnlen.c: New file.
45252 * string/Makefile (strop-tests): Add strnlen.
45253 * string/tester.c (test_strnlen): Add a few more test cases.
45254 * string/tst-strlen.c: Better error reporting.
45255
45256 * sysdeps/x86_64/strnlen.S: New file.
45257
8e96b93a
UD
452582010-07-24 Ulrich Drepper <drepper@redhat.com>
45259
45260 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45261 lower-latency instructions.
45262
dbc676d4
UD
452632010-07-23 Ulrich Drepper <drepper@redhat.com>
45264
45265 * string/test-strcasestr.c: New file.
45266 * string/test-strstr.c: New file.
45267 * string/Makefile (strop-tests): Add strstr and strcasestr.
45268 * string/str-two-way.h: Don't undefine MAX.
45269 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45270
f6a31e0e
AS
452712010-07-21 Andreas Schwab <schwab@redhat.com>
45272
45273 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45274 strcasestr-nonascii.
45275 (CFLAGS-strcasestr-nonascii.c): Define.
45276 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45277 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45278 Remove unused attribute.
45279
5dbc3b6c
RM
452802010-07-20 Roland McGrath <roland@redhat.com>
45281
45282 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45283 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45284 ld.so.cache was broken. With it, there is no way to disable dsocaps
45285 like LD_HWCAP_MASK can disable hwcaps.
45286
23d101d8
EPM
452872010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45288
45289 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45290
cc9f2e47
UD
452912010-07-16 Ulrich Drepper <drepper@redhat.com>
45292
45293 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45294 call in strcasestr.
45295 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45296 __strcasestr_sse42_nonascii.
45297 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45298 strcasestr-nonascii.c.
45299 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45300
77c1b069
LM
453012010-06-15 Luis Machado <luisgpm@br.ibm.com>
45302
45303 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45304 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45305 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45306 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45307
440566c3
UD
453082010-07-09 Ulrich Drepper <drepper@redhat.com>
45309
45310 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45311 fcntl.
45312
5be9d05d
AS
453132010-07-06 Andreas Schwab <schwab@redhat.com>
45314
c30b7ee2 45315 [BZ #11577]
5be9d05d
AS
45316 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45317 dl_signal_cerror.
45318
8a492a67
UD
453192010-07-06 Ulrich Drepper <drepper@redhat.com>
45320
45321 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45322 _PC_PIPE_BUF using F_GETPIPE_SZ.
45323
713df3d5
RM
453242010-07-05 Roland McGrath <roland@redhat.com>
45325
45326 * manual/arith.texi (Rounding Functions): Fix rint description
45327 implicit in round description.
45328
702e8f14
UD
453292010-07-02 Ulrich Drepper <drepper@redhat.com>
45330
45331 * elf/Makefile: Fix linking for a few tests to make recent linker
45332 happy.
45333
52ed8be9
AS
453342010-06-30 Andreas Schwab <schwab@redhat.com>
45335
45336 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45337 $(common-objpfx)libc_nonshared.a.
45338
f47c9a11
LM
453392010-06-21 Luis Machado <luisgpm@br.ibm.com>
45340
45341 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45342 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45343 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45344 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45345 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45346 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45347 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45348 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45363 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45364 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45365 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45366 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45367 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45368 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45369 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45370 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45371 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45372 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45373 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45374 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45389
6fb8cbcb
L
453902010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45391
45392 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45393 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45394 * string/memmove.c (memmove): Renamed to ...
45395 (MEMMOVE): ...this. Default to memmove.
45396 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45397 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45398 (END_CHK): Define.
45399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45400 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45401 mempcpy-ssse3-back memmove-ssse3-back.
45402 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45403 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45404 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45405 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45406 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45407 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45408 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45409 * sysdeps/x86_64/multiarch/memmove.c: New file.
45410 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45411 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45412 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45413 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45414 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45415 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45416 Define.
45417 (index_Fast_Copy_Backward): Define.
45418 (HAS_ARCH_FEATURE): Define.
45419 (HAS_FAST_REP_STRING): Define.
45420 (HAS_FAST_COPY_BACKWARD): Define.
45421
4e733bac 454222010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
45423
45424 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45425 Restore proper fallback handling.
45426
63c4ed22
UD
454272010-06-19 Ulrich Drepper <drepper@redhat.com>
45428
ac2b484c
UD
45429 [BZ #11701]
45430 * posix/group_member.c (__group_member): Correct checking loop.
45431
63c4ed22
UD
45432 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45433 OOM in getpwuid_r correctly. Return error number when the caller
45434 should return, otherwise -1.
45435 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45436 call returning > 0 value.
45437 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45438
765ade4b
AS
454392010-06-07 Andreas Schwab <schwab@redhat.com>
45440
45441 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45442 libc_nonshared.a from targets in modules-names.
45443
80da2e09
KS
454442010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45445
45446 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45447 requires it.
45448
158db122
LM
454492010-06-10 Luis Machado <luisgpm@br.ibm.com>
45450
45451 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45452 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45453 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45454 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45455
caa78cf8
AS
454562010-06-02 Andreas Schwab <schwab@redhat.com>
45457
45458 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45459
b2ef2c01
UD
454602010-06-14 Ulrich Drepper <drepper@redhat.com>
45461
45462 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45463 and F_GETPIPE_SZ.
45464 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45465 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45466 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45467 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45468 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45469 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45470
fbd643b6
RM
454712010-06-14 Roland McGrath <roland@redhat.com>
45472
45473 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45474
f32f2869
JJ
454752010-06-07 Jakub Jelinek <jakub@redhat.com>
45476
45477 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45478 __REDIRECT followed by __THROW.
45479 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45480 * posix/getopt.h (getopt): Likewise.
45481
2a50c078
EPM
454822010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45483
45484 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45485 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45486 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45487 in AT_FLAGS.
45488 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45489 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45490
eb5ad2eb
LM
454912010-05-28 Luis Machado <luisgpm@br.ibm.com>
45492
45493 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45494
3c88fe1e
L
454952010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45496
45497 [BZ #11640]
45498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45499 Properly check family and model.
45500
d2f73151
TY
455012010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45502
45503 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45504
ebd2e13d
LM
455052010-05-24 Luis Machado <luisgpm@br.ibm.com>
45506
45507 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45508
b32b8b45
UD
455092010-05-21 Ulrich Drepper <drepper@redhat.com>
45510
45511 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45512 symbol reference.
45513
9acbe24d
AS
455142010-05-19 Andreas Schwab <schwab@redhat.com>
45515
45516 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45517 symbol reference.
45518
f0ccf6ea
AS
455192010-05-21 Andreas Schwab <schwab@redhat.com>
45520
3d04ff3a
AS
45521 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45522 and internal_recvmmsg.
45523 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45524 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45525 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45526 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45527
f0ccf6ea
AS
45528 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45529 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45530 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45531
5b08ac57
AS
455322010-05-20 Andreas Schwab <schwab@redhat.com>
45533
45534 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45535
4828935d
LM
455362010-05-17 Luis Machado <luisgpm@br.ibm.com>
45537
45538 POWER7 optimizations.
45539 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45540 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45541
373d545e
UD
455422010-05-19 Ulrich Drepper <drepper@redhat.com>
45543
45544 * version.h: Update for 2.13 development version.
45545
21a2b1ae
AS
455462010-05-12 Andrew Stubbs <ams@codesourcery.com>
45547
45548 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45549 exceptions. Return 0.
45550
3f7dcb2b
RM
455512010-05-07 Roland McGrath <roland@redhat.com>
45552
45553 * elf/ldconfig.c (main): Add a const.
45554
5f24d53a 455552010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 45556
a160f8d8
UD
45557 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45558 (args_options): Add no-idn option.
45559 (ahosts_keys_int): Add idn_flags to ai_flags.
45560 (parse_option): Handle 'i' option to clear idn_flags.
45561
5f24d53a
UD
45562 * malloc/malloc.c (_int_free): Possible race in the most recently
45563 added check. Only act on the data if no current modification
45564 happened.
265bb1ce
UD
45565
45566See ChangeLog.17 for earlier changes.