]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix log2 (1) in round-downward mode (bug 17042).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f8ba1b56
JM
12014-06-10 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #17042]
4 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5 when x - 1 is zero.
6 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9 0.0L for an argument of 1.0L.
10 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11 Likewise.
12 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
13 value when x - 1 is zero.
14 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
15 * sysdeps/i386/fpu/libm-test-ulps: Update.
16 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17
2c3520d9
BO
182014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
19
20 [BZ #15119]
21 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
22
acaa4d24
RM
232014-06-09 Roland McGrath <roland@hack.frob.com>
24
25 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
26 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
27
962b744d
RM
282014-06-09 Roland McGrath <roland@hack.frob.com>
29
d752f0cc
RM
30 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
32
34eda6d1
RM
33 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
35
50f0a637
RM
36 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
38
08f41f04
RM
39 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
41
962b744d
RM
42 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
43 if not already defined.
44 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
45 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
46 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
47 (TLS_INIT_TP): Use it.
48 (TLS_DEFINE_INIT_TP): New macro.
49 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
50
09f19b05
JM
512014-06-09 Joseph Myers <joseph@codesourcery.com>
52
53 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
54 constant.
55 [POSIX] (IXANY): Likewise.
56 [POSIX] (OLCUC): Likewise.
57 [POSIX || POSIX2008] (CBAUD): Do not allow.
58 [POSIX || POSIX2008] (DEFECHO): Likewise.
59 [POSIX || POSIX2008] (ECHOCTL): Likewise.
60 [POSIX || POSIX2008] (ECHOKE): Likewise.
61 [POSIX || POSIX2008] (ECHOPRT): Likewise.
62 [POSIX || POSIX2008] (EXTA): Likewise.
63 [POSIX || POSIX2008] (EXTB): Likewise.
64 [POSIX || POSIX2008] (FLUSHO): Likewise.
65 [POSIX || POSIX2008] (LOBLK): Likewise.
66 [POSIX || POSIX2008] (PENDIN): Likewise.
67 [POSIX || POSIX2008] (SWTCH): Likewise.
68 [POSIX || POSIX2008] (VDISCARD): Likewise.
69 [POSIX || POSIX2008] (VDSUSP): Likewise.
70 [POSIX || POSIX2008] (VLNEXT): Likewise.
71 [POSIX || POSIX2008] (VREPRINT): Likewise.
72 [POSIX || POSIX2008] (VSTATUS): Likewise.
73 [POSIX || POSIX2008] (VWERASE): Likewise.
74 (B*): Change to B[0123456789]*.
75 * conform/data/time.h-data [POSIX || UNIX98]
76 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
77 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
78 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
79 [POSIX] (tm_*): Do not allow.
80
686554bf
JM
812014-06-07 Joseph Myers <joseph@codesourcery.com>
82
83 * Makefile (install): Don't set LANGUAGE.
84 * Makefile.in (install): Likewise.
85 * assert/Makefile (test-assert-ENV): Remove variable.
86 (test-assert-perr-ENV): Likewise.
87 * elf/Makefile (neededtest4-ENV): Likewise.
88 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
89 [$(cross-compiling) = no]: Don't set LANGUAGE.
90 * io/ftwtest-sh (LANG): Remove variable.
91 * libio/Makefile (tst-widetext-ENV): Likewise.
92 * manual/install.texi (Running make install): Don't refer to
93 environment settings for make install.
94 * INSTALL: Regenerated.
95 * nptl/tst-tls6.sh: Don't set LANG.
96 * posix/globtest.sh (LANG): Remove variable.
97 * string/Makefile (tester-ENV): Likewise.
98 (inl-tester-ENV): Likewise.
99 (noinl-tester-ENV): Likewise.
100 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
101 [$(cross-compiling) = no]: Don't set LANGUAGE.
102 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
103 without explicit environment settings.
104
68e6b6b1
RM
1052014-06-06 Roland McGrath <roland@hack.frob.com>
106
107 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
108 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
109 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
110 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
111
4d3ae034
CM
1122014-06-06 Chris Metcalf <cmetcalf@tilera.com>
113
114 * crypt/crypt-private.h [DOS]: Add some includes taken from the
115 other files in the crypt directory.
116 * crypt/crypt.c: Remove duplicate includes.
117 * crypt/crypt-entry.c: Likewise.
118 * crypt/crypt_util.c: Likewise.
119
8540f6d2
JM
1202014-06-06 Joseph Myers <joseph@codesourcery.com>
121
122 * Makeconfig (run-program-env): New variable.
123 (run-program-prefix-before-env): Likewise.
124 (run-program-prefix-after-env): Likewise.
125 (run-program-prefix): Define in terms of new variables.
126 (built-program-cmd-before-env): New variable.
127 (built-program-cmd-after-env): Likewise.
128 (built-program-cmd): Define in terms of new variables.
129 (test-program-prefix-before-env): New variable.
130 (test-program-prefix-after-env): Likewise.
131 (test-program-prefix): Define in terms of new variables.
132 (test-program-cmd-before-env): New variable.
133 (test-program-cmd-after-env): Likewise.
134 (test-program-cmd): Define in terms of new variables.
135 * Rules (make-test-out): Use $(run-program-env).
136 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
137 (help): Do not mention environment variables. Mention
138 --timeoutfactor option.
139 (timeoutfactor): New variable.
140 (blacklist_exports): Remove function.
141 (exports): Remove variable.
142 (command): Do not include ${exports}.
143 * manual/install.texi (Configuring and compiling): Do not mention
144 test wrappers preserving environment variables. Mention that last
145 assignment to a variable must take precedence.
146 * INSTALL: Regenerated.
147 * benchtests/Makefile (run-bench): Use $(run-program-env).
148 * catgets/Makefile ($(objpfx)test1.cat): Use
149 $(built-program-cmd-before-env), $(run-program-env) and
150 $(built-program-cmd-after-env).
151 ($(objpfx)test2.cat): Do not specify environment variables
152 explicitly.
153 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
154 $(run-program-env) and $(built-program-cmd-after-env).
155 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
156 $(run-program-env) and $(test-program-cmd-after-env).
157 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
158 explicitly.
159 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
160 run_program_env and test_program_cmd_after_env arguments.
161 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
162 * elf/tst-pathopt.sh: Use run_program_env argument.
163 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
164 $(test-wrapper-env) and $(run-program-env).
165 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
166 run_program_env arguments.
167 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
168 * intl/Makefile ($(objpfx)tst-gettext.out): Use
169 $(test-program-prefix-before-env), $(run-program-env) and
170 $(test-program-prefix-after-env).
171 ($(objpfx)tst-gettext2.out): Likewise.
172 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
173 run_program_env and test_program_prefix_after_env arguments.
174 * intl/tst-gettext2.sh: Likewise.
175 * intl/tst-gettext4.sh: Do not set environment variables
176 explicitly.
177 * intl/tst-gettext6.sh: Likewise.
178 * intl/tst-translit.sh: Likewise.
179 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
180 $(test-program-prefix-before-env), $(run-program-env) and
181 $(test-program-prefix-after-env).
182 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
183 run_program_env and test_program_prefix_after_env arguments.
184 * math/Makefile (run-regen-ulps): Use $(run-program-env).
185 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
186 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
187 explicitly with each use of ${test_wrapper_env}.
188 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
189 $(test-program-prefix-before-env), $(run-program-env) and
190 $(test-program-prefix-after-env).
191 * posix/tst-getconf.sh: Do not set environment variables
192 explicitly.
193 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
194 run_program_env and test_program_prefix_after_env arguments.
195 * stdio-common/tst-printf.sh: Do not set environment variables
196 explicitly.
197 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
198 $(test-program-prefix-before-env), $(run-program-env) and
199 $(test-program-prefix-after-env).
200 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
201 run_program_env and test_program_prefix_after_env arguments.
202 Split $test calls into $test_pre and $test.
203 * timezone/Makefile (build-testdata): Use
204 $(built-program-cmd-before-env), $(run-program-env) and
205 $(built-program-cmd-after-env).
206
ed36bfa1
AZ
2072014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
208
209 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
210 strlen for non SHARED builds.
211
fc75bf46
SP
2122014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
213
214 * nptl/allocatestack.c (check_list): Inlined function...
215 (__reclaim_stacks): ... here.
216
d89b3d80
OB
2172014-06-05 Ondřej Bílka <neleai@seznam.cz>
218
219 [BZ #15698]
220 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
221 memory overrun.
222
2bf18041
JM
2232014-06-05 Joseph Myers <joseph@codesourcery.com>
224
225 * Rules (make-test-out): Include
226 LOCPATH=$(common-objpfx)localedata in default environment.
227 * debug/Makefile (tst-chk1-ENV): Remove variable.
228 (tst-chk2-ENV): Likewise.
229 (tst-chk3-ENV): Likewise.
230 (tst-chk4-ENV): Likewise.
231 (tst-chk5-ENV): Likewise.
232 (tst-chk6-ENV): Likewise.
233 (tst-lfschk1-ENV): Likewise.
234 (tst-lfschk2-ENV): Likewise.
235 (tst-lfschk3-ENV): Likewise.
236 (tst-lfschk4-ENV): Likewise.
237 (tst-lfschk5-ENV): Likewise.
238 (tst-lfschk6-ENV): Likewise.
239 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
240 (tst-iconv7-ENV): Likewise.
241 * intl/Makefile (LOCPATH-ENV): Likewise.
242 (tst-codeset-ENV): Likewise.
243 (tst-gettext3-ENV): Likewise.
244 (tst-gettext5-ENV): Likewise.
245 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
246 (tst-fopenloc-ENV): Likewise.
247 (tst-fgetws-ENV): Remove variable.
248 (tst-ungetwc1-ENV): Likewise.
249 (tst-ungetwc2-ENV): Likewise.
250 (bug-ungetwc2-ENV): Likewise.
251 (tst-swscanf-ENV): Likewise.
252 (bug-ftell-ENV): Likewise.
253 (tst-fgetwc-ENV): Likewise.
254 (tst-fseek-ENV): Likewise.
255 (tst-ftell-partial-wide-ENV): Likewise.
256 (tst-ftell-active-handler-ENV): Likewise.
257 (tst-ftell-append-ENV): Likewise.
258 * posix/Makefile (tst-fnmatch-ENV): Likewise.
259 (tst-regexloc-ENV): Likewise.
260 (bug-regex1-ENV): Likewise.
261 (tst-regex-ENV): Likewise.
262 (tst-regex2-ENV): Likewise.
263 (bug-regex5-ENV): Likewise.
264 (bug-regex6-ENV): Likewise.
265 (bug-regex17-ENV): Likewise.
266 (bug-regex18-ENV): Likewise.
267 (bug-regex19-ENV): Likewise.
268 (bug-regex20-ENV): Likewise.
269 (bug-regex22-ENV): Likewise.
270 (bug-regex23-ENV): Likewise.
271 (bug-regex25-ENV): Likewise.
272 (bug-regex26-ENV): Likewise.
273 (bug-regex30-ENV): Likewise.
274 (bug-regex32-ENV): Likewise.
275 (bug-regex33-ENV): Likewise.
276 (bug-regex34-ENV): Likewise.
277 (bug-regex35-ENV): Likewise.
278 (tst-rxspencer-ENV): Likewise.
279 (tst-rxspencer-no-utf8-ENV): Likewise.
280 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
281 (tst-sscanf-ENV): Likewise.
282 (tst-swprintf-ENV): Likewise.
283 (tst-swscanf-ENV): Likewise.
284 (test-vfprintf-ENV): Likewise.
285 (scanf13-ENV): Likewise.
286 (bug14-ENV): Likewise.
287 (tst-grouping-ENV): Likewise.
288 * stdlib/Makefile (tst-strtod-ENV): Likewise.
289 (tst-strtod3-ENV): Likewise.
290 (tst-strtod4-ENV): Likewise.
291 (tst-strtod5-ENV): Likewise.
292 (testmb2-ENV): Likewise./
293 * string/Makefile (tst-strxfrm-ENV): Likewise.
294 (tst-strxfrm2-ENV): Likewise.
295 (bug-strcoll1-ENV): Likewise.
296 (test-strcasecmp-ENV): Likewise.
297 (test-strncasecmp-ENV): Likewise.
298 * time/Makefile (tst-strptime-ENV): Likewise.
299 (tst-ftime_l-ENV): Likewise.
300 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
301 (tst-mbrtowc-ENV): Likewise.
302 (tst-wcrtomb-ENV): Likewise.
303 (tst-mbrtowc2-ENV): Likewise.
304 (tst-c16c32-1-ENV): Likewise.
305 (tst-mbsnrtowcs-ENV): Likewise.
306
cd1fb604
OB
3072014-06-05 Ondřej Bílka <neleai@seznam.cz>
308
309 * manual/resource.texi (How to get information about the memory
310 subsystem?): Fix typo.
311 Reported by Peon de la Parra Ivan <peon@keba.com>
312
b42eca7d
GY
3132014-06-03 Guo Yixuan <culu.gyx@gmail.com>
314
315 [BZ #16882]
316 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
317 (pthread_spin_lock): Branch out of spin loop to proper location.
318 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
319 (pthread_spin_lock): Likewise.
320
902b71f9
DM
321 * nptl/tst-spin4.c: New test.
322 * nptl/Makefile (tests): Add tst-spin4.
323
f9d2d032
AS
3242014-06-03 Andreas Schwab <schwab@suse.de>
325
326 [BZ #15946]
327 * resolv/res_send.c (send_dg): Reload file descriptor after
328 calling reopen.
329
cf7bfd28
SL
3302014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
331
332 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
333
111cc714
RH
3342014-06-03 Richard Henderson <rth@redhat.com>
335
89b4bd6b
RH
336 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
337 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
338 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
339 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
340 in the SAVE_PID block.
341 (__libc_vfork): New alias.
71840409 342 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 343
111cc714
RH
344 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
345 child in registers, not on the stack. Remove RESET_PID conditionals.
346 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
347
ccc39911
MS
3482014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
349
350 * sysdeps/aarch64/libm-test-ulps: Regenerate.
351
693096cc
W
3522014-06-03 Wilco <wdijkstr@arm.com>
353
354 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
355 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
356 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
357 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
358 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
359 Likewise.
360
0b4366bc
W
3612014-06-03 Wilco <wdijkstr@arm.com>
362
363 * sysdeps/aarch64/fpu/math_private.h
364 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
365 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
366 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
367 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
368 Fix declarations.
369
8747cd03
KS
3702014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
371
372 * crypt/crypt-private.h: Include ufc-crypt.h.
373 (__b64_from_24bit): Declare extern.
374 * crypt/crypt_util.c(__b64_from_24bit): New function.
375 (b64t): New static const variable.
376 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
377 (b64t): Remove variable.
378 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
379 * crypt/sha256-crypt.c: Include crypt-private.h.
380 (b64t): Remove variable.
381 (__sha256_crypt_r): Remove b64_from_24bit and replace
382 with __b64_from_24bit.
383 * crypt/sha512-crypt.c: Likewise.
384
d936d379
RM
3852014-06-02 Roland McGrath <roland@hack.frob.com>
386
387 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
388 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
389 Label the code __libc_vfork rather than __vfork.
390 [!NOT_IN_libc] (vfork): Define as weak alias.
391 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
392 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
393 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
394
9fa76613
SP
3952014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
396
397 * malloc/malloc.c (malloc_info): Fix format specifier for
398 n_mmaps.
399
a88dadbe
W
4002014-06-02 Wilco <wdijkstr@arm.com>
401
402 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
403 FPCR write.
404
c95b3011
W
4052014-06-02 Wilco <wdijkstr@arm.com>
406
407 [BZ #17009]
408 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
409 Rewrite to reduce FPCR/FPSR accesses.
410
6b4d7a90
DM
4112014-06-01 David S. Miller <davem@davemloft.net>
412
413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
414
30f3d07c
DM
4152014-05-31 David S. Miller <davem@davemloft.net>
416
417 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
418 to occur in round to nearest mode when |x| >= 2.0
419
74f31c18
RH
4202014-05-30 Richard Henderson <rth@twiddle.net>
421
f0712b54
RH
422 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
423 (PSEUDO_RET_NOERRNO): Remove.
424 (ret): Don't redefine.
425 (ret_NOERRNO): Define in terms of ret.
426 (ret_ERRVAL): Likewise.
427
74f31c18
RH
428 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
429 use of PSEUDO_RET; perform the error check directly.
430
30477995
MM
4312014-05-30 Marko Myllynen <myllynen@redhat.com>
432
433 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
434 with __int128_t.
435
62a58816
SP
4362014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
437
438 * malloc/malloc (malloc_info): Fix formatting.
439
4d653a59
SP
4402014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
441 Roland McGrath <roland@hack.frob.com>
442
443 * malloc/malloc (malloc_info): Also print mmapped statistics.
444
5190c17f
RM
4452014-05-30 Roland McGrath <roland@hack.frob.com>
446
447 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
448 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
449
987c0269
OB
4502014-05-30 Ondřej Bílka <neleai@seznam.cz>
451
452 * malloc/malloc.c (malloc_info): Inline mi_arena.
453
af4e8ef9
RH
4542014-05-29 Richard Henderson <rth@twiddle.net>
455
1670e207
RH
456 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
457 Remove comma before expanding ASM_ARGS_##nr.
458 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
459 Make _x0 a strict output; make _x8 a strict input; adjust expansion
460 of ASM_ARGS_##nr.
461 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
462 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
463 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
464 (ASM_ARGS_1): Add leading comma.
465
11a28aee
RH
466 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
467 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
468 to __errno_location.
469 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
470 Remove the expected plt for __errno_location.
471
a17e5ffb 472 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 473 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
474 call to __read_tp.
475
b5be4597
RH
476 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
477 Always allocate 64 bytes of stack frame. Use ldp/stp to create
478 it and break it down.
479 (DOCARGS_0, DOCARGS_1): Do nothing.
480 (DOCARGS_2): Update to store into the new stack frame.
481 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
482 (UNDOCARGS_1): Update to restore from the new stack frame.
483 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
484 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
485
645d44ab
RH
486 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
487 (SINGLE_THREAD_P): New parameter for result regno.
488 (PSEUDO): Update to match; use cbz instead of beq.
489
a8b4f04a
RH
490 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
491 Use ENTRY to define the _nocancel entry point. Share the syscall
492 and syscall error check paths with the cancel path.
493 (PSEUDO_END): New.
494
af4e8ef9
RH
495 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
496 whitespace; tabs before and after asm mnemonics.
497
26b0d2e1
EW
4982014-05-29 Eric Wong <normalperson@yhbt.net>
499
500 [BZ #15132]
501 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
502 Call fstat64 or stat64 internally, depending on arguments passed.
503 Replace stat buffer argument with file descriptor argument.
504 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
505 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
506 Pass fd to __internal_statvfs instead of calling fstat64.
507 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
508 Pass fd to __internal_statvfs64 instead of calling fstat64.
509 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
510 Pass -1 to __internal_statvfs instead of calling stat64.
511 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
512 Pass -1 to __internal_statvfs64 instead of calling stat64.
513
1efe2bd9
RM
5142014-05-28 Roland McGrath <roland@hack.frob.com>
515
0d3b7a19
RM
516 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
517 that was previously under [RESET_PID].
518 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
519
1efe2bd9
RM
520 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
521 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
522
a6bea3ca
RM
5232014-05-27 Roland McGrath <roland@hack.frob.com>
524
30b6629e
RM
525 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
526
a6bea3ca
RM
527 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
528 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
529
3dfb9a5c
OB
5302014-05-27 Ondřej Bílka <neleai@seznam.cz>
531
532 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
533
774f9285
AS
5342014-05-27 Andreas Schwab <schwab@suse.de>
535
536 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
537 TLS_INIT_TP macro.
538 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
539 * elf/rtld.c (init_tls, dl_main): Likewise.
540 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
541 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
542 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
543 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
544 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
545 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
546 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
547 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
548 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
549 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
550 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
551 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
552 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
553 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
554 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
555 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
556 * sysdeps/generic/tls.h: Update description.
557
36ffe739
WN
5582014-05-27 Will Newton <will.newton@linaro.org>
559
560 [BZ #16990]
561 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
562 and restore r2 rather than just restoring.
563
2482ae43
SP
5642014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
565
566 [BZ #16724]
567 * libio/tst-ftell-append.c: New test case.
568 * libio/Makefile (tests): Add test case.
569 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
570 append mode.
571 * libio/wfileops.c (do_ftell_wide): Likewise.
572
3d1024e8
AZ
5732014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
574
bab90016
AZ
575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
576
c7a8d667
AZ
577 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
578 ...
579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
581 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
582 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
583 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
584 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
585 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
586 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
587 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
588 Moved ...
589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
590 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
591 Moved ...
592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
593 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
594 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
595 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
596 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
597 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
598 ...
599 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
600 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
601 Moved ...
602 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
603 here.
604 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
605 ...
606 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
607 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
608 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
609
daee7851
AZ
610 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
611 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
612 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
613 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
614
50a40819
AZ
615 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
616 merge into ...
617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
618 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
619 ...
620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
621 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
622 ...
623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
624 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
625 Moved ...
626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
627 here.
628 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
629 Moved ...
630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
631 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
632 Moved ...
633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
634
8464c2a1
AZ
635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
636 conditional [RESET_PID].
637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
638 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
639 removed.
640 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
641 removed.
642
3d1024e8
AZ
643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
644 <tcb-offsets.h>.
645 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
646 (__libc_vfork): New strong alias.
647 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
648 removed.
649 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
650 Removed.
651
652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
653 <tcb-offsets.h>.
654 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
655 (__libc_vfork): New strong alias.
656 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
657 removed.
658 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
659 removed.
660
fdfd175d
CD
6612014-05-26 Carlos O'Donell <carlos@redhat.com>
662
663 * malloc/malloc.c (mi_arena): New function.
664 (malloc_info): Remove nested function mi_arena. Call non-nosted
665 function mi_arena.
666
d298c416
AZ
6672014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
668
669 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
670 by insrwi.
671 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
672 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
673 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
674 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
675 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
676 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
677 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
678
b60ea6ff
AS
6792014-05-26 Andreas Schwab <schwab@suse.de>
680
681 [BZ #16984]
682 * locale/programs/repertoire.c (repertoire_read): Add slash
683 between I18NPATH element and file name.
684 * locale/programs/locfile.c (locfile_read): Likewise.
685
67365926
SL
6862014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
687
688 * nptl/pthread_mutexattr_settype.c
689 (__pthread_mutexattr_settype):
690 Disable lock elision for PTHREAD_MUTEX_NORMAL.
691
f8bdf1f0
SL
6922014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
693
694 * nptl/tst-mutex5 (do_test):
695 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
696
15eaf6ff
SP
6972014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
698
699 * benchtests/README: Document 'init' directive.
700 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
701 BENCH_INIT.
702 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
703 (parse_file): Recognize 'init' directive.
704
75f11331
KM
7052014-05-26 Kyle McMartin <kyle@redhat.com>
706
707 [BZ #16796]
708 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
709 alignment of struct pthread.
710
c3ec475c
SP
7112014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
712
713 [BZ #16878]
714 * nscd/netgroupcache.c (addgetnetgrentX): Look for
715 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
716 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
717 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
718
82aab97c
RH
7192014-05-25 Richard Henderson <rth@twiddle.net>
720
aa2f176d
RH
721 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
722 (SINGLE_THREAD_P_PIC): Remove.
723 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
724 (SINGLE_THREAD_P_PIC): Remove.
725
ca3cfa40
RH
726 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
727 branch to syscall error ...
728 (PSEUDO): ... here.
729 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
730 from __local_syscall_error to .Lsyscall_error.
731 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
732 (SYSCALL_ERROR): Update label name.
733
6e6c2d01
RH
734 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
735 Do not use DOARGS/UNDOARGS.
736 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
737 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
738 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
739 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
740 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
741
c69abcee
RH
742 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
743 block comment.
744
82aab97c
RH
745 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
746 define if !NOT_IN_libc.
747 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
748 define with non-default symbol versions.
749
8820e3ac
RH
7502014-05-23 Richard Henderson <rth@twiddle.net>
751
900e445f
RH
752 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
753 (vfork, __vfork): Define via compat_symbol.
754
8820e3ac
RH
755 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
756 [!HAVE_IFUNC] (vfork_compat): Remove.
757 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
758
e59252a5
JM
7592014-05-23 Joseph Myers <joseph@codesourcery.com>
760
761 [BZ #16978]
762 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
763 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
764 variable.
765
132c7f5f
RH
7662014-05-23 Richard Henderson <rth@twiddle.net>
767
bc89e962
RH
768 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
769 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
770 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
771 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
772
773 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
774 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
775 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
776 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
777 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
778 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
779 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
780 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
781 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
782 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
783 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
784 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
785 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
786 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
787 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
788 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
789 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
790 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
791 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
792 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
793 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
794 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
795 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
796 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
797 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
798 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
799 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
800 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
801 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
802 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
803 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
804 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
805 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
806 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
807 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
808 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
809 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
810 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
811 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
812 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
813 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
814 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
815 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
816 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
817 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
818 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
819 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
820 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
821 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
822 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
823 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
824 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
825 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
826 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
827 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
828 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
829
e2fa4bc2
RH
830 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
831 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
832 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
833 before exiting on error.
834 (__libc_vfork): New strong alias.
835 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
836 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
837
279b24e2
RH
838 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
839 that was previously under [RESET_PID].
840 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
841
132c7f5f
RH
842 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
843
b72592e7
JM
8442014-05-23 Joseph Myers <joseph@codesourcery.com>
845
846 [BZ #16977]
847 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
848 value when x - 1 is zero.
849 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
850 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
851 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
852 0.0L for an argument of 1.0L.
853 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
854 Likewise.
855 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
856 value when x - 1 is zero.
857 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
858 * sysdeps/i386/fpu/libm-test-ulps: Update.
859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
860
2302d679
RV
8612014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
862
863 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
864 alphasort and versionsort.
865
32999d63
AZ
8662014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
867
868 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
869 macro.
870 [copysignf]: Likewise.
871
019324d0
SP
8722014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
873
874 * crypt/md5-crypt.c: Fix formatting.
875
34fff5c2
KS
8762014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
877
878 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
879 (b64_from_24bit): New function.
880
3d2badac
AZ
8812014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
882
883 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
884 libc_hidden_builtin_def to ifunc.
885 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
886 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
887
f7bb179f 8882014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
889
890 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
891 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
892
4134b50d
JM
8932014-05-21 Joseph Myers <joseph@codesourcery.com>
894
bb7d0337
JM
895 * nscd/Depend (linuxthreads): Remove.
896 (nptl): Add.
897 * resolv/Depend (linuxthreads): Remove.
898 * rt/Depend (linuxthreads): Remove.
899
4134b50d
JM
900 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
901 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
902 $(common-objpfx)elf/.
903 (link-libc-before-gnulib): Likewise.
904 (elfobjdir): Remove variable.
905 * Makefile (install): Use $(elf-objpfx) instead of
906 $(common-objpfx)elf/.
907 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
908 $(elfobjdir)/.
909 (link-libc-deps): Likewise.
910 ($(common-objpfx)libc.so): Likewise.
911 ($(common-objpfx)linkobj/libc.so): Likewise.
912 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
913 instead of $(common-objpfx)elf/.
914 (symbolic-link-list): Likewise.
915 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
916 [$(cross-compiling) = no]: Likewise.
917 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
918 $(elfobjdir)/.
919 (static-gnulib-arch): Likewise.
920 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
921 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
922 $(common-objpfx)elf/.
923
3612eb8f
RH
9242014-05-21 Richard Henderson <rth@redhat.com>
925
a6b3657b
RH
926 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
927 (SINGLE_THREAD_P): Use the correct width load. Fold
928 into the ldr offset.
929
3612eb8f
RH
930 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
931 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
932
175cef41
JM
9332014-05-20 Joseph Myers <joseph@codesourcery.com>
934
935 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
936 (libgcc_s_resume): Use __attribute_used__.
937 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
938 Likewise.
939
e13bccd3
AZ
9402014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
941
942 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
943 optimization when used with float constants.
944
7c112a38
AZ
945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
946
ae75a883
AJ
9472014-05-20 Aurelien Jarno <aurelien@aurel32.net>
948
949 [BZ #16915]
950 * locale/nl_langinfo_l.c: Make direct reference to every
951 _nl_current_CATEGORY symbol.
952 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
953 (tests-static): Add tst-langinfo-static.
954 (tests-special): Add tst-langinfo-static.out.
955 ($(objpfx)tst-langinfo.out): Redirect output.
956 ($(objpfx)tst-langinfo-static.out): New.
957 * localedata/tst-langinfo.sh: Send output to stdout.
958 * localedata/tst-langinfo-static.c: New file.
959
4406c41c
AJ
960 [BZ #16965]
961 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
962 when the shift amount is modulo the limb size.
963
4c0a1e63
RH
9642014-05-20 Richard Henderson <rth@redhat.com>
965
de9d8f20
RH
966 [BZ #16967]
967 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
968 Change type of sa_flags from unsigned int to int.
969
4c0a1e63
RH
970 [BZ #16966]
971 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
972
973 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
974
a60339aa
WN
9752014-05-20 Will Newton <will.newton@linaro.org>
976
977 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
978 Test the return value of the system call in the nocancel case.
979
7d05a816
YR
9802014-05-20 Will Newton <will.newton@linaro.org>
981 Yvan Roux <yvan.roux@linaro.org>
982
983 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
984 #include of asm/ptrace.h.
985 (PTRACE_GET_THREAD_AREA): Remove #undef.
986 (PTRACE_GETHBPREGS): Likewise.
987 (PTRACE_SETHBPREGS): Likewise.
988 (struct user_regs_struct): New structure.
989 (struct user_fpsimd_struct): New structure.
990 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
991 #include of asm/ptrace.h and second #include of sys/user.h.
992 (PTRACE_GET_THREAD_AREA): Remove #undef.
993 (PTRACE_GETHBPREGS): Likewise.
994 (PTRACE_SETHBPREGS): Likewise.
995 (ELF_NGREG): Use new struct user_regs_struct.
996 (elf_fpregset_t): Use new struct user_fpsimd_struct.
997
af121e37
AZ
9982014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
999
1000 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1001 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1002
834caf06
JM
10032014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1004
1005 [BZ #16958]
1006 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1007 membar to avoid block loads/stores to overlap previous stores.
1008
e184a918
RH
10092014-05-17 Richard Henderson <rth@redhat.com>
1010
1011 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1012 Create the __##syscall_name##_nocancel entry point.
1013 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1014 Remove; let the sysdep-cancel.h code create it.
1015
f56c7a6a
DM
10162014-05-17 David S. Miller <davem@davemloft.net>
1017
1018 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1019 Protect with __USE_GNU.
1020 (TIOCSET_TEMPT): Likewise.
1021 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1022 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1023 these are already provided in bits/ioctl-types.h
1024
f75616b2
RM
10252014-05-16 Roland McGrath <roland@hack.frob.com>
1026
3edeca86
RM
1027 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1028 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1029
f75616b2
RM
1030 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1031 Use wait4 regardless of [__NR_waitpid].
1032
deb0f7f6
MR
10332014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1034
1035 PR libgcc/60166
1036 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1037 (_FP_NANSIGN_Q): Set the quiet bit.
1038
79520f4b
JM
10392014-05-16 Joseph Myers <joseph@codesourcery.com>
1040
1041 * benchtests/Makefile
1042 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1043 not $(common-objpfx)math/libm.so.
1044 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1045 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1046 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1047 $(common-objpfx)dlfcn/libdl.so.
1048 ($(objpfx)tst-audit8): Depend on $(libm), not
1049 $(common-objpfx)math/libm.so.
1050 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1051 not $(common-objpfx)dlfcn/libdl.so.
1052 * math/Makefile
1053 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1054 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1055 [$(build-shared) = yes].
1056 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1057 $(common-objpfx)nptl/libpthread.so.
1058 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1059 $(common-objpfx)math/libm.so$(libm.so-version) or
1060 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1061 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1062 $(common-objpfx)dlfcn/libdl.so.
1063 * setjmp/Makefile (link-libm): Remove variable.
1064 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1065 * stdio-common/Makefile (link-libm): Remove variable.
1066 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1067 * stdlib/Makefile (link-libm): Remove variable.
1068 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1069 ($(objpfx)tst-strtod-round): Likewise.
1070 ($(objpfx)tst-tininess): Likewise.
1071 ($(objpfx)tst-strtod-underflow): Likewise.
1072 ($(objpfx)tst-strtod6): Likewise.
1073 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1074 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1075 $(common-objpfx)dlfcn/libdl.so.
1076
026b0fe4
AZ
10772014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1078
1079 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1080 BSD terminal modes definitions.
1081
def4bcb2
RM
10822014-05-16 Roland McGrath <roland@hack.frob.com>
1083
fe39b021
RM
1084 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1085 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1086
1d1fc46e 1087 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
1088 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1089 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1090 Don't do #include_next.
1091 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1092 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1093 Don't do #include_next.
1094 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1095 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1096 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1097 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1098
c72399fb
AM
10992014-05-16 Allan McRae <allan@archlinux.org>
1100
d51d659d
AM
1101 * po/sv.po: Update Swedish translation from translation project.
1102
c72399fb
AM
1103 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1104 in sed expression.
1105
d0583c40
AJ
11062014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1107
1108 [BZ #16917]
1109 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1110 errno if the TIOCGPTN ioctl fails with an error different than
1111 EINVAL.
1112 * login/tst-ptsname.c: New file.
1113 * login/Makefile (tests): Add tst-ptsname.
1114
d16e6ec7
AJ
1115 [BZ #16943]
1116 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1117 and prlimit64.
1118
cf26a0cb
SP
11192014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1120
1121 [BZ #16849]
1122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1123 herrno to return EAI_AGAIN.
1124
5675da1e
RM
11252014-05-14 Roland McGrath <roland@hack.frob.com>
1126
a5d87b3d
RM
1127 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1128 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1129 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1130 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1131 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1132 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1133 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1134 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1135 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1136 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1137 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1138 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1139 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1140 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1141 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1142 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1143 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1144 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1145 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1146 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1147 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1148 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1149 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1150 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1151 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1152 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1153 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1154 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1155 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1156 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1158 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1160 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1162 Moved ...
1163 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1165 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1167 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1169 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1171 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1173 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1175 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1177 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1179 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1181 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1183 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1185 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1187 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1189 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1191 Moved ...
1192 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1194 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1196 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1198 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1200 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1202 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1204 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1206 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1208 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1210 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1212 Moved ...
1213 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1215 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1216
039890a6
RM
1217 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1218 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1219 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1220 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1221 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1222 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1223 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1224 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1225 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1226 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1227 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1228 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1229 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1230 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1231 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1232 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1233 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1234 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1235 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1236 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1237 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1238 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1239 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1240 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1241 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1242 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1243 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1244 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1245 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1246 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1247 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1248
65c89320
RM
1249 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1250 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1251
348f8e8c
RM
1252 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1253 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1254 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1255 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1256 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1257 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1258 Moved ...
1259 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1260 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1261 Moved ...
1262 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1263 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1264 Moved ...
1265 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1266 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1267 Moved ...
1268 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1269 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1270 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1271 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1272 Moved ...
1273 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1274 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1275 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1276 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1277 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1278 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1279 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1280 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1281 Moved ...
1282 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1283 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1284 Moved ...
1285 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1286 ... here.
1287 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1288 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1289 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1290 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1291 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1292 Moved ...
1293 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1294 ... here.
1295 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1296 Moved ...
1297 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1298 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1299 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1300 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1301 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1302 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1303 Moved ...
1304 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1305 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1306 Moved ...
1307 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1308 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1309 Moved ...
1310 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1311 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1312 Moved ...
1313 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1314 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1315 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1316 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1317 Moved ...
1318 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1319 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1320 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1321 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1322 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1323 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1324 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1325 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1326 Moved ...
1327 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1328 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1329 Moved ...
1330 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1331 ... here.
1332 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1333 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1334 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1335 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1336 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1337 Moved ...
1338 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1339 ... here.
1340 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1341 Moved ...
1342 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1343 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1344 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1345 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1346 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1347 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1348 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1349 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1350 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1351 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1352 Moved ...
1353 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1354 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1355 Moved ...
1356 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1357 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1358 Moved ...
1359 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1360 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1361 Moved ...
1362 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1363 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1364 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1365 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1366 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1367 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1368 Moved ...
1369 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1370 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1371 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1372 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1373 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1374 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1375 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1376 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1377 Moved ...
1378 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1379 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1380 Moved ...
1381 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1382 ... here.
1383 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1384 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1385 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1386 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1387 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1388 Moved ...
1389 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1390 ... here.
1391 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1392 Moved ...
1393 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1394 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1395 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1396 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1397 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1398 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1399 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1400 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1401 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1402 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1403 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1404
5085af05
RM
1405 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1406 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1407
708f0813
RM
1408 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1409 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1410
c96067bc
RM
1411 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1412 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1413 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1414 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1415 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1416 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1417 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1418 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1419 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1420 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1421 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1422 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1423 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1424 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1425 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1426 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1427 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1428 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1429 Moved ...
1430 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1431 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1432 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1433 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1434 Moved ...
1435 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1436 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1437 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1438 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1439 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1440 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1441 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1442 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1443 Moved ...
1444 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1445 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1446 Moved ...
1447 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1448 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1449 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1450 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1451 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1452 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1453 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1454 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1455 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1456 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1457 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1458 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1459 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1460 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1461 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1462 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1463 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1464
ec136444
RM
1465 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1466 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1467 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1468 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1469 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1470
2fbdf533
RM
1471 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1472 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1473 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1474 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1475 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1476 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1477 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1478 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1479 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1480 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1481
4c68138b
RM
1482 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1483 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1484
4eaae765
RM
1485 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1486 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
1487 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1488 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1489 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1490 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1491 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1492 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1493 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1494 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1495 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1496 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
1497 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
1498 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
1499 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
1500 Update #include.
1501 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
1502 Likewise.
1503 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1504 Likewise.
1505 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1506 Likewise.
1507 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1508 Likewise.
1509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
1510 Likewise.
1511 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
1512 Likewise.
1513 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1514 Likewise.
1515 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
1516 Likewise.
1517 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
1518 Likewise.
4ef6befa
RM
1519 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
1520 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
1521 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
1522 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
1523 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
1524 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
1525 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
1526 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
1527 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
1528 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
1529 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
1530 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
1531 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
1532 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
1533 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 1534
941d7dfd
RM
1535 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
1536 that was previously under [RESET_PID].
1537 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1538 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
1539 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
1540
1b731c35
RM
1541 * sysdeps/i386/nptl/Implies: New file.
1542 * sysdeps/x86_64/nptl/Implies: New file.
1543 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
1544 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
1545 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
1546 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
1547
e2787137
RM
1548 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
1549 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1550 (__libc_vfork): New strong alias.
1551 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
1552 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
1553
1554 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
1555 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1556 (__libc_vfork): New strong alias.
1557 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
1558 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
1559
5675da1e
RM
1560 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
1561 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1562 (__libc_vfork): New strong alias.
1563 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
1564 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
1565 * nptl/pt-vfork.c: New file.
1566 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
1567 (libpthread: GLIBC_2.20): New version set (empty).
1568
4f02e2b8
WN
15692014-05-14 Will Newton <will.newton@linaro.org>
1570
1571 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
1572 rather than #if.
1573
0bf061d3
JM
15742014-05-14 Joseph Myers <joseph@codesourcery.com>
1575
1a84c3d6
JM
1576 [BZ #16564]
1577 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
1578 arguments with exponent 65 or above.
1579 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
1580 arguments 0x1p113L or above.
1581 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
1582 to arguments 0x1p107L or above.
1583 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
1584 positive arguments with exponent 65 or above.
1585 * math/auto-libm-test-in: Add more tests of log1p.
1586 * math/auto-libm-test-out: Regenerated.
1587
01dbacd2
JM
1588 [BZ #16928]
1589 * math/s_cacos.c (__cacos): Ensure zero real part of result from
1590 non-finite arguments is +0.
1591 * math/s_cacosf.c (__cacosf): Likewise.
1592 * math/s_cacosl.c (__cacosl): Likewise.
1593 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
1594 * sysdeps/i386/fpu/libm-test-ulps: Update.
1595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1596
913d03c8
JM
1597 [BZ #16927]
1598 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
1599 value.
1600 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
1601 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
1602 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
1603 for explicit high bit of mantissa when testing for argument equal
1604 to 1.
1605 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
1606 * sysdeps/i386/fpu/libm-test-ulps: Update.
1607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1608
0bf061d3
JM
1609 [BZ #16516]
1610 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
1611 (__erf): Scale by 16 instead of 8 in potentially underflowing
1612 case. Ensure exception if result actually underflows.
1613 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
1614 (__erff): Scale by 16 instead of 8 in potentially underflowing
1615 case. Ensure exception if result actually underflows.
1616 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
1617 (efx8): Remove variable.
1618 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1619 case. Ensure exception if result actually underflows.
1620 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
1621 (efx8): Remove variable.
1622 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1623 case. Ensure exception if result actually underflows.
1624 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
1625 (efx8): Remove variable.
1626 (__erfl): Scale by 16 instead of 8 in potentially underflowing
1627 case. Ensure exception if result actually underflows.
1628 * math/auto-libm-test-in: Add more tests of erf.
1629 * math/auto-libm-test-out: Regenerated.
1630
73ba67cb
AS
16312014-05-14 Andreas Schwab <schwab@suse.de>
1632
3d8c8bff
AS
1633 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
1634 Remove code conditionalized on USE___THREAD.
1635
73ba67cb
AS
1636 * config.h.in (HAVE_PT_CHOWN): Define as 0.
1637 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
1638 not definedness.
1639
5c521ecd
JM
16402014-05-14 Joseph Myers <joseph@codesourcery.com>
1641
5e7698c6
JM
1642 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
1643 Define unconditionally.
1644 (__ASSUME_O_CLOEXEC): Likewise.
1645 (__ASSUME_SOCK_CLOEXEC): Likewise.
1646 (__ASSUME_IN_NONBLOCK): Likewise.
1647 (__ASSUME_PIPE2): Likewise.
1648 (__ASSUME_EVENTFD2): Likewise.
1649 (__ASSUME_SIGNALFD4): Likewise.
1650 (__ASSUME_DUP3): Likewise.
1651 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1652 (__ASSUME_DUP3): Do not define.
1653 (__ASSUME_EVENTFD2): Likewise.
1654 (__ASSUME_IN_NONBLOCK): Likewise.
1655 (__ASSUME_O_CLOEXEC): Likewise.
1656 (__ASSUME_PIPE2): Likewise.
1657 (__ASSUME_SIGNALFD4): Likewise.
1658 (__ASSUME_SOCK_CLOEXEC): Likewise.
1659 (__ASSUME_UTIMES): Undefine.
1660 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1661 (__ASSUME_UTIMES): Do not define.
1662 (__ASSUME_O_CLOEXEC): Likewise.
1663 (__ASSUME_SOCK_CLOEXEC): Likewise.
1664 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
1665 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
1666 0x020621].
1667 (__ASSUME_PIPE2): Likewise.
1668 (__ASSUME_EVENTFD2): Likewise.
1669 (__ASSUME_SIGNALFD4): Likewise.
1670 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
1671 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
1672 Do not define.
1673 (__ASSUME_EVENTFD2): Likewise.
1674 (__ASSUME_SIGNALFD4): Likewise.
1675 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1676 (__ASSUME_32BITUIDS): Likewise.
1677 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1678 (__ASSUME_IPC64): Likewise.
1679 (__ASSUME_ST_INO_64_BIT): Likewise.
1680 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
1681 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
1682 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1683 (__ASSUME_UTIMES): Do not define.
1684 (__ASSUME_PSELECT): Likewise.
1685 (__ASSUME_PPOLL): Likewise.
1686 (__ASSUME_O_CLOEXEC): Likewise.
1687 (__ASSUME_SOCK_CLOEXEC): Likewise.
1688 (__ASSUME_IN_NONBLOCK): Likewise.
1689 (__ASSUME_PIPE2): Likewise.
1690 (__ASSUME_EVENTFD2): Likewise.
1691 (__ASSUME_SIGNALFD4): Likewise.
1692 (__ASSUME_DUP3): Likewise.
1693 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1694 (__ASSUME_UTIMES): Likewise.
1695 (__ASSUME_O_CLOEXEC): Likewise.
1696 (__ASSUME_SOCK_CLOEXEC): Likewise.
1697 (__ASSUME_IN_NONBLOCK): Likewise.
1698 (__ASSUME_PIPE2): Likewise.
1699 (__ASSUME_EVENTFD2): Likewise.
1700 (__ASSUME_SIGNALFD4): Likewise.
1701 (__ASSUME_DUP3): Likewise.
1702 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1703 (__ASSUME_UTIMES): Likewise.
1704 (__ASSUME_O_CLOEXEC): Likewise.
1705 (__ASSUME_SOCK_CLOEXEC): Likewise.
1706 (__ASSUME_IN_NONBLOCK): Likewise.
1707 (__ASSUME_PIPE2): Likewise.
1708 (__ASSUME_EVENTFD2): Likewise.
1709 (__ASSUME_SIGNALFD4): Likewise.
1710 (__ASSUME_DUP3): Likewise.
1711 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1712 Likewise.
1713 (__ASSUME_UTIMES): Likewise.
1714 (__ASSUME_EVENTFD2): Likewise.
1715 (__ASSUME_SIGNALFD4): Likewise.
1716 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1717 (__ASSUME_O_CLOEXEC): Likewise.
1718 (__ASSUME_SOCK_CLOEXEC): Likewise.
1719 (__ASSUME_IN_NONBLOCK): Likewise.
1720 (__ASSUME_PIPE2): Likewise.
1721 (__ASSUME_EVENTFD2): Likewise.
1722 (__ASSUME_SIGNALFD4): Likewise.
1723 (__ASSUME_DUP3): Likewise.
1724 (__ASSUME_UTIMES): Undefine.
1725
5c521ecd
JM
1726 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1727 feclearexcept. Remove symbol versioning code.
1728 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
1729 symbol versioning code.
1730 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
1731 symbol versioning code.
1732 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1733 feupdateenv. Remove symbol versioning code.
1734 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1735 fegetexceptflag. Remove symbol versioning code.
1736 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1737 fesetexceptflag. Remove symbol versioning code.
1738 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1739 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
1740 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1741 (__posix_fadvise64_l32): Remove prototype.
1742 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1743 code.
1744
5da9dfad
RM
17452014-05-13 Roland McGrath <roland@hack.frob.com>
1746
1747 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1748 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1749 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1750 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1751
893b4f37
SK
17522014-05-13 Sami Kerola <kerolasa@iki.fi>
1753
1754 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1755 current working directory
1756
e0db6517
RM
17572014-05-13 Roland McGrath <roland@hack.frob.com>
1758
58aa195d
RM
1759 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1760 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1761 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1762 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1763 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1764 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1765 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1766 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1767 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1768 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1769 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1770 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1771 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1772 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1773 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1774 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1775 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1776 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1777 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1778 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1779 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1780 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1781 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1782 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1783 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1784 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1785 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1786 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1787 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1788 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1789 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1790 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1791 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1792 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1793 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1794 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1795 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1796 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1797 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1798 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1799 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1800 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1801
8c6d01f0
RM
1802 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1803 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1804
1805 * sysdeps/unix/sysv/linux/arm/Makefile
1806 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1807 Add rt-aeabi_unwind_cpp_pr1.
1808 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1809 Add nptl-aeabi_unwind_cpp_pr1.
1810 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1811 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1812 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1813 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1814 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1815 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1816
1817 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1818 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1819 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1820 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1821
bba6da4e
RM
1822 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1823 Deconditionalize the code that was previously under [RESET_PID].
1824 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1825
e0db6517
RM
1826 * sysdeps/generic/exit-thread.h: New file.
1827 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1828 * include/unistd.h (__exit_thread): Remove declaration.
1829 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1830 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1831 * csu/libc-start.c: Include <exit-thread.h>.
1832 (LIBC_START_MAIN): Pass no argument to __exit_thread.
1833 * nptl/pthread_create.c: Include <exit-thread.h>.
1834 (start_thread): Call __exit_thread in place of __exit_thread_inline.
1835 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1836 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1837 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1838 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1839 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1840 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1841 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1842 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1843 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1844 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1845 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1846 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1847 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1848 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1849 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1850 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1851
01eb16fd
AS
18522014-05-13 Andreas Schwab <schwab@suse.de>
1853
1854 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1855
637461d9
JM
18562014-05-12 Joseph Myers <joseph@codesourcery.com>
1857
1858 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1859 (__ASSUME_UTIMES): Do not condition on kernel version.
1860 (__ASSUME_PSELECT): Define unconditionally.
1861 (__ASSUME_PPOLL): Likewise.
1862 (__ASSUME_ATFCTS): Likewise.
1863 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1864 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1865 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1866 (__ASSUME_UTIMENSAT): Define unconditionally.
1867 (__ASSUME_PRIVATE_FUTEX): Likewise.
1868 (__ASSUME_FALLOCATE): Likewise.
1869 (__ASSUME_O_CLOEXEC): Likewise.
1870 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1871 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1872 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1873 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1874 (__ASSUME_IN_NONBLOCK): Likewise.
1875 (__ASSUME_PIPE2): Likewise.
1876 (__ASSUME_EVENTFD2): Likewise.
1877 (__ASSUME_SIGNALFD4): Likewise.
1878 (__ASSUME_DUP3): Likewise.
1879 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1880 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1881 (__ASSUME_AT_RANDOM): Likewise.
1882 (__ASSUME_PREADV): Likewise.
1883 (__ASSUME_PWRITEV): Likewise.
1884 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1885 (__ASSUME_F_GETOWN_EX): Define unconditionally.
1886 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1887 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1888 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1889 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1890 (__ASSUME_O_CLOEXEC): Define unconditionally.
1891 (__ASSUME_PSELECT): Do not undefine conditionally.
1892 (__ASSUME_PPOLL): Likewise.
1893 (__ASSUME_ATFCTS): Likewise.
1894 (__ASSUME_SET_ROBUST_LIST): Likewise.
1895 (__ASSUME_UTIMENSAT): Likewise.
1896 (__ASSUME_FDATASYNC): Define unconditionally.
1897 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1898 (__ASSUME_SIGFRAME_V2): Likewise.
1899 )__ASSUME_EVENTFD2): Likewise.
1900 (__ASSUME_SIGNALFD4): Likewise.
1901 (__ASSUME_PSELECT): Do not undefine conditionally.
1902 (__ASSUME_PPOLL): Likewise.
1903 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1904 (__ASSUME_PSELECT): Define unconditionally.
1905 (__ASSUME_PPOLL): Likewise.
1906 (__ASSUME_O_CLOEXEC): Likewise.
1907 (__ASSUME_SOCK_CLOEXEC): Likewise.
1908 (__ASSUME_IN_NONBLOCK): Likewise.
1909 (__ASSUME_PIPE2): Likewise.
1910 (__ASSUME_EVENTFD2): Likewise.
1911 (__ASSUME_SIGNALFD4): Likewise.
1912 (__ASSUME_DUP3): Likewise.
1913 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1914 (__ASSUME_O_CLOEXEC): Likewise.
1915 (__ASSUME_SOCK_CLOEXEC): Likewise.
1916 (__ASSUME_IN_NONBLOCK): Likewise.
1917 (__ASSUME_PIPE2): Likewise.
1918 (__ASSUME_EVENTFD2): Likewise.
1919 (__ASSUME_SIGNALFD4): Likewise.
1920 (__ASSUME_DUP3): Likewise.
1921 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1922 (__ASSUME_EVENTFD2): Likewise.
1923 (__ASSUME_SIGNALFD4): Likewise.
1924 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1925
315eb1d8
AS
19262014-05-12 Andreas Schwab <schwab@suse.de>
1927
1928 [BZ #16932]
1929 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1930 (_nss_nis_gethostbyname4_r): Return error if item length is larger
1931 than maximum RPC packet size.
1932 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1933 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1934 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1935 (_nss_nis_getservbyport_r): Likewise.
1936
91df99f7
WN
19372014-05-12 Will Newton <will.newton@linaro.org>
1938
1939 * malloc/Makefile (tests): Add tst-mallopt.
1940 * malloc/tst-mallopt.c: New file.
1941
0a982a29
RM
19422014-05-09 Roland McGrath <roland@hack.frob.com>
1943
1944 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1945 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1946
0ded08a5
AZ
19472014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1948
1949 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1950 (tst-tlsmod6.so): Likewise.
1951
55d4d550
RM
19522014-05-09 Roland McGrath <roland@hack.frob.com>
1953
1954 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1955
77d08aca
JM
19562014-05-09 Joseph Myers <joseph@codesourcery.com>
1957
1958 [BZ #16064]
1959 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1960 and <dl-procinfo.h>.
1961 (__fegetenv): Save SSE state in envp->__eip if supported.
1962 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1963 envp->__eip if supported.
1964 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1965 and <dl-procinfo.h>.
1966 (__fesetenv): Always set __eip, __cs_selector, __opcode,
1967 __data_offset and __data_selector in environment to 0. Set SSE
1968 state if supported.
1969 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1970 test-fenv-sse.
1971 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1972 -mfpmath=sse.
1973 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1974
28162f4d
WN
19752014-05-09 Will Newton <will.newton@linaro.org>
1976
1977 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1978 and libc_relro_required for ARM.
1979 * sysdeps/arm/preconfigure: Regenerate.
1980
5a414ff7
DV
19812014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
1982 Stefan Liebler <stli@linux.vnet.ibm.com>
1983
1984 * config.make.in (enable-lock-elision): New Makefile variable.
1985 * configure.ac: Likewise.
1986 * configure: Regenerate.
1987 * sysdeps/s390/configure.ac:
1988 Add check for gcc transactions support.
1989 * sysdeps/s390/configure: Regenerate.
1990 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1991 Build elision files if enabled.
1992 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1993 Add lock elision support for s390.
1994 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1995 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1996 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1997 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1998 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1999 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2000 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2001 Likewise.
2002 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2003 Likewise.
2004 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2005 Likewise.
2006 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2007 Likewise.
2008 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2009 (__lll_timedlock_elision, __lll_lock_elision)
2010 (__lll_unlock_elision, __lll_trylock_elision)
2011 (lll_timedlock_elision, lll_lock_elision)
2012 (lll_unlock_elision, lll_trylock_elision): Add.
2013 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2014 (pthread_mutex_t): Add lock elision support for s390.
2015
1a2f40e5
W
20162014-05-14 Wilco <wdijkstr@arm.com>
2017
2018 * sysdeps/arm/fclrexcpt.c: Cleanup.
2019 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2020 * sysdeps/arm/feenablxcpt.c: Cleanup.
2021 * sysdeps/arm/fegetenv.c: Cleanup.
2022 * sysdeps/arm/fegetexcept.c: Cleanup.
2023 * sysdeps/arm/fegetround.c: Cleanup.
2024 * sysdeps/arm/feholdexcpt.c: Cleanup.
2025 * sysdeps/arm/fesetenv.c: Cleanup.
2026 * sysdeps/arm/fesetround.c: Cleanup.
2027 * sysdeps/arm/feupdateenv.c: Cleanup.
2028 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2029 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2030 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2031 * sysdeps/arm/ftestexcept.c: Cleanup.
2032 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2033 * sysdeps/arm/setfpucw.c: Cleanup.
2034
f63c86fe
WN
20352014-05-09 Will Newton <will.newton@linaro.org>
2036
2037 * sysdeps/arm/armv7/strcmp.S: New file.
2038 * NEWS: Mention addition of ARMv7 optimized strcmp.
2039
7a1a51b5
RM
20402014-05-08 Roland McGrath <roland@hack.frob.com>
2041
95afbbe5
RM
2042 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2043 look for %.ac rather than %.in.
2044
2045 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2046 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2047 * sysdeps/mach/hurd/configure: Regenerated.
2048 * sysdeps/unix/sysv/linux/configure: Regenerated.
2049
7a1a51b5
RM
2050 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2051
5057ad3b
SE
20522014-05-07 Steve Ellcey <sellcey@mips.com>
2053
2054 [BZ# 16922]
2055 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2056 (LONG_SUB): Ditto.
2057 (PTR_SUB): Ditto.
2058
8dc97517
AS
20592014-05-07 Andreas Schwab <schwab@suse.de>
2060
2061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2062 when skipping over non-matching result from nscd.
2063
ce0c5b8f
OB
20642014-05-07 Ondřej Bílka <neleai@seznam.cz>
2065
2066 [BZ #16876]
2067 * nptl/sockperf.c (client): Check socket return value.
8dc97517 2068
a1189263
OB
2069 [BZ #16877]
2070 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2071 nscd security class.
ce0c5b8f 2072
0f58d252
RM
20732014-05-06 Roland McGrath <roland@hack.frob.com>
2074
2075 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2076 * sysdeps/arm/unwind.h: ... here.
2077
83df9ad0
AJ
20782014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2079
ce0c5b8f
OB
2080 [BZ# 16916]
2081 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2082 Define.
83df9ad0 2083
f360f94a
VR
20842014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2085
2086 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2087 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2088 multiarch strncpy for PPC64.
2089 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2090 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2091 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2092 multiarch optimizations.
2093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2094 (__libc_ifunc_impl_list): Likewise.
2095 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2096 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2097 multiarch stpncpy for PPC64.
2098 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2099 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2100
978a41c3
AS
21012014-05-06 Andreas Schwab <schwab@suse.de>
2102
2103 [BZ #16912]
2104 * gmon/mcount.c (_MCOUNT_DECL): Use
2105 atomic_compare_and_exchange_bool_acq instead of
2106 catomic_compare_and_exchange_bool_acq.
2107
eb1ed03d
RM
21082014-05-05 Roland McGrath <roland@hack.frob.com>
2109
fe658845
RM
2110 * elf/Makefile (others, install-bin): Remove pldd.
2111 (pldd-modules): Variable removed.
2112 ($(objpfx)pldd): Target removed.
2113 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2114 (others, install-bin): Append pldd here.
2115 ($(objpfx)pldd): New target.
2116
eb1ed03d
RM
2117 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2118 to 0, so the first #if test emitted later doesn't see it undefined.
2119 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2120 * sysdeps/gnu/errlist.c: Regenerated.
2121
19c4bec0
AZ
21222014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2123
2124 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2125 [libc_hidden_builtin_def]: Define to empty value.
2126 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2127 [libc_hidden_builtin_def]: Likewise.
2128 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2129 [libc_hidden_builtin_def]: Likewise.
2130 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2131 [libc_hidden_builtin_def]: Likewise.
2132 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2133 __redirect_memcpy and define ifunc as default hidden symbol.
2134 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2135 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2136
7776e669
AC
21372014-05-04 Adam Conrad <adconrad@0c3.net>
2138
2139 * locale/iso-4217.def: Reintroduce XDR currency.
2140
d69aeb12
AM
21412014-05-04 Allan McRae <allan@archlinux.org>
2142
2143 * po/eo.po: Update Esperanto translation from translation project.
2144
8f1df5cf
CD
21452014-05-02 Carlos O'Donell <carlos@redhat.com>
2146
2147 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2148 and FEATURE_INDEX_MAX to 1.
2149 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2150
13e402e7
SE
21512014-05-01 Steve Ellcey <sellcey@mips.com>
2152
2153 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2154 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2155 * iconvdata/big5.c (ONE_DIRECTION): Define.
2156 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2157 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2158 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2159 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2160 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2161 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2162 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2163 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2164 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2165 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2166 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2167 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2168 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2169 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2170 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2171 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2172 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2173 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2174 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2175 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2176 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2177 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2178 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2179 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2180 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2181 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2182 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2183 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2184 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2185 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2186 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2187 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2188 * iconvdata/johab.c (ONE_DIRECTION): Define.
2189 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2190 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2191 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2192 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2193 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2194 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2195 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2196 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2197 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2198 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2199
c727f032
RM
22002014-05-01 Roland McGrath <roland@hack.frob.com>
2201
8f2f08d0
RM
2202 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2203 (_IO_JUMPS_OFFSET): Define to 0.
2204
c727f032
RM
2205 * nptl/sysdeps/pthread/bits/libc-lock.h
2206 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2207 (__libc_lock_define_initialized_recursive): Always define using
2208 initializer. Modern compilers treat uninitialized (implicit zero) and
2209 explicit zero initializers the same (i.e. put the datum in bss).
2210
a849e800
AS
22112014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2212
2213 * nscd/nscd-client.h: Include <string.h>.
2214
5331255b
DM
22152014-05-01 David S. Miller <davem@davemloft.net>
2216
2217 [BZ #16885]
2218 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2219 multiple zero bytes exist at the end of a string.
2220 Reported by Aurelien Jarno <aurelien@aurel32.net>
2221
2222 * string/test-strcmp.c (check): Add explicit test for situations where
2223 there are multiple zero bytes after the first.
2224
4fdfe821
AS
22252014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2226
2227 [BZ #16890]
2228 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2229 when compiling wprintf.
2230 * stdio-common/tstdiomisc.c (t3): New function.
2231 (main): Call it.
2232
0cdddc25
SE
22332014-05-01 Steve Ellcey <sellcey@mips.com>
2234
2235 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2236 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2237 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2238 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2239
6426d77e
SE
22402014-05-01 Steve Ellcey <sellcey@mips.com>
2241
2242 * stdlib/longlong.h: Updated from GCC.
2243
6d96f5e4
WN
22442014-05-01 Will Newton <will.newton@linaro.org>
2245 Bernard Ogden <bernie.ogden@linaro.org>
2246
7470db0c
WN
2247 * NEWS: Update fixed bug list.
2248
6d96f5e4
WN
2249 [BZ #15119]
2250 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2251
211d653c
DM
22522014-04-30 David S. Miller <davem@davemloft.net>
2253
4fa262fa
DM
2254 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2255 (libc_feholdexcept_setround_sparc_ctx): New function.
2256 (libc_fesetenv_sparc_ctx): Likewise.
2257 (libc_feupdateenv_sparc_ctx): Likewise.
2258 (libc_feholdsetround_sparc_ctx): Likewise.
2259 (libc_feholdexcept_setround_ctx): Define.
2260 (libc_feholdexcept_setroundf_ctx): Likewise.
2261 (libc_feholdexcept_setroundl_ctx): Likewise.
2262 (libc_fesetenv_ctx): Likewise.
2263 (libc_fesetenvf_ctx): Likewise.
2264 (libc_fesetenvl_ctx): Likewise.
2265 (libc_feupdateenv_ctx): Likewise.
2266 (libc_feupdateenvf_ctx): Likewise.
2267 (libc_feupdateenvl_ctx): Likewise.
2268 (libc_feresetround_ctx): Likewise.
2269 (libc_feresetroundf_ctx): Likewise.
2270 (libc_feresetroundl_ctx): Likewise.
2271 (libc_feholdsetround_ctx): Likewise.
2272 (libc_feholdsetroundf_ctx): Likewise.
2273 (libc_feholdsetroundl_ctx): Likewise.
2274
1d3d93ef
DM
2275 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2276 with __USE_GNU instead of XOPEN cpp guards.
2277
8aa583c3
DM
2278 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2279 0.
2280
211d653c
DM
2281 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2282 with XOPEN cpp guards.
2283
60c8f1f6
JB
22842014-04-30 Julian Brown <julian@codesourcery.com>
2285
2286 [BZ #16888]
2287 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2288 handling.
2289
9a461d46
JM
22902014-04-30 Joseph Myers <joseph@codesourcery.com>
2291
d0f5b3f8
JM
2292 [BZ #9894]
2293 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2294 Change to 2.6.32.
2295 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2296 * sysdeps/unix/sysv/linux/configure: Regenerated.
2297 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2298 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2299 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2300 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2301 * README: Update reference to required Linux kernel version.
2302 * manual/install.texi (Linux): Update reference to required Linux
2303 kernel headers version.
2304 * INSTALL: Regenerated.
2305
9a461d46
JM
2306 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2307 header inclusion.
2308 [POSIX] (limits.h): Likewise.
2309 [POSIX] (math.h): Likewise.
2310 [POSIX] (sys/wait.h): Likewise.
2311 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2312 function.
2313 [POSIX] (stddef.h): Do not allow header inclusion.
2314
1775babf
AZ
23152014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2316
57f41c40 2317 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 2318
8f630cca
YY
23192014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2320
2321 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2322 Return immediately after lll_futex_wake.
2323
1cdeb237
SP
23242014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2325
bc8f194c
SP
2326 [BZ #16791]
2327 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2328 structure.
2329 (datahead_init_pos): Call datahead_init_common early.
2330 (datahead_init_neg): Likewise.
2331
1cdeb237
SP
2332 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2333 datahead_init_neg): New functions.
2334 * nscd/aicache.c (addhstaiX): Use them.
2335 * nscd/grpcache.c (cache_addgr): Likewise.
2336 * nscd/hstcache.c (cache_addhst): Likewise.
2337 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2338 * nscd/netgroupcache.c (do_notfound): Likewise.
2339 (addgetnetgrentX): Likewise.
2340 (addinnetgrX): Likewise.
2341 * nscd/pwdcache.c (cache_addpw): Likewise.
2342 * nscd/servicescache.c (cache_addserv): Likewise.
2343
16b293a7
SP
23442014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2345 Atsushi Onoe <atsushi@onoe.org>
2346
2347 [BZ #14308]
2348 [BZ #12994]
2349 [BZ #13651]
2350 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2351 one response is valid.
2352 * resolv/res_send.c (send_dg): Check for validity of other
2353 response if the current response is a referral.
2354
a28a9b94
SE
23552014-04-29 Steve Ellcey <sellcey@mips.com>
2356
2357 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2358
2ca180e9
SL
23592014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2360
2361 [BZ #16823]
2362 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2363 Always divide by positive zero when computing -Inf result.
2364 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2365 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2366
18f2945a
AZ
23672014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2368
2369 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2370 FPSCR if value do not change.
2371 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2372 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2373 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2374 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2375 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2376 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2377 function.
2378
5abebba4
CD
23792014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2380
2381 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2382 * sysdeps/unix/sysv/linux/hppa: Move directory from
2383 ports/systeps/unix/sysv/linux/hppa.
2384 * README: Update listing for hppa-*-linux-gnu.
2385
f7ed60c2
OB
23862014-04-28 Ondřej Bílka <neleai@seznam.cz>
2387
fff763a5
OB
2388 [BZ #16754]
2389 * manual/stdio.texi (Hook functions): Fix types of stream hook
2390 functions.
f7ed60c2
OB
2391 [BZ #16854]
2392 * socket/sys/socket.h: Fix typo in comment.
2393
df639d73
WD
23942014-04-28 Wilco <wdijkstr@arm.com>
2395
f7ed60c2 2396 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
2397 * sysdeps/arm/math_private.h: New file.
2398 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2399
48332d82
L
24002014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2401
2402 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2403 with __int128_t.
2404 (La_x86_64_retval): Likewise.
2405
e5e0d9a4
IB
24062014-04-24 Ian Bolton <ian.bolton@arm.com>
2407
2408 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2409 fpsr if value didn't change.
2410 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2411 to fpcr if value didn't change.
2412 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2413 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2414 fpsr or fpcr if value didn't change.
2415 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2416 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2417 fpcr if value didn't change.
2418 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2419 to fpsr if value didn't change.
2420
bacc75f7
SP
24212014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2422
2423 * nptl/tst-sem3.c: Use test-skeleton.c
2424 (main): Rename to do_test. Use return instead of
2425 exit.
2426 * nptl/tst-sem4.c: Use test-skeleton.c
2427 (main): Rename to do_test.
2428
a059d359
DM
24292014-04-22 David S. Miller <davem@davemloft.net>
2430
2431 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2432 (struct sigaction): New struct member __glibc_reserved0, change
2433 type of sa_flags to int.
2434
ea6c92f3
YZ
24352014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2436
2437 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2438 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2439
766c4a36
SP
24402014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2441
2442 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2443 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2444
140cc7ab
VK
24452014-04-22 Will Newton <will.newton@linaro.org>
2446 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2447
2448 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2449 (__longjmp): Add longjmp and longjmp_target SystemTap
2450 probes.
2451 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2452 (__sigsetjmp): Add setjmp SystemTap probe.
2453
c54e5cf7
CD
24542014-04-17 Carlos O'Donell <carlos@redhat.com>
2455
2456 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2457 match manual order.
2458
75ffb047
AZ
24592014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2460
2461 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2462
2cd925f7
AZ
2463 * sysdeps/powerpc/fpu/fenv_private.h
2464 (libc_feholdexcept_setroundl_ctx): Define to
2465 libc_feholdexcept_setround_ppc_ctx.
2466 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2467 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2468 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2469 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2470
39e6cd8d
IB
24712014-04-17 Ian Bolton <ian.bolton@arm.com>
2472
2473 * sysdeps/aarch64/math-tests.h: New file.
2474
f9281df9
SY
24752014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2476
2477 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2478 New.
2479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2480 Check and set bit_AVX2_Usable.
2481 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2482 macro.
2483 (bit_AVX2): Likewise.
2484 (index_AVX2_Usable): Likewise.
2485 (CPUID_AVX2): Likewise.
2486 (HAS_AVX2): Likewise.
2487
37d35007
WN
24882014-04-17 Will Newton <will.newton@linaro.org>
2489
7c677662
WN
2490 * manual/setjmp.texi (System V contexts): Add note that
2491 calling setcontext on a context created by a call to a
2492 signal handler is undefined. Update text to note that
2493 setcontext from a signal handler is possible but not
2494 recommended.
2495
37d35007 2496 [BZ #16629]
e04a4e9d
WN
2497 * stdlib/tst-setcontext.c: Include signal.h.
2498 (main): Check that the signal stack before and
2499 after swapcontext is the same.
2500
37d35007
WN
2501 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
2502 Re-implement to restore registers in user code and avoid
2503 rt_sigreturn system call.
2504
423a7160
W
25052014-04-17 Wilco <wdijkstr@arm.com>
2506
2507 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
2508 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
2509 * math/test-fenv.c: Skip exception trap tests on targets which only
2510 support non-stop mode.
2511
bc93ab29
IB
25122014-04-17 Ian Bolton <ian.bolton@arm.com>
2513 Wilco Dijkstra <wilco.dijkstra@arm.com>
2514
2515 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
2516 (libc_feholdsetround_aarch64_ctx)
2517 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
2518 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
2519 (libc_feresetround_ctx, libc_feresetroundf_ctx)
2520 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
2521 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
2522 (libc_feresetround_noexl_ctx): Define.
2523
95fc5fa3
RH
25242014-04-16 Richard Henderson <rth@redhat.com>
2525
ddb04724
RH
2526 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
2527
d77c0899
RH
2528 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
2529 unwind tables.
2530
a3df56fc
RH
2531 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
2532 const from the non-libc, non-ldso copy.
2533
95fc5fa3
RH
2534 * sysdeps/alpha/libm-test-ulps: Regenerate.
2535
7e0b6763
IB
25362014-04-16 Ian Bolton <ian.bolton@arm.com>
2537 Wilco Dijkstra <wilco.dijkstra@arm.com>
2538
2539 * sysdeps/aarch64/fpu/math_private.h: New file.
2540
a9ea2e0c
MS
25412014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
2542
2543 * sysdeps/aarch64/libm-test-ulps: Regenerate.
2544
ea8ba7cd
IZ
25452014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
2546
2547 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
2548 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
2549 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
2550 Intel MPX bound registers before _dl_profile_fixup.
2551 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
2552 registers after _dl_profile_fixup. Save and restore bound
2553 registers bnd0/bnd1 when calling _dl_call_pltexit.
2554 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
2555 (LR_BND_OFFSET): Likewise.
2556 (LRV_BND0_OFFSET): Likewise.
2557 (LRV_BND1_OFFSET): Likewise.
2558
9f2a4fbc
ST
25592014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2560
2561 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
2562 to...
2563 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
2564 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
2565 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
2566 fields.
9f2a4fbc 2567
fd15a59b
ST
25682014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2569
2570 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
2571
f19dfa0a
SL
25722014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2573
2574 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2575
4fa8bc3b
SL
25762014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2577
2578 [BZ #14770]
2579 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
2580 * sysdeps/s390/configure: Regenerate.
2581
8ea587db
SL
2582 [BZ #16824]
2583 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
2584 Set round-to-nearest internally to reduce error accumulation.
2585
aa5f0ff1
AM
25862014-04-16 Alan Modra <amodra@gmail.com>
2587
2588 [BZ #16740]
2589 [BZ #16619]
2590 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
2591 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 2592 * NEWS: Update fixed bug list.
aa5f0ff1 2593
bb9c256f
SP
25942014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2595
2596 * benchtests/Makefile: Depend on libraries in build directory.
2597 (bench-math): Separate out math tests.
2598 (bench-pthread): Separate out pthread tests.
2599 (bench): Include math and pthread tests.
2600
f737dfd0
CD
26012014-04-14 Carlos O'Donell <carlos@redhat.com>
2602
2603 [BZ #16831]
2604 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
2605 _dl_debug_initialize.
2606
0699f766
CD
2607 * configure.ac: Remove SELinux header check.
2608 * configure: Regenerate.
2609 * nscd/selinux.c (perms): Array of const char* to permission names.
2610 (nscd_request_avc_has_perm): Call security_deny_unknown to find
2611 default policy. Call string_to_security_class and string_to_av_perm to
2612 translate strings. Enforce default policy and call avs_has_perm with
2613 results of translated strings.
2614
809bd45f
DM
26152014-04-13 David S. Miller <davem@davemloft.net>
2616
2617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2618
89e691f2
AM
26192014-04-12 Allan McRae <allan@archlinux.org>
2620
2621 [BZ #16838]
2622 * manual/string.texi (Collation Functions): Fix qsort argument
2623 order in example.
2624 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2625
9c9daaeb
CM
26262014-04-11 Chris Metcalf <cmetcalf@tilera.com>
2627
2628 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
2629 Make the test a no-op if there are no exceptions defined.
2630
95561fb9
PP
26312014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2632
fe8d072c 2633 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
2634 enable-hardcoded-path-in-tests
2635
970c602a
WN
26362014-04-11 Will Newton <will.newton@linaro.org>
2637
2638 * benchtests/Makefile (extra-objs): Add json-lib.o.
2639 (bench-func): Tidy up JSON output.
2640 * benchtests/bench-skeleton.c: Include json-lib.h.
2641 (main): Use JSON library functions to do output of
2642 benchmark results.
2643 * benchtests/bench-timing-type.c (main): Output the
2644 timing type simply, leaving formatting to the user.
2645 * benchtests/json-lib.c: New file.
2646 * benchtests/json-lib.h: Likewise.
2647
36875b06
TR
26482014-04-11 Torvald Riegel <triegel@redhat.com>
2649
2650 [BZ #15215]
2651 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
2652 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
2653 memory barriers. Add comments.
2654 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
2655 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
2656 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
2657 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
2658 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
2659 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
2660
579db35a
SL
26612014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2662
2663 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
2664 * sysdeps/s390/s390-64/configure.ac: ... this ...
2665 * sysdeps/s390/configure.ac: ... to here.
2666 * sysdeps/s390/s390-32/configure: Delete file.
2667 * sysdeps/s390/s390-64/configure: Delete file.
2668 * sysdeps/s390/configure: Regenerate.
2669
c12e9f37
JAPH
26702014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
2671
2672 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
2673
439bda32
WN
26742014-04-11 Will Newton <will.newton@linaro.org>
2675
2676 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
2677 to zero if it is not defined elsewhere. (mtrim): Test
2678 the value of MALLOC_DEBUG with #if rather than #ifdef.
2679
6a5d6ea1
TR
26802014-04-10 Torvald Riegel <triegel@redhat.com>
2681
2682 * benchtests/pthread_once-inputs: New file.
2683 * benchtests/pthread_once-source.c: New file.
2684 * benchtests/README: Update documentation.
2685
a4c75cfd
IZ
26862014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
2687 H.J. Lu <hongjiu.lu@intel.com>
2688
2689 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
2690 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
2691 * sysdeps/x86_64/configure: Regenerated.
2692 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
2693 macro.
2694 (REGISTER_SAVE_RAX): Likewise.
2695 (REGISTER_SAVE_RCX): Likewise.
2696 (REGISTER_SAVE_RDX): Likewise.
2697 (REGISTER_SAVE_RSI): Likewise.
2698 (REGISTER_SAVE_RDI): Likewise.
2699 (REGISTER_SAVE_R8): Likewise.
2700 (REGISTER_SAVE_R9): Likewise.
2701 (REGISTER_SAVE_BND0): Likewise.
2702 (REGISTER_SAVE_BND1): Likewise.
2703 (REGISTER_SAVE_BND2): Likewise.
2704 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
2705 bound registers when calling _dl_fixup.
2706
27822ce6
AZ
27072014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2708
2709 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
2710 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2711 of its definition.
27822ce6
AZ
2712 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2713 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2714 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2715 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2716 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2717 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2718 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2719
a88ddc90
PTB
27202014-04-09 Peter Brett <peter@peter-b.co.uk>
2721
2722 [BZ #15514]
2723 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2724 pathconf(_PC_NAME_MAX).
2725
01f8eac2
AZ
27262014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2727
2728 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2729 Remove macro usage.
2730 (__PTHREAD_SPINS): Move definition to ...
2731 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2732 (__PTHREAD_SPINS): ... here.
2733 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2734 (__PTHREAD_SPIN): Likewise.
2735 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2736 (__PTHREAD_SPIN): Likewise.
2737 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2738 (__PTHREAD_SPIN): Likewise.
2739 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2740 (__PTHREAD_SPIN): Likewise.
2741 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2742 (__PTHREAD_SPIN): Likewise.
2743 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2744 (__PTHREAD_SPIN): Likewise.
2745 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2746 (__PTHREAD_SPIN): Likewise.
2747 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2748 (__PTHREAD_SPIN): Likewise.
2749 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2750 (__PTHREAD_SPIN): Likewise.
2751 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2752 (__PTHREAD_SPIN): Likewise.
2753 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2754 (__PTHREAD_SPIN): Likewise.
2755 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2756 (__PTHREAD_SPIN): Likewise.
2757
de21c33c
AZ
2758 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2759 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2760 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2761 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2762 imply folder.
2763 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2764 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2765 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2766 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2767 correct imply path.
2768 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2769 strlen symbol for non multi-arch builds.
2770 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2771 missing hidden_def and weak_alias.
2772
862c472e
CD
27732014-04-08 Carlos O'Donell <carlos@redhat.com>
2774
2775 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2776
8667f90e
WN
27772014-04-07 Will Newton <will.newton@linaro.org>
2778
2779 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2780 and contents. [!_LIBC] Remove #ifndef and contents.
2781 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
2782 * string/memccpy.c (__memccpy): Use ANSI prototype.
2783 * string/memfrob.c (memfrob): Likewise.
2784 * string/strcoll.c (STRCOLL): Likewise.
2785 * string/strlen.c (strlen): Likewise.
2786 * string/strtok.c (STRTOK): Likewise.
2787 * string/strcat.c: Remove unused #include of memcopy.h.
2788 (strcat): Use ANSI prototype.
2789 * string/strchr.c: Remove unused #include of memcopy.h.
2790 (strchr): Use ANSI prototype.
2791 * string/strcmp.c: Remove unused #include of memcopy.h.
2792 (strcmp): Use ANSI prototype.
2793 * string/strcpy.c: Remove unused #include of memcopy.h.
2794 (strcpy): Use ANSI prototype.
2795
7ffa9423
AZ
27962014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2797
2798 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2799 * config.make.in (config-extra-cppflags): Set it from
2800 libc_extra_cppflags.
2801 * configure.ac (libc_extra_cflags): Make it accumulate over
2802 configure fragments.
2803 (libc_extra_cppflags): New flag.
2804 * configure. Regenerate.
2805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
2806 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2807 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
2808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2809
8bd70862
AZ
2810 [BZ #16815]
2811 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2812 result for FE_DOWNWARD rounding mode.
2813 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2814 Likewise.
2815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2816
d42f3448
CM
28172014-04-04 Chris Metcalf <cmetcalf@tilera.com>
2818
2819 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2820 in function argument name.
2821
1c21d115
DS
28222014-04-03 David Svoboda <svoboda@cert.org>
2823
2824 [BZ #5666]
2825 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2826 explicitly.
2827
fcccd512
RM
28282014-04-03 Roland McGrath <roland@hack.frob.com>
2829
2830 * elf/dl-unmap-segments.h: New file.
2831 * sysdeps/generic/ldsodefs.h
2832 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2833 * elf/dl-close.c: Include <dl-unmap-segments.h>.
2834 * elf/dl-fptr.c: Likewise.
2835 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2836 * sysdeps/aarch64/tlsdesc.c: Likewise.
2837 * sysdeps/arm/tlsdesc.c: Likewise.
2838 * sysdeps/i386/tlsdesc.c: Likewise.
2839 * sysdeps/tile/dl-runtime.c: Likewise.
2840 * sysdeps/x86_64/tlsdesc.c: Likewise.
2841 * elf/dl-load.h: New file.
2842 * elf/dl-load.c: Include it.
2843 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2844 Macros moved to dl-load.h.
2845 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2846 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2847 Use _dl_unmap_segments in place of __munmap.
2848 Break out segment-mapping loop into ...
2849 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2850
f6488e2b
WN
28512014-04-03 Will Newton <will.newton@linaro.org>
2852
2853 * elf/dl-lookup.c (do_lookup_x): Remove comment
2854 referring to nested function and move variable
2855 declarations down to before first use.
2856
6f05bafe
JM
28572014-04-02 Joseph Myers <joseph@codesourcery.com>
2858
a84e78c8
JM
2859 [BZ #16799]
2860 [BZ #16800]
2861 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2862 with 0 numerator.
2863 * math/s_catanf.c (__catanf): Likewise.
2864 * math/s_catanh.c (__catanh): Likewise.
2865 * math/s_catanhf.c (__catanhf): Likewise.
2866 * math/s_catanhl.c (__catanhl): Likewise.
2867 * math/s_catanl.c (__catanl): Likewise.
2868 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2869 by positive zero when computing -Inf result.
2870 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2871 (catanh_test): Likewise.
2872 * sysdeps/i386/fpu/libm-test-ulps: Update.
2873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2874
6f05bafe
JM
2875 [BZ #16789]
2876 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2877 instead of using underflowing value in computing result.
2878 * math/s_clog10.c (__clog10): Likewise.
2879 * math/s_clog10f.c (__clog10f): Likewise.
2880 * math/s_clog10l.c (__clog10l): Likewise.
2881 * math/s_clogf.c (__clogf): Likewise.
2882 * math/s_clogl.c (__clogl): Likewise.
2883 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2884 (clog10_test): Likewise.
2885 * sysdeps/i386/fpu/libm-test-ulps: Update.
2886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2887
b0abbc21
AM
28882014-04-02 Alan Modra <amodra@gmail.com>
2889
2890 [BZ #16739]
2891 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2892 output when value is near a power of two. Use int64_t for lx and
2893 remove casts. Use decimal rather than hex exponent constants.
2894 Don't use long double multiplication when double will suffice.
2895 * math/libm-test.inc (nextafter_test_data): Add tests.
2896 * NEWS: Add 16739 and 16786 to bug list.
2897
af6b1797
AM
2898 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2899
483818d7
AM
2900 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2901
f6c55796
WN
29022014-04-01 Will Newton <will.newton@linaro.org>
2903
2904 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2905 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
2906
13f7fe35
FW
29072014-04-01 Florian Weimer <fweimer@redhat.com>
2908
2909 [BZ #13347]
2910 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2911 * nptl/tst-setuid2.c: New file.
2912 * nptl/Makefile (xtests): Add tst-setuid2.
2913
c859b32e
AM
29142014-04-01 Alan Modra <amodra@gmail.com>
2915
2916 [BZ #16786]
2917 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2918
54fa2475
JM
29192014-03-31 Joseph Myers <joseph@codesourcery.com>
2920
8795b4a4
JM
2921 [BZ #6803]
2922 [BZ #6804]
2923 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2924 set errno as appropriate.
2925 * math/w_scalbf.c (__scalbf): Likewise.
2926 * math/w_scalbl.c (__scalbl): Likewise.
2927 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2928 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2929 * math/libm-test.inc (scalb_test_data): Add errno expectations.
2930 Add more NaN tests.
2931
54fa2475
JM
2932 [BZ #16349]
2933 * math/w_atan2.c: Include <errno.h>.
2934 (__atan2): Set errno for result underflowing to zero.
2935 * math/w_atan2f.c: Include <errno.h>.
2936 (__atan2f): Set errno for result underflowing to zero.
2937 * math/w_atan2l.c: Include <errno.h>.
2938 (__atan2l): Set errno for result underflowing to zero.
2939 * math/auto-libm-test-in: Don't allow missing errno for some atan2
2940 tests.
2941 * math/auto-libm-test-out: Regenerated.
2942
757d9dd5
AZ
29432014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2944
2945 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2946 Encode instruction correctly in little endian.
2947 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2948 Likewise.
2949 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2950 Likewise.
2951 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2952 Likewise.
2953 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2954 Likewise.
2955
d7a68734
JM
29562014-03-31 Joseph Myers <joseph@codesourcery.com>
2957
47c5adeb
JM
2958 [BZ #9894]
2959 * sysdeps/unix/sysv/linux/kernel-features.h
2960 [__sparc__ && !__arch64__ && !__sparc_v9__]
2961 (__ASSUME_SET_ROBUST_LIST): Do not define.
2962 [__sparc__ && !__arch64__ && !__sparc_v9__]
2963 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2964 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2965 Likewise.
2966 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2967 (__ASSUME_FUTEX_LOCK_PI): Undefine.
2968 (__ASSUME_REQUEUE_PI): Likewise.
2969 (__ASSUME_SET_ROBUST_LIST): Likewise.
2970 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2971 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2972 Undefine.
2973 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2974 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2975 Likewise.
2976 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2977 Likewise.
2978 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2979 Likewise.
2980 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2981 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2982 Undefine.
2983 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2984 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2985 Likewise.
2986
d7a68734
JM
2987 [BZ #16648]
2988 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2989 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2990 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2991
c760f5c2
WN
29922014-03-31 Will Newton <will.newton@linaro.org>
2993
2994 * benchtests/Makefile (bench): Add ffs and ffsll to list
2995 of tests.
2996 * benchtests/ffs-inputs: New file.
2997 * benchtests/ffsll-inputs: Likewise.
2998
ea6029b1
JM
29992014-03-29 Joseph Myers <joseph@codesourcery.com>
3000
3001 [BZ #16770]
3002 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3003 too large before casting to int.
3004 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3005 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3006 * math/libm-test.inc (scalb_test_data): Add more tests.
3007
cf806aff
SP
30082014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3009
56737508
SP
3010 * benchtests/Makefile (DETAILED_OPT): New make option.
3011 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3012 set.
3013 * benchtests/bench-skeleton.c: Include stdbool.h.
3014 (main): Store and print timings per input.
3015 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3016 member to each argument value.
3017 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3018 (_print_arg_data): Initialize per-input timing to 0.
3019
cb5e4aad
SP
3020 * benchtests/Makefile (timing-type): New binary.
3021 (bench-clean): Also remove bench-timing-type.
3022 (bench): New target for timing-type.
3023 (bench-func): Print output in JSON format.
3024 * benchtests/bench-skeleton.c (main): Print output in JSON
3025 format.
3026 * benchtests/bench-timing-type.c: New file.
3027 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3028 (TIMING_PRINT_STATS): Remove.
3029 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3030 name separately.
3031
cf806aff
SP
3032 * benchtests/bench-modf.c: Remove.
3033 * benchtests/modf-inputs: New inputs file.
3034
289e0779
JM
30352014-03-28 Joseph Myers <joseph@codesourcery.com>
3036
3037 [BZ #16362]
3038 * math/s_clog10.c (M_PI_LOG10E): New macro.
3039 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3040 imaginary parts are 0.
3041 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3042 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3043 imaginary parts are 0.
3044 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3045 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3046 imaginary parts are 0.
3047 * math/libm-test.inc (clog10_test_data): Update expected results
3048 for when real and imaginary parts are 0.
3049
277ae3f1
PP
30502014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3051
3052 * elf/dl-load.c: Finish conversion of __builtin_expect into
3053 __glibc_{un}likely.
3054
03a7091f
JM
30552014-03-27 Joseph Myers <joseph@codesourcery.com>
3056
3057 [BZ #16348]
3058 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3059 1+x for argument with exponent below -67.
3060 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3061 Likewise.
3062 * math/auto-libm-test-in: Add more tests of exp.
3063 * math/auto-libm-test-out: Regenerated.
3064
ea7d8b95
SP
30652014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3066
dd3022d7
SP
3067 [BZ #16759]
3068 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3069 (nscd_getnetgrent): Use it.
3070
ea7d8b95
SP
3071 [BZ #16760]
3072 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3073 of stpcpy.
3074
df5b85da
AK
30752014-03-27 Andi Kleen <ak@linux.intel.com>
3076
57f41c40
AS
3077 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3078 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3079 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3080 (lll_robust_unlock): Remove out of line section. Use cfi
3081 intrinsics.
df5b85da 3082 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
3083 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3084 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3085 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3086 (lll_robust_unlock): Remove out of line section. Use cfi
3087 intrinsics.
df5b85da
AK
3088 (LLL_STUB_UNWIND_INFO*): Remove.
3089
fbd6b5a4
SP
30902014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3091
3092 [BZ #16758]
3093 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3094 blank values.
3095
1b26b855
PP
30962014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3097
3098 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3099
9be36fb8
JM
31002014-03-26 Joseph Myers <joseph@codesourcery.com>
3101
3102 [BZ #16198]
3103 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3104 fnstenv.
3105 * math/test-fenv-preserve.c: New file.
3106 * math/Makefile (tests): Add test-fenv-preserve.
3107
60a2f3c1
WN
31082014-03-26 Will Newton <will.newton@linaro.org>
3109
3110 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3111
a5e5f1e2
RM
31122014-03-25 Roland McGrath <roland@hack.frob.com>
3113
3114 * scripts/versionlist.awk: Partition the version sets and emit all
3115 GLIBC_* (sorted) before all others (sorted).
3116
00f4012a
JM
31172014-03-25 Joseph Myers <joseph@codesourcery.com>
3118
3119 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3120 GLIBC_2.2.5 version.
3121
7bc5a741
AZ
31222014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3123
3124 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3125 calls.
3126
7578473b
AZ
3127 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3128 previous change.
3129
f3f1dab3
AZ
3130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3131
6da36183
AS
31322014-03-25 Andreas Schwab <schwab@suse.de>
3133
3134 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3135 label to be used after in6ailist is initialized.
3136
f3f1dab3 31372014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 3138
7578473b 3139 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
3140 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3141
046651c1
JM
31422014-03-25 Joseph Myers <joseph@codesourcery.com>
3143
3144 [BZ #16357]
3145 [BZ #16599]
3146 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3147 min_plus_half.
3148 (fp_formats): Update initializers.
3149 (init_fp_formats): Initialize new field.
3150 (output_for_one_input_case): Allow underflow for results up to
3151 min_plus_half.
3152 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3153 * math/auto-libm-test-in: Don't mark some underflows from asin and
3154 atanh as spurious.
3155 * math/auto-libm-test-out: Regenerated.
3156 * sysdeps/i386/fpu/libm-test-ulps: Update.
3157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3158
003e49ed
AS
31592014-03-25 Andreas Schwab <schwab@suse.de>
3160
3161 * libio/Makefile (tst-ftell-partial-wide-ENV)
3162 (tst-ftell-active-handler-ENV): Define.
3163
de031874
SL
31642014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3165
3166 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3167
55a81e3b
PP
31682014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3169
3170 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3171
f3426898
JM
31722014-03-24 Joseph Myers <joseph@codesourcery.com>
3173
3174 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3175 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3176 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3177
a42faf59
PP
31782014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3179
3180 [BZ #16634]
a42faf59 3181 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
3182 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3183 (open_path): Change from boolean 'secure' to complete flag 'mode'
3184 (_dl_map_object): Adjust.
a42faf59
PP
3185 * elf/Makefile (tests): Add tst-dlopen-aout.
3186 * elf/tst-dlopen-aout.c: New test.
3187
50936127
SL
31882014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3189
3190 [BZ #16714]
3191 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3192 (struct stat): Rename member pad0 to __glibc_reserved0.
3193
26011b5c
SL
3194 [BZ #16712]
3195 * sysdeps/s390/s390-32/bits/wordsize.h
3196 (__WORDSIZE32_SIZE_ULONG): New define.
3197 * sysdeps/s390/s390-64/bits/wordsize.h
3198 (__WORDSIZE32_SIZE_ULONG): Likewise.
3199 * sysdeps/generic/stdint.h (SIZE_MAX):
3200 Define as UL if __WORDSIZE32_SIZE_ULONG.
3201
a2d86bf1
SL
3202 [BZ #16713]
3203 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3204 (__glibc_reserved0): New variable.
3205 (sa_flags): Change type to int.
3206
78b6eebc
SL
3207 * posix/Makefile (before-compile): Use += before-compile instead
3208 of a :=.
3209
f1399b5a
SL
3210 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3211 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3212
a071766e
AS
32132014-03-20 Andreas Schwab <schwab@suse.de>
3214
3215 [BZ #16743]
3216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3217 non-matching result from nscd.
3218
27c673b8
SP
32192014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3220
3221 * scripts/bench.py: Moved to ...
3222 * benchtests/scripts/bench.py: ... here.
3223 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3224
44152e4b
AS
32252014-03-24 Andreas Schwab <schwab@suse.de>
3226
3227 [BZ #16002]
3228 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3229 alloca_account and account alloca use for struct in6ailist.
3230
b376a11a
JM
32312014-03-24 Joseph Myers <joseph@codesourcery.com>
3232
3233 [BZ #16284]
3234 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3235 rounding mode to recompute results that overflow to infinity or
3236 underflow to zero.
3237 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3238 bug 16284.
3239 * math/auto-libm-test-out: Regenerated.
3240 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3241 (ccosh_test): Likewise.
3242 (csin_test_data): Use plus_oflow.
3243 (csin_test): Use ALL_RM_TEST.
3244 (csinh_test_data): Use plus_oflow.
3245 (csinh_test): Use ALL_RM_TEST.
3246 * sysdeps/i386/fpu/libm-test-ulps: Update.
3247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3248
f7be7376
JM
32492014-03-21 Joseph Myers <joseph@codesourcery.com>
3250
1ca2d03e
JM
3251 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3252 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3253 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3254
f7be7376
JM
3255 [BZ #16731]
3256 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3257 when x - 1 is zero.
3258 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3259 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3260 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3261 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3262 argument is 1.
3263 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3264 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3265 zero.
3266 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3267 * sysdeps/i386/fpu/libm-test-ulps: Update.
3268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3269
fdf4534d
SP
32702014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3271
df26ea53
SP
3272 * scripts/bench.pl: Remove file.
3273 * scripts/bench.py: New benchmark script.
3274 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3275 * benchtests/README: Mention python dependency.
3276 * scripts/pylintrc: New file.
3277 * scripts/pylint: New file.
3278
fdf4534d
SP
3279 * bits/mathdef.h: Use #ifdef instead of #if.
3280 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3281 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3282 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3283 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3284 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3285 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3286
6f23d093
AZ
32872014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3288 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3289
3290 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3292 and strpbrk-ppc64 objects.
3293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3294 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3295 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3296 multiarch strpbrk for POWER7.
3297 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3298 multiarch strpbrk for PPC64.
3299 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3300 ifunc selector.
3301 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3302 strpbrk for POWER7.
3303
8c92dfff
JM
33042014-03-20 Joseph Myers <joseph@codesourcery.com>
3305
3306 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3307 (atan_test): Likewise.
3308 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3309 (atanh_test): Use ALL_RM_TEST.
3310 (atan2_test_data): Likewise.
3311 (cabs_test): Likewise.
3312 (cacosh_test): Likewise.
3313 (carg_test): Likewise.
3314 (casin_test): Likewise.
3315 (casinh_test): Likewise.
3316 (cbrt_test): Likewise.
3317 (csqrt_test): Likewise.
3318 (erf_test): Likewise.
3319 (erfc_test): Likewise.
3320 (pow10_test): Likewise.
3321 (exp2_test): Likewise.
3322 (hypot_test): Likewise.
3323 (j0_test): Likewise.
3324 (j1_test): Likewise.
3325 (lgamma_test): Likewise.
3326 (gamma_test): Likewise.
3327 (sincos_test): Likewise.
3328 (tanh_test): Likewise.
3329 (y0_test): Likewise.
3330 (y1_test): Likewise.
3331 * sysdeps/i386/fpu/libm-test-ulps: Update.
3332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3333
6eaf95cb
AZ
33342014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3335
a387428c
SP
3336 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
3338 and strcspn-ppc64 objects.
3339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3340 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3341 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3342 multiarch strcspn for POWER7.
3343 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3344 multiarch strcspn for PPC64.
3345 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3346 ifunc selector.
3347 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3348 strcspn for POWER7.
3349
ae3a5dff
JM
33502014-03-20 Joseph Myers <joseph@codesourcery.com>
3351
3352 * math/gen-libm-test.pl (generate_testfile): Expect only function
3353 name as argument to AUTO_TESTS_* and pass results for all rounding
3354 modes to parse_args.
3355 (parse_auto_input): Separate inputs of automatic tests from
3356 outputs before storing in %auto_tests.
3357 * math/libm-test.inc (acos_test_data): Update call to
3358 AUTO_TESTS_f_f.
3359 (acos_test): Use ALL_RM_TEST.
3360 (acos_tonearest_test_data): Remove.
3361 (acos_test_tonearest): Likewise.
3362 (acos_towardzero_test_data): Likewise.
3363 (acos_test_towardzero): Likewise.
3364 (acos_downward_test_data): Likewise.
3365 (acos_test_downward): Likewise.
3366 (acos_upward_test_data): Likewise.
3367 (acos_test_upward): Likewise.
3368 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3369 (asin_test_data): Likewise.
3370 (asin_test): Use ALL_RM_TEST.
3371 (asin_tonearest_test_data): Remove.
3372 (asin_test_tonearest): Likewise.
3373 (asin_towardzero_test_data): Likewise.
3374 (asin_test_towardzero): Likewise.
3375 (asin_downward_test_data): Likewise.
3376 (asin_test_downward): Likewise.
3377 (asin_upward_test_data): Likewise.
3378 (asin_test_upward): Likewise.
3379 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3380 (atan_test_data): Likewise.
3381 (atanh_test_data): Likewise.
3382 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3383 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3384 (carg_test_data): Likewise.
3385 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3386 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3387 (ccosh_test_data): Likewise.
3388 (cexp_test_data): Likewise.
3389 (clog_test_data): Likewise.
3390 (clog10_test_data): Likewise.
3391 (cos_test_data): Update call to AUTO_TESTS_f_f.
3392 (cos_test): Use ALL_RM_TEST.
3393 (cos_tonearest_test_data): Remove.
3394 (cos_test_tonearest): Likewise.
3395 (cos_towardzero_test_data): Likewise.
3396 (cos_test_towardzero): Likewise.
3397 (cos_downward_test_data): Likewise.
3398 (cos_test_downward): Likewise.
3399 (cos_upward_test_data): Likewise.
3400 (cos_test_upward): Likewise.
3401 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3402 (cosh_test): Use ALL_RM_TEST.
3403 (cosh_tonearest_test_data): Remove.
3404 (cosh_test_tonearest): Likewise.
3405 (cosh_towardzero_test_data): Likewise.
3406 (cosh_test_towardzero): Likewise.
3407 (cosh_downward_test_data): Likewise.
3408 (cosh_test_downward): Likewise.
3409 (cosh_upward_test_data): Likewise.
3410 (cosh_test_upward): Likewise.
3411 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3412 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3413 (ctan_test_data): Likewise.
3414 (ctan_test): Use ALL_RM_TEST.
3415 (ctan_tonearest_test_data): Remove.
3416 (ctan_test_tonearest): Likewise.
3417 (ctan_towardzero_test_data): Likewise.
3418 (ctan_test_towardzero): Likewise.
3419 (ctan_downward_test_data): Likewise.
3420 (ctan_test_downward): Likewise.
3421 (ctan_upward_test_data): Likewise.
3422 (ctan_test_upward): Likewise.
3423 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3424 (ctanh_test): Use ALL_RM_TEST.
3425 (ctanh_tonearest_test_data): Remove.
3426 (ctanh_test_tonearest): Likewise.
3427 (ctanh_towardzero_test_data): Likewise.
3428 (ctanh_test_towardzero): Likewise.
3429 (ctanh_downward_test_data): Likewise.
3430 (ctanh_test_downward): Likewise.
3431 (ctanh_upward_test_data): Likewise.
3432 (ctanh_test_upward): Likewise.
3433 (erf_test_data): Update call to AUTO_TESTS_f_f.
3434 (erfc_test_data): Likewise.
3435 (exp_test_data): Likewise.
3436 (exp_test): Use ALL_RM_TEST.
3437 (exp_tonearest_test_data): Remove.
3438 (exp_test_tonearest): Likewise.
3439 (exp_towardzero_test_data): Likewise.
3440 (exp_test_towardzero): Likewise.
3441 (exp_downward_test_data): Likewise.
3442 (exp_test_downward): Likewise.
3443 (exp_upward_test_data): Likewise.
3444 (exp_test_upward): Likewise.
3445 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3446 (exp10_test): Use ALL_RM_TEST.
3447 (exp10_tonearest_test_data): Remove.
3448 (exp10_test_tonearest): Likewise.
3449 (exp10_towardzero_test_data): Likewise.
3450 (exp10_test_towardzero): Likewise.
3451 (exp10_downward_test_data): Likewise.
3452 (exp10_test_downward): Likewise.
3453 (exp10_upward_test_data): Likewise.
3454 (exp10_test_upward): Likewise.
3455 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3456 (expm1_test_data): Likewise.
3457 (expm1_test): Use ALL_RM_TEST.
3458 (expm1_tonearest_test_data): Remove.
3459 (expm1_test_tonearest): Likewise.
3460 (expm1_towardzero_test_data): Likewise.
3461 (expm1_test_towardzero): Likewise.
3462 (expm1_downward_test_data): Likewise.
3463 (expm1_test_downward): Likewise.
3464 (expm1_upward_test_data): Likewise.
3465 (expm1_test_upward): Likewise.
3466 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3467 (fma_test): Use ALL_RM_TEST.
3468 (fma_towardzero_test_data): Remove.
3469 (fma_test_towardzero): Likewise.
3470 (fma_downward_test_data): Likewise.
3471 (fma_test_downward): Likewise.
3472 (fma_upward_test_data): Likewise.
3473 (fma_test_upward): Likewise.
3474 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3475 (j0_test_data): Update call to AUTO_TESTS_f_f.
3476 (j1_test_data): Likewise.
3477 (jn_test_data): Update call to AUTO_TESTS_if_f.
3478 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3479 (log_test_data): Update call to AUTO_TESTS_f_f.
3480 (log10_test_data): Likewise.
3481 (log1p_test_data): Likewise.
3482 (log2_test_data): Likewise.
3483 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3484 (pow_tonearest_test_data): Likewise.
3485 (sin_test_data): Update call to AUTO_TESTS_f_f.
3486 (sin_test): Use ALL_RM_TEST.
3487 (sin_tonearest_test_data): Remove.
3488 (sin_test_tonearest): Likewise.
3489 (sin_towardzero_test_data): Likewise.
3490 (sin_test_towardzero): Likewise.
3491 (sin_downward_test_data): Likewise.
3492 (sin_test_downward): Likewise.
3493 (sin_upward_test_data): Likewise.
3494 (sin_test_upward): Likewise.
3495 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3496 (sinh_test_data): Update call to AUTO_TESTS_f_f.
3497 (sinh_test): Use ALL_RM_TEST.
3498 (sinh_tonearest_test_data): Remove.
3499 (sinh_test_tonearest): Likewise.
3500 (sinh_towardzero_test_data): Likewise.
3501 (sinh_test_towardzero): Likewise.
3502 (sinh_downward_test_data): Likewise.
3503 (sinh_test_downward): Likewise.
3504 (sinh_upward_test_data): Likewise.
3505 (sinh_test_upward): Likewise.
3506 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
3507 (sqrt_test): Use ALL_RM_TEST.
3508 (sqrt_tonearest_test_data): Remove.
3509 (sqrt_test_tonearest): Likewise.
3510 (sqrt_towardzero_test_data): Likewise.
3511 (sqrt_test_towardzero): Likewise.
3512 (sqrt_downward_test_data): Likewise.
3513 (sqrt_test_downward): Likewise.
3514 (sqrt_upward_test_data): Likewise.
3515 (sqrt_test_upward): Likewise.
3516 (tan_test_data): Update call to AUTO_TESTS_f_f.
3517 (tan_test): Use ALL_RM_TEST.
3518 (tan_tonearest_test_data): Remove.
3519 (tan_test_tonearest): Likewise.
3520 (tan_towardzero_test_data): Likewise.
3521 (tan_test_towardzero): Likewise.
3522 (tan_downward_test_data): Likewise.
3523 (tan_test_downward): Likewise.
3524 (tan_upward_test_data): Likewise.
3525 (tan_test_upward): Likewise.
3526 (tanh_test_data): Update call to AUTO_TESTS_f_f.
3527 (tgamma_test_data): Likewise.
3528 (y0_test_data): Likewise.
3529 (y1_test_data): Likewise.
3530 (yn_test_data): Update call to AUTO_TESTS_if_f.
3531 (main): Do not call removed functions.
3532
d71aeee8
JM
35332014-03-19 Joseph Myers <joseph@codesourcery.com>
3534
3535 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
3536 (ldexp_test_data): Remove.
3537 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
3538 scalbn_test_data.
3539 (scalb_test): Use ALL_RM_TEST.
3540
baaf1ded
AS
35412014-03-19 Andreas Schwab <schwab@suse.de>
3542
3543 * nscd/nscd.service: Also invalidate netgroup cache on reload.
3544
b1115e91
JM
35452014-03-19 Joseph Myers <joseph@codesourcery.com>
3546
3547 [BZ #16649]
3548 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3549 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
3550 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
3551 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3552 (__ASSUME_PREADV): Undefine.
3553 (__ASSUME_PWRITEV): Likewise.
3554
0283ecca
RM
35552014-03-18 Roland McGrath <roland@hack.frob.com>
3556
7d375303
RM
3557 * bits/mman-linux.h: Add comment about non-Linux use.
3558 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
3559 bits/mman-linux.h resting place.
3560
0283ecca
RM
3561 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
3562 * bits/mman-linux.h: ... here.
3563
aebe1003
AZ
35642014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3565
3566 * conform/conformtest.pl: Add standard definition when calling C
3567 preprocessor on data files.
3568 (checknamespace): Remove unused variable.
3569
b29b6bb8
JM
35702014-03-18 Joseph Myers <joseph@codesourcery.com>
3571
3572 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
3573 minus_oflow, plus_uflow and minus_uflow in expected results.
3574 * math/libm-test.inc (scalbn_test_data): Add more tests of
3575 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
3576 minus_uflow.
3577 (scalbn_test): Use ALL_RM_TEST.
3578 (scalbln_test_data): Add more tests of negative arguments. Use
3579 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
3580 (scalbln_test): Use ALL_RM_TEST.
3581
c8f8fa15
RM
35822014-03-18 Roland McGrath <roland@hack.frob.com>
3583
3584 * scripts/abilist.awk: Ignore symbols marked with .hidden.
3585
fede7a5f
WN
35862014-03-18 Will Newton <will.newton@linaro.org>
3587
3588 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
3589 inaccurate comment.
3590
80cf0a58
JM
35912014-03-18 Joseph Myers <joseph@codesourcery.com>
3592
3593 * Makerules [!subdir] (check-abi): Exit with error status if a
3594 test failed.
3595
b3620862
JM
35962014-03-17 Joseph Myers <joseph@codesourcery.com>
3597
3598 * math/libm-test.inc (nearbyint_test_data): Include all tests used
3599 for rint. Include results for all rounding modes.
3600 (nearbyint_test): Use ALL_RM_TEST.
3601 (rint_test_data): Include all tests used for nearbyint.
3602
788bba36
WN
36032014-03-17 Will Newton <will.newton@linaro.org>
3604
04ec140a
WN
3605 * nptl/sysdeps/pthread/pthread.h: Revert previous
3606 change.
3607
7579d8d5
WN
3608 * sysdeps/generic/ldsodefs.h: Revert previous
3609 change.
3610
c15cf13a
WN
3611 * libio/genops.c: Revert previous change.
3612 * libio/libioP.h: Likewise.
3613 * stdio-common/vfprintf.c: Likewise.
3614
d0ac1324
WN
3615 * sysdeps/generic/math_private.h: Revert previous
3616 change.
3617
9290130a
WN
3618 * sysdeps/generic/math_private.h: Check whether
3619 HAVE_RM_CTX is defined with #ifdef rather
3620 than #if.
3621
afb466fc
WN
3622 * argp/argp-fmtstream.h: Check whether
3623 __STRICT_ANSI__ is defined with #ifdef rather
3624 than #if.
3625 * argp/argp.h: Likewise.
3626
f7efd7c3
WN
3627 * libio/genops.c: Check whether
3628 _IO_JUMPS_OFFSET is defined with #ifdef rather
3629 than #if.
3630 * libio/libioP.h: Likewise.
3631 * stdio-common/vfprintf.c: Likewise.
3632
53f1bed3
WN
3633 * sysdeps/generic/ldsodefs.h: Check whether
3634 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
3635 than #if.
3636
788bba36
WN
3637 * nptl/sysdeps/pthread/pthread.h: Check
3638 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
3639 its value.
3640
fcd89ebe
SP
36412014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3642
ae42bbc5
SP
3643 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
3644 setting O_APPEND.
3645 * libio/tst-ftell-active-handler.c (do_append_test): Add a
3646 test case.
3647
ea33158c
SP
3648 [BZ #16680]
3649 * libio/fileops.c (_IO_file_open): Seek to end of file but
3650 don't cache the offset.
3651 (get_file_offset): Remove function.
3652 (do_ftell): Use cached offset when available.
3653 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
3654 don't cache the offset.
3655 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
3656 case.
3657 (do_one_test): Call it.
3658 (do_ftell_test): Fix up expected old offset for a+ mode.
3659 * libio/wfileops.c (do_ftell_wide): Used cached offset when
3660 available.
3661
b1dbb426
SP
3662 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
3663 up test status with function return status.
3664 (do_write_test): Likewise.
3665 (do_append_test): Likewise.
3666
fcd89ebe
SP
3667 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
3668 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
3669 Remove.
3670
9962a2d3
JM
36712014-03-17 Joseph Myers <joseph@codesourcery.com>
3672
3673 * math/gen-libm-test.pl (parse_args): Handle results specified for
3674 each rounding mode separately.
3675 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
3676 tests and results from lrint_tonearest_test_data,
3677 lrint_towardzero_test_data, lrint_downward_test_data and
3678 lrint_upward_test_data.
3679 (lrint_test): Use ALL_RM_TEST.
3680 (lrint_tonearest_test_data): Remove.
3681 (lrint_test_tonearest): Likewise.
3682 (lrint_towardzero_test_data): Likewise.
3683 (lrint_test_towardzero): Likewise.
3684 (lrint_downward_test_data): Likewise.
3685 (lrint_test_downward): Likewise.
3686 (lrint_upward_test_data): Likewise.
3687 (lrint_test_upward): Likewise.
3688 (llrint_test_data): Merge in per-rounding-mode tests and results
3689 from llrint_tonearest_test_data, llrint_towardzero_test_data,
3690 llrint_downward_test_data and llrint_upward_test_data.
3691 (llrint_test): Use ALL_RM_TEST.
3692 (llrint_tonearest_test_data): Remove.
3693 (llrint_test_tonearest): Likewise.
3694 (llrint_towardzero_test_data): Likewise.
3695 (llrint_test_towardzero): Likewise.
3696 (llrint_downward_test_data): Likewise.
3697 (llrint_test_downward): Likewise.
3698 (llrint_upward_test_data): Likewise.
3699 (llrint_test_upward): Likewise.
3700 (rint_test_data): Merge in per-rounding-mode tests and results
3701 from rint_tonearest_test_data, rint_towardzero_test_data,
3702 rint_downward_test_data and rint_upward_test_data. Add
3703 per-rounding-mode results for tests not in those arrays.
3704 (rint_test): Use ALL_RM_TEST.
3705 (rint_tonearest_test_data): Remove.
3706 (rint_test_tonearest): Likewise.
3707 (rint_towardzero_test_data): Likewise.
3708 (rint_test_towardzero): Likewise.
3709 (rint_downward_test_data): Likewise.
3710 (rint_test_downward): Likewise.
3711 (rint_upward_test_data): Likewise.
3712 (rint_test_upward): Likewise.
3713 (main): Don't call removed functions.
3714
5006148e
RM
37152014-03-14 Roland McGrath <roland@hack.frob.com>
3716
3717 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3718 "Compiled on ..." crapola. It is anti-useful.
3719
d6fe5e58
JM
37202014-03-14 Joseph Myers <joseph@codesourcery.com>
3721
3722 * scripts/evaluate-test.sh: Handle fourth argument to determine
3723 whether test run should stop on failure.
3724 * Makeconfig (stop-on-test-failure): New variable.
3725 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3726 $(stop-on-test-failure).
3727 * Makefile (tests): Give a summary of results from testing and
3728 exit with failure status if they include an ERROR or FAIL.
3729 (xtests): Likewise.
3730 * manual/install.texi (Configuring and compiling): Mention
3731 stop-on-test-failure=y.
3732 * INSTALL: Regenerated.
3733
498a2233
RM
37342014-03-14 Roland McGrath <roland@hack.frob.com>
3735
22dbc19d
RM
3736 * scripts/versionlist.awk: New file.
3737 * Makerules [$(build-shared) = yes]
3738 (postclean-generated): Add Versions.def, not Versions.def.v and
3739 Versions.def.v.i.
3740 ($(common-objpfx)Versions.def.v.i): Target removed.
3741 ($(common-objpfx)Versions.def): New target.
3742 ($(common-objpfx)Versions.all): Depend on that rather that
3743 $(common-objpfx)Versions.def.v.
3744 * Versions.def: File removed.
3745
498a2233
RM
3746 * Makeconfig (+gccwarn): Add -Wundef.
3747 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3748 a dl-sysdep.h breaking its contract.
3749 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3750 * include/stackinfo.h: New file.
3751 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3752 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3753 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3754 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3755 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3756 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3757 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3758 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3759 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3760 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3761 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3762 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3763 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3764 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3765 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3766
c7de5025
AZ
37672014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3768
3769 [BZ #16707]
3770 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3771 implementation.
3772 * math/libm-test.inc (round_test_data): Add more tests.
3773
98fb27a3
AZ
3774 [BZ #16706]
3775 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3776 implementation.
3777 * math/libm-test.inc (nearbyint_test_data): Add more tests.
3778
374f7f61
AZ
3779 [BZ #16701]
3780 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3781 implementation.
3782 * math/libm-test.inc (ceil_test_data): Add more tests.
3783
4655c291
AZ
3784 * math/libm-test.inc (trunc_test_data): Add more tests related to
3785 BZ#16414.
3786
d7329d4b
RM
37872014-03-14 Roland McGrath <roland@hack.frob.com>
3788
3789 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3790 with #if rather than #ifdef.
3791 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3792
aa4de9ce
L
37932014-03-14 H.J. Lu <hongjiu.lu@intel.com>
3794
3795 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3796 first. Disable AVX-512 GCC support if assembler doesn't support
3797 it.
3798 * sysdeps/x86_64/configure: Regenerated.
3799
2e03fae7
CD
38002014-03-13 Carlos O'Donell <carlos@redhat.com>
3801
3802 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3803 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3804 (__old_pthread_attr_setstack): Likewise.
3805 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3806 [!_STACK_GROWS_DOWN]: Likewise.
3807
43ca83ec
MF
38082014-03-13 Mike Frysinger <vapier@gentoo.org>
3809
3810 * config.make.in (have-bash2): Delete.
3811 * configure.ac (libc_cv_have_bash2): Delete.
3812 * configure: Regenerate.
3813 * elf/Makefile (common-ldd-rewrite): Rename to ...
3814 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
3815 (sh-ldd-rewrite): Delete.
3816 (bash-ldd-rewrite): Delete.
3817 (have-bash2): Delete checks.
57f41c40
AS
3818 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3819 ldd-rewrite.
c66e48b4
MF
3820
3821 * config.make.in (have-ksh): Delete.
3822 (KSH): Delete.
3823 * configure.ac (libc_cv_have_ksh): Delete.
3824 * configure: Regenerate.
3825
b93834ef
MF
3826 * elf/Makefile: Delete $(have-ksh) check.
3827 ($(objpfx)sotruss): Change KSH to BASH.
3828 * elf/sotruss.ksh: Rename to ...
3829 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
3830 function style to match POSIX. Drop ksh vim mode setting.
3831
f3a4632a
MF
3832 * manual/time.texi (Specifying the Time Zone with TZ): Change
3833 Tuesday to Thursday.
3834
5896c8bd
MF
3835 * debug/tst-longjmp_chk2.c: Update header comment.
3836 (stackoverflow_handler): Add comment. Call assert on pass value.
3837
2d63a517
IZ
38382014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
3839
3840 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3841 (HAVE_AVX512_ASM_SUPPORT): Likewise.
3842 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3843 (La_x86_64_vector): Add zmm.
3844 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3845 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3846 ($(objpfx)tst-audit10): New target.
3847 ($(objpfx)tst-audit10.out): Likewise.
3848 (tst-audit10-ENV): New.
3849 (AVX512-CFLAGS): Likewise.
3850 (CFLAGS-tst-audit10.c): Likewise.
3851 (CFLAGS-tst-auditmod10a.c): Likewise.
3852 (CFLAGS-tst-auditmod10b.c): Likewise.
3853 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3854 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3855 * sysdeps/x86_64/configure: Regenerated.
3856 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3857 AVX-512 zmm register support.
3858 (_dl_x86_64_save_sse): Likewise.
3859 (_dl_x86_64_restore_sse): Likewise.
3860 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3861 size vector registers.
3862 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3863 (ZMM_SIZE): Likewise.
3864 * sysdeps/x86_64/tst-audit10.c: New file.
3865 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3866 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3867
44c4e5d5
RM
38682014-03-13 Roland McGrath <roland@hack.frob.com>
3869
3870 * configure.ac (HAVE_EHDR_START): New check.
3871 * configure: Regenerated.
3872 * config.h.in (HAVE_EHDR_START): New #undef.
3873 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3874 assuming the lowest-addressed segment maps the start of the file.
3875
acd6e389
JM
38762014-03-13 Joseph Myers <joseph@codesourcery.com>
3877
3878 * INSTALL: Regenerated.
3879
6f918f36
WN
38802014-03-13 Will Newton <will.newton@linaro.org>
3881
3882 * manual/setjmp.texi (System V contexts): Improve
3883 clarity and grammar of documentation.
3884
798212a0
PP
38852014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3886
3887 [BZ #16381]
798212a0 3888 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 3889 (tests-pie): Add tst-pie2.
798212a0
PP
3890 * elf/tst-pie2.c: New file.
3891 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3892 for ET_EXEC.
3893 * elf/rtld.c (map_doit): Load executable as lt_executable.
3894 (dl_main): Likewise.
3895
abe6d90c
JM
38962014-03-12 Joseph Myers <joseph@codesourcery.com>
3897
3898 [BZ #16642]
3899 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3900 (__ASSUME_PSELECT): Undefine.
3901
dd3946c6
AZ
39022014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3903
3904 [BZ #16689]
3905 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3906 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3907 static build.
3908 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3909 selector for static builds.
3910
c44496df
SP
39112014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3912
3913 [BZ #16695]
3914 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3915 key in the buffer.
3916
27c7220a
AZ
39172014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3918
57f41c40
AS
3919 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3920 IFUNC selector for static builds.
27c7220a 3921
600fa361
JM
39222014-03-11 Joseph Myers <joseph@codesourcery.com>
3923
76c96cf7
JM
3924 * sysdeps/mips/math_private.h [__mips_hard_float]
3925 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3926 libc_feresetround_mips_ctx.
3927 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3928 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3929 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3930
600fa361
JM
3931 [BZ #16677]
3932 * math/s_nextafter.c (__nextafter): Do not return value from
3933 overflowing computation.
3934 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3935 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3936 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3937 Likewise.
3938 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3939 Likewise.
3940 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3941 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3942
d7706c32
RM
39432014-03-11 Roland McGrath <roland@hack.frob.com>
3944
3945 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3946 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3947 Move sfi_sp use from the load-multiple (that no longer sets sp) to
3948 the new mov targetting sp.
3949
4facea47
AZ
39502014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3951
3952 [BZ #16683]
3953 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3954 Define it for static builds as well.
3955 (NO_BZERO_IMPL): Likewise.
3956
e65caf1f
VR
39572014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3958
3959 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3960 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3961 multiarch strspn for PPC64.
3962 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3963 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3964 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3965 (__libc_ifunc_impl_list): Likewise.
3966 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3967 multiarch optimizations
3968 * string/strspn.c (strspn): Using macro to redefine symbol name.
3969
ba9cc071
AZ
39702014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3971 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3972
3973 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3974 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3975 multiarch strncat for PPC64.
3976 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3977 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3979 (__libc_ifunc_impl_list): Likewise.
3980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3981 multiarch optimizations
3982
8b4ff974
SP
39832014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3984
3985 [BZ #16639]
3986 * nscd/nscd.service: Make service type forking.
3987
54b46a4b
AZ
39882014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3989
3990 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3991 sign in non default rounding modes.
3992 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3993
e9996ef7
JM
39942014-03-08 Joseph Myers <joseph@codesourcery.com>
3995
3996 * math/libm-test.inc (ALL_RM_TEST): New macro.
3997 (ceil_test): Use ALL_RM_TEST.
3998 (cimag_test): Likewise.
3999 (conj_test): Likewise.
4000 (copysign_test): Likewise.
4001 (cproj_test): Likewise.
4002 (creal_test): Likewise.
4003 (fabs_test): Likewise.
4004 (floor_test): Likewise.
4005 (fmax_test): Likewise.
4006 (fmin_test): Likewise.
4007 (fmod_test): Likewise.
4008 (fpclassify_test): Likewise.
4009 (frexp_test): Likewise.
4010 (ilogb_test): Likewise.
4011 (isfinite_test): Likewise.
4012 (finite_test): Likewise.
4013 (isgreater_test): Likewise.
4014 (isgreaterequal_test): Likewise.
4015 (isinf_test): Likewise.
4016 (isless_test): Likewise.
4017 (islessequal_test): Likewise.
4018 (islessgreater_test): Likewise.
4019 (isnan_test): Likewise.
4020 (isnormal_test): Likewise.
4021 (issignaling_test): Likewise.
4022 (isunordered_test): Likewise.
4023 (logb_test): Likewise.
4024 (logb_downward_test_data): Remove.
4025 (logb_test_downward): Likewise.
4026 (lround_test): Use ALL_RM_TEST.
4027 (llround_test): Likewise.
4028 (modf_test): Likewise.
4029 (nexttoward_test): Likewise.
4030 (remainder_test): Likewise.
4031 (drem_test): Likewise.
4032 (remainder_tonearest_test_data): Likewise.
4033 (remainder_test_tonearest): Likewise.
4034 (drem_test_tonearest): Likewise.
4035 (remainder_towardzero_test_data): Likewise.
4036 (remainder_test_towardzero): Likewise.
4037 (drem_test_towardzero): Likewise.
4038 (remainder_downward_test_data): Likewise.
4039 (remainder_test_downward): Likewise.
4040 (drem_test_downward): Likewise.
4041 (remainder_upward_test_data): Likewise.
4042 (remainder_test_upward): Likewise.
4043 (drem_test_upward): Likewise.
4044 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4045 (round_test): Use ALL_RM_TEST.
4046 (signbit_test): Likewise.
4047 (trunc_test): Likewise.
4048 (significand_test): Likewise.
4049 (main): Don't call removed functions.
4050
bc61d27c
JM
40512014-03-07 Joseph Myers <joseph@codesourcery.com>
4052
5c780849
JM
4053 [BZ #16674]
4054 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4055 || __USE_XOPEN2K8].
4056 (ILL_ILLOPN): Likewise.
4057 (ILL_ILLADR): Likewise.
4058 (ILL_ILLTRP): Likewise.
4059 (ILL_PRVOPC): Likewise.
4060 (ILL_PRVREG): Likewise.
4061 (ILL_COPROC): Likewise.
4062 (ILL_BADSTK): Likewise.
4063 (FPE_INTDIV): Likewise.
4064 (FPE_INTOVF): Likewise.
4065 (FPE_FLTDIV): Likewise.
4066 (FPE_FLTOVF): Likewise.
4067 (FPE_FLTUND): Likewise.
4068 (FPE_FLTRES): Likewise.
4069 (FPE_FLTINV): Likewise.
4070 (FPE_FLTSUB): Likewise.
4071 (SEGV_MAPERR): Likewise.
4072 (SEGV_ACCERR): Likewise.
4073 (BUS_ADRALN): Likewise.
4074 (BUS_ADRERR): Likewise.
4075 (BUS_OBJERR): Likewise.
4076 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4077 (TRAP_TRACE): Likewise.
4078 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4079 __USE_XOPEN2K8].
4080 (CLD_KILLED): Likewise.
4081 (CLD_DUMPED): Likewise.
4082 (CLD_TRAPPED): Likewise.
4083 (CLD_STOPPED): Likewise.
4084 (CLD_CONTINUED): Likewise.
4085 (POLL_IN): Likewise.
4086 (POLL_OUT): Likewise.
4087 (POLL_MSG): Likewise.
4088 (POLL_ERR): Likewise.
4089 (POLL_PRI): Likewise.
4090 (POLL_HUP): Likewise.
4091 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4092 Likewise.
4093 (ILL_ILLOPN): Likewise.
4094 (ILL_ILLADR): Likewise.
4095 (ILL_ILLTRP): Likewise.
4096 (ILL_PRVOPC): Likewise.
4097 (ILL_PRVREG): Likewise.
4098 (ILL_COPROC): Likewise.
4099 (ILL_BADSTK): Likewise.
4100 (FPE_INTDIV): Likewise.
4101 (FPE_INTOVF): Likewise.
4102 (FPE_FLTDIV): Likewise.
4103 (FPE_FLTOVF): Likewise.
4104 (FPE_FLTUND): Likewise.
4105 (FPE_FLTRES): Likewise.
4106 (FPE_FLTINV): Likewise.
4107 (FPE_FLTSUB): Likewise.
4108 (SEGV_MAPERR): Likewise.
4109 (SEGV_ACCERR): Likewise.
4110 (BUS_ADRALN): Likewise.
4111 (BUS_ADRERR): Likewise.
4112 (BUS_OBJERR): Likewise.
4113 (BUS_MCEERR_AR): Likewise.
4114 (BUS_MCEERR_AO): Likewise.
4115 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4116 (TRAP_TRACE): Likewise.
4117 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4118 __USE_XOPEN2K8].
4119 (CLD_KILLED): Likewise.
4120 (CLD_DUMPED): Likewise.
4121 (CLD_TRAPPED): Likewise.
4122 (CLD_STOPPED): Likewise.
4123 (CLD_CONTINUED): Likewise.
4124 (POLL_IN): Likewise.
4125 (POLL_OUT): Likewise.
4126 (POLL_MSG): Likewise.
4127 (POLL_ERR): Likewise.
4128 (POLL_PRI): Likewise.
4129 (POLL_HUP): Likewise.
4130 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4131 (ILL_ILLOPN): Likewise.
4132 (ILL_ILLADR): Likewise.
4133 (ILL_ILLTRP): Likewise.
4134 (ILL_PRVOPC): Likewise.
4135 (ILL_PRVREG): Likewise.
4136 (ILL_COPROC): Likewise.
4137 (ILL_BADSTK): Likewise.
4138 (FPE_INTDIV): Likewise.
4139 (FPE_INTOVF): Likewise.
4140 (FPE_FLTDIV): Likewise.
4141 (FPE_FLTOVF): Likewise.
4142 (FPE_FLTUND): Likewise.
4143 (FPE_FLTRES): Likewise.
4144 (FPE_FLTINV): Likewise.
4145 (FPE_FLTSUB): Likewise.
4146 (SEGV_MAPERR): Likewise.
4147 (SEGV_ACCERR): Likewise.
4148 (BUS_ADRALN): Likewise.
4149 (BUS_ADRERR): Likewise.
4150 (BUS_OBJERR): Likewise.
4151 (BUS_MCEERR_AR): Likewise.
4152 (BUS_MCEERR_AO): Likewise.
4153 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4154 (TRAP_TRACE): Likewise.
4155 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4156 __USE_XOPEN2K8].
4157 (CLD_KILLED): Likewise.
4158 (CLD_DUMPED): Likewise.
4159 (CLD_TRAPPED): Likewise.
4160 (CLD_STOPPED): Likewise.
4161 (CLD_CONTINUED): Likewise.
4162 (POLL_IN): Likewise.
4163 (POLL_OUT): Likewise.
4164 (POLL_MSG): Likewise.
4165 (POLL_ERR): Likewise.
4166 (POLL_PRI): Likewise.
4167 (POLL_HUP): Likewise.
4168 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4169 Likewise.
4170 (ILL_ILLOPN): Likewise.
4171 (ILL_ILLADR): Likewise.
4172 (ILL_ILLTRP): Likewise.
4173 (ILL_PRVOPC): Likewise.
4174 (ILL_PRVREG): Likewise.
4175 (ILL_COPROC): Likewise.
4176 (ILL_BADSTK): Likewise.
4177 (ILL_BADIADDR): Likewise.
4178 (ILL_BREAK): Likewise.
4179 (FPE_INTDIV): Likewise.
4180 (FPE_INTOVF): Likewise.
4181 (FPE_FLTDIV): Likewise.
4182 (FPE_FLTOVF): Likewise.
4183 (FPE_FLTUND): Likewise.
4184 (FPE_FLTRES): Likewise.
4185 (FPE_FLTINV): Likewise.
4186 (FPE_FLTSUB): Likewise.
4187 (FPE_DECOVF): Likewise.
4188 (FPE_DECDIV): Likewise.
4189 (FPE_DECERR): Likewise.
4190 (FPE_INVASC): Likewise.
4191 (FPE_INVDEC): Likewise.
4192 (SEGV_MAPERR): Likewise.
4193 (SEGV_ACCERR): Likewise.
4194 (SEGV_PSTKOVF): Likewise.
4195 (BUS_ADRALN): Likewise.
4196 (BUS_ADRERR): Likewise.
4197 (BUS_OBJERR): Likewise.
4198 (BUS_MCEERR_AR): Likewise.
4199 (BUS_MCEERR_AO): Likewise.
4200 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4201 (TRAP_TRACE): Likewise.
4202 (TRAP_BRANCH): Likewise.
4203 (TRAP_HWBKPT): Likewise.
4204 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4205 __USE_XOPEN2K8].
4206 (CLD_KILLED): Likewise.
4207 (CLD_DUMPED): Likewise.
4208 (CLD_TRAPPED): Likewise.
4209 (CLD_STOPPED): Likewise.
4210 (CLD_CONTINUED): Likewise.
4211 (POLL_IN): Likewise.
4212 (POLL_OUT): Likewise.
4213 (POLL_MSG): Likewise.
4214 (POLL_ERR): Likewise.
4215 (POLL_PRI): Likewise.
4216 (POLL_HUP): Likewise.
4217 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4218 (ILL_ILLOPN): Likewise.
4219 (ILL_ILLADR): Likewise.
4220 (ILL_ILLTRP): Likewise.
4221 (ILL_PRVOPC): Likewise.
4222 (ILL_PRVREG): Likewise.
4223 (ILL_COPROC): Likewise.
4224 (ILL_BADSTK): Likewise.
4225 (FPE_INTDIV): Likewise.
4226 (FPE_INTOVF): Likewise.
4227 (FPE_FLTDIV): Likewise.
4228 (FPE_FLTOVF): Likewise.
4229 (FPE_FLTUND): Likewise.
4230 (FPE_FLTRES): Likewise.
4231 (FPE_FLTINV): Likewise.
4232 (FPE_FLTSUB): Likewise.
4233 (SEGV_MAPERR): Likewise.
4234 (SEGV_ACCERR): Likewise.
4235 (BUS_ADRALN): Likewise.
4236 (BUS_ADRERR): Likewise.
4237 (BUS_OBJERR): Likewise.
4238 (BUS_MCEERR_AR): Likewise.
4239 (BUS_MCEERR_AO): Likewise.
4240 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4241 (TRAP_TRACE): Likewise.
4242 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4243 __USE_XOPEN2K8].
4244 (CLD_KILLED): Likewise.
4245 (CLD_DUMPED): Likewise.
4246 (CLD_TRAPPED): Likewise.
4247 (CLD_STOPPED): Likewise.
4248 (CLD_CONTINUED): Likewise.
4249 (POLL_IN): Likewise.
4250 (POLL_OUT): Likewise.
4251 (POLL_MSG): Likewise.
4252 (POLL_ERR): Likewise.
4253 (POLL_PRI): Likewise.
4254 (POLL_HUP): Likewise.
4255 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4256 (ILL_ILLOPN): Likewise.
4257 (ILL_ILLADR): Likewise.
4258 (ILL_ILLTRP): Likewise.
4259 (ILL_PRVOPC): Likewise.
4260 (ILL_PRVREG): Likewise.
4261 (ILL_COPROC): Likewise.
4262 (ILL_BADSTK): Likewise.
4263 (FPE_INTDIV): Likewise.
4264 (FPE_INTOVF): Likewise.
4265 (FPE_FLTDIV): Likewise.
4266 (FPE_FLTOVF): Likewise.
4267 (FPE_FLTUND): Likewise.
4268 (FPE_FLTRES): Likewise.
4269 (FPE_FLTINV): Likewise.
4270 (FPE_FLTSUB): Likewise.
4271 (SEGV_MAPERR): Likewise.
4272 (SEGV_ACCERR): Likewise.
4273 (BUS_ADRALN): Likewise.
4274 (BUS_ADRERR): Likewise.
4275 (BUS_OBJERR): Likewise.
4276 (BUS_MCEERR_AR): Likewise.
4277 (BUS_MCEERR_AO): Likewise.
4278 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4279 (TRAP_TRACE): Likewise.
4280 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4281 __USE_XOPEN2K8].
4282 (CLD_KILLED): Likewise.
4283 (CLD_DUMPED): Likewise.
4284 (CLD_TRAPPED): Likewise.
4285 (CLD_STOPPED): Likewise.
4286 (CLD_CONTINUED): Likewise.
4287 (POLL_IN): Likewise.
4288 (POLL_OUT): Likewise.
4289 (POLL_MSG): Likewise.
4290 (POLL_ERR): Likewise.
4291 (POLL_PRI): Likewise.
4292 (POLL_HUP): Likewise.
4293 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4294 (ILL_ILLOPN): Likewise.
4295 (ILL_ILLADR): Likewise.
4296 (ILL_ILLTRP): Likewise.
4297 (ILL_PRVOPC): Likewise.
4298 (ILL_PRVREG): Likewise.
4299 (ILL_COPROC): Likewise.
4300 (ILL_BADSTK): Likewise.
4301 (FPE_INTDIV): Likewise.
4302 (FPE_INTOVF): Likewise.
4303 (FPE_FLTDIV): Likewise.
4304 (FPE_FLTOVF): Likewise.
4305 (FPE_FLTUND): Likewise.
4306 (FPE_FLTRES): Likewise.
4307 (FPE_FLTINV): Likewise.
4308 (FPE_FLTSUB): Likewise.
4309 (SEGV_MAPERR): Likewise.
4310 (SEGV_ACCERR): Likewise.
4311 (BUS_ADRALN): Likewise.
4312 (BUS_ADRERR): Likewise.
4313 (BUS_OBJERR): Likewise.
4314 (BUS_MCEERR_AR): Likewise.
4315 (BUS_MCEERR_AO): Likewise.
4316 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4317 (TRAP_TRACE): Likewise.
4318 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4319 __USE_XOPEN2K8].
4320 (CLD_KILLED): Likewise.
4321 (CLD_DUMPED): Likewise.
4322 (CLD_TRAPPED): Likewise.
4323 (CLD_STOPPED): Likewise.
4324 (CLD_CONTINUED): Likewise.
4325 (POLL_IN): Likewise.
4326 (POLL_OUT): Likewise.
4327 (POLL_MSG): Likewise.
4328 (POLL_ERR): Likewise.
4329 (POLL_PRI): Likewise.
4330 (POLL_HUP): Likewise.
4331 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4332 (ILL_ILLOPN): Likewise.
4333 (ILL_ILLADR): Likewise.
4334 (ILL_ILLTRP): Likewise.
4335 (ILL_PRVOPC): Likewise.
4336 (ILL_PRVREG): Likewise.
4337 (ILL_COPROC): Likewise.
4338 (ILL_BADSTK): Likewise.
4339 (ILL_DBLFLT): Likewise.
4340 (ILL_HARDWALL): Likewise.
4341 (FPE_INTDIV): Likewise.
4342 (FPE_INTOVF): Likewise.
4343 (FPE_FLTDIV): Likewise.
4344 (FPE_FLTOVF): Likewise.
4345 (FPE_FLTUND): Likewise.
4346 (FPE_FLTRES): Likewise.
4347 (FPE_FLTINV): Likewise.
4348 (FPE_FLTSUB): Likewise.
4349 (SEGV_MAPERR): Likewise.
4350 (SEGV_ACCERR): Likewise.
4351 (BUS_ADRALN): Likewise.
4352 (BUS_ADRERR): Likewise.
4353 (BUS_OBJERR): Likewise.
4354 (BUS_MCEERR_AR): Likewise.
4355 (BUS_MCEERR_AO): Likewise.
4356 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4357 (TRAP_TRACE): Likewise.
4358 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4359 __USE_XOPEN2K8].
4360 (CLD_KILLED): Likewise.
4361 (CLD_DUMPED): Likewise.
4362 (CLD_TRAPPED): Likewise.
4363 (CLD_STOPPED): Likewise.
4364 (CLD_CONTINUED): Likewise.
4365 (POLL_IN): Likewise.
4366 (POLL_OUT): Likewise.
4367 (POLL_MSG): Likewise.
4368 (POLL_ERR): Likewise.
4369 (POLL_PRI): Likewise.
4370 (POLL_HUP): Likewise.
4371 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4372 (ILL_ILLOPN): Likewise.
4373 (ILL_ILLADR): Likewise.
4374 (ILL_ILLTRP): Likewise.
4375 (ILL_PRVOPC): Likewise.
4376 (ILL_PRVREG): Likewise.
4377 (ILL_COPROC): Likewise.
4378 (ILL_BADSTK): Likewise.
4379 (FPE_INTDIV): Likewise.
4380 (FPE_INTOVF): Likewise.
4381 (FPE_FLTDIV): Likewise.
4382 (FPE_FLTOVF): Likewise.
4383 (FPE_FLTUND): Likewise.
4384 (FPE_FLTRES): Likewise.
4385 (FPE_FLTINV): Likewise.
4386 (FPE_FLTSUB): Likewise.
4387 (SEGV_MAPERR): Likewise.
4388 (SEGV_ACCERR): Likewise.
4389 (BUS_ADRALN): Likewise.
4390 (BUS_ADRERR): Likewise.
4391 (BUS_OBJERR): Likewise.
4392 (BUS_MCEERR_AR): Likewise.
4393 (BUS_MCEERR_AO): Likewise.
4394 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4395 (TRAP_TRACE): Likewise.
4396 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4397 __USE_XOPEN2K8].
4398 (CLD_KILLED): Likewise.
4399 (CLD_DUMPED): Likewise.
4400 (CLD_TRAPPED): Likewise.
4401 (CLD_STOPPED): Likewise.
4402 (CLD_CONTINUED): Likewise.
4403 (POLL_IN): Likewise.
4404 (POLL_OUT): Likewise.
4405 (POLL_MSG): Likewise.
4406 (POLL_ERR): Likewise.
4407 (POLL_PRI): Likewise.
4408 (POLL_HUP): Likewise.
4409 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4410 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4411
bc61d27c
JM
4412 [BZ #16670]
4413 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4414 before #include of <time.h>.
4415 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4416 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4417 (test-xfail-UNIX98/sched.h/conform): Likewise.
4418
302949e2
MS
44192014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4420
4421 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4422 error absence of trapping exception support.
4423 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4424
a00f522a
JM
44252014-03-07 Joseph Myers <joseph@codesourcery.com>
4426
6f99f280
JM
4427 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4428 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4429 * timezone/Makefile (testdata): Move definition above include of
4430 Rules.
4431 (test-zones): New variable.
4432 (tests-special): Add zone files.
4433 (build-testdata): Use $(evaluate-test).
4434
0b20a9e8
JM
4435 * elf/Makefile (tests-special): Rename tests to end with .out.
4436 ($(objpfx)noload-mem): Likewise.
4437 ($(objpfx)tst-leaks1-mem): Likewise.
4438 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4439 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4440 $(objpfx)test-iconvconfig.out.
4441 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4442 set -e inside subshell and redirect output to file.
4443 * iconvdata/Makefile (generated): Rename tests to end with .out.
4444 Correct type.
4445 (tests-special): Rename tests to end with .out.
4446 ($(objpfx)mtrace-tst-loading): Likewise.
4447 * intl/Makefile (generated): Likewise.
4448 (tests-special): Likewise.
4449 ($(objpfx)mtrace-tst-gettext): Likewise.
4450 * misc/Makefile (generated): Likewise.
4451 (tests-special): Likewise.
4452 ($(objpfx)tst-error1-mem): Likewise.
4453 * nptl/Makefile (tests-special): Likewise.
4454 ($(objpfx)tst-stack3-mem): Likewise.
4455 (generated): Likewise.
4456 * posix/Makefile (generated): Likewise.
4457 (tests-special): Likewise.
4458 (xtests-special): Likewise.
4459 ($(objpfx)tst-fnmatch-mem): Likewise.
4460 ($(objpfx)bug-regex2-mem): Likewise.
4461 ($(objpfx)bug-regex14-mem): Likewise.
4462 ($(objpfx)bug-regex21-mem): Likewise.
4463 ($(objpfx)bug-regex31-mem): Likewise.
4464 ($(objpfx)tst-vfork3-mem): Likewise.
4465 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4466 ($(objpfx)tst-pcre-mem): Likewise.
4467 ($(objpfx)tst-boost-mem): Likewise.
4468 ($(objpfx)bug-ga2-mem): Likewise.
4469 ($(objpfx)bug-glob2-mem): Likewise.
4470 * resolv/Makefile (generate): Likewise.
4471 (tests-special): Likewise.
4472 (xtests-special): Likewise.
4473 (generated): Likewise.
4474 ($(objpfx)mtrace-tst-leaks): Likewise.
4475 ($(objpfx)mtrace-tst-leaks2): Likewise.
4476
265d52ab
JM
4477 * scripts/merge-test-results.sh: New file.
4478 * Makefile (tests-special-notdir): New variable.
4479 (tests): Run merge-test-results.sh.
4480 (xtests): Likewise.
4481 * Rules (tests-special-notdir): New variable.
4482 (xtests-special-notdir): Likewise.
4483 (tests): Run merge-test-results.sh
4484 (xtests): Likewise.
4485
54ee292d
JM
4486 * Makeconfig (test-xfail-name): New variable.
4487 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4488 compute variable name for expected failures.
4489 * conform/Makefile (conformtest-headers-data): New variable.
4490 (conformtest-standards): Likewise.
4491 (conformtest-headers-ISO): Likewise.
4492 (conformtest-headers-ISO99): Likewise.
4493 (conformtest-headers-ISO11): Likewise.
4494 (conformtest-headers-POSIX): Likewise.
4495 (conformtest-headers-XPG3): Likewise.
4496 (conformtest-headers-XPG4): Likewise.
4497 (conformtest-headers-UNIX98): Likewise.
4498 (conformtest-headers-XOPEN2K): Likewise.
4499 (conformtest-headers-POSIX2008): Likewise.
4500 (conformtest-headers-XOPEN2K8): Likewise.
4501 (conformtest-header-list-base): Likewise.
4502 (conformtest-header-list-tests): Likewise.
4503 (conformtest-header-base): Likewise.
4504 (conformtest-header-tests): Likewise.
4505 (tests-special): Add $(conformtest-header-list-tests). If
4506 [$(fast-check) && !$(cross-compiling)], add
4507 $(conformtest-header-tests) instead of
4508 $(objpfx)run-conformtest.out.
4509 (generated): Add $(conformtest-header-list-base). If
4510 [$(fast-check) && !$(cross-compiling)], add
4511 $(conformtest-header-base). Remove previous setting.
4512 ($(conformtest-header-list-tests)): New target.
4513 (test-xfail-run-conformtest): Remove variable.
4514 ($(objpfx)run-conformtest.out): Remove target.
4515 (test-xfail-ISO11/complex.h/conform): New variable.
4516 (test-xfail-ISO11/stdalign.h/conform): Likewise.
4517 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4518 (test-xfail-XPG3/varargs.h/conform): Likewise.
4519 (test-xfail-XPG4/varargs.h/conform): Likewise.
4520 (test-xfail-UNIX98/varargs.h/conform): Likewise.
4521 (test-xfail-XPG4/ndbm.h/conform): Likewise.
4522 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
4523 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
4524 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
4525 (test-xfail-XPG3/fcntl.h/conform): Likewise.
4526 (test-xfail-XPG3/ftw.h/conform): Likewise.
4527 (test-xfail-XPG3/grp.h/conform): Likewise.
4528 (test-xfail-XPG3/langinfo.h/conform): Likewise.
4529 (test-xfail-XPG3/limits.h/conform): Likewise.
4530 (test-xfail-XPG3/pwd.h/conform): Likewise.
4531 (test-xfail-XPG3/search.h/conform): Likewise.
4532 (test-xfail-XPG3/signal.h/conform): Likewise.
4533 (test-xfail-XPG3/stdio.h/conform): Likewise.
4534 (test-xfail-XPG3/stdlib.h/conform): Likewise.
4535 (test-xfail-XPG3/string.h/conform): Likewise.
4536 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
4537 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
4538 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4539 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4540 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
4541 (test-xfail-XPG3/sys/types.h/conform): Likewise.
4542 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
4543 (test-xfail-XPG3/termios.h/conform): Likewise.
4544 (test-xfail-XPG3/time.h/conform): Likewise.
4545 (test-xfail-XPG3/unistd.h/conform): Likewise.
4546 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
4547 (test-xfail-XPG4/fcntl.h/conform): Likewise.
4548 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4549 (test-xfail-XPG4/netdb.h/conform): Likewise.
4550 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
4551 (test-xfail-XPG4/signal.h/conform): Likewise.
4552 (test-xfail-XPG4/stdio.h/conform): Likewise.
4553 (test-xfail-XPG4/stdlib.h/conform): Likewise.
4554 (test-xfail-XPG4/stropts.h/conform): Likewise.
4555 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4556 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4557 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4558 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4559 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4560 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
4561 (test-xfail-XPG4/sys/time.h/conform): Likewise.
4562 (test-xfail-XPG4/sys/types.h/conform): Likewise.
4563 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
4564 (test-xfail-XPG4/termios.h/conform): Likewise.
4565 (test-xfail-XPG4/ucontext.h/conform): Likewise.
4566 (test-xfail-XPG4/unistd.h/conform): Likewise.
4567 (test-xfail-XPG4/utmpx.h/conform): Likewise.
4568 (test-xfail-POSIX/sched.h/conform): Likewise.
4569 (test-xfail-POSIX/signal.h/conform): Likewise.
4570 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4571 (test-xfail-POSIX/tar.h/conform): Likewise.
4572 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4573 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
4574 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4575 (test-xfail-UNIX98/netdb.h/conform): Likewise.
4576 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4577 (test-xfail-UNIX98/sched.h/conform): Likewise.
4578 (test-xfail-UNIX98/signal.h/conform): Likewise.
4579 (test-xfail-UNIX98/stdio.h/conform): Likewise.
4580 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4581 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4582 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4583 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4584 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4585 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4586 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4587 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4588 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
4589 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
4590 (test-xfail-UNIX98/unistd.h/conform): Likewise.
4591 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4592 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
4593 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
4594 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4595 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
4596 (test-xfail-XOPEN2K/math.h/conform): Likewise.
4597 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4598 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4599 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4600 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
4601 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
4602 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
4603 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
4604 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4605 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4606 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4607 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4608 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4609 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4610 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
4611 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
4612 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4613 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
4614 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4615 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
4616 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4617 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4618 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4619 (test-xfail-POSIX2008/signal.h/conform): Likewise.
4620 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4621 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4622 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
4623 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4624 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4625 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
4626 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4627 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4628 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4629 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
4630 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
4631 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4632 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4633 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4634 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
4635 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4636 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4637 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4638 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4639 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
4640 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4641 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4642 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
4643 (conformtest-cc-flags): Likewise.
4644 ($(conformtest-header-tests): New target.
4645 * conform/check-header-lists.sh: New file.
4646 * conform/run-conformtest.sh: Remove.
4647
a00f522a
JM
4648 * conform/conformtest.pl: Allow ' and \ in values given for
4649 constants.
4650 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
4651 inclusion.
4652 [POSIX] (sys/types.h): Likewise.
4653 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
4654 inclusion.
4655 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
4656 inclusion.
4657 * conform/data/signal.h-data (SIGIO): Remove expectation.
4658 [XPG3] (SIGBUS): Do not expect.
4659 [POSIX || XPG3] (SIGPOLL): Likewise.
4660 [POSIX || XPG3] (SIGPROF): Likewise.
4661 [POSIX || XPG3] (SIGSYS): Likewise.
4662 [XPG3] (SIGTRAP): Likewise.
4663 [POSIX || XPG3] (SIGURG): Likewise.
4664 [POSIX || XPG3] (SIGVTALRM): Likewise.
4665 [POSIX || XPG3] (SIGXCPU): Likewise.
4666 [POSIX || XPG3] (SIGXFSZ): Likewise.
4667 [POSIX] (SA_SIGINFO): Expect.
4668 [XPG3] (siginfo_t): Do not expect type or contents.
4669 [POSIX] (si_pid): Do not expect element.
4670 [POSIX] (si_uid): Likewise.
4671 [POSIX] (si_addr): Likewise.
4672 [POSIX] (si_status): Likewise.
4673 [POSIX] (si_band): Likewise.
4674 [XPG4] (si_value): Likewise.
4675 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
4676 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
4677 [POSIX || XPG3] (ILL_ILLADR): Likewise.
4678 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
4679 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
4680 [POSIX || XPG3] (ILL_PRVREG): Likewise.
4681 [POSIX || XPG3] (ILL_COPROC): Likewise.
4682 [POSIX || XPG3] (ILL_BADSTK): Likewise.
4683 [POSIX || XPG3] (FPE_INTDIV): Likewise.
4684 [POSIX || XPG3] (FPE_INTOVF): Likewise.
4685 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
4686 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
4687 [POSIX || XPG3] (FPE_FLTUND): Likewise.
4688 [POSIX || XPG3] (FPE_FLTRES): Likewise.
4689 [POSIX || XPG3] (FPE_FLTINV): Likewise.
4690 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
4691 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
4692 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
4693 [POSIX || XPG3] (BUS_ADRALN): Likewise.
4694 [POSIX || XPG3] (BUS_ADRERR): Likewise.
4695 [POSIX || XPG3] (BUS_OBJERR): Likewise.
4696 [POSIX || XPG3] (CLD_EXITED): Likewise.
4697 [POSIX || XPG3] (CLD_KILLED): Likewise.
4698 [POSIX || XPG3] (CLD_DUMPED): Likewise.
4699 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
4700 [POSIX || XPG3] (CLD_STOPPED): Likewise.
4701 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
4702 [POSIX || XPG3] (POLL_IN): Likewise.
4703 [POSIX || XPG3] (POLL_OUT): Likewise.
4704 [POSIX || XPG3] (POLL_MSG): Likewise.
4705 [POSIX || XPG3] (POLL_ERR): Likewise.
4706 [POSIX || XPG3] (POLL_PRI): Likewise.
4707 [POSIX || XPG3] (POLL_HUP): Likewise.
4708 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
4709 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4710 (SIG*): Do not allow.
4711 [XPG3] (si_*): Likewise.
4712 [XPG3] (SI_*): Likewise.
4713 [XPG3 || XPG4] (sigev_*): Likewise.
4714 [XPG3 || XPG4] (SIGEV_*): Likewise.
4715 [XPG3 || XPG4] (sival_*): Likewise.
4716 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4717 [POSIX || XPG3] (BUS_*): Likewise.
4718 [POSIX || XPG3] (CLD_*): Likewise.
4719 [POSIX || XPG3] (FPE_*): Likewise.
4720 [POSIX || XPG3] (ILL_*): Likewise.
4721 [POSIX || XPG3] (POLL_*): Likewise.
4722 [POSIX || XPG3] (SEGV_*): Likewise.
4723 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4724 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4725 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4726 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4727 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4728 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4729 Specify type and value.
4730 (TVERSLEN): Likewise.
4731 (REGTYPE): Likewise.
4732 (AREGTYPE): Likewise.
4733 (LNKTYPE): Likewise.
4734 (SYMTYPE): Likewise.
4735 (CHRTYPE): Likewise.
4736 (BLKTYPE): Likewise.
4737 (DIRTYPE): Likewise.
4738 (FIFOTYPE): Likewise.
4739 (CONTTYPE): Likewise.
4740 (TSUID): Likewise.
4741 (TSGID): Likewise.
4742 (TSVTX): Likewise.
4743 (TUREAD): Likewise.
4744 (TUWRITE): Likewise.
4745 (TUEXEC): Likewise.
4746 (TGREAD): Likewise.
4747 (TGWRITE): Likewise.
4748 (TGEXEC): Likewise.
4749 (TOREAD): Likewise.
4750 (TOWRITE): Likewise.
4751 (TOEXEC): Likewise.
4752 [POSIX] (TSVTX): Expect constant.
4753
aa97dee1
JM
47542014-03-06 Joseph Myers <joseph@codesourcery.com>
4755
f214606a
JM
4756 * Makefile (tests): Change dependencies to ....
4757 (tests-special): ... additions to this variable.
4758 (tests): Depend on $(tests-special).
4759 * Makerules (check-abi-list): New variable.
4760 (check-abi): Depend on $(check-abi-list).
4761 [$(subdir) = elf] (tests-special): Add
4762 $(objpfx)check-abi-libc.out.
4763 [$(build-shared) = yes && subdir] (tests-special): Add
4764 $(check-abi-list).
4765 [$(build-shared) = yes && subdir] (tests): Do not depend on
4766 check-abi.
4767 * Rules (tests): Depend on $(tests-special).
4768 (xtests): Depend on $(xtests-special).
4769 * catgets/Makefile (tests): Change dependencies to ....
4770 (tests-special): ... additions to this variable.
4771 * conform/Makefile (tests): Change dependencies to ....
4772 (tests-special): ... additions to this variable.
4773 * elf/Makefile (tests): Change dependencies to ....
4774 (tests-special): ... additions to this variable.
4775 * grp/Makefile (tests): Change dependencies to ....
4776 (tests-special): ... additions to this variable.
4777 * iconv/Makefile (xtests): Change dependencies to ....
4778 (xtests-special): ... additions to this variable.
4779 * iconvdata/Makefile (tests): Change dependencies to ....
4780 (tests-special): ... additions to this variable.
4781 * intl/Makefile (tests): Change dependencies to ....
4782 (tests-special): ... additions to this variable. Also add
4783 $(objpfx)tst-gettext.out.
4784 * io/Makefile (tests): Change dependencies to ....
4785 (tests-special): ... additions to this variable.
4786 * libio/Makefile (tests): Change dependencies to ....
4787 (tests-special): ... additions to this variable.
4788 * malloc/Makefile (tests): Change dependencies to ....
4789 (tests-special): ... additions to this variable.
4790 * misc/Makefile (tests): Change dependencies to ....
4791 (tests-special): ... additions to this variable.
4792 * nptl/Makefile (tests): Change dependencies to ....
4793 (tests-special): ... additions to this variable.
4794 * nptl_db/Makefile (tests): Change dependencies to ....
4795 (tests-special): ... additions to this variable.
4796 * posix/Makefile (tests): Change dependencies to ....
4797 (tests-special): ... additions to this variable.
4798 (xtests): Change dependencies to ....
4799 (xtests-special): ... additions to this variable.
4800 * resolv/Makefile (tests): Change dependencies to ....
4801 (tests-special): ... additions to this variable.
4802 (xtests): Change dependencies to ....
4803 (xtests-special): ... additions to this variable.
4804 * stdio-common/Makefile (tests): Change dependencies to ....
4805 (tests-special): ... additions to this variable.
4806 (do-tst-unbputc): Remove target.
4807 (do-tst-printf): Likewise.
4808 * stdlib/Makefile (tests): Change dependencies to ....
4809 (tests-special): ... additions to this variable.
4810 * string/Makefile (tests): Change dependencies to ....
4811 (tests-special): ... additions to this variable.
4812 * sysdeps/x86/Makefile (tests): Change dependencies to ....
4813 (tests-special): ... additions to this variable.
4814
81700b53
JM
4815 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4816 whole file.
4817 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4818 whole file.
4819 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4820 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4821
2ea18461
JM
4822 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4823 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4824 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4825 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4826 * conform/data/libgen.h-data [XPG3]: Likewise.
4827 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4828 * conform/data/ndbm.h-data [XPG3]: Likewise.
4829 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4830 * conform/data/netdb.h-data [XPG3]: Likewise.
4831 * conform/data/netinet/in.h-data [XPG3]: Likewise.
4832 * conform/data/poll.h-data [XPG3]: Likewise.
4833 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4834 * conform/data/strings.h-data [XPG3]: Likewise.
4835 * conform/data/stropts.h-data [XPG3]: Likewise.
4836 * conform/data/sys/mman.h-data [XPG3]: Likewise.
4837 * conform/data/sys/resource.h-data [XPG3]: Likewise.
4838 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4839 Likewise.
4840 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4841 * conform/data/sys/time.h-data [XPG3]: Likewise.
4842 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4843 * conform/data/sys/uio.h-data [XPG3]: Likewise.
4844 * conform/data/sys/un.h-data [XPG3]: Likewise.
4845 * conform/data/syslog.h-data [XPG3]: Likewise.
4846 * conform/data/ucontext.h-data [XPG3]: Likewise.
4847 * conform/data/utmpx.h-data [XPG3]: Likewise.
4848 * conform/data/varargs.h-data [UNIX98]: Enable file.
4849
355bc986
JM
4850 * manual/Makefile (INSTALL_INFO): Remove variable setting.
4851
215db402
JM
4852 * math/libm-test.inc (struct test_f_f_data): Move expected results
4853 into structure for each rounding mode.
4854 (struct test_ff_f_data): Likewise.
4855 (struct test_ff_f_data_nexttoward): Likewise.
4856 (struct test_fi_f_data): Likewise.
4857 (struct test_fl_f_data): Likewise.
4858 (struct test_if_f_data): Likewise.
4859 (struct test_fff_f_data): Likewise.
4860 (struct test_c_f_data): Likewise.
4861 (struct test_f_f1_data): Likewise.
4862 (struct test_fF_f1_data): Likewise.
4863 (struct test_ffI_f1_data): Likewise.
4864 (struct test_c_c_data): Likewise.
4865 (struct test_cc_c_data): Likewise.
4866 (struct test_f_i_data): Likewise.
4867 (struct test_ff_i_data): Likewise.
4868 (struct test_f_l_data): Likewise.
4869 (struct test_f_L_data): Likewise.
4870 (struct test_fFF_11_data): Likewise.
4871 (RM_): New macro.
4872 (RM_FE_DOWNWARD): Likewise.
4873 (RM_FE_TONEAREST): Likewise.
4874 (RM_FE_TOWARDZERO): Likewise.
4875 (RM_FE_UPWARD): Likewise.
4876 (RUN_TEST_LOOP_f_f): Update references to expected results.
4877 (RUN_TEST_LOOP_2_f): Likewise.
4878 (RUN_TEST_LOOP_fff_f): Likewise.
4879 (RUN_TEST_LOOP_c_f): Likewise.
4880 (RUN_TEST_LOOP_f_f1): Likewise.
4881 (RUN_TEST_LOOP_fF_f1): Likewise.
4882 (RUN_TEST_LOOP_fI_f1): Likewise.
4883 (RUN_TEST_LOOP_ffI_f1): Likewise.
4884 (RUN_TEST_LOOP_c_c): Likewise.
4885 (RUN_TEST_LOOP_cc_c): Likewise.
4886 (RUN_TEST_LOOP_f_i): Likewise.
4887 (RUN_TEST_LOOP_f_i_tg): Likewise.
4888 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4889 (RUN_TEST_LOOP_f_b): Likewise.
4890 (RUN_TEST_LOOP_f_b_tg): Likewise.
4891 (RUN_TEST_LOOP_f_l): Likewise.
4892 (RUN_TEST_LOOP_f_L): Likewise.
4893 (RUN_TEST_LOOP_fFF_11): Likewise.
4894 * math/gen-libm-test.pl (parse_args): Output four copies of
4895 expected results for each test.
4896
67737b8f
JM
4897 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4898 (__ASSUME_UTIMES): Remove.
4899 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4900 (__ASSUME_UTIMES): Likewise.
4901
aa97dee1
JM
4902 * math/gen-auto-libm-tests.c: Update comment on output format.
4903 (output_for_one_input_case): Generate before-rounding and
4904 after-rounding information as conditions on output flags not
4905 floating-point format.
4906 * math/auto-libm-test-out: Regenerated.
4907 * math/gen-libm-test.pl (cond_value): New function.
4908 (or_cond_value): Use cond_value.
4909 (generate_testfile): Handle conditional exceptions.
4910
e6b6a857
JM
49112014-03-05 Joseph Myers <joseph@codesourcery.com>
4912
2f0a0f44
JM
4913 * math/libm-test.inc (max_valid_error): New variable.
4914 (init_max_error): Take new argument specifying whether function
4915 results are exactly determined. Set max_valid_error and bound
4916 other variables for errors based on this argument.
4917 (set_max_error): Do not record results above max_valid_error.
4918 (check_float_internal): Only accept errors of up to 0.5ulps if
4919 also at most max_valid_error.
4920 (START): Take new argument EXACT and pass it to init_max_error.
4921 (acos_test): Update call to START.
4922 (acos_test_tonearest): Likewise.
4923 (acos_test_towardzero): Likewise.
4924 (acos_test_downward): Likewise.
4925 (acos_test_upward): Likewise.
4926 (acosh_test): Likewise.
4927 (asin_test): Likewise.
4928 (asin_test_tonearest): Likewise.
4929 (asin_test_towardzero): Likewise.
4930 (asin_test_downward): Likewise.
4931 (asin_test_upward): Likewise.
4932 (asinh_test): Likewise.
4933 (atan_test): Likewise.
4934 (atanh_test): Likewise.
4935 (atan2_test): Likewise.
4936 (cabs_test): Likewise.
4937 (cacos_test): Likewise.
4938 (cacosh_test): Likewise.
4939 (carg_test): Likewise.
4940 (casin_test): Likewise.
4941 (casinh_test): Likewise.
4942 (catan_test): Likewise.
4943 (catanh_test): Likewise.
4944 (cbrt_test): Likewise.
4945 (ccos_test): Likewise.
4946 (ccosh_test): Likewise.
4947 (ceil_test): Likewise.
4948 (cexp_test): Likewise.
4949 (cimag_test): Likewise.
4950 (clog_test): Likewise.
4951 (clog10_test): Likewise.
4952 (conj_test): Likewise.
4953 (copysign_test): Likewise.
4954 (cos_test): Likewise.
4955 (cos_test_tonearest): Likewise.
4956 (cos_test_towardzero): Likewise.
4957 (cos_test_downward): Likewise.
4958 (cos_test_upward): Likewise.
4959 (cosh_test): Likewise.
4960 (cosh_test_tonearest): Likewise.
4961 (cosh_test_towardzero): Likewise.
4962 (cosh_test_downward): Likewise.
4963 (cosh_test_upward): Likewise.
4964 (cpow_test): Likewise.
4965 (cproj_test): Likewise.
4966 (creal_test): Likewise.
4967 (csin_test): Likewise.
4968 (csinh_test): Likewise.
4969 (csqrt_test): Likewise.
4970 (ctan_test): Likewise.
4971 (ctan_test_tonearest): Likewise.
4972 (ctan_test_towardzero): Likewise.
4973 (ctan_test_downward): Likewise.
4974 (ctan_test_upward): Likewise.
4975 (ctanh_test): Likewise.
4976 (ctanh_test_tonearest): Likewise.
4977 (ctanh_test_towardzero): Likewise.
4978 (ctanh_test_downward): Likewise.
4979 (ctanh_test_upward): Likewise.
4980 (erf_test): Likewise.
4981 (erfc_test): Likewise.
4982 (exp_test): Likewise.
4983 (exp_test_tonearest): Likewise.
4984 (exp_test_towardzero): Likewise.
4985 (exp_test_downward): Likewise.
4986 (exp_test_upward): Likewise.
4987 (exp10_test): Likewise.
4988 (exp10_test_tonearest): Likewise.
4989 (exp10_test_towardzero): Likewise.
4990 (exp10_test_downward): Likewise.
4991 (exp10_test_upward): Likewise.
4992 (pow10_test): Likewise.
4993 (exp2_test): Likewise.
4994 (expm1_test): Likewise.
4995 (expm1_test_tonearest): Likewise.
4996 (expm1_test_towardzero): Likewise.
4997 (expm1_test_downward): Likewise.
4998 (expm1_test_upward): Likewise.
4999 (fabs_test): Likewise.
5000 (fdim_test): Likewise.
5001 (floor_test): Likewise.
5002 (fma_test): Likewise.
5003 (fma_test_towardzero): Likewise.
5004 (fma_test_downward): Likewise.
5005 (fma_test_upward): Likewise.
5006 (fmax_test): Likewise.
5007 (fmin_test): Likewise.
5008 (fmod_test): Likewise.
5009 (fpclassify_test): Likewise.
5010 (frexp_test): Likewise.
5011 (hypot_test): Likewise.
5012 (ilogb_test): Likewise.
5013 (isfinite_test): Likewise.
5014 (finite_test): Likewise.
5015 (isgreater_test): Likewise.
5016 (isgreaterequal_test): Likewise.
5017 (isinf_test): Likewise.
5018 (isless_test): Likewise.
5019 (islessequal_test): Likewise.
5020 (islessgreater_test): Likewise.
5021 (isnan_test): Likewise.
5022 (isnormal_test): Likewise.
5023 (issignaling_test): Likewise.
5024 (isunordered_test): Likewise.
5025 (j0_test): Likewise.
5026 (j1_test): Likewise.
5027 (jn_test): Likewise.
5028 (ldexp_test): Likewise.
5029 (lgamma_test): Likewise.
5030 (gamma_test): Likewise.
5031 (lrint_test): Likewise.
5032 (lrint_test_tonearest): Likewise.
5033 (lrint_test_towardzero): Likewise.
5034 (lrint_test_downward): Likewise.
5035 (lrint_test_upward): Likewise.
5036 (llrint_test): Likewise.
5037 (llrint_test_tonearest): Likewise.
5038 (llrint_test_towardzero): Likewise.
5039 (llrint_test_downward): Likewise.
5040 (llrint_test_upward): Likewise.
5041 (log_test): Likewise.
5042 (log10_test): Likewise.
5043 (log1p_test): Likewise.
5044 (log2_test): Likewise.
5045 (logb_test): Likewise.
5046 (logb_test_downward): Likewise.
5047 (lround_test): Likewise.
5048 (llround_test): Likewise.
5049 (modf_test): Likewise.
5050 (nearbyint_test): Likewise.
5051 (nextafter_test): Likewise.
5052 (nexttoward_test): Likewise.
5053 (pow_test): Likewise.
5054 (pow_test_tonearest): Likewise.
5055 (pow_test_towardzero): Likewise.
5056 (pow_test_downward): Likewise.
5057 (pow_test_upward): Likewise.
5058 (remainder_test): Likewise.
5059 (drem_test): Likewise.
5060 (remainder_test_tonearest): Likewise.
5061 (drem_test_tonearest): Likewise.
5062 (remainder_test_towardzero): Likewise.
5063 (drem_test_towardzero): Likewise.
5064 (remainder_test_downward): Likewise.
5065 (drem_test_downward): Likewise.
5066 (remainder_test_upward): Likewise.
5067 (drem_test_upward): Likewise.
5068 (remquo_test): Likewise.
5069 (rint_test): Likewise.
5070 (rint_test_tonearest): Likewise.
5071 (rint_test_towardzero): Likewise.
5072 (rint_test_downward): Likewise.
5073 (rint_test_upward): Likewise.
5074 (round_test): Likewise.
5075 (scalb_test): Likewise.
5076 (scalbn_test): Likewise.
5077 (scalbln_test): Likewise.
5078 (signbit_test): Likewise.
5079 (sin_test): Likewise.
5080 (sin_test_tonearest): Likewise.
5081 (sin_test_towardzero): Likewise.
5082 (sin_test_downward): Likewise.
5083 (sin_test_upward): Likewise.
5084 (sincos_test): Likewise.
5085 (sinh_test): Likewise.
5086 (sinh_test_tonearest): Likewise.
5087 (sinh_test_towardzero): Likewise.
5088 (sinh_test_downward): Likewise.
5089 (sinh_test_upward): Likewise.
5090 (sqrt_test): Likewise.
5091 (sqrt_test_tonearest): Likewise.
5092 (sqrt_test_towardzero): Likewise.
5093 (sqrt_test_downward): Likewise.
5094 (sqrt_test_upward): Likewise.
5095 (tan_test): Likewise.
5096 (tan_test_tonearest): Likewise.
5097 (tan_test_towardzero): Likewise.
5098 (tan_test_downward): Likewise.
5099 (tan_test_upward): Likewise.
5100 (tanh_test): Likewise.
5101 (tgamma_test): Likewise.
5102 (trunc_test): Likewise.
5103 (y0_test): Likewise.
5104 (y1_test): Likewise.
5105 (yn_test): Likewise.
5106 (significand_test): Likewise.
5107
e6b6a857
JM
5108 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5109 individual tests in comment.
5110 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5111 (prev_max_error): New variable.
5112 (prev_real_max_error): Likewise.
5113 (prev_imag_max_error): Likewise.
5114 (compare_ulp_data): Don't refer to test names in comment.
5115 (find_test_ulps): Remove function.
5116 (find_function_ulps): Likewise.
5117 (find_complex_function_ulps): Likewise.
5118 (init_max_error): Take function name as argument. Look up ulps
5119 for that function.
5120 (print_ulps): Remove function.
5121 (print_max_error): Use prev_max_error instead of calling
5122 find_function_ulps.
5123 (print_complex_max_error): Use prev_real_max_error and
5124 prev_imag_max_error instead of calling find_complex_function_ulps.
5125 (check_float_internal): Take max_ulp parameter instead of calling
5126 find_test_ulps. Don't call print_ulps.
5127 (check_float): Update call to check_float_internal.
5128 (check_complex): Update calls to check_float_internal.
5129 (START): Pass argument to init_max_error.
5130 * math/gen-libm-test.pl (%results): Don't include "kind"
5131 information.
5132 (parse_ulps): Don't handle ulps of individual tests.
5133 (print_ulps_file): Likewise.
5134 (output_ulps): Likewise.
5135 * math/README.libm-test: Update.
5136 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5137 individual tests.
5138 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5139 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5140 * sysdeps/arm/libm-test-ulps: Likewise.
5141 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5142 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5143 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5144 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5145 * sysdeps/microblaze/libm-test-ulps: Likewise.
5146 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5147 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5148 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5149 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5150 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5151 * sysdeps/sh/libm-test-ulps: Likewise.
5152 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5153 * sysdeps/tile/libm-test-ulps: Likewise.
5154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5155
45adef3c
JM
51562014-03-04 Joseph Myers <joseph@codesourcery.com>
5157
5158 * math/libm-test.inc (print_complex_max_error): Check separately
5159 whether real and imaginary errors are within allowed range and
5160 pass 0 to print_complex_function_ulps instead of value within
5161 allowed range.
5162
000232b9
SP
51632014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5164
d4b17258
SP
5165 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5166 formatting.
5167 (get_handles_fopen): Likewise.
5168 (do_write_test): Likewise.
5169
091eff71
SP
5170 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5171
fa3cd248
SP
5172 * libio/fileops.c (do_ftell): Use cached offset when
5173 available.
5174 * libio/iofwide.c (do_ftell_wide): Likewise.
5175 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5176 _IO_file_attach.
5177 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5178
000232b9
SP
5179 [BZ #16532]
5180 * libio/libioP.h (get_file_offset): New function.
5181 * libio/fileops.c (get_file_offset): Likewise.
5182 (do_ftell): Likewise.
5183 (_IO_new_file_seekoff): Split out ftell logic.
5184 * libio/wfileops.c (do_ftell_wide): Likewise.
5185 (_IO_wfile_seekoff): Split out ftell logic.
5186 * libio/tst-ftell-active-handler.c: New test case.
5187 * libio/Makefile (tests): Add it.
5188
116f4d1a
RM
51892014-03-03 Roland McGrath <roland@hack.frob.com>
5190
5191 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5192 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5193
532a6035
SP
51942014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5195
5196 [BZ #16639]
5197 * nscd/connections.c (nscd_init): Call do_exit.
5198 (start_threads): Call do_exit and notify_parent.
5199 (begin_drop_privileges): Call do_exit.
5200 (finish_drop_privileges): Likewise.
5201 * nscd/selinux.c (preserve_capabilities): Likewise.
5202 (install_real_capabilities): Likewise.
5203 (nscd_selinux_enabled): Likewise.
5204 (avc_create_thread): Likewise.
5205 (avc_alloc_lock): Likewise.
5206 (nscd_avc_init): Likewise.
5207 * nscd/nscd.c (parent_fd): New static variable.
5208 (main): Create a pipe between parent and child processes.
5209 Skip closing parent_fd.
5210 (monitor_child): New function.
5211 (do_exit): Likewise.
5212 (notify_parent): Likewise.
5213 * nscd/nscd.h (notify_parent): Likewise.
5214 (do_exit): Likewise.
5215
d6285c9f
CD
52162014-03-03 Carlos O'Donell <carlos@redhat.com>
5217
5218 * malloc/malloc.c (__libc_calloc): Revert last change.
5219
2b85d2a0
AZ
52202014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5221
5222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5223
c7debbdf
RS
52242014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5225
5226 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5228 implementation.
5229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5230 (__libc_ifunc_impl_list): Likewise.
5231 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5232 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5233 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5234 * string/strrchr.c: Define STRRCHR.
5235
235eed86
OB
52362014-02-28 Ondřej Bílka <neleai@seznam.cz>
5237
5238 * benchtest/bench-strtok.c (simple_strtok): Delete.
5239 (strtok_string): Use as benchmark.
5240 * string/strtok (STRTOK): New macro.
5241
8e25d1e7
CD
52422014-02-28 Carlos O'Donell <carlos@redhat.com>
5243
ef563f92
CD
5244 * manual/threads.texi: Add header and standard comments to all
5245 functions.
5246
8e25d1e7
CD
5247 * elf/dl-lookup.c (check_match): New function.
5248 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5249 (do_lookup_x): Remove nested function check_match. Use non-nested
5250 function check_match.
5251
ff71cc37
RM
52522014-02-28 Roland McGrath <roland@hack.frob.com>
5253
f08e9a26
RM
5254 * csu/Makefile (generated, before-compile): Use += rather than =.
5255 * catgets/Makefile (generated, generated-dirs): Likewise.
5256 * debug/Makefile (generated): Likewise.
5257 * dlfcn/Makefile (generated): Likewise.
5258 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5259 * iconvdata/Makefile (before-compile, generated): Likewise.
5260 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5261 * libio/Makefile (generated): Likewise.
5262 * malloc/Makefile (generated): Likewise.
5263 * manual/Makefile (generated, generated-dirs): Likewise.
5264 * misc/Makefile (generated): Likewise.
5265 * posix/Makefile (generated): Likewise.
5266 * resolv/Makefile (generated): Likewise.
5267 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5268 * timezone/Makefile (generated, generated-dirs): Likewise.
5269
ff71cc37
RM
5270 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5271
fe13a20c
AZ
52722014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5273
57f41c40
AS
5274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5275 power8 implementation.
5276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5277 file: POWER8 llround ifunc implementation.
5278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5279 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
5280 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5281 POWER8 llround implementation.
5282
57f41c40
AS
5283 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5284 power8 implementation.
5285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5286 file: POWER8 llrint ifunc implementation.
5287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5288 Add POWER8 implementation.
1ad8950a
AZ
5289 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5290 POWER8 llrint implementation.
5291
57f41c40
AS
5292 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5293 power8 implementation.
5294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5295 file: POWER8 finite ifunc implementation.
5296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5297 Add POWER8 implementation.
cac626d6
AZ
5298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5299 Likewise.
5300 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5301 POWER8 finite implementation.
5302 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5303
57f41c40
AS
5304 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5305 power8 implementation.
5306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5307 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
5308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5309 POWER8 implementation.
5310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5311 Likewise.
57f41c40
AS
5312 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5313 isinf implementation.
4393fc11
AZ
5314 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5315
57f41c40
AS
5316 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5317 (INIT_ARCH): Add hwcap2 initialization.
5318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5319 power8 implementation.
5320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5321 file: POWER8 isnan ifunc implementation.
487972ae
AZ
5322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5323 POWER8 implementation.
5324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5325 Likewise.
57f41c40
AS
5326 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5327 isnan implementation.
487972ae
AZ
5328 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5329
7d92b787
JY
53302014-02-27 Joey Ye <joey.ye@arm.com>
5331
5332 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5333 (_FP_NANFRAC_Q): Set to zero.
5334
1cadc858
SP
53352014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5336
5337 [BZ #16623]
5338 * math/auto-libm-test-in: New test inputs.
5339 * math/auto-libm-test-out: Regenerate.
5340 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5341 and DA.
5342 (__cos): Likewise.
5343 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5344
f8c17e79
JM
53452014-02-27 Joseph Myers <joseph@codesourcery.com>
5346
5347 * scripts/evaluate-test.sh: Take new argument indicating whether
5348 failure is expected.
5349 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5350 indicating whether failure is expected.
5351 * conform/Makefile (test-xfail-run-conformtest): New variable.
5352 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5353 level.
5354 * posix/Makefile (test-xfail-annexc): New variable.
5355 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5356
a5f891ac
JM
53572014-02-26 Joseph Myers <joseph@codesourcery.com>
5358
5359 * argp/Makefile: Include Makeconfig immediately after defining
5360 subdir.
5361 * assert/Makefile: Likewise.
5362 * benchtests/Makefile: Likewise.
5363 * catgets/Makefile: Likewise.
5364 * conform/Makefile: Likewise.
5365 * crypt/Makefile: Likewise.
5366 * csu/Makefile: Likewise.
5367 (all): Remove target.
5368 * ctype/Makefile: Include Makeconfig immediately after defining
5369 subdir.
5370 * debug/Makefile: Likewise.
5371 * dirent/Makefile: Likewise.
5372 * dlfcn/Makefile: Likewise.
5373 * gmon/Makefile: Likewise.
5374 * gnulib/Makefile: Likewise.
5375 * grp/Makefile: Likewise.
5376 * gshadow/Makefile: Likewise.
5377 * hesiod/Makefile: Likewise.
5378 * hurd/Makefile: Likewise.
5379 (all): Remove target.
5380 * iconvdata/Makefile: Include Makeconfig immediately after
5381 defining subdir.
5382 * inet/Makefile: Likewise.
5383 * intl/Makefile: Likewise.
5384 * io/Makefile: Likewise.
5385 * libio/Makefile: Likewise.
5386 (all): Remove target.
5387 * locale/Makefile: Include Makeconfig immediately after defining
5388 subdir.
5389 * login/Makefile: Likewise.
5390 * mach/Makefile: Likewise.
5391 (all): Remove target.
5392 * malloc/Makefile: Include Makeconfig immediately after defining
5393 subdir.
5394 (all): Remove target.
5395 * manual/Makefile: Include Makeconfig immediately after defining
5396 subdir.
5397 * math/Makefile: Likewise.
5398 * misc/Makefile: Likewise.
5399 * nis/Makefile: Likewise.
5400 * nss/Makefile: Likewise.
5401 * po/Makefile: Likewise.
5402 (all): Remove target.
5403 * posix/Makefile: Include Makeconfig immediately after defining
5404 subdir.
5405 * pwd/Makefile: Likewise.
5406 * resolv/Makefile: Likewise.
5407 * resource/Makefile: Likewise.
5408 * rt/Makefile: Likewise.
5409 * setjmp/Makefile: Likewise.
5410 * shadow/Makefile: Likewise.
5411 * signal/Makefile: Likewise.
5412 * socket/Makefile: Likewise.
5413 * soft-fp/Makefile: Likewise.
5414 * stdio-common/Makefile: Likewise.
5415 * stdlib/Makefile: Likewise.
5416 * streams/Makefile: Likewise.
5417 * string/Makefile: Likewise.
5418 * sunrpc/Makefile: Likewise.
5419 (all): Remove target.
5420 * sysvipc/Makefile: Include Makeconfig immediately after defining
5421 subdir.
5422 * termios/Makefile: Likewise.
5423 * time/Makefile: Likewise.
5424 * timezone/Makefile: Likewise.
5425 (all): Remove target.
5426 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5427 subdir.
5428 * wctype/Makefile: Likewise.
5429
5b456e9d
SE
54302014-02-26 Steve Ellcey <sellcey@mips.com>
5431
5432 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5433 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5434 (libc_feholdexcept_setround_mips): Ditto.
5435 (libc_feholdsetround): New.
5436 (libc_feholdsetroundf): New.
5437 (libc_feholdsetroundl): New.
5438 (libc_feupdateenv_test_mips): New.
5439 (libc_feupdateenv_test): New.
5440 (libc_feupdateenv_testf): New.
5441 (libc_feupdateenv_testl): New.
5442 (libc_feresetround): New.
5443 (libc_feresetroundf): New.
5444 (libc_feresetroundl): New.
5445 (libc_fetestexcept_mips): New.
5446 (libc_fetestexcept): New.
5447 (libc_fetestexceptf): New.
5448 (libc_fetestexceptl): New.
5449 (HAVE_RM_CTX): New.
5450 (libc_feholdexcept_setround_mips_ctx): New.
5451 (libc_feholdexcept_setround_ctx): New.
5452 (libc_feholdexcept_setroundf_ctx): New.
5453 (libc_feholdexcept_setroundl_ctx): New.
5454 (libc_fesetenv_mips_ctx): New.
5455 (libc_fesetenv_ctx): New.
5456 (libc_fesetenv_ctxf): New.
5457 (libc_fesetenv_ctxl): New.
5458 (libc_feupdateenv_mips_ctx): New.
5459 (libc_feupdateenv_ctx): New.
5460 (libc_feupdateenvf_ctx): New.
5461 (libc_feupdateenvl_ctx): New.
5462 (libc_feholdsetround_mips_ctx): New.
5463 (libc_feholdsetround_ctx): New.
5464 (libc_feholdsetroundf_ctx): New.
5465 (libc_feholdsetroundl_ctx): New.
5466 (libc_feresetround_mips_ctx): New.
5467 (libc_feresetround_ctx): New.
5468 (libc_feresetroundf_ctx): New.
5469 (libc_feresetroundl_ctx): New.
5470
085d0e35
CD
54712014-02-26 Carlos O'Donell <carlos@redhat.com>
5472
f067bf1f
CD
5473 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5474
085d0e35
CD
5475 * manual/ipc.texi: New file.
5476 * manual/Makefile (chapters): Add ipc.
5477 * manual/job.texi: Add "Inter-Process Communication" to next.
5478 * manual/process.texi: Add "Inter-Process Communication" to prev.
5479
86e58c08
AZ
54802014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5481
5482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5483
4248f0da
OB
54842014-02-26 Ondřej Bílka <neleai@seznam.cz>
5485
5486 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5487
cf822e3c
OB
5488 * manual/arith.texi: Fix spaces after sentences.
5489 * manual/charset.texi: Likewise.
5490 * manual/errno.texi: Likewise.
5491 * manual/install.texi: Likewise.
5492 * manual/llio.texi: Likewise.
5493 * manual/locale.texi: Likewise.
5494 * manual/maint.texi: Likewise.
5495 * manual/math.texi: Likewise.
5496 * manual/memory.texi: Likewise.
5497 * manual/message.texi: Likewise.
5498 * manual/probes.texi: Likewise.
5499 * manual/resource.texi: Likewise.
5500 * manual/signal.texi: Likewise.
5501 * manual/socket.texi: Likewise.
5502 * manual/stdio.texi: Likewise.
5503 * manual/string.texi: Likewise.
5504 * manual/time.texi: Likewise.
5505 * manual/users.texi: Likewise.
5506
ade40b10
CD
55072014-02-25 Carlos O'Donell <carlos@redhat.com>
5508
5509 [BZ #16632]
5510 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
5511 _DEFAULT_SOURCE is defined.
5512
d0503676
CD
55132014-02-25 Ulrich Drepper <drepper@gmail.com>
5514 Carlos O'Donell <carlos@redhat.com>
5515
5516 [BZ #16613]
5517 * elf/dl-tls.c (_dl_count_modids): New function.
5518 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
5519 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
5520 audit library and increment generation counter.
5521 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
5522 * elf/tst-audit9.c: New file.
5523 * elf/tst-auditmod9a.c: New file.
5524 * elf/tst-auditmod9b.c: New file.
5525 * elf/Makefile: Add rules to build and run tst-audit9.
5526
4cbf380c
FW
55272014-02-25 Florian Weimer <fweimer@redhat.com>
5528
5529 [BZ #15347]
5530 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
5531
80a56cc3
WN
55322014-02-25 Will Newton <will.newton@linaro.org>
5533
5534 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
5535 (__longjmp): Restore sp and lr before restoring callee
5536 saved registers. Add longjmp and longjmp_target
5537 SystemTap probe point.
5538 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
5539 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
5540 Define to zero to match jmpbuf layout.
5541 * sysdeps/arm/setjmp.S: Include stap-probe.h.
5542 (__sigsetjmp): Save sp and lr before saving callee
5543 saved registers. Add setjmp SystemTap probe point.
5544
3ea0f74e
SL
55452014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5546
5547 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5548
b04acb26
AS
55492014-02-24 Andreas Schwab <schwab@suse.de>
5550
5551 [BZ #15804]
5552 * elf/pldd.c (wait_for_ptrace_stop): New function.
5553 (main): Call it after attaching.
5554
098ad55c
RM
55552014-02-22 Roland McGrath <roland@hack.frob.com>
5556
d4ec6ae1
RM
5557 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
5558 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
5559 Versions files is now verboten.
5560 * hurd/Versions (libc: GLIBC_2.0):
5561 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
5562 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
5563 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
5564 * mach/Versions: Likewise.
5565
098ad55c
RM
5566 * csu/Versions: Remove unused %include.
5567 * resolv/Versions: Likewise.
5568
acd7f096
JM
55692014-02-21 Joseph Myers <joseph@codesourcery.com>
5570
f0881698
JM
5571 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
5572 ($(objpfx)check-local-headers.out): Likewise.
5573 ($(objpfx)begin-end-check.out): Likewise.
5574 * Makerules (check-abi-%.out): Likewise.
5575 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
5576 ($(objpfx)test2.cat): Likewise.
5577 ($(objpfx)de/libc.cat): Likewise.
5578 ($(objpfx)test-gencat.out): Likewise.
5579 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
5580 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
5581 ($(objpfx)noload-mem): Likewise.
5582 ($(objpfx)tst-pathopt.out): Likewise.
5583 ($(objpfx)tst-rtld-load-self.out): Likewise.
5584 ($(objpfx)tst-array1-cmp.out): Likewise.
5585 ($(objpfx)tst-array1-static-cmp.out): Likewise.
5586 ($(objpfx)tst-array2-cmp.out): Likewise.
5587 ($(objpfx)tst-array3-cmp.out): Likewise.
5588 ($(objpfx)tst-array4-cmp.out): Likewise.
5589 ($(objpfx)tst-array5-cmp.out): Likewise.
5590 ($(objpfx)tst-array5-static-cmp.out): Likewise.
5591 ($(objpfx)check-textrel.out): Likewise.
5592 ($(objpfx)check-execstack.out): Likewise.
5593 ($(objpfx)check-localplt.out): Likewise.
5594 ($(objpfx)order2-cmp.out): Likewise.
5595 ($(objpfx)tst-leaks1-mem): Likewise.
5596 ($(objpfx)tst-leaks1-static-mem): Likewise.
5597 ($(objpfx)tst-initorder-cmp.out): Likewise.
5598 ($(objpfx)tst-initorder2-cmp.out): Likewise.
5599 ($(objpfx)tst-unused-dep.out): Likewise.
5600 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
5601 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
5602 * iconv/Makefile (test-iconvconfig): Likewise.
5603 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
5604 ($(objpfx)iconv-test.out): Likewise.
5605 ($(objpfx)tst-tables.out): Likewise.
5606 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
5607 ($(objpfx)tst-gettext.out): Likewise.
5608 ($(objpfx)tst-translit.out): Likewise.
5609 ($(objpfx)tst-gettext2.out): Likewise.
5610 ($(objpfx)tst-gettext4.out): Likewise.
5611 ($(objpfx)tst-gettext6.out): Likewise.
5612 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
5613 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
5614 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
5615 ($(objpfx)tst-fopenloc-mem.out): Likewise.
5616 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
5617 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
5618 * posix/Makefile ($(objpfx)globtest.out): Likewise.
5619 ($(objpfx)wordexp-tst.out): Likewise.
5620 ($(objpfx)annexc.out): Likewise.
5621 ($(objpfx)tst-fnmatch-mem): Likewise.
5622 ($(objpfx)bug-regex2-mem): Likewise.
5623 ($(objpfx)bug-regex14-mem): Likewise.
5624 ($(objpfx)bug-regex21-mem): Likewise.
5625 ($(objpfx)bug-regex31-mem): Likewise.
5626 ($(objpfx)tst-vfork3-mem): Likewise.
5627 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5628 ($(objpfx)tst-pcre-mem): Likewise.
5629 ($(objpfx)tst-boost-mem): Likewise.
5630 ($(objpfx)tst-getconf.out): Likewise.
5631 ($(objpfx)bug-ga2-mem): Likewise.
5632 ($(objpfx)bug-glob2-mem): Likewise.
5633 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
5634 ($(objpfx)mtrace-tst-leaks2): Likewise.
5635 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
5636 ($(objpfx)tst-printf.out): Likewise.
5637 ($(objpfx)tst-setvbuf1.out): Likewise.
5638 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
5639 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
5640 ($(objpfx)tst-fmtmsg.out): Likewise.
5641 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
5642 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
5643
acd7f096
JM
5644 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
5645 * bits/sigaction.h [__USE_MISC]: Likewise.
5646 * bits/waitstatus.h: Update #endif comments.
5647 * ctype/ctype.h: Likewise.
5648 * dirent/dirent.h: Likewise.
5649 [__USE_MISC]: Remove redundant conditionals.
5650 * grp/grp.h: Update #endif comments.
5651 [__USE_GNU]: Remove redundant conditionals.
5652 [__USE_MISC]: Likewise.
5653 * inet/netinet/in.h [__USE_GNU]: Likewise.
5654 * io/sys/stat.h [__USE_MISC]: Likewise.
5655 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
5656 * libio/bits/stdio.h: Update #endif comments.
5657 [__USE_MISC]: Remove redundant conditionals.
5658 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
5659 * libio/stdio.h: Update #endif comments.
5660 [__USE_MISC]: Remove redundant conditionals.
5661 * math/bits/math-finite.h [__USE_MISC]: Likewise.
5662 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
5663 * math/math.h: Update #else and #endif comments.
5664 [__USE_MISC]: Remove redundant conditionals.
5665 * misc/sys/uio.h: Update #endif comments.
5666 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
5667 * posix/glob.h [__USE_MISC]: Likewise.
5668 * posix/sys/types.h: Update #endif comments.
5669 [__USE_MISC]: Remove redundant conditionals.
5670 * posix/sys/wait.h: Update #endif comments.
5671 [__USE_MISC]: Remove redundant conditionals.
5672 * posix/unistd.h: Update #endif comments.
5673 [__USE_MISC]: Remove redundant conditionals.
5674 * pwd/pwd.h [__USE_GNU]: Likewise.
5675 [__USE_MISC]: Likewise.
5676 * resolv/netdb.h [__USE_GNU]: Likewise.
5677 * signal/signal.h: Update #endif comments.
5678 [__USE_MISC]: Remove redundant conditionals.
5679 * stdlib/stdlib.h: Update #else and #endif comments.
5680 [__USE_MISC]: Remove redundant conditionals.
5681 [__USE_GNU]: Likewise.
5682 * string/bits/string2.h [__USE_MISC]: Likewise.
5683 * string/string.h: Update #endif comments.
5684 [__USE_MISC]: Remove redundant conditionals.
5685 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
5686 Likewise.
5687 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
5688 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
5689 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
5690 Likewise.
5691 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
5692 Likewise.
5693 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
5694 comments.
5695 [__USE_MISC]: Remove redundant conditionals.
5696 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
5697 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
5698 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
5699 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
5700 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
5701 Likewise.
5702 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
5703 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
5704 Likewise.
5705 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
5706 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
5707 Likewise.
5708 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
5709 Likewise.
5710 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5711 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5712 Likewise.
5713 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5714 Likewise.
5715 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5716 * sysdeps/x86/bits/string.h: Update #endif comments.
5717 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5718 conditionals.
5719 * time/sys/time.h: Update #endif comments.
5720 * time/time.h: Likewise.
5721 [__USE_MISC]: Remove redundant conditionals.
5722
a5d82e4e
YG
57232014-02-21 Yury Gribov <y.gribov@samsung.com>
5724
5725 [BZ #16600]
5726 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5727
9a80491d
AS
57282014-02-21 Andreas Schwab <schwab@linux-m68k.org>
5729
5730 * Versions.def (librt): Add GLIBC_2.17.
5731
105fa381
AC
57322014-02-21 Adam Conrad <adconrad@0c3.net>
5733
5734 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5735 synonym for _SYS_AUXV_H to allow direct inclusion.
5736 * sysdeps/sparc/bits/hwcap.h: Likewise.
5737 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5738 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5739 * sysdeps/sparc/sysdep.h: Likewise.
5740
b8cd1c4e
SP
57412014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5742
5743 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5744
bd939d23
RS
57452014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5746
5747 * benchtests/bench-strrchr.c: Print length instead of position.
5748
5d7b57ca
JM
57492014-02-20 Joseph Myers <joseph@codesourcery.com>
5750
bc688c10
JM
5751 [BZ #16611]
5752 * sysdeps/unix/sysv/linux/kernel-features.h
5753 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5754 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5755 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5756 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5757 Likewise.
5758 [__i386__ || __powerpc__ || __sh__ || __sparc__]
5759 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5760 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5761 (__ASSUME_SENDMMSG): Define instead of using previous
5762 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5763 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5764 (__ASSUME_SENDMMSG_SYSCALL): Define.
5765 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5766 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5767 Likewise.
5768 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5769 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5770 Likewise.
5771 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5772 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5773 Likewise.
5774 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5775 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5776 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5777 [__ASSUME_SENDMMSG]: Change conditionals to
5778 [__ASSUME_SENDMMSG_SOCKETCALL].
5779 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5780 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5781 Define.
5782 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5783 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5784 Likewise.
5785 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5786 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5787 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5788 [!__ASSUME_SENDMMSG]: Change conditional to
5789 [!__ASSUME_SENDMMSG_SOCKETCALL].
5790 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5791 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5792 Define.
5793
0e31b18c
JM
5794 [BZ #16610]
5795 * sysdeps/unix/sysv/linux/kernel-features.h
5796 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5797 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5798 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5799 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5800 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5801 [__i386__ || __sparc__]
5802 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5803 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5804 (__ASSUME_RECVMMSG): Define instead of using previous
5805 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5806 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5807 (__ASSUME_RECVMMSG_SYSCALL): Define.
5808 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5809 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5810 Likewise.
5811 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5812 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5813 Likewise.
5814 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5815 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5816 Likewise.
5817 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5818 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5819 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5820 [__ASSUME_RECVMMSG]: Change condition to
5821 [__ASSUME_RECVMMSG_SOCKETCALL].
5822 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5823 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5824 Define.
5825 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5826 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5827 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5828 Likewise.
5829 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5830 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5831 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5832 [!__ASSUME_RECVMMSG]: Change condition to
5833 [!__ASSUME_RECVMMSG_SOCKETCALL].
5834 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5835 (__ASSUME_RECVMMSG_SYSCALL): Define.
5836
dd481ccf
JM
5837 [BZ #16609]
5838 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5839 __powerpc__ || __s390__ || __sh__ || __sparc__]
5840 (__ASSUME_SOCKETCALL): Define.
5841 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5842 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5843 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5844 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5845 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5846 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5847 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5848 (__ASSUME_ACCEPT4): Define instead of using previous
5849 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5850 __powerpc__ || __sparc__ || __s390__)] condition.
5851 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5852 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5853 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5854 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5855 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5856 [!__ASSUME_ACCEPT4]: Change condition to
5857 [!__ASSUME_ACCEPT4_SOCKETCALL].
5858 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5859 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
5860 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5861 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5862 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5863 __ASSUME_ACCEPT4_SYSCALL.
5864 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5865 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5866 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5867 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5868 __ASSUME_ACCEPT4_SYSCALL.
5869 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5870 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5871 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5872 [__ASSUME_ACCEPT4]: Change condition to
5873 [__ASSUME_ACCEPT4_SOCKETCALL].
5874 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5875 (__ASSUME_SOCKETCALL): Define.
5876 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5877 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5878 (__ASSUME_SOCKETCALL): Define.
5879 (__ASSUME_ACCEPT4): Remove.
5880 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5881 Define.
5882 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5883 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5884 Likewise.
5885 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5886 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5887
5d7b57ca
JM
5888 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5889 macro.
5890 (HWCAP_ARM_LPAE): Likewise.
5891 (HWCAP_ARM_EVTSTRM): Likewise.
5892 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5893 Add vpfd32, lpae and evtstrm.
5894 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5895 Increase to 22.
5896
63689d61
JM
58972014-02-19 Joseph Myers <joseph@codesourcery.com>
5898
5899 * math/auto-libm-test-in: Add tests of clog10.
5900 * math/auto-libm-test-out: Regenerated.
5901 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5902 * sysdeps/i386/fpu/libm-test-ulps: Update.
5903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5904
ab09bf61
AS
59052014-02-18 Andreas Schwab <schwab@suse.de>
5906
5907 [BZ #16574]
5908 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5909 Store non-zero if the second buffer was newly allocated.
5910 (send_dg): Likewise.
5911 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5912 to send_vc and send_dg.
5913 (res_nsend): Pass NULL for ansp2_malloced.
5914 * resolv/res_query.c (__libc_res_nquery): Add parameter
5915 answerp2_malloced and pass it down to __libc_res_nsend.
5916 (res_nquery): Pass additional NULL to __libc_res_nquery.
5917 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5918 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
5919 second answer buffer if answerp2_malloced was set.
5920 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5921 (__libc_res_nquerydomain): Add parameter
5922 answerp2_malloced and pass it down to __libc_res_nquery.
5923 (res_nquerydomain): Pass additional NULL to
5924 __libc_res_nquerydomain.
5925 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5926 additional NULL to __libc_res_nsend and __libc_res_nquery.
5927 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5928 additional NULL to __libc_res_nsearch.
5929 (_nss_dns_gethostbyname4_r): Revert last change. Use new
5930 parameter of __libc_res_nsearch to check for separately allocated
5931 second buffer.
5932 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5933 __libc_res_nquery.
5934 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5935 additional NULL to __libc_res_nquery.
5936 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5937 __libc_res_nsearch.
5938 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5939 * include/resolv.h: Update prototypes of __libc_res_nquery,
5940 __libc_res_nsearch, __libc_res_nsend.
5941
a4fb7861
JM
59422014-02-18 Joseph Myers <joseph@codesourcery.com>
5943
c6af2d89
JM
5944 * math/auto-libm-test-in: Add tests of fma.
5945 * math/auto-libm-test-out: Regenerated.
5946 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5947 (fma_towardzero_test_data): Likewise.
5948 (fma_downward_test_data): Likewise.
5949 (fma_upward_test_data): Likewise.
5950 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5951 mpc_mode.
5952 (rounding_modes): Add values for new field.
5953 (func_calc_method): Add value mpfr_fff_f.
5954 (func_calc_desc): Add mpfr_fff_f union field.
5955 (test_function): Add field exact_args.
5956 (FUNC): Add macro argument EXACT_ARGS.
5957 (FUNC_mpfr_f_f): Update call to FUNC.
5958 (FUNC_mpfr_f_f): Likewise.
5959 (FUNC_mpfr_ff_f): Likewise.
5960 (FUNC_mpfr_if_f): Likewise.
5961 (FUNC_mpc_c_f): Likewise.
5962 (FUNC_mpc_c_c): Likewise.
5963 (test_functions): Add fma. Update calls to FUNC.
5964 (handle_input_arg): Add argument exact_args.
5965 (add_test): Update call to handle_input_arg.
5966 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
5967 (output_for_one_input_case): Update call to calc_generic_results.
5968 Recalculate exact zero results in each rounding mode.
5969
a4fb7861
JM
5970 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5971 non-negative before setting low bit.
5972 * math/auto-libm-test-in: Mark one asin test possibly having
5973 spurious underflow.
5974 * math/auto-libm-test-out: Regenerated.
5975 * sysdeps/i386/fpu/libm-test-ulps: Update.
5976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5977
ef114eaf
DH
59782014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
5979
2b7f4f2c
SP
5980 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5981 * sysdeps/unix/sysv/linux/microblaze: Move directory from
5982 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
5983 * README: Add missing listing for microblaze*-*-linux-gnu.
5984
c70a4b1d
MF
59852014-02-16 Mike Frysinger <vapier@gentoo.org>
5986
5987 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5988 * sysdeps/unix/sysv/linux/ia64: Move directory from
5989 ports/sysdeps/unix/sysv/linux/ia64.
5990 * README: Update listing for ia64-*-linux-gnu.
5991
591aeaf7
TD
59922014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
5993 Joseph Myers <joseph@codesourcery.com>
5994
5995 * Makeconfig (test-name): New variable.
5996 (evaluate-test): Likewise.
5997 * Makerules (do-test-clean): Remove .test-result files.
5998 (common-mostlyclean): Likewise.
5999 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6000 * scripts/evaluate-test.sh: New file.
6001
6e89caf1
JM
60022014-02-14 Joseph Myers <joseph@codesourcery.com>
6003
7f98f180
JM
6004 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6005 separate $(objpfx)tst-fopenloc-cmp.out and
6006 $(objpfx)tst-fopenloc-mem.out targets.
6007 (tests): Update dependencies.
6008 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6009 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6010 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6011 (tst-rxspencer-no-utf8-ARGS): New variable.
6012 (tst-rxspencer-no-utf8-ENV): Likewise.
6013 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6014 instead of $(objpfx)tst-rxspencer-mem.
6015 ($(objpfx)tst-rxspencer-mem): Change target to
6016 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6017 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6018 * posix/tst-rxspencer-no-utf8.c: New file.
6019
6e89caf1
JM
6020 * elf/Makefile ($(objpfx)order.out): Remove rule.
6021 [$(run-built-tests) = yes] (tests): Depend on
6022 $(objpfx)order-cmp.out.
6023 ($(objpfx)order-cmp.out): New rule.
6024 [$(run-built-tests) = yes] (tests): Depend on
6025 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6026 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6027 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6028 $(objpfx)tst-array5-static-cmp.out.
6029 ($(objpfx)tst-array1.out): Remove rule.
6030 ($(objpfx)tst-array1-cmp.out): New rule.
6031 ($(objpfx)tst-array1-static.out): Remove rule.
6032 ($(objpfx)tst-array1-static-cmp.out): New rule.
6033 ($(objpfx)tst-array2.out): Remove rule.
6034 ($(objpfx)tst-array2-cmp.out): New rule.
6035 ($(objpfx)tst-array3.out): Remove rule.
6036 ($(objpfx)tst-array3-cmp.out): New rule.
6037 ($(objpfx)tst-array4.out): Remove rule.
6038 ($(objpfx)tst-array4-cmp.out): New rule.
6039 ($(objpfx)tst-array5.out): Remove rule.
6040 ($(objpfx)tst-array5-cmp.out): New rule.
6041 ($(objpfx)tst-array5-static.out): Remove rule.
6042 ($(objpfx)tst-array5-static-cmp.out): New rule.
6043 [$(run-built-tests) = yes] (tests): Depend on
6044 $(objpfx)order2-cmp.out.
6045 ($(objpfx)order2.out): Remove rule.
6046 ($(objpfx)order2-cmp.out): New rule.
6047 ($(objpfx)tst-initorder.out): Remove rule.
6048 [$(run-built-tests) = yes] (tests): Depend on
6049 $(objpfx)tst-initorder-cmp.out.
6050 ($(objpfx)tst-initorder-cmp.out): New rule.
6051 ($(objpfx)tst-initorder2.out): Remove rule.
6052 [$(run-built-tests) = yes] (tests): Depend on
6053 $(objpfx)tst-initorder2-cmp.out.
6054 ($(objpfx)tst-initorder2-cmp.out): New rule.
6055 [$(run-built-tests) = yes] (tests): Depend on
6056 $(objpfx)tst-unused-dep-cmp.out.
6057 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6058 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6059 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6060 on $(objpfx)tst-setvbuf1-cmp.out.
6061 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6062 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6063 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6064 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6065 ($(objpfx)tst-svc.out): Remove rule.
6066 ($(objpfx)tst-svc-cmp.out): New rule.
6067
ed9a38e2
JM
60682014-02-13 Joseph Myers <joseph@codesourcery.com>
6069
6070 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6071 * ctype/ctype.h [__USE_MISC]: Likewise.
6072 * dirent/dirent.h [__USE_MISC]: Likewise.
6073 * grp/grp.h [__USE_MISC]: Likewise.
6074 * io/fcntl.h [__USE_MISC]: Likewise.
6075 * io/sys/stat.h [__USE_MISC]: Likewise.
6076 * libio/stdio.h [__USE_MISC]: Likewise.
6077 * posix/unistd.h [__USE_MISC]: Likewise.
6078 * pwd/pwd.h [__USE_MISC]: Likewise.
6079 * stdlib.h [__USE_MISC]: Likewise.
6080 * string/bits/string2.h [__USE_MISC]: Likewise.
6081 * string/string.h [__USE_MISC]: Likewise.
6082 * time/time.h [__USE_MISC]: Likewise.
6083
d6680619
AS
60842014-02-13 Andreas Schwab <schwab@suse.de>
6085
6086 [BZ #16574]
6087 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6088 second answer buffer if it was separately allocated.
6089
ace614b8
JM
60902014-02-12 Joseph Myers <joseph@codesourcery.com>
6091
743151ae
JM
6092 * sysdeps/mips/math-tests.h: Include <features.h>.
6093 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6094 (ROUNDING_TESTS_long_double): Do not define.
6095 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6096 (EXCEPTION_TESTS_long_double): Likewise.
6097 * sysdeps/mips/mips64/libm-test-ulps: Update.
6098
498afc54
JM
6099 * include/features.h (__USE_BSD): Remove macro definitions.
6100 (__USE_SVID): Likewise.
6101 (_BSD_SOURCE): Likewise.
6102 (_SVID_SOURCE): Likewise.
6103 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6104 from definition of _DEFAULT_SOURCE.
6105 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6106 [_DEFAULT_SOURCE].
6107 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6108 * bits/mman.h [__USE_BSD]: Likewise.
6109 * bits/termios.h [__USE_BSD]: Likewise.
6110 * bits/waitstatus.h [__USE_BSD]: Likewise.
6111 * ctype/ctype.h [__USE_SVID]: Likewise.
6112 * dirent/dirent.h [__USE_BSD]: Likewise.
6113 * grp/grp.h [__USE_SVID]: Likewise.
6114 [__USE_BSD]: Likewise.
6115 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6116 * io/fcntl.h [__USE_BSD]: Likewise.
6117 * io/ftw.h [__USE_BSD]: Likewise.
6118 * io/sys/stat.h [__USE_BSD]: Likewise.
6119 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6120 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6121 * libio/stdio.h [__USE_SVID]: Likewise.
6122 [__USE_BSD]: Likewise.
6123 * math/math.h [__USE_SVID]: Likewise.
6124 [__USE_BSD]: Likewise.
6125 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6126 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6127 * misc/search.h [__USE_SVID]: Likewise.
6128 * misc/sys/mman.h [__USE_BSD]: Likewise.
6129 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6130 * misc/sys/uio.h [__USE_BSD]: Likewise.
6131 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6132 * posix/glob.h [__USE_BSD]: Likewise.
6133 * posix/regex.h [__USE_BSD]: Likewise.
6134 * posix/sys/types.h [__USE_BSD]: Likewise.
6135 [__USE_SVID]: Likewise.
6136 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6137 * posix/sys/wait.h [__USE_BSD]: Likewise.
6138 [__USE_SVID]: Likewise.
6139 * posix/unistd.h [__USE_BSD]: Likewise.
6140 [__USE_SVID]: Likewise.
6141 * pwd/pwd.h [__USE_SVID]: Likewise.
6142 * resolv/netdb.h [__USE_BSD]: Likewise.
6143 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6144 * signal/signal.h [__USE_BSD]: Likewise.
6145 [__USE_SVID]: Likewise.
6146 * socket/sys/socket.h [__USE_BSD]: Likewise.
6147 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6148 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6149 [__USE_SVID]: Likewise.
6150 * string/bits/string2.h [__USE_BSD]: Likewise.
6151 [__USE_SVID]: Likewise.
6152 * string/bits/string3.h [__USE_BSD]: Likewise.
6153 * string/endian.h [__USE_BSD]: Likewise.
6154 * string/string.h [__USE_SVID]: Likewise.
6155 [__USE_BSD]: Likewise.
6156 * string/strings.h [__USE_BSD]: Likewise.
6157 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6158 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6159 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6160 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6161 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6162 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6163 Likewise.
6164 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6165 Likewise.
6166 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6167 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6168 Likewise.
6169 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6170 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6171 Likewise.
6172 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6173 Likewise.
6174 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6175 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6176 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6177 Likewise.
6178 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6179 Likewise.
6180 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6181 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6182 * termios/termios.h [__USE_BSD]: Likewise.
6183 * time/sys/time.h [__USE_BSD]: Likewise.
6184 * time/time.h [__USE_BSD]: Likewise.
6185 [__USE_SVID]: Likewise.
6186
dd7b064c
JM
6187 * Makefile (subdir_targets): Remove subdir_lint.out.
6188
a2c4c199
JM
6189 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6190 (do-tst-printf): Likewise.
6191 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6192 $(objpfx)tst-printf.out.
6193
8756f740
JM
6194 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6195
1b6dd3f1
JM
6196 * Makerules (check-abi-%): Change target to
6197 $(objpfx)check-abi-%.out.
6198 (check-abi target): Update dependencies.
6199 (check-abi-pattern variable): Redirect output of diff to $@.
6200 (check-abi variable): Likewise.
6201 * elf/Makefile (check-abi): Update dependencies.
6202
ace614b8
JM
6203 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6204 unused.
6205 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6206 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6207 subnormal range.
6208 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6209 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6210 value has largest subnormal exponent.
6211 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6212 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6213 * sysdeps/aarch64/soft-fp/sfp-machine.h
6214 (_FP_TININESS_AFTER_ROUNDING): New macro.
6215 * sysdeps/alpha/soft-fp/sfp-machine.h
6216 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6217 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6218 Likewise.
6219 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6220 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6221 * sysdeps/mips/soft-fp/sfp-machine.h
6222 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6223 * sysdeps/powerpc/soft-fp/sfp-machine.h
6224 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6225 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6226 Likewise.
6227 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6228 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6229 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6230 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6231 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6232 Likewise.
6233
fbfdf9cb
DAS
62342014-02-12 Dylan Alex Simon <dylan@dylex.net>
6235
6236 [BZ #16545]
6237 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6238 model 1.
6239
68b7efaa
RH
62402014-02-12 Richard Henderson <rth@redhat.com>
6241
c70a4b1d 6242 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
6243 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6244 * sysdeps/unix/sysv/linux/alpha: Move directory from
6245 ports/sysdeps/unix/sysv/linux/alpha.
6246 * README: Update listing for alpha-*-linux-gnu.
6247
cb4a2928
JM
62482014-02-11 Joseph Myers <joseph@codesourcery.com>
6249
c941736c
JM
6250 * include/features.h: Update comment documenting feature test
6251 macros.
6252 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6253 _DEFAULT_SOURCE.
6254 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6255 (_SVID_SOURCE): Likewise.
6256 (_DEFAULT_SOURCE): Update description of default features.
6257 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6258 with _GNU_SOURCE.
6259 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6260 (S_ISVTX): Likewise.
6261 * manual/math.texi (Mathematical Constants): Likewise.
6262 * manual/signal.texi (Interrupted Primitives): Likewise.
6263 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6264 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6265 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6266 Don't refer to _SVID_SOURCE in warning text.
6267
e8d8d7ec
JM
6268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6269
cb4a2928
JM
6270 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6271 already defined.
6272 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6273 * sysdeps/mips/dl-lookup.c: Remove.
6274 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6275
7e6424e3
AK
62762014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6277
6278 [BZ #16447]
6279 * math/auto-libm-test-in: Add testcase for expl.
6280 * math/auto-libm-test-out: Regenerate.
6281 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6282 calculation of unsafe.
6283 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6284
75eff3fe
MS
62852014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6286
6287 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6288 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6289 ports/sysdeps/unix/sysv/linux/aarch64.
6290 * README: Update listing for aarch64*-*-linux-gnu.
6291
d35f1e80
WN
62922014-02-11 Will Newton <will.newton@linaro.org>
6293
6294 * manual/probes.texi (Mathematical Function Probes): Use
6295 "triggered" instead of "hit".
6296
7b3436d4
WN
6297 * manual/probes.texi (Internal Probes): Add documentation
6298 of setjmp, longjmp and longjmp_target probes.
6299
b4f12ca3
WN
6300 * include/stap-probe.h: Add comment about probe argument
6301 format.
6302
c13a72b7
WN
6303 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6304 definition. (tr_where, tr_freehook, tr_mallochook,
6305 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6306
195b8165
DM
63072014-02-11 David S. Miller <davem@davemloft.net>
6308
6309 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6310 processing int_tests.
6311
2ad7600b
JM
63122014-02-10 Joseph Myers <joseph@codesourcery.com>
6313
6314 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6315 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6316 * sysdeps/unix/sysv/linux/mips: Move directory from
6317 ports/sysdeps/unix/sysv/linux/mips.
6318 * README: Update listing for mips-*-linux-gnu and
6319 mips64-*-linux-gnu.
6320
73588a72
AS
63212014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6322
6323 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6324 * sysdeps/unix/sysv/linux/m68k: Move directory from
6325 ports/sysdeps/unix/sysv/linux/m68k.
6326 * README: Update listing for m68k-*-linux-gnu.
6327
4372980f
CM
63282014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6329
6330 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6331 * sysdeps/unix/sysv/linux/generic: Move directory from
6332 ports/sysdeps/unix/sysv/linux/generic.
6333 * sysdeps/unix/sysv/linux/tile: Move directory from
6334 ports/sysdeps/unix/sysv/linux/tile.
6335 * README: Update listing for tile*-*-linux-gnu.
6336
a1ffb40e
OB
63372014-02-10 Ondřej Bílka <neleai@seznam.cz>
6338
57f41c40
AS
6339 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6340 __builtin_expect.
a1ffb40e
OB
6341 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6342 * catgets/open_catalog.c (__open_catalog): Likewise.
6343 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6344 * debug/confstr_chk.c: Likewise.
6345 * debug/fread_chk.c (__fread_chk): Likewise.
6346 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6347 * debug/getgroups_chk.c: Likewise.
6348 * debug/mbsnrtowcs_chk.c: Likewise.
6349 * debug/mbsrtowcs_chk.c: Likewise.
6350 * debug/mbstowcs_chk.c: Likewise.
6351 * debug/memcpy_chk.c: Likewise.
6352 * debug/memmove_chk.c: Likewise.
6353 * debug/mempcpy_chk.c: Likewise.
6354 * debug/memset_chk.c: Likewise.
6355 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6356 * debug/strcat_chk.c (__strcat_chk): Likewise.
6357 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6358 * debug/strncat_chk.c (__strncat_chk): Likewise.
6359 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6360 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6361 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6362 * debug/wcpncpy_chk.c: Likewise.
6363 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6364 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6365 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6366 * debug/wcsncpy_chk.c: Likewise.
6367 * debug/wcsnrtombs_chk.c: Likewise.
6368 * debug/wcsrtombs_chk.c: Likewise.
6369 * debug/wcstombs_chk.c: Likewise.
6370 * debug/wmemcpy_chk.c: Likewise.
6371 * debug/wmemmove_chk.c: Likewise.
6372 * debug/wmempcpy_chk.c: Likewise.
6373 * debug/wmemset_chk.c: Likewise.
6374 * dirent/scandirat.c (SCANDIRAT): Likewise.
6375 * dlfcn/dladdr1.c (dladdr1): Likewise.
6376 * dlfcn/dladdr.c (dladdr): Likewise.
6377 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6378 * dlfcn/dlerror.c (__dlerror): Likewise.
6379 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6380 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6381 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6382 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6383 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6384 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6385 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6386 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6387 Likewise.
6388 * elf/dl-conflict.c: Likewise.
6389 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6390 * elf/dl-dst.h: Likewise.
6391 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6392 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6393 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6394 * elf/dl-init.c (call_init, _dl_init): Likewise.
6395 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
6396 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6397 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6398 Likewise.
a1ffb40e
OB
6399 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6400 Likewise.
6401 * elf/dl-minimal.c (__libc_memalign): Likewise.
6402 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6403 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6404 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6405 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
6406 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6407 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
6408 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6409 * elf/dl-writev.h (_dl_writev): Likewise.
6410 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
6411 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6412 (dl_main): Likewise.
a1ffb40e
OB
6413 * elf/setup-vdso.h (setup_vdso): Likewise.
6414 * grp/compat-initgroups.c (compat_call): Likewise.
6415 * grp/fgetgrent.c (fgetgrent): Likewise.
6416 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6417 * grp/putgrent.c (putgrent): Likewise.
6418 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6419 Likewise.
6420 * hurd/hurdinit.c: Likewise.
6421 * iconvdata/8bit-gap.c (struct): Likewise.
6422 * iconvdata/ansi_x3.110.c : Likewise.
6423 * iconvdata/big5.c : Likewise.
6424 * iconvdata/big5hkscs.c : Likewise.
6425 * iconvdata/cp1255.c: Likewise.
6426 * iconvdata/cp1258.c : Likewise.
6427 * iconvdata/cp932.c : Likewise.
6428 * iconvdata/euc-cn.c: Likewise.
6429 * iconvdata/euc-jisx0213.c : Likewise.
6430 * iconvdata/euc-jp.c: Likewise.
6431 * iconvdata/euc-jp-ms.c : Likewise.
6432 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6433 * iconvdata/gb18030.c : Likewise.
6434 * iconvdata/gbbig5.c (const): Likewise.
6435 * iconvdata/gbgbk.c: Likewise.
6436 * iconvdata/gbk.c : Likewise.
6437 * iconvdata/ibm1364.c : Likewise.
6438 * iconvdata/ibm930.c : Likewise.
6439 * iconvdata/ibm932.c: Likewise.
6440 * iconvdata/ibm933.c : Likewise.
6441 * iconvdata/ibm935.c : Likewise.
6442 * iconvdata/ibm937.c : Likewise.
6443 * iconvdata/ibm939.c : Likewise.
6444 * iconvdata/ibm943.c: Likewise.
6445 * iconvdata/iso_11548-1.c: Likewise.
6446 * iconvdata/iso-2022-cn.c : Likewise.
6447 * iconvdata/iso-2022-cn-ext.c : Likewise.
6448 * iconvdata/iso-2022-jp-3.c: Likewise.
6449 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6450 * iconvdata/iso-2022-kr.c : Likewise.
6451 * iconvdata/iso646.c (gconv_end): Likewise.
6452 * iconvdata/iso_6937-2.c : Likewise.
6453 * iconvdata/iso_6937.c : Likewise.
6454 * iconvdata/iso8859-1.c: Likewise.
6455 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6456 * iconvdata/shift_jisx0213.c : Likewise.
6457 * iconvdata/sjis.c : Likewise.
6458 * iconvdata/t.61.c : Likewise.
6459 * iconvdata/tcvn5712-1.c : Likewise.
6460 * iconvdata/tscii.c: Likewise.
6461 * iconvdata/uhc.c : Likewise.
6462 * iconvdata/unicode.c (gconv_end): Likewise.
6463 * iconvdata/utf-16.c (gconv_end): Likewise.
6464 * iconvdata/utf-32.c (gconv_end): Likewise.
6465 * iconvdata/utf-7.c (base64): Likewise.
6466 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6467 * iconv/gconv_close.c (__gconv_close): Likewise.
6468 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
6469 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6470 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6471 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6472 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6473 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
6474 * iconv/iconv.c (iconv): Likewise.
6475 * iconv/iconv_close.c: Likewise.
6476 * iconv/loop.c (SINGLE): Likewise.
6477 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6478 * include/atomic.h: Likewise.
6479 * inet/inet6_option.c (option_alloc): Likewise.
6480 * intl/bindtextdom.c (set_binding_values): Likewise.
6481 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6482 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6483 * intl/localealias.c (read_alias_file): Likewise.
6484 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
6485 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6486 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
6487 * libio/fmemopen.c (fmemopen): Likewise.
6488 * libio/iofgets.c (_IO_fgets): Likewise.
6489 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6490 * libio/iofgetws.c (fgetws): Likewise.
6491 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6492 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
6493 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6494 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
6495 * locale/findlocale.c (_nl_find_locale): Likewise.
6496 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
6497 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
6498 Likewise.
6499 * locale/setlocale.c (setlocale): Likewise.
6500 * login/programs/pt_chown.c (main): Likewise.
6501 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
6502 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
6503 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
6504 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
6505 * math/e_exp2l.c: Likewise.
6506 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
6507 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
6508 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
6509 * math/s_catan.c (__catan): Likewise.
6510 * math/s_catanf.c (__catanf): Likewise.
6511 * math/s_catanh.c (__catanh): Likewise.
6512 * math/s_catanhf.c (__catanhf): Likewise.
6513 * math/s_catanhl.c (__catanhl): Likewise.
6514 * math/s_catanl.c (__catanl): Likewise.
6515 * math/s_ccosh.c (__ccosh): Likewise.
6516 * math/s_ccoshf.c (__ccoshf): Likewise.
6517 * math/s_ccoshl.c (__ccoshl): Likewise.
6518 * math/s_cexp.c (__cexp): Likewise.
6519 * math/s_cexpf.c (__cexpf): Likewise.
6520 * math/s_cexpl.c (__cexpl): Likewise.
6521 * math/s_clog10.c (__clog10): Likewise.
6522 * math/s_clog10f.c (__clog10f): Likewise.
6523 * math/s_clog10l.c (__clog10l): Likewise.
6524 * math/s_clog.c (__clog): Likewise.
6525 * math/s_clogf.c (__clogf): Likewise.
6526 * math/s_clogl.c (__clogl): Likewise.
6527 * math/s_csin.c (__csin): Likewise.
6528 * math/s_csinf.c (__csinf): Likewise.
6529 * math/s_csinh.c (__csinh): Likewise.
6530 * math/s_csinhf.c (__csinhf): Likewise.
6531 * math/s_csinhl.c (__csinhl): Likewise.
6532 * math/s_csinl.c (__csinl): Likewise.
6533 * math/s_csqrt.c (__csqrt): Likewise.
6534 * math/s_csqrtf.c (__csqrtf): Likewise.
6535 * math/s_csqrtl.c (__csqrtl): Likewise.
6536 * math/s_ctan.c (__ctan): Likewise.
6537 * math/s_ctanf.c (__ctanf): Likewise.
6538 * math/s_ctanh.c (__ctanh): Likewise.
6539 * math/s_ctanhf.c (__ctanhf): Likewise.
6540 * math/s_ctanhl.c (__ctanhl): Likewise.
6541 * math/s_ctanl.c (__ctanl): Likewise.
6542 * math/w_pow.c: Likewise.
6543 * math/w_powf.c: Likewise.
6544 * math/w_powl.c: Likewise.
6545 * math/w_scalb.c (sysv_scalb): Likewise.
6546 * math/w_scalbf.c (sysv_scalbf): Likewise.
6547 * math/w_scalbl.c (sysv_scalbl): Likewise.
6548 * misc/error.c (error_tail): Likewise.
6549 * misc/pselect.c (__pselect): Likewise.
6550 * nis/nis_callback.c (__nis_create_callback): Likewise.
6551 * nis/nis_call.c (__nisfind_server): Likewise.
6552 * nis/nis_creategroup.c (nis_creategroup): Likewise.
6553 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
6554 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
6555 * nis/nis_getservlist.c (nis_getservlist): Likewise.
6556 * nis/nis_lookup.c (nis_lookup): Likewise.
6557 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
6558 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
6559 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 6560 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
6561 * nis/nss_compat/compat-grp.c (getgrent_next_file)
6562 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
6563 * nis/nss_compat/compat-initgroups.c (add_group)
6564 (internal_getgrent_r): Likewise.
6565 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
6566 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
6567 * nis/nss_compat/compat-spwd.c (getspent_next_file)
6568 (internal_getspnam_r): Likewise.
6569 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
6570 (_nss_nis_getaliasbyname_r): Likewise.
6571 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
6572 (_nss_nis_getntohost_r): Likewise.
6573 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
6574 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
6575 (_nss_nis_getgrgid_r): Likewise.
6576 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
6577 (internal_nis_gethostent_r, internal_gethostbyname2_r)
6578 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
6579 (_nss_nis_gethostbyname4_r): Likewise.
6580 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
6581 (initgroups_netid): Likewise.
a1ffb40e 6582 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
6583 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
6584 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
6585 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
6586 (_nss_nis_getprotobynumber_r): Likewise.
6587 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
6588 (_nss_nis_getsecretkey): Likewise.
6589 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
6590 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
6591 (_nss_nis_getpwuid_r): Likewise.
6592 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
6593 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
6594 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
6595 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
6596 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
6597 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
6598 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6599 Likewise.
57f41c40
AS
6600 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
6601 (_nss_nisplus_getntohost_r): Likewise.
6602 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
6603 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
6604 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
6605 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 6606 Likewise.
57f41c40
AS
6607 * nis/nss_nisplus/nisplus-initgroups.c
6608 (_nss_nisplus_initgroups_dyn): Likewise.
6609 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
6610 (_nss_nisplus_getnetbyaddr_r): Likewise.
6611 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
6612 (_nss_nisplus_getprotobynumber_r): Likewise.
6613 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
6614 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
6615 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
6616 Likewise.
57f41c40
AS
6617 * nis/nss_nisplus/nisplus-service.c
6618 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
6619 (_nss_nisplus_getservbyport_r): Likewise.
6620 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
6621 (_nss_nisplus_getspnam_r): Likewise.
6622 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
6623 Likewise.
a1ffb40e
OB
6624 * nscd/aicache.c (addhstaiX): Likewise.
6625 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
6626 * nscd/connections.c (register_traced_file, send_ro_fd)
6627 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
6628 (main_loop_epoll): Likewise.
a1ffb40e
OB
6629 * nscd/grpcache.c (addgrbyX): Likewise.
6630 * nscd/hstcache.c (addhstbyX): Likewise.
6631 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6632 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
6633 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
6634 (addinnetgrX): Likewise.
6635 * nscd/nscd-client.h (__nscd_acquire_maplock)
6636 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
6637 * nscd/nscd_getai.c (__nscd_getai): Likewise.
6638 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
6639 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
6640 Likewise.
6641 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
6642 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
6643 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
6644 (__nscd_get_map_ref): Likewise.
a1ffb40e 6645 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
6646 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
6647 Likewise.
a1ffb40e
OB
6648 * nscd/pwdcache.c (addpwbyX): Likewise.
6649 * nscd/selinux.c (preserve_capabilities): Likewise.
6650 * nscd/servicescache.c (addservbyX): Likewise.
6651 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
6652 * posix/fnmatch.c (fnmatch): Likewise.
6653 * posix/getopt.c (_getopt_internal_r): Likewise.
6654 * posix/glob.c (glob, glob_in_dir): Likewise.
6655 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
6656 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
6657 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
6658 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
6659 * resolv/res_init.c: Likewise.
6660 * resolv/res_mkquery.c (res_nmkquery): Likewise.
6661 * resolv/res_query.c (__libc_res_nquery): Likewise.
6662 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
6663 Likewise.
6664 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
6665 * stdio-common/perror.c (perror): Likewise.
6666 * stdio-common/printf_fp.c (___printf_fp): Likewise.
6667 * stdio-common/tmpnam.c (tmpnam): Likewise.
6668 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6669 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
6670 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6671 Likewise.
a1ffb40e
OB
6672 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6673 * stdlib/putenv.c (putenv): Likewise.
6674 * stdlib/setenv.c (__add_to_environ): Likewise.
6675 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6676 * stdlib/strtol_l.c (INTERNAL): Likewise.
6677 * string/memmem.c (memmem): Likewise.
6678 * string/strerror.c (strerror): Likewise.
6679 * string/strnlen.c (__strnlen): Likewise.
6680 * string/test-memmem.c (simple_memmem): Likewise.
6681 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
6682 * sunrpc/pm_getport.c (__get_socket): Likewise.
6683 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
6684 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
6685 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
6686 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
6687 Likewise.
6688 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6689 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6690 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
6691 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
6692 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
6693 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
6694 Likewise.
6695 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
6696 Likewise.
a1ffb40e
OB
6697 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
6698 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
6699 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6700 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6701 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6702 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
6703 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6704 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
6705 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
6706 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
6707 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6708 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
6709 Likewise.
6710 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6711 Likewise.
6712 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6713 Likewise.
6714 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6715 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6716 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6717 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6718 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6719 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6720 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6721 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6722 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6723 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6724 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6725 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6726 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6727 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6728 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
6729 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6730 Likewise.
a1ffb40e
OB
6731 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6732 Likewise.
6733 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6734 Likewise.
6735 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6736 Likewise.
6737 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6738 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6739 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6740 Likewise.
6741 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6742 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6743 * sysdeps/posix/opendir.c (__opendirat): Likewise.
6744 * sysdeps/posix/sleep.c: Likewise.
6745 * sysdeps/posix/tempname.c: Likewise.
6746 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6747 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6748 Likewise.
57f41c40
AS
6749 * sysdeps/powerpc/powerpc32/dl-machine.h
6750 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
6751 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6752 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6753 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6754 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6755 Likewise.
6756 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6757 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6758 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6759 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6760 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6761 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6762 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6763 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6764 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6765 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6766 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6767 (elf_machine_lazy_rel): Likewise.
a1ffb40e 6768 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6769 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6770 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6771 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6772 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6773 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6774 * sysdeps/unix/grantpt.c (grantpt): Likewise.
6775 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6776 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6777 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6778 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6779 Likewise.
6780 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6781 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6782 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6783 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6784 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6785 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6786 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6787 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6788 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6789 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6790 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6791 Likewise.
6792 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6793 (__posix_fallocate64_l64): Likewise.
6794 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6795 (posix_fallocate): Likewise.
57f41c40
AS
6796 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6797 Likewise.
a1ffb40e 6798 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
6799 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6800 (getifaddrs_internal): Likewise.
a1ffb40e
OB
6801 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6802 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6803 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6804 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6805 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6806 (__posix_fallocate64_l64): Likewise.
6807 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6808 Likewise.
6809 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
6810 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6811 (__get_clockfreq): Likewise.
a1ffb40e
OB
6812 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6813 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6814 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6815 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6816 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6817 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6818 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6819 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6820 Likewise.
6821 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6822 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6823 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6824 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6825 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6826 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6827 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6828 Likewise.
6829 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6830 (posix_fallocate): Likewise.
6831 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6832 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6833 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
6834 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6835 (elf_machine_rela, elf_machine_rela_relative)
6836 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
6837 * time/asctime.c (asctime_internal): Likewise.
6838 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6839 * time/tzset.c (__tzset_parse_tz): Likewise.
6840 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6841 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6842 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6843 * wcsmbs/wcsmbsload.h: Likewise.
6844
f3d338c9
OB
6845 [BZ #15894]
6846 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6847
57f41c40
AS
6848 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6849 (arena_get2): Remove THREAD_STATS conditionals.
6850 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6851 (__malloc_stats, int): Likewise.
bdfe308a 6852
d674667c
MF
68532014-02-08 Mike Frysinger <vapier@gentoo.org>
6854
6855 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6856 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
6857
6349768c
MF
6858 * manual/setjmp.texi: Fix typos/grammar errors.
6859
0b7c7473
MF
6860 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6861 Only return early when n is <= 0. Delete unused return statement.
6862
ac8cc9e3
MF
6863 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6864 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6865 * debug/tst-longjmp_chk3.c: New file.
6866
c5bb8e23
MF
6867 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6868 (test_main): Replace code with set_fortify_handler call.
6869 * debug/test-strcpy_chk.c: Likewise.
6870 * debug/tst-chk1.c: Likewise.
6871 * debug/tst-longjmp_chk.c: Likewise.
6872 * test-skeleton.c: Include fcntl.h & paths.h
6873 (set_fortify_handler): Define.
6874
10444e42
MF
6875 * debug/tst-longjmp_chk.c: Add header comment and include
6876 ../test-skeleton.c.
6877 (do_test): Mark static.
6878 (TEST_FUNCTION): Define.
6879
1e805e8d
MF
6880 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6881 (IP_PMTUDISC_INTERFACE): Likewise.
6882 (IP_MULTICAST_IF): Likewise.
6883 (IP_MULTICAST_TTL): Likewise.
6884 (IP_MULTICAST_LOOP): Likewise.
6885 (IP_ADD_MEMBERSHIP): Likewise.
6886 (IP_DROP_MEMBERSHIP): Likewise.
6887 (IP_UNBLOCK_SOURCE): Likewise.
6888 (IP_BLOCK_SOURCE): Likewise.
6889 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6890 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6891 (IP_MSFILTER): Likewise.
6892 (MCAST_JOIN_GROUP): Likewise.
6893 (MCAST_BLOCK_SOURCE): Likewise.
6894 (MCAST_UNBLOCK_SOURCE): Likewise.
6895 (MCAST_LEAVE_GROUP): Likewise.
6896 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6897 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6898 (MCAST_MSFILTER): Likewise.
6899 (IP_MULTICAST_ALL): Likewise.
6900 (IP_UNICAST_IF): Likewise.
6901
73f79bb7
MF
6902 * timezone/Makefile: Delete $(have-ksh) check.
6903 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6904 * timezone/tzselect.ksh: Add +x mode bits.
6905
8da79b60
MF
6906 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6907 (ANON_INODE_FS_MAGIC): Likewise.
6908 (BDEVFS_MAGIC): Likewise.
6909 (BINFMTFS_MAGIC): Likewise.
6910 (BTRFS_TEST_MAGIC): Likewise.
6911 (CRAMFS_MAGIC_WEND): Likewise.
6912 (DEBUGFS_MAGIC): Likewise.
6913 (ECRYPTFS_SUPER_MAGIC): Likewise.
6914 (EXT3_SUPER_MAGIC): Likewise.
6915 (EXT4_SUPER_MAGIC): Likewise.
6916 (FUTEXFS_SUPER_MAGIC): Likewise.
6917 (HOSTFS_SUPER_MAGIC): Likewise.
6918 (HUGETLBFS_MAGIC): Likewise.
6919 (MINIX3_SUPER_MAGIC): Likewise.
6920 (MTD_INODE_FS_MAGIC): Likewise.
6921 (NILFS_SUPER_MAGIC): Likewise.
6922 (OPENPROM_SUPER_MAGIC): Likewise.
6923 (PIPEFS_MAGIC): Likewise.
6924 (PSTOREFS_MAGIC): Likewise.
6925 (QNX6_SUPER_MAGIC): Likewise.
6926 (RAMFS_MAGIC): Likewise.
6927 (REISERFS_SUPER_MAGIC_STRING): Likewise.
6928 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6929 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6930 (SECURITYFS_MAGIC): Likewise.
6931 (SELINUX_MAGIC): Likewise.
6932 (SMACK_MAGIC): Likewise.
6933 (SOCKFS_MAGIC): Likewise.
6934 (SQUASHFS_MAGIC): Likewise.
6935 (STACK_END_MAGIC): Likewise.
6936 (TMPFS_MAGIC): Likewise.
6937 (USBDEVICE_SUPER_MAGIC): Likewise.
6938 (V9FS_MAGIC): Likewise.
6939 (XENFS_SUPER_MAGIC): Likewise.
6940 (CRAMFS_MAGIC): Fix typo in comment.
6941 (EXT2_SUPER_MAGIC): Update comment.
6942 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6943
464263cc
JM
69442014-02-08 Joseph Myers <joseph@codesourcery.com>
6945
c6bfe5c4
JM
6946 * sysdeps/arm: Move directory from ports/sysdeps/arm.
6947 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6948 * sysdeps/unix/sysv/linux/arm: Move directory from
6949 ports/sysdeps/unix/sysv/linux/arm.
6950 * README: Update listing for arm-*-linux-gnueabi.
6951
464263cc
JM
6952 * README: Remove mention of am33.
6953
32749f6c
RM
69542014-02-07 Roland McGrath <roland@hack.frob.com>
6955
6956 * bits/sigset.h (__sigemptyset): Use a statement expression rather
6957 than the comma operator, to avoid "rhs of comma has no effect"
6958 compiler warnings.
6959 (__sigfillset, __sigandset, __sigorset): Likewise.
6960 * include/signal.h (__sigemptyset): Likewise.
6961 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6962
d5b396c1
AM
69632014-02-07 Allan McRae <allan@archlinux.org>
6964
6965 * version.h (RELEASE): Set to "development".
6966 (VERSION): Set to "2.19.90"
6967 * NEWS: Add 2.20 section.
6968
3bfff2ed
CD
69692014-02-06 Carlos O'Donell <carlos@redhat.com>
6970
6971 [BZ #16529]
6972 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6973
ee7cc385
SP
69742014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6975
6976 * manual/contrib.texi: Update entry for Carlos O'Donell,
6977 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6978
f877c4f2
CD
69792014-02-05 Carlos O'Donell <carlos@rehdat.com>
6980
27e839f6
CD
6981 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6982
f877c4f2
CD
6983 * sysdeps/unix/sysv/linux/kernel-features.h
6984 [__LINUX_KERNEL_VERSION >= 0x020621]
6985 (__ASSUME_PROC_PID_TASK_COMM): Define.
6986
68159946
SP
69872014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6988
ba17cdbd
SP
6989 [BZ #16398]
6990 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6991 conversion when destination buffer does not have enough space.
6992 * libio/tst-ftell-partial-wide.c: New test case.
6993 * libio/Makefile (tests): Add tst-ftell-partial-wide.
6994
68159946
SP
6995 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6996 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
6997 Leonard and Allan McRae.
6998
2b528732
DM
69992014-02-04 David S. Miller <davem@davemloft.net>
7000
7001 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7002 32-bit.
7003
0ff82463
AZ
70042014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7005
57f41c40
AS
7006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7007 New file
c01603f7
AZ
7008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7009 New file
57f41c40
AS
7010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7011 New file.
7012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7013 New file.
c01603f7
AZ
7014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7015 New file.
57f41c40
AS
7016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7017 New file.
7018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7019 New file.
c01603f7
AZ
7020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7021 New file.
7022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7023 New file.
7024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7025 New file.
7026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7027 New file.
7028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7029 New file.
7030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7031 New file.
7032
70332014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7034
0ff82463
AZ
7035 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7036 * shlib-versions: Likewise.
7037
1695c773
AZ
70382014-02-04 Roland McGrath <roland@hack.frob.com>
7039 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7040
7041 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7042 (abilist-pattern): New variable, set to %-le.abilist.
7043
7044 * Makerules (abilist-pattern): New variable.
7045 (vpath): Use $(abilist-pattern) in place of %.abilist.
7046 (check-abi-% pattern rule): Likewise.
7047 (check-abi, update-abi): Likewise.
7048
6c0ce4b4
EW
70492014-02-04 Eric Wong <normalperson@yhbt.net>
7050
7051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7052
481e3524
CD
70532014-02-03 Carlos O'Donell <carlos@redhat.com>
7054
7055 * manual/startup.texi: Add next, previous, and top entries for
7056 the `Program Arguments' and `Environment Variables' nodes.
7057
375592d3
AO
70582014-02-03 Alexandre Oliva <aoliva@redhat.com>
7059
7060 * manual/macros.texi: Add comments before MTASC-safety macros.
7061
f54838ba
AO
7062 * manual/users.texi: Document MTASC-safety properties.
7063
57f41c40
AS
7064 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7065 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
7066 @deftypefun, and add @safety note.
7067 * manual/signal.texi: Move comments that analyze the above
7068 functions to their home place.
7069
fd3daba4
AM
70702014-02-03 Allan McRae <allan@archlinux.org>
7071
7072 * po/sl.po: Update Slovenian translation from translation project.
7073
597636d7
AO
70742014-02-02 Alexandre Oliva <aoliva@redhat.com>
7075
7076 * manual/time.texi (timegm): Add missing blank after @c.
7077 Reported by Joseph Myers <joseph@codesourcery.com>.
7078
ee196e3c
AO
70792014-02-01 Alexandre Oliva <aoliva@redhat.com>
7080
7081 * manual/check-safety.sh: New.
7082 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7083
f8d529d5
AO
7084 * manual/terminal.texi: Document MTASC-safety properties.
7085
de55fdf4
AO
7086 * manual/filesys.texi: Document MTASC-safety properties.
7087
c3299c08
AO
7088 * manual/errno.texi: Document MTASC-safety properties.
7089
06e90b14
AO
7090 * manual/intro.texi: Document safety identifiers and
7091 conditionals.
7092
1acd4371
AO
7093 * manual/string.texi (wcstok): Fix prototype.
7094 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7095
23e5b8cb
AO
7096 * manual/time.texi: Document MTASC-safety properties.
7097
11087373
AO
7098 * manual/string.texi: Document MTASC-safety properties.
7099
5da2c93d
AO
7100 * manual/threads.texi: Document MTASC-safety properties.
7101
171e9210
AO
7102 * manual/stdio.texi: Document MTASC-safety properties.
7103
d9e02532
AO
7104 * manual/syslog.texi: Document MTASC-safety properties.
7105
6af8bab7
AO
7106 * manual/sysinfo.texi: Document MTASC-safety properties.
7107
663b02d7
AO
7108 * manual/startup.texi: Document MTASC-safety properties.
7109
973f180b
AO
7110 * manual/socket.texi: Document MTASC-safety properties.
7111
8f3c25c8
AO
7112 * manual/signal.texi: Document MTASC-safety properties.
7113
542210fb
AO
71142014-01-31 Alexandre Oliva <aoliva@redhat.com>
7115
7116 * manual/setjmp.texi: Document MTASC-safety properties.
7117
433c45a2
AO
7118 * manual/search.texi: Document MTASC-safety properties.
7119
c8ce789c
AO
7120 * manual/resource.texi: Document MTASC-safety properties.
7121
19f5d29c
AO
7122 * manual/process.texi: Document MTASC-safety properties.
7123
e2dfb7f4
AO
7124 * manual/platform.texi: Document MTASC-safety properties.
7125
8c1413f5
AO
7126 * manual/pipe.texi: Document MTASC-safety properties.
7127
03483ada
AO
7128 * manual/pattern.texi: Document MTASC-safety properties.
7129
29e7e2df
AO
7130 * manual/message.texi: Document MTASC-safety properties.
7131
9f529d7c
AO
7132 [BZ #12751]
7133 * manual/memory.texi: Document MTASC-safety properties.
7134
27aaa791
AO
7135 * manual/math.texi: Document MTASC-safety properties.
7136
f2d58726
AO
7137 * manual/locale.texi: Document MTASC-safety properties.
7138
2cc3615c
AO
7139 * manual/llio.texi: Document MTASC-safety properties.
7140
d9f0ec97
AO
7141 * manual/libdl.texi: New.
7142
e7c4409a
AO
7143 * manual/lang.texi: Document MTASC-safety properties.
7144
27bdc63c
AO
7145 * manual/job.texi: Document MTASC-safety properties.
7146
a7b90ea9
AO
7147 * manual/getopt.texi: Document MTASC-safety properties.
7148
c49130e3
AO
7149 * manual/ctype.texi: Document MTASC-safety properties.
7150
0d23a5c1
MR
71512014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7152
7153 [BZ #16046]
7154 * csu/libc-tls.c (static_map): Remove variable.
7155 (__libc_setup_tls): Use main executable's link map for TLS data.
7156 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7157 casing for LM_ID_BASE and GL(dl_nns).
7158 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7159 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7160 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7161 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7162 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7163 member.
7164 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7165 l_phnum members.
7166
0037bb60
AO
71672014-01-30 Alexandre Oliva <aoliva@redhat.com>
7168
7169 * manual/debug.texi: Document MTASC-safety properties.
7170
409e00bd
L
71712014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7172
7173 [BZ #16510]
7174 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7175 of __x86_64__ when disabling x87 inline functions.
7176
86e60666
AO
71772014-01-29 Alexandre Oliva <aoliva@redhat.com>
7178
7179 * manual/charset.texi: Document MTASC-safety properties.
7180
76167637
AO
7181 * manual/crypt.texi: Document MTASC-safety properties.
7182
e567f2a0
AO
7183 * manual/conf.texi: Document MTASC-safety properties.
7184
b719dafd
AO
7185 * manual/arith.texi: Document MTASC-safety properties.
7186
4a16c662
AO
7187 * manual/argp.texi: Document MTASC-safety properties.
7188
0a57b83e
AO
7189 * manual/macros.texi: Introduce macros to document multi
7190 thread, asynchronous signal and asynchronous cancellation
7191 safety properties.
7192 * manual/intro.texi: Introduce the properties themselves.
7193
feab2397
KK
71942014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7195
7196 * sysdeps/sh/sh4/Makefile: New file.
7197
1c0d11bc
AS
71982014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7199
7200 * math/gen-libm-test.pl ($srcdir): New variable.
7201 ($auto_input): Use it.
7202
af37a8a3
SP
72032014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7204
d7b00f98
SP
7205 [BZ #16506]
7206 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7207 access beyond array bounds when parsing netgroups file.
7208
af37a8a3
SP
7209 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7210 the old buffer before realloc.
7211
0c00f062
AM
72122014-01-27 Allan McRae <allan@archlinux.org>
7213
7214 * po/fr.po: Update French translation from translation project.
7215
7d69a1b0
KK
72162014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7217
7218 * sysdeps/sh/libm-test-ulps: Regenerate.
7219
6e697ff7
DM
72202014-01-24 David S. Miller <davem@davemloft.net>
7221
7222 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7223
9cadb35c
KK
72242014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7225
7226 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7227 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7228
5d41dadf
SP
72292013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7230
7231 [BZ #16474]
7232 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7233 string pointers after reallocation.
7234
0bad441c
KK
72352014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7236
7237 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7238 __SH4A__ instead of __SH_FPU_ANY__.
7239
7007c661
KK
72402014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7241
7242 * sysdeps/sh/fpu_control.h: New file.
7243 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7244 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7245 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7246 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7247 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7248 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7249 * sysdeps/sh/sys/ucontext.h: Remove.
7250 * sysdeps/sh/sys: Remove directory.
7251
0f0c35e4
AK
72522014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7253
7254 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7255 s390/sys/ucontext.h.
7256 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7257 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7258
4959e284
L
72592014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7260
7261 [BZ #15605]
7262 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7263
d98720e0
AZ
72642014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7265
7266 [BZ#16431]
7267 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7268 Adjust the vDSO correctly for internal calls.
7269 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7270
91cbd0bc
AM
72712014-01-20 Allan McRae <allan@archlinux.org>
7272
7273 * po/ca.po: Update Catalan translation from translation project.
7274
7a02cfad
MF
72752014-01-16 Mike Frysinger <vapier@gentoo.org>
7276
7277 * sysdeps/s390/sotruss-lib.c: New file.
7278
736c304a
AZ
72792014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7280
7281 [BZ#16430]
6e077ee5 7282 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
7283 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7284 local calls issues by not having a PLT stub required for IFUNC calls.
7285 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7286
94d0cea0
JM
72872014-01-16 Joseph Myers <joseph@codesourcery.com>
7288
7289 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7290 * math/test-fpucw-static.c: Likewise.
7291
980cb518
SP
72922013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7293
7294 [BZ #16453]
7295 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7296
2393fc01
AZ
72972014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7298
7299 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7300 implementation for powerpc.
7301
d359bcc2
OB
73022014-01-15 Ondřej Bílka <neleai@seznam.cz>
7303
7304 [BZ #14782]
7305 * sysdeps/posix/system.c (__libc_system): Do not enable
7306 asynchronous cancellation.
7307
7beb48cb
AK
73082014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7309
7310 [BZ #16427]
7311 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7312 handling only for numbers special also in the IEEE case.
7313
c20d5bf5
AK
73142014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7315
7316 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7317
e83bd4ee
AM
73182014-01-11 Allan McRae <allan@archlinux.org>
7319
76d0ea69
AM
7320 * po/bg.po: Update Bulgarian translation from translation project.
7321
e83bd4ee
AM
7322 * po/de.po: Update German translation from translation project.
7323
bc2ba20a
RM
73242014-01-10 Roland McGrath <roland@hack.frob.com>
7325
7326 * sysdeps/generic/gcc-compat.h: New file.
7327
649ecea2
SP
73282014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7329
7330 * benchtests/asin-inputs: Correct slow inputs.
7331 * benchtests/acos-inputs: Likewise.
7332
1b19c006
AM
73332014-01-10 Allan McRae <allan@archlinux.org>
7334
a46dab08
AM
7335 * po:sv.po: Update Swedish translation from translation project.
7336
421df74a
AM
7337 * po/vi.po: Update Vietnamese translation from translation project.
7338
d61c51a7
AM
7339 * po/eo.po: Update Esperanto translation from translation project.
7340
0339a319
AM
7341 * po/cs.po: Update Czech translation from translation project.
7342
94ad3e99
AM
7343 * po/nl.po: Update Dutch translation from translation project.
7344
e349ca71
AM
7345 * po/pl.po: Update Polish translation from translation project.
7346
ddf930c1
AM
7347 * po/ru.po: Update Russian translation from translation project.
7348
1b19c006
AM
7349 * po/uk.po: Update Ukrainian translation from translation project.
7350
9f236c49
BM
73512014-01-08 Brooks Moses <bmoses@google.com>
7352
7353 * elf/dl-load.c: Fix comment typo.
7354
cd6701cf
CD
73552014-01-08 Carlos O'Donell <carlos@redhat.com>
7356
7357 * po/header.pot: Rename to...
7358 * po/pot.header: ... this.
7359 * po/Makefile: Use pot.header.
7360
66671c84
YK
73612014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7362 Maxim Kuvyrkov <maxim@kugelworks.com>
7363
7364 [BZ #16394]
cd6701cf
CD
7365 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7366 SRC and DEST against LEN.
66671c84 7367
38f34581
AZ
73682014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7369
7370 [BZ #16414]
7371 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7372 implementation.
7373 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7374
73752014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
7376
7377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7378
4c327f2a
JM
73792014-01-08 Joseph Myers <joseph@codesourcery.com>
7380
7381 [BZ #16408]
7382 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7383 for large positive arguments.
7384
b821f414
JM
73852014-01-07 Joseph Myers <joseph@codesourcery.com>
7386
1f0f2067
JM
7387 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7388
a5a326f6
JM
7389 * math/auto-libm-test-in: Mark various tests with
7390 xfail-rounding:ldbl-128ibm.
7391 * math/auto-libm-test-out: Regenerated.
7392
b821f414
JM
7393 [BZ #16407]
7394 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7395 Increase overflow threshold.
7396
94c8a4bc
OB
73972014-01-07 Ondřej Bílka <neleai@seznam.cz>
7398
7399 [BZ #14286]
7400 * stdio-common/vfprintf.c: Check for integer overflow.
7401
87ded0c3
AK
74022014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7403
7404 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7405 the first argument and return value of __tls_get_addr_internal.
7406
c5eebdd0
AK
74072014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7408
7409 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7410 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7411
05d138ef
AK
74122014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7413
7414 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7415 * sysdeps/s390/rtld-global-offsets.sym: New file.
7416 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7417 GLIBC_2.19 symbol.
7418 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7419 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7420 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7421 ... this.
7422 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7423 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7424 ... this.
7425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7426 Regenerate.
7427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7428 Regenerate.
7429 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7430 halfs of GPRs for high_gprs contexts.
7431 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7432 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7433 field.
7434 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7435 uc_flags field.
7436 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7437 64 bit versions:
7438 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7439 for high GPRs (uc_high_gprs) and for future extensions
7440 (__reserved).
7441 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7442 for future extensions (__reserved).
7443 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7444 64 bit versions:
7445 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7446 SC_HIGHGPRS offset definition.
7447 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7448 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7449
93a45ff1
AK
7450 * Versions.def: Add GLIBC_2.19 for libpthread.
7451 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7452 siglongjmp for libpthread with GLIBC_2.19 symver.
7453 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7454 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7455 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7456 * sysdeps/s390/__longjmp.c: New file.
7457 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7458 * sysdeps/s390/longjmp.c: New file.
7459 * sysdeps/s390/setjmp.S: New file.
7460 * sysdeps/s390/sigjmp.S: New file.
7461 * sysdeps/s390/v1-longjmp.c: New file.
7462 * sysdeps/s390/v1-setjmp.h: New file.
7463 * sysdeps/s390/v1-sigjmp.c: New file.
7464 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7465 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7466 GLIBC_2.19 version.
7467 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7468 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7469 versioned symbols for ____longjmp_chk.
7470 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7471 Likewise.
7472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7473 Regenerate.
7474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7475 Regenerate.
7476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7477 Regenerate.
7478 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7479 Regenerate.
7480 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7481 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7482 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7483 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7484 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7485 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7486 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7487 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7488 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7489 * sysdeps/s390/rtld-__longjmp.c: New file.
7490 * sysdeps/s390/rtld-setjmp.S: New file.
7491
eb3fc44b
JM
74922014-01-06 Joseph Myers <joseph@codesourcery.com>
7493
7494 [BZ #16400]
7495 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7496 Return -__logl (x) for small positive arguments without evaluating
7497 a polynomial.
7498
9341dde4
MF
74992014-01-06 Mike Frysinger <vapier@gentoo.org>
7500
7501 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
7502 Rename to ...
7503 (__ptrace_peeksiginfo_args): ... this.
7504 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7505 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7506 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7507
4cff0293
AM
75082014-01-06 Allan McRae <allan@archlinux.org>
7509
7510 * inet/netinet/in.h: Fix typo in comment.
7511
75595dcf
AJ
75122014-01-05 Andreas Jaeger <aj@suse.de>
7513
7514 * sysdeps/i386/fpu/libm-test-ulps: Update.
7515
79c1e109
AM
75162014-01-05 Allan McRae <allan@archlinux.org>
7517
dd804818
AM
7518 * po/libc.pot: Regenerated.
7519
79c1e109
AM
7520 * malloc/memusagestat.c: Fix gettext call formatting.
7521
0c813d1f
SK
75222014-01-04 Sami Kerola <kerolasa@iki.fi>
7523
7524 * nscd/nscd.c: Improve usage() output.
7525
20f4a8d9
MF
75262014-01-04 Mike Frysinger <vapier@gentoo.org>
7527
7528 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
7529 * sysdeps/unix/sysv/linux/configure: Regenerated.
7530 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
7531 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
7532
22562bb2
JM
75332014-01-03 Joseph Myers <joseph@codesourcery.com>
7534
7535 [BZ #16390]
7536 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7537 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
7538
d7ad2d9b
AZ
75392014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7540
7541 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
7542 extra tokens at end of #undef directive.
7543 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
7544 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
7545 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7546
7dd009d8
JM
75472014-01-03 Joseph Myers <joseph@codesourcery.com>
7548
24db925a
JM
7549 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7550
7dd009d8
JM
7551 * math/auto-libm-test-in: Mark various tests with
7552 xfail-rounding:ldbl-128ibm.
7553 * math/auto-libm-test-out: Regenerated.
7554
396e3ecf
JM
75552014-01-02 Joseph Myers <joseph@codesourcery.com>
7556
819e5d50
JM
7557 [BZ #16386]
7558 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
7559 numbers with subnormal high part when calculating exponent.
7560
90b6a1e5
JM
7561 [BZ #16385]
7562 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
7563 fabs.
7564
396e3ecf
JM
7565 [BZ #16384]
7566 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
7567 M_LN2l.
7568 (__ieee754_acoshl): Use __log1pl not __log1p.
7569
6c8dbf00
OB
75702013-01-02 Ondřej Bílka <neleai@seznam.cz>
7571
57f41c40
AS
7572 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
7573 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
7574 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
7575 (grow_heap, heap_trim, _int_new_arena, get_free_list)
7576 (reused_arena, arena_get2): Convert to GNU style.
7577 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
7578 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
7579 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 7580 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
7581 * malloc/malloc.c (__malloc_assert, malloc_init_state)
7582 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
7583 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
7584 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
7585 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
7586 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 7587 * malloc/malloc.h: Likewise.
57f41c40
AS
7588 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
7589 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 7590 * malloc/mcheck.h: Likewise.
57f41c40
AS
7591 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
7592 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
7593 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
7594 * malloc/morecore.c (__default_morecore): Likewise.
7595 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
7596 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
7597 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
7598 (print_and_abort): Likewise.
6c8dbf00
OB
7599 * malloc/obstack.h: Likewise.
7600 * malloc/set-freeres.c (__libc_freeres): Likewise.
7601 * malloc/tst-mallocstate.c (main): Likewise.
7602 * malloc/tst-mtrace.c (main): Likewise.
7603 * malloc/tst-realloc.c (do_test): Likewise.
7604
d4124212
SP
76052013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7606
9a3c6a6f
SP
7607 [BZ #16366]
7608 * nscd/netgroupcache.c (do_notfound): New function.
7609 (addgetnetgrentX): Use it.
7610
d4124212
SP
7611 [BZ # 16365]
7612 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
7613 NSS_STATUS_NOTFOUND.
7614
97b9a009
JM
76152014-01-01 Joseph Myers <joseph@codesourcery.com>
7616
7617 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7619
d4697bc9
AM
76202014-01-01 Allan McRae <allan@archlinux.org>
7621
ddb3687f
AM
7622 * scripts/update-copyrights: Update configure input file suffix.
7623
88726d48
AM
7624 * NEWS: Update copyright year.
7625 * catgets/gencat.c: Likewise.
7626 * csu/version.c: Likewise.
7627 * debug/catchsegv.sh: Likewise.
7628 * debug/pcprofiledump.c: Likewise.
7629 * debug/xtrace.sh: Likewise.
7630 * elf/ldconfig.c: Likewise.
7631 * elf/ldd.bash.in: Likewise.
7632 * elf/pldd.c: Likewise.
7633 * elf/sotruss.ksh: Likewise.
7634 * elf/sprof.c: Likewise.
7635 * iconv/iconv_prog.c: Likewise.
7636 * iconv/iconvconfig.c: Likewise.
7637 * locale/programs/locale.c: Likewise.
7638 * locale/programs/localedef.c: Likewise.
7639 * login/programs/pt_chown.c: Likewise.
7640 * malloc/memusage.sh: Likewise.
7641 * malloc/memusagestat.c: Likewise.
7642 * malloc/mtrace.pl: Likewise.
7643 * manual/libc.texinfo: Likewise.
7644 * nscd/nscd.c: Likewise.
7645 * nss/getent.c: Likewise.
7646 * nss/makedb.c: Likewise.
7647 * posix/getconf.c: Likewise.
7648 * scripts/test-installation.pl: Likewise.
7649
d4697bc9
AM
7650 * All files with FSF copyright notices: Update copyright dates
7651 using scripts/update-copyrights.
7652 * intl/plural.c: Regenerated.
7653 * locale/programs/charmap-kw.h: Likewise.
7654 * locale/programs/locfile-kw.h: Likewise.
7655
c8590f9d
MF
76562013-12-31 Mike Frysinger <vapier@gentoo.org>
7657
7658 * sysdeps/unix/sysv/linux/configure: Regenerated.
7659 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
7660 the linux/fanotify.h header.
7661 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
7662 HAVE_LINUX_FANOTIFY_H is defined.
7663
b19221b9
SP
76642013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7665
dd1d85e5
SP
7666 * benchtests/cos-inputs: New inputs.
7667 * benchtests/sin-inputs: Likewise.
7668
1acbb90f
SP
7669 * benchtests/atan-inputs: New inputs. Fix name of multiple
7670 precision fallback inputs.
7671
4c012ed3
SP
7672 * benchtests/atanh-inputs: New inputs.
7673 * benchtests/tanh-inputs: Likewise.
7674
eff98324
SP
7675 * benchtests/acosh-inputs: New inputs.
7676 * benchtests/asinh-inputs: Likewise.
7677
ce641152
SP
7678 * benchtests/cosh-inputs: New inputs.
7679 * benchtests/sinh-inputs: Likewise.
7680
b19221b9
SP
7681 * benchtests/acos-inputs: Add more inputs.
7682 * benchtests/asin-inputs: Likewise.
7683
030a4976 76842013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 7685
030a4976 7686 [BZ #16375]
9dcc8f11
VS
7687 * manual/arith.texi: Fix spelling.
7688 * manual/charset.texi: Likewise.
7689 * manual/errno.texi: Likewise.
7690 * manual/filesys.texi: Likewise.
7691 * manual/lang.texi: Likewise.
7692 * manual/llio.texi: Likewise.
7693 * manual/locale.texi: Likewise.
7694 * manual/message.texi: Likewise.
7695 * manual/resource.texi: Likewise.
7696 * manual/search.texi: Likewise.
7697 * manual/setjmp.texi: Likewise.
7698 * manual/stdio.texi: Likewise.
7699 * manual/string.texi: Likewise.
7700 * manual/sysinfo.texi: Likewise.
7701 * manual/time.texi: Likewise.
7702
11520a57
CD
77032013-12-27 Carlos O'Donell <carlos@redhat.com>
7704
7705 * po/sl.po: New file.
7706
471103ae
MF
77072013-12-27 Mike Frysinger <vapier@gentoo.org>
7708
7709 * .gitignore: Add core/.gdbinit/.gdb_history.
7710
6c9642ed
AM
77112013-12-27 Allan McRae <allan@archlinux.org>
7712
7713 [BZ #16369]
7714 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7715 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7716
3f637079
BM
77172013-12-24 Brooks Moses <bmoses@google.com>
7718
7719 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7720 all compilers that claim C++98 compliance, not just GCC.
7721 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7722 Likewise.
7723
abc26e99
MK
77242013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7725
7726 * NEWS: Restore accidentally deleted bug-fix entries.
7727
362b47fe
MK
77282013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
7729 Ondřej Bílka <neleai@seznam.cz>
7730
7731 [BZ #15073]
7732 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 7733 have_lock.
362b47fe 7734
b9bcbbcb
OB
77352013-12-23 Ondřej Bílka <neleai@seznam.cz>
7736
7737 [BZ #12986]
7738 * manual/stdio.texi (String Input Conversions): Clarify that character
7739 classes are not supported.
7740
fb55fcd2
AZ
77412013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7742
7743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7744
ef7344f0
JM
77452013-12-22 Joseph Myers <joseph@codesourcery.com>
7746
4f40e4b3
JM
7747 [BZ #16337]
7748 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7749 Calculate results for small negative arguments directly rather
7750 than using reflection formula with special underflow handling.
7751
ef7344f0
JM
7752 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7753 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7754 sysdeps/unix/bsd/bsd4.4/syscalls.list.
7755 (fchflags): Likewise.
7756 (revoke): Likewise.
7757 (setlogin): Likewise.
7758 (sigaltstack): Likewise.
7759 (wait4): Likewise.
7760 (sigblock): Remove.
7761 (sigsetmask): Likewise.
7762 (wait3): Likewise.
7763 (waitpid): Likewise.
7764 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7765 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7766 file.
7767 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7768 * sysdeps/unix/bsd/Makefile: ... here.
7769 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7770 * sysdeps/unix/bsd/Versions: ... here.
7771 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7772 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7773 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7774 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7775 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7776 * sysdeps/unix/bsd/sigblock.c: ... here.
7777 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7778 * sysdeps/unix/bsd/sigsetmask.c: ... here.
7779 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7780 * sysdeps/unix/bsd/sigvec.c: ... here.
7781 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7782 * sysdeps/unix/bsd/tcdrain.c: ... here.
7783 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7784 * sysdeps/unix/bsd/tcgetattr.c: ... here.
7785 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7786 * sysdeps/unix/bsd/tcsetattr.c: ... here.
7787 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7788 * sysdeps/unix/bsd/wait.c: ... here.
7789 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7790 * sysdeps/unix/bsd/wait3.c: ... here.
7791 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7792 * sysdeps/unix/bsd/waitpid.c: ... here.
7793
5b0626b9
JM
77942013-12-21 Joseph Myers <joseph@codesourcery.com>
7795
7796 [BZ #16356]
7797 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7798 round-to-nearest for [!USE_AS_EXPM1L].
7799 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7800 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
7801 more tests of exp and exp10. Expect some exp10 tests to miss
7802 exceptions or fail in directed rounding modes.
7803 * math/auto-libm-test-out: Regenerated.
7804 * math/libm-test.inc (exp10_tonearest_test_data): New array.
7805 (exp10_test_tonearest): New function.
7806 (exp10_towardzero_test_data): New array.
7807 (exp10_test_towardzero): New function.
7808 (exp10_downward_test_data): New array.
7809 (exp10_test_downward): New function.
7810 (exp10_upward_test_data): New array.
7811 (exp10_test_upward): New function.
7812 (main): Call the new functions.
7813 * sysdeps/i386/fpu/libm-test-ulps: Update.
7814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7815
7fda5682
JM
78162013-12-20 Joseph Myers <joseph@codesourcery.com>
7817
31e3a405
JM
7818 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7819 asinh, atan, atan2, atanh, cbrt, cos and cosh.
7820 * math/auto-libm-test-out: Regenerated.
7821 * math/libm-test.inc (acosh_test_data): Add more tests.
7822 (atanh_test_data): Likewise.
7823 (ceil_test_data): Likewise.
7824 (copysign_test_data): Likewise.
7825 * sysdeps/i386/fpu/libm-test-ulps: Update.
7826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7827
85bff96a
JM
7828 * timezone/checktab.awk: Update from tzcode 2013i.
7829 * timezone/private.h: Likewise.
7830 * timezone/scheck.c: Likewise.
7831 * timezone/tzfile.h: Likewise.
7832 * timezone/tzselect.ksh: Likewise.
7833 * timezone/zdump.c: Likewise.
7834 * timezone/zic.c: Likewise.
7835
b7867a3b
JM
7836 * math/auto-libm-test-in: Add tests of cpow.
7837 * math/auto-libm-test-out: Regenerated.
7838 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 7839 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
7840 mpc_cc_c.
7841 (func_calc_desc): Add mpc_cc_c union field.
7842 (test_functions): Add cpow.
7843 (special_fill_2pi): New function.
7844 (special_real_inputs): Add 2pi.
7845 (calc_generic_results): Handle mpc_cc_c.
7846 * sysdeps/i386/fpu/libm-test-ulps: Update.
7847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7848
7fda5682
JM
7849 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7850 csqrt, ctan and ctanh.
7851 * math/auto-libm-test-out: Regenerated.
7852 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7853 (TEST_COND_x86): Likewise.
7854 (ccos_test_data): Use AUTO_TESTS_c_c.
7855 (ccosh_test_data): Likewise.
7856 (cexp_test_data): Likewise.
7857 (clog_test_data): Likewise.
7858 (csqrt_test_data): Likewise.
7859 (ctan_test_data): Likewise.
7860 (ctan_tonearest_test_data): Likewise.
7861 (ctan_towardzero_test_data): Likewise.
7862 (ctan_downward_test_data): Likewise.
7863 (ctan_upward_test_data): Likewise.
7864 (ctanh_test_data): Likewise.
7865 (ctanh_tonearest_test_data): Likewise.
7866 (ctanh_towardzero_test_data): Likewise.
7867 (ctanh_downward_test_data): Likewise.
7868 (ctanh_upward_test_data): Likewise.
7869 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7870 mpc_c_c.
7871 (func_calc_desc): Add mpc_c_c union field.
7872 (FUNC_mpc_c_c): New macro.
7873 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7874 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7875 ctanh.
7876 (special_fill_min_subnorm_p120): New function.
7877 (special_real_inputs): Add min_subnorm_p120.
7878 (calc_generic_results): Handle mpc_c_c.
7879 * sysdeps/i386/fpu/libm-test-ulps: Update.
7880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7881
5ff8d60e
SP
78822013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7883
57f41c40
AS
7884 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7885 (do_sin_slow): New functions.
7886 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7887 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 7888
84ba214c
SP
7889 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7890 Use M to change sign of result instead of X. Assume X is
7891 positive.
7892 (csloww1): Likewise.
7893 (__sin): Adjust.
7894 (__cos): Adjust.
7895
975195e4
SP
7896 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7897 arguments A and DA.
7898 (__sin): Adjust.
7899 (__cos): Likewise.
7900
5ff8d60e
SP
7901 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7902 (__cos): Likewise.
7903 (sloww1): Don't adjust sign of DX.
7904 (csloww1): Likewise.
7905 (sloww2): Use X directly and don't adjust sign of DX.
7906 (csloww2): Likewise.
7907
eb983568
JM
79082013-12-19 Joseph Myers <joseph@codesourcery.com>
7909
64a17f1a
JM
7910 * math/auto-libm-test-in: Add tests of cabs and carg.
7911 * math/auto-libm-test-out: Regenerated.
7912 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7913 (carg_test_data): Likewise.
7914 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7915 mpc_c_f.
7916 (func_calc_desc): Add mpc_c_f union field.
7917 (test_functions): Add cabs and carg.
7918 (calc_generic_results): Handle mpc_c_f.
7919
eb983568
JM
7920 * sysdeps/powerpc/powerpc32/libgcc-compat.S
7921 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7922 as a macro and a compat symbol.
7923 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7924 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7925 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7926 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7927 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7928 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7929 not use .hidden.
7930 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7931 Likewise.
7932 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7933 Likewise.
7934 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7935 Likewise.
7936 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7937 Likewise.
7938 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7939 Likewise.
7940 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7941 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7942 from GLIBC_2.3.2.
7943
6eeb678a
AZ
79442013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7945
7946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7947
6f6fc482
JM
79482013-12-19 Joseph Myers <joseph@codesourcery.com>
7949
21fea2e2
JM
7950 * manual/texinfo.tex: Update to version 2013-11-26.10 with
7951 trailing whitespace removed.
7952 * scripts/config.guess: Update to version 2013-11-29.
7953 * scripts/config.sub: Update to version 2013-10-01.
7954
6f6fc482
JM
7955 * math/auto-libm-test-in: Add tests of sincos.
7956 * math/auto-libm-test-out: Regenerated.
7957 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7958 * math/gen-auto-libm-tests.c (func_calc_method): Add value
7959 mpfr_f_11.
7960 (func_calc_desc): Add mpfr_f_11 union field.
7961 (test_functions): Add sincos.
7962 (calc_generic_results): Handle mpfr_f_11.
7963 * sysdeps/i386/fpu/libm-test-ulps: Update.
7964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7965
83f5c32d
AS
79662013-12-19 Andreas Schwab <schwab@suse.de>
7967
7968 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7969 CALL_MCOUNT.
7970 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7971 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7972 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7973
c688b419
JM
79742013-12-19 Joseph Myers <joseph@codesourcery.com>
7975
335ee092
JM
7976 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7977 * sysdeps/i386/fpu/libm-test-ulps: Update.
7978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7979
f88acd39
JM
7980 [BZ #16293]
7981 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7982 round-to-nearest mode when using frndint.
7983 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7984 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7985 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7986 Likewise.
7987 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
7988 sinh test to fail.
7989 * math/auto-libm-test-out: Regenerated.
7990 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7991 (TEST_COND_x86): Likewise.
7992 (expm1_tonearest_test_data): New array.
7993 (expm1_test_tonearest): New function.
7994 (expm1_towardzero_test_data): New array.
7995 (expm1_test_towardzero): New function.
7996 (expm1_downward_test_data): New array.
7997 (expm1_test_downward): New function.
7998 (expm1_upward_test_data): New array.
7999 (expm1_test_upward): New function.
8000 (main): Run the new test functions.
8001 * sysdeps/i386/fpu/libm-test-ulps: Update.
8002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8003
c688b419
JM
8004 * include/features.h: Update comment documenting feature test
8005 macros. Mention _DEFAULT_SOURCE in comment.
8006 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8007 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8008 _BSD_SOURCE and _SVID_SOURCE.
8009 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8010 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8011 !_SVID_SOURCE]: Likewise.
8012 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8013 (__USE_POSIX_IMPLICITLY): Define.
8014 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8015 (_POSIX_SOURCE): Undefine and redefine.
8016 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8017 (_POSIX_C_SOURCE): Likewise.
8018 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8019 (Feature Test Macros): Update documentation of default features.
8020
9f6e964c
RS
80212013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8022
8023 * benchtests/Makefile: Add bench-strtok.
8024 * benchtests/bench-strtok.c: New file: strtok benchtest.
8025
ee0a148a
AM
80262013-12-19 Allan McRae <allan@archlinux.org>
8027
8028 * manual/install.texi: Suppress menu for plain text output.
8029 * INSTALL: Regenerated.
8030
b9ab448f
BM
80312013-12-18 Brooks Moses <bmoses@google.com>
8032
8033 [BZ #15846]
8034 * misc/getauxval.c: Include errno.h.
8035 (__getauxval): Set errno to ENOENT if the requested type is not
8036 found.
8037 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8038 don't declare with __attribute_const__.
8039 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8040 * manual/startup.texi: Document that getauxval sets errno.
8041
23776487
JM
80422013-12-18 Joseph Myers <joseph@codesourcery.com>
8043
f889953b
JM
8044 * math/auto-libm-test-in: Add tests of jn and yn.
8045 * math/auto-libm-test-out: Regenerated.
8046 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8047 (yn_test_data): Likewise.
8048 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8049 mpfr_if_f.
8050 (func_calc_desc): Add mpfr_if_f union field.
8051 (FUNC_mpfr_if_f): New macro.
8052 (test_functions): Add jn and yn.
8053 (calc_generic_results): Assert type of second input for
8054 mpfr_ff_f. Handle mpfr_if_f.
8055 (output_for_one_input_case): Disable all checking for arguments
8056 fitting floating-point types in case of an integer argument.
8057 * sysdeps/i386/fpu/libm-test-ulps: Update.
8058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8059
23776487
JM
8060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8061 Don't expect fegetround reference in libm.so.
8062
cb756c6d
MS
80632013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8064
8065 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8066 $(config-cflags-nofma).
8067
2dec468f
JM
80682013-12-18 Joseph Myers <joseph@codesourcery.com>
8069
5953eb3a
JM
8070 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8071 * math/auto-libm-test-out: Regenerated.
8072
2dec468f
JM
8073 [BZ #16338]
8074 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8075 to determine exponent and adjust argument to have exponent of -1.
8076 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8077 log2.
8078 * math/auto-libm-test-out: Regenerated.
8079 * sysdeps/i386/fpu/libm-test-ulps: Update.
8080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8081
4d84e6ad
OB
80822013-12-18 Ondřej Bílka <neleai@seznam.cz>
8083
8084 * manual/probes.texi: Remove cases when per-thread arenas are
8085 disabled.
8086
1818483b
AS
80872013-12-18 Andreas Schwab <schwab@suse.de>
8088
8089 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8090 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8091 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8092 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8093 * sysdeps/i386/i686/multiarch/Makefile: Update.
8094 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8095
25de95bf
JM
80962013-12-17 Joseph Myers <joseph@codesourcery.com>
8097
8098 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8099 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8100
674762d9
PE
81012013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8102
ed27ed83 8103 [BZ #15968]
0748546f
PE
8104 Support TZ transition times < 00:00:00.
8105 This is needed for version-3 tz-format files; it supports time
8106 stamps past 2037 for America/Godthab (the only entry in the tz
8107 database for which this change is relevant).
8108 * manual/time.texi (TZ Variable): Document transition times
8109 from -167:59:59 through -00:00:01.
8110 * time/tzset.c (tz_rule): Time of day is now signed.
8111 (__tzset_parse_tz): Parse negative time of day.
8112
4480e934
PE
8113 Document TZ transition times >= 25:00:00.
8114 * manual/time.texi (TZ Variable): Document transition times from
8115 25:00:00 through 167:59:59. These are already supported, and this
8116 support will help with version-3 tz-format files.
8117
69947401
PE
8118 * manual/time.texi (TZ Variable): Modernize North America example
8119 to reflect current (i.e., 2007-and-later) daylight saving rules.
8120
674762d9
PE
8121 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8122
7011c262
JM
81232013-12-17 Joseph Myers <joseph@codesourcery.com>
8124
2fc6557e
JM
8125 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8126 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8128 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8129 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8130 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8131 * sysdeps/unix/bsd/clock.c: Likewise.
8132 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8133 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8134 * sysdeps/unix/bsd/init-posix.c: Likewise.
8135 * sysdeps/unix/bsd/poll.c: Likewise.
8136 * sysdeps/unix/bsd/ptsname.c: Likewise.
8137 * sysdeps/unix/bsd/seekdir.c: Likewise.
8138 * sysdeps/unix/bsd/setegid.c: Likewise.
8139 * sysdeps/unix/bsd/seteuid.c: Likewise.
8140 * sysdeps/unix/bsd/setgid.c: Likewise.
8141 * sysdeps/unix/bsd/setrgid.c: Likewise.
8142 * sysdeps/unix/bsd/setruid.c: Likewise.
8143 * sysdeps/unix/bsd/setsid.c: Likewise.
8144 * sysdeps/unix/bsd/setuid.c: Likewise.
8145 * sysdeps/unix/bsd/sigaction.c: Likewise.
8146 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8147 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8148 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8149 * sysdeps/unix/bsd/telldir.c: Likewise.
8150 * sysdeps/unix/bsd/times.c: Likewise.
8151 * sysdeps/unix/bsd/usleep.c: Likewise.
8152
029c7b25
JM
8153 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8154 ($(objpfx)libbsd-compat.a): Remove rule.
8155
7011c262
JM
8156 * include/features.h (__FAVOR_BSD): Do not define.
8157 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8158 features conflicting with POSIX.
8159 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8160 (_BSD_SOURCE): Remove description of not being a subset of other
8161 feature test macros.
8162 * manual/job.texi (getpgrp): Do not document BSD version.
8163 (getpgid): Do not document by reference to BSD getpgrp.
8164 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8165 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8166 * signal/signal.h [__FAVOR_BSD]: Likewise.
8167 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8168 instead of making contents conditional on [__FAVOR_BSD].
8169 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8170
affb6f78
AZ
81712013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8172
8173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8174
c88769dd
JM
81752013-12-17 Joseph Myers <joseph@codesourcery.com>
8176
6432a540
JM
8177 [BZ #16314]
8178 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8179 values below 2**-450, not 2**-500.
8180 * math/auto-libm-test-in: Don't allow spurious underflow from
8181 hypot.
8182 * math/auto-libm-test-out: Regenerated.
8183
c88769dd
JM
8184 [BZ #16316]
8185 [BZ #16330]
8186 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8187 values of ha and hb and sort them after adjusting subnormal
8188 arguments.
8189 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8190 Likewise.
8191 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8192 values of ea and eb and sort them after adjusting subnormal
8193 arguments.
8194 * math/auto-libm-test-in: Do not expect some hypot tests of
8195 subnormals to fail. Add more hypot tests.
8196 * math/auto-libm-test-out: Regenerated.
8197
29618f6b
KK
81982013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8199
8200 [BZ #13304]
8201 * sysdeps/sh/s_fma.c: New file.
8202 * sysdeps/sh/s_fmaf.c: New file.
8203 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8204 version.
8205 * sysdeps/sh/Implies: Add sh/soft-fp.
8206
eacfdfbf
RM
82072013-12-16 Roland McGrath <roland@hack.frob.com>
8208
8209 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8210 level of indirection to members `objname', `errstring', `malloced'.
8211 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8212 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8213 it as the __longjmp argument (just pass 1 instead).
8214 (_dl_catch_error): Initialize C with argument pointers and address of
8215 volatile local ERRCODE rather than copying values out of C at return.
8216
ff362e5b
JM
82172013-12-16 Joseph Myers <joseph@codesourcery.com>
8218
8219 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8220 * math/auto-libm-test-out: Regenerated.
8221 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8222 (hypot_test_data): Likewise.
8223 (pow_test_data): Likewise.
8224 (pow_tonearest_test_data): Likewise.
8225 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8226 mpfr_ff_f.
8227 (func_calc_desc): Add mpfr_ff_f union field.
8228 (FUNC_mpfr_ff_f): New macro.
8229 (test_functions): Add atan2, hypot and pow.
8230 (special_fill_min): New function.
8231 (special_fill_minus_min): Likewise.
8232 (special_fill_min_subnorm): Likewise.
8233 (special_fill_minus_min_subnorm): Likewise.
8234 (special_real_inputs): Add min, -min, min_subnorm and
8235 -min_subnorm.
8236 (calc_generic_results): Handle mpfr_ff_f.
8237 * sysdeps/i386/fpu/libm-test-ulps: Update.
8238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8239
5764c27f
WN
82402013-12-16 Will Newton <will.newton@linaro.org>
8241
8242 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8243 (Aligned Memory Blocks): Add documentation for aligned_alloc
8244 and suggest it as an alternative to posix_memalign.
8245 (Hooks for Malloc): Document __memalign_hook is also called
8246 for aligned_alloc. (Summary of Malloc): Add summary for
8247 aligned alloc. Document __memalign_hook is also called
8248 for aligned_alloc.
8249
0a096e44
WN
82502013-12-16 Will Newton <will.newton@linaro.org>
8251
8252 * manual/memory.texi (Malloc Examples): Clarify default
8253 alignment documentation. Suggest posix_memalign rather
8254 than memalign or valloc.
8255 (Aligned Memory Blocks): Remove suggestion to use memalign
8256 or valloc. Remove obsolete comment about BSD.
8257 Document memalign errno values and mark the function obsolete.
8258 Document posix_memalign returned error codes. Mark valloc
8259 as obsolete. (Hooks for Malloc): __memalign_hook is also
8260 called for posix_memalign and valloc.
8261 (Summary of Malloc): Add posix_memalign to function summary.
8262 __memalign_hook is also called for posix_memalign and valloc.
8263
8d561986
SP
82642013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8265
8266 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8267 TAYLOR_SIN.
8268 (__sin): Adjust.
8269 (__cos): Likewise.
8270 (sloww): Use mynumber union. Expand ternary operator into
8271 if-else statements.
8272 (cslow): use mynumber union.
8273
73616a74
AM
82742013-12-16 Allan McRae <allan@archlinux.org>
8275
9e8ac24b
AM
8276 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8277 * configure: Regenerated.
8278
6f8e37eb
AM
8279 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8280
8894bad3
AM
8281 [BZ #14120]
8282 * configure.ac: Added --enable-maintainer-mode. Check for
8283 autoconf when enabled.
8284 * configure: Regenerated.
8285
73616a74
AM
8286 * nscd/nscd.service: New file.
8287 * nscd/nscd.tmpfiles: New file.
8288
584b18eb
OB
82892013-12-14 Ondřej Bílka <neleai@seznam.cz>
8290
8291 [BZ #12100]
8292 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8293 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8294 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8295 (strstr): Add __strstr_sse2_unaligned ifunc.
8296 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8297 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8298 (strcasestr): Remove __strcasestr_sse42 ifunc.
8299 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8300 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8302
8a5c7897
KK
83032013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8304
8305 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8306 * sysdeps/sh/bits/fenv.h: ... here.
8307 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8308
fd712ef3
AZ
83092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8310
8311 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8312
42fcb46c
AZ
8313 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8314 hypotf multiarch implementations.
8315 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8316 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8317 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8318 multiarch hypot for PPC64.
8319 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8320 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8321 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8322 multiarch hypotf for PPC64.
8323
83efded4
AZ
8324 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8325 modff multiarch implementations.
8326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8329 multiarch modf for PPC64.
8330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8333 multiarch modff for PPC64.
8334
43e246d2
AZ
8335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8336 and logl multiarch implementations.
8337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8340 multiarch logb for PPC64.
8341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8344 multiarch logb for PPC64.
8345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8348 multiarch logb for PPC64.
8349
8fdad123
AZ
8350 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8351 isinff multiarch implementation.
8352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8353 file.
8354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8356 multiarch isinf for PPC64.
8357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8358 file.
8359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8360 multiarch isinff for PPC64.
8361
1481d706
AZ
8362 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8363 finitef multiarch implementation.
8364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8365 file.
8366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8368 multiarch finite for PPC64.
8369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8370 file.
8371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8372 multiarch finitef for PPC64.
8373
5ccd5fc8
AZ
8374 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8375 lrint multiarch implementation.
8376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8377 file.
8378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8380 multiarch llrint for PPC64.
8381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8382 multiarch lrint for PPC64.
8383
2568f3fa
AZ
8384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8385 copysignf multiarch implementation.
8386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8387 file.
8388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8389 file.
8390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8391 multiarch copysign for PPC64.
8392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8393 multiarch copysignf for PPC64.
8394
1cb341fd
AZ
8395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8396 multiarch implementation.
8397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8398 file.
8399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8400 file.
8401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8402 file.
8403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8404 file.
8405 multiarch llround for PPC64.
8406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8407 multiarch trunc for PPC64.
8408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8409 multiarch truncf for PPC64.
8410
59a3e194
AZ
8411 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8412 multiarch implementation.
8413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8414 file.
8415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8416 file.
8417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8418 file.
8419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8420 file.
8421 multiarch llround for PPC64.
8422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8423 multiarch round for PPC64.
8424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8425 multiarch roundf for PPC64.
8426
357fd3b4
AZ
8427 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8428 multiarch implementation.
8429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8430 file.
8431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8432 file.
8433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8434 file.
8435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8436 file.
8437 multiarch llround for PPC64.
8438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8439 multiarch floor for PPC64.
8440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8441 multiarch floorf for PPC64.
8442
96770f12
AZ
8443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8444 multiarch implementation.
8445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8446 file.
8447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8448 file.
8449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8450 file.
8451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8452 file.
8453 multiarch llround for PPC64.
8454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8455 multiarch ceil for PPC64.
8456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8457 multiarch ceilf for PPC64.
8458
c3627f6e
AZ
8459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8460 multiarch implementation.
8461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8462 file.
8463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8464 file.
8465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8466 file.
8467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8468 multiarch llround for PPC64.
8469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8470 multiarch lround for PPC64.
8471
b2284ad7
AZ
8472 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8473 multiarch implementation.
8474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8477 file.
8478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8481 multiarch isnan for PPC64.
8482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8483 multiarch isnanf for PPC64.
8484
69bbc63d
AZ
8485 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8486 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8487 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8488 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8489 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8491
c24517c9
AZ
8492 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8493 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8494 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8495 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8496
a52374e8
AZ
8497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
8498 multiarch implementations.
8499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8500 (__libc_ifunc_impl_list): Likewise.
8501 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8502 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
8503 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
8504 multiarch stpcpy for PPC64.
8505
7f5ec113
AZ
8506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
8507 multiarch implementations.
8508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8509 (__libc_ifunc_impl_list): Likewise.
8510 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
8511 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
8512 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
8513 multiarch strcpy for PPC64.
8514
e28bcd42
AZ
8515 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
8516 redefine function name.
8517 (_wordcopy_fwd_dest_aligned): Likewise.
8518 (_wordcopy_bwd_aligned): Likewise.
8519 (_wordcopy_bwd_dest_aligned): Likewise.
8520 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
8521 multiarch implementations.
8522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8523 (__libc_ifunc_impl_list): Likewise.
8524 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
8525 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
8526 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
8527 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
8528 multiarch wcscpy for PPC64.
8529
92cacfce
AZ
8530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
8531 multiarch implementations.
8532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8533 (__libc_ifunc_impl_list): Likewise.
8534 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
8535 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
8536 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
8537 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
8538 multiarch wcscpy for PPC64.
8539
7b714620
AZ
8540 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
8541 multiarch implementations.
8542 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8543 (__libc_ifunc_impl_list): Likewise.
8544 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
8545 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
8546 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
8547 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
8548 multiarch wcsrchr for PPC64.
8549
16fd2ae3
AZ
8550 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
8551 multiarch implementations.
8552 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8553 (__libc_ifunc_impl_list): Likewise.
8554 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
8555 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
8556 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
8557 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
8558 multiarch wcschr for PPC64.
8559
9ee2969b
AZ
8560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
8561 multiarch implementations.
8562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8563 (__libc_ifunc_impl_list): Likewise.
8564 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
8565 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
8566 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
8567 multiarch strchrnul for PPC64.
8568
372dc060
AZ
8569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
8570 implementations.
8571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8572 (__libc_ifunc_impl_list): Likewise.
8573 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
8574 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
8575 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
8576 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
8577 strchr for PPC64.
8578
24c2c3b9
AZ
8579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
8580 implementations.
8581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8582 (__libc_ifunc_impl_list): Likewise.
8583 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
8584 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
8585 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
8586 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
8587 strncmp for PPC64.
8588
1c92d9a0
AZ
8589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
8590 multiarch implementations.
8591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8592 (__libc_ifunc_impl_list): Likewise.
8593 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
8594 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
8595 strncasecmp for PPC64.
8596 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
8597 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
8598 multiarch strncasecmp_l for PPC64.
8599
17de3ee3
AZ
8600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
8601 multiarch implementations.
8602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8603 (__libc_ifunc_impl_list): Likewise.
8604 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
8605 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
8606 multiarch strcasecmp for PPC64.
8607 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
8608 file.
8609 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
8610 multiarch strcasecmp_l for PPC64.
8611
62982bf9
AZ
8612 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
8613 implementations.
8614 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8615 (__libc_ifunc_impl_list): Likewise.
8616 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
8617 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
8618 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
8619 strnlen for PPC64.
8620
a65f4904
AZ
8621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
8622 implementations.
8623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8624 (__libc_ifunc_impl_list): Likewise.
8625 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
8626 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
8627 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
8628 strlen for PPC64.
8629
1fd005ad
AZ
8630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
8631 implementations.
8632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8633 (__libc_ifunc_impl_list): Likewise.
8634 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
8635 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
8636 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
8637 rawmemrchr for PPC64.
8638
cd05ba91
AZ
8639 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
8640 implementation.
8641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8642 (__libc_ifunc_impl_list): Likewise.
8643 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
8644 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
8645 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
8646 memrchr for PPC64.
8647
870f8676
AZ
8648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
8649 implementation.
8650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8651 (__libc_ifunc_impl_list): Likewise.
8652 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
8653 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
8654 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
8655 memchr for PPC64.
8656
f00be62b
AZ
8657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
8658 implementation.
8659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8660 (__libc_ifunc_impl_list): Likewise.
8661 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
8662 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
8663 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
8664 mempcpy for PPC64.
8665
8a29a3d0
AZ
8666 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
8667 avoid cretion of __bzero symbol.
8668 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
8669 Likewise.
8670 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8671 Likewise.
8672 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
8673 Likewise.
8674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
8675 multiarch implementations.
8676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8677 (__libc_ifunc_impl_list): Likewise.
8678 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
8679 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
8680 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
8681 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
8682 bzero for PPC32.
8683 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
8684 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
8685 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
8686 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
8687 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
8688 memset for PPC64.
8689 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
8690
07253fcf
AZ
8691 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
8692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
8693 implementations.
8694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8695 (__libc_ifunc_impl_list): Likewise.
8696 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
8697 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
8698 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
8699 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
8700 memcmp for PPC64.
8701
b5beafbc
AZ
8702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
8703 multiarch for POWER/PPC64.
8704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
8705 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
8706 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
8707 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
8708 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
8709 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8710 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8711 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8712 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8713 memcpy for PPC64.
8714
5e6a4d4b
AZ
8715 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8716 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8717 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8718 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8719 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8720 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8721 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8722 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8723 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8724 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8725 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8726 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8727 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8728 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8729 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8737
ddfab6dc
KK
87382013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8739
8740 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8741
19b5525e
SP
87422013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8743
8744 * benchtests/Makefile (bench): Add exp2 and log2.
8745 (LDLIBS-bench-exp2): Add -lm.
8746 (LDLIBS-bench-log2): Likewise.
8747 * benchtests/exp2-inputs: New inputs file.
8748 * benchtests/log2-inputs: New inputs file.
8749 * benchtests/log-inputs: Add new inputs.
8750 * benchtests/tan-inputs: Likewise.
8751
196f7f5d
SP
87522013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8753
7a74607f
SP
8754 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8755 definition...
57f41c40
AS
8756 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8757 (csloww2): ... from here.
7a74607f 8758
196f7f5d
SP
8759 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8760 instead of structures.
8761 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8762 (POLYNOMIAL): Likewise.
8763 (TAYLOR_SLOW): Likewise.
8764 (__sin): Likewise.
8765 (__cos): Likewise.
8766 (slow1): Likewise.
8767 (slow2): Likewise.
8768 (sloww): Likewise.
8769 (sloww1); Likewise.
8770 (sloww2): Likewise.
8771 (bsloww1): Likewise.
8772 (bsloww2): Likewise.
8773 (cslow2): Likewise.
8774 (csloww): Likewise.
8775 (csloww1): Likewise.
8776 (csloww2): Likewise.
8777
0dfa665c
OB
87782013-12-10 Ondřej Bílka <neleai@seznam.cz>
8779
8780 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
8781 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8782 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
8783 * malloc/hooks.c (realloc_check): Likewise.
8784
5782a80f
OB
8785 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8786 * malloc/arena.c: Remove PER_THREAD conditional.
8787 [!PER_THREAD]: Remove code.
8788 (ptmalloc_unlock_all2): Likewise.
8789 (ptmalloc_init): Likewise.
8790 (_int_new_arena): Likewise.
8791 (arena_get2): Likewise.
8792 * malloc/hooks.c (__malloc_get_state): Likewise.
8793 (__malloc_set_state): Likewise.
8794 * malloc/malloc.c: Likewise.
8795 (struct malloc_state): Likewise.
8796 (struct malloc_par): Likewise.
8797 (__libc_realloc): Likewise.
8798 (__libc_mallopt): Likewise.
8799
aeb95445
AZ
88002013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8801
8802 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8803
e8349efd
OB
88042013-12-09 Ondřej Bílka <neleai@seznam.cz>
8805
8806 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8807 macro to a function. Check for zero perturb_byte.
8808 (_int_malloc, _int_free): Remove zero perturb_byte checks.
8809
f3eeb3fc 8810 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
8811 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8812 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
8813 force_reg by atomic_forced_read.
8814 * malloc/arena.c (ptmalloc_init): Likewise.
8815 * malloc/hooks.c (top_check): Likewise.
8816
be2f9009
AZ
88172013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8818
8819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8820
e7b914bd
MT
88212013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
8822
8823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8824
9f0be4f8
JM
88252013-12-08 Joseph Myers <joseph@codesourcery.com>
8826
8827 * math/auto-libm-test-in: Add tests of lgamma.
8828 * math/auto-libm-test-out: Regenerated.
8829 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8830 (M_LOG_2_SQRT_PIl): Likewise.
8831 (lgamma_test_data): Use AUTO_TESTS_f_f1.
8832 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8833 mpfr_f_f1.
8834 (func_calc_desc): Add mpfr_f_f1 union field.
8835 (ARGS1): New macro.
8836 (ARGS2): Likewise.
8837 (ARGS3): Likewise.
8838 (ARGS4): Likewise.
8839 (RET1): Likewise.
8840 (RET2): Likewise.
8841 (CALC): Likewise.
8842 (FUNC): Likewise.
8843 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8844 (test_functions): Add lgamma.
8845 (calc_generic_results): Handle mpfr_f_f1.
8846 * sysdeps/i386/fpu/libm-test-ulps: Update.
8847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8848
24eeafdb
AZ
88492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8850
8851 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8852 __mpn_add_n for PowerPC64/POWER7.
8853 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8854 __mpn_sub_n for PowerPC64/POWER7.
8855
4a2c0fd4
AZ
8856 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8857 __mpn_addmul_1 for PowerPC64.
8858 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8859 __mpn_submul_1 for PowerPC64.
8860 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8861 for PowerPC64.
8862 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8863 for PowerPC64.
8864
4b5b548c
FS
88652013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
8866
8867 [BZ #15089]
8868 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8869
0a3ac0aa
AZ
88702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8871
8872 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8873
ccdc8438
AZ
8874 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8875 add multiarch folders.
8876 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8877 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8878 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8879 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8880 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8881 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8882 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8883 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8884 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8885 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8886 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8893
2e973d99
AZ
8894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8895 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8897 New file.
8898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8899 New file.
8900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8901 multiarch __ieee754_hypot for PowerPC32.
8902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8903 New file.
8904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8905 New file.
8906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8907 multiarch __ieee754_hypotf for PowerPC32.
8908
2d9470b2
AZ
8909 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8910 long_double_symbol only if __logbl is defined.
8911 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8912 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8913 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8914 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8915 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8916 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8917 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8918 path for implementation.
8919 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8920 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8922 logb, and logbl multiarch implementations for PowerPC32.
8923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8924 file.
8925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8926 file.
8927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8928 multiarch logb for PowerPC32.
8929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8930 file.
8931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8932 file.
8933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8934 multiarch logbf for PowerPC32.
8935 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8937 file.
8938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8939 multiarch logbl implementation for PowerPC32.
8940
5212ffce
AZ
8941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8942 and modff multiarch implementations.
8943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8944 New file.
8945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8946 New file.
8947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8948 multiarch modf for PowerPC32.
8949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8950 New file.
8951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8952 New file.
8953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8954 multiarch modff for PowerPC32.
8955
79dccf31
AZ
8956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8957 and lrintf multiarch implementations.
8958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8959 New file.
8960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8961 New file.
8962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8963 multiarch lrint for PowerPC32.
8964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8965 file: multiarch lrintf for PowerPC32.
8966
deb66480
AZ
8967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8968 and lroundf multiarch implementations.
8969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8970 New file.
8971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8972 New file.
8973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8974 New file.
8975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8976 multiarch lround for PowerPC32.
8977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8978 file: multiarch lroundf for PowerPC32.
8979
264b036b
AZ
8980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8981 copysign and copysignf multiarch implementations.
8982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8983 New file.
8984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8985 New file.
8986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8987 file: multiarch copysign for PowerPC32.
8988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8989 file: multiarch copysignf for PowerPC32.
8990
d47db6c9
AZ
8991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8992 and truncf multiarch implementations.
8993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8994 New file.
8995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8996 file.
8997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8998 multiarch trunc for PowerPC32.
8999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9000 New file.
9001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9002 New file.
9003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9004 multiarch truncf for PowerPC32.
9005
ddb60b5a
AZ
9006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9007 and roundf multiarch implementations.
9008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9009 New file.
9010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9011 file.
9012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9013 multiarch round for PowerPC32.
9014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9015 New file.
9016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9017 New file.
9018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9019 multiarch roundf for PowerPC32.
9020
bedcf49b
AZ
9021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9022 and floorf multiarch implementations.
9023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9024 New file.
9025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9026 file.
9027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9028 multiarch floor for PowerPC32.
9029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9030 New file.
9031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9032 New file.
9033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9034 multiarch floorf for PowerPC32.
9035
35ae5b40
AZ
9036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9037 and ceilf multiarch implementations.
9038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9039 New file.
9040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9041 file.
9042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9043 multiarch ceil for PowerPC32.
9044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9045 New file.
9046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9047 file.
9048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9049 multiarch ceilf for PowerPC32.
9050
ae1a4cd9
AZ
9051 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9052 is defined.
9053 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9054 FINITEF is defined.
9055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9056 and finitef multiarch implementations.
9057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9058 New file.
9059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9060 file.
9061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9062 multiarch finite for PowerPC32.
9063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9064 New file.
9065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9066 file: multiarch finitef for PowerPC32.
9067
64fffd65
AZ
9068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9069 and isinff multiarch implementations.
9070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9071 file.
9072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9073 file.
9074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9075 multiarch isinf for PowerPC32.
9076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9077 New file.
9078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9079 multiarch isinff for PowerPC32.
9080
8e4e7ba2
AZ
9081 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9082 alias when __isnan is defined.
9083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9084 and isnanf multiarch implementations.
9085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9086 file.
9087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9088 file.
9089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9090 file.
9091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9092 file.
9093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9094 multiarch isnan for PowerPC32.
9095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9096 New file.
9097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9098 New file.
9099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9100 multiarch isnanf for PowerPC32.
9101
ddba588e
AZ
9102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9103 and sqrtf multiarch implementations.
9104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9105 file.
9106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9107 file.
9108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9109 multiarch sqrt for PowerPC32.
9110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9111 file.
9112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9113 file.
9114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9115 multiarch sqrtf for PowerPC32.
9116
0f96a2f0
AZ
9117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9118 and llroundf multiarch implementations.
9119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9120 New file.
9121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9122 New file.
9123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9124 New file.
9125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9126 file: multiarch llround for PowerPC32.
9127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9128 file: multiarch llroundf for PowerPC32.
9129
c9b5d79e
AZ
9130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9131 multiarch PowerPC32 fpu implementations.
9132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9133 New file.
9134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9135 New file.
9136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9137 multiarch llrint for PowerPC32.
9138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9139 New file.
9140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9141 New file.
9142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9143 file.
9144
9cbb3aab
AZ
9145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9146
ea5a72f8
AZ
9147 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9148 file.
9149 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9150 file.
9151 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9152 file.
9153 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9154 multiarch wordcopy for PPC32.
9155 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9156 wordcopy objects.
9157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9158 (__libc_ifunc_impl_list): Likewise.
9159 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9160 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9161 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9162 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9163 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9164 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9165
93be09e7
AZ
9166 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9167 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9168 file.
9169 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9170 file.
9171 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9172 file.
9173 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9174 multiarch wcscpy for PPC32.
9175 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9176 multiarch objects.
9177 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9178 (__libc_ifunc_impl_list): Likewise.
9179 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9180 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9181 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9182 sysdeps/powerpc/power6/wcscpy.c.
9183
bb04e529
AZ
9184 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9185 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9186 file.
9187 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9188 file.
9189 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9190 file.
9191 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9192 multiarch wcsrchr for PPC32.
9193 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9194 multiarch objects.
9195 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9196 (__libc_ifunc_impl_list): Likewise.
9197 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9198 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9199 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9200 sysdeps/powerpc/power6/wcsrchr.c.
9201
05b5cd1c
AZ
9202 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9203 file.
9204 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9205 file.
9206 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9207 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9208 multiarch wcschr for PPc32.
9209 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9210 multiarch objects.
9211 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9212 (__libc_ifunc_impl_list): Likewise.
9213 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9214 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9215 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9216 sysdeps/powerpc/power6/wcschr.c.
9217
ba964147
AZ
9218 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9219 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9220 file.
9221 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9222 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9223 file: multiarch strchr for PPC32.
9224 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9225 multiarch objects.
9226 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9227 (__libc_ifunc_impl_list): Likewise.
9228
31c81aaa
AZ
9229 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9230 name.
9231 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9232 file.
9233 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9234 file.
9235 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9236 multiarch strchrnul for PPC32.
9237 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9238 multiarch objects.
9239 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9240 (__libc_ifunc_impl_list): Likewise.
9241
0d0607d9
AZ
9242 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9243 file.
9244 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9245 multiarch strncasecmp for PPC32.
9246 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9247 file.
9248 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9249 multiarch strncasecmp_l for PPC32.
9250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9251 strncasecmp multiarch objects.
9252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9253 (__libc_ifunc_impl_list): Likewise.
9254
4dfd5c86
AZ
9255 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9256 file.
9257 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9258 multiarch strncasecmp for PPC32.
9259 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9260 New file.
9261 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9262 multiarch strcasecmp_l for PPC32.
9263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9264 multiarch objects.
9265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9266 (__libc_ifunc_impl_list): Likewise.
9267
a19e01a3
AZ
9268 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9269 file.
9270 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9271 file.
9272 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9273 multiarch strncmp for PPC32.
9274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9275 multiarch objects.
9276 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9277 (__libc_ifunc_impl_list): Likewise.
9278
ae9cf7a2
AZ
9279 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9280 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9281 file.
9282 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9283 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9285 multiarch objects.
9286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9287 (__libc_ifunc_impl_list): Likewise.
9288
3148bb7d
AZ
9289 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9290 file.
9291 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9292 file.
9293 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9295 multiarch objects.
9296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9297 (__libc_ifunc_impl_list): Likewise.
9298
7af8b946
AZ
9299 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9300 file.
9301 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9302 file.
9303 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9304 multiarch rawmemchr for PPC32.
9305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9306 multiarch objects.
9307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9308 (__libc_ifunc_impl_list): Likewise.
9309
03a6aa6a
AZ
9310 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9311 file.
9312 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9313 file.
9314 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9315 file: memrchr multiarch for PPC32.
9316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9317 multiarch objects.
9318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9319 (__libc_ifunc_impl_list): Likewise.
9320
1c62e6d9
AZ
9321 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9322 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9323 file.
9324 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9325 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9326 multiarch memchr for PPC32.
9327 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9328 multiarch objects.
9329 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9330 (__libc_ifunc_impl_list): Likewise.
9331
87da8bdb
AZ
9332 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9333 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9334 file.
9335 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9336 file.
9337 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9338 file: multiarch mempcpy for PPC32.
9339 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9340 multiarch objects.
9341 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9342 (__libc_ifunc_impl_list): Likewise.
9343
20ed4714
AZ
9344 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9345 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9346 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9347 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9348 multiarch bzero for PPC32.
9349 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9350 file.
9351 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9352 file.
9353 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9354 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9355 file: multiarch memset for PPC32.
9356 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9358 memset multiarch objects.
9359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9360 (__libc_ifunc_impl_list): Likewise.
9361
ab3e3a46
AZ
9362 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9363 file.
9364 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9365 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9366 memcmp for PPC32.
9367 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9368 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9369 multiarch objects.
9370 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9371 (__libc_ifunc_impl_list): Likewise.
9372
930de6f0
AZ
9373 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9374 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9375 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9376 file.
9377 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9378 file.
9379 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9380 file.
9381 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9382 multiarch memcpy for PPC32.
9383 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9384 multiarch objects.
9385 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9386 (__libc_ifunc_impl_list): Likewise.
9387
4c628e00
AZ
9388 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9389 support multiarch for POWER/PPC32.
9390 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9391 Likewise.
9392 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9394 Implies file to make multiarch folder appers before the fpu and
9395 default folder for power4 configuration.
9396
f4479220
SP
93972013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9398
9399 * scripts/bench.pl: Append volatile keyword to type.
9400
8517800f
KK
94012013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9402
9403 * sysdeps/sh/sotruss-lib.c: New file.
9404 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9405
180138f1
AZ
94062013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9407
9408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9409
bbf37bdc
JM
94102013-12-05 Joseph Myers <joseph@codesourcery.com>
9411
e47cc4e0
JM
9412 [BZ #6810]
9413 * math/w_tgamma.c: Include <errno.h>.
9414 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9415 * math/w_tgammaf.c: Include <errno.h>.
9416 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9417 * math/w_tgammal.c: Include <errno.h>.
9418 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9419 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9420 underflow. Add more tgamma tests.
9421 * math/auto-libm-test-out: Regenerated.
9422 * sysdeps/i386/fpu/libm-test-ulps: Update.
9423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9424
bbf37bdc
JM
9425 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9426 sin, sinh, tan, tanh, tgamma, y0 and y1.
9427 * math/auto-libm-test-out: Regenerated.
9428 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9429 (TEST_COND_x86): Likewise.
9430 (M_E2l): Remove macro.
9431 (M_E3l): Likewise.
9432 (M_2_SQRT_PIl): Likewise.
9433 (M_SQRT_PIl): Likewise.
9434 (M_1_DIV_El): Likewise.
9435 (log_test_data): Use AUTO_TESTS_f_f.
9436 (log10_test_data): Likewise.
9437 (log1p_test_data): Likewise.
9438 (log2_test_data): Likewise.
9439 (sin_test_data): Likewise.
9440 (sin_tonearest_test_data): Likewise.
9441 (sin_towardzero_test_data): Likewise.
9442 (sin_downward_test_data): Likewise.
9443 (sin_upward_test_data): Likewise.
9444 (sinh_test_data): Likewise.
9445 (sinh_tonearest_test_data): Likewise.
9446 (sinh_towardzero_test_data): Likewise.
9447 (sinh_downward_test_data): Likewise.
9448 (sinh_upward_test_data): Likewise.
9449 (tan_test_data): Likewise.
9450 (tan_tonearest_test_data): Likewise.
9451 (tan_towardzero_test_data): Likewise.
9452 (tan_downward_test_data): Likewise.
9453 (tan_upward_test_data): Likewise.
9454 (tanh_test_data): Likewise.
9455 (tgamma_test_data): Likewise.
9456 (y0_test_data): Likewise.
9457 (y1_test_data): Likewise.
9458 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9459 (special_real_inputs): Add pi/4.
9460 * sysdeps/i386/fpu/libm-test-ulps: Update.
9461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9462
eb5ad6b9
AZ
94632013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9464
9465 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9466 "longjmp_target" static probes.
9467 (__longjmp): Rename to __longjmp_symbol.
9468 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9469 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9470 on which longjmp to generate.
9471 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9472 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9473 probe.
9474 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9475 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9476 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9477 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9478 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9479 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9481 __longjmp_symbol based on which __longjmp to generate.
9482 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9483 probe.
9484 (setjmp): Rename to setjmp_symbol.
9485 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9486 (_setjmp): Rename to _setjmp_symbol.
9487 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9488 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9489 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9490 which setjmp to generate.
9491 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9492 "longjmp_target" static probes.
9493
d136c6dc
SP
94942013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9495
9298ecba
SP
9496 * benchtests/README: Add note about output arguments.
9497 * benchtests/bench-sincos.c: Remove file.
9498 * benchtests/sincos-inputs: New file.
9499 * scripts/bench.pl: Identify output arguments and define
9500 static variables for them.
9501
232983e9
SP
9502 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
9503
d136c6dc
SP
9504 [BZ #15941]
9505 * Makefile (INSTALL): Add install-plain.texi as the primary
9506 dependency.
9507 * manual/install-plain.texi: New file.
9508 * manual/install.texi: Include node directive only for
9509 non-plaintext output.
9510
699ff837
JM
95112013-12-04 Joseph Myers <joseph@codesourcery.com>
9512
ab07cea8
JM
9513 * stdlib/longlong.h: Update from GCC.
9514
699ff837
JM
9515 [BZ #6807]
9516 [BZ #15901]
9517 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
9518 * math/w_j0f.c (y0f): Likewise.
9519 * math/w_j0l.c (__y0l): Likewise.
9520 * math/w_j1.c (y1): Likewise.
9521 * math/w_j1f.c (y1f): Likewise.
9522 * math/w_j1l.c (__y1l): Likewise
9523 * math/w_jn.c (yn): Likewise.
9524 * math/w_jnf.c (ynf): Likewise.
9525 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
9526 Bessel function pole errors in _POSIX_ mode. Use NAN as return
9527 value for Bessel function domain errors outside _SVID_ mode.
9528 Adjust sign of return value for yn (negative integer, 0).
9529 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
9530 by zero in return for negative x and set sign appropriately for
9531 negative n.
9532 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
9533 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9534 * math/libm-test.inc (y0_test_data): Add more tests and adjust
9535 expectations in error cases.
9536 (y1_test_data): Likewise.
9537 (yn_test_data): Likewise.
9538 * sysdeps/i386/fpu/libm-test-ulps: Update.
9539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9540
5b118558
UW
95412013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9542
9543 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
9544 "64" to "64-v1". Add "64-v2".
9545 (abi-64-options): Rename to ...
9546 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
9547 (abi-64-condition): Rename to ...
9548 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
9549 (abi-64-ld-soname): Rename to ...
9550 (abi-64-v1-ld-soname): ... this.
9551 (abi-64-v2-options): Define.
9552 (abi-64-v2-condition): Likewise.
9553 (abi-64-v2-ld-soname): Likewise.
9554 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
9555 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
9556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
9557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
9558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
9559
61cd8fe4
UW
95602013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9561 Alan Modra <amodra@gmail.com>
9562
9563 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
9564 New versions for use with the ELFv2 ABI.
9565 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
9566 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
9567 declaration.
9568 (struct La_ppc64v2_retval): Likewise.
9569 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
9570 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
9571 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
9572 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
9573 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
9574 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9575 Do not save or restore CR.
9576 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
9577 (_dl_profile_resolve): Do no save or restore CR. Support extended
9578 return values for ELFv2 ABI. Fix location of FPR return registers.
9579 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
9580 updated values for _CALL_ELF == 2.
9581 (La_regs, La_retval, int_retval): Likewise.
9582
8b8a692c
UW
95832013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9584
9585 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
9586 (FRAME_MIN_SIZE_PARM): Likewise.
9587 (FRAME_BACKCHAIN): Likewise.
9588 (FRAME_CR_SAVE): Likewise.
9589 (FRAME_LR_SAVE): Likewise.
9590 (FRAME_TOC_SAVE): Likewise.
9591 (FRAME_PARM_SAVE): Likewise.
9592 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
9593 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
9594 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
9595 (call_mcount_parm_offset): New macro.
9596 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
9597 (PROF): Use symbolic stack frame offsets.
9598 (TAIL_CALL_SYSCALL_ERROR): Likewise.
9599 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
9600 Redefine in terms of FRAME_MIN_SIZE.
9601 (_dl_runtime_resolve): Use symbolic stack frame offsets.
9602 (_dl_profile_resolve): Likewise. Update comment.
9603 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
9604 symbols stack frame offsets.
9605 (__sigsetjmp): Likewise.
9606 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
9607 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
9608 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
9609 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
9610
9611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
9612 (FRAME_BACKCHAIN): Remove.
9613 (FRAME_CR_SAVE): Likewise.
9614 (FRAME_LR_SAVE): Likewise.
9615 (FRAME_COMPILER_DW): Likewise.
9616 (FRAME_LINKER_DW): Likewise.
9617 (FRAME_TOC_SAVE): Likewise.
9618 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
9619 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
9620 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
9621 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
9622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
9623 (CHECK_SP): Use symbolic stack frame offsets.
9624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
9625 zone" instead of caller's parameter save area for temp storage.
9626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9627 Likewise. Also, use symbolic stack frame offsets.
9628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
9629 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
9630 our own stack frame instead of the caller's.
9631 (__socket): Use symbolic stack frame offsets.
9632
122b66de
UW
96332013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9634 Alan Modra <amodra@gmail.com>
9635
9636 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
9637 Define.
57f41c40
AS
9638 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
9639 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
9640 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
9641 New function.
9642 (elf_machine_fixup_plt): Call it.
9643 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
9644 reloc arguments.
9645 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
9646 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9647 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
9648 r2 before calling target.
9649
696caf1d
UW
96502013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9651 Alan Modra <amodra@gmail.com>
9652
9653 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
9654 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
9655 versions of macros to support ELFv2 ABI.
9656 (LOCALENTRY): New macro.
9657 (ENTRY, EALIGN): Use it.
9658 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
9659 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
9660 fall through into ENTRY entry point.
9661 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
9662 Only define if _CALL_ELF != 2.
9663
9664 (elf_machine_matches_host): Verify ABI version matches.
9665 (RTLD_START): Use LOCALENTRY.
9666 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
9667 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
9668 (PLT_ENTRY_WORDS): New macro.
9669 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
9670 (elf_machine_runtime_setup): Support ELFv2 ABI.
9671 (elf_machine_fixup_plt): Likewise.
9672 (elf_machine_plt_conflict): Likewise.
9673 (resolve_ifunc): Likewise.
9674 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9675 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9676 Likewise.
9677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
9678 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
9679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9680 (makecontext): Support ELFv2 ABI.
9681 * elf/elf.h (EF_PPC64_ABI): Define.
9682
d31beafa
UW
96832013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9684
57f41c40
AS
9685 * sysdeps/powerpc/powerpc64/sysdep.h
9686 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
9687 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
9688 (ENTRY) [ASSEMBLER]: ... but instead here ...
9689 (EALIGN) [ASSEMBLER]: ... and here.
9690 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
9691 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
9692 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
9693 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
9694 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
9695 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
9696 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
9697 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
9699 Use PPC64_LOAD_FUNCPTR.
9700
b525166b
UW
9701 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
9702
7ec07d9a
AM
97032013-12-04 Alan Modra <amodra@gmail.com>
9704
9705 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
9706 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
9707 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
9708 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
9709
9710 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9711 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9712 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9713 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9714 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9715 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9716
5162e7dd
UW
97172013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9718
9719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9720 (__makecontext): Fix incorrect CFI when backtracing out of
9721 context created via makecontext.
9722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9723 (__setcontext): Fix incorrect CFI during switch to new context.
9724 (__novec_setcontext): Likewise.
9725
19e3372b
OB
97262013-12-04 Ondřej Bílka <neleai@seznam.cz>
9727
9728 [BZ #4772]
9729 * time/strptime_l.c (__strptime_internal): Allow modifiers
9730 in strptime.
9731 * time/tst-strptime.c (day_tests): Add testcase.
9732
ecaf142d
SP
97332013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9734
9735 * scripts/bench.pl: Skip over blank lines.
9736
fbf964ae
PE
97372013-12-04 Paul Eggert <eggert@cs.ucla.edu>
9738
9739 [BZ #926]
9740 * manual/time.texi (Calendar Time): Clarify what timezone functions
9741 use.
9742
fa60a674
AZ
97432013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9744
9745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9746
d674f0ef
OB
97472013-12-04 Ondřej Bílka <neleai@seznam.cz>
9748
9749 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9750 implementation.
9751 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9752 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9753 * debug/memset_chk.c (__memset_chk): Likewise.
9754 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9755 * debug/strncpy_chk.c: Likewise.
9756
17dea188
JM
97572013-12-03 Joseph Myers <joseph@codesourcery.com>
9758
749008ff
JM
9759 [BZ #15268]
9760 [BZ #15425]
9761 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9762 (__ieee754_exp): For possibly underflowing results, check size of
9763 result and force underflow exception if required.
9764 * math/auto-libm-test-in: Add more tests of exp.
9765 * math/auto-libm-test-out: Regenerated.
9766 * sysdeps/i386/fpu/libm-test-ulps: Update.
9767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9768
17dea188
JM
9769 [BZ #16283]
9770 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9771 * math/w_exp2f.c (__exp2f): Likewise.
9772 * math/w_exp2l.c (__exp2l): Likewise.
9773 * math/auto-libm-test-in: Do not allow missing errno on exp2
9774 underflow.
9775 * math/auto-libm-test-out: Regenerated.
9776
b20de2c3
OB
97772013-12-03 Ondřej Bílka <neleai@seznam.cz>
9778
9779 [BZ #16274]
9780 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9781 handle filename validation.
9782 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9783 (do_open): Delete.
9784
d8e2dbe3
JM
97852013-12-03 Joseph Myers <joseph@codesourcery.com>
9786
34e16df5
JM
9787 [BZ #6786]
9788 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9789 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9790 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9791 <float.h>.
9792 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9793 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9794 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9795 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9796 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9797 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9798 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9799 * math/auto-libm-test-in: Don't allow missing errno from erfc.
9800 Add more erfc tests.
9801 * math/auto-libm-test-out: Regenerated.
9802 * sysdeps/i386/fpu/libm-test-ulps: Update.
9803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9804
d8e2dbe3
JM
9805 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9806 exp2, expm1, j0 and j1.
9807 * math/auto-libm-test-out: Regenerated.
9808 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9809 (erfc_test_data): Likewise.
9810 (exp_test_data): Likewise.
9811 (exp_tonearest_test_data): Likewise.
9812 (exp_towardzero_test_data): Likewise.
9813 (exp_downward_test_data): Likewise.
9814 (exp_upward_test_data): Likewise.
9815 (exp10_test_data): Likewise.
9816 (exp2_test_data): Likewise.
9817 (expm1_test_data): Likewise.
9818 (j0_test_data): Likewise.
9819 (j1_test_data): Likewise.
9820 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9821 (input_flag_type): Add flag_xfail_rounding.
9822 (input_flags): Add xfail-rounding.
9823 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9824 (output_for_one_input_case): Handle flag_xfail_rounding.
9825 * sysdeps/i386/fpu/libm-test-ulps: Update.
9826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9827
18d14251
AJ
98282013-12-03 Aurelien Jarno <aurelien@aurel32.net>
9829
3d2e6075 9830 [BZ #16289]
18d14251
AJ
9831 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9832 division by 0.
9833
520d437b
SP
98342013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9835
9836 [BZ #16195]
9837 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9838 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9839 (STAP_PROBE0): New macro.
9840 (STAP_PROBE1): Likewise.
9841 (STAP_PROBE2): Likewise.
9842 (STAP_PROBE3): Likewise.
9843 (STAP_PROBE4): Likewise.
9844
416e0145
OB
98452013-12-02 Ondřej Bílka <neleai@seznam.cz>
9846
9847 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9848
9d17796a
SE
98492013-12-02 Steve Ellcey <sellcey@mips.com>
9850
9851 * benchtests/Makefile (bench): Add sqrt.
9852 (LDLIBS-bench-sqrt): New.
9853 * benchtests/sqrt-input: New.
9854
f524d6a8
PS
98552013-12-02 Pavel Simerda <psimerda@redhat.com>
9856
639a0ef8
PS
9857 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9858 (GAIH_EAI): Likewise.
9859 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9860 (gaih_inet): Likewise.
9861 (getaddrinfo): Don't use GAIH_EAI.
9862
f524d6a8
PS
9863 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9864 (struct gaih): Remove definition.
9865
df3aedaf
SP
98662013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9867
9868 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9869 Use HERRNOP directly.
9870
1ab19dec
AZ
98712013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9872
b42ad38d 9873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 9874
176b0c79
JM
98752013-11-30 Joseph Myers <joseph@codesourcery.com>
9876
9877 * math/gen-auto-libm-tests.c (test_functions): Add more
9878 single-argument functions.
9879 (special_fill_pi_2): New function.
9880 (special_fill_minus_pi_2): Likewise.
9881 (special_fill_pi_6): Likewise.
9882 (special_fill_minus_pi_6): Likewise.
9883 (special_fill_pi_3): Likewise.
9884 (special_fill_2pi_3): Likewise.
9885 (special_fill_e): Likewise.
9886 (special_fill_1_e): Likewise.
9887 (special_fill_e_minus_1): Likewise.
9888 (special_real_inputs): Add more special inputs.
9889 (output_for_one_input_case): Do not require ERANGE on underflow to
9890 zero if round-to-nearest result does not underflow to zero, unless
9891 exact results required.
9892 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9893 atan, atanh, cbrt, cos and cosh.
9894 * math/auto-libm-test-out: Regenerated.
9895 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9896 (acos_tonearest_test_data): Likewise.
9897 (acos_towardzero_test_data): Likewise.
9898 (acos_downward_test_data): Likewise.
9899 (acos_upward_test_data): Likewise.
9900 (acosh_test_data): Likewise.
9901 (asin_test_data): Likewise.
9902 (asin_tonearest_test_data): Likewise.
9903 (asin_towardzero_test_data): Likewise.
9904 (asin_upward_test_data): Likewise.
9905 (asinh_test_data): Likewise.
9906 (atan_test_data): Likewise.
9907 (atanh_test_data): Likewise.
9908 (cbrt_test_data): Likewise.
9909 (cos_test_data): Likewise.
9910 (cos_tonearest_test_data): Likewise.
9911 (cos_towardzero_test_data): Likewise.
9912 (cos_downward_test_data): Likewise.
9913 (cos_upward_test_data): Likewise.
9914 (cosh_test_data): Likewise.
9915 (cosh_tonearest_test_data): Likewise.
9916 (cosh_towardzero_test_data): Likewise.
9917 (cosh_downward_test_data): Likewise.
9918 (cosh_upward_test_data): Likewise.
9919 * sysdeps/i386/fpu/libm-test-ulps: Update.
9920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9921
ffb536d0
JM
99222013-11-29 Joseph Myers <joseph@codesourcery.com>
9923
2a77a467
JM
9924 [BZ #6787]
9925 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9926 * math/w_exp10f.c (__exp10f): Likewise.
9927 * math/w_exp10l.c (__exp10l): Likewise.
9928 * math/libm-test.inc (exp10_test_data): Add more tests and expect
9929 errno settings in existing tests.
9930
ea3bc4e8
JM
9931 [BZ #14032]
9932 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9933 precision control set to double precision.
9934 * sysdeps/i386/fpu/w_sqrt.c: New file.
9935 * math/auto-libm-test-in: Add more tests.
9936 * math/auto-libm-test-out: Update.
9937
0712c9d8
JM
9938 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9939 (sqrt_test_tonearest): New function.
9940 (sqrt_towardzero_test_data): New variable.
9941 (sqrt_test_towardzero): New function.
9942 (sqrt_downward_test_data): New variable.
9943 (sqrt_test_downward): New function.
9944 (sqrt_upward_test_data): New variable.
9945 (sqrt_test_upward): New function.
9946 (main): Call the new functions.
9947
ffb536d0
JM
9948 * math/gen-auto-libm-tests.c: New file.
9949 * math/auto-libm-test-in: Likewise.
9950 * math/auto-libm-test-out: New generated file.
9951 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9952 variables.
9953 (%beautify): Add generated representations of zero.
9954 (top level): Set $auto_input and call parse_auto_input.
9955 (beautify): Remove trailing "f" from hex float constants.
9956 (parse_args): Handle XFAIL_TEST.
9957 (convert_condition): New function.
9958 (or_value): Likewise.
9959 (or_cond_value): Likewise.
9960 (generate_testfile): Handle AUTO_TESTS_* lines.
9961 (parse_auto_input): New function.
9962 * math/libm-test.inc (XFAIL_TEST): New macro.
9963 (ERRNO_UNCHANGED): Update value.
9964 (ERRNO_EDOM): Likewise.
9965 (ERRNO_ERANGE): Likewise.
9966 (IGNORE_RESULT): Likewise.
9967 (TEST_COND_flt_32): New macro.
9968 (TEST_COND_dbl_64): Likewise.
9969 (TEST_COND_ldbl_96_intel): Likewise.
9970 (TEST_COND_ldbl_96_m68k): Likewise.
9971 (TEST_COND_ldbl_128): Likewise.
9972 (TEST_COND_ldbl_128ibm): Likewise.
9973 (TEST_COND_long32): Likewise.
9974 (TEST_COND_long64): Likewise.
9975 (TEST_COND_before_rounding): Likewise.
9976 (TEST_COND_after_rounding): Likewise.
9977 (enable_test): Handle XFAIL_TEST flag.
9978 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9979 with finite results.
9980 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9981 auto-libm-test-out.
9982
acd98a8e
AK
99832013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9984 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9985
9986 [BZ #16214]
9987 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9988 __tls_get_addr_internal instead of __tls_get_offset in order to
9989 avoid GOT pointer dependency. Make rtld export
9990 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9991 __tls_get_addr since we are a __tls_get_offset platform.
9992 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9993 GOT pointer being set up before.
9994 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9995
3c1c46a6
JM
99962013-11-28 Joseph Myers <joseph@codesourcery.com>
9997
7475aef5
JM
9998 * manual/math.texi (Errors in Math Functions): Document accuracy
9999 goals.
10000
8bca7cd8
JM
10001 [BZ #15004]
10002 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10003 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10004 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10005 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10006 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10007 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10008 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10009 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10010 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10011 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10012 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10013 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10014 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10015 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10016 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10017 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10018
91a1f3fe
JM
10019 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10020 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10021 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10022 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10023 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10024 Likewise.
10025 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10026 Likewise.
10027 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10028 Likewise.
10029 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10030 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10031 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10032 atomic-feupdateenv and flt-rounds.
10033 * sysdeps/powerpc/nofpu/Versions (libc): Add
10034 __atomic_feholdexcept, __atomic_feclearexcept,
10035 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10036 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10037 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10038 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10039 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10040 here.
10041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10042 Update.
10043
c5df7609
JM
10044 * manual/arith.texi (FP Exceptions): Document that exceptions may
10045 not be raised when matherr is used.
10046 (Math Error Reporting): Document overflow in directed rounding
10047 modes. Document that errno may not be set when finite values are
10048 returned on overflow. Document intent to set errno on underflow
10049 only for underflow to zero.
10050
3c1c46a6
JM
10051 [BZ #16271]
10052 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10053 round-to-nearest then adjust result for other rounding modes.
10054 * include/fenv.h (fegetround): Use libm_hidden_proto.
10055 * math/fegetround.c (fegetround): Use libm_hidden_def.
10056 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10057 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10058 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10059 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10060 Likewise.
10061 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10062 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10063 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10064 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10065
5a4c6d53
SP
100662013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10067
10068 [BZ #16077]
10069 * nss/Versions (libnss_files): Add
10070 _nss_files_gethostbyname3_r.
10071 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10072 New function.
10073 (HOST_DB_LOOKUP): Remove macro.
10074 (_nss_files_gethostbyname_r): Implement function without the
10075 HOST_DB_LOOKUP macro.
10076 (_nss_files_gethostbyname2_r): Likewise.
10077
897b98ba
OB
100782013-11-28 Ondřej Bílka <neleai@seznam.cz>
10079
10080 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10081
6f476861
UB
100822013-11-26 Uros Bizjak <ubizjak@gmail.com>
10083
10084 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10085 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10086 warning.
10087
bd12ab55
AZ
100882013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10089
10090 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10091 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10092 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10093 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10094 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10095 __fe_nomask_env_priv and attribute_hidden.
10096 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10097 (libc_feupdateenv_test_ppc): Likewise.
10098 (libc_feresetround_ppc): Likewise.
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10100 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10101 compat_symbol macro.
10102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10103 (__fe_nomask_env): Likewise.
10104 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10105
52bb6543
OB
101062013-11-26 Ondřej Bílka <neleai@seznam.cz>
10107
10108 * string/Makefile: Remove ifunc tests.
10109 * string/test-string.h: Define TEST_IFUNC.
10110 * string/test-bcopy-ifunc.c: Remove.
10111 * string/test-bzero-ifunc.c: Likewise.
10112 * string/test-memccpy-ifunc.c: Likewise.
10113 * string/test-memchr-ifunc.c: Likewise.
10114 * string/test-memcmp-ifunc.c: Likewise.
10115 * string/test-memcpy-ifunc.c: Likewise.
10116 * string/test-memmem-ifunc.c: Likewise.
10117 * string/test-memmove-ifunc.c: Likewise.
10118 * string/test-mempcpy-ifunc.c: Likewise.
10119 * string/test-memrchr-ifunc.c: Likewise.
10120 * string/test-memset-ifunc.c: Likewise.
10121 * string/test-rawmemchr-ifunc.c: Likewise.
10122 * string/test-stpcpy-ifunc.c: Likewise.
10123 * string/test-stpncpy-ifunc.c: Likewise.
10124 * string/test-strcasecmp-ifunc.c: Likewise.
10125 * string/test-strcasestr-ifunc.c: Likewise.
10126 * string/test-strcat-ifunc.c: Likewise.
10127 * string/test-strchr-ifunc.c: Likewise.
10128 * string/test-strchrnul-ifunc.c: Likewise.
10129 * string/test-strcmp-ifunc.c: Likewise.
10130 * string/test-strcpy-ifunc.c: Likewise.
10131 * string/test-strcspn-ifunc.c: Likewise.
10132 * string/test-strlen-ifunc.c: Likewise.
10133 * string/test-strncasecmp-ifunc.c: Likewise.
10134 * string/test-strncat-ifunc.c: Likewise.
10135 * string/test-strncmp-ifunc.c: Likewise.
10136 * string/test-strncpy-ifunc.c: Likewise.
10137 * string/test-strnlen-ifunc.c: Likewise.
10138 * string/test-strpbrk-ifunc.c: Likewise.
10139 * string/test-strrchr-ifunc.c: Likewise.
10140 * string/test-strspn-ifunc.c: Likewise.
10141 * string/test-strstr-ifunc.c: Likewise.
10142
ab260039 101432013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
10144
10145 * benchtests/Makefile: Remove ifunc tests.
10146 * benchtests/bench-string.h: Define TEST_IFUNC.
10147 * benchtests/bench-bcopy-ifunc.c: Remove.
10148 * benchtests/bench-bzero-ifunc.c: Likewise.
10149 * benchtests/bench-memccpy-ifunc.c: Likewise.
10150 * benchtests/bench-memchr-ifunc.c: Likewise.
10151 * benchtests/bench-memcmp-ifunc.c: Likewise.
10152 * benchtests/bench-memcpy-ifunc.c: Likewise.
10153 * benchtests/bench-memmem-ifunc.c: Likewise.
10154 * benchtests/bench-memmove-ifunc.c: Likewise.
10155 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10156 * benchtests/bench-memrchr-ifunc.c: Likewise.
10157 * benchtests/bench-memset-ifunc.c: Likewise.
10158 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10159 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10160 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10161 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10162 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10163 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10164 * benchtests/bench-strcat-ifunc.c: Likewise.
10165 * benchtests/bench-strchr-ifunc.c: Likewise.
10166 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10167 * benchtests/bench-strcmp-ifunc.c: Likewise.
10168 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10169 * benchtests/bench-strcpy-ifunc.c: Likewise.
10170 * benchtests/bench-strcspn-ifunc.c: Likewise.
10171 * benchtests/bench-strlen-ifunc.c: Likewise.
10172 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10173 * benchtests/bench-strncat-ifunc.c: Likewise.
10174 * benchtests/bench-strncmp-ifunc.c: Likewise.
10175 * benchtests/bench-strncpy-ifunc.c: Likewise.
10176 * benchtests/bench-strnlen-ifunc.c: Likewise.
10177 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10178 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 10179 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
10180 * benchtests/bench-strspn-ifunc.c: Likewise.
10181 * benchtests/bench-strstr-ifunc.c: Likewise.
10182
101832013-11-26 Ondřej Bílka <neleai@seznam.cz>
10184
ab260039
OB
10185 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10186
d1d9eaf4 101872013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 10188
d1d9eaf4
OB
10189 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10190 * rt/aio.h: Likewise.
10191 * sysdeps/gnu/bits/utmp.h: Likewise.
10192 * sysdeps/gnu/bits/utmpx.h: Likewise.
10193 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10194 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10195 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10196 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10197 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10198 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10199 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10200 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10201 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10202 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10203 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10204 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10205 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10207 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10208 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10209 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10210 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10211 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10212 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10213 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10214 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10215 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10216 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10217 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10218 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10219 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10220 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10221 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10222 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10223 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10224 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10225 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10226 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10227 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10228 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10229 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10230 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10231 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10232 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10233 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10234 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10235
a7624ed9
CD
102362013-11-25 Carlos O'Donell <carlos@redhat.com>
10237
10238 [BZ #16245]
10239 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10240 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10241
63cfe52b
JM
102422013-11-25 Joseph Myers <joseph@codesourcery.com>
10243
10244 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10245 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10246 Likewise.
10247
41e8926a
AZ
102482013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10249
10250 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10251 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10252 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10253 (__fesetround): Remove define.
10254 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10255 rounding and exceptions handling.
10256 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10257 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10258 (__fe_nomask_env): Likewise.
10259 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10260 __fegetround instead of fegetround.
10261 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10262 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10263
6851bd4d
RM
102642013-11-21 Roland McGrath <roland@hack.frob.com>
10265
070906ff
RM
10266 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10267 it's there.
10268
6851bd4d
RM
10269 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10270
84ae135d
MI
102712013-11-21 Meador Inge <meadori@codesourcery.com>
10272
10273 [BZ #11157]
10274 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10275 (encrypt_r): Likewise.
10276 * malloc/obstack.h (obstack_free): Likewise.
10277 * posix/unistd.h (encrypt): Likewise.
10278
daf75146
GM
102792013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10280
10281 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10282 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10283 DL_CALL_DT_FINI() that call the functions directly.
10284 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10285 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10286 * elf/dl-fini.c: Likewise.
10287
10ad46bc
OB
102882013-11-20 Ondřej Bílka <neleai@seznam.cz>
10289
10290 * malloc/hooks.c (memalign_check): Add alignment rounding.
10291 * malloc/malloc.c (_mid_memalign): New function.
10292 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10293 Implement by calling _mid_memalign.
10294 * manual/probes.texi (Memory Allocation Probes): Remove
10295 memory_valloc_retry and memory_pvalloc_retry.
10296
f3fd2628
SP
102972013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10298
4712799f
SP
10299 * locale/programs/locarchive.c (open_archive): Add const
10300 qualifier to ARCHIVEFNAME and copy default fname to
10301 DEFAULT_FNAME.
10302
0417b20f
SP
10303 [BZ #15601]
10304 * libio/tst-widetext.input: Rename Oriya to Odia.
10305 * locale/iso-639.def: Likewise.
10306
f3fd2628
SP
10307 * manual/probes.texi (Mathematical Function Probes): Add
10308 documentation for sin, cos, asin and acos probes.
10309 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10310 (__sin32): Add slowasin probe.
10311 (__cos32): Add slowacos probe.
10312 (__mpsin): Add slowsin probe.
10313 (__mpcos): Add slowcos probe.
10314
73c1ce4f
JM
103152013-11-19 Joseph Myers <joseph@codesourcery.com>
10316
10317 [BZ #15483]
10318 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10319 thread-local __sim_exceptions_thread and global
10320 __sim_exceptions_global.
10321 (__sim_disabled_exceptions): Change to thread-local
10322 __sim_disabled_exceptions_thread and global
10323 __sim_disabled_exceptions_global.
10324 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10325 and global __sim_round_mode_global.
10326 (__simulate_exceptions): Use thread-local floating-point state and
10327 set global state from it as needed.
10328 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10329 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10330 __sim_round_mode_thread.
10331 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10332 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10333 and global __sim_exceptions_global.
10334 (__sim_disabled_exceptions): Change to thread-local
10335 __sim_disabled_exceptions_thread and global
10336 __sim_disabled_exceptions_global.
10337 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10338 and global __sim_round_mode_global.
10339 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10340 (SIM_SET_GLOBAL): Likewise.
10341 * sysdeps/powerpc/soft-fp/sfp-machine.h
10342 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10343 __sim_round_mode_thread.
10344 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10345 __sim_disabled_exceptions_thread.
10346 (__sim_exceptions): Change to __sim_exceptions_thread.
10347 (__sim_disabled_exceptions): Change to
10348 __sim_disabled_exceptions_thread.
10349 (__sim_round_mode): Change to __sim_round_mode_thread.
10350 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10351 thread-local floating-point state and set global state from it as
10352 needed.
10353 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10354 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10355 (__sim_disabled_exceptions): Remove extern declaration.
10356 (feenableexcept): Use thread-local floating-point state and set
10357 global state from it as needed.
10358 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10359 extern declaration.
10360 (__sim_disabled_exceptions): Likewise.
10361 (__sim_round_mode): Likewise.
10362 (__fegetenv): Use thread-local floating-point state.
10363 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10364 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10365 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10366 floating-point state and set global state from it as needed.
10367 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10368 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10369 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10370 Likewise.
10371 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10372 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10373 Likewise.
10374 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10375 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10376 Use __sim_round_mode_thread.
10377 * math/test-fenv-tls.c: New file.
10378 * math/Makefile (tests): Add test-fenv-tls.
10379 ($(objpfx)test-fenv-tls): Depend on
10380 $(common-objpfx)nptl/libpthread.so.
10381
b5449b12
AS
103822013-11-19 Andreas Schwab <schwab@suse.de>
10383
10384 * locale/programs/locale.c (show_info): Decode wordarray elements.
10385 * locale/categories.def (LC_MONETARY): Add element for
10386 _NL_MONETARY_CRNCYSTR.
10387 * locale/C-monetary.c (conversion_rate): New variable.
10388 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10389 element.
10390
e186536b
CM
103912013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10392
10393 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10394 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10395
5c349950
PP
103962013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10397
10398 * elf/Makefile (tst-auxv): New test.
10399 * elf/tst-auxv.c: New
10400 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10401
699df45b
JM
104022013-11-18 Joseph Myers <joseph@codesourcery.com>
10403
10404 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10405 (hidden_proto): Caller changed.
10406 (hidden_tls_proto): New macro.
10407 (libc_hidden_tls_proto): Likewise.
10408 (rtld_hidden_tls_proto): Likewise.
10409 (libm_hidden_tls_proto): Likewise.
10410 (libresolv_hidden_tls_proto): Likewise.
10411 (librt_hidden_tls_proto): Likewise.
10412 (libdl_hidden_tls_proto): Likewise.
10413 (libnss_files_hidden_tls_proto): Likewise.
10414 (libnsl_hidden_tls_proto): Likewise.
10415 (libnss_nisplus_hidden_tls_proto): Likewise.
10416 (libutil_hidden_tls_proto): Likewise.
10417
b7589107
OB
104182013-11-18 Ondřej Bílka <neleai@seznam.cz>
10419
10420 [BZ #10253]
10421 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10422 (decompose_rpath): Defer expansion to fillin_rpath.
10423 (_dl_init_paths): Pass linkmap to fillin_rpath.
10424
250c23bd
RS
104252013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10426
10427 * benchtests/Makefile: Add strsep.
10428 * benchtests/bench-strsep.c: New file: strsep benchtest.
10429 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10430
a7931fcf
AS
104312013-11-18 Andreas Schwab <schwab@suse.de>
10432
10433 * locale/programs/locale.c (show_info) [case byte]: Check for
10434 '\377' instead of '\177'.
10435 * locale/C-monetary.c (not_available): Always use "\377".
10436 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10437 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10438 detect unavailable sign_posn locale elements.
10439 * locale/localeconv.c (__localeconv): For grouping and
10440 mon_grouping handle "\177" and "\377" like no grouping.
10441 (INT_ELEM): New macro. Use it to set all numeric members.
10442 * locale/programs/ld-monetary.c (monetary_read)
10443 <tok_mon_grouping>: Normalize single -1 to the empty string.
10444 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10445 Likewise.
10446
728dab0e
OB
104472013-11-07 Ondřej Bílka <neleai@seznam.cz>
10448
10449 [BZ #16055]
10450 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10451 when we match (nil).
10452 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10453
66294491
JM
104542013-11-16 Joseph Myers <joseph@codesourcery.com>
10455
ce665817
JM
10456 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10457 (NO_TEST_INLINE): Update value.
10458 (ERRNO_UNCHANGED): Likewise.
10459 (ERRNO_EDOM): Likewise.
10460 (ERRNO_ERANGE): Likewise.
10461 (IGNORE_RESULT): Likewise.
10462 (check_float_internal): Check signs of NaN results if
10463 TEST_NAN_SIGN used.
10464 (check_complex): Pass TEST_NAN_SIGN flag through to second
10465 check_float_internal call.
10466 (copysign_test_data): Add tests with quiet NaNs as second
10467 argument. Use TEST_NAN_SIGN.
10468 (fabs_test_data): Add test of negative quiet NaN argument. Use
10469 TEST_NAN_SIGN.
10470 (signbit_test_data): Add tests of quiet NaN argument.
10471 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10472
ee1466a9
JM
10473 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10474 $ignore_result.
10475 (parse_args): Handle function results specified as IGNORE.
10476 * math/libm-test.inc (IGNORE_RESULT): New macro.
10477 (check_float_internal): Do not check numerical result if flag
10478 IGNORE_RESULT set.
10479 (check_complex): Pass through IGNORE_RESULT to second
10480 check_float_internal call.
10481 (check_int): Do not check numerical result if flag IGNORE_RESULT
10482 set.
10483 (check_long): Likewise.
10484 (check_bool): Likewise.
10485 (check_longlong): Likewise.
10486 (lrint_test_data): Add tests of infinite and NaN arguments.
10487 (lrint_tonearest_test_data): Likewise.
10488 (lrint_towardzero_test_data): Likewise.
10489 (lrint_downward_test_data): Likewise.
10490 (lrint_upward_test_data): Likewise.
10491 (llrint_test_data): Likewise.
10492 (llrint_tonearest_test_data): Likewise.
10493 (llrint_towardzero_test_data): Likewise.
10494 (llrint_downward_test_data): Likewise.
10495 (llrint_upward_test_data): Likewise.
10496 (lround_test_data): Likewise.
10497 (llround_test_data): Likewise.
10498
14407b7e
JM
10499 * math/libm-test.inc (NO_TEST_INLINE): New macro.
10500 (ERRNO_UNCHANGED): Update value.
10501 (ERRNO_EDOM): Likewise.
10502 (ERRNO_ERANGE): Likewise.
10503 (NO_TEST_INLINE_FLOAT): New macro.
10504 (NO_TEST_INLINE_DOUBLE): Likewise.
10505 (enable_test): New function.
10506 (RUN_TEST_f_f): Check enable_test before running test.
10507 (RUN_TEST_2_f): Likewise.
10508 (RUN_TEST_fff_f): Likewise.
10509 (RUN_TEST_c_f): Likewise.
10510 (RUN_TEST_f_f1): Likewise.
10511 (RUN_TEST_fF_f1): Likewise.
10512 (RUN_TEST_fI_f1): Likewise.
10513 (RUN_TEST_ffI_f1): Likewise.
10514 (RUN_TEST_c_c): Likewise.
10515 (RUN_TEST_cc_c): Likewise.
10516 (RUN_TEST_f_i): Likewise.
10517 (RUN_TEST_f_i_tg): Likewise.
10518 (RUN_TEST_ff_i_tg): Likewise.
10519 (RUN_TEST_f_b): Likewise.
10520 (RUN_TEST_f_b_tg): Likewise.
10521 (RUN_TEST_f_l): Likewise.
10522 (RUN_TEST_f_L): Likewise.
10523 (RUN_TEST_fFF_11): Likewise.
10524 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
10525 conditionals.
10526 (cosh_test_data): Likewise.
10527 (exp_test_data): Likewise.
10528 (expm1_test_data): Likewise.
10529 (hypot_test_data): Likewise.
10530 (pow_test_data): Likewise.
10531 (sinh_test_data): Likewise.
10532 (tanh_test_data): Likewise.
10533 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
10534 flags argument.
10535
ca07f197
JM
10536 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
10537 tests with quiet NaN input and output.
10538 (acosh_test_data): Likewise.
10539 (asin_test_data): Likewise.
10540 (asinh_test_data): Likewise.
10541 (atan_test_data): Likewise.
10542 (atanh_test_data): Likewise.
10543 (atan2_test_data): Likewise.
10544 (cbrt_test_data): Likewise.
10545 (cos_test_data): Likewise.
10546 (cosh_test_data): Likewise.
10547 (erf_test_data): Likewise.
10548 (erfc_test_data): Likewise.
10549 (exp_test_data): Likewise.
10550 (exp10_test_data): Likewise.
10551 (exp2_test_data): Likewise.
10552 (expm1_test_data): Likewise.
10553 (hypot_test_data): Likewise.
10554 (j0_test_data): Likewise.
10555 (j1_test_data): Likewise.
10556 (jn_test_data): Likewise.
10557 (lgamma_test_data): Likewise.
10558 (log_test_data): Likewise.
10559 (log10_test_data): Likewise.
10560 (log1p_test_data): Likewise.
10561 (log2_test_data): Likewise.
10562 (pow_test_data): Likewise.
10563 (scalb_test_data): Likewise.
10564 (sin_test_data): Likewise.
10565 (sincos_test_data): Likewise.
10566 (sinh_test_data): Likewise.
10567 (tan_test_data): Likewise.
10568 (tanh_test_data): Likewise.
10569 (tgamma_test_data): Likewise.
10570 (y0_test_data): Likewise.
10571 (y1_test_data): Likewise.
10572 (yn_test_data): Likewise.
10573
66294491
JM
10574 [BZ #16167]
10575 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
10576 argument being NaN and avoid computations with second argument in
10577 that case.
10578 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10579 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10580 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10581
1820b143
CL
105822013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
10583
10584 * locale/iso-639.def: Add Chitwani Tharu (the).
10585
714bd261
AS
105862013-11-14 Andreas Schwab <schwab@suse.de>
10587
10588 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
10589 word instead of empty string.
10590
7ab44563
AZ
105912013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10592
10593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10594 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
10595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10596 (__fe_nomask_env): Likewise.
10597
e8470ea2
SE
105982013-11-13 Steve Ellcey <sellcey@mips.com>
10599
10600 * benchtests/bench-timing.h: Include time.h.
10601
17c1d9f0
L
106022013-11-13 H.J. Lu <hongjiu.lu@intel.com>
10603
10604 [BZ #15997]
10605 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
10606 to 3.4.0 for x32.
10607 * sysdeps/unix/sysv/linux/configure: Regenerated.
10608
9310c284
JM
106092013-11-13 Joseph Myers <joseph@codesourcery.com>
10610
10611 [BZ #16151]
10612 * stdlib/strtod_l.c (round_and_return): Do not consider
10613 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
10614 exponent one less than half the least subnormal exponent.
10615 * stdlib/test-strtod-round-data: Add more tests.
10616 * stdlib/tst-strtod-round.c (tests): Regenerated.
10617
7a2ad8cf
AZ
106182013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10619
10620 [BZ #14143]
10621 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
10622 (__fe_mask_env): Likewise.
10623 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
10624 libm_hidden_proto and add function prototype.
10625 (__fe_mask_env): Add function prototype.
10626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10627 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
10628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10629 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
10630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10631 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
10632
50727aa7
MS
106332013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10634
b2f386c1 10635 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
10636 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
10637
a615be46
MS
106382013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10639
10640 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
10641 of htab_find_slot().
10642
7ddace62
DM
106432013-11-11 David S. Miller <davem@davemloft.net>
10644
10645 [BZ #16150]
10646 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
10647 symbol in the non-vis3 case in static builds.
10648 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
10649 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
10650 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
10651 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
10652
9182aa67
JK
106532013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10654
10655 [BZ #387]
10656 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
10657 it is empty.
10658
450a2e2d
AZ
106592013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10660
b2f386c1
SP
10661 * benchtests/Makefile: Add bench-strtod.
10662 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 10663
8ec3f656
AS
106642013-11-11 Andreas Schwab <schwab@suse.de>
10665
10666 [BZ #16153]
10667 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
10668 terminating NUL in key length.
10669
76a9b998
AZ
106702013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10671
10672 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10673 Add artificial ODP entry for vDSO symbol for PPC64.
10674 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
10675 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
10676
e4368156
OB
106772013-11-07 Ondřej Bílka <neleai@seznam.cz>
10678
10679 [BZ #15374]
10680 * nss/getent.c (services_keys): Recognize services starting with digit.
10681
8d6bb57c
DM
106822013-11-06 David S. Miller <davem@davemloft.net>
10683
10684 [BZ #15985]
10685 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10686 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
10687
e256c421
WN
106882013-11-06 Will Newton <will.newton@linaro.org>
10689
10690 * manual/memory.texi (Malloc Examples): Remove register
10691 keyword from examples.
10692
f6e12daa 106932013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 10694
f6e12daa 10695 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 10696
9d880655
AS
106972013-11-04 Joseph Myers <joseph@codesourcery.com>
10698
fd2f9486 10699 [BZ #6981]
9d880655
AS
10700 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
10701 depending on [__GCC_IEC_559 > 0].
10702 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
10703 depending on [__GCC_IEC_559_COMPLEX > 0].
10704
ae129d3c
CL
107052013-11-03 Chris Leonard <cjl@sugarlabs.org>
10706
10707 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
10708 to iso-639.def.
10709
4a15c2a4 107102013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
10711
10712 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10713
8b35e35d
OB
107142013-11-01 Ondřej Bílka <neleai@seznam.cz>
10715
10716 [BZ #16112]
10717 * malloc/malloc (malloc_info): Do not handle first bin as
10718 special case.
10719
1d70fd6c
CL
107202013-11-01 Chris Leonard <cjl@sugarlabs.org>
10721
10722 * locale/iso-639.def: Add Central Nahuatl (nhn).
10723
8c5c2600
BH
107242013-11-01 Bruno Haible <bruno@clisp.org>
10725
10726 [BZ #7003]
10727 * manual/math.texi (BSD Random): Specify range upper bound as
10728 in POSIX.
10729
da5579c2
CL
107302013-10-31 Chris Leonard <cjl@sugarlabs.org>
10731
10732 * locale/iso-639.def: Add Meadow Mari (mhr).
10733
5d30d853
OB
107342013-10-31 Ondřej Bílka <neleai@seznam.cz>
10735
10736 [BZ #14752], [BZ #15763]
10737 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10738 Validate name.
10739 * rt/tst_shm.c: Add test for escaping directory.
10740
a4966c61
AS
107412013-10-31 Andreas Schwab <schwab@suse.de>
10742
8a43e768 10743 [BZ #15917]
a4966c61
AS
10744 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10745 followed by 'x' as part of digit sequence.
10746 * stdio-common/tst-sscanf.c (double_tests2): New tests.
10747
28d708c4
MAP
107482013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10749
10750 [BZ #16037]
10751 * configure.ac: allow GNU Make 4.0 and greater.
10752 * configure: Regenerated.
10753
a56ee40b
WN
107542013-10-30 Will Newton <will.newton@linaro.org>
10755
10756 [BZ #16038]
10757 * malloc/hooks.c (memalign_check): Limit alignment to the
10758 maximum representable power of two.
10759 * malloc/malloc.c (__libc_memalign): Likewise.
10760 * malloc/tst-memalign.c (do_test): Add test for very
10761 large alignment values.
10762 * malloc/tst-posix_memalign.c (do_test): Likewise.
10763
c6e4925d
OB
107642013-10-30 Ondřej Bílka <neleai@seznam.cz>
10765
10766 [BZ #11087]
10767 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10768 (munmap_chunk): Likewise.
10769 (mremap_chunk): Likewise.
10770
107712013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 10772
8a43e768 10773 [BZ #15799]
bbea82f7
OB
10774 * stdlib/div.c (div): Remove obsolete code.
10775 * stdlib/ldiv.c (ldiv): Likewise.
10776 * stdlib/lldiv.c (lldiv): Likewise.
10777
977f4b31
SP
107782013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10779
10780 [BZ #16071]
10781 * nss/nss_files/files-XXX.c (get_contents_ret): New
10782 enumerator.
10783 (get_contents): New function.
10784 (internal_getent): Use it. Expand size of LINEBUFLEN.
10785
cb8a6dbd
MF
107862013-10-30 Mike Frysinger <vapier@gentoo.org>
10787
10788 * configure.in: Moved to ...
10789 * configure.ac: ... here. Change reference to configure.in
10790 to configure.ac.
10791 * sysdeps/arm/preconfigure.ac: ... here.
10792 configure.in to configure.ac.
10793 * sysdeps/gnu/configure.in: Moved to ...
10794 * sysdeps/gnu/configure.ac: ... here.
10795 * sysdeps/i386/configure.in: Moved to ...
10796 * sysdeps/i386/configure.ac: ... here.
10797 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10798 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10799 * sysdeps/mach/configure.in: Moved to ...
10800 * sysdeps/mach/configure.ac: ... here.
10801 * sysdeps/mach/hurd/configure.in: Moved to ...
10802 * sysdeps/mach/hurd/configure.ac: ... here.
10803 * sysdeps/powerpc/configure.in: Moved to ...
10804 * sysdeps/powerpc/configure.ac: ... here.
10805 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10806 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10807 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10808 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10809 * sysdeps/s390/s390-32/configure.in: Moved to ...
10810 * sysdeps/s390/s390-32/configure.ac: ... here.
10811 * sysdeps/s390/s390-64/configure.in: Moved to ...
10812 * sysdeps/s390/s390-64/configure.ac: ... here.
10813 * sysdeps/sh/configure.in: Moved to ...
10814 * sysdeps/sh/configure.ac: ... here.
10815 * sysdeps/sparc/configure.in: Moved to ...
10816 * sysdeps/sparc/configure.ac: ... here.
10817 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10818 * sysdeps/unix/sysv/linux/configure.ac: ... here.
10819 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10820 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10821 * sysdeps/x86_64/configure.in: Moved to ...
10822 * sysdeps/x86_64/configure.ac: ... here.
10823 * sysdeps/x86_64/preconfigure.in: Moved to ...
10824 * sysdeps/x86_64/preconfigure.ac: ... here.
10825 * aclocal.m4: Change reference to configure.in to configure.ac.
10826 * config.h.in: Likewise.
10827 * manual/install.texi: Likewise.
10828 * manual/maint.texi: Likewise.
10829 * Makefile: Likewise.
10830 * malloc/Makefile: Likewise.
10831 * nscd/Makefile: Likewise.
10832 * Makeconfig: Change reference to configure.in and
10833 preconfigure.in to configure.ac and preconfigure.ac
10834 respectively.
10835 * INSTALL: Regenerated.
10836 * configure: Likewise.
10837 * sysdeps/gnu/configure: Likewise.
10838 * sysdeps/i386/configure: Likewise.
10839 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10840 * sysdeps/mach/configure: Likewise.
10841 * sysdeps/mach/hurd/configure: Likewise.
10842 * sysdeps/powerpc/configure: Likewise.
10843 * sysdeps/powerpc/powerpc32/configure: Likewise.
10844 * sysdeps/powerpc/powerpc64/configure: Likewise.
10845 * sysdeps/s390/s390-32/configure: Likewise.
10846 * sysdeps/s390/s390-64/configure: Likewise.
10847 * sysdeps/sh/configure: Likewise.
10848 * sysdeps/sparc/configure: Likewise.
10849 * sysdeps/unix/sysv/linux/configure: Likewise.
10850 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10851 * sysdeps/x86_64/configure: Likewise.
10852 * sysdeps/x86_64/preconfigure: Likewise.
10853
36a4953a
AS
108542013-10-29 Andreas Schwab <schwab@suse.de>
10855
10856 * stdio-common/Makefile (tst-swscanf-ENV): Define.
10857
c79a1204
SP
108582013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10859
dfa1b402
SP
10860 * benchtests/pow-inputs: Add new inputs.
10861
54f73d9c
SP
10862 * benchtests/exp-inputs: Add new inputs.
10863
c79a1204
SP
10864 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10865 conditional check for return value.
10866 (__cos32): Likewise.
10867
67beb545 108682013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
10869
10870 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10871 to provide a boost for large inputs with word alignment.
10872 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10873 implementation based on optimized PPC64 strcpy.
10874 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10875 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10876 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10877 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10878
151659f6
OB
108792013-10-25 Ondřej Bílka <neleai@seznam.cz>
10880
482a077e 10881 [BZ #2801]
151659f6
OB
10882 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10883
10b0f26b
OB
108842013-10-25 Ondřej Bílka <neleai@seznam.cz>
10885
10886 [BZ #14876]
10887 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10888 * time/tst-strptime.c (day_tests): Add testcase.
10889
ca42d35e
OB
108902013-10-25 Ondřej Bílka <neleai@seznam.cz>
10891
482a077e 10892 [BZ #14029]
ca42d35e
OB
10893 * manual/pattern.texi: Acknowledge that fnmatch can fail.
10894
52e6d801
FB
108952013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
10896
10897 [BZ #16074]
10898 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10899 MAP_FAILED on error.
10900
7cbcdb36
SP
109012013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10902
10903 [BZ #16072]
10904 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10905 heap for large requests.
10906
894f3f10
AM
109072013-10-25 Aurelien Jarno <aurelien@aurel32.net>
10908
10909 [BZ #9954]
10910 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10911 result if the result has no associated interface.
10912 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10913 interface for all 127.X.Y.Z addresses.
10914
b85545a6
CL
109152013-10-24 Chris Leonard <cjl@sugarlabs.org>
10916
10917 * locale/iso-639.def: Add Ligurian (lij)
10918
d1f23d46
OB
109192013-10-21 Ondřej Bílka <neleai@seznam.cz>
10920
10921 [BZ #15825]
10922 * sunrpc/rpc_main.c: Document rpcgen -5.
10923
4db5b08f
MS
109242013-10-19 Michael Stahl <mstahl@redhat.com>
10925
10926 * elf/rtld.c (do_preload): Print the reason why preloading failed.
10927
a471e96a
OB
109282013-10-19 Ondřej Bílka <neleai@seznam.cz>
10929
d1f23d46 10930 [BZ #10278]
a471e96a
OB
10931 * posix/glob.c: Match only directories when trailing slash is present.
10932 * posix/tst-gnuglob.c (my_opendir): Do not open files.
10933 (main): Add testcase.
10934
45c30c61
OB
109352013-10-19 Ondřej Bílka <neleai@seznam.cz>
10936
10937 [BZ #15670]
10938 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10939
484c12fb
CD
109402013-10-18 Carlos O'Donell <carlos@redhat.com>
10941
3d7dc513
CD
10942 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10943 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10944 AUTH_DES and cindex for FIPS 140-2.
10945 (DES Encryption): Add cindex FIPS 46-3.
10946
484c12fb
CD
10947 * locale/locarchive.h (struct locarhandle): Add fname.
10948 * locale/programs/localedef.c (main): Pass ARGV[remaining]
10949 if an optional argument was specified to --list-archive,
10950 otherwise NULL.
10951 * locale/programs/locarchive.c (show_archive_content): Take new
10952 argument fname and pass it via ah.fname to open_archive.
10953 * locale/programs/localedef.h: Update decl.
10954 (open_archive): If AH->fname is non-null, open that file
10955 rather than the default file name, and don't ignore ENOENT.
10956 (create_archive): Set AH.fname to NULL.
10957 (delete_locales_from_archive): Likewise.
10958 (add_locales_to_archive): Likewise.
10959 * locale/programs/locfile.c (write_all_categories): Likewise.
10960
3c8325fb
JM
109612013-10-18 Joseph Myers <joseph@codesourcery.com>
10962 Aldy Hernandez <aldyh@redhat.com>
10963
10964 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10965 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10966 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10967 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10968 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10969 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10970 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10971 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10972 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10973 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10974 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10975 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10976 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10977 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10978 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10979 Likewise.
10980 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10981 Likewise.
10982 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10983 Likewise.
10984 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10985 Likewise.
10986 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10987 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10988 Likewise.
10989 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10990 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10991 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10992 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10993 Likewise.
10994 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10995 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10996 * sysdeps/powerpc/preconfigure: Likewise.
10997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10998 Likewise.
10999 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11000 Replace contents of file by #include of <fenv_libc.h>.
11001 * sysdeps/powerpc/soft-fp/sfp-machine.h
11002 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11003 and <sys/prctl.h>.
11004 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11005 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11006 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11007 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11008 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11009 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11010 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11011 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11012 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11013 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11014 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11015 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11017 Allow copysignl PLT reference to be missing.
11018
5abe0682
RS
110192013-10-18 Richard Sandiford <richard@codesourcery.com>
11020 Joseph Myers <joseph@codesourcery.com
11021
11022 [BZ #15948]
11023 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11024 single character.
11025 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11026
c7738d08
SP
110272013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11028
11029 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11030 * elf/tst-tls1.c: Likewise.
11031 * elf/tst-tls10.h: Likewise.
11032 * elf/tst-tls14.c: Likewise.
11033 * elf/tst-tls2.c: Likewise.
11034 * elf/tst-tls3.c: Likewise.
11035 * elf/tst-tls4.c: Likewise.
11036 * elf/tst-tls5.c: Likewise.
11037 * elf/tst-tls6.c: Likewise.
11038 * elf/tst-tls7.c: Likewise.
11039 * elf/tst-tls8.c: Likewise.
11040 * elf/tst-tls9.c: Likewise.
11041 * elf/tst-tlsmod1.c: Likewise.
11042 * elf/tst-tlsmod13.c: Likewise.
11043 * elf/tst-tlsmod13a.c: Likewise.
11044 * elf/tst-tlsmod14a.c: Likewise.
11045 * elf/tst-tlsmod16a.c: Likewise.
11046 * elf/tst-tlsmod16b.c: Likewise.
11047 * elf/tst-tlsmod2.c: Likewise.
11048 * elf/tst-tlsmod3.c: Likewise.
11049 * elf/tst-tlsmod4.c: Likewise.
11050 * elf/tst-tlsmod5.c: Likewise.
11051 * elf/tst-tlsmod6.c: Likewise.
11052
0bfcf2c7
OB
110532013-10-18 Ondřej Bílka <neleai@seznam.cz>
11054
11055 [BZ #12486]
11056 * malloc/malloc.c: remove checks for statistics.
11057
264aad1e
OB
110582013-10-17 Ondřej Bílka <neleai@seznam.cz>
11059
11060 [BZ #15277]
11061 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11062 * inet/tst-network.c: Add testcase.
11063
b957ced8
AS
110642013-10-17 Andreas Schwab <schwab@suse.de>
11065
11066 [BZ #15218]
11067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11068 to determine canonical name.
11069
c5d5d574
OB
110702013-10-17 Ondřej Bílka <neleai@seznam.cz>
11071
11072 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11073 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11074 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11075 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11077 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11078 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11079 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11080 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11081 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11082 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11083 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11084 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11085 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11086 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11087 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11088 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11089 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11090 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11091 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11092 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11093 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11094 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11095 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11096 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11097 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11098 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11099 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11100 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11101 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11102 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11103 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11104 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11105 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11106 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11107 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11108 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11109 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11110 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11111 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11112 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11113 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11114 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11115 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11116 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11117 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11118 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11119 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11120 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11121 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11122 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11123 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11124 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11125 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11126 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11127 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11128 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11129 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11130
e5c2c2d0
JM
111312013-10-17 Joseph Myers <joseph@codesourcery.com>
11132
11133 [BZ #16041]
11134 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11135 make result into a quiet NaN.
11136
51ca9e29
JM
111372013-10-16 Joseph Myers <joseph@codesourcery.com>
11138
11139 * soft-fp/adddf3.c: Fix horizontal whitespace.
11140 * soft-fp/addsf3.c: Likewise.
11141 * soft-fp/addtf3.c: Likewise.
11142 * soft-fp/divdf3.c: Likewise.
11143 * soft-fp/divsf3.c: Likewise.
11144 * soft-fp/divtf3.c: Likewise.
11145 * soft-fp/double.h: Likewise.
11146 * soft-fp/eqdf2.c: Likewise.
11147 * soft-fp/eqsf2.c: Likewise.
11148 * soft-fp/eqtf2.c: Likewise.
11149 * soft-fp/extenddftf2.c: Likewise.
11150 * soft-fp/extended.h: Likewise.
11151 * soft-fp/extendsfdf2.c: Likewise.
11152 * soft-fp/extendsftf2.c: Likewise.
11153 * soft-fp/extendxftf2.c: Likewise.
11154 * soft-fp/fixdfdi.c: Likewise.
11155 * soft-fp/fixdfsi.c: Likewise.
11156 * soft-fp/fixdfti.c: Likewise.
11157 * soft-fp/fixsfdi.c: Likewise.
11158 * soft-fp/fixsfsi.c: Likewise.
11159 * soft-fp/fixsfti.c: Likewise.
11160 * soft-fp/fixtfdi.c: Likewise.
11161 * soft-fp/fixtfsi.c: Likewise.
11162 * soft-fp/fixtfti.c: Likewise.
11163 * soft-fp/fixunsdfdi.c: Likewise.
11164 * soft-fp/fixunsdfsi.c: Likewise.
11165 * soft-fp/fixunsdfti.c: Likewise.
11166 * soft-fp/fixunssfdi.c: Likewise.
11167 * soft-fp/fixunssfsi.c: Likewise.
11168 * soft-fp/fixunssfti.c: Likewise.
11169 * soft-fp/fixunstfdi.c: Likewise.
11170 * soft-fp/fixunstfsi.c: Likewise.
11171 * soft-fp/fixunstfti.c: Likewise.
11172 * soft-fp/floatdidf.c: Likewise.
11173 * soft-fp/floatdisf.c: Likewise.
11174 * soft-fp/floatditf.c: Likewise.
11175 * soft-fp/floatsidf.c: Likewise.
11176 * soft-fp/floatsisf.c: Likewise.
11177 * soft-fp/floatsitf.c: Likewise.
11178 * soft-fp/floattidf.c: Likewise.
11179 * soft-fp/floattisf.c: Likewise.
11180 * soft-fp/floattitf.c: Likewise.
11181 * soft-fp/floatundidf.c: Likewise.
11182 * soft-fp/floatundisf.c: Likewise.
11183 * soft-fp/floatunditf.c: Likewise.
11184 * soft-fp/floatunsidf.c: Likewise.
11185 * soft-fp/floatunsisf.c: Likewise.
11186 * soft-fp/floatunsitf.c: Likewise.
11187 * soft-fp/floatuntidf.c: Likewise.
11188 * soft-fp/floatuntisf.c: Likewise.
11189 * soft-fp/floatuntitf.c: Likewise.
11190 * soft-fp/fmadf4.c: Likewise.
11191 * soft-fp/fmasf4.c: Likewise.
11192 * soft-fp/fmatf4.c: Likewise.
11193 * soft-fp/gedf2.c: Likewise.
11194 * soft-fp/gesf2.c: Likewise.
11195 * soft-fp/getf2.c: Likewise.
11196 * soft-fp/ledf2.c: Likewise.
11197 * soft-fp/lesf2.c: Likewise.
11198 * soft-fp/letf2.c: Likewise.
11199 * soft-fp/muldf3.c: Likewise.
11200 * soft-fp/mulsf3.c: Likewise.
11201 * soft-fp/multf3.c: Likewise.
11202 * soft-fp/negdf2.c: Likewise.
11203 * soft-fp/negsf2.c: Likewise.
11204 * soft-fp/negtf2.c: Likewise.
11205 * soft-fp/op-1.h: Likewise.
11206 * soft-fp/op-2.h: Likewise.
11207 * soft-fp/op-4.h: Likewise.
11208 * soft-fp/op-8.h: Likewise.
11209 * soft-fp/op-common.h: Likewise.
11210 * soft-fp/quad.h: Likewise.
11211 * soft-fp/single.h: Likewise.
11212 * soft-fp/soft-fp.h: Likewise.
11213 * soft-fp/sqrtdf2.c: Likewise.
11214 * soft-fp/sqrtsf2.c: Likewise.
11215 * soft-fp/sqrttf2.c: Likewise.
11216 * soft-fp/subdf3.c: Likewise.
11217 * soft-fp/subsf3.c: Likewise.
11218 * soft-fp/subtf3.c: Likewise.
11219 * soft-fp/truncdfsf2.c: Likewise.
11220 * soft-fp/trunctfdf2.c: Likewise.
11221 * soft-fp/trunctfsf2.c: Likewise.
11222 * soft-fp/trunctfxf2.c: Likewise.
11223 * soft-fp/unorddf2.c: Likewise.
11224 * soft-fp/unordsf2.c: Likewise.
11225 * soft-fp/unordtf2.c: Likewise.
11226
9ebb0332
JM
112272013-10-15 Joseph Myers <joseph@codesourcery.com>
11228
11229 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11230 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11231
4b1a6d8b
OB
112322013-10-15 Ondřej Bílka <neleai@seznam.cz>
11233
11234 * elf/dl-libc.c: Clear initfini list after freeing.
11235
1e145589
JM
112362013-10-14 Joseph Myers <joseph@codesourcery.com>
11237
11238 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11239 * soft-fp/addsf3.c: Likewise.
11240 * soft-fp/addtf3.c: Likewise.
11241 * soft-fp/divdf3.c: Likewise.
11242 * soft-fp/divsf3.c: Likewise.
11243 * soft-fp/divtf3.c: Likewise.
11244 * soft-fp/double.h: Likewise.
11245 * soft-fp/eqdf2.c: Likewise.
11246 * soft-fp/eqsf2.c: Likewise.
11247 * soft-fp/eqtf2.c: Likewise.
11248 * soft-fp/extenddftf2.c: Likewise.
11249 * soft-fp/extended.h: Likewise.
11250 * soft-fp/extendsfdf2.c: Likewise.
11251 * soft-fp/extendsftf2.c: Likewise.
11252 * soft-fp/extendxftf2.c: Likewise.
11253 * soft-fp/fixdfdi.c: Likewise.
11254 * soft-fp/fixdfsi.c: Likewise.
11255 * soft-fp/fixdfti.c: Likewise.
11256 * soft-fp/fixsfdi.c: Likewise.
11257 * soft-fp/fixsfsi.c: Likewise.
11258 * soft-fp/fixsfti.c: Likewise.
11259 * soft-fp/fixtfdi.c: Likewise.
11260 * soft-fp/fixtfsi.c: Likewise.
11261 * soft-fp/fixtfti.c: Likewise.
11262 * soft-fp/fixunsdfdi.c: Likewise.
11263 * soft-fp/fixunsdfsi.c: Likewise.
11264 * soft-fp/fixunsdfti.c: Likewise.
11265 * soft-fp/fixunssfdi.c: Likewise.
11266 * soft-fp/fixunssfsi.c: Likewise.
11267 * soft-fp/fixunssfti.c: Likewise.
11268 * soft-fp/fixunstfdi.c: Likewise.
11269 * soft-fp/fixunstfsi.c: Likewise.
11270 * soft-fp/fixunstfti.c: Likewise.
11271 * soft-fp/floatdidf.c: Likewise.
11272 * soft-fp/floatdisf.c: Likewise.
11273 * soft-fp/floatditf.c: Likewise.
11274 * soft-fp/floatsidf.c: Likewise.
11275 * soft-fp/floatsisf.c: Likewise.
11276 * soft-fp/floatsitf.c: Likewise.
11277 * soft-fp/floattidf.c: Likewise.
11278 * soft-fp/floattisf.c: Likewise.
11279 * soft-fp/floattitf.c: Likewise.
11280 * soft-fp/floatundidf.c: Likewise.
11281 * soft-fp/floatundisf.c: Likewise.
11282 * soft-fp/floatunsidf.c: Likewise.
11283 * soft-fp/floatunsisf.c: Likewise.
11284 * soft-fp/floatuntidf.c: Likewise.
11285 * soft-fp/floatuntisf.c: Likewise.
11286 * soft-fp/floatuntitf.c: Likewise.
11287 * soft-fp/fmadf4.c: Likewise.
11288 * soft-fp/fmasf4.c: Likewise.
11289 * soft-fp/fmatf4.c: Likewise.
11290 * soft-fp/gedf2.c: Likewise.
11291 * soft-fp/gesf2.c: Likewise.
11292 * soft-fp/getf2.c: Likewise.
11293 * soft-fp/ledf2.c: Likewise.
11294 * soft-fp/lesf2.c: Likewise.
11295 * soft-fp/letf2.c: Likewise.
11296 * soft-fp/muldf3.c: Likewise.
11297 * soft-fp/mulsf3.c: Likewise.
11298 * soft-fp/multf3.c: Likewise.
11299 * soft-fp/negdf2.c: Likewise.
11300 * soft-fp/negsf2.c: Likewise.
11301 * soft-fp/negtf2.c: Likewise.
11302 * soft-fp/op-1.h: Likewise.
11303 * soft-fp/op-2.h: Likewise.
11304 * soft-fp/op-4.h: Likewise.
11305 * soft-fp/op-8.h: Likewise.
11306 * soft-fp/op-common.h: Likewise.
11307 * soft-fp/quad.h: Likewise.
11308 * soft-fp/single.h: Likewise.
11309 * soft-fp/soft-fp.h: Likewise.
11310 * soft-fp/sqrtdf2.c: Likewise.
11311 * soft-fp/sqrtsf2.c: Likewise.
11312 * soft-fp/sqrttf2.c: Likewise.
11313 * soft-fp/subdf3.c: Likewise.
11314 * soft-fp/subsf3.c: Likewise.
11315 * soft-fp/subtf3.c: Likewise.
11316 * soft-fp/truncdfsf2.c: Likewise.
11317 * soft-fp/trunctfdf2.c: Likewise.
11318 * soft-fp/trunctfsf2.c: Likewise.
11319 * soft-fp/trunctfxf2.c: Likewise.
11320 * soft-fp/unorddf2.c: Likewise.
11321 * soft-fp/unordsf2.c: Likewise.
11322 * soft-fp/unordtf2.c: Likewise.
11323
17c48a60
OB
113242013-10-14 Ondřej Bílka <neleai@seznam.cz>
11325
11326 [BZ #15672]
11327 * misc/error.c (error_tail): Fix possible buffer overflow.
11328
cabba934
OB
113292013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11330
11331 [BZ #13028]
11332 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11333 address.
11334
94bf958a
PM
113352013-10-14 P. J. McDermott <pj@pehjota.net>
11336
11337 [BZ #832]
11338 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11339 testing pipefail option.
11340
71b4dea7
JM
113412013-10-12 Joseph Myers <joseph@codesourcery.com>
11342
11343 * soft-fp/double.h: Indent preprocessor directives inside #if.
11344 * soft-fp/extended.h: Likewise.
11345 * soft-fp/op-2.h: Likewise.
11346 * soft-fp/op-4.h: Likewise.
11347 * soft-fp/op-common.h: Likewise.
11348 * soft-fp/quad.h: Likewise.
11349 * soft-fp/single.h: Likewise.
11350 * soft-fp/soft-fp.h: Likewise.
11351
55602758
YC
113522013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11353
11354 * iconv/iconv_prog.c: Fix typos.
11355 * stdio-common/psiginfo-data.h: Likewise.
11356
9cd83302
RT
113572013-10-12 Reuben Thomas <rrt@sc3d.org>
11358
11359 [BZ #15764]
11360 * locale/setlocale.c: Fix typo.
11361
99fd9f47
JM
113622013-10-12 Joseph Myers <joseph@codesourcery.com>
11363
b7ea74f0
JM
11364 [BZ #16036]
11365 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11366 signaling NaN arguments.
11367 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11368 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11369
8a509447
JM
11370 [BZ #14910]
11371 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11372 unordered operands.
11373 * soft-fp/gesf2.c (__gesf2): Likewise.
11374 * soft-fp/getf2.c (__getf2): Likewise.
11375 * soft-fp/ledf2.c (__ledf2): Likewise.
11376 * soft-fp/lesf2.c (__lesf2): Likewise.
11377 * soft-fp/letf2.c (__letf2): Likewise.
11378
98998e9f
JM
11379 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11380 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11381 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11382 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11383 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11384 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11385 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11386 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11387 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11388 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11389 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11390 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11391 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11392 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11393 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11394 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11395 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11396 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11397 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11398 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11399 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11400 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11401 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11402 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11403 * soft-fp/floattidf.c (__floattidf): Likewise.
11404 * soft-fp/floattisf.c (__floattisf): Likewise.
11405 * soft-fp/floattitf.c (__floattitf): Likewise.
11406 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11407 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11408 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11409 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11410 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11411 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11412 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11413 * soft-fp/gesf2.c (__gesf2): Likewise.
11414 * soft-fp/getf2.c (__getf2): Likewise.
11415 * soft-fp/ledf2.c (__ledf2): Likewise.
11416 * soft-fp/lesf2.c (__lesf2): Likewise.
11417 * soft-fp/letf2.c (__letf2): Likewise.
11418
8edc4a11
JM
11419 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11420 Undefine and redefine.
11421 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11422 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11423 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11424 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11425 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11426 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11427 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11428 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11429 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11430 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11431 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11432 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11433 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11434 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11435 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11436
8399acaf
JM
11437 [BZ #16032]
11438 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11439 without decrementing exponent if mantissa >= that for the
11440 denominator, not >.
11441 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11442 denominator, not >. Decrement exponent in < case instead of
11443 incrementing in >= case.
11444 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11445 without decrementing exponent if mantissa >= that for the
11446 denominator, not >.
11447
99fd9f47
JM
11448 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11449 computing saturated result for unsigned overflow.
11450
10e1cf6b
SP
114512013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11452 Jeff Law <law@redhat.com>
11453
11454 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11455 (atan2Mp): Add systemtap probe marker.
11456 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11457 (__ieee754_log): Add systemtap probe marker.
11458 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11459 (atanMp): Add systemtap probe marker.
11460 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11461 (tanMp): Add systemtap probe marker.
11462 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11463 (__slowexp): Add systemtap probe marker.
11464 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11465 (__slowpow): Add systemtap probe marker.
11466 * manual/probes.texi: Document probes.
11467
3d110c7c
EB
114682013-10-11 Eric Biggers <ebiggers3@gmail.com>
11469
11470 [BZ #15362]
11471 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11472 written.
11473 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11474 written.
11475 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11476 written to buffer but not flushed.
11477 * libio/iofwrite_u.c: Likewise.
11478 * libio/iopadn.c: Return bytes returned even if EOF was
11479 encountered.
11480 * libio/iowpadn.c: Likewise.
11481 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11482 if _IO_padn does not write the whole buffer.
11483 [!COMPILE_WPRINTF] (PAD): Likewise.
11484
75b4202a
DM
114852013-10-10 David S. Miller <davem@davemloft.net>
11486
11487 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11488 directory block.
11489
6c6352e6
JM
114902013-10-10 Joseph Myers <joseph@codesourcery.com>
11491
33b853c3
JM
11492 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11493 instead of FSF address.
11494 * soft-fp/fixdfti.c: Likewise.
11495 * soft-fp/fixsfti.c: Likewise.
11496 * soft-fp/fixtfti.c: Likewise.
11497 * soft-fp/fixunsdfti.c: Likewise.
11498 * soft-fp/fixunssfti.c: Likewise.
11499 * soft-fp/fixunstfti.c: Likewise.
11500 * soft-fp/floattidf.c: Likewise.
11501 * soft-fp/floattisf.c: Likewise.
11502 * soft-fp/floattitf.c: Likewise.
11503 * soft-fp/floatuntidf.c: Likewise.
11504 * soft-fp/floatuntisf.c: Likewise.
11505 * soft-fp/floatuntitf.c: Likewise.
11506 * soft-fp/trunctfxf2.c: Likewise.
11507
6c6352e6
JM
11508 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
11509 * soft-fp/fixdfti.c: Likewise.
11510 * soft-fp/fixsfti.c: Likewise.
11511 * soft-fp/fixtfti.c: Likewise.
11512 * soft-fp/fixunsdfti.c: Likewise.
11513 * soft-fp/fixunssfti.c: Likewise.
11514 * soft-fp/fixunstfti.c: Likewise.
11515 * soft-fp/floattidf.c: Likewise.
11516 * soft-fp/floattisf.c: Likewise.
11517 * soft-fp/floattitf.c: Likewise.
11518 * soft-fp/floatuntidf.c: Likewise.
11519 * soft-fp/floatuntisf.c: Likewise.
11520 * soft-fp/floatuntitf.c: Likewise.
11521 * soft-fp/trunctfxf2.c: Likewise.
11522
3bf78b71
DM
115232013-10-10 David S. Miller <davem@davemloft.net>
11524
11525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11526
6f10289e
JM
115272013-10-10 Joseph Myers <joseph@codsourcery.com>
11528
bd878fc0
JM
11529 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11530 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
11531 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
11532 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
11533 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
11534 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
11535 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
11536
6f10289e
JM
11537 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
11538 for NaNs before doing comparisons on argument.
11539 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
11540 Likewise.
11541
321e2684
WN
115422013-10-10 Will Newton <will.newton@linaro.org>
11543
11544 * malloc/hooks.c (memalign_check): Ensure the value of bytes
11545 passed to _int_memalign does not overflow.
11546
40fefba1
TR
115472013-10-10 Torvald Riegel <triegel@redhat.com>
11548
11549 * scripts/bench.pl: Add include-sources directive.
11550 * benchtests/README: Update documentation.
11551
2ae21ed2
JM
115522013-10-10 Joseph Myers <joseph@codesourcery.com>
11553
dcc2dd3f
JM
11554 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
11555 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
11556 instead of FP_INIT_ROUNDMODE.
11557 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
11558 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
11559
2ae21ed2
JM
11560 [BZ #16034]
11561 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
11562 copy class of input value.
11563 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
11564 not handle exceptions.
11565 * soft-fp/negsf2.c (__negsf2): Likewise.
11566 * soft-fp/negtf2.c (__negtf2): Likewise.
11567 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
11568
cb8f9562
JM
115692013-10-09 Joseph Myers <joseph@codesourcery.com>
11570
11571 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
11572 semicolon. From Linux kernel.
11573
5b60c59d
AB
115742013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
11575
11576 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
11577
b86835ca
YC
115782013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
11579
11580 [BZ #156]
11581 * manual/socket.texi: Added statement about buffer
11582 for gethostbyname2_r.
11583
e7044ea7
OB
115842013-10-08 Ondřej Bílka <neleai@seznam.cz>
11585
11586 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
11587 Use .p2align directive instead, throughout.
11588 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11589 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11590 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
11591 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11592 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11593 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
11594 * sysdeps/x86_64/strchr.S: Likewise.
11595 * sysdeps/x86_64/strrchr.S: Likewise.
11596
09544cbc
SP
115972013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11598
88576635
SP
11599 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
11600
e7b2d1dd
SP
11601 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
11602
09544cbc
SP
11603 * sysdeps/generic/math_private.h (__mpsin1): Remove
11604 declaration.
11605 (__mpcos1): Likewise.
11606 (__mpsin): New argument __range_reduce.
11607 (__mpcos): Likewise.
11608 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11609 (slow): Use __mpsin and __mpcos.
11610 (slow1): Likewise.
11611 (slow2): Likewise.
11612 (sloww): Likewise.
11613 (sloww1): Likewise.
11614 (sloww2): Likewise.
11615 (bsloww): Likewise.
11616 (bsloww1): Likewise.
11617 (bsloww2): Likewise.
11618 (cslow2): Likewise.
11619 (csloww): Likewise.
11620 (csloww1): Likewise.
11621 (csloww2): Likewise.
11622 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
11623 range_reduce. Merge in __mpsin1.
11624 (__mpcos): Likewise.
11625 (__mpsin1): Remove.
11626 (__mpcos1): Likewise.
11627
7602d070
JM
116282013-10-07 Joseph Myers <joseph@codesourcery.com>
11629
11630 * locale/loadlocale.c (_nl_intern_locale_data): Use
11631 LOCFILE_ALIGNED_P.
11632 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
11633 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
11634 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
11635 obstack data is appropriately aligned.
11636 (obstack_int32_grow_fast): Likewise.
11637 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
11638 * locale/programs/locfile.c (add_locale_uint32): Likewise.
11639 (add_locale_uint32_array): Likewise.
11640
a357259b
SP
116412013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11642
11643 * benchtests/Makefile: Remove ARGLIST and RET variables.
11644 ($(objpfx)bench-%.c): Pass only function name to the script.
11645 * benchtests/README: Update documentation.
11646 * benchtests/acos-inputs: Add new directives.
11647 * benchtests/acosh-inputs: Likewise.
11648 * benchtests/asin-inputs: Likewise.
11649 * benchtests/asinh-inputs: Likewise.
11650 * benchtests/atan-inputs: Likewise.
11651 * benchtests/atanh-inputs: Likewise.
11652 * benchtests/cos-inputs: Likewise.
11653 * benchtests/cosh-inputs: Likewise.
11654 * benchtests/exp-inputs: Likewise.
11655 * benchtests/log-inputs: Likewise.
11656 * benchtests/pow-inputs: Likewise.
11657 * benchtests/rint-inputs: Likewise.
11658 * benchtests/sin-inputs: Likewise.
11659 * benchtests/sinh-inputs: Likewise.
11660 * benchtests/tan-inputs: Likewise.
11661 * benchtests/tanh-inputs: Likewise.
11662 * scripts/bench.pl: Add support for new directives.
11663
9ec1b13d
AM
116642013-10-07 Alan Modra <amodra@gmail.com>
11665
11666 * README: Fix careless merge.
11667
8b7d57cd
AM
116682013-10-05 Alan Modra <amodra@gmail.com>
11669
11670 * NEWS: Mention powerpc64le support and bugs fixed.
11671 * README: Both big-endian and little-endian powerpc64 supported.
11672
7b7bab13
ST
116732013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11674
57f41c40
AS
11675 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
11676 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
11677 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
11678 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
11679
d39baad1
RA
116802013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
11681
11682 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
11683 match prototype.
11684
cd78f7e7
JM
116852013-10-04 Joseph Myers <joseph@codesourcery.com>
11686
29d73d86
JM
11687 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
11688 Move -mhard-float appending from
11689 ports/sysdeps/powerpc/powerpc32/Makefile.
11690 [$(with-fp) = yes] (ASFLAGS): Likewise.
11691 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
11692 * sysdeps/powerpc/nofpu: Move directory from
11693 ports/sysdeps/powerpc/nofpu.
11694 * sysdeps/powerpc/soft-fp: Move directory from
11695 ports/sysdeps/powerpc/soft-fp.
11696 * sysdeps/powerpc/powerpc32/405: Move directory from
11697 ports/sysdeps/powerpc/powerpc32/405.
11698 * sysdeps/powerpc/powerpc32/440: Move directory from
11699 ports/sysdeps/powerpc/powerpc32/440.
11700 * sysdeps/powerpc/powerpc32/464: Move directory from
11701 ports/sysdeps/powerpc/powerpc32/464.
11702 * sysdeps/powerpc/powerpc32/476: Move directory from
11703 ports/sysdeps/powerpc/powerpc32/476.
11704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
11705 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
11706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
11707 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
11708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
11709 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11711 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11713 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11714 * README: Update for powerpc-*-linux-gnu software floating point
11715 support in libc.
11716
e246b347
JM
11717 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11718 case to powerpc/powerpc32*.
11719 * sysdeps/unix/sysv/linux/configure: Regenerated.
11720
89c2003e
JM
11721 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11722 (_FPU_MASK_OM): Define as 0x04.
11723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11725 0x00c10080.
11726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11727 0x0000003c.
11728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11729
cd78f7e7
JM
11730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11731 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11732 getcontext_e500.
11733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11734 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11735 setcontext_e500.
11736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11737 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11738 and setcontext_e500.
11739
c755294d
CL
117402013-10-04 Chris Leonard <cjl@sugarlabs,.org>
11741
11742 * locale/iso-3166.def: Update iso-1366.def and related occurrences
11743
e16d221c
SP
117442013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11745
11746 * manual/threads.texi (Default Thread Attributes): Fix typo.
11747
215c7d43
WN
117482013-10-04 Will Newton <will.newton@linaro.org>
11749
11750 * malloc/Makefile: Add tst-memalign.
11751 * malloc/tst-memalign.c: New file.
11752
27d0461b
WN
11753 * malloc/tst-posix_memalign.c: Add comments.
11754 (do_test): Add comments and call free on all potentially
11755 allocated pointers. Add space after cast.
11756
1bc92709
WN
11757 * malloc/tst-pvalloc.c: Add comments.
11758 (do_test): Add comments and call free on all potentially
11759 allocated pointers. Remove duplicate check for NULL pointer.
11760 Add space after cast.
11761
66a9be9d
WN
11762 * malloc/tst-valloc.c: Add comments.
11763 (do_test): Add comments and call free on all potentially
11764 allocated pointers. Remove duplicate check for NULL pointer.
11765 Add space after cast.
11766
4cb81307
AM
117672013-10-04 Alan Modra <amodra@gmail.com>
11768
11769 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11770 Use stdint types in rather than __attribute__((mode())).
11771 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11772
f8e3e9f3
AM
117732013-10-04 Alan Modra <amodra@gmail.com>
11774
11775 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11776 Correct handling of unaligned relocs for little-endian.
11777 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11778
8f9ebb08
AM
117792013-10-04 Alan Modra <amodra@gmail.com>
11780
11781 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11782 * configure: Regenerate.
11783 * nptl/shlib-versions: Powerpc*le starts at 2.18.
11784 * shlib-versions: Likewise.
11785
0edf96c2
AM
117862013-10-04 Alan Modra <amodra@gmail.com>
11787
11788 * string/tester.c (test_memrchr): Increment reported test cycle.
11789
e0f7a380
AM
117902013-10-04 Alan Modra <amodra@gmail.com>
11791
11792 * string/test-memcpy.c (do_one_test): When reporting errors, print
11793 string address and don't overrun end of string.
11794
466b0393
AM
117952013-10-04 Alan Modra <amodra@gmail.com>
11796
11797 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11798 insrdi. Make better use of reg selection to speed exit slightly.
11799 Schedule entry path a little better. Remove useless "are we done"
11800 checks on entry to main loop. Handle wrapping around zero address.
11801 Correct main loop count. Handle single left-over word from main
11802 loop inline rather than by using loop_small. Remove extra word
11803 case in loop_small caused by wrong loop count. Add little-endian
11804 support.
11805 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11806 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
11807 cache hint.
11808 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11809 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11810 support. Avoid rlwimi.
11811 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11812
3be87c77
AM
118132013-10-04 Alan Modra <amodra@gmail.com>
11814
11815 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 11816 insrdi. Formatting.
3be87c77
AM
11817 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11818 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11819 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11820 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11821 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11822 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11823
759cfef3
AM
118242013-10-04 Alan Modra <amodra@gmail.com>
11825
11826 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11827 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11828 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11829 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11830 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11831 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11832 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11833 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11834 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
11835 use of regs. Use power7 mtocrf. Tidy function tails.
11836
fe6e95d7
AM
118372013-10-04 Alan Modra <amodra@gmail.com>
11838
11839 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11840 Formatting. Consistently use rXXX register defines or rN defines.
11841 Use early exit labels that avoid restoring unused non-volatile regs.
11842 Make cr field use more consistent with rWORDn compares. Rename
11843 regs used as shift registers for unaligned loop, using rN defines
11844 for short lifetime/multiple use regs.
11845 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11846 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
11847 addi 1,1,64 to pop stack frame. Simplify return value code.
11848 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11849
664318c3
AM
118502013-10-04 Alan Modra <amodra@gmail.com>
11851
11852 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11853 support. Correct typos, formatting. Optimize tail. Use insrdi
11854 rather than rlwimi.
11855 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11856 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11857 little-endian support. Correct typos.
11858 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
11859 rather than rlwimi.
11860 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
11861 in loop and entry code to keep "and." results.
11862 (strchr): Add little-endian support. Comment. Move cntlzd
11863 earlier in tail.
11864 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11865
43b84013
AM
118662013-10-04 Alan Modra <amodra@gmail.com>
11867
11868 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11869 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11870 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11871 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11872
8a7413f9
AM
118732013-10-04 Alan Modra <amodra@gmail.com>
11874
11875 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11876 (rTMP): Define as r11.
11877 (strcmp): Add little-endian support. Optimise tail.
11878 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11879 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11880 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11881 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11882 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11883 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11884 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11885
33ee81de
AM
118862013-10-04 Alan Modra <amodra@gmail.com>
11887
11888 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11889 little-endian support. Remove unnecessary "are we done" tests.
11890 Handle "s" wrapping around zero and extremely large "size".
11891 Correct main loop count. Handle single left-over word from main
11892 loop inline rather than by using small_loop. Correct comments.
11893 Delete "zero" tail, use "end_max" instead.
11894 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11895
db9b4570
AM
118962013-10-04 Alan Modra <amodra@gmail.com>
11897
11898 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11899 support. Don't branch over align.
11900 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11901 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11902 support. Rearrange tmp reg use to suit. Comment.
11903 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11904
f7c399cf
AM
119052013-10-04 Alan Modra <amodra@gmail.com>
11906
11907 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11908
0b2c2ace
AM
119092013-10-04 Alan Modra <amodra@gmail.com>
11910
11911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11912 conditional form of branch and link when obtaining pc.
11913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11914
02f04a6c
AM
119152013-10-04 Alan Modra <amodra@gmail.com>
11916
11917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11918 HIWORD/LOWORD.
11919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11921
9b874b2f
AM
119222013-10-04 Alan Modra <amodra@gmail.com>
11923
11924 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11925 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11926 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11927 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11928 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11929 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11930 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11931 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11932 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11933 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11934
be1e5d31
AB
119352013-10-04 Anton Blanchard <anton@au1.ibm.com>
11936 Alistair Popple <alistair@ozlabs.au.ibm.com>
11937 Alan Modra <amodra@gmail.com>
11938
11939 [BZ #15723]
11940 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11941 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11942 _dl_hwcap access for little-endian.
11943 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
11944 destroy vmx regs when saving unaligned.
11945 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11946 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
11947 destroy vmx regs when saving unaligned.
11948
fef13a78
AM
119492013-10-04 Alan Modra <amodra@gmail.com>
11950
11951 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11952 Don't use a union to pack hi/low value.
11953
76a66d51
AB
119542013-10-04 Anton Blanchard <anton@au1.ibm.com>
11955
11956 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11957 for little-endian.
11958 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11959 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11960 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11961 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11962 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11963
6a31fe7f
AM
119642013-10-04 Alan Modra <amodra@gmail.com>
11965
11966 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11967 constants to usual value for .cst8 section, and remove redundant
11968 high address load.
11969 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11970 constant for 0x1p52. Load little-endian words of double from
11971 correct stack offsets.
11972
7b88401f
AM
119732013-10-04 Alan Modra <amodra@gmail.com>
11974
11975 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11976 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11977 words of double from correct stack offsets.
11978 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11979 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11980 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11981 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11982 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11983 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11984 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11985 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11986 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11987 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11988 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11989 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11990 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11991 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11992 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11993 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11994 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11995
9c008155
AM
119962013-10-04 Alan Modra <amodra@gmail.com>
11997
11998 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11999 64-bit int/double union.
12000 (_FPU_SETCW): Likewise.
12001 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12002 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12003
da13146d
AM
120042013-10-04 Alan Modra <amodra@gmail.com>
12005
12006 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12007 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12008
603e8410
AM
120092013-10-04 Alan Modra <amodra@gmail.com>
12010
12011 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12012 use vector int constants.
12013 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12014
4a28b3ca
AB
120152013-10-04 Anton Blanchard <anton@au1.ibm.com>
12016
12017 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12018 array with long long.
12019 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12020 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12021 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12022 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12023 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12024 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12025 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12026 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12027 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12028 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12029 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12030 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12031 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12032
2ca85d2b
AB
120332013-10-04 Anton Blanchard <anton@au1.ibm.com>
12034
12035 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12036 (__signbit): Likewise. Correct for little-endian.
12037 (__signbitl): Call __signbit.
12038 (lrint): Correct for little-endian.
12039 (lrintf): Call lrint.
12040
62a728ae
AM
120412013-10-04 Alan Modra <amodra@gmail.com>
12042
12043 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12044 union 32-bit int array member with 64-bit int array.
12045 (t515, tm256): Double rather than long double.
12046 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12047
32c301df
AM
120482013-10-04 Alan Modra <amodra@gmail.com>
12049
12050 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12051 Delete.
12052 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12053 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12054 version of math_ldbl.h.
12055
650ef4bd
AM
120562013-10-04 Alan Modra <amodra@gmail.com>
12057
12058 [BZ #15734], [BZ #15735]
12059 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12060 all uses of ieee875 long double macros and unions. Simplify test
12061 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12062 ldbl_extract_mantissa value for ix,iy exponents. Properly
12063 normalize after ldbl_extract_mantissa, and don't add hidden bit
12064 already handled. Don't treat low word of ieee854 mantissa like
12065 low word of IBM long double and mask off bit when testing for
12066 zero.
12067 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12068 all uses of ieee875 long double macros and unions. Simplify tests
12069 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12070 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12071 two1022, instead use their values. Recognise that tests for large
12072 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12073 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12074 Rewrite all uses of ieee875 long double macros and unions. Simplify
12075 test for 0.0L and nan. Correct negation.
12076 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12077 ieee875 long double macros and unions. Correct output for large
12078 magnitude x. Correct absolute value calculation.
12079 (__erfcl): Likewise.
12080 * math/libm-test.inc: Add tests for errors discovered in IBM long
12081 double versions of fmodl, remainderl, erfl and erfcl.
12082
765714ca
AM
120832013-10-04 Alan Modra <amodra@gmail.com>
12084
12085 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12086 all uses of ieee854 long double macros and unions. Simplify tests
12087 for long doubles that are fully specified by the high double.
12088 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12089 Likewise.
12090 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12091 Remove dead code too.
12092 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12093 (__ieee754_ynl): Likewise.
12094 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12095 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12096 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12097 Remove dead code too.
12098 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12099 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12100 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12101 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12102 Simplify.
12103 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12104 Simplify.
12105 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12106 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12107 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12108 Comment on variable precision.
12109 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12110 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12111 Likewise.
12112 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12113 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12114 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12115 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12116 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12117
4ebd120c
AM
121182013-10-04 Alan Modra <amodra@gmail.com>
12119
12120 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12121 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12122 all uses of ieee854 long double macros and unions.
12123 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12124 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12125 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12126 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12127 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12128 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12129 Likewise.
12130 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12131 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12132 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12133 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12134 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12135 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12136 Simplify sign and nan test too.
12137 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12138 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12139 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12140 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12141 Likewise.
12142 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12143 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12144 Likewise.
12145 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12146 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12147 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12148 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12149 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12150 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12151
1b6adf88
AM
121522013-10-04 Alan Modra <amodra@gmail.com>
12153
12154 * stdio-common/printf_size.c (__printf_size): Don't use
12155 union ieee854_long_double in fpnum union.
12156 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12157 signbit macro to retrieve sign from long double.
12158 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12159 retrieve sign from long double.
12160 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12161 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12162 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12163 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12164 * math/test-misc.c (main): Don't use union ieee854_long_double.
12165
4cf69995
AM
121662013-10-04 Alan Modra <amodra@gmail.com>
12167
12168 [BZ #15680]
12169 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12170 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12171 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12172 calculation. Remove unnecessary test for denormal exponent.
12173 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12174 Correct handling of denormals. Avoid undefined shift behaviour.
12175 Correct normalisation of low mantissa when low double is denormal.
12176 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12177 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12178 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12179 Correct normalisation of low mantissa. Test for overflow of high
12180 mantissa and normalise.
12181 (ldbl_nearbyint): Use more readable constant for two52.
12182 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12183 (__mpn_construct_long_double): Fix test for overflow of high
12184 mantissa and correct normalisation. Avoid undefined shift.
12185
9605ca6c
AM
121862013-10-04 Alan Modra <amodra@gmail.com>
12187
12188 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12189 (union ibm_extended_long_double): Define as an array of ieee754_double.
12190 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12191 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12192 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12193 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12194 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12195 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12196 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12197 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12198 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12199 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12200 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12201
975569d0
JM
122022013-10-03 Joseph Myers <joseph@codesourcery.com>
12203
d3d23756
JM
12204 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12205 page size instead of calling getpagesize.
12206
975569d0
JM
12207 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12208 (LOCFILE_ALIGN_MASK): Likewise.
12209 (LOCFILE_ALIGN_UP): Likewise.
12210 (LOCFILE_ALIGNED_P): Likewise.
12211 * locale/programs/ld-collate.c (collate_output): Use the new
12212 macros instead of __alignof__ (int32_t).
12213 * locale/weight.h (findidx): Likewise.
12214
b1fe1f2b
OB
122152013-10-03 Ondřej Bílka <neleai@seznam.cz>
12216
12217 [BZ #431]
12218 * manual/string.texi: Fix strncat and wcsncat.
12219
5f855e35
BM
122202013-10-03 Brooks Moses <bmoses@google.com>
12221
12222 [BZ #15915]
12223 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12224 * Makerules: ...here, and adjust associated comments.
12225
3cef6009
WN
122262013-10-02 Will Newton <will.newton@linaro.org>
12227
12228 * malloc/Makefile: Add tst-pvalloc.
12229 * malloc/tst-pvalloc.c: New file.
12230
7815420b
WN
122312013-10-02 Will Newton <will.newton@linaro.org>
12232
12233 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12234 improve test coverage.
12235
4868b204
WN
122362013-10-02 Will Newton <will.newton@linaro.org>
12237
12238 * malloc/Makefile: Add tst-posix_memalign.
12239 * malloc/tst-posix_memalign.c: New file.
12240
29c793b3
EB
122412013-10-01 Eric Blake <eblake@redhat.com>
12242
12243 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12244 Use __THROWNL rather than __THROW on static functions.
12245
fd967522
PM
122462013-09-30 Petr Machata <pmachata@redhat.com>
12247
12248 * elf/elf.h (R_AARCH64_ABS16): New macro.
12249 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12250 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12251 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12252 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12253 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12254 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12255 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12256 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12257 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12258 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12259 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12260 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12261 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12262 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12263 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12264 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12265 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12266 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12267 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12268 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12269 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12270 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12271 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12272 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12273 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12274 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12275 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12276 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12277 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12278 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12279 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12280 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12281 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12282 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12283 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12284 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12285 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12286 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12287 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12288 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12289 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12290 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12291 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12292 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12293 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12294 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12295 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12296 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12297 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12298 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12299 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12300 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12301 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12302 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12303 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12304 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12305 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12306 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12307 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12308 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12309 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12310 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12311 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12312 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12313 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12314 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12315 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12316 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12317 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12318 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12319 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12320 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12321 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12322 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12323 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12324 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12325 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12326 (R_AARCH64_TLSDESC_LDR): Likewise.
12327 (R_AARCH64_TLSDESC_ADD): Likewise.
12328 (R_AARCH64_TLSDESC_CALL): Likewise.
12329
b2179107
AS
123302013-09-30 Andreas Schwab <schwab@suse.de>
12331
12332 [BZ #15048]
12333 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12334 the nss database lookup.
12335 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12337
47f28d0a
MF
123382013-09-28 Mike Frysinger <vapier@gentoo.org>
12339
12340 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12341
123422013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
12343
12344 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12345 ${Bash-specific parameter/pattern/string} parameter expansion.
12346 * sysdeps/unix/make-syscalls.sh: Likewise.
12347
f4518a17
KK
123482013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12349
12350 * sysdeps/sh/stackguard-macros.h: New file.
12351
dc1a95c7
OB
123522013-09-26 Ondřej Bílka <neleai@seznam.cz>
12353
12354 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12355 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12356 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12357 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12358 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12359 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12360
5ebbff8f
AZ
123612013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12362
12363 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12364 Fix thread ID register.
12365
4fd2cf9f
JM
123662013-09-25 Joseph Myers <joseph@codesourcery.com>
12367
12368 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12369 [POSIX || UNIX98]: Require rather than permitting all symbols from
12370 <time.h>.
12371 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12372 element of struct sched_param.
12373 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12374 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12375 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12376 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12377 constant.
12378
12c22bc4
OL
123792013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12380
12381 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12382 argument calculation.
12383
a03d8ea7
JM
123842013-09-24 Joseph Myers <joseph@codesourcery.com>
12385
12386 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12387 Expect macro.
12388 [POSIX] (pthread_attr_t): Do not require type.
12389 [POSIX] (pthread_cond_t): Likewise.
12390 [POSIX] (pthread_condattr_t): Likewise.
12391 [POSIX] (pthread_key_t): Likewise.
12392 [POSIX] (pthread_mutex_t): Likewise.
12393 [POSIX] (pthread_mutexattr_t): Likewise.
12394 [POSIX] (pthread_once_t): Likewise.
12395 [POSIX] (pthread_t): Likewise.
12396 [POSIX-based standards] (pthread_atfork): Expect function.
12397
6055173a
JM
123982013-09-24 Joseph Myers <joseph@codesourcery.com>
12399 Richard Sandiford <richard@codesourcery.com>
12400
12401 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12402 (swap_endianness_p): New extern variable.
12403 (set_big_endian): New inline function.
12404 (maybe_swap_uint32): Likewise.
12405 (maybe_swap_uint32_array): Likewise.
12406 (maybe_swap_uint32_obstack): Likewise.
12407 * locale/programs/locfile.c: Include <stdbool.h>.
12408 (swap_endianness_p): New variable.
12409 (add_locale_uint32): Call maybe_swap_uint32.
12410 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12411 (write_locale_data): Call maybe_swap_uint32_array.
12412 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12413 maybe_swap_uint32.
12414 (obstack_int32_grow_fast): Likewise.
12415 (output_weightwc): Call maybe_swap_uint32_obstack.
12416 (collate_output): Likewise.
12417 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12418 (OPT_LITTLE_ENDIAN): Likewise.
12419 (options): Add --little-endian and --big-endian options.
12420 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12421 * locale/programs/locarchive.c: Include "locfile.h".
12422 (GET): New macro.
12423 (SET): Likewise.
12424 (INC): Likewise.
12425 (create_archive): Use the new macros to access fields of
12426 structures directly mapped from or written to locale archives.
12427 (oldlocrecentcmp): Likewise.
12428 (enlarge_archive): Likewise.
12429 (insert_name): Likewise.
12430 (add_alias): Likewise.
12431 (add_locale): Likewise.
12432 (delete_locales_from_archive): Likewise.
12433 (show_archive_content): Likewise.
12434 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12435 locale data.
12436
39bf0bb4
RM
124372013-09-24 Roland McGrath <roland@hack.frob.com>
12438
12439 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12440 http://www.gnu.org/doc/freemanuals.texi.
12441 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12442
f02eed10
WN
124432013-09-24 Will Newton <will.newton@linaro.org>
12444
12445 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12446 macro.
12447
a3a6c312
JM
124482013-09-23 Joseph Myers <joseph@codesourcery.com>
12449
12450 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12451 unsigned char.
12452
107375ac
MR
124532013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12454
12455 * manual/threads.texi (POSIX Threads): Fix a typo.
12456
141f3a77
SP
124572013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12458
303e567a
SP
12459 [BZ #14547]
12460 * string/tst-strcoll-overflow.c: New test case.
12461 * string/Makefile (xtests): Add tst-strcoll-overflow.
12462 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12463 cache if string sizes may cause integer overflow.
12464
141f3a77
SP
12465 [BZ #14547]
12466 * string/strcoll_l.c (coll_seq): New members rule, idx,
12467 save_idx and back_us.
12468 (get_next_seq_nocache): New function.
12469 (do_compare_nocache): New function.
12470 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12471 when malloc fails.
12472
c61b4d41
CD
124732013-09-23 Carlos O'Donell <carlos@redhat.com>
12474
0b1f8e35
CD
12475 [BZ #15754]
12476 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12477 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12478 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12479
c61b4d41
CD
12480 [BZ #15754]
12481 * elf/Makefile (tests): Add tst-ptrguard1.
12482 (tests-static): Add tst-ptrguard1-static.
12483 (tst-ptrguard1-ARGS): Define.
12484 (tst-ptrguard1-static-ARGS): Define.
12485 * elf/tst-ptrguard1.c: New file.
12486 * elf/tst-ptrguard1-static.c: New file.
12487 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12488 * sysdeps/i386/stackguard-macros.h: Likewise.
12489 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12490 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12491 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12492 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12493 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12494 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12495
124962013-09-23 Hector Marco <hecmargi@upv.es>
12497 Ismael Ripoll <iripoll@disca.upv.es>
12498 Carlos O'Donell <carlos@redhat.com>
12499
12500 [BZ #15754]
12501 * sysdeps/generic/stackguard-macros.h: Define
12502 __pointer_chk_guard_local and POINTER_CHK_GUARD.
12503 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
12504 Define __pointer_chk_guard_local.
12505 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
12506 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
12507
f5f4e7b4
VV
125082013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
12509
12510 [BZ #15859]
12511 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
12512
5bb43a43
AS
125132013-09-20 Andreas Schwab <schwab@linux-m68k.org>
12514
12515 * include/string.h (__ffs): Declare as hidden.
12516 * string/ffs.c (__ffs): Define as hidden.
12517 * sysdeps/i386/ffs.c (__ffs): Likewise.
12518 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12519 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
12520 * sysdeps/s390/ffs.c (__ffs): Likewise.
12521 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
12522
3ea5be54
AO
125232013-09-20 Alexandre Oliva <aoliva@redhat.com>
12524
ffb89e53
AO
12525 * NEWS: Mention malloc probes.
12526
322dea08
AO
12527 * malloc/arena.c (new_heap): New memory_heap_new probe.
12528 (grow_heap): New memory_heap_more probe.
12529 (shrink_heap): New memory_heap_less probe.
12530 (heap_trim): New memory_heap_free probe.
12531 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
12532 (systrim): New memory_sbrk_less probe.
12533 * manual/probes.texi: Document them.
12534
655673f3
AO
12535 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
12536 * manual/probes.texi: Document it.
12537
35fed6f1
AO
12538 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
12539 (__libc_realloc): Add memory_realloc_retry probe.
12540 (__libc_memalign): Add memory_memalign_retry probe.
12541 (__libc_valloc): Add memory_valloc_retry probe.
12542 (__libc_pvalloc): Add memory_pvalloc_retry probe.
12543 (__libc_calloc): Add memory_calloc_retry probe.
12544 * manual/probes.texi: Document them.
12545
6999d38c
AO
12546 * malloc/arena.c (get_free_list): Add probe
12547 memory_arena_reuse_free_list.
12548 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
12549 and memory_arena_reuse.
12550 (arena_get2) [!PER_THREAD]: Likewise.
12551 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
12552 memory_arena_reuse_realloc.
12553 * manual/probes.texi: Document them.
12554
0653427f
AO
12555 * malloc/malloc.c (__libc_free): Add
12556 memory_mallopt_free_dyn_thresholds probe.
12557 (__libc_mallopt): Add multiple memory_mallopt probes.
12558 * manual/probes.texi: Document them.
12559
3ea5be54
AO
12560 * malloc/malloc.c: Include stap-probe.h.
12561 (__libc_mallopt): Add memory_mallopt probe.
12562 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
12563 * manual/probes.texi: New.
12564 * manual/Makefile (chapters): Add probes.
12565 * manual/threads.texi: Set next node.
12566
e35696c3 125672013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 12568
e35696c3
CL
12569 [BZ #15963, #13985]
12570 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
12571 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
12572 Add `Chinese' to `nan' entry name.
12573
4aafb73c
SP
125742013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12575
12576 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
12577 (POLYNOMIAL): Likewise.
12578 (TAYLOR_SINCOS): Likewise.
12579 (TAYLOR_SLOW): Likewise.
12580 (__sin): Use TAYLOR_SINCOS.
12581 (__cos): Likewise.
12582 (slow): Use TAYLOR_SLOW.
12583 (sloww): Likewise.
12584 (bsloww): Likewise.
12585 (csloww): Likewise.
12586
d84f25c7
LD
125872013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12588
12589 * stdlib/strtod_l.c: Fix buffer overrun.
12590
5eea0404
SP
125912013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12592
7849ff93
SP
12593 * benchtests/Makefile (bench): Add sincos.
12594 * benchtests/bench-sincos.c: New file.
12595
cfa3c886
SP
12596 * math/libm-test.inc (cos_test_data): New test inputs.
12597 (sin_test_data): Likewise.
12598
b348e1e3
SP
12599 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
12600 macro.
12601 (__sin): Use it.
12602 (__cos): Likewise.
12603 (slow1): Likewise.
12604 (slow2): Likewise.
12605 (sloww1): Likewise.
12606 (sloww2): Likewise.
12607 (bsloww1): Likewise.
12608 (bsloww2): Likewise.
12609 (cslow2): Likewise.
12610 (csloww1): Likewise.
12611 (csloww2): Likewise.
12612
6cce25f8
SP
12613 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
12614 function.
12615 (__sin): Use it.
12616 (__cos): Likewise.
12617
5eea0404
SP
12618 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
12619 gotos.
12620 (__cos): Likewise.
12621
9c21573c
MR
126222013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
12623
12624 * config.h.in (HAVE_MIPS_NAN2008): New macro.
12625 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
12626 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
12627 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
12628 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
12629 * elf/cache.c (print_entry): Handle the new cache flags.
12630
24d22e65
JM
126312013-09-18 Joseph Myers <joseph@codesourcery.com>
12632 Aldy Hernandez <aldyh@redhat.com>
12633
12634 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
12635 Change condition to [_SOFT_FLOAT].
12636 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
12637 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
12638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
12639 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
12640 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
12641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
12642 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
12643 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
12644 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
12645 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
12646 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
12647 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
12648 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
12649 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
12650 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
12651 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
12652 declaration.
12653
d13ef066
JM
126542013-09-18 Joseph Myers <joseph@codesourcery.com>
12655
2e071de0
JM
12656 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
12657 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12658 (__longjmp): Use LOAD_GP to load saved GPRs.
12659 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
12660 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
12661 (__sigsetjmp): Use SAVE_GP to save GPRs.
12662
d13ef066
JM
12663 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
12664 Do not append -msoft-float.
12665 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
12666
97a0650b
SP
126672013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12668
12669 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
12670
11ca09e9
JM
126712013-09-17 Joseph Myers <joseph@codesourcery.com>
12672
12673 [BZ #15966]
12674 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
12675 (_FPU_GETCW): Use initial "__" on variable and field names but not
12676 on macro parameter name.
12677 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
12678 parentheses around reference to macro parameter.
12679
08ffcf34
RS
126802013-09-13 Richard Sandiford <richard@codesourcery.com>
12681
12682 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
12683 prototype.
12684 (ctype_startup): Use uint32_t in cast and sizeof for
12685 ctype->charnames.
12686
ae7080d3
JL
126872013-09-11 Jia Liu <proljc@gmail.com>
12688
12689 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
12690 __daddr_t_defined.
12691 [__FreeBSD__]: Likewise.
12692
5905e7b3
OB
126932013-09-11 Ondřej Bílka <neleai@seznam.cz>
12694
12695 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12696 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
12697 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
12698 (strchr): Remove __strchr_sse42 ifunc selection.
12699 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
12700 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
12701
b987c776
WN
127022013-09-11 Will Newton <will.newton@linaro.org>
12703
12704 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
12705 parameter to RES. Remove hardcoded 1000 value.
12706 * benchtests/bench-skeleton.c (main): Pass RES parameter
12707 to TIMING_INIT and multiply result by 1000.
12708
ddf985af
AZ
127092013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12710
12711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12712
ffdd3181
AS
127132013-09-11 Andreas Schwab <schwab@suse.de>
12714
12715 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12716 if not defined.
12717 (O_TMPFILE) [__USE_GNU]: Define.
12718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12719 Define.
12720
b73ed247
WN
127212013-09-11 Will Newton <will.newton@linaro.org>
12722
12723 [BZ #15857]
12724 * malloc/malloc.c (__libc_memalign): Check the value of bytes
12725 does not overflow.
12726
55e17aad
WN
127272013-09-11 Will Newton <will.newton@linaro.org>
12728
12729 [BZ #15856]
12730 * malloc/malloc.c (__libc_valloc): Check the value of bytes
12731 does not overflow.
12732
1159a193
WN
127332013-09-11 Will Newton <will.newton@linaro.org>
12734
12735 [BZ #15855]
12736 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12737 does not overflow.
12738
5905e7b3 127392013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
12740
12741 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12742 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12743 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12744 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12745 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12746
cdfc721b
AM
127472013-09-10 Allan McRae <allan@archlinux.org>
12748
aa04af00
AM
12749 [BZ #15748]
12750 * manual/arith.texi (Parsing of Floats): Clarify
12751 cross-reference.
12752
cdfc721b
AM
12753 [BZ #15849]
12754 * manual/install.texi (Running make install): Mention
12755 --enable-pt-chown.
12756 * INSTALL: Regenerated.
12757
95e7cf29
MR
127582013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12759
12760 * csu/init-first.c (_init): Remove the !SHARED condition around
12761 FPU control word initialization.
12762 * elf/dl-support.c (_dl_fpu_control): New variable.
12763 (_dl_aux_init) <AT_FPUCW>: Initialize it.
12764 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12765 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12766 * math/test-fpucw-static.c: New file.
12767 * math/test-fpucw-ieee.c: New file.
12768 * math/test-fpucw-ieee-static.c: New file.
12769 * math/Makefile (tests): Add `test-fpucw-ieee' and
12770 `$(tests-static)'.
12771 (tests-static): New variable.
12772 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12773 dependency to...
12774 [($(build-shared),yes)]
12775 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12776 ... this.
12777 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12778 New dependency.
12779
83e43bf0
AM
127802013-09-09 Allan McRae <allan@archlinux.org>
12781
a9f5ce09
AM
12782 [BZ #15939]
12783 * manual/string.texi (Collation Functions): Fix typo in
12784 strcoll example.
12785 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12786
34829bc2
AM
12787 [BZ #15893]
12788 * stdlib/isomac.c (get_null_defines): Fix memory leak.
12789
3932737d
AM
12790 [BZ #15892]
12791 * libio/memstream.c (open_memstream): Fix memory leak.
12792 * libio/wmemstream.c (open_wmemstream): Likewise.
12793
83e43bf0
AM
12794 [BZ #15895]
12795 * nscd/netgroupcache.c: Fix nesting of ifdefs.
12796
0c66b8e9
WN
127972013-09-09 Will Newton <will.newton@linaro.org>
12798
12799 * malloc/Makefile: Add tst-realloc to tests.
12800 * malloc/tst-realloc.c: New file.
12801
f6b00fd1
AM
128022013-09-09 Allan McRae <allan@archlinux.org>
12803
12804 [BZ #15844]
12805 * COPYING: Update from GNU website to fix FSF address.
12806 * COPYING.LIB: Likewise.
12807
eec55e16
DM
128082013-09-06 David S. Miller <davem@davemloft.net>
12809
12810 * po/zh_TW.po: Update Chinese (traditional) translation from
12811 translation project.
12812
1ecbb381
RS
128132013-09-06 Richard Sandiford <richard@codesourcery.com>
12814 Joseph Myers <joseph@codesourcery.com>
12815
12816 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12817 "localeinfo.h".
12818 (obstack_chunk_alloc): New macro.
12819 (obstack_chunk_free): Likewise.
12820 (record_offset): New function.
12821 (init_locale_data): Likewise.
12822 (align_locale_data): Likewise.
12823 (add_locale_empty): Likewise.
12824 (add_locale_raw_data): Likewise.
12825 (add_locale_raw_obstack): Likewise.
12826 (add_locale_string): Likewise.
12827 (add_locale_wstring): Likewise.
12828 (add_locale_uint32): Likewise.
12829 (add_locale_uint32_array): Likewise.
12830 (add_locale_char): Likewise.
12831 (start_locale_structure): Likewise.
12832 (end_locale_structure): Likewise.
12833 (start_locale_prelude): Likewise.
12834 (end_locale_prelude): Likewise.
12835 (write_locale_data): Take locale_file structure rather than an
12836 iovec.
12837 * locale/programs/locfile.h: Include "obstack.h".
12838 (struct locale_file): Change to store locale file contents instead
12839 of header.
12840 (init_locale_data): New prototype.
12841 (align_locale_data): Likewise.
12842 (add_locale_empty): Likewise.
12843 (add_locale_raw_data): Likewise.
12844 (add_locale_raw_obstack): Likewise.
12845 (add_locale_string): Likewise.
12846 (add_locale_wstring): Likewise.
12847 (add_locale_uint32): Likewise.
12848 (add_locale_uint32_array): Likewise.
12849 (add_locale_char): Likewise.
12850 (start_locale_structure): Likewise.
12851 (end_locale_structure): Likewise.
12852 (start_locale_prelude): Likewise.
12853 (end_locale_prelude): Likewise.
12854 (write_locale_data): Update prototype.
12855 * locale/programs/3level.h (struct TABLE): Remove result field.
12856 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12857 Use new locale_file interface.
12858 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12859 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12860 * locale/programs/ld-address.c (address_output): Use new
12861 locale_file interface.
12862 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12863 NO_ADD_LOCALE.
12864 (collate_finish): Don't call collseq_table_finalize.
12865 (collate_output): Use new locale_file interface.
12866 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12867 in file.
12868 (NO_FINALIZE): Change to NO_ADD_LOCALE.
12869 (TABLE): Move defines earlier in file.
12870 (ELEMENT): Likewise.
12871 (DEFAULT): Likewise.
12872 (wctrans_table_add): Move macro and inline function earlier in
12873 file.
12874 (struct wctype_table): Move type earlier in file.
12875 (add_locale_wctype_table): New static prototype.
12876 (struct locale_ctype_t): Use logical types instead of struct iovec
12877 pointers for members.
12878 (ctype_output): Use new locale_file interface.
12879 (wctype_table_finalize): Change to add_locale_wctype_table. Use
12880 new locale_file interface.
12881 (allocate_arrays): Update for use of new locale_file interface.
12882 * locale/programs/ld-identification.c (identification_output): Use
12883 new locale_file interface.
12884 * locale/programs/ld-measurement.c (measurement_output): Likewise.
12885 * locale/programs/ld-messages.c (messages_output): Likewise.
12886 * locale/programs/ld-monetary.c (monetary_output): Likewise.
12887 * locale/programs/ld-name.c (name_output): Likewise.
12888 * locale/programs/ld-numeric.c (numeric_output): Likewise.
12889 * locale/programs/ld-paper.c (paper_output): Likewise.
12890 * locale/programs/ld-telephone.c (telephone_output): Likewise.
12891 * locale/programs/ld-time.c (time_output): Likewise.
12892
e029e2e5
AZ
128932013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12894
12895 * benchtests/Makefile: Add memrchr benchmark.
12896 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12897 benchmark as memrchr.
12898 * benchtests/bench-memrchr-ifunc.c: New file.
12899 * benchtests/bench-memrchr.c: New file.
12900
bbf6e8e4
WN
129012013-09-06 Will Newton <will.newton@linaro.org>
12902
12903 * benchtests/Makefile (string-bench): Add memcpy.
12904
6c82a2f8
CD
129052013-09-05 Carlos O'Donell <carlos@redhat.com>
12906 Cong Wang <amwang@redhat.com>
12907
e732c5f0 12908 [BZ #15850]
6c82a2f8
CD
12909 * sysdeps/unix/sysv/linux/bits/in.h
12910 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12911 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12912 before __USE_KERNEL_IPV6_DEFS uses.
12913 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12914 IPPROTO_BEETPH.
12915 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12916 sockaddr_in6, or ipv6_mreq.
12917
5430fc65
AZ
129182013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12919
12920 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12921 memory access for final bytes in some large inputs.
12922 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12923
4660856c
AZ
129242013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12925
12926 * string/test-memrchr.c: New file.
12927 * string/test-memrchr-ifunc.c: New file.
12928 * string/Makefile: Add new memrchr testcase.
12929
bb8ea713
MF
129302013-09-05 Mike Frysinger <vapier@gentoo.org>
12931
12932 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12933 fanotify_init returns EPERM.
12934
b92a20b5
JM
129352013-09-04 Joseph Myers <joseph@codesourcery.com>
12936
12937 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12938 errors.
12939 (top level): Treat second token from macro or constant entries for
12940 allowed headers as allowed.
12941 * include/complex.h: Condition internal declarations on
12942 [!_ISOMAC].
12943 * include/fenv.h: Condition include of <stdbool.h> and internal
12944 declarations on [!_ISOMAC].
7447ccd9
CL
12945
129462013-09-04 Chris Leonard <cjl@sugarlabs,.org>
12947
3e181dda 12948 [BZ #15923]
7447ccd9
CL
12949 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12950
3f2e46a4
JM
129512013-09-04 Joseph Myers <joseph@codesourcery.com>
12952
12953 * configure.in (--enable-versioning): Remove configure option.
12954 (libc_cv_asm_symver_directive): Remove configure test.
12955 (libc_cv_ld_version_script_option): Likewise.
12956 (VERSIONING): Remove variable and AC_SUBST.
12957 (DO_VERSIONING): Remove AC_DEFINE.
12958 * configure: Regenerated.
12959 * config.h.in (DO_VERSIONING): Remove macro.
12960 * Makerules [$(versioning) = yes]: Change conditionals to
12961 [$(build-shared) = yes].
12962 * config.make.in (versioning): Remove variable.
12963 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12964 [$(build-shared) = yes].
12965 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12966 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12967 * elf/Makefile [$(versioning) = yes]: Change conditionals to
12968 [$(build-shared) = yes].
12969 * extra-lib.mk [$(versioning) = yes]: Likewise.
12970 * hurd/Makefile [$(versioning) = yes]: Likewise.
12971 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12972 [SHARED].
12973 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12974 [SHARED].
12975 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12976 [SHARED && !NO_HIDDEN].
12977 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12978 [SHARED].
12979 [SHARED && DO_VERSIONING]: Likewise..
12980 * libio/Makefile [$(versioning) = yes]: Change conditionals to
12981 [$(build-shared) = yes].
12982 * manual/install.texi (--disable-versioning): Remove
12983 documentation.
12984 * INSTALL: Regenerated.
12985 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12986 to [SHARED].
12987 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12988 [$(build-shared) = yes].
12989 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12990 * sysdeps/i386/i686/multiarch/strstr-c.c
12991 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12992 [SHARED && !NO_HIDDEN].
12993 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12994 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12995 * sysdeps/powerpc/powerpc32/dl-machine.c
12996 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12997 * sysdeps/powerpc/powerpc32/sysdep.h
12998 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12999 to [SHARED && PIC && !NO_HIDDEN].
13000 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13001 conditional to [SHARED].
13002
44558701
WN
130032013-09-04 Will Newton <will.newton@linaro.org>
13004
13005 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13006 * benchtests/bench-string.h: Include bench-timing.h instead
13007 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13008 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13009 call to HP_TIMING_DIFF_INIT.
13010 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13011 instead of hp-timing.h macros.
13012 * benchtests/bench-memchr.c: Likewise.
13013 * benchtests/bench-memcmp.c: Likewise.
13014 * benchtests/bench-memcpy.c: Likewise.
13015 * benchtests/bench-memmem.c: Likewise.
13016 * benchtests/bench-memmove.c: Likewise.
13017 * benchtests/bench-memset.c: Likewise.
13018 * benchtests/bench-rawmemchr.c: Likewise.
13019 * benchtests/bench-strcasecmp.c: Likewise.
13020 * benchtests/bench-strcasestr.c: Likewise.
13021 * benchtests/bench-strcat.c: Likewise.
13022 * benchtests/bench-strchr.c: Likewise.
13023 * benchtests/bench-strcmp.c: Likewise.
13024 * benchtests/bench-strcpy.c: Likewise.
13025 * benchtests/bench-strcpy_chk.c: Likewise.
13026 * benchtests/bench-strlen.c: Likewise.
13027 * benchtests/bench-strncasecmp.c: Likewise.
13028 * benchtests/bench-strncat.c: Likewise.
13029 * benchtests/bench-strncmp.c: Likewise.
13030 * benchtests/bench-strncpy.c: Likewise.
13031 * benchtests/bench-strnlen.c: Likewise.
13032 * benchtests/bench-strpbrk.c: Likewise.
13033 * benchtests/bench-strrchr.c: Likewise.
13034 * benchtests/bench-strspn.c: Likewise.
13035 * benchtests/bench-strstr.c: Likewise.
13036
cae16d66
WN
130372013-09-04 Will Newton <will.newton@linaro.org>
13038
13039 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13040
ffa3cd7f
JM
130412013-09-03 Joseph Myers <joseph@codesourcery.com>
13042
13043 [BZ #15427]
13044 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13045 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13046 * math/libm-test.inc (lgamma_test_data): Add more tests.
13047 * sysdeps/i386/fpu/libm-test-ulps: Update.
13048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13049
8f02859f
OB
130502013-09-03 Ondřej Bílka <neleai@seznam.cz>
13051
13052 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13053 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13054 Add ifunc.
13055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13056 Add strcmp-sse2-unaligned
13057 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13058
18d43716
MF
130592013-09-02 Mike Frysinger <vapier@gentoo.org>
13060
13061 * Versions.def (libc): Add GLIBC_2.19.
13062
ac444012
MF
130632013-09-02 Mike Frysinger <vapier@gentoo.org>
13064
13065 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13066 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13067
b7835e32
JM
130682013-09-02 Joseph Myers <joseph@codesourcery.com>
13069
13070 [BZ #14155]
13071 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13072 intermediate calculations in recurrence.
13073 (__ieee754_ynf): Likewise.
13074 * math/libm-test.inc (jn_test_data): Do not allow spurious
13075 underflow exception. Add more tests.
13076 (yn_test_data): Add more tests.
13077 * sysdeps/i386/fpu/libm-test-ulps: Update.
13078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13079
8220f4f0
OB
130802013-09-02 Ondřej Bílka <neleai@seznam.cz>
13081
13082 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13083
f24a6d08
OB
130842013-08-30 Ondřej Bílka <neleai@seznam.cz>
13085
13086 * csu/init-first.c: Fix then/than typos.
13087 * locale/programs/ld-collate.c: Likewise.
13088 * locale/programs/linereader.h: Likewise.
13089 * manual/charset.texi: Likewise.
13090 * manual/filesys.texi: Likewise.
13091 * manual/stdio.texi: Likewise.
13092 * manual/string.texi: Likewise.
13093 * stdlib/fmtmsg.c: Likewise.
13094 * sysdeps/i386/stpncpy.S: Likewise.
13095 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13096 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13097 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13098 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13099
382466e0
OB
131002013-08-30 Ondřej Bílka <neleai@seznam.cz>
13101
13102 * elf/dl-open.c: Fix typos.
13103 * iconvdata/gbbig5.c: Likewise.
13104 * iconvdata/iso-2022-jp.c: Likewise.
13105 * iconv/gconv_int.h: Likewise.
13106 * iconv/loop.c: Likewise.
13107 * nis/rpcsvc/nis.h: Likewise.
13108 * resolv/ns_name.c: Likewise.
13109 * stdio-common/vfscanf.c: Likewise.
13110 * streams/stropts.h: Likewise.
13111 * sunrpc/rpc_thread.c: Likewise.
13112 * sysdeps/i386/strpbrk.S: Likewise.
13113 * sysdeps/ieee754/k_standard.c: Likewise.
13114 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13115 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13116 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13117 * sysdeps/mach/hurd/profil.c: Likewise.
13118 * sysdeps/s390/dl-procinfo.h: Likewise.
13119 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13120 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13121 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13122 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13123 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13124
0186c6e9
OB
131252013-08-30 Ondřej Bílka <neleai@seznam.cz>
13126
13127 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13128 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13129
d4e16af1
OB
131302013-08-29 Ondřej Bílka <neleai@seznam.cz>
13131
13132 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13133 aix specific files.
13134 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13135 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13136 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13137 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13138 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13139 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13140 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13141 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13142
88335980
TS
131432013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13144 Roland McGrath <roland@hack.frob.com>
13145
13146 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13147 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13148
ed479b02
ST
131492013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13150
13151 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13152 __executable_start symbol instead of _start.
13153
f1cc4c86
TS
131542013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13155
d821f07c
TS
13156 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13157 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13158 Move macros to...
13159 * sysdeps/gnu/ldsodefs.h: ... this new file.
13160
c54290cf
TS
13161 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13162 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13163 instead of ELFOSABI_LINUX.
13164
0007fc9b 13165 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
13166 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13167 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13168 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13169 Likewise.
13170 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13171 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13172 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13173 Likewise.
13174 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13175 (ibm_extended_long_double): Add ieee_nan member.
13176 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13177 (do_test): New function.
13178
f1cc4c86
TS
13179 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13180 TEST_TRUNC.
13181 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13182 functions, renamed from truncdfsf_test, trunctfsf_test,
13183 trunctfdf_test.
13184 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13185 functions.
13186 (do_test): Run all these.
13187
6f65e668
OB
131882013-08-29 Ondřej Bílka <neleai@seznam.cz>
13189
13190 * argp/argp-help.c: Fix typos.
13191 * argp/argp-parse.c: Likewise.
13192 * debug/backtracesyms.c: Likewise.
13193 * elf/elf.h: Likewise.
13194 * malloc/malloc.c: Likewise.
13195 * nis/nis_print.c: Likewise.
13196 * resolv/res_comp.c: Likewise.
13197 * stdlib/stdlib.h: Likewise.
13198 * sunrpc/clnt_tcp.c: Likewise.
13199 * sunrpc/clnt_udp.c: Likewise.
13200 * sunrpc/clnt_unix.c: Likewise.
13201 * sysdeps/unix/bsd/ptsname.c: Likewise.
13202 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13203 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
13204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13205 Likewise.
13206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13207 Likewise.
13208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13209 Likewise.
6f65e668
OB
13210 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13211
3a309239
SP
132122013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13213
13214 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13215 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13216
3b813b29
MF
132172013-08-27 Mike Frysinger <vapier@gentoo.org>
13218
13219 [BZ #15897]
13220 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13221 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13222 ($(objpfx)bug-dl-leaf): New rule.
13223 ($(objpfx)bug-dl-leaf.so): Likewise.
13224 ($(objpfx)bug-dl-leaf.out): Likewise.
13225 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13226 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13227 * dlfcn/bug-dl-leaf.c: New test.
13228 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13229 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13230 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13231 (dlclose): Likewise.
13232 (dlmopen): Likewise.
13233
8cc3269f
RM
132342013-08-27 Roland McGrath <roland@hack.frob.com>
13235
7f9d0034
RM
13236 * include/netdb.h [!_ISOMAC]:
13237 Don't include <tls.h>.
13238 (h_errno, __libc_h_errno): Move declaration and macros out of
13239 [_LIBC_REENTRANT].
13240
fb431262
RM
13241 * include/resolv.h [_RESOLV_H_]:
13242 Don't include <tls.h>.
13243 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13244 * resolv/res_libc.c: Don't include <tls.h>.
13245 (_res): Use __attribute__ ((nocommon)) in place of
13246 __attribute__ ((section (".bss"))).
13247
bd81123a
RM
13248 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13249 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13250
c4e42566
RM
13251 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13252
f890a59b
RM
13253 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13254 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13255
13256 * resolv/res_mkquery.c: Include <sys/time.h>.
13257
5d1f0a09
RM
13258 * inet/ifreq.c: Moved to ...
13259 * sysdeps/unix/ifreq.c: ... here.
13260 * inet/ifreq.c: New file, true stub version.
13261
6fcf28b3
RM
13262 * socket/sa_len.c: New file.
13263 * socket/Makefile (aux): Add it.
13264 * sysdeps/unix/sysv/linux/Makefile
13265 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13266 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13267 and #include <socket/sa_len.c>.
13268 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13269 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13270
e041fb8b
RM
13271 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13272 * bits/socket.h: ... here.
13273
8cc3269f
RM
13274 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13275 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13276 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13277
5d228a43
AS
132782013-08-27 Andreas Schwab <schwab@suse.de>
13279
45b8accc
AS
13280 [BZ #15736]
13281 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13282 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13283 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13284 * string/test-strcasecmp.c (test_main): Run tests in several
13285 locales.
13286 * string/test-strncasecmp.c (test_main): Likewise.
13287
5d228a43
AS
13288 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13289 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13290 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13291 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13292 (__strncasecmp_ssse3) [PIC]: Likewise.
13293
59d112a4
RM
132942013-08-26 Roland McGrath <roland@hack.frob.com>
13295
53234cc3
RM
13296 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13297
59d112a4
RM
13298 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13299 instead of explicitly declaring xdecrypt.
13300 * nis/nss_nis/nis-publickey.c: Likewise.
13301
595aba70
SP
133022013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13303
13304 [BZ #15890]
13305 * nscd/aicache.c: Include res_hconf.h.
13306 (addhstaiX): Initialize res_hconf.
13307
ffabd393
AS
133082013-08-26 Andreas Schwab <schwab@suse.de>
13309
13310 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13311 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13312
e0a69f5c
SP
133132013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13314
13315 * nscd/aicache.c (addhstaiX): Fix indentation.
13316
8c12f01d
MF
133172013-08-25 Mike Frysinger <vapier@gentoo.org>
13318
13319 * configure.ac: Quote $build_pt_chown test.
13320 * configure: Regenerated.
13321
8fe89494
JM
133222013-08-23 Joseph Myers <joseph@codesourcery.com>
13323
13324 [BZ #15532]
13325 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13326 * math/s_cexpf.c (__cexpf): Likewise.
13327 * math/s_cexpl.c (__cexpl): Likewise.
13328 * math/libm-test.inc (cexp_test_data): Correct expected return
13329 value for NaN + i0. Add another test.
13330
75b181d6
DM
133312013-08-22 David S. Miller <davem@davemloft.net>
13332
13333 * po/ca.po: Update Catalan translation from translation project.
936241e4 13334 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 13335
acd06bb1
JM
133362013-08-21 Joseph Myers <joseph@codesourcery.com>
13337
13338 [BZ #15797]
13339 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13340 is infinite, not alongside NaN test.
13341 * math/s_fdimf.c (__fdimf): Likewise.
13342 * math/s_fdiml.c (__fdiml): Likewise.
13343 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13344 errno is unchanged.
13345
c0c3f78a
OB
133462013-08-21 Ondřej Bílka <neleai@seznam.cz>
13347
13348 * argp/argp-help.c: Fix typos.
13349 * crypt/speeds.c: Likewise.
13350 * csu/check_fds.c: Likewise.
13351 * elf/dl-load.c: Likewise.
13352 * elf/dl-open.c: Likewise.
13353 * elf/reldep3.c: Likewise.
13354 * elf/reldep.c: Likewise.
13355 * elf/sprof.c: Likewise.
13356 * iconv/iconv_charmap.c: Likewise.
13357 * iconv/skeleton.c: Likewise.
13358 * iconv/strtab.c: Likewise.
13359 * io/lockf64.c: Likewise.
13360 * libio/libioP.h: Likewise.
13361 * resolv/gai_notify.c: Likewise.
13362 * resolv/ns_name.c: Likewise.
13363 * resolv/ns_samedomain.c: Likewise.
13364 * resolv/res_send.c: Likewise.
13365 * stdlib/random.c: Likewise.
13366 * sunrpc/rpc/xdr.h: Likewise.
13367 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13368 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13369 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13370 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13371 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13372 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13373 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13374 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13375 * sysdeps/mach/hurd/check_fds.c: Likewise.
13376 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13377 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13378 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13379 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13380 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13381 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13382 * sysdeps/pthread/aio_notify.c: Likewise.
13383 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13384 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13385 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13386 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13387 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13388
46ed1038
LD
133892013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13390
13391 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13392 version if bit_Slow_SSE4_2 is set.
13393 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13394 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13395
d400dcac
AZ
133962013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13397
13398 [BZ #15867]
13399 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13400 trampoline stack frame information.
13401 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13402 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13403 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13404 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13405 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13406 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13407 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13408 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13409 sa_flags value.
13410 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13411 interrupting a syscall and set with option SA_SIGINFO.
13412
42c8fdd8
JM
134132013-08-20 Joseph Myers <joseph@codesourcery.com>
13414
c980f2f4
JM
13415 [BZ #15531]
13416 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13417 argument is infinite.
13418 * math/s_cprojf.c (__cprojf): Likewise.
13419 * math/s_cprojl.c (__cprojl): Likewise.
13420 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13421 * math/libm-test.inc (cproj_test_data): Add more tests.
13422
0716c4fc
JM
13423 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13424
42c8fdd8
JM
13425 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13426 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13427 size. Use __ffs to determine corresponding shift.
13428
b31469d0
JM
134292013-08-20 Joseph Myers <joseph@codesourcery.com>
13430 Roland McGrath <roland@hack.frob.com>
13431
13432 * Makefile (INSTALL): Remove trailing blank lines from output of
13433 makeinfo.
13434
4e39af6e
AK
134352013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13436
13437 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13438 Align 32 bit compat elf_greg to 8 bytes.
13439
f315524e
AA
134402013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13441
13442 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13443
1326ba1a
SP
134442013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13445
13446 * string/strcoll_l.c (coll_seq): New structure.
13447 (get_next_seq_cached): New function.
13448 (get_next_seq): New function.
13449 (do_compare): New function.
13450 (STRCOLL): Use GNU style definition. Simplify implementation
13451 by using get_next_seq, get_next_seq_cached and do_compare.
13452
91ce4085
FW
134532013-08-16 Florian Weimer <fweimer@redhat.com>
13454
13455 [BZ #14699]
13456 CVE-2013-4237
13457 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13458 member.
13459 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13460 member.
13461 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13462 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13463 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13464 conditional.
13465 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13466 GETDENTS_64BIT_ALIGNED.
13467 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13468 * manual/filesys.texi (Reading/Closing Directory): Document
13469 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13470 strongly.
13471 * manual/conf.texi (Limits for Files): Add portability note to
13472 NAME_MAX, PATH_MAX.
13473 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13474
ca0a6bc4
AS
134752013-08-13 Andreas Schwab <schwab@suse.de>
13476
13477 [BZ #15749]
13478 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13479 of fabs.
13480 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13481 LDBL_MAX_EXP >= 16384]: Add tests for it.
13482
6c1fd795
DM
134832013-08-12 David S. Miller <davem@davemloft.net>
13484
13485 * version.h (RELEASE): Set to "development".
13486 (VERSION): Set to "2.18.90".
13487 * NEWS: Add 2.19 section.
13488
31ad488d
DM
134892013-08-03 David S. Miller <davem@davemloft.net>
13490
13491 * po/ko.po: Update Korean translation from translation project.
13492
db24e684
DM
134932013-08-01 David S. Miller <davem@davemloft.net>
13494
13495 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13496 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
13497 Bilka.
13498
f723285b
DM
134992013-07-30 David S. Miller <davem@davemloft.net>
13500
13501 * po/fr.po: Update French translation from translation project.
13502
3cbc52db
DM
135032013-07-28 David S. Miller <davem@davemloft.net>
13504
30bbc0cc
DM
13505 * po/cs.po: Update Czech translation from translation project.
13506
3cbc52db
DM
13507 * po/sv.po: Update Swedish translation from translation project.
13508
d492e6d0
DM
135092013-07-27 David S. Miller <davem@davemloft.net>
13510
f1a7f492
DM
13511 * po/eo.po: Update Esperanto translation from translation project.
13512
90e62a4a
DM
13513 * po/vi.po: Update Vietnamese translation from translation project.
13514
d492e6d0
DM
13515 * po/de.po: Update German translation from translation project.
13516
d4baa62d
DM
135172013-07-26 David S. Miller <davem@davemloft.net>
13518
641aa7b4
DM
13519 * po/bg.po: Update Bulgarian translation from translation project.
13520
d4baa62d
DM
13521 * po/nl.po: Update Dutch translation from translation project.
13522 * po/pl.po: Update Polish translation from translation project.
13523 * po/ru.po: Update Russian translation from translation project.
13524
61a9dcb9
DM
135252013-07-24 David S. Miller <davem@davemloft.net>
13526
13527 * po/libc.pot: Update.
13528
7b1f8b58
AZ
135292013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13530
13531 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
13532 variable page size.
13533 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
13534 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
13535 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
13536
a8fc7a03
AK
135372013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13538
13539 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
13540
e4608715
CD
135412013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13542 Andreas Schwab <schwab@suse.de>
13543 Roland McGrath <roland@hack.frob.com>
13544 Joseph Myers <joseph@codesourcery.com>
13545 Carlos O'Donell <carlos@redhat.com>
13546
13547 [BZ #15755]
13548 * config.h.in: Define HAVE_PT_CHOWN.
13549 * config.make.in (build-pt-chown): New variable.
13550 * configure.in (--enable-pt_chown): New configure option.
13551 * configure: Regenerate.
13552 * login/Makefile: Include Makeconfig. Build pt_chown only if
13553 build-pt-chown is enabled.
13554 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
13555 pt_chown to fix pty ownership.
13556 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
13557 CLOSE_ALL_FDS.
13558 * manual/install.texi (Configuring and compiling): Mention
13559 --enable-pt_chown. Add @findex for grantpt.
13560 * INSTALL: Regenerate.
13561
da2d62df
DM
135622013-07-20 David S. Miller <davem@davemloft.net>
13563
13564 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
13565 difference between 32-bit and 64-bit.
13566
d7e06450
CD
135672013-07-15 Carlos O'Donell <carlos@redhat.com>
13568
13569 [BZ #15711]
13570 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
13571 Avoid system header dependency with -ffreestanding.
13572 ($(objpfx)bits/syscall%d): Likewise.
13573
f959cfd7
DM
135742013-07-13 David S. Miller <davem@davemloft.net>
13575
13576 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
13577 underflows from atanl/atan2l due to bug 15319.
13578 (casinh_test_data): Likewise.
13579
c61f8513
DM
135802013-07-07 David S. Miller <davem@davemloft.net>
13581
13582 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13583
72c90ed0
JA
135842013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
13585
13586 * sysdeps/i386/fpu/libm-test-ulps: Update.
13587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13588
52dfbe13
SP
135892013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13590
13591 * configure.in (--enable-lock-elision): Fix message text.
13592 * INSTALL: Regenerate.
13593 * configure: Regenerate.
13594
3f169543
AZ
135952013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13596
13597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13598
521c6785
AJ
135992013-07-03 Andreas Jaeger <aj@suse.de>
13600
13601 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
13602 define.
13603 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
13604 (ptrace_peeksiginfo_args): Add.
13605 (__ptrace_peeksiginfo_flags): Add.
13606 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13607 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13608 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13609
d2cc15cb
AM
136102013-07-03 Allan McRae <allan@archlinux.org>
13611
13612 * sysdeps/i386/fpu/libm-test-ulps: Update.
13613
3aaeeca7
DM
136142013-07-02 David S. Miller <davem@davemloft.net>
13615
13616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13617
5314ed1a
MT
136182013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
13619
13620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13621
67338156
JM
136222013-07-02 Joseph Myers <joseph@codesourcery.com>
13623
13624 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13626
1717da59
AK
136272013-07-02 Andi Kleen <ak@linux.intel.com>
13628
13629 * config.h.in (ENABLE_LOCK_ELISION): Add.
13630 * configure.in (--enable-lock-elision): Add option.
13631 * manual/install.texi: Document --enable lock elision.
13632 * configure: Regenerate
13633 * INSTALL: Regenerate.
13634
1c81621c
L
136352013-07-02 H.J. Lu <hongjiu.lu@intel.com>
13636
13637 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
13638 SSE4.2 strcasecmp for libc.a.
13639 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13640
77f01ab5
JM
136412013-07-02 Joseph Myers <joseph@codesourcery.com>
13642
13643 [BZ #13304]
13644 * soft-fp/op-common.h (_FP_FMA): New macro.
13645 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
13646 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
13647 (_FP_MUL_MEAT_1_imm): ... here.
13648 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
13649 (_FP_MUL_MEAT_1_wide): ... here.
13650 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
13651 (_FP_MUL_MEAT_1_hard): ... here.
13652 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
13653 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
13654 (_FP_MUL_MEAT_2_wide): ... here.
13655 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
13656 (_FP_MUL_MEAT_2_wide_3mul): ... here.
13657 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
13658 (_FP_MUL_MEAT_2_gmp): ... here.
13659 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
13660 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
13661 (_FP_MUL_MEAT_4_wide): ... here.
13662 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
13663 (_FP_MUL_MEAT_4_gmp): ... here.
13664 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
13665 (_FP_WFRACBITS_DW_S): Likewise.
13666 (_FP_WFRACXBITS_DW_S): Likewise.
13667 (_FP_HIGHBIT_DW_S): Likewise.
13668 (FP_FMA_S): Likewise.
13669 (_FP_FRAC_HIGH_DW_S): Likewise.
13670 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
13671 (_FP_WFRACBITS_DW_D): Likewise.
13672 (_FP_WFRACXBITS_DW_D): Likewise.
13673 (_FP_HIGHBIT_DW_D): Likewise.
13674 (FP_FMA_D): Likewise.
13675 (_FP_FRAC_HIGH_DW_D): Likewise.
13676 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
13677 (_FP_WFRACBITS_DW_E): Likewise.
13678 (_FP_WFRACXBITS_DW_E): Likewise.
13679 (_FP_HIGHBIT_DW_E): Likewise.
13680 (FP_FMA_E): Likewise.
13681 (_FP_FRAC_HIGH_DW_E): Likewise.
13682 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
13683 (_FP_WFRACBITS_DW_Q): Likewise.
13684 (_FP_WFRACXBITS_DW_Q): Likewise.
13685 (_FP_HIGHBIT_DW_Q): Likewise.
13686 (FP_FMA_Q): Likewise.
13687 (_FP_FRAC_HIGH_DW_Q): Likewise.
13688 * soft-fp/fmasf4.c: New file.
13689 * soft-fp/fmadf4.c: Likewise.
13690 * soft-fp/fmatf4.c: Likewise.
13691
6308fd9a
LD
136922013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13693
13694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13695 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
13696 Silvermont.
13697 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
13698 macro.
13699 (index_Slow_SSE4_2): Likewise.
13700 (index_Prefer_PMINUB_for_stringop): Likewise.
13701 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
13702 bit_Slow_SSE4_2 is set.
13703 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13704 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13705
89cd9569
RA
137062013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13707
13708 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
13709 rtld_global._dl_hwcap2.
13710 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13711 POWER8.
13712 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13713 POWER8 feature descriptions defined in _dl_hwcap2.
13714 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13715 string handling for POWER8 feature bits.
13716 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13717 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13718 _dl_powerpc_cap_flags.
13719 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13720 * sysdeps/powerpc/rtld-global-offsets.sym
13721 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13722 _dl_hwcap2 in the rtld_global_ro structure.
13723
1ae8bfe0
RA
137242013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13725
13726 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13727 hardware capabilities in support of AT_HWCAP2.
13728 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13729 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13730 GLRO(dl_hwcap2).
13731 (_dl_show_auxv): Add support for calling _dl_procinfo to display
13732 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
13733 explicitly the unknown a_type display mechanism is used.
13734 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13735 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13736 struct member.
13737 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13738 to macro prototype for AT_HWCAP2 support.
13739 * sysdeps/i386/dl-procinfo.h: Likewise.
13740 * sysdeps/s390/dl-procinfo.h: Likewise.
13741 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13742 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
13743 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
13744 return -1 for unknown a_type display fallback.
13745 * sysdeps/sparc/dl-procinfo.h: Likewise.
13746 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13747 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13748
8fbec010
JM
137492013-06-28 Joseph Myers <joseph@codesourcery.com>
13750
13751 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13752 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13753
0432680e
PY
137542013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
13755
13756 [BZ #12492]
13757 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13758 mprotect making __stack_prot writable.
13759
ce61a2ad
NF
137602013-06-28 Nathan Froyd <froydnj@codesourcery.com>
13761 Joseph Myers <joseph@codesourcery.com>
13762
13763 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13764 as being properly aligned.
13765
f91f1c0f
MR
137662013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
13767
3d0f5d0c
MR
13768 * dlfcn/modstatic5.c: New file.
13769 * dlfcn/tststatic5.c: New file.
13770 * dlfcn/Makefile (tests): Add tststatic5.
13771 (tests-static): Likewise.
13772 (modules-names): Add modstatic5.
13773 (tststatic5-ENV): New variable.
13774 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13775
f91f1c0f
MR
13776 [BZ #15022]
13777 * elf/dl-support.c (_dl_main_map): New variable.
13778 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13779 (_dl_nns, _dl_load_adds): Set to 1.
13780 (_dl_initial_searchlist): Refer to _dl_main_map.
13781 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13782 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13783 call to _dl_get_origin.
13784 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13785 around call_map.
13786 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13787 * dlfcn/modstatic3.c: New file.
13788 * dlfcn/tststatic3.c: New file.
13789 * dlfcn/tststatic4.c: New file.
13790 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13791 (tests-static): Likewise.
13792 (modules-names): Add modstatic3.
13793 (tststatic3-ENV, tststatic4-ENV): New variables.
13794 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13795 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13796
cbe7d24b
JM
137972013-06-26 Joseph Myers <joseph@codesourcery.com>
13798
13799 * configure.in (CC): Require GCC version 4.4 or later.
13800 * configure: Regenerated.
13801 * manual/install.texi (Tools for Compilation): Update GCC version
13802 requirement.
13803 * INSTALL: Regenerated.
13804
11b8a0e1
LD
138052013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13806
13807 [BZ #15674]
bb5bb87c
L
13808 * string/test-memcmp.c (check2): New.
13809 (main): Call check2.
13810
11b8a0e1
LD
13811 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13812
b0037103
MR
138132013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
13814
13815 [BZ #15022]
13816 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13817 over to...
13818 (dl_open_worker) [!SHARED]: ... here.
13819
c18c701d
RA
138202013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13821
13822 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13823
1d17fa5f
RH
138242013-06-25 Richard Henderson <rth@redhat.com>
13825
13826 * locale/programs/locarchive.c: Include <libc-internal.h>
13827
8fcb833a
JM
138282013-06-25 Joseph Myers <joseph@codesourcery.com>
13829
13830 * manual/texinfo.tex: Update to version 2013-06-21.17, with
13831 trailing whitespace removed.
13832
17db6e8d
MF
138332013-06-24 Mike Frysinger <vapier@gentoo.org>
13834
13835 [BZ #10283]
17db6e8d
MF
13836 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13837 * locale/programs/locarchive.c: Include libc-mmap.h.
13838 (prepare_address_space): Take two new outputs (the mmap base and len).
13839 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
13840 values.
13841 (create_archive): Declare new mmap base and len values for
13842 prepare_address_space, and store the result in ah.
13843 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13844 (enlarge_archive): If ah->mmap_base is not NULL, use that and
13845 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13846 Declare new mmap base and len values for
13847 prepare_address_space, and store the result in new_ah.
13848 (open_archive): Declare new mmap base and len values for
13849 prepare_address_space, and store the result in ah.
13850 (close_archive): If ah->mmap_base is not NULL, use that and
13851 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13852 * sysdeps/generic/libc-mmap.h: New file.
13853
d605071e
MF
138542013-06-24 Mike Frysinger <vapier@gentoo.org>
13855
13856 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13857 (ALIGN_UP): Likewise.
13858 (PTR_ALIGN_DOWN): Likewise.
13859 (PTR_ALIGN_UP): Likewise.
13860
2f063a6e
RA
138612013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13862
13863 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13864 entry mapped to PPC_PLATFORM_POWER8.
13865 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13866 POWER8.
13867 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13868 (_dl_string_platform): Add case for exporting platform position for
13869 POWER8.
13870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13871 search path to sysdeps/powerpc/powerpc32/power8 directory.
13872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13873 search path to sysdeps/powerpc/powerpc64/power8 directory.
13874 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13875 power7 directories.
13876 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13877 power7 directories.
13878
a31ee4b3
SP
138792013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13880
a74ca98f
SP
13881 * INSTALL: Regenerate.
13882
a31ee4b3
SP
13883 * nscd/connections.c (nscd_init): Fix comment.
13884
695c378f
JM
138852013-06-22 Joseph Myers <joseph@codesourcery.com>
13886
d8412221
JM
13887 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13888
695c378f
JM
13889 [BZ #15667]
13890 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13891 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13892
d1d54715
MR
138932013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13894
13895 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13896 DL_DST_REQ_STATIC.
13897 (DL_DST_REQ_STATIC): Remove macro.
13898
8fdda7af
JM
138992013-06-21 Joseph Myers <joseph@codesourcery.com>
13900
13901 [BZ #7006]
13902 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13903 with a shift of 0 bits.
13904
f3bc5e5a
MR
139052013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
13906
13907 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13908 $(tststatic-ENV).
13909
be09e8c9
KK
139102013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13911
13912 [BZ #15655]
13913 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13914
85c2e611
AZ
139152013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13916
13917 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13918 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13919 accepts -fno-tree-loop-distribute-patterns.
13920 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13921 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13922 recursive call.
13923 * string/memset.c (memset): Likewise.
13924 * string/test-memmove.c (simple_memmove): Disable loop transformation
13925 to library calls.
13926 * string/test-memset.c (simple_memset): Likewise.
13927 * benchtests/bench-memmove.c (simple_memmove): Likewise.
13928 * benchtests/bench-memset.c (simple_memset): Likewise.
13929 * configure: Regenerated.
13930
c91e0825
JM
139312013-06-20 Joseph Myers <joseph@codesourcery.com>
13932
b8c792af
JM
13933 * math/test-misc.c (main): Ignore fesetround failure when failures
13934 of subsequent rounding tests would be ignored.
13935
c91e0825
JM
13936 [BZ #15654]
13937 * math/fedisblxcpt.c (fedisableexcept): Return 0.
13938 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13939 * math/fegetenv.c (__fegetenv): Return 0.
13940 * math/fegetexcept.c (fegetexcept): Return 0.
13941 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13942 FE_TONEAREST.
13943 * math/feholdexcpt.c (feholdexcept): Return 0.
13944 * math/fesetenv.c (__fesetenv): Return 0.
13945 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13946 argument FE_TONEAREST.
13947 * math/feupdateenv.c (__feupdateenv): Return 0.
13948 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13949
bfcacbde
RM
139502013-06-18 Roland McGrath <roland@hack.frob.com>
13951
13952 * elf/rtld-Rules (rtld-compile-command.S): New variable.
13953 (rtld-compile-command.s, rtld-compile-command.c): New variables.
13954 ($(objpfx)rtld-%.os rules): Use them.
13955
e55a9b25
AZ
139562013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13957
13958 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13959 fields.
13960
346d65b3
RM
139612013-06-17 Roland McGrath <roland@hack.frob.com>
13962
12086fb4
RM
13963 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13964 length of target pattern, then descending length of dependency pattern.
13965 * configure.in (AWK): Require gawk 3.1.2 or newer.
13966 * manual/install.texi (Tools for Compilation): Say that we do.
13967 * configure: Regenerated.
13968
346d65b3
RM
13969 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13970 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13971 * scripts/sysd-rules.awk: ... this new script.
13972 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13973 than a glob-style pattern.
13974
1a846317
JM
139752013-06-17 Joseph Myers <joseph@codesourcery.com>
13976
13977 * math/test-misc.c (main): Do not treat incorrectly rounded
13978 conversions as failure unless ROUNDING_TESTS passes.
13979
8fc75e6f
JM
139802013-06-15 Joseph Myers <joseph@codesourcery.com>
13981
3711a167
JM
13982 [BZ #15631]
13983 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13984 restore exception state around main square root computation, then
13985 check for inexactness explicitly.
13986
8fc75e6f
JM
13987 * math/libm-test.inc (fma_test_data): Add another test.
13988
61dd6208
SP
139892013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13990
adf23d2c
SP
13991 * manual/threads.texi (Non-POSIX Extensions): New document
13992 node. Document pthread_getattr_default_np and
13993 pthread_setattr_default_np.
13994
61dd6208
SP
13995 * Versions.def (libpthread): Add GLIBC_2.18.
13996 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13998 Likewise.
13999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14000 Likewise.
14001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14002 Likewise.
14003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14004 Likewise.
14005 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14006 Likewise.
14007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14008 Likewise.
14009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14010 Likewise.
14011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14012 Likewise.
14013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14014 Likewise.
14015
d086fc7b
LD
140162013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14017
14018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14019 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14020
747ef469
SP
140212013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14022 H.J. Lu <hjl.tools@gmail.com>
14023
14024 [BZ #15627]
14025 * sysdeps/x86_64/rtld-memset.c: Remove file.
14026 * sysdeps/x86_64/rtld-memset.S: New file.
14027
1b2feed2
JM
140282013-06-14 Joseph Myers <joseph@codesourcery.com>
14029
14030 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14031 (test_in_one_mode): Take arguments for whether the rounding mode
14032 is supported for each floating-point type.
14033 (do_test): Pass new arguments to test_in_one_mode using
14034 ROUNDING_TESTS.
14035
a58ad3f8
RM
140362013-06-13 Roland McGrath <roland@hack.frob.com>
14037
14038 * posix/tst-waitid.c (do_test): Distinguish different instances of
14039 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14040 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14041 before entering the kernel for waitpid.
14042
c204ab28
SP
140432013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14044
14045 * NEWS: Fix note on clock function precision. Text by Roland
14046 McGrath.
14047
f4a29fba
RM
140482013-06-13 Roland McGrath <roland@hack.frob.com>
14049
14050 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14051 it into place only when and if the sanity check passes.
14052
1f24b9ad
JM
140532013-06-13 Joseph Myers <joseph@codesourcery.com>
14054
14055 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14056 output for whether conversion result is exact. Take argument
14057 indicating whether type is IBM long double.
14058 (round_for_all): Change need_exact field to ibm_ld.
14059 * stdlib/tst-strtod-round.c (struct exactness): New type.
14060 (struct test): Change bool ld_ok field to struct exactness exact.
14061 (TEST): Update all definitions for change to field.
14062 (tests): Regenerate array contents.
14063 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14064 field value. Check for IBM long double here.
14065 (do_test): Update calls to test_in_one_mode.
14066
58206c68
SP
140672013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14068
14069 [BZ #12515]
14070 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14071 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14072
2d6f4c5b 140732013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
14074
14075 [BZ #15605]
14076 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14077 generated by the compiler on loop optimizations.
14078 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14079 general definitions.
14080
94f2c076
JM
140812013-06-12 Joseph Myers <joseph@codesourcery.com>
14082
14083 * math/bug-nextafter.c: Include <math-tests.h>.
14084 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14085 the relevant type.
14086 * math/bug-nexttoward.c: Include <math-tests.h>.
14087 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14088 the relevant type.
14089 * math/test-misc.c: Include <math-tests.h>.
14090 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14091 the relevant type.
14092
e0e50a0a
AJ
140932013-06-12 Andreas Jaeger <aj@suse.de>
14094
14095 * po/ia.po: Update Interlingua translation from translation
14096 project.
14097
25061094
SP
140982013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14099
14100 * include/fenv.h: Include stdbool.h.
14101 (struct rm_ctx): New structure.
14102 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14103 Define macro.
14104 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14105 (SET_RESTORE_ROUNDF): Likewise.
14106 (SET_RESTORE_ROUNDL): Likewise.
14107 (SET_RESTORE_ROUND_NOEX): Likewise.
14108 (SET_RESTORE_ROUND_NOEXF): Likewise.
14109 (SET_RESTORE_ROUND_NOEXL): Likewise.
14110 (SET_RESTORE_ROUND_53BIT): Likewise.
14111 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14112 (libc_feresetround_noexf_ctx): Likewise.
14113 (libc_feresetround_noexl_ctx): Likewise.
14114 (libc_feholdsetround_53bit_ctx): Likewise.
14115 (libc_feresetround_53bit_ctx): Likewise.
14116 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14117 (libc_feholdexcept_setround_sse_ctx): New function.
14118 (libc_fesetenv_sse_ctx): Likewise.
14119 (libc_feupdateenv_sse_ctx): Likewise.
14120 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14121 (libc_feholdexcept_setround_387_ctx): Likewise.
14122 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14123 (libc_feholdsetround_387_prec_ctx): Likewise.
14124 (libc_feholdsetround_387_ctx): Likewise.
14125 (libc_feholdsetround_387_53bit_ctx): Likewise.
14126 (libc_feholdsetround_sse_ctx): Likewise.
14127 (libc_feresetround_sse_ctx): Likewise.
14128 (libc_feresetround_387_ctx): Likewise.
14129 (libc_feupdateenv_387_ctx): Likewise.
14130 (libc_feholdexcept_setroundf_ctx): Define macro.
14131 (libc_fesetenvf_ctx): Likewise.
14132 (libc_feupdateenvf_ctx): Likewise.
14133 (libc_feholdsetroundf_ctx): Likewise.
14134 (libc_feresetroundf_ctx): Likewise.
14135 (libc_feholdexcept_setround_ctx): Likewise.
14136 (libc_fesetenv_ctx): Likewise.
14137 (libc_feupdateenv_ctx): Likewise.
14138 (libc_feholdsetround_ctx): Likewise.
14139 (libc_feresetround_ctx): Likewise.
14140 (libc_feholdexcept_setroundl_ctx): Likewise.
14141 (libc_feupdateenvl_ctx): Likewise.
14142 (libc_feholdsetroundl_ctx): Likewise.
14143 (libc_feresetroundl_ctx): Likewise.
14144 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14145 (libc_feresetround_53bit_ctx): Likewise.
14146
59b30555
SP
141472013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14148
14149 * locale/iso-639.def: Convert to UTF-8.
14150
f1d73d30
JM
141512013-06-11 Joseph Myers <joseph@codesourcery.com>
14152
14153 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14154 (EXCEPTION_TESTS_double): Likewise.
14155 (EXCEPTION_TESTS_long_double): Likewise.
14156 (EXCEPTION_TESTS): Likewise.
14157 * math/libm-test.inc (test_exceptions): Only test exceptions if
14158 EXCEPTION_TESTS (FLOAT).
14159
94aca5e7
SP
141602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14161
14162 * benchtests/Makefile (string-bench): Add strcpy_chk and
14163 stpcpy_chk.
14164 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14165 * benchtests/bench-stpcpy_chk.c: New file.
14166 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14167 * benchtests/bench-strcpy_chk.c: New file.
14168 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14169 code.
14170 (do_test): Likewise.
14171
fac0c5f2
RA
141722013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14173
14174 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14175 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14176 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14177 with tabs where appropriate.
14178 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14179 dl-procinfo.h.
14180 [PPC_PLATFORM_PPC440]: Likewise.
14181 [PPC_PLATFORM_PPC464]: Likewise.
14182 [PPC_PLATFORM_PPC476]: Likewise.
14183 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14184 ppc464, and ppc476 platform strings merging from ports/
14185 dl-procinfo.h.
14186
f22bc486
AS
141872013-06-11 Andreas Schwab <schwab@suse.de>
14188
14189 [BZ #14991]
14190 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14191 (from_ucs4_idx): Regenerate.
14192 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14193 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14194 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14195 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14196 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14197 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14198 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14199 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14200 from FROM_LOOP and TO_LOOP specific macros.
14201 (BODY): Handle combining characters.
14202 * iconvdata/BIG5HKSCS.irreversible: Update.
14203 * iconvdata/BIG5HKSCS.precomposed: New file.
14204 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14205 characters.
14206 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14207
c1f75dc3
SP
142082013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14209
4eacded2
SP
14210 * include/sys/time.h: Fix indentation and add copyright header.
14211
fec799f8
SP
14212 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14213 (do_test): Likewise.
14214 * string/test-memchr.c (do_one_test): Likewise.
14215 (do_test): Likewise.
14216 * string/test-memcmp.c (do_one_test): Likewise.
14217 (do_test): Likewise.
14218 * string/test-memcpy.c (do_one_test): Likewise.
14219 (do_test): Likewise.
14220 * string/test-memmem.c (do_one_test): Likewise.
14221 (do_test): Likewise.
14222 (do_random_tests): Likewise.
14223 * string/test-memmove.c (do_one_test): Likewise.
14224 (do_test): Likewise.
14225 * string/test-memset.c (do_one_test): Likewise.
14226 (do_test): Likewise.
14227 * string/test-rawmemchr.c (do_one_test): Likewise.
14228 (do_test): Likewise.
14229 * string/test-strcasecmp.c (do_one_test): Likewise.
14230 (do_test): Likewise.
14231 * string/test-strcasestr.c (do_one_test): Likewise.
14232 (do_test): Likewise.
14233 * string/test-strcat.c (do_one_test): Likewise.
14234 (do_test): Likewise.
14235 * string/test-strchr.c (do_one_test): Likewise.
14236 (do_test): Likewise.
14237 * string/test-strcmp.c (do_one_test): Likewise.
14238 (do_test): Likewise.
14239 * string/test-strcpy.c (do_one_test): Likewise.
14240 (do_test): Likewise.
14241 * string/test-string.h: Likewise.
14242 (test_init): Likewise.
14243 * string/test-strlen.c (do_one_test): Likewise.
14244 (do_test): Likewise.
14245 * string/test-strncasecmp.c (do_one_test): Likewise.
14246 (do_test): Likewise.
14247 * string/test-strncat.c (do_one_test): Likewise.
14248 (do_test): Likewise.
14249 * string/test-strncmp.c (do_one_test): Likewise.
14250 (do_test_limit): Likewise.
14251 (do_test): Likewise.
14252 * string/test-strncpy.c (do_one_test): Likewise.
14253 (do_test): Likewise.
14254 * string/test-strnlen.c (do_one_test): Likewise.
14255 (do_test): Likewise.
14256 * string/test-strpbrk.c (do_one_test): Likewise.
14257 (do_test): Likewise.
14258 * string/test-strrchr.c (do_one_test): Likewise.
14259 (do_test): Likewise.
14260 * string/test-strspn.c (do_one_test): Likewise.
14261 (do_test): Likewise.
14262 * string/test-strstr.c (do_one_test): Likewise.
14263 (do_test): Likewise.
14264
97020474
SP
14265 * benchtests/Makefile (string-bench): Add string benchmarks.
14266 * benchtests/bench-bcopy-ifunc.c: New file.
14267 * benchtests/bench-bcopy.c: New file.
14268 * benchtests/bench-bzero-ifunc.c: New file.
14269 * benchtests/bench-bzero.c: New file.
14270 * benchtests/bench-memccpy-ifunc.c: New file.
14271 * benchtests/bench-memccpy.c: New file.
14272 * benchtests/bench-memchr-ifunc.c: New file.
14273 * benchtests/bench-memchr.c: New file.
14274 * benchtests/bench-memcmp-ifunc.c: New file.
14275 * benchtests/bench-memcmp.c: New file.
14276 * benchtests/bench-memmem-ifunc.c: New file.
14277 * benchtests/bench-memmem.c: New file.
14278 * benchtests/bench-memmove-ifunc.c: New file.
14279 * benchtests/bench-memmove.c: New file.
14280 * benchtests/bench-mempcpy-ifunc.c: New file.
14281 * benchtests/bench-mempcpy.c: New file.
14282 * benchtests/bench-memset-ifunc.c: New file.
14283 * benchtests/bench-memset.c: New file.
14284 * benchtests/bench-rawmemchr-ifunc.c: New file.
14285 * benchtests/bench-rawmemchr.c: New file.
14286 * benchtests/bench-stpcpy-ifunc.c: New file.
14287 * benchtests/bench-stpcpy.c: New file.
14288 * benchtests/bench-stpncpy-ifunc.c: New file.
14289 * benchtests/bench-stpncpy.c: New file.
14290 * benchtests/bench-strcasecmp-ifunc.c: New file.
14291 * benchtests/bench-strcasecmp.c: New file.
14292 * benchtests/bench-strcasestr-ifunc.c: New file.
14293 * benchtests/bench-strcasestr.c: New file.
14294 * benchtests/bench-strcat-ifunc.c: New file.
14295 * benchtests/bench-strcat.c: New file.
14296 * benchtests/bench-strchr-ifunc.c: New file.
14297 * benchtests/bench-strchr.c: New file.
14298 * benchtests/bench-strchrnul-ifunc.c: New file.
14299 * benchtests/bench-strchrnul.c: New file.
14300 * benchtests/bench-strcmp-ifunc.c: New file.
14301 * benchtests/bench-strcmp.c: New file.
14302 * benchtests/bench-strcpy-ifunc.c: New file.
14303 * benchtests/bench-strcpy.c: New file.
14304 * benchtests/bench-strcspn-ifunc.c: New file.
14305 * benchtests/bench-strcspn.c: New file.
14306 * benchtests/bench-strlen-ifunc.c: New file.
14307 * benchtests/bench-strlen.c: New file.
14308 * benchtests/bench-strncasecmp-ifunc.c: New file.
14309 * benchtests/bench-strncasecmp.c: New file.
14310 * benchtests/bench-strncat-ifunc.c: New file.
14311 * benchtests/bench-strncat.c: New file.
14312 * benchtests/bench-strncmp-ifunc.c: New file.
14313 * benchtests/bench-strncmp.c: New file.
14314 * benchtests/bench-strncpy-ifunc.c: New file.
14315 * benchtests/bench-strncpy.c: New file.
14316 * benchtests/bench-strnlen-ifunc.c: New file.
14317 * benchtests/bench-strnlen.c: New file.
14318 * benchtests/bench-strpbrk-ifunc.c: New file.
14319 * benchtests/bench-strpbrk.c: New file.
14320 * benchtests/bench-strrchr-ifunc.c: New file.
14321 * benchtests/bench-strrchr.c: New file.
14322 * benchtests/bench-strspn-ifunc.c: New file.
14323 * benchtests/bench-strspn.c: New file.
14324 * benchtests/bench-strstr-ifunc.c: New file.
14325 * benchtests/bench-strstr.c: New file.
14326
c1f75dc3
SP
14327 * benchtests/Makefile: Disable parallel execution of targets.
14328 (string-bench): Add memcpy.
14329 (benchset): New variable to store a list of benchmark sets.
14330 (bench-func): Renamed from bench.
14331 (bench-set): New target.
14332 (bench): Depend on bench-func and bench-set.
14333 * benchtests/README: Add section on benchmark sets.
14334 * benchtests/bench-memcpy-ifunc.c: New file.
14335 * benchtests/bench-memcpy.c: New file.
14336 * benchtests/bench-string.h: New file.
14337
50fd745b
AS
143382013-06-11 Andreas Schwab <schwab@suse.de>
14339
14340 [BZ #15577]
14341 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14342 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14343 values in the triple.
14344 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14345 terminator in the group key.
14346
3ee7e9fe
AJ
143472013-06-11 Andreas Jaeger <aj@suse.de>
14348
14349 * po/zh_TW.po: Update Chinese (traditional) translation from
14350 translation project.
14351
89fb6835
SP
143522013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14353
14354 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14355 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14356 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14357 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14358 (clock_getcpuclockid): Likewise.
14359 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14360 Add weak_alias and libc_hidden_def.
14361 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14362 * rt/clock_gettime.c (clock_gettime): Rename to
14363 __clock_gettime. Add weak_alias and libc_hidden_def.
14364 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14365 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14366 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14367 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14368 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14369 Likewise.
14370 * rt/clock_settime.c (clock_settime): Rename to
14371 __clock_settime. Add weak_alias and libc_hidden_def.
14372 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14373
0efa6f8b
JM
143742013-06-10 Joseph Myers <joseph@codesourcery.com>
14375
b8c61b4b
JM
14376 * mach/err_boot.sub: Remove trailing whitespace.
14377 * mach/err_ipc.sub: Likewise.
14378 * mach/err_mach.sub: Likewise.
14379
0efa6f8b
JM
14380 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14381 (ROUNDING_TESTS_double): Likewise.
14382 (ROUNDING_TESTS_long_double): Likewise.
14383 (ROUNDING_TESTS): Likewise.
14384 * math/libm-test.inc: Include <math-tests.h>.
14385 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14386 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14387 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14388 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14389
50b818bf
SP
143902013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14391
14392 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14393 of assigning.
14394
60d2f8f3
JM
143952013-06-08 Joseph Myers <joseph@codesourcery.com>
14396
4902d2c3
JM
14397 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14398 otherwise empty TRANS lines.
14399 * sysdeps/gnu/errlist.c: Regenerated.
14400
60d2f8f3
JM
14401 * catgets/gencat.c (error_print): Use (void) in function
14402 definition.
14403 * crypt/crypt_util.c (__init_des): Likewise.
14404 * crypt/speeds.c (Stop): Likewise.
14405 (main): Likewise.
14406 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14407 * inet/ruserpass.c (token): Likewise.
14408 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14409 * intl/localealias.c (extend_alias_table): Likewise.
14410 * intl/plural-exp.c (init_germanic_plural): Likewise.
14411 * libio/fcloseall.c (__fcloseall): Likewise.
14412 * libio/genops.c (_IO_flush_all): Likewise.
14413 (_IO_flush_all_linebuffered): Likewise.
14414 (_IO_cleanup): Likewise.
14415 (_IO_iter_begin): Likewise.
14416 (_IO_iter_end): Likewise.
14417 (_IO_list_lock): Likewise.
14418 (_IO_list_unlock): Likewise.
14419 (_IO_list_resetlock): Likewise.
14420 * libio/getchar.c (getchar): Likewise.
14421 * libio/getchar_u.c (getchar_unlocked): Likewise.
14422 * libio/getwchar.c (getwchar): Likewise.
14423 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14424 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14425 * login/getpt.c (__getpt): Likewise.
14426 * login/tst-utmp.c (main): Likewise.
14427 * malloc/hooks.c (__malloc_check_init): Likewise.
14428 * malloc/malloc.c (__malloc_stats): Likewise.
14429 * malloc/mtrace.c (tr_break): Likewise.
14430 (mtrace): Likewise.
14431 (muntrace): Likewise.
14432 * misc/fstab.c (endfsent): Likewise.
14433 * misc/getclktck.c (__getclktck): Likewise.
14434 * misc/getdtsz.c (__getdtablesize): Likewise.
14435 * misc/gethostid.c (gethostid): Likewise.
14436 * misc/getpagesize.c (__getpagesize): Likewise.
14437 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14438 (__get_nprocs): Likewise.
14439 (__get_phys_pages): Likewise.
14440 (__get_avphys_pages): Likewise.
14441 * misc/getttyent.c (getttyent): Likewise.
14442 (setttyent): Likewise.
14443 (endttyent): Likewise.
14444 * misc/getusershell.c (getusershell): Likewise.
14445 (endusershell): Likewise.
14446 (setusershell): Likewise.
14447 (initshells): Likewise.
14448 * misc/hsearch.c (__hdestroy): Likewise.
14449 * misc/sync.c (sync): Likewise.
14450 * misc/syslog.c (closelog_internal): Likewise.
14451 (closelog): Likewise.
14452 * misc/ttyslot.c (ttyslot): Likewise.
14453 * misc/vhangup.c (vhangup): Likewise.
14454 * posix/fork.c (__fork): Likewise.
14455 * posix/getegid.c (__getegid): Likewise.
14456 * posix/geteuid.c (__geteuid): Likewise.
14457 * posix/getgid.c (__getgid): Likewise.
14458 * posix/getpid.c (__getpid): Likewise.
14459 * posix/getppid.c (__getppid): Likewise.
14460 * posix/getuid.c (__getuid): Likewise.
14461 * posix/pause.c (pause): Likewise.
14462 * posix/setpgrp.c (setpgrp): Likewise.
14463 * posix/setsid.c (__setsid): Likewise.
14464 * posix/test-vfork.c (noop): Likewise.
14465 * resolv/gethnamaddr.c (_endhtent): Likewise.
14466 (_gethtent): Likewise.
14467 (ht_endhostent): Likewise.
14468 (gethostent): Likewise.
14469 (dns_service): Likewise.
14470 * stdlib/drand48.c (drand48): Likewise.
14471 * stdlib/lrand48.c (lrand48): Likewise.
14472 * stdlib/mrand48.c (mrand48): Likewise.
14473 * stdlib/rand.c (rand): Likewise.
14474 * stdlib/random.c (__random): Likewise.
14475 * stdlib/setenv.c (clearenv): Likewise.
14476 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14477 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14478 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14479 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14480 (__get_nprocs): Likewise.
14481 (__get_phys_pages): Likewise.
14482 (__get_avphys_pages): Likewise.
14483 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14484 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14485 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14486 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14487 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14488 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14489 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14490 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14491 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14492 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14493 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14494 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14495 * sysdeps/posix/clock.c (clock): Likewise.
14496 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
14497 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
14498 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
14499 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
14500 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
14501 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
14502 (__get_nprocs_conf): Likewise.
14503 (__get_phys_pages): Likewise.
14504 (__get_avphys_pages): Likewise.
14505 * time/clock.c (clock): Likewise.
14506 * time/tzset.c (__tzname_max): Likewise.
14507
2e09a79a
JM
145082013-06-07 Joseph Myers <joseph@codesourcery.com>
14509
14510 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
14511 (__bswap_32): Do not use "register".
14512 * crypt/crypt.c (_ufc_doit_r): Likewise.
14513 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14514 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14515 * gmon/gmon.c (__monstartup): Likewise.
14516 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
14517 * hurd/hurdmalloc.c (more_memory): Likewise.
14518 (malloc): Likewise.
14519 (free): Likewise.
14520 (realloc): Likewise.
14521 (malloc_fork_prepare): Likewise.
14522 (malloc_fork_parent): Likewise.
14523 (malloc_fork_child): Likewise.
14524 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
14525 (_svcauth_des): Likewise.
14526 * inet/inet_lnaof.c (inet_lnaof): Likewise.
14527 * inet/inet_net.c (inet_network): Likewise.
14528 * inet/inet_netof.c (inet_netof): Likewise.
14529 * inet/rcmd.c (__validuser2_sa): Likewise.
14530 * io/fts.c (fts_open): Likewise.
14531 (fts_load): Likewise.
14532 (fts_close): Likewise.
14533 (fts_read): Likewise.
14534 (fts_children): Likewise.
14535 (fts_build): Likewise.
14536 (fts_stat): Likewise.
14537 (fts_sort): Likewise.
14538 (fts_alloc): Likewise.
14539 (fts_lfree): Likewise.
14540 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
14541 (_IO_file_xsgetn): Likewise.
14542 (_IO_file_xsgetn_mmap): Likewise.
14543 * libio/iofopncook.c (_IO_cookie_read): Likewise.
14544 (_IO_cookie_write): Likewise.
14545 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
14546 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
14547 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
14548 * malloc/obstack.c (_obstack_begin): Likewise.
14549 (_obstack_begin_1): Likewise.
14550 (_obstack_newchunk): Likewise.
14551 (_obstack_allocated_p): Likewise.
14552 (obstack_free): Likewise.
14553 (_obstack_memory_used): Likewise.
14554 * misc/getttyent.c (getttynam): Likewise.
14555 (getttyent): Likewise.
14556 (skip): Likewise.
14557 (value): Likewise.
14558 * misc/getusershell.c (initshells): Likewise.
14559 * misc/syslog.c (__vsyslog_chk): Likewise.
14560 * misc/ttyslot.c (ttyslot): Likewise.
14561 * nis/nis_hash.c (__nis_hash): Likewise.
14562 * posix/fnmatch_loop.c (FCT): Likewise.
14563 * posix/getconf.c (print_all): Likewise.
14564 (main): Likewise.
14565 * posix/getopt.c (exchange): Likewise.
14566 * posix/glob.c (globfree): Likewise.
14567 (prefix_array): Likewise.
14568 (__glob_pattern_type): Likewise.
14569 * resolv/arpa/nameser.h (NS_GET16): Likewise.
14570 (NS_GET32): Likewise.
14571 (NS_PUT16): Likewise.
14572 (NS_PUT32): Likewise.
14573 * resolv/gethnamaddr.c (getanswer): Likewise.
14574 (gethostbyname2): Likewise.
14575 (gethostbyaddr): Likewise.
14576 (_gethtent): Likewise.
14577 (_gethtbyname2): Likewise.
14578 (_gethtbyaddr): Likewise.
14579 * resolv/ns_print.c (dst_s_get_int16): Likewise.
14580 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14581 * resolv/res_init.c (__res_vinit): Likewise.
14582 (net_mask): Likewise.
14583 * resolv/res_mkquery.c (outchar): Likewise.
14584 (PRINT): Likewise.
14585 * stdio-common/printf_fp.c (outchar): Likewise.
14586 (PRINT): Likewise.
14587 * stdio-common/printf_fphex.c (outchar): Likewise.
14588 (PRINT): Likewise.
14589 * stdio-common/printf_size.c (outchar): Likewise.
14590 (PRINT): Likewise.
14591 * stdio-common/test_rdwr.c (main): Likewise.
14592 * stdio-common/tfformat.c (matches): Likewise.
14593 * stdio-common/vfprintf.c (outchar): Likewise.
14594 (printf_unknown): Likewise.
14595 (buffered_vfprintf): Likewise.
14596 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14597 * stdio-common/xbug.c (AppendToBuffer): Likewise.
14598 (ReadFile): Likewise.
14599 * stdlib/qsort.c (SWAP): Likewise.
14600 (_quicksort): Likewise.
14601 * stdlib/setenv.c (__add_to_environ): Likewise.
14602 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14603 * stdlib/strtol_l.c (__strtol_l): Likewise.
14604 * stdlib/tst-strtod.c (main): Likewise.
14605 * stdlib/tst-strtol.c (main): Likewise.
14606 * stdlib/tst-strtoll.c (main): Likewise.
14607 * string/bits/string2.h (__strcmp_cc): Likewise.
14608 (__strcmp_cg): Likewise.
14609 (__strcspn_c1): Likewise.
14610 (__strcspn_c2): Likewise.
14611 (__strcspn_c3): Likewise.
14612 (__strspn_c1): Likewise.
14613 (__strspn_c2): Likewise.
14614 (__strspn_c3): Likewise.
14615 (__strsep_1c): Likewise.
14616 (__strsep_2c): Likewise.
14617 (__strsep_3c): Likewise.
14618 * string/memccpy.c (__memccpy): Likewise.
14619 * string/stpcpy.c (__stpcpy): Likewise.
14620 * string/strcmp.c (strcmp): Likewise.
14621 * string/strrchr.c (strrchr): Likewise.
14622 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
14623 Likewise.
14624 * sysdeps/mach/hurd/getcwd.c
14625 (_hurd_canonicalize_directory_name_internal): Likewise.
14626 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
14627 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
14628 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
14629 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
14630 Likewise, in both definitions.
14631 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
14632 definitions.
14633 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
14634 64] (__bswap_64): Likewise.
14635 * time/test_time.c (main): Likewise.
14636 * time/tzfile.c (__tzfile_read): Likewise.
14637 (__tzfile_compute): Likewise.
14638 * time/tzset.c (__tzset_parse_tz): Likewise.
14639 (tzset_internal): Likewise.
14640 (compute_change): Likewise.
14641 * wcsmbs/wcscat.c (__wcscat): Likewise.
14642 * wcsmbs/wcschr.c (wcschr): Likewise.
14643 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14644 * wcsmbs/wcscspn.c (wcscspn): Likewise.
14645 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14646 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
14647 * wcsmbs/wcsspn.c (wcsspn): Likewise.
14648 * wcsmbs/wcsstr.c (wcsstr): Likewise.
14649 * wcsmbs/wmemchr.c (wmemchr): Likewise.
14650 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14651 * wcsmbs/wmemset.c (wmemset): Likewise.
14652
9e54314b
JM
146532013-06-06 Joseph Myers <joseph@codesourcery.com>
14654
14655 * scripts/config.guess: Update to version 2013-05-16.
14656 * scripts/config.sub: Update to version 2013-04-24.
14657 * scripts/install-sh: Update to version 2011-11-20.07.
14658 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
14659 * scripts/move-if-change: Update to version 2012-01-06 07:23.
14660
350635a5
OB
146612013-06-06 Ondřej Bílka <neleai@seznam.cz>
14662
14663 * debug/fgetws_u_chk.c: Fix leading whitespaces.
14664 * elf/sln.c: Likewise.
14665 * hurd/hurd/ioctl.h: Likewise.
14666 * hurd/hurdmalloc.c: Likewise.
14667 * hurd/xattr.c: Likewise.
14668 * include/shlib-compat.h: Likewise.
14669 * inet/ruserpass.c: Likewise.
14670 * libio/iofgets_u.c: Likewise.
14671 * libio/iofgetws_u.c: Likewise.
14672 * locale/programs/ld-identification.c: Likewise.
14673 * locale/programs/ld-time.c: Likewise.
14674 * mach/msg-destroy.c: Likewise.
14675 * nss/nss_files/files-netgrp.c: Likewise.
14676 * resolv/res_data.c: Likewise.
14677 * soft-fp/op-1.h: Likewise.
14678 * soft-fp/op-2.h: Likewise.
14679 * soft-fp/op-4.h: Likewise.
14680 * soft-fp/op-common.h: Likewise.
14681 * stdio-common/printf_fphex.c: Likewise.
14682 * stdlib/strtod_l.c: Likewise.
14683 * sunrpc/rpc/clnt.h: Likewise.
14684 * sysdeps/generic/framestate.c: Likewise.
14685 * sysdeps/i386/bsd-_setjmp.S: Likewise.
14686 * sysdeps/i386/bsd-setjmp.S: Likewise.
14687 * sysdeps/i386/__longjmp.S: Likewise.
14688 * sysdeps/i386/setjmp.S: Likewise.
14689 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14690 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14691 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14692 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14693 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14694 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14695 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14696 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14697 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14698 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14699 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14700 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14701 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14702 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14703 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14704 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14705 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14706 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
14707 * sysdeps/ieee754/support.c: Likewise.
14708 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14709 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14710 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14711 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14712 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14713 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14714 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14715 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14716 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14717 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14718 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14719 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14720 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14721 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14722 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14723 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14724 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14726
44a988af
OB
147272013-06-05 Ondřej Bílka <neleai@seznam.cz>
14728
25506f09 14729 * posix/transbug.c: Remove executable mode.
44a988af 14730
9c84384c
JM
147312013-06-05 Joseph Myers <joseph@codesourcery.com>
14732
14733 * crypt/speeds.c: Remove trailing whitespace.
14734 * dlfcn/default.c: Likewise.
14735 * elf/ifuncdep2.c: Likewise.
14736 * elf/ifuncmain1.c: Likewise.
14737 * elf/ifuncmain1vis.c: Likewise.
14738 * elf/testobj.h: Likewise.
14739 * elf/tst-stackguard1.c: Likewise.
14740 * gmon/sys/gmon.h: Likewise.
14741 * hurd/hurdmsg.c: Likewise.
14742 * hurd/new-fd.c: Likewise.
14743 * hurd/ports-get.c: Likewise.
14744 * iconvdata/ibm1008_420.c: Likewise.
14745 * inet/tst-getni1.c: Likewise.
14746 * inet/tst-getni2.c: Likewise.
14747 * libio/ioungetc.c: Likewise.
14748 * libio/wfiledoalloc.c: Likewise.
14749 * manual/libm-err-tab.pl: Likewise.
14750 * math/w_dremf.c: Likewise.
14751 * misc/ftruncate.c: Likewise.
14752 * posix/bug-glob2.c: Likewise.
14753 * posix/tst-pcre.c: Likewise.
14754 * posix/wait4.c: Likewise.
14755 * resolv/README: Likewise.
14756 * resolv/res_debug.h: Likewise.
14757 * resolv/tst-inet_ntop.c: Likewise.
14758 * setjmp/bug269-setjmp.c: Likewise.
14759 * soft-fp/extended.h: Likewise.
14760 * soft-fp/op-1.h: Likewise.
14761 * soft-fp/op-2.h: Likewise.
14762 * soft-fp/op-4.h: Likewise.
14763 * soft-fp/op-8.h: Likewise.
14764 * soft-fp/testit.c: Likewise.
14765 * stdio-common/bug16.c: Likewise.
14766 * stdlib/random.c: Likewise.
14767 * sunrpc/rpcsvc/rquota.x: Likewise.
14768 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14769 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14770 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14771 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14772 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14773 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14774 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14775 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14776 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14777 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14778 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14779 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14780 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14781 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14782 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14783 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14784 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14785 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14786 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14787 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14788 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14789 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14790 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14791 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14792 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14793 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14794 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14795 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14796 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14797 * sysdeps/ieee754/s_lib_version.c: Likewise.
14798 * sysdeps/mach/hurd/check_fds.c: Likewise.
14799 * sysdeps/mach/hurd/getsockname.c: Likewise.
14800 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14801 * sysdeps/mach/hurd/recvfrom.c: Likewise.
14802 * sysdeps/powerpc/bits/link.h: Likewise.
14803 * sysdeps/powerpc/dl-procinfo.c: Likewise.
14804 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14805 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14806 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14807 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14808 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14809 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14810 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14811 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14812 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14813 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14814 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14815 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14816 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14817 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14818 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14819 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14820 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14821 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14822 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14823 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14824 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14825 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14826 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14827 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14828 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14829 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14830 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14831 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14832 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14833 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14834 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14835 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14836 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14837 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14838 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14839 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14840 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14841 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14842 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14843 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14844 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14845 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14846 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14847 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14848 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14849 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14850 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14851 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14852 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14853 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14854 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14855 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14856 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14857 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14858 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14859 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14860 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14861 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14862 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14863 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14864 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14865 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14866 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14867 * sysdeps/powerpc/sysdep.h: Likewise.
14868 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14869 * sysdeps/s390/s390-64/sub_n.S: Likewise.
14870 * sysdeps/sh/dl-trampoline.S: Likewise.
14871 * sysdeps/sh/memset.S: Likewise.
14872 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14873 * sysdeps/sh/strlen.S: Likewise.
14874 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14875 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14876 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14877 * sysdeps/sparc/sparc32/rem.S: Likewise.
14878 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14879 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14880 * sysdeps/sparc/sparc32/strchr.S: Likewise.
14881 * sysdeps/sparc/sparc32/udiv.S: Likewise.
14882 * sysdeps/sparc/sparc32/urem.S: Likewise.
14883 * sysdeps/sparc/sparc64/add_n.S: Likewise.
14884 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14885 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14886 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14887 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14888 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14889 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14890 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14891 * sysdeps/unix/bsd/times.c: Likewise.
14892 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14893 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14897 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14898 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14899 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14900 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14901 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14902 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14903 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14904 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14905 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14906 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14907 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14908 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14909 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14910 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14911 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14912 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14913 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14914 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14915 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14916 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14917 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14918 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14919 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14920 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14921 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14922 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14923 * sysdeps/x86_64/strcspn.S: Likewise.
14924
869378a5
RA
149252013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14926
14927 * locale/C-translit.h: Revert #include <stdint.h> because this is a
14928 generated file. Regenerate properly from gen-translit.pl.
14929 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
14930 locale/C-translit.h.
14931
840e2943
AS
149322013-06-05 Andreas Schwab <schwab@suse.de>
14933
14934 [BZ #15100]
14935 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14936 week as 6 instead of -1.
14937 * time/tst-strptime.c (day_tests): Add test case.
14938
4c60cb0c
SP
149392013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14940
14941 * sysdeps/generic/math_private.h
14942 (libc_feholdexcept_setround_53bit): Replace with
14943 libc_feholdsetround_53bit.
14944 (libc_feupdateenv_53bit): Replace with
14945 libc_feresetround_53bit.
14946 (SET_RESTORE_ROUND_53BIT): Adjust.
14947
d180203e
SP
149482013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14949
96df079a
SP
14950 * string/test-strchrnul.c: Add copyright header.
14951
d180203e
SP
14952 * posix/tst-getaddrinfo4.c: Increase test timeout.
14953
8b0ccb2d
CD
149542013-06-03 Carlos O'Donell <carlos@redhat.com>
14955
14956 [BZ #15536]
14957 * math/libm-test.inc (MAX_EXP): Remove
14958 (MIN_EXP): Define.
14959 (ulp): Use MIN_EXP - MANT_DIG.
14960 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14961
3b3c4d40
CD
149622013-05-31 Carlos O'Donell <carlos@redhat.com>
14963
14964 * po/be.po: Revert last change.
14965 * po/zh_CN.po: Likewise.
14966 * po/header.pot: Likewise.
14967
fab7ce3f
JM
149682013-05-31 Joseph Myers <joseph@codesourcery.com>
14969
14970 * Makefile ($(common-objpfx)linkobj/libc.so): Define
14971 link-libc-deps to empty as target-specific variable.
14972 * Makerules (link-libc-args): New variable.
14973 (libc-for-link): Likewise.
14974 (link-libc-deps): Likewise.
14975 (lib%.so): Depend on $(link-libc-deps). Link with
14976 $(link-libc-args).
14977 (build-module): Link with $(link-libc-args).
14978 (build-module-asneeded): Likewise.
14979 (build-module-helper-objlist): Filter out $(link-libc-deps) from
14980 list of objects.
14981 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14982 target-specific variable.
14983 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14984 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14985 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14986 libc.
14987 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14988 libc and ld.so.
14989 ($(objpfx)libpcprofile.so): Likewise.
14990 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14991 libc_nonshared.a.
14992 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14993 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14994 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14995 $(link-libc-deps).
14996 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14997 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14998 * login/Makefile ($(objpfx)libutil.so): Likewise.
14999 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15000 * math/Makefile ($(objpfx)libm.so): Likewise.
15001 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15002 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15003 variable instead of depending directly on libc.
15004 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15005 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15006 $(link-libc-deps).
15007 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15008 libc.
15009 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15010 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15011 ($(objpfx)libanl.so): Likewise.
15012 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15013 ld.so.
15014 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15015 $(link-libc-deps).
15016 * sysdeps/i386/fpu/Makefile: Remove file.
15017 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15018 ($(objpfx)libm.so): Remove dependency on ld.so.
15019
eca5920c
PF
150202013-05-30 Patsy Franklin <pfrankli@redhat.com>
15021
15022 [BZ # 15553]
15023 * nis/yp_xdr.c (XDRMAXNAME): Define.
15024 (XDRMAXRECORD): Define.
15025 (xdr_domainname): Use XDRMAXNAME.
15026 (xdr_mapname): Likewise.
15027 (xdr_peername): Likewise.
15028 (xdr_keydat): Use XDRMAXRECORD.
15029 (xdr_valdat): Likewise.
15030
150312013-05-30 Jeff Law <law@redhat.com>
96945714
JL
15032
15033 [BZ #14256]
15034 * manual/errno.texi (ESTALE): Update to account for more than
15035 just NFS file systems.
15036 * sysdeps/gnu/errlist.c: Regenerated.
15037
b9375348
SP
150382013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15039
15040 [BZ #15465]
15041 * elf/Makefile (tests): Add tst-null-argv.
15042 (modules-names): Add tst-null-argv-lib.
15043 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15044 (tst-null-argv-ENV): Set environment for tst-null-argv.
15045 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15046 (RTLD_PROGNAME): New macro.
15047 * elf/tst-null-argv.c: New test case.
15048 * elf/tst-null-argv-lib.c: Library for test case.
15049 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15050 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15051 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15052 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15053 * elf/dl-init.c (call_init): Likewise.
15054 (_dl_init): Likewise.
15055 * elf/dl-load.c (print_search_path): Likewise.
15056 (_dl_map_object): Likewise.
15057 * elf/dl-lookup.c (do_lookup_x): Likewise.
15058 (add_dependency): Likewise.
15059 (_dl_lookup_symbol_x): Likewise.
15060 (_dl_debug_bindings): Likewise.
15061 * elf/dl-open.c (_dl_show_scope): Likewise.
15062 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15063 * elf/dl-version.c (match_symbol): Likewise.
15064 (_dl_check_map_versions): Likewise.
15065 * elf/rtld.c (dl_main): Likewise.
15066 (print_unresolved): Use RTLD_PROGNAME.
15067 (print_missing_version): Likewise.
15068 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15069 (elf_machine_rela): Likewise.
15070 * sysdeps/powerpc/powerpc32/dl-machine.c
15071 (__process_machine_rela): Likewise.
15072 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15073 Likewise.
15074 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15075 Likewise.
15076 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15077 Likewise.
15078 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15079 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15080 Likewise.
15081 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15082 Likewise.
15083 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15084
8a9f20c8
CD
150852013-05-28 Carlos O'Donell <carlos@redhat.com>
15086
15087 * po/be.po: Add descriptive title.
15088 * po/zh_CN.po: Likewise.
15089 * po/header.pot: Likewise.
15090
0e60d68e
MF
150912013-05-28 Mike Frysinger <vapier@gentoo.org>
15092
15093 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15094 error message.
15095 (enlarge_archive): Likewise.
15096
56b672e9
BN
150972013-05-28 Ben North <ben@redfrontdoor.org>
15098
15099 * manual/arith.texi (frexp): It is the magnitude of the return
15100 value which lies in [0.5, 1), not the return value itself.
15101
5e056687
AZ
151022013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15103
15104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15105
2b66ef5d
TS
151062013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15107
528c2405
TS
15108 * stdio-common/bug26.c (main): Correct fscanf template.
15109
07b4c13d
TS
15110 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15111 declare _dl_skip_args.
15112
ec9dd97c
TS
15113 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15114 Don't declare.
15115
2b66ef5d
TS
15116 * manual/platform.texi: Add missing @end deftypefun.
15117
4f8dfe27
JM
151182013-05-24 Joseph Myers <joseph@codesourcery.com>
15119
0323d086
JM
15120 [BZ #15529]
15121 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15122 bit of mantissa of 2^16382.
15123 * math/libm-test.inc (hypot_test_data): Add more tests.
15124
dd4259b9
JM
15125 * math/libm-test.inc: Add drem and pow10 to list of tested
15126 functions.
15127 (pow10_test): New function.
15128 (drem_test): Likewise.
15129 (drem_test_tonearest): Likewise.
15130 (drem_test_towardzero): Likewise.
15131 (drem_test_downward): Likewise.
15132 (drem_test_upward): Likewise.
15133 (main): Call the new functions.
15134
4f8dfe27
JM
15135 * math/libm-test.inc (finite_test_data): Remove.
15136 (finite_test): Run tests from isfinite_test_data.
15137 (gamma_test_data): Remove.
15138 (gamma_test): Run tests from lgamma_test_data.
15139 * sysdeps/i386/fpu/libm-test-ulps: Update.
15140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15141
d116b7c4
AZ
151422013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15143
15144 * manual/platform.texi: Add PowerPC PPR function set documentation.
15145 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15146 implementation.
15147
e96e3767
CD
151482013-05-24 Carlos O'Donell <carlos@redhat.com>
15149
15150 * math/libm-test.inc (MAX_EXP): Define.
15151 (ULPDIFF): Define.
15152 (ulp): New function.
15153 (check_float_internal): Use ULPDIFF.
15154 (cpow_test): Disable failing test.
15155 (check_ulp): Test ulp() implemetnation.
15156 (main): Call check_ulp before starting tests.
15157
b679a606
JM
151582013-05-24 Joseph Myers <joseph@codesourcery.com>
15159
e8bdba36
JM
15160 * math/gen-libm-test.pl (generate_testfile): Do not handle
15161 START_DATA and END_DATA.
15162 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15163 END_DATA.
15164 (acos_tonearest_test_data): Likewise.
15165 (acos_towardzero_test_data): Likewise.
15166 (acos_downward_test_data): Likewise.
15167 (acos_upward_test_data): Likewise.
15168 (acosh_test_data): Likewise.
15169 (asin_test_data): Likewise.
15170 (asin_tonearest_test_data): Likewise.
15171 (asin_towardzero_test_data): Likewise.
15172 (asin_downward_test_data): Likewise.
15173 (asin_upward_test_data): Likewise.
15174 (asinh_test_data): Likewise.
15175 (atan_test_data): Likewise.
15176 (atanh_test_data): Likewise.
15177 (atan2_test_data): Likewise.
15178 (cabs_test_data): Likewise.
15179 (cacos_test_data): Likewise.
15180 (cacosh_test_data): Likewise.
15181 (carg_test_data): Likewise.
15182 (casin_test_data): Likewise.
15183 (casinh_test_data): Likewise.
15184 (catan_test_data): Likewise.
15185 (catanh_test_data): Likewise.
15186 (cbrt_test_data): Likewise.
15187 (ccos_test_data): Likewise.
15188 (ccosh_test_data): Likewise.
15189 (ceil_test_data): Likewise.
15190 (cexp_test_data): Likewise.
15191 (cimag_test_data): Likewise.
15192 (clog_test_data): Likewise.
15193 (clog10_test_data): Likewise.
15194 (conj_test_data): Likewise.
15195 (copysign_test_data): Likewise.
15196 (cos_test_data): Likewise.
15197 (cos_tonearest_test_data): Likewise.
15198 (cos_towardzero_test_data): Likewise.
15199 (cos_downward_test_data): Likewise.
15200 (cos_upward_test_data): Likewise.
15201 (cosh_test_data): Likewise.
15202 (cosh_tonearest_test_data): Likewise.
15203 (cosh_towardzero_test_data): Likewise.
15204 (cosh_downward_test_data): Likewise.
15205 (cosh_upward_test_data): Likewise.
15206 (cpow_test_data): Likewise.
15207 (cproj_test_data): Likewise.
15208 (creal_test_data): Likewise.
15209 (csin_test_data): Likewise.
15210 (csinh_test_data): Likewise.
15211 (csqrt_test_data): Likewise.
15212 (ctan_test_data): Likewise.
15213 (ctan_tonearest_test_data): Likewise.
15214 (ctan_towardzero_test_data): Likewise.
15215 (ctan_downward_test_data): Likewise.
15216 (ctan_upward_test_data): Likewise.
15217 (ctanh_test_data): Likewise.
15218 (ctanh_tonearest_test_data): Likewise.
15219 (ctanh_towardzero_test_data): Likewise.
15220 (ctanh_downward_test_data): Likewise.
15221 (ctanh_upward_test_data): Likewise.
15222 (erf_test_data): Likewise.
15223 (erfc_test_data): Likewise.
15224 (exp_test_data): Likewise.
15225 (exp_tonearest_test_data): Likewise.
15226 (exp_towardzero_test_data): Likewise.
15227 (exp_downward_test_data): Likewise.
15228 (exp_upward_test_data): Likewise.
15229 (exp10_test_data): Likewise.
15230 (exp2_test_data): Likewise.
15231 (expm1_test_data): Likewise.
15232 (fabs_test_data): Likewise.
15233 (fdim_test_data): Likewise.
15234 (finite_test_data): Likewise.
15235 (floor_test_data): Likewise.
15236 (fma_test_data): Likewise.
15237 (fma_towardzero_test_data): Likewise.
15238 (fma_downward_test_data): Likewise.
15239 (fma_upward_test_data): Likewise.
15240 (fmax_test_data): Likewise.
15241 (fmin_test_data): Likewise.
15242 (fmod_test_data): Likewise.
15243 (fpclassify_test_data): Likewise.
15244 (frexp_test_data): Likewise.
15245 (gamma_test_data): Likewise.
15246 (hypot_test_data): Likewise.
15247 (ilogb_test_data): Likewise.
15248 (isfinite_test_data): Likewise.
15249 (isgreater_test_data): Likewise.
15250 (isgreaterequal_test_data): Likewise.
15251 (isinf_test_data): Likewise.
15252 (isless_test_data): Likewise.
15253 (islessequal_test_data): Likewise.
15254 (islessgreater_test_data): Likewise.
15255 (isnan_test_data): Likewise.
15256 (isnormal_test_data): Likewise.
15257 (issignaling_test_data): Likewise.
15258 (isunordered_test_data): Likewise.
15259 (j0_test_data): Likewise.
15260 (j1_test_data): Likewise.
15261 (jn_test_data): Likewise.
15262 (ldexp_test_data): Likewise.
15263 (lgamma_test_data): Likewise.
15264 (lrint_test_data): Likewise.
15265 (lrint_tonearest_test_data): Likewise.
15266 (lrint_towardzero_test_data): Likewise.
15267 (lrint_downward_test_data): Likewise.
15268 (lrint_upward_test_data): Likewise.
15269 (llrint_test_data): Likewise.
15270 (llrint_tonearest_test_data): Likewise.
15271 (llrint_towardzero_test_data): Likewise.
15272 (llrint_downward_test_data): Likewise.
15273 (llrint_upward_test_data): Likewise.
15274 (log_test_data): Likewise.
15275 (log10_test_data): Likewise.
15276 (log1p_test_data): Likewise.
15277 (log2_test_data): Likewise.
15278 (logb_test_data): Likewise.
15279 (logb_downward_test_data): Likewise.
15280 (lround_test_data): Likewise.
15281 (llround_test_data): Likewise.
15282 (modf_test_data): Likewise.
15283 (nearbyint_test_data): Likewise.
15284 (nextafter_test_data): Likewise.
15285 (nexttoward_test_data): Likewise.
15286 (pow_test_data): Likewise.
15287 (pow_tonearest_test_data): Likewise.
15288 (pow_towardzero_test_data): Likewise.
15289 (pow_downward_test_data): Likewise.
15290 (pow_upward_test_data): Likewise.
15291 (remainder_test_data): Likewise.
15292 (remainder_tonearest_test_data): Likewise.
15293 (remainder_towardzero_test_data): Likewise.
15294 (remainder_downward_test_data): Likewise.
15295 (remainder_upward_test_data): Likewise.
15296 (remquo_test_data): Likewise.
15297 (rint_test_data): Likewise.
15298 (rint_tonearest_test_data): Likewise.
15299 (rint_towardzero_test_data): Likewise.
15300 (rint_downward_test_data): Likewise.
15301 (rint_upward_test_data): Likewise.
15302 (round_test_data): Likewise.
15303 (scalb_test_data): Likewise.
15304 (scalbn_test_data): Likewise.
15305 (scalbln_test_data): Likewise.
15306 (signbit_test_data): Likewise.
15307 (sin_test_data): Likewise.
15308 (sin_tonearest_test_data): Likewise.
15309 (sin_towardzero_test_data): Likewise.
15310 (sin_downward_test_data): Likewise.
15311 (sin_upward_test_data): Likewise.
15312 (sincos_test_data): Likewise.
15313 (sinh_test_data): Likewise.
15314 (sinh_tonearest_test_data): Likewise.
15315 (sinh_towardzero_test_data): Likewise.
15316 (sinh_downward_test_data): Likewise.
15317 (sinh_upward_test_data): Likewise.
15318 (sqrt_test_data): Likewise.
15319 (tan_test_data): Likewise.
15320 (tan_tonearest_test_data): Likewise.
15321 (tan_towardzero_test_data): Likewise.
15322 (tan_downward_test_data): Likewise.
15323 (tan_upward_test_data): Likewise.
15324 (tanh_test_data): Likewise.
15325 (tgamma_test_data): Likewise.
15326 (trunc_test_data): Likewise.
15327 (y0_test_data): Likewise.
15328 (y1_test_data): Likewise.
15329 (yn_test_data): Likewise.
15330 (significand_test_data): Likewise.
15331
b679a606
JM
15332 * math/gen-libm-test.pl (@functions): Remove variable.
15333 (generate_testfile): Don't handle START and END lines.
15334 * math/libm-test.inc (START): New macro.
15335 (END): Likewise.
15336 (END_COMPLEX): Likewise.
15337 (acos_test): Use END macro without arguments.
15338 (acos_test_tonearest): Likewise.
15339 (acos_test_towardzero): Likewise.
15340 (acos_test_downward): Likewise.
15341 (acos_test_upward): Likewise.
15342 (acosh_test): Likewise.
15343 (asin_test): Likewise.
15344 (asin_test_tonearest): Likewise.
15345 (asin_test_towardzero): Likewise.
15346 (asin_test_downward): Likewise.
15347 (asin_test_upward): Likewise.
15348 (asinh_test): Likewise.
15349 (atan_test): Likewise.
15350 (atanh_test): Likewise.
15351 (atan2_test): Likewise.
15352 (cabs_test): Likewise.
15353 (cacos_test): Use END_COMPLEX macro without arguments.
15354 (cacosh_test): Likewise.
15355 (carg_test): Use END macro without arguments.
15356 (casin_test): Use END_COMPLEX macro without arguments.
15357 (casinh_test): Likewise.
15358 (catan_test): Likewise.
15359 (catanh_test): Likewise.
15360 (cbrt_test): Use END macro without arguments.
15361 (ccos_test): Use END_COMPLEX macro without arguments.
15362 (ccosh_test): Likewise.
15363 (ceil_test): Use END macro without arguments.
15364 (cexp_test): Use END_COMPLEX macro without arguments.
15365 (cimag_test): Use END macro without arguments.
15366 (clog_test): Use END_COMPLEX macro without arguments.
15367 (clog10_test): Likewise.
15368 (conj_test): Likewise.
15369 (copysign_test): Use END macro without arguments.
15370 (cos_test): Likewise.
15371 (cos_test_tonearest): Likewise.
15372 (cos_test_towardzero): Likewise.
15373 (cos_test_downward): Likewise.
15374 (cos_test_upward): Likewise.
15375 (cosh_test): Likewise.
15376 (cosh_test_tonearest): Likewise.
15377 (cosh_test_towardzero): Likewise.
15378 (cosh_test_downward): Likewise.
15379 (cosh_test_upward): Likewise.
15380 (cpow_test): Use END_COMPLEX macro without arguments.
15381 (cproj_test): Likewise.
15382 (creal_test): Use END macro without arguments.
15383 (csin_test): Use END_COMPLEX macro without arguments.
15384 (csinh_test): Likewise.
15385 (csqrt_test): Likewise.
15386 (ctan_test): Likewise.
15387 (ctan_test_tonearest): Likewise.
15388 (ctan_test_towardzero): Likewise.
15389 (ctan_test_downward): Likewise.
15390 (ctan_test_upward): Likewise.
15391 (ctanh_test): Likewise.
15392 (ctanh_test_tonearest): Likewise.
15393 (ctanh_test_towardzero): Likewise.
15394 (ctanh_test_downward): Likewise.
15395 (ctanh_test_upward): Likewise.
15396 (erf_test): Use END macro without arguments.
15397 (erfc_test): Likewise.
15398 (exp_test): Likewise.
15399 (exp_test_tonearest): Likewise.
15400 (exp_test_towardzero): Likewise.
15401 (exp_test_downward): Likewise.
15402 (exp_test_upward): Likewise.
15403 (exp10_test): Likewise.
15404 (exp2_test): Likewise.
15405 (expm1_test): Likewise.
15406 (fabs_test): Likewise.
15407 (fdim_test): Likewise.
15408 (finite_test): Likewise.
15409 (floor_test): Likewise.
15410 (fma_test): Likewise.
15411 (fma_test_towardzero): Likewise.
15412 (fma_test_downward): Likewise.
15413 (fma_test_upward): Likewise.
15414 (fmax_test): Likewise.
15415 (fmin_test): Likewise.
15416 (fmod_test): Likewise.
15417 (fpclassify_test): Likewise.
15418 (frexp_test): Likewise.
15419 (gamma_test): Likewise.
15420 (hypot_test): Likewise.
15421 (ilogb_test): Likewise.
15422 (isfinite_test): Likewise.
15423 (isgreater_test): Likewise.
15424 (isgreaterequal_test): Likewise.
15425 (isinf_test): Likewise.
15426 (isless_test): Likewise.
15427 (islessequal_test): Likewise.
15428 (islessgreater_test): Likewise.
15429 (isnan_test): Likewise.
15430 (isnormal_test): Likewise.
15431 (issignaling_test): Likewise.
15432 (isunordered_test): Likewise.
15433 (j0_test): Likewise.
15434 (j1_test): Likewise.
15435 (jn_test): Likewise.
15436 (ldexp_test): Likewise.
15437 (lgamma_test): Likewise.
15438 (lrint_test): Likewise.
15439 (lrint_test_tonearest): Likewise.
15440 (lrint_test_towardzero): Likewise.
15441 (lrint_test_downward): Likewise.
15442 (lrint_test_upward): Likewise.
15443 (llrint_test): Likewise.
15444 (llrint_test_tonearest): Likewise.
15445 (llrint_test_towardzero): Likewise.
15446 (llrint_test_downward): Likewise.
15447 (llrint_test_upward): Likewise.
15448 (log_test): Likewise.
15449 (log10_test): Likewise.
15450 (log1p_test): Likewise.
15451 (log2_test): Likewise.
15452 (logb_test): Likewise.
15453 (logb_test_downward): Likewise.
15454 (lround_test): Likewise.
15455 (llround_test): Likewise.
15456 (modf_test): Likewise.
15457 (nearbyint_test): Likewise.
15458 (nextafter_test): Likewise.
15459 (nexttoward_test): Likewise.
15460 (pow_test): Likewise.
15461 (pow_test_tonearest): Likewise.
15462 (pow_test_towardzero): Likewise.
15463 (pow_test_downward): Likewise.
15464 (pow_test_upward): Likewise.
15465 (remainder_test): Likewise.
15466 (remainder_test_tonearest): Likewise.
15467 (remainder_test_towardzero): Likewise.
15468 (remainder_test_downward): Likewise.
15469 (remainder_test_upward): Likewise.
15470 (remquo_test): Likewise.
15471 (rint_test): Likewise.
15472 (rint_test_tonearest): Likewise.
15473 (rint_test_towardzero): Likewise.
15474 (rint_test_downward): Likewise.
15475 (rint_test_upward): Likewise.
15476 (round_test): Likewise.
15477 (scalb_test): Likewise.
15478 (scalbn_test): Likewise.
15479 (scalbln_test): Likewise.
15480 (signbit_test): Likewise.
15481 (sin_test): Likewise.
15482 (sin_test_tonearest): Likewise.
15483 (sin_test_towardzero): Likewise.
15484 (sin_test_downward): Likewise.
15485 (sin_test_upward): Likewise.
15486 (sincos_test): Likewise.
15487 (sinh_test): Likewise.
15488 (sinh_test_tonearest): Likewise.
15489 (sinh_test_towardzero): Likewise.
15490 (sinh_test_downward): Likewise.
15491 (sinh_test_upward): Likewise.
15492 (sqrt_test): Likewise.
15493 (tan_test): Likewise.
15494 (tan_test_tonearest): Likewise.
15495 (tan_test_towardzero): Likewise.
15496 (tan_test_downward): Likewise.
15497 (tan_test_upward): Likewise.
15498 (tanh_test): Likewise.
15499 (tgamma_test): Likewise.
15500 (trunc_test): Likewise.
15501 (y0_test): Likewise.
15502 (y1_test): Likewise.
15503 (yn_test): Likewise.
15504 (significand_test): Likewise.
15505
bae143d2
OB
155062013-05-24 Ondřej Bílka <neleai@seznam.cz>
15507
15508 [BZ #15381]
15509 * libio/genops.c (_IO_no_init): Initialize wide struct info.
15510
9323d39b
EM
155112013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
15512
d4ea44a0 15513 [BZ #14894]
9323d39b
EM
15514 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
15515 __ppc_mdoio and __ppc_mdoom.
15516 * manual/platform.texi: Document new functions __ppc_yield,
15517 __ppc_mdoio and __ppc_mdoom.
15518
13e23af7
CD
155192013-05-22 Carlos O'Donell <carlos@redhat.com>
15520
15521 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
15522 (main): Mention "tls" pseudo-hwcap is legacy.
15523 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
15524
351fe550
JM
155252013-05-22 Joseph Myers <joseph@codesourcery.com>
15526
15527 * math/gen-libm-test.pl (parse_args): Output only string of
15528 arguments as text for test name, not full call or descriptions of
15529 tests for extra outputs.
15530 (generate_testfile): Do not pass function name to parse_args.
15531 Generate this_func variable from START.
15532 * math/libm-test.inc (struct test_f_f_data): Rename test_name
15533 field to arg_str.
15534 (struct test_ff_f_data): Likewise.
15535 (test_ff_f_data_nexttoward): Likewise.
15536 (struct test_fi_f_data): Likewise.
15537 (struct test_fl_f_data): Likewise.
15538 (struct test_if_f_data): Likewise.
15539 (struct test_fff_f_data): Likewise.
15540 (struct test_c_f_data): Likewise.
15541 (struct test_f_f1_data): Likewise. Remove field extra_name.
15542 (struct test_fF_f1_data): Likewise.
15543 (struct test_ffI_f1_data): Likewise.
15544 (struct test_c_c_data): Rename test_name field to arg_str.
15545 (struct test_cc_c_data): Likewise.
15546 (struct test_f_i_data): Likewise.
15547 (struct test_ff_i_data): Likewise.
15548 (struct test_f_l_data): Likewise.
15549 (struct test_f_L_data): Likewise.
15550 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
15551 and extra2_name.
15552 (COMMON_TEST_SETUP): New macro.
15553 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
15554 (COMMON_TEST_CLEANUP): Likewise.
15555 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
15556 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
15557 macros.
15558 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
15559 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
15560 macros.
15561 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
15562 (RUN_TEST_fff_f): Take argument string. Call new setup and
15563 cleanup macros.
15564 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
15565 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
15566 macros.
15567 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
15568 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
15569 macros.
15570 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15571 (RUN_TEST_fF_f1): Take argument string. Call new setup and
15572 cleanup macros.
15573 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15574 (RUN_TEST_fI_f1): Take argument string. Call new setup and
15575 cleanup macros.
15576 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15577 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
15578 cleanup macros.
15579 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15580 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
15581 macros.
15582 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
15583 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
15584 macros.
15585 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
15586 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
15587 macros.
15588 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
15589 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
15590 cleanup macros.
15591 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
15592 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
15593 cleanup macros.
15594 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
15595 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
15596 macros.
15597 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
15598 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
15599 cleanup macros.
15600 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
15601 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
15602 macros.
15603 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
15604 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
15605 macros.
15606 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
15607 (RUN_TEST_fFF_11): Take argument string. Call new setup and
15608 cleanup macros.
15609 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
15610
85118d4d
EBM
156112013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15612
15613 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
15614 to _sifields.sigfault.
15615 (si_addr_lsb): Define new macro.
15616 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15617 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15618 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
15619
7a44c18f
CD
156202013-05-03 Carlos O'Donell <carlos at redhat.com>
15621
15622 [BZ #15441]
15623 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
15624 returns -1.
15625 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
15626 null return -1.
15627 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
15628 loading the domain.
15629
b50a7181
JM
156302013-05-22 Joseph Myers <joseph@codesourcery.com>
15631
15632 * math/gen-libm-test.pl (parse_args): Do not include expected
15633 result in test name.
15634 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
15635 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15636 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15637 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15638 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15640
051063c8
SP
156412013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15642
3ce9e010
SP
15643 * benchtests/Makefile: Sort function entries.
15644
051063c8
SP
15645 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
15646 tanh, asinh, acosh, atanh.
15647 * benchtests/acos-inputs: New file.
15648 * benchtests/acosh-inputs: New file.
15649 * benchtests/asin-inputs: New file.
15650 * benchtests/asinh-inputs: New file.
15651 * benchtests/atanh-inputs: New file.
15652 * benchtests/cosh-inputs: New file.
15653 * benchtests/log-inputs: New file.
15654 * benchtests/sinh-inputs: New file.
15655 * benchtests/tanh-inputs: New file.
15656
47c22455
DL
156572013-05-21 Dmitry V. Levin <ldv@altlinux.org>
15658
15659 [BZ #15339]
15660 * posix/tst-getaddrinfo4.c: New test.
15661 * posix/Makefile (tests): Add it.
15662
3d04f5db
SP
156632013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15664
15665 [BZ #15339]
15666 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
15667 when no services were used.
15668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
15669 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
15670
d5dd6189
AS
156712013-05-21 Andreas Schwab <schwab@suse.de>
15672
15673 [BZ #15014]
15674 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
15675 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
15676 successful.
15677 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
15678 redundant variable declarations and reallocation of buffer when
15679 parsing as IPv6 address. Always set NSS status when called from
15680 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
15681 buffer too small. Correct computation of needed size.
15682 * nss/Makefile (tests): Add test-digits-dots.
15683 * nss/test-digits-dots.c: New test.
15684
fef94eab
SP
156852013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15686
15687 * benchtests/Makefile: Remove instructions for adding
15688 benchmark tests.
15689 * benchtests/README: New file to explain how to execute and
15690 enhance the benchmark tests.
15691
e39adf43
AS
156922013-05-21 Andreas Schwab <schwab@suse.de>
15693
15694 [BZ #15493]
15695 * setjmp/Makefile (tests): Add tst-sigsetjmp.
15696 * setjmp/tst-sigsetjmp.c: New test.
15697
b2b671b6
OB
156982013-05-20 Ondřej Bílka <neleai@seznam.cz>
15699
15700 * sysdeps/x86_64/memset.S (memset): New implementation.
15701 (__bzero): Likewise.
15702 (__memset_tail): New function.
15703
2d48b41c
OB
157042013-05-20 Ondřej Bílka <neleai@seznam.cz>
15705
15706 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
15707 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
15708 __memcpy_sse2_unaligned ifunc selection.
15709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15710 Add memcpy-sse2-unaligned.S.
15711 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15712 Add: __memcpy_sse2_unaligned.
15713
f16cc3eb
JM
157142013-05-19 Joseph Myers <joseph@codesourcery.com>
15715
3e694268
JM
15716 [BZ #15490]
15717 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15718 math_force_eval before restoring floating-point envrionment.
15719 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15720 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15721 Likewise.
15722 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15723 <math_private.h>.
15724 (__nearbyintl): Use math_force_eval before restoring
15725 floating-point environment.
15726 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15727
db62a907
JM
15728 * math/gen-libm-test.pl (special_functions): Remove.
15729 (parse_args): Don't handle TEST_extra. Handle functions with no
15730 return value.
15731 * math/libm-test.inc (struct test_sincos_data): Replace with
15732 struct test_fFF_11_data.
15733 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15734 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15735 (sincos_test_data): Change element type to struct
15736 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
15737 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15738 RUN_TEST_LOOP_sincos.
15739 * math/README.libm-test: Don't mention special handling of
15740 individual functions.
15741 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15742 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15743 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15744 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15745 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15747
f16cc3eb
JM
15748 * math/gen-libm-test.pl (get_variable): Remove function.
15749 (parse_args): Don't show pointer parameters to call in test
15750 names. Use "extra output N" in test names for extra outputs
15751 rather than naming variables.
15752
3779b5b6
JM
157532013-05-18 Joseph Myers <joseph@codesourcery.com>
15754
2ee094ff
JM
15755 [BZ #15488]
15756 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15757 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15758 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15759 double tests.
15760 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15761 disable.
15762 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15763 check_long_double.
15764
3779b5b6
JM
15765 * math/gen-libm-test.pl (@tests): Remove variable.
15766 ($count): Likewise.
15767 (new_test): Remove function.
15768 (show_exceptions): New function.
15769 (special_functions): Use show_exceptions instead of new_test.
15770 (parse_args): Likewise.
15771 (generate_testfile): Pass only function name in generated call to
15772 print_max_error or print_complex_max_error.
15773 (get_ulps): Do not handle complex tests specially.
15774 (output_test): Rename to ...
15775 (get_all_ulps_for_test): ... this. Return a string rather than
15776 printing to a file. Require ulps to be present.
15777 (output_ulps): Generate arrays rather than #defines.
15778 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15779 (struct ulp_data): New type.
15780 (BUILD_COMPLEX_ULP): Remove macro.
15781 (compare_ulp_data): New function.
15782 (find_ulps): Likewise.
15783 (find_test_ulps): Likewise.
15784 (find_function_ulps): Likewise.
15785 (find_complex_function_ulps): Likewise.
15786 (print_max_error): Determine allowed ulps using
15787 find_function_ulps.
15788 (print_complex_max_error): Determine allowed ulps using
15789 find_complex_function_ulps.
15790 (check_float_internal): Determine max ulps using find_test_ulps.
15791 (check_float): Do not take max_ulp parameter. Update call to
15792 check_float_internal.
15793 (check_complex): Likewise.
15794 (check_int): Do not take max_ulp parameter.
15795 (check_long): Likewise.
15796 (check_bool): Likewise.
15797 (check_longlong): Likewise.
15798 (struct test_f_f_data): Remove max_ulp field.
15799 (struct test_ff_f_data): Likewise.
15800 (struct test_ff_f_data_nexttoward): Likewise.
15801 (struct test_fi_f_data): Likewise.
15802 (struct test_fl_f_data): Likewise.
15803 (struct test_if_f_data): Likewise.
15804 (struct test_fff_f_data): Likewise.
15805 (struct test_c_f_data): Likewise.
15806 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15807 (struct test_fF_f1_data): Likewise.
15808 (struct test_ffI_f1_data): Likewise.
15809 (struct test_c_c_data): Remove max_ulp field.
15810 (struct test_cc_c_data): Likewise.
15811 (struct test_f_i_data): Likewise.
15812 (struct test_ff_i_data): Likewise.
15813 (struct test_f_l_data): Likewise.
15814 (struct test_f_L_data): Likewise.
15815 (struct test_sincos_data): Likewise.
15816 (RUN_TEST_f_f): Do not handle ulps.
15817 (RUN_TEST_LOOP_f_f): Likewise.
15818 (RUN_TEST_2_f): Likewise.
15819 (RUN_TEST_LOOP_2_f): Likewise.
15820 (RUN_TEST_fff_f): Likewise.
15821 (RUN_TEST_LOOP_fff_f): Likewise.
15822 (RUN_TEST_c_f): Likewise.
15823 (RUN_TEST_LOOP_c_f): Likewise.
15824 (RUN_TEST_f_f1): Likewise.
15825 (RUN_TEST_LOOP_f_f1): Likewise.
15826 (RUN_TEST_fF_f1): Likewise.
15827 (RUN_TEST_LOOP_fF_f1): Likewise.
15828 (RUN_TEST_fI_f1): Likewise.
15829 (RUN_TEST_LOOP_fI_f1): Likewise.
15830 (RUN_TEST_ffI_f1): Likewise.
15831 (RUN_TEST_LOOP_ffI_f1): Likewise.
15832 (RUN_TEST_c_c): Likewise.
15833 (RUN_TEST_LOOP_c_c): Likewise.
15834 (RUN_TEST_cc_c): Likewise.
15835 (RUN_TEST_LOOP_cc_c): Likewise.
15836 (RUN_TEST_f_i): Likewise.
15837 (RUN_TEST_LOOP_f_i): Likewise.
15838 (RUN_TEST_f_i_tg): Likewise.
15839 (RUN_TEST_LOOP_f_i_tg): Likewise.
15840 (RUN_TEST_ff_i_tg): Likewise.
15841 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15842 (RUN_TEST_f_b): Likewise.
15843 (RUN_TEST_LOOP_f_b): Likewise.
15844 (RUN_TEST_f_b_tg): Likewise.
15845 (RUN_TEST_LOOP_f_b_tg): Likewise.
15846 (RUN_TEST_f_l): Likewise.
15847 (RUN_TEST_LOOP_f_l): Likewise.
15848 (RUN_TEST_f_L): Likewise.
15849 (RUN_TEST_LOOP_f_L): Likewise.
15850 (RUN_TEST_sincos): Likewise.
15851 (RUN_TEST_LOOP_sincos): Likewise.
15852
8269107f
JM
158532013-05-17 Joseph Myers <joseph@codesourcery.com>
15854
bb38759d
JM
15855 [BZ #15480]
15856 [BZ #15485]
15857 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15858 main case of finite arguments, set rounding mode to FE_TONEAREST
15859 and discard exceptions.
15860 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15861 exceptions.
15862 (remainder_tonearest_test_data): New variable.
15863 (remainder_test_tonearest): New function.
15864 (remainder_towardzero_test_data): New variable.
15865 (remainder_test_towardzero): New function.
15866 (remainder_downward_test_data): New variable.
15867 (remainder_test_downward): New function.
15868 (remainder_upward_test_data): New variable.
15869 (remainder_test_upward): New function.
15870 (main): Call the new test functions.
15871
a00bdcf0
JM
15872 * math/libm-test.inc (struct test_f_f1_data): Remove field
15873 extra_init.
15874 (struct test_fF_f1_data): Likewise.
15875 (struct test_ffI_f1_data): Likewise.
15876 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
15877 based on value of EXTRA_EXPECTED.
15878 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15879 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
15880 EXTRA_VAR based on value of EXTRA_EXPECTED.
15881 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15882 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
15883 EXTRA_VAR based on value of EXTRA_EXPECTED.
15884 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15885 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
15886 EXTRA_VAR based on value of EXTRA_EXPECTED.
15887 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15888 * math/gen-libm-test.pl (parse_args): Don't output initializers
15889 for extra output values.
15890
de407f79
JM
15891 * math/libm-test.inc (check_int): Expect result to be exactly
15892 equal to expected value and do not handle ulps.
15893 (check_long): Likewise.
15894 (check_longlong): Likewise.
15895
8269107f
JM
15896 * math/libm-test.inc (ceil_test_data): Test for "inexact"
15897 exceptions.
15898 (cimag_test_data): Likewise.
15899 (conj_test_data): Likewise.
15900 (copysign_test_data): Likewise.
15901 (cproj_test_data): Likewise.
15902 (creal_test_data): Likewise.
15903 (fabs_test_data): Likewise.
15904 (fdim_test_data): Likewise.
15905 (finite_test_data): Likewise.
15906 (floor_test_data): Likewise.
15907 (fmax_test_data): Likewise.
15908 (fmin_test_data): Likewise.
15909 (fmod_test_data): Likewise.
15910 (fpclassify_test_data): Likewise.
15911 (frexp_test_data): Likewise.
15912 (ilogb_test_data): Likewise.
15913 (isfinite_test_data): Likewise.
15914 (isgreater_test_data): Likewise.
15915 (isgreaterequal_test_data): Likewise.
15916 (isinf_test_data): Likewise.
15917 (isless_test_data): Likewise.
15918 (islessequal_test_data): Likewise.
15919 (islessgreater_test_data): Likewise.
15920 (isnan_test_data): Likewise.
15921 (isnormal_test_data): Likewise.
15922 (issignaling_test_data): Likewise.
15923 (isunordered_test_data): Likewise.
15924 (ldexp_test_data): Likewise.
15925 (lrint_test_data): Likewise.
15926 (lrint_test_data) [TEST_FLOAT]: Disable one test.
15927 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15928 (lrint_tonearest_test_data): Test for "inexact" exceptions.
15929 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15930 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15931 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15932 test input.
15933 (lrint_towardzero_test_data): Test for "inexact" exceptions.
15934 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15935 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15936 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15937 that test input.
15938 (lrint_downward_test_data): Test for "inexact" exceptions.
15939 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15940 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15941 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15942 test input.
15943 (lrint_upward_test_data): Test for "inexact" exceptions.
15944 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15945 test input.
15946 (llrint_test_data): Test for "inexact" exceptions.
15947 (llrint_test_data) [TEST_FLOAT]: Disable one test.
15948 (llrint_tonearest_test_data): Test for "inexact" exceptions.
15949 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15950 (llrint_towardzero_test_data): Test for "inexact" exceptions.
15951 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15952 (llrint_downward_test_data): Test for "inexact" exceptions.
15953 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15954 (llrint_upward_test_data): Test for "inexact" exceptions.
15955 (logb_test_data): Likewise.
15956 (logb_downward_test_data): Likewise.
15957 (nextafter_test_data): Likewise.
15958 (nexttoward_test_data): Likewise.
15959 (remainder_test_data): Likewise.
15960 (remquo_test_data): Likewise.
15961 (scalbn_test_data): Likewise.
15962 (scalbln_test_data): Likewise.
15963 (signbit_test_data): Likewise.
15964 (sqrt_test_data): Likewise.
15965 (significand_test_data): Likewise.
15966
48a18de1
SP
159672013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15968
15969 [BZ #15424]
15970 * benchtests/bench-modf.c (struct args): Mark arg0 as
15971 volatile.
15972 * scripts/bench.pl: Mark members of struct args as volatile.
15973
13d3b41a
AZ
159742013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15975
68191c1d 15976 [BZ # 15497]
13d3b41a
AZ
15977 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15978 negative infinity on POWER6 or lower.
15979 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15980
2848b105
MR
159812013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15982
15983 [BZ #15442]
15984 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15985 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15986 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15987 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15988 (_FP_SETQNAN): New macro.
15989 (_FP_SETQNAN_SEMIRAW): Likewise.
15990 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15991 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15992 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15993 (FP_EXTEND): Use _FP_FRAC_SNANP.
15994 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15995 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15996 into account.
15997 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15998 New macro.
15999 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16000 Likewise.
16001
323e5cb7
JM
160022013-05-16 Joseph Myers <joseph@codesourcery.com>
16003
c58b274f
JM
16004 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16005 with DIVIDE_BY_ZERO_EXCEPTION.
16006 (gamma_test_data): Likewise.
16007 (lgamma_test_data): Likewise.
16008 (log_test_data): Likewise.
16009 (log10_test_data): Likewise.
16010 (log2_test_data): Likewise.
16011 (tgamma_test_data): Likewise.
16012
0ab34904
JM
16013 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16014 (acos_test_tonearest): Likewise.
16015 (acos_test_towardzero): Likewise.
16016 (acos_test_downward): Likewise.
16017 (acos_test_upward): Likewise.
16018 (acosh_test): Likewise.
16019 (asin_test): Likewise.
16020 (asin_test_tonearest): Likewise.
16021 (asin_test_towardzero): Likewise.
16022 (asin_test_downward): Likewise.
16023 (asin_test_upward): Likewise.
16024 (asinh_test): Likewise.
16025 (atan_test): Likewise.
16026 (atanh_test): Likewise.
16027 (atan2_test): Likewise.
16028 (cabs_test): Likewise.
16029 (cacos_test): Likewise.
16030 (cacosh_test): Likewise.
16031 (casin_test): Likewise.
16032 (casinh_test): Likewise.
16033 (catan_test): Likewise.
16034 (catanh_test): Likewise.
16035 (cbrt_test): Likewise.
16036 (ccos_test): Likewise.
16037 (ccosh_test): Likewise.
16038 (cexp_test): Likewise.
16039 (clog_test): Likewise.
16040 (clog10_test): Likewise.
16041 (cos_test): Likewise.
16042 (cos_test_tonearest): Likewise.
16043 (cos_test_towardzero): Likewise.
16044 (cos_test_downward): Likewise.
16045 (cos_test_upward): Likewise.
16046 (cosh_test): Likewise.
16047 (cosh_test_tonearest): Likewise.
16048 (cosh_test_towardzero): Likewise.
16049 (cosh_test_downward): Likewise.
16050 (cosh_test_upward): Likewise.
16051 (cpow_test): Likewise.
16052 (csin_test): Likewise.
16053 (csinh_test): Likewise.
16054 (csqrt_test): Likewise.
16055 (ctan_test): Likewise.
16056 (ctan_test_tonearest): Likewise.
16057 (ctan_test_towardzero): Likewise.
16058 (ctan_test_downward): Likewise.
16059 (ctan_test_upward): Likewise.
16060 (ctanh_test): Likewise.
16061 (ctanh_test_tonearest): Likewise.
16062 (ctanh_test_towardzero): Likewise.
16063 (ctanh_test_downward): Likewise.
16064 (ctanh_test_upward): Likewise.
16065 (erf_test): Likewise.
16066 (erfc_test): Likewise.
16067 (exp_test): Likewise.
16068 (exp_test_tonearest): Likewise.
16069 (exp_test_towardzero): Likewise.
16070 (exp_test_downward): Likewise.
16071 (exp_test_upward): Likewise.
16072 (exp10_test): Likewise.
16073 (exp2_test): Likewise.
16074 (expm1_test): Likewise.
16075 (fmod_test): Likewise.
16076 (gamma_test): Likewise.
16077 (hypot_test): Likewise.
16078 (j0_test): Likewise.
16079 (j1_test): Likewise.
16080 (jn_test): Likewise.
16081 (lgamma_test): Likewise.
16082 (log_test): Likewise.
16083 (log10_test): Likewise.
16084 (log1p_test): Likewise.
16085 (log2_test): Likewise.
16086 (logb_test_downward): Likewise.
16087 (pow_test): Likewise.
16088 (pow_test_tonearest): Likewise.
16089 (pow_test_towardzero): Likewise.
16090 (pow_test_downward): Likewise.
16091 (pow_test_upward): Likewise.
16092 (remainder_test): Likewise.
16093 (remquo_test): Likewise.
16094 (sin_test): Likewise.
16095 (sin_test_tonearest): Likewise.
16096 (sin_test_towardzero): Likewise.
16097 (sin_test_downward): Likewise.
16098 (sin_test_upward): Likewise.
16099 (sincos_test): Likewise.
16100 (sinh_test): Likewise.
16101 (sinh_test_tonearest): Likewise.
16102 (sinh_test_towardzero): Likewise.
16103 (sinh_test_downward): Likewise.
16104 (sinh_test_upward): Likewise.
16105 (sqrt_test): Likewise.
16106 (tan_test): Likewise.
16107 (tan_test_tonearest): Likewise.
16108 (tan_test_towardzero): Likewise.
16109 (tan_test_downward): Likewise.
16110 (tan_test_upward): Likewise.
16111 (tanh_test): Likewise.
16112 (tgamma_test): Likewise.
16113 (y0_test): Likewise.
16114 (y1_test): Likewise.
16115 (yn_test): Likewise.
16116
323e5cb7
JM
16117 * math/gen-libm-test.pl (adjust_arg): Remove function.
16118 (special_function): Remove argument $in_func. Only handle
16119 generating output for tables of tests, not inside functions.
16120 (parse_args): Likewise.
16121 (generate_testfile): Remove variable $in_func. Update call to
16122 parse_args.
16123 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16124 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16125 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16126 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16127 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16128 (MAX_VALUE_INIT): Rename macro to max_value.
16129 (MIN_VALUE_INIT): Rename macro to min_value.
16130 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16131 (plus_zero): Remove variable.
16132 (minus_zero): Likewise.
16133 (plus_infty): Likewise.
16134 (minus_infty): Likewise.
16135 (qnan_value): Likewise.
16136 (max_value): Likewise.
16137 (min_value): Likewise.
16138 (min_subnorm_value): Likewise.
16139
e054f494
RA
161402013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16141
16142 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16143 uint64_t or uint32_t usage.
16144 * crypt/sha256-block.c: Likewise.
16145 * crypt/sha256-crypt.c: Likewise.
16146 * crypt/sha256.c: Likewise.
16147 * crypt/sha512-block.c: Likewise.
16148 * crypt/sha512-crypt.c: Likewise.
16149 * crypt/sha512.c: Likewise.
16150 * debug/backtrace-tst.c: Likewise.
16151 * debug/pcprofiledump.c: Likewise.
16152 * elf/cache.c: Likewise.
16153 * elf/dl-cache.c: Likewise.
16154 * elf/dl-misc.c: Likewise.
16155 * elf/dl-profile.c: Likewise.
16156 * elf/dl-support.c: Likewise.
16157 * elf/ldconfig.c: Likewise.
16158 * elf/sprof.c: Likewise.
16159 * iconv/dummy-repertoire.c: Likewise.
16160 * iconv/iconv_charmap.c: Likewise.
16161 * iconv/skeleton.c: Likewise.
16162 * iconvdata/8bit-generic.c: Likewise.
16163 * iconvdata/cp737.h: Likewise.
16164 * iconvdata/cp775.h: Likewise.
16165 * iconvdata/ibm1008.h: Likewise.
16166 * iconvdata/ibm1025.h: Likewise.
16167 * iconvdata/ibm1046.h: Likewise.
16168 * iconvdata/ibm1097.h: Likewise.
16169 * iconvdata/ibm1112.h: Likewise.
16170 * iconvdata/ibm1122.h: Likewise.
16171 * iconvdata/ibm1123.h: Likewise.
16172 * iconvdata/ibm1124.h: Likewise.
16173 * iconvdata/ibm1129.h: Likewise.
16174 * iconvdata/ibm1130.h: Likewise.
16175 * iconvdata/ibm1132.h: Likewise.
16176 * iconvdata/ibm1133.h: Likewise.
16177 * iconvdata/ibm1137.h: Likewise.
16178 * iconvdata/ibm1140.h: Likewise.
16179 * iconvdata/ibm1141.h: Likewise.
16180 * iconvdata/ibm1142.h: Likewise.
16181 * iconvdata/ibm1143.h: Likewise.
16182 * iconvdata/ibm1144.h: Likewise.
16183 * iconvdata/ibm1145.h: Likewise.
16184 * iconvdata/ibm1146.h: Likewise.
16185 * iconvdata/ibm1147.h: Likewise.
16186 * iconvdata/ibm1148.h: Likewise.
16187 * iconvdata/ibm1149.h: Likewise.
16188 * iconvdata/ibm1153.h: Likewise.
16189 * iconvdata/ibm1154.h: Likewise.
16190 * iconvdata/ibm1155.h: Likewise.
16191 * iconvdata/ibm1156.h: Likewise.
16192 * iconvdata/ibm1157.h: Likewise.
16193 * iconvdata/ibm1158.h: Likewise.
16194 * iconvdata/ibm1160.h: Likewise.
16195 * iconvdata/ibm1161.h: Likewise.
16196 * iconvdata/ibm1162.h: Likewise.
16197 * iconvdata/ibm1163.h: Likewise.
16198 * iconvdata/ibm1164.h: Likewise.
16199 * iconvdata/ibm1166.h: Likewise.
16200 * iconvdata/ibm1167.h: Likewise.
16201 * iconvdata/ibm12712.h: Likewise.
16202 * iconvdata/ibm1390.h: Likewise.
16203 * iconvdata/ibm1399.h: Likewise.
16204 * iconvdata/ibm16804.h: Likewise.
16205 * iconvdata/ibm4517.h: Likewise.
16206 * iconvdata/ibm4899.h: Likewise.
16207 * iconvdata/ibm4909.h: Likewise.
16208 * iconvdata/ibm4971.h: Likewise.
16209 * iconvdata/ibm5347.h: Likewise.
16210 * iconvdata/ibm803.h: Likewise.
16211 * iconvdata/ibm856.h: Likewise.
16212 * iconvdata/ibm901.h: Likewise.
16213 * iconvdata/ibm902.h: Likewise.
16214 * iconvdata/ibm9030.h: Likewise.
16215 * iconvdata/ibm9066.h: Likewise.
16216 * iconvdata/ibm921.h: Likewise.
16217 * iconvdata/ibm922.h: Likewise.
16218 * iconvdata/ibm9448.h: Likewise.
16219 * iconvdata/isiri-3342.h: Likewise.
16220 * iconvdata/jis0201.h: Likewise.
16221 * include/link.h: Likewise.
16222 * include/netdb.h: Likewise.
16223 * inet/check_native.c: Likewise.
16224 * inet/check_pf.c: Likewise.
16225 * inet/getipv4sourcefilter.c: Likewise.
16226 * inet/getnameinfo.c: Likewise.
16227 * inet/getsourcefilter.c: Likewise.
16228 * inet/htonl.c: Likewise.
16229 * inet/setipv4sourcefilter.c: Likewise.
16230 * inet/setsourcefilter.c: Likewise.
16231 * inet/test-inet6_opt.c: Likewise.
16232 * inet/tst-network.c: Likewise.
16233 * locale/C-collate.c: Likewise.
16234 * locale/C-ctype.c: Likewise.
16235 * locale/C-time.c: Likewise.
16236 * locale/C-translit.h: Likewise.
16237 * locale/loadarchive.c: Likewise.
16238 * locale/programs/3level.h: Likewise.
16239 * locale/programs/charmap.c: Likewise.
16240 * locale/programs/charmap.h: Likewise.
16241 * locale/programs/ld-address.c: Likewise.
16242 * locale/programs/ld-collate.c: Likewise.
16243 * locale/programs/ld-ctype.c: Likewise.
16244 * locale/programs/ld-identification.c: Likewise.
16245 * locale/programs/ld-measurement.c: Likewise.
16246 * locale/programs/ld-messages.c: Likewise.
16247 * locale/programs/ld-monetary.c: Likewise.
16248 * locale/programs/ld-name.c: Likewise.
16249 * locale/programs/ld-numeric.c: Likewise.
16250 * locale/programs/ld-paper.c: Likewise.
16251 * locale/programs/ld-telephone.c: Likewise.
16252 * locale/programs/ld-time.c: Likewise.
16253 * locale/programs/linereader.c: Likewise.
16254 * locale/programs/locale.c: Likewise.
16255 * locale/programs/locarchive.c: Likewise.
16256 * locale/programs/locfile.h: Likewise.
16257 * locale/programs/repertoire.c: Likewise.
16258 * locale/programs/simple-hash.c: Likewise.
16259 * locale/programs/simple-hash.h: Likewise.
16260 * malloc/memusage.c: Likewise.
16261 * malloc/memusagestat.c: Likewise.
16262 * nis/nis_defaults.c: Likewise.
16263 * nis/nis_hash.c: Likewise.
16264 * nis/nis_print.c: Likewise.
16265 * nis/nis_xdr.c: Likewise.
16266 * nscd/connections.c: Likewise.
16267 * nscd/hstcache.c: Likewise.
16268 * nscd/nscd_gethst_r.c: Likewise.
16269 * nscd/nscd_getserv_r.c: Likewise.
16270 * nscd/nscd_helper.c: Likewise.
16271 * nscd/servicescache.c: Likewise.
16272 * nss/makedb.c: Likewise.
16273 * nss/nss_db/db-XXX.c: Likewise.
16274 * nss/nss_db/db-initgroups.c: Likewise.
16275 * nss/nss_db/db-netgrp.c: Likewise.
16276 * nss/nss_files/files-network.c: Likewise.
16277 * nss/nss_files/files-parse.c: Likewise.
16278 * posix/bug-regex5.c: Likewise.
16279 * posix/fnmatch_loop.c: Likewise.
16280 * posix/regcomp.c: Likewise.
16281 * posix/regexec.c: Likewise.
16282 * posix/tst-rfc3484-2.c: Likewise.
16283 * posix/tst-rfc3484-3.c: Likewise.
16284 * posix/tst-rfc3484.c: Likewise.
16285 * resolv/nss_dns/dns-canon.c: Likewise.
16286 * resolv/nss_dns/dns-network.c: Likewise.
16287 * resolv/res_init.c: Likewise.
16288 * resolv/res_mkquery.c: Likewise.
16289 * resolv/tst-aton.c: Likewise.
16290 * stdlib/cxa_atexit.c: Likewise.
16291 * stdlib/cxa_finalize.c: Likewise.
16292 * stdlib/gen-fpioconst.c: Likewise.
16293 * stdlib/strtol_l.c: Likewise.
16294 * string/tst-endian.c: Likewise.
16295 * sunrpc/auth_des.c: Likewise.
16296 * sunrpc/clnt_udp.c: Likewise.
16297 * sunrpc/rtime.c: Likewise.
16298 * sunrpc/svcauth_des.c: Likewise.
16299 * sunrpc/xdr.c: Likewise.
16300 * sunrpc/xdr_intXX_t.c: Likewise.
16301 * sunrpc/xdr_rec.c: Likewise.
16302 * sysdeps/generic/ldconfig.h: Likewise.
16303 * sysdeps/generic/ldsodefs.h: Likewise.
16304 * sysdeps/generic/memusage.h: Likewise.
16305 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16306 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16307 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16308 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16309 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16310 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16311 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16312 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16313 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16314 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16315 * sysdeps/posix/getaddrinfo.c: Likewise.
16316 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16317 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16318 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16319 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16320 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16321 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16322 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16323 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16324 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16325 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16326 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16327 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16328 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16329 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16330 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16331 * sysdeps/x86_64/dl-tls.h: Likewise.
16332 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16333 * time/alt_digit.c: Likewise.
16334 * time/era.c: Likewise.
16335 * wcsmbs/tst-c16c32-1.c: Likewise.
16336
8c75f674
JM
163372013-05-16 Joseph Myers <joseph@codesourcery.com>
16338
16339 * math/libm-test.inc (struct test_sincos_data): New type.
16340 (RUN_TEST_LOOP_sincos): New macro.
16341 (sincos_test_data): New variable.
16342 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16343
e6e49e59
RH
163442013-05-16 Richard Henderson <rth@redhat.com>
16345
16346 * math/atest-exp2.c (LIMB64): New macro.
16347 (CONSTSZ): New macro.
16348 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16349 (hexdig): Move ...
16350 (print_mpn_fp): ... to function scope.
16351 (read_mpn_hex): Remove.
16352 (get_log2): Remove.
16353 (exp2_mpn): Use mp_log2.
16354 (main): Use mp_exp1.
16355
15c7c18d
JM
163562013-05-16 Joseph Myers <joseph@codesourcery.com>
16357
105a07df
JM
16358 * math/libm-test.inc: Remove comment about not testing "inexact"
16359 exceptions.
16360 (INEXACT_EXCEPTION): New macro.
16361 (NO_INEXACT_EXCEPTION): Likewise.
16362 (INVALID_EXCEPTION_OK): Update value.
16363 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16364 (OVERFLOW_EXCEPTION_OK): Likewise.
16365 (UNDERFLOW_EXCEPTION_OK): Likewise.
16366 (IGNORE_ZERO_INF_SIGN): Likewise.
16367 (ERRNO_UNCHANGED): Likewise.
16368 (ERRNO_EDOM): Likewise.
16369 (ERRNO_ERANGE): Likewise.
16370 (test_exceptions): Handle testing "inexact" exceptions.
16371 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16372 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16373 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16374 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16375 INEXACT_EXCEPTION.
16376 (rint_towardzero_test_data): Likewise.
16377 (rint_downward_test_data): Likewise.
16378 (rint_upward_test_data): Likewise.
16379
e9eee333
JM
16380 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16381 with OVERFLOW_EXCEPTION.
16382 (exp10_test_data): Likewise.
16383 (exp2_test_data): Likewise.
16384 (expm1_test_data): Likewise.
16385 (lgamma_test_data): Likewise.
16386 (pow_test_data): Likewise.
16387 (tgamma_test_data): Likewise.
16388 (yn_test_data): Remove duplicate test of overflow.
16389
1c38ff73
JM
16390 * math/libm-test.inc (struct test_cc_c_data): New type.
16391 (RUN_TEST_LOOP_cc_c): New macro.
16392 (cpow_test_data): New variable.
16393 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16394
15c7c18d
JM
16395 * math/libm-test.inc (struct test_f_L_data): New type.
16396 (RUN_TEST_LOOP_f_L): New macro.
16397 (llrint_test_data): New variable.
16398 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16399 (llrint_tonearest_test_data): New variable.
16400 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16401 (llrint_towardzero_test_data): New variable.
16402 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16403 (llrint_downward_test_data): New variable.
16404 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16405 (llrint_upward_test_data): New variable.
16406 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16407 (llround_test_data): New variable.
16408 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16409
f137ff13
PC
164102013-05-13 Peter Collingbourne <pcc@google.com>
16411
16412 * math/atest-exp2.c (get_log2): Remove const attribute.
16413
3608cb24
JM
164142013-05-15 Joseph Myers <joseph@codesourcery.com>
16415
16416 * math/libm-test.inc (struct test_f_l_data): New type.
16417 (RUN_TEST_LOOP_f_l): New macro.
16418 (lrint_test_data): New variable.
16419 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16420 (lrint_tonearest_test_data): New variable.
16421 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16422 (lrint_towardzero_test_data): New variable.
16423 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16424 (lrint_downward_test_data): New variable.
16425 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16426 (lrint_upward_test_data): New variable.
16427 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16428 (lround_test_data): New variable.
16429 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16430
39b1f617
PC
164312013-05-15 Peter Collingbourne <pcc@google.com>
16432
1deff3dc
PC
16433 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16434 (EXTRACT_WORDS64) Use where appropriate.
16435 (INSERT_WORDS64) Likewise.
16436
791f3ba0
PC
16437 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16438 constraints with x constraints.
16439 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16440
39b1f617
PC
16441 * malloc/obstack.c (_obstack_compat): Add initializer.
16442
12fba011
EM
164432013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16444
16445 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16446 si_trapno and add si_addr_lsb to _sifields.sigfault.
16447 (si_trapno): Remove macro.
16448 (si_addr_lsb): Define new macro.
16449 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16450
d369f531
JM
164512013-05-15 Joseph Myers <joseph@codesourcery.com>
16452
b861c6c4
JM
16453 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16454 instead of TEST_f_l.
16455 (llrint_test_tonearest): Likewise.
16456 (llrint_test_towardzero): Likewise.
16457 (llrint_test_downward): Likewise.
16458 (llrint_test_upward): Likewise.
16459 (llround_test): Likewise.
16460
7abeee12
JM
16461 * math/libm-test.inc (struct test_f_i_data): Add comment.
16462 (RUN_TEST_LOOP_f_b): New macro.
16463 (RUN_TEST_LOOP_f_b_tg): Likewise.
16464 (finite_test_data): New variable.
16465 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16466 (isfinite_test_data): New variable.
16467 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16468 (isinf_test_data): New variable.
16469 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16470 (isnan_test_data): New variable.
16471 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16472 (isnormal_test_data): New variable.
16473 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16474 (issignaling_test_data): New variable.
16475 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16476 (signbit_test_data): New variable.
16477 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16478
cbe8c4d3
JM
16479 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16480 with INVALID_EXCEPTION.
16481 (acosh_test_data): Likewise.
16482 (asin_test_data): Likewise.
16483 (atanh_test_data): Likewise.
16484 (fmod_test_data): Likewise.
16485 (log_test_data): Likewise.
16486 (log10_test_data): Likewise.
16487 (log2_test_data): Likewise.
16488 (pow_test_data): Likewise.
16489 (sqrt_test_data): Likewise.
16490 (y0_test_data): Likewise.
16491 (y1_test_data): Likewise.
16492 (yn_test_data): Likewise.
16493
5575c0e5
JM
16494 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
16495 function contents.
16496
d369f531
JM
16497 * math/libm-test.inc (struct test_ff_i_data): New type.
16498 (RUN_TEST_LOOP_ff_i_tg): New macro.
16499 (isgreater_test_data): New variable.
16500 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16501 (isgreaterequal_test_data): New variable.
16502 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16503 (isless_test_data): New variable.
16504 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16505 (islessequal_test_data): New variable.
16506 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16507 (islessgreater_test_data): New variable.
16508 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16509 (isunordered_test_data): New variable.
16510 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
16511
781fd748
DM
165122013-05-14 David S. Miller <davem@davemloft.net>
16513
16514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16515
87aa21df
JM
165162013-05-14 Joseph Myers <joseph@codesourcery.com>
16517
5e908270
JM
16518 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
16519
f71172e5
JM
16520 * math/libm-test.inc (struct test_fF_f1_data): Change type of
16521 extra_test to int.
16522 (struct test_f_i_data): Change type of max_ulp to int.
16523
8cfa635a
JM
16524 * math/libm-test.inc (test_ffI_f1_data): New type.
16525 (RUN_TEST_LOOP_ffI_f1): New macro.
16526 (remquo_test_data): New variable.
16527 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
16528
2bcb36b2
JM
16529 * setjmp/tst-setjmp-fp.c: New file.
16530 * setjmp/Makefile (tests): Add tst-setjmp-fp.
16531 (link-libm): New variable.
16532 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
16533
acbd839a
JM
16534 * math/libm-test.inc (struct test_f_i_data): New type.
16535 (RUN_TEST_LOOP_f_i): New macro.
16536 (RUN_TEST_LOOP_f_i_tg): Likewise.
16537 (fpclassify_test_data): New variable.
16538 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
16539 (ilogb_test_data): New variable.
16540 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16541
e414d745
JM
16542 * math/libm-test.inc (scalbln_test): Correct function name in END
16543 call.
16544
d9c2a0fd
JM
16545 * math/libm-test.inc (struct test_f_f1_data): Add comment.
16546 (RUN_TEST_LOOP_fI_f1): New macro.
16547 (frexp_test_data): New variable.
16548 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
16549
9dc9095d
JM
16550 * math/libm-test.inc (struct test_fF_f1_data): New type.
16551 (RUN_TEST_LOOP_fF_f1): New macro.
16552 (modf_test_data): New variable.
16553 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
16554
87aa21df
JM
16555 * math/libm-test.inc (struct test_f_f1_data): New type.
16556 (RUN_TEST_LOOP_f_f1): New macro.
16557 (gamma_test_data): New variable.
16558 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16559 (lgamma_test_data): New variable.
16560 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
16561
141af660
CD
165622013-05-13 Carlos O'Donell <carlos@redhat.com>
16563
16564 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
16565 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
16566 (main): Comment "tls" pseudo-hwcap.
16567
6d33265c
JM
165682013-05-13 Joseph Myers <joseph@codesourcery.com>
16569
68fc074c
JM
16570 * math/libm-test.inc (struct test_fl_f_data): New type.
16571 (RUN_TEST_LOOP_fl_f): New variable.
16572 (scalbln_test_data): New variable.
16573 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
16574
243216e1
JM
16575 * math/libm-test.inc (struct test_fi_f_data): New type.
16576 (RUN_TEST_LOOP_fi_f): New macro.
16577 (ldexp_test_data): New variable.
16578 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
16579 (scalbn_test_data): New variable.
16580 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
16581
6a1992e2
JM
16582 * math/libm-test.inc (struct test_c_f_data): New type.
16583 (RUN_TEST_LOOP_c_f): New macro.
16584 (cabs_test_data): New variable.
16585 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
16586 (carg_test_data): New variable.
16587 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16588 (cimag_test_data): New variable.
16589 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
16590 (creal_test_data): New variable.
16591 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
16592
0e400df5
JM
16593 * math/libm-test.inc (struct test_if_f_data): New type.
16594 (RUN_TEST_LOOP_if_f): New macro.
16595 (jn_test_data): New variable.
16596 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
16597 (yn_test_data): New variable.
16598 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
16599
6d33265c
JM
16600 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
16601
f98ece5f
AZ
166022013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16603
16604 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
16605 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
16606
0f7d347b
SP
166072013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16608
43fe811b
SP
16609 * benchtests/Makefile (CPPFLAGS-nonlib): Add
16610 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
16611 (bench-deps): Add bench-timing.h.
16612 * benchtests-bench-skeleton.c: Include bench-timing.h.
16613 (main): Use TIMING_* macros instead of clock_gettime.
16614 * benchtests/bench-timing.h: New file.
16615
0f7d347b
SP
16616 [BZ #14582]
16617 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
16618 Renamed from _LIB_VERSION.
16619 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
16620
601a3a5f
JM
166212013-05-12 Joseph Myers <joseph@codesourcery.com>
16622
4f184d30
JM
16623 * math/libm-test.inc (struct test_fff_f_data): New type.
16624 (RUN_TEST_LOOP_fff_f): New macro.
16625 (fma_test_data): New variable.
16626 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
16627 (fma_towardzero_test_data): New variable.
16628 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16629 (fma_downward_test_data): New variable.
16630 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
16631 (fma_upward_test_data): New variable.
16632 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
16633
08198877
JM
16634 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
16635 (struct test_c_c_data): New type.
16636 (RUN_TEST_LOOP_c_c): New macro.
16637 (cacos_test_data): New variable.
16638 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
16639 (cacosh_test_data): New variable.
16640 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
16641 (casin_test_data): New variable.
16642 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
16643 (casinh_test_data): New variable.
16644 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
16645 (catan_test_data): New variable.
16646 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
16647 (catanh_test_data): New variable.
16648 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
16649 (ccos_test_data): New variable.
16650 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
16651 (ccosh_test_data): New variable.
16652 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
16653 (cexp_test_data): New variable.
16654 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
16655 (clog_test_data): New variable.
16656 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
16657 (clog10_test_data): New variable.
16658 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
16659 (conj_test_data): New variable.
16660 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
16661 (cproj_test_data): New variable.
16662 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
16663 (csin_test_data): New variable.
16664 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
16665 (csinh_test_data): New variable.
16666 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
16667 (csqrt_test_data): New variable.
16668 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
16669 (ctan_test_data): New variable.
16670 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
16671 (ctan_tonearest_test_data): New variable.
16672 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16673 (ctan_towardzero_test_data): New variable.
16674 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16675 (ctan_downward_test_data): New variable.
16676 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16677 (ctan_upward_test_data): New variable.
16678 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16679 (ctanh_test_data): New variable.
16680 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
16681 (ctanh_tonearest_test_data): New variable.
16682 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
16683 (ctanh_towardzero_test_data): New variable.
16684 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
16685 (ctanh_downward_test_data): New variable.
16686 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
16687 (ctanh_upward_test_data): New variable.
16688 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
16689 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
16690 of BUILD_COMPLEX.
16691
601a3a5f
JM
16692 * math/libm-test.inc (struct test_ff_f_data): New type.
16693 (struct test_ff_f_data_nexttoward): Likewise.
16694 (RUN_TEST_LOOP_2_f): New macro.
16695 (RUN_TEST_LOOP_ff_f): Likewise.
16696 (atan2_test_data): New variable.
16697 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
16698 (copysign_test_data): New variable.
16699 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
16700 (fdim_test_data): New variable.
16701 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
16702 (fmax_test_data): New variable.
16703 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
16704 (fmin_test_data): New variable.
16705 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
16706 (fmod_test_data): New variable.
16707 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
16708 (hypot_test_data): New variable.
16709 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16710 (nextafter_test_data): New variable.
16711 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16712 (nexttoward_test_data): New variable.
16713 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16714 (pow_test_data): New variable.
16715 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16716 (pow_tonearest_test_data): New variable.
16717 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16718 (pow_towardzero_test_data): New variable.
16719 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16720 (pow_downward_test_data): New variable.
16721 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16722 (pow_upward_test_data): New variable.
16723 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16724 (remainder_test_data): New variable.
16725 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16726 (scalb_test_data): New variable.
16727 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16728 * sysdeps/i386/fpu/libm-test-ulps: Update.
16729
74c57478
JM
167302013-05-11 Joseph Myers <joseph@codesourcery.com>
16731
8329e4da
JM
16732 * math/libm-test.inc (fma_test): Use max_value instead of local
16733 variable fltmax.
16734 (nextafter_test): Likewise.
16735
74c57478
JM
16736 * math/libm-test.inc (acos_towardzero_test_data): New variable.
16737 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16738 (acos_downward_test_data): New variable.
16739 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16740 (acos_upward_test_data): New variable.
16741 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16742 (acosh_test_data): New variable.
16743 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16744 (asin_test_data): New variable.
16745 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16746 (asin_tonearest_test_data): New variable.
16747 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16748 (asin_towardzero_test_data): New variable.
16749 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16750 (asin_downward_test_data): New variable.
16751 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16752 (asin_upward_test_data): New variable.
16753 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16754 (asinh_test_data): New variable.
16755 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16756 (atan_test_data): New variable.
16757 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16758 (atanh_test_data): New variable.
16759 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16760 (cbrt_test_data): New variable.
16761 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16762 (ceil_test_data): New variable.
16763 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16764 (cos_test_data): New variable.
16765 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16766 (cos_tonearest_test_data): New variable.
16767 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16768 (cos_towardzero_test_data): New variable.
16769 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16770 (cos_downward_test_data): New variable.
16771 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16772 (cos_upward_test_data): New variable.
16773 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16774 (cosh_test_data): New variable.
16775 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16776 (cosh_tonearest_test_data): New variable.
16777 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16778 (cosh_towardzero_test_data): New variable.
16779 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16780 (cosh_downward_test_data): New variable.
16781 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16782 (cosh_upward_test_data): New variable.
16783 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16784 (erf_test_data): New variable.
16785 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16786 (erfc_test_data): New variable.
16787 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16788 (exp_test_data): New variable.
16789 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16790 (exp_tonearest_test_data): New variable.
16791 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16792 (exp_towardzero_test_data): New variable.
16793 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16794 (exp_downward_test_data): New variable.
16795 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16796 (exp_upward_test_data): New variable.
16797 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16798 (exp10_test_data): New variable.
16799 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16800 (exp2_test_data): New variable.
16801 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16802 (expm1_test_data): New variable.
16803 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16804 (fabs_test_data): New variable.
16805 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16806 (floor_test_data): New variable.
16807 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16808 (j0_test_data): New variable.
16809 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16810 (j1_test_data): New variable.
16811 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16812 (log_test_data): New variable.
16813 (log_test): Run tests with RUN_TEST_LOOP_f_f.
16814 (log10_test_data): New variable.
16815 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16816 (log1p_test_data): New variable.
16817 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16818 (log2_test_data): New variable.
16819 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16820 (logb_test_data): New variable.
16821 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16822 (logb_downward_test_data): New variable.
16823 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16824 (nearbyint_test_data): New variable.
16825 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16826 (rint_test_data): New variable.
16827 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16828 (rint_tonearest_test_data): New variable.
16829 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16830 (rint_towardzero_test_data): New variable.
16831 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16832 (rint_downward_test_data): New variable.
16833 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16834 (rint_upward_test_data): New variable.
16835 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16836 (round_test_data): New variable.
16837 (round_test): Run tests with RUN_TEST_LOOP_f_f.
16838 (sin_test_data): New variable.
16839 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16840 (sin_tonearest_test_data): New variable.
16841 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16842 (sin_towardzero_test_data): New variable.
16843 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16844 (sin_downward_test_data): New variable.
16845 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16846 (sin_upward_test_data): New variable.
16847 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16848 (sinh_test_data): New variable.
16849 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16850 (sinh_tonearest_test_data): New variable.
16851 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16852 (sinh_towardzero_test_data): New variable.
16853 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16854 (sinh_downward_test_data): New variable.
16855 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16856 (sinh_upward_test_data): New variable.
16857 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16858 (sqrt_test_data): New variable.
16859 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16860 (tan_test_data): New variable.
16861 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16862 (tan_tonearest_test_data): New variable.
16863 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16864 (tan_towardzero_test_data): New variable.
16865 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16866 (tan_downward_test_data): New variable.
16867 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16868 (tan_upward_test_data): New variable.
16869 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16870 (tanh_test_data): New variable.
16871 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16872 (tgamma_test_data): New variable.
16873 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16874 (trunc_test_data): New variable.
16875 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16876 (y0_test_data): New variable.
16877 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16878 (y1_test_data): New variable.
16879 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16880 (significand_test_data): New variable.
16881 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16882
7187d844
CG
168832013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
16884
16885 [BZ #12387]
16886 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16887
f63fae73
PT
168882013-05-10 Pino Toscano <toscano.pino@tiscali.it>
16889
16890 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16891
8a67a4b3
AJ
168922013-05-10 Andreas Jaeger <aj@suse.de>
16893
16894 [BZ #15448]
16895 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16896 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16897
51df539d
JM
168982013-05-10 Joseph Myers <joseph@codesourcery.com>
16899
16900 * math/gen-libm-test.pl (adjust_arg): New function.
16901 (special_functions): Handle generating output in both functions
16902 and arrays.
16903 (parse_args): Likewise.
16904 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
16905 $in_func argument to parse_args.
16906 * math/libm-test.inc (struct test_f_f_data): New type.
16907 (IF_ROUND_INIT_): New macro.
16908 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16909 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16910 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16911 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16912 (ROUND_RESTORE_): Likewise.
16913 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16914 (ROUND_RESTORE_FE_TONEAREST): Likewise.
16915 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16916 (ROUND_RESTORE_FE_UPWARD): Likewise.
16917 (RUN_TEST_LOOP_f_f): New macro.
16918 (acos_test_data): New variable.
16919 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16920 (acos_tonearest_test_data): New variable.
16921 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16922
5c637fe5
SP
169232013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16924
16925 * benchtests/bench-skeleton.c (startup): Fix coding style.
16926
ab2b9461
JM
169272013-05-10 Joseph Myers <joseph@codesourcery.com>
16928
16929 [BZ #6809]
16930 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16931 negative infinity argument.
16932 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16933 negative infinity argument.
16934 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16935 negative infinity argument.
16936 * math/libm-test.inc (tgamma_test): Expect errno to be set for
16937 domain errors.
16938
4c0fe6fe
FW
169392013-05-10 Florian Weimer <fweimer@redhat.com>
16940
16941 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16942 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16943 * iconv/iconv_prog.c (main): Likewise.
16944 * locale/programs/charmap-dir.c (charmap_readdir)
16945 (fopen_uncompressed): Likewise.
16946 * locale/programs/locfile.c (siblings_uncached)
16947 (write_locale_data): Use lstat64 instead of lstat.
16948 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16949 stat.
16950
a3375d29
AJ
169512013-05-10 Andreas Jaeger <aj@suse.de>
16952
16953 [BZ #15395]
16954 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16955 localization.
16956 Include <locale.h>.
16957
36129722
CD
169582013-05-09 Carlos O'Donell <carlos@redhat.com>
16959
16960 * elf/dl-close.c (_dl_close_worker): Add comments.
16961
faa7f811
JM
169622013-05-09 Joseph Myers <joseph@codesourcery.com>
16963
ed41ffef
JM
16964 [BZ #15359]
16965 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16966 high part of pi/2.
16967 (__ieee754_rem_pio2l): Update comments.
16968
d0213cd0
JM
16969 [BZ #15429]
16970 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16971 high part of pi/2.
16972 (__ieee754_rem_pio2l): Update comments.
16973
0d3e777a
JM
16974 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16975 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16976
24f56066
JM
16977 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16978 M_PI_4l.
16979
faa7f811
JM
16980 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16981 (M_PI_34_LOG10El): Likewise.
16982 (M_PI2_LOG10El): Likewise.
16983 (M_PI4_LOG10El): Likewise.
16984 (M_PI_LOG10El): Likewise.
16985
e9a5e0fd
AZ
169862013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16987
16988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16989
d8cd06db
JM
169902013-05-08 Joseph Myers <joseph@codesourcery.com>
16991
a0d9f9d7
JM
16992 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16993 (MINUS_ZERO_INIT): Likewise.
16994 (PLUS_INFTY_INIT): Likewise.
16995 (MINUS_INFTY_INIT): Likewise.
16996 (QNAN_VALUE_INIT): Likewise.
16997 (MAX_VALUE_INIT): Likewise.
16998 (MIN_VALUE_INIT): Likewise.
16999 (MIN_SUBNORM_VALUE_INIT): Likewise.
17000 (plus_zero): Initialize with PLUS_ZERO_INIT.
17001 (minus_zero): Initialize with MINUS_ZERO_INIT.
17002 (plus_infty): Initialize with PLUS_INFTY_INIT.
17003 (minus_infty): Initialize with MINUS_INFTY_INIT.
17004 (qnan_value): Initialize with QNAN_VALUE_INIT.
17005 (max_value): Initialize with MAX_VALUE_INIT.
17006 (min_value): Initialize with MIN_VALUE_INIT.
17007 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17008
ae08db3b
JM
17009 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17010 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17011 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17012 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17013
f44bf14a
JM
17014 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17015 (RUN_TEST_2_f): Likewise.
17016 (RUN_TEST_ff_f): Likewise.
17017 (RUN_TEST_fi_f): Likewise.
17018 (RUN_TEST_fl_f): Likewise.
17019 (RUN_TEST_fff_f): Likewise.
17020 (RUN_TEST_c_f): Likewise.
17021 (RUN_TEST_f_f1): Likewise.
17022 (RUN_TEST_fF_f1): Likewise.
17023 (RUN_TEST_fI_f1): Likewise.
17024 (RUN_TEST_ffI_f1): Likewise.
17025 (RUN_TEST_c_c): Likewise.
17026 (RUN_TEST_cc_c): Likewise.
17027 (RUN_TEST_f_i): Likewise.
17028 (RUN_TEST_f_i_tg): Likewise.
17029 (RUN_TEST_ff_i_tg): Likewise.
17030 (RUN_TEST_f_b): Likewise.
17031 (RUN_TEST_f_b_tg): Likewise.
17032 (RUN_TEST_f_l): Likewise.
17033 (RUN_TEST_f_L): Likewise.
17034 (RUN_TEST_sincos): Likewise.
17035 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17036 whether to show exceptions. Do not include ");\n" in return
17037 value.
17038 (special_functions): Output call to RUN_TEST_sincos instead of
17039 check_float calls. Update calls to new_test.
17040 (parse_args): Output call to single RUN_TEST_* macro instead of
17041 check_* calls and other assignments. Update calls to new_test.
17042
d8cd06db
JM
17043 [BZ #2546]
17044 [BZ #2560]
17045 [BZ #5159]
17046 [BZ #15426]
17047 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17048 input to result for tgamma overflow.
17049 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17050 (gamma_coeff): New variable.
17051 (NCOEFF): New macro.
17052 (gamma_positive): New function.
17053 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17054 underflow here. Use gamma_positive instead of exp (lgamma) for
17055 other arguments.
17056 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17057 (gamma_coeff): New variable.
17058 (NCOEFF): New macro.
17059 (gammaf_positive): New function.
17060 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17061 underflow here. Use gamma_positive instead of exp (lgamma) for
17062 other arguments.
17063 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17064 (gamma_coeff): New variable.
17065 (NCOEFF): New macro.
17066 (gammal_positive): New function.
17067 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17068 underflow here. Use gamma_positive instead of exp (lgamma) for
17069 other arguments.
17070 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17071 (gamma_coeff): New variable.
17072 (NCOEFF): New macro.
17073 (gammal_positive): New function.
17074 (__ieee754_gammal_r): Handle positive infinity, overflow and
17075 underflow here. Handle NaN the same as positive infinity. Remove
17076 check x < 0xffffffff for negative integers. Use gamma_positive
17077 instead of exp (lgamma) for other arguments.
17078 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17079 (gamma_coeff): New variable.
17080 (NCOEFF): New macro.
17081 (gammal_positive): New function.
17082 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17083 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17084 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17085 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17086 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17087 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17088 * sysdeps/generic/math_private.h (__gamma_productf): New
17089 prototype.
17090 (__gamma_product): Likewise.
17091 (__gamma_productl): Likewise.
17092 * math/Makefile (libm-calls): Add gamma_product.
17093 * math/libm-test.inc (tgamma_test): Add more tests.
17094 * sysdeps/i386/fpu/libm-test-ulps: Update.
17095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17096
bb7cf681
OB
170972013-05-08 Ondřej Bílka <neleai@seznam.cz>
17098
17099 * benchtests/bench-skeleton.c (main): Preheat CPU.
17100
ba853947
AJ
171012013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17102
17103 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17104
8347c74c
RM
171052013-05-07 Roland McGrath <roland@hack.frob.com>
17106
17107 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17108 and _dl_skip_args_internal.
17109
e8dd4791
CD
171102013-05-07 Carlos O'Donell <carlos@redhat.com>
17111
17112 * manual/message.texi (Message Translation): Talk about users.
17113 Message to key mapping impacts design.
17114
c7405830
RM
171152013-05-06 Roland McGrath <roland@hack.frob.com>
17116
a9173057
RM
17117 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17118
976e2f03
RM
17119 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17120
9723ffc5
RM
17121 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17122 * sysdeps/wordsize-64/glob64.c: ... here.
17123
962e6658
RM
17124 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17125 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17126 New macros.
17127
ee586a6d
RM
17128 * debug/getlogin_r_chk.c: Moved to ...
17129 * login/getlogin_r_chk.c: ... here.
17130 * debug/Makefile (routines): Move getlogin_r_chk to ...
17131 * login/Makefile (routines): ... here.
17132 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17133 * login/Versions (libc: GLIBC_2.4): ... here.
17134
355f9165
RM
17135 * io/poll.c (__poll): Renamed from poll.
17136 Add libc_hidden_def.
17137 (poll): Define as weak alias.
17138
bd9ffde6
RM
17139 * debug/ptsname_r_chk.c: Moved to ...
17140 * login/ptsname_r_chk.c: ... here.
17141 * debug/Makefile (routines): Move ptsname_r_chk to ...
17142 * login/Makefile (routines): ... here.
17143 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17144 * login/Versions (libc: GLIBC_2.4): ... here.
17145
8fb16a04
RM
17146 * posix/getlogin.c: Moved to ...
17147 * login/getlogin.c: ... here.
17148 * posix/getlogin_r.c: Moved to ...
17149 * login/getlogin_r.c: ... here.
17150 * posix/getlogin_r.c: Moved to ...
17151 * login/getlogin_r.c: ... here.
17152 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17153 * login/Makefile (routines): ... here.
17154 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17155 * login/Versions (libc: GLIBC_2.0): ... here.
17156
b99b892f
RM
17157 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17158 (setrlimit): Define as weak alias.
17159
c7405830
RM
17160 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17161 Call __ names for open, ftruncate, and close.
17162 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17163 (truncate): Define as weak alias.
17164
5bf96de5
JM
171652013-05-06 Joseph Myers <joseph@codesourcery.com>
17166
9ea3513c
JM
17167 * math/gen-libm-test.pl (parse_args): Initialize x before each
17168 test of frexp, modf and remquo.
17169
5bf96de5
JM
17170 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17171 test signgam value.
17172
16e616a7
AZ
171732013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17174
17175 [BZ #15418]
17176 [BZ #15419]
17177 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17178 internal tests.
17179 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17180
d5e82754
RM
171812013-05-06 Roland McGrath <roland@hack.frob.com>
17182
17183 * elf/dl-writev.h: New file.
17184 * elf/dl-misc.c: Include it.
17185 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17186 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17187
a7548d41
JM
171882013-05-04 Joseph Myers <joseph@codesourcery.com>
17189
b7dab1e4
JM
17190 * math/libm-test.inc (noXFails): Remove variable.
17191 (noXPasses): Likewise.
17192 (BUILD_COMPLEX_INT): Remove macro.
17193 (print_screen): Remove xfail argument.
17194 (print_screen_max_error): Likewise.
17195 (update_stats): Likewise.
17196 (print_max_error): Likewise. Update calls to other affected
17197 functions.
17198 (print_complex_max_error): Likewise.
17199 (test_single_exception): Update calls to print_screen.
17200 (test_single_errno): Likewise.
17201 (check_float_internal): Remove xfail argument. Update calls to
17202 other affected functions.
17203 (check_float): Likewise.
17204 (check_complex): Likewise.
17205 (check_int): Likewise.
17206 (check_long): Likewise.
17207 (check_bool): Likewise.
17208 (check_longlong): Likewise.
17209 (main): Don't print noXFails and noXPasses.
17210 * math/gen-libm-test.pl (top level): Don't mention expected
17211 failure handling in comment.
17212 (new_test): Don't handle expected failures.
17213 (parse_args): Don't mention expected failure handling in comment.
17214 (generate_testfile): Don't handle expected failures.
17215 (parse_ulps): Likewise.
17216 (print_ulps_file): Likewise.
17217 (get_failure): Remove function.
17218 (output_test): Don't handle expected failures.
17219 * make/README.libm-test: Don't mention expected failure handling.
17220
a7548d41
JM
17221 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17222 (minus_zero): Likewise.
17223 (plus_infty): Likewise.
17224 (minus_infty): Likewise.
17225 (qnan_value): Likewise.
17226 (max_value): Likewise.
17227 (min_value): Likewise.
17228 (min_subnorm_value): Likewise.
17229 (initialize): Do not initialize those variables dynamically.
17230
60bfd54c
RM
172312013-05-03 Roland McGrath <roland@hack.frob.com>
17232
cc0e6ed8
RM
17233 * io/open.c (__open_2): Moved to ...
17234 * io/open_2.c: ... this new file.
17235 * io/open64.c (__open64_2): Moved to ...
17236 * io/open64_2.c: ... this new file.
17237 * io/openat.c (__openat_2): Moved to ...
17238 * io/openat_2.c: ... this new file.
17239 * io/openat64.c (__openat64_2): Moved to ...
17240 * io/openat64_2.c: ... this new file.
17241 * io/Makefile (routines): Add them.
17242 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17243 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17244 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17245 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17246 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17247 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17248 (__openat64): Add hidden_ver.
17249 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17250 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17251
60bfd54c
RM
17252 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17253 Separately conditionalize setting of GLRO(dl_sysinfo) so
17254 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17255 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17256
83e7640f
AZ
172572013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17258
17259 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17260 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17261 definition.
17262 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17263 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17264 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17265 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17266 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17267
d5dc2af3
JM
172682013-05-03 Joseph Myers <joseph@codesourcery.com>
17269
c31a5b1e
JM
17270 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17271 test signgam value.
17272
d5dc2af3
JM
17273 * math/libm-test.inc (hypot_test): Do not use
17274 IGNORE_ZERO_INF_SIGN.
17275
164fd39d
AJ
172762013-05-03 Andreas Jaeger <aj@suse.de>
17277
17278 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17279 Linux 3.9.
17280 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17281 (PF_MAX): Adjust for VSOCK change.
17282
8237f48c
AZ
172832013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17284
17285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17286
9df02941
CD
172872013-05-02 Carlos O'Donell <carlos@redhat.com>
17288
17289 [BZ #15264]
17290 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17291 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17292 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17293
d422395e
DM
172942013-05-02 David S. Miller <davem@davemloft.net>
17295
17296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17297
a07c5731
OB
172982013-05-01 Ondřej Bílka <neleai@seznam.cz>
17299
17300 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17301
1324e37f
RM
173022013-05-01 Roland McGrath <roland@hack.frob.com>
17303
17304 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17305
0695940b
RS
173062013-05-01 Richard Smith <richard@metafoo.co.uk>
17307
bb5f27ad 17308 [BZ #14952]
0695940b
RS
17309 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17310 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17311 Use __attribute__ ((__gnu_inline__)).
17312 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17313 Don't use __attribute__ ((__gnu_inline__)).
17314
10de07f5
JM
173152013-05-01 Joseph Myers <joseph@codesourcery.com>
17316
17317 [BZ #15423]
17318 * math/s_catan.c (__catan): Handle small real or imaginary part of
17319 input specially to avoid spurious underflow.
17320 * math/s_catanf.c (__catanf): Likewise.
17321 * math/s_catanh.c (__catanh): Likewise.
17322 * math/s_catanhf.c (__catanhf): Likewise.
17323 * math/s_catanhl.c (__catanhl): Likewise.
17324 * math/s_catanl.c (__catanl): Likewise.
17325 * math/libm-test.inc (catan_test): Add more tests.
17326 (catanh_test): Likewise.
17327 * sysdeps/i386/fpu/libm-test-ulps: Update.
17328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17329
cb4d5414
AZ
173302013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17331
17332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17333
caf84319
JM
173342013-04-30 Joseph Myers <joseph@codesourcery.com>
17335
17336 [BZ #15416]
17337 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17338 accurately for denominator in atan2.
17339 * math/s_catanf.c (__catanf): Likewise.
17340 * math/s_catanh.c (__catanh): Likewise.
17341 * math/s_catanhf.c (__catanhf): Likewise.
17342 * math/s_catanhl.c (__catanhl): Likewise.
17343 * math/s_catanl.c (__catanl): Likewise.
17344 * math/libm-test.inc (catan_test): Add more tests.
17345 (catanh_test): Likewise.
17346 * sysdeps/i386/fpu/libm-test-ulps: Update.
17347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17348
d569c6ee
SP
173492013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17350
6dbe713d
SP
17351 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17352
f0ee064b
SP
17353 * benchtests/Makefile (bench): Remove slow benchmarks.
17354 * benchtests/atan-inputs: Add slow benchmark inputs.
17355 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17356 (BENCH_FUNC): Accept variant offset.
17357 (VARIANT): Define.
17358 * benchtests/bench-skeleton.c (main): Run benchmark for each
17359 variant.
17360 * benchtests/cos-inputs: Add slow benchmark inputs.
17361 * benchtests/exp-inputs: Likewise.
17362 * benchtests/pow-inputs: Likewise.
17363 * benchtests/sin-inputs: Likewise.
17364 * benchtests/slowatan-inputs: Remove.
17365 * benchtests/slowatan.c: Remove.
17366 * benchtests/slowcos-inputs: Remove.
17367 * benchtests/slowcos.c: Remove.
17368 * benchtests/slowexp-inputs: Remove.
17369 * benchtests/slowexp.c: Remove.
17370 * benchtests/slowpow-inputs: Remove.
17371 * benchtests/slowpow.c: Remove.
17372 * benchtests/slowsin-inputs: Remove.
17373 * benchtests/slowsin.c: Remove.
17374 * benchtests/slowtan-inputs: Remove.
17375 * benchtests/slowtan.c: Remove.
17376 * benchtests/tan-inputs: Add slow benchmark inputs.
17377 * scripts/bench.pl: Parse comments and directives.
17378
d569c6ee
SP
17379 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17380 in CPPFLAGS.
17381 ($(objpfx)bench-%.c): Remove *-ITER.
17382 * benchtests/bench-modf.c: Remove definition of ITER.
17383 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17384 (main): Loop for DURATION seconds instead of fixed number of
17385 iterations.
17386 * scripts/bench.pl: Don't expect iterations in parameters.
17387
a6a242fe
RM
173882013-04-29 Roland McGrath <roland@hack.frob.com>
17389
17390 * io/fchdir.c (__fchdir): Renamed from fchdir.
17391 (fchdir): Define as weak alias.
17392
f2da7793
JM
173932013-04-29 Joseph Myers <joseph@codesourcery.com>
17394
17395 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17396 (ERRNO_EDOM): Likewise.
17397 (ERRNO_ERANGE): Likewise.
17398 (noErrnoTests): New variable.
17399 (init_max_error): Set errno to 0.
17400 (test_single_errno): New function.
17401 (test_errno): Likewise.
17402 (check_float_internal): Call test_errno. Set errno to 0.
17403 (check_complex): Refer to errno tests in comment.
17404 (check_int): Call test_errno. Set errno to 0.
17405 (check_long): Likewise.
17406 (check_bool): Likewise.
17407 (check_longlong): Likewise.
17408 (cos_test): Use ERRNO_* flags for errno tests instead of
17409 check_int.
17410 (expm1_test): Likewise.
17411 (fmod_test): Likewise.
17412 (ilogb_test): Likewise.
17413 (lgamma_test): Likewise.
17414 (pow_test): Likewise.
17415 (remainder_test): Likewise.
17416 (sin_test): Likewise.
17417 (tan_test): Likewise.
17418 (yn_test): Likewise.
17419 (initialize): Set errno to 0.
17420 (main): Print number of errno tests.
17421 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17422
b1a36ceb
AJ
174232013-04-29 Andreas Jaeger <aj@suse.de>
17424
c3ed8088
AJ
17425 [BZ #15084]
17426 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17427 and RES_USEVC.
17428
f1a24198
AJ
17429 [BZ #15085]
17430 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17431 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17432 unimplemented.
17433
9ce3b2cb
AJ
17434 [BZ #15380]
17435 * stdlib/random.c (__initstate): Return NULL if
17436 __initstate fails.
17437
f1a24198 17438 [BZ #15086]
b1a36ceb
AJ
17439 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17440 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17441 RES_SNGLKUPREOP.
17442
7e7b6f36
AZ
174432013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17444
17445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17446
4d14f449
JM
174472013-04-29 Joseph Myers <joseph@codesourcery.com>
17448
17449 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17450 of individual tests.
17451 (casin_test): Likewise.
17452 (casinh_test): Likewise.
17453
5b4217d7
JM
174542013-04-27 Joseph Myers <joseph@codesourcery.com>
17455
17456 [BZ #15409]
17457 * math/s_catan.c (__catan): Handle arguments with large real or
17458 imaginary part separately without squaring.
17459 * math/s_catanf.c (__catanf): Likewise.
17460 * math/s_catanh.c (__catanh): Likewise.
17461 * math/s_catanhf.c (__catanhf): Likewise.
17462 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17463 and redefine.
17464 (__catanhl): Handle arguments with large real or imaginary part
17465 separately without squaring.
17466 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17467 and redefine.
17468 (__catanl): Handle arguments with large real or imaginary part
17469 separately without squaring.
17470 * math/libm-test.inc (catan_test): Add more tests.
17471 (catanh_test): Likewise.
17472 * sysdeps/i386/fpu/libm-test-ulps: Update.
17473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17474
4220c3ef
AJ
174752013-04-27 Andreas Jaeger <aj@suse.de>
17476
17477 [BZ #15007]
17478 * stdlib/stdlib.h: Update guards for qecvt.
17479 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17480 <stdlib.h>.
17481
4721b2d1
AM
174822013-04-27 Allan McRae <allan@archlinux.org>
17483
17484 * sysdeps/i386/fpu/libm-test-ulps: Update.
17485
f0302940
JM
174862013-04-26 Joseph Myers <joseph@codesourcery.com>
17487
9457fd95
JM
17488 [BZ #15406]
17489 * math/s_catan.c: Include <float.h>.
17490 (__catan): Ensure underflow exception occurs for underflowed
17491 result.
17492 * math/s_catanf.c: Include <float.h>.
17493 (__catanf): Ensure underflow exception occurs for underflowed
17494 result.
17495 * math/s_catanh.c: Include <float.h>.
17496 (__catanh): Ensure underflow exception occurs for underflowed
17497 result.
17498 * math/s_catanhf.c: Include <float.h>.
17499 (__catanhf): Ensure underflow exception occurs for underflowed
17500 result.
17501 * math/s_catanhl.c: Include <float.h>.
17502 (__catanhl): Ensure underflow exception occurs for underflowed
17503 result.
17504 * math/s_catanl.c: Include <float.h>.
17505 (__catanl): Ensure underflow exception occurs for underflowed
17506 result.
17507 * math/libm-test.inc (catan_test): Add more tests.
17508 (catanh_test): Likewise.
17509
f0302940
JM
17510 [BZ #15405]
17511 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
17512 underflowed result.
17513 * math/s_ccoshf.c (__ccoshf): Likewise.
17514 * math/s_ccoshl.c (__ccoshl): Likewise.
17515 * math/s_csin.c (__csin): Likewise.
17516 * math/s_csinf.c (__csinf): Likewise.
17517 * math/s_csinh.c (__csinh): Likewise.
17518 * math/s_csinhf.c (__csinhf): Likewise.
17519 * math/s_csinhl.c (__csinhl): Likewise.
17520 * math/s_csinl.c (__csinl): Likewise.
17521 * math/libm-test.inc (ccos_test): Add more tests.
17522 (ccosh_test): Likewise.
17523 (csin_test): Likewise.
17524 (csinh_test): Likewise.
17525
aa630f59
AZ
175262013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17527
17528 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
17529 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
17530 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
17531 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
17532 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
17533 powerpc/power5+/fpu folders.
17534 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
17535
17536
1b835983
MT
175372013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
17538
17539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17540
73709b26
JM
175412013-04-25 Joseph Myers <joseph@codesourcery.com>
17542
17543 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
17544 additions to variable.
17545 [$(config-machine) = x86_64] (modules-names): Likewise.
17546 ($(objpfx)tst-audit3): Remove dependency.
17547 ($(objpfx)tst-audit3.out): Likewise.
17548 ($(objpfx)tst-audit4): Likewise.
17549 ($(objpfx)tst-audit4.out): Likewise.
17550 ($(objpfx)tst-audit5): Likewise.
17551 ($(objpfx)tst-audit5.out): Likewise.
17552 ($(objpfx)tst-audit6): Likewise.
17553 ($(objpfx)tst-audit6.out): Likewise.
17554 ($(objpfx)tst-audit7): Likewise.
17555 ($(objpfx)tst-audit7.out): Likewise.
17556 (tst-audit3-ENV): Remove variable.
17557 (tst-audit4-ENV): Likewise.
17558 (tst-audit5-ENV): Likewise.
17559 (tst-audit6-ENV): Likewise.
17560 (tst-audit7-ENV): Likewise.
17561 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
17562 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
17563 addition to variable.
17564 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
17565 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
17566 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
17567 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
17568 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
17569 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
17570 tst-audit3, tst-audit4 and tst-audit5.
17571 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
17572 tst-audit6 and tst-audit7.
17573 [$(subdir) = elf] (modules-names): Add audit modules for those
17574 tests.
17575 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
17576 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
17577 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
17578 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
17579 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
17580 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
17581 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
17582 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
17583 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
17584 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
17585 [$(subdir) = elf] (tst-audit3-ENV): New variable.
17586 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
17587 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
17588 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
17589 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
17590 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
17591 Likewise.
17592 [$(subdir) = elf && $(config-cflags-avx) = yes]
17593 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
17594 [$(subdir) = elf && $(config-cflags-avx) = yes]
17595 (CFLAGS-tst-auditmod4a.c): Likewise.
17596 [$(subdir) = elf && $(config-cflags-avx) = yes]
17597 (CFLAGS-tst-auditmod4b.c): Likewise.
17598 [$(subdir) = elf && $(config-cflags-avx) = yes]
17599 (CFLAGS-tst-auditmod6b.c): Likewise.
17600 [$(subdir) = elf && $(config-cflags-avx) = yes]
17601 (CFLAGS-tst-auditmod6c.c): Likewise.
17602 [$(subdir) = elf && $(config-cflags-avx) = yes]
17603 (CFLAGS-tst-auditmod7b.c): Likewise.
17604 * elf/tst-audit3.c: Move to ...
17605 * sysdeps/x86_64/tst-audit3.c: ... here.
17606 * elf/tst-audit4.c: Move to ...
17607 * sysdeps/x86_64/tst-audit4.c: ... here.
17608 * elf/tst-audit5.c: Move to ...
17609 * sysdeps/x86_64/tst-audit5.c: ... here.
17610 * elf/tst-audit6.c: Move to ...
17611 * sysdeps/x86_64/tst-audit6.c: ... here.
17612 * elf/tst-audit7.c: Move to ...
17613 * sysdeps/x86_64/tst-audit7.c: ... here.
17614 * elf/tst-auditmod3a.c: Move to ...
17615 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
17616 * elf/tst-auditmod3b.c: Move to ...
17617 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
17618 * elf/tst-auditmod4a.c: Move to ...
17619 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
17620 * elf/tst-auditmod4b.c: Move to ...
17621 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
17622 * elf/tst-auditmod5a.c: Move to ...
17623 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
17624 * elf/tst-auditmod5b.c: Move to ...
17625 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
17626 * elf/tst-auditmod6a.c: Move to ...
17627 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
17628 * elf/tst-auditmod6b.c: Move to ...
17629 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
17630 * elf/tst-auditmod6c.c: Move to ...
17631 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
17632 * elf/tst-auditmod7a.c: Move to ...
17633 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
17634 * elf/tst-auditmod7b.c: Move to ...
17635 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
17636
1ef74943
PP
176372013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
17638
17639 [BZ #15366]
17640 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
17641 define unconditionally.
17642 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
17643 define unconditionally.
17644 (INT8_C, INT16_C, etc.): Likewise.
17645
93fd48c5
MR
176462013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
17647
ae9552cf
MR
17648 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
17649 __ehdr_start with hidden visibility.
17650
93fd48c5
MR
17651 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
17652
418601aa
CD
176532013-04-24 Carlos O'Donell <carlos@redhat.com>
17654
17655 * math/libm-test.inc (cos_test): Use accurate hex constants.
17656 (sincost_test): Likewise.
17657
2f38fbfe
JM
176582013-04-24 Joseph Myers <joseph@codesourcery.com>
17659
5e221800
JM
17660 * math/libm-test.inc (catan_test): Add more tests.
17661 (catanh_test): Likewise.
17662
77f143fd
JM
17663 * math/s_catanf.c (__catanf): Use suffixed floating-point
17664 constants.
17665 * math/s_catanhf.c (__catanhf): Likewise.
17666 * math/s_catanhl.c (__catanhl): Likewise.
17667 * math/s_catanl.c (__catanl): Likewise.
17668
2f38fbfe
JM
17669 [BZ #15394]
17670 * math/s_catan.c (__catan): Calculate imaginary part of result
17671 with log1p not log unless computing log of number close to 0.
17672 * math/s_catanf.c (__catanf): Likewise.
17673 * math/s_catanl.c (__catanl): Likewise.
17674 * math/s_catanh.c (__catanh): Calculate real part of result with
17675 log1p not log unless computing log of number close to 0.
17676 * math/s_catanhf.c (__catanhf): Likewise.
17677 * math/s_catanhl.c (__catanhl): Likewise.
17678 * math/libm-test.inc (catan_test): Add more tests.
17679 (catanh_test): Likewise.
17680 * sysdeps/i386/fpu/libm-test-ulps: Update.
17681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17682
45d69176
SP
176832013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17684
17685 * benchtests/Makefile: Mention files in which fast and slow
17686 paths of math functions are implemented.
17687
87f51853
RM
176882013-04-23 Roland McGrath <roland@hack.frob.com>
17689
17690 * sysdeps/posix/timespec_get.c: New file.
17691
3c026539
AZ
176922013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17693
17694 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
17695 POWER.
17696 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
17697 for POWER.
17698 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
17699 powerpc/power5/fpu folders.
17700 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
17701 * benchtests/Makefile: Add modf testcase.
17702 * benchtests/bench-modf.c: New file: Benchmark test for mo
17703
ff491d14
SP
177042013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
17705
17706 [BZ #14888]
17707 * time/Makefile (tests): Add tst-strptime-whitespace.
17708 * time/strptime_l.c (get_number): Use ISSPACE.
17709 (__strptime_internal): Likewise.
17710 * time/tst-strptime-whitespace.c: New test case.
17711
7ed3f4e8
AS
177122013-04-23 Andreas Schwab <schwab@linux-m68k.org>
17713
17714 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17715 member.
17716 (_nss_files_init): Set it here.
17717
5c95f7b6
HC
177182013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
17719
17720 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17721 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17722 unsigned.
17723
d34c9158
JBG
177242013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
17725
17726 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17727
2169712d
SP
177282013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17729
17730 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17731 size just once.
17732
29c5de99
DM
177332013-04-21 David S. Miller <davem@davemloft.net>
17734
17735 * po/ru.po: Update Russion translation from translation project.
17736
ccdad15d
AC
177372013-04-17 Adam Conrad <adconrad@0c3.net>
17738
17739 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17740 and setfsgid.
17741
0f122b8d
CD
177422013-04-17 Carlos O'Donell <carlos@redhat.com>
17743
5c5b07da 17744 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 17745 * configure: Regenerate.
5c5b07da 17746 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
17747 Add example to error message.
17748 * sysdeps/i386/configure: Regenerate.
17749
037714dd
SP
177502013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17751
17752 * benchtests/Makefile (bench): Add cos, tan, slowcos and
17753 slowtan.
17754 * benchtests/cos-inputs: New file.
17755 * benchtests/slowcos-inputs: New file.
17756 * benchtests/slowcos.c: New file.
17757 * benchtests/slowtan-inputs: New file.
17758 * benchtests/slowtan.c: New file.
17759 * benchtests/tan-inputs: New file.
17760
e913141d
RM
177612013-04-16 Roland McGrath <roland@hack.frob.com>
17762
17763 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17764 considered kosher.
17765
a2964074
SP
177662013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17767
4856bcd2
SP
17768 * benchtests/Makefile: Include cppflags-iterator.mk to add
17769 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17770
a2964074
SP
17771 * Makefile.in (bench-clean): New target.
17772 * benchtests/Makefile (bench-clean): Likewise.
17773
9fbf9aca
DH
177742013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
17775
17776 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17777
207d1e2a
TS
177782013-04-15 Thomas Schwinge <thomas@codesourcery.com>
17779
17780 * stdio-common/tstdiomisc.c: Fix coding-style violation.
17781
306dfba9
AS
177822013-04-15 Andreas Schwab <schwab@suse.de>
17783
17784 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17785 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17786 * nscd/pwdcache.c (cache_addpw): Likewise.
17787 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
17788 more than recsize.
17789
206a6699
SP
177902013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17791
17792 * benchtests/Makefile (bench): Write all output to
17793 bench-out.tmp together.
17794
0582f6b3
AS
177952013-04-15 Andreas Schwab <schwab@suse.de>
17796
17797 * nscd/nscd.c (main): Don't fork again after closing files.
17798
acb4325f
SP
177992013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17800
5cb26d0a
SP
17801 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17802
acb4325f
SP
17803 * benchtests/Rules (bench-deps): Collect dependencies into a
17804 single variable. Add Makefile to dependencies.
17805 ($(objpfx)bench-%.c): Depend on bench-deps.
17806
47792506
RM
178072013-04-12 Roland McGrath <roland@hack.frob.com>
17808 Xavier Roche <roche+kml2@exalead.com>
17809
17810 [BZ #15361]
17811 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17812 just that it's a file descriptor.
17813 * manual/llio.texi (Synchronizing AIO Operations): Update description
17814 for EBADF error from aio_fsync.
17815
8fc1bee5
SP
178162013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17817
17818 * Rules (bench): Move target definition...
17819 * benchtests/Makefile: ... here.
17820
aba5e333
CD
178212013-04-11 Carlos O'Donell <carlos@redhat.com>
17822
17823 * math/libm-test.inc (cos_test): Fix PI/2 test.
17824 (sincos_test): Likewise.
17825 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17826 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17827
273cdee8
AS
178282013-04-11 Andreas Schwab <schwab@suse.de>
17829
6ecec3b6
AS
17830 [BZ #13988]
17831 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17832 accept exponent character only when digits were seen.
17833 * stdio-common/Makefile (tests): Add bug26.
17834 * stdio-common/bug26.c: New file.
17835
273cdee8
AS
17836 [BZ #14293]
17837 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17838 non-freeable.
17839
8da491f5
SP
178402013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17841
01dc6df9
SP
17842 * Makeconfig (rtld-prefix): Define built linker prefix.
17843 * Rules (run-bench): Use it.
17844 * math/Makefile (run-regen-ulps): Likewise.
17845
8da491f5
SP
17846 * Rules (bench): Remove eval.
17847
abe7f530
SP
178482013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17849 Roland McGrath <roland@hack.frob.com>
17850 Ondrej Bilka <neleai@seznam.cz>
17851
17852 [BZ #15346]
17853 * time/getdate.c: Include ctype.h and alloca.h.
17854 (__getdate_r): Trim leading and trailing spaces of input.
17855 * time/tst-getdate.c (tests): Add tests with leading and
17856 trailing spaces.
17857
61c23e62
RM
178582013-04-08 Roland McGrath <roland@hack.frob.com>
17859
17860 [BZ #14280]
17861 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17862 when computing value.
17863
7208a313
CD
178642013-04-06 Carlos O'Donell <carlos@redhat.com>
17865
085b2d41
CD
17866 * math/README.libm-test (How can I generate "libm-test-ulps"?):
17867 Use testrun.sh to run libm tests.
17868
7208a313
CD
17869 [BZ #15309]
17870 * elf/dl-open.c (dl_open_worker): memset all of seen array.
17871
872c0acd
MM
178722013-04-06 Marko Myllynen <myllynen@redhat.com>
17873
17874 [BZ #15264]
17875 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17876
26510bdd
CD
178772013-04-06 Carlos O'Donell <carlos@redhat.com>
17878
17879 * Makefile.in (regen-ulps): New target.
17880 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17881 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17882 [ifneq (no,$(PERL)] (regen-ulps): New target.
17883 [ifeq (no,$(PERL)] (regen-ulps): New target.
17884 * math/libm-test.inc (ulps_file_name): Define.
17885 (output_dir): New variable.
17886 (options): Add "output-dir" option.
17887 (parse_opt): Handle 'o' case.
17888 (main): If output_dir is non-NULL use it as a prefix
17889 otherwise use "".
17890 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17891
a01f19c8
CD
178922013-04-06 Carlos O'Donell <carlos@redhat.com>
17893
17894 [BZ #10060, #10062]
17895 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17896 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17897 fail configure if __sync_val_compare_and_swap is not inlined.
17898 * sysdeps/i386/configure: Regenerate.
17899 * configure.in: Build for i686 when configured for i386.
17900 * configure: Regenerate.
17901 * README: Remove i386 reference.
17902
b7a329a5
CD
179032013-04-06 Carlos O'Donell <carlos@redhat.com>
17904
17905 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17906 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17907
bf0f50df
TS
179082013-04-05 Thomas Schwinge <thomas@codesourcery.com>
17909
ee091edf
TS
17910 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17911 (lmsnanval): New variables.
17912 (F): Add conversion tests.
17913 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17914 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17915
a8b792d6
TS
17916 * stdio-common/tstdiomisc.c (F): Properly collect individual
17917 tests' results.
17918
a1cbf437
TS
17919 [BZ #14686, #15336]
17920 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17921 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17922 Instead, use input NaN values or generate a qNaN by arithmetic
17923 operation. Also fix bugs to comply with the standard.
17924 * math/libm-test.inc (remainder_test): Add more tests.
17925
8b43a0c9
TS
17926 [BZ #15335, #15342]
17927 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17928 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17929 input NaN values or generate a qNaN by arithmetic operation.
17930
d91da4ce
TS
17931 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17932 unreachable code.
17933
bf0f50df
TS
17934 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17935 definitions.
17936
05e166c8
JM
179372013-04-03 Joseph Myers <joseph@codesourcery.com>
17938
17939 [BZ #14478]
17940 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17941 underflowed result.
17942 * math/s_cexpf.c (__cexpf): Likewise.
17943 * math/s_cexpl.c (__cexpl): Likewise.
17944 * math/libm-test.inc (cexp_test): Add more tests.
17945
1cef1b19
AS
179462013-04-03 Andreas Schwab <schwab@suse.de>
17947
17948 [BZ #15330]
17949 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17950 order arrays from heap if bigger than alloca cutoff.
17951
74d87055
TS
179522013-04-03 Thomas Schwinge <thomas@codesourcery.com>
17953
17954 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17955 (SNAN_TESTS_double): Refer to GCC PR56831.
17956 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17957 GCC PR56828.
17958
d755bba4
SP
179592013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17960
90d5d5bb
SP
17961 * Rules (bench): Move bench.out after the run is complete.
17962
73e0cd5d
SP
17963 * Rules (bench): Echo currently running benchmark.
17964
64aabd4b
SP
17965 * benchtests/Makefile (bench): Add atan and slowatan.
17966 * benchtests/atan-inputs: New file.
17967 * benchtests/slowatan-inputs: New file.
17968 * benchtests/slowatan.c: New file.
17969
c871eccd
SP
17970 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17971 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17972 its value.
17973
d755bba4
SP
17974 [BZ #15305]
17975 * sysdeps/unix/sysv/linux/kernel-features.h
17976 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17977 __ASSUME_XFS_RESTRICTED_CHOWN.
17978 * sysdeps/unix/sysv/linux/pathconf.c
17979 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17980 Save and restore errno.
17981
52ce4860
JM
179822013-04-02 Joseph Myers <joseph@codesourcery.com>
17983
17984 [BZ #15327]
17985 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17986 arguments using __kernel_casinh.
17987 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17988 arguments using __kernel_casinhf.
17989 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17990 arguments using __kernel_casinhl.
17991 * math/libm-test.inc (cacosh_test): Add more tests.
17992 * sysdeps/i386/fpu/libm-test-ulps: Update.
17993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17994
81f311c2
SP
179952013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17996
e7906a47
SP
17997 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17998 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17999
92e3664b
SP
18000 * bench/Makefile (bench): Add sin and slowsin.
18001 * benchtests/sin-inputs: New file.
18002 * benchtests/slowsin-inputs: New file.
18003 * benchtests/slowsin.c: New file.
18004
81f311c2
SP
18005 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18006 (bench): Add slowexp and slowpow.
18007 (exp-ITER): Increase iterations.
18008 (pow-ITER): Likewise.
18009 * benchtests/exp-inputs: Change input.
18010 * benchtests/pow-inputs: Likewise.
18011 * benchtests/slowexp-inputs: New file.
18012 * benchtests/slowexp.c: New file.
18013 * benchtests/slowpow-inputs: New file.
18014 * benchtests/slowpow.c: New file.
18015
ab0f1aa9
AZ
180162013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18017
18018 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18019 instructions.
18020 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18021 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18022 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18023 * benchtests/Makefile: Add rint benchtest.
18024 * benchtests/rint-inputs: Input for rint benchtest.
18025
57267616
TS
180262013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18027
18028 * Versions.def (libm): Add GLIBC_2.18.
18029 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18030 hidden libm prototypes.
18031 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18032 * math/Makefile (libm-calls): Add s_issignaling.
18033 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18034 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18035 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18036 declaration.
18037 * math/math.h [__USE_GNU] (issignaling): New macro.
18038 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18039 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18040 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18041 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18042 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18043 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18044 * manual/arith.texi (issignaling): New section.
18045 * manual/libm-err-tab.pl (@all_functions): Update comment.
18046 * math/gen-libm-test.pl (parse_args): Apply special handling for
18047 issignaling.
18048 * math/libm-test.inc (print_float, issignaling_test): New
18049 functions.
18050 (check_float_internal): Add issignaling checks.
18051 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18052 default definition.
18053 * sysdeps/powerpc/math-tests.h: New file.
18054 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18055 tests.
18056 * math/test-snan.c (TEST_FUNC): Likewise.
18057
6142896d
DM
180582013-03-30 David S. Miller <davem@davemloft.net>
18059
18060 * po/de.po: Update from translation team.
18061
ccc8cadf
JM
180622013-03-30 Joseph Myers <joseph@codesourcery.com>
18063
18064 [BZ #10357]
18065 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18066 imaginary part less than 1.0 and real part less than 0.5
18067 specially.
18068 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18069 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18070 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18071 (cacos_test): Add more tests.
18072 (casin_test): Likewise.
18073 (casinh_test): Likewise.
18074 * sysdeps/i386/fpu/libm-test-ulps: Update.
18075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18076
0f6a8d4b
SP
180772013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18078
0d1029de
SP
18079 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18080 ONE with its value.
18081
c2d94018
SP
18082 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18083 (__pow_mp): Replace ONE and MONE with their values.
18084 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18085 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18086 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18087 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18088 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18089 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18090
27ec37f1
SP
18091 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18092
a64d7e0e
SP
18093 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18094 (__pow_mp): Replace ZERO and MZERO with their values.
18095 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18096 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18097 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18098 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18099 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18100 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18101 (__sqr): Likewise.
18102
d26dd3eb
SP
18103 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18104
0f6a8d4b
SP
18105 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18106
e57b0c61
RM
181072013-03-28 Roland McGrath <roland@hack.frob.com>
18108
18109 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18110 Declare with __attribute__ ((weak)).
18111 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18112 Call __call_tls_dtors only if it's not NULL.
18113
356b3480
RM
181142013-03-28 Roland McGrath <roland@hack.frob.com>
18115
288f7d79
RM
18116 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18117 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18118 magic __ehdr_start linker symbol if it's defined.
18119 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18120 them up here if it was already done.
18121
dc0a0263
RM
18122 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18123 (_dl_aux_init): Use const in cast when setting it.
18124 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18125 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18126 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18127
3d3436ae
RM
18128 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18129 Declare them here.
18130 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18131 * csu/libc-tls.c: Nor here.
18132 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18133
356b3480
RM
18134 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18135 (__libc_message): Never call vsyslog.
18136
b0f1246a
AM
181372013-03-28 Alan Modra <amodra@gmail.com>
18138
18139 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18140 Define as empty.
18141 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18142 Likewise.
18143
fbbe2b9a
AZ
181442013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18145
18146 [BZ #15214]
18147 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18148 underflow.
18149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18150
1728ab37
SP
181512013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18152
7a86be6e
SP
18153 [BZ #15304]
18154 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18155 Don't add gid passed as argument.
18156
1728ab37
SP
18157 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18158
3a7182a1
JM
181592013-03-27 Joseph Myers <joseph@codesourcery.com>
18160
18161 [BZ #15307]
18162 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18163 imaginary part between 1.0 and 1.5 and real part less than 0.5
18164 specially.
18165 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18166 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18167 * math/libm-test.inc (cacos_test): Add more tests.
18168 (casin_test): Likewise.
18169 (casinh_test): Likewise.
18170 * sysdeps/i386/fpu/libm-test-ulps: Update.
18171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18172
6f2e90e7
SP
181732013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18174
5739f705
SP
18175 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18176 constants.
18177 (norm): Likewise.
18178 (denorm): Likewise.
18179 (__dbl_mp): Likewise.
18180 (add_magnitudes): Likewise.
18181 (sub_magnitudes): Likewise.
18182 (__add): Likewise.
18183 (__sub): Likewise.
18184 (__mul): Likewise.
18185 (__sqr): Likewise.
18186 (__inv): Likewise.
18187 (__dvd): Likewise.
18188
e375e83d
SP
18189 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18190 commented code.
18191 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18192 (__dubcos): Likewise.
18193 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18194 (__ieee754_acos): Likewise.
18195 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18196 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18197 (__exp1): Likewise.
18198 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18199 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18200 (log1): Likewise.
18201 (my_log2): Likewise.
18202 (checkint): Likewise.
18203 * sysdeps/ieee754/dbl-64/e_remainder.c
18204 (__ieee754_remainder): Likewise.
18205 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18206 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18207 (bsloww): Likewise.
18208 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18209
6f2e90e7
SP
18210 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18211 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18212 MANTISSA_STORE_T to store computations on mantissa. Use
18213 macros for rounding and division.
18214 (denorm): Likewise.
18215 (__dbl_mp): Likewise.
18216 (add_magnitudes): Likewise.
18217 (sub_magnitudes): Likewise.
18218 (__mul): Likewise.
18219 (__sqr): Likewise.
18220 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18221 powers of two in terms of TWOPOW macro.
18222 (mp_no): Make type of mantissa as MANTISSA_T.
18223 [!RADIXI]: Define RADIXI.
18224 [!TWO52]: Define TWO52.
18225 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18226
fce14d4e
AZ
182272013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18228
18229 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18230 llroundl symbol when building for PPC32.
18231
9ad027fb
MW
182322013-03-24 Mark H Weaver <mhw@netris.org>
18233
18234 * manual/arith.texi (Normalization Functions): Fix prototypes for
18235 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18236
e42a38dd
AZ
182372013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18238
18239 [BZ #13889]
18240 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18241 high value to check if expl overflow.
18242 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18243 to check for underflow and overflow.
18244 * math/libm-test.inc: Add exp test.
18245
2e0fb521
DL
182462013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18247
18248 [BZ #11120]
18249 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18250 with NOT_IN_libc.
18251
b5784d95
AZ
182522013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18253
18254 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18255 symbol.
18256
5aa4a1a1
TS
182572013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18258
bdef0be7
TS
18259 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18260 wrap blocks consisting of several statements.
18261
5aa4a1a1
TS
18262 * sysdeps/generic/math-tests.h: New file.
18263 * sysdeps/i386/fpu/math-tests.h: Likewise.
18264 * math/test-snan.c: Include it.
18265 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18266
98c48fe5
JM
182672013-03-21 Joseph Myers <joseph@codesourcery.com>
18268
18269 [BZ #15285]
18270 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18271 (__ieee754_j0l): Do not improve calculations using cos of twice
18272 input for inputs above LDBL_MAX / 2.0L.
18273 (__ieee754_y0l): Likewise.
18274 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18275 (__ieee754_j1l): Do not improve calculations using cos of twice
18276 input for inputs above LDBL_MAX / 2.0L.
18277 (__ieee754_y1l): Likewise.
18278 * math/libm-test.inc (j0_test): Add another test.
18279 (j1_test): Likewise.
18280 (y0_test): Likewise.
18281 (y1_test): Likewise.
18282 * sysdeps/i386/fpu/libm-test-ulps: Update.
18283
3775a8bc
SP
182842013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18285
18286 * Rules ($(objpfx)bench-%.c): Include code from a C source
18287 file.
18288
0a1b2ae6
JM
182892013-03-21 Joseph Myers <joseph@codesourcery.com>
18290
18291 [BZ #15287]
18292 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18293 imaginary part 1.0 and real part less than 0.5 specially.
18294 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18295 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18296 * math/libm-test.inc (cacos_test): Add more tests.
18297 (casin_test): Likewise.
18298 (casinh_test): Likewise.
18299 * sysdeps/i386/fpu/libm-test-ulps: Update.
18300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18301
b33d4ce4
SP
183022013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18303
18304 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18305 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18306
bef0b507
JM
183072013-03-20 Joseph Myers <joseph@codesourcery.com>
18308
18309 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18310 * config.make.in (config-cflags-sse4): Remove variable.
18311 (config-cflags-avx): Likewise.
18312 (config-cflags-sse2avx): Likewise.
18313 (config-cflags-novzeroupper): Likewise.
18314 (config-asflags-i686): Likewise.
18315 (have-mfma4): Likewise.
18316 (have-as-vis3): Likewise.
18317 (MIG): Likewise.
18318 * configure.in (MIG): Do not AC_SUBST.
18319 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18320 (libc_cv_cc_sse4): Do not AC_SUBST.
18321 (libc_cv_cc_avx): Likewise.
18322 (libc_cv_cc_sse2avx): Likewise.
18323 (libc_cv_cc_novzeroupper): Likewise.
18324 (libc_cv_cc_fma4): Likewise.
18325 (libc_cv_as_i686): Likewise.
18326 (libc_cv_sparc_as_vis3): Likewise.
18327 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18328 LIBC_CONFIG_VAR.
18329 (config-asflags-i686): Likewise.
18330 (config-cflags-avx): Likewise.
18331 (config-cflags-sse2avx): Likewise.
18332 (have-mfma4): Likewise.
18333 (config-cflags-novzeroupper): Likewise.
18334 * sysdeps/mach/configure.in (MIG): Likewise.
18335 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18336 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18337 LIBC_CONFIG_VAR.
18338 (config-cflags-avx): Likewise.
18339 (config-cflags-sse2avx): Likewise.
18340 (have-mfma4): Likewise.
18341 (config-cflags-novzeroupper): Likewise.
18342 * configure: Regenerated.
18343 * sysdeps/i386/configure: Likewise.
18344 * sysdeps/mach/configure: Likewise.
18345 * sysdeps/sparc/configure: Likewise.
18346 * sysdeps/x86_64/configure: Likewise.
18347
912cc4b3
RM
183482013-03-20 Roland McGrath <roland@hack.frob.com>
18349
18350 [BZ #14812]
18351 * locale/programs/localedef.c (options): Put N_ translation marker
18352 on argument names, not just descriptions.
18353
04eed2b0
MS
183542013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18355
18356 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18357
a065ceff
OB
183582013-03-20 Ondřej Bílka <neleai@seznam.cz>
18359
9bb2a810 18360 [BZ #14176]
a065ceff
OB
18361 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18362
a600e5ce
RM
183632013-03-19 Roland McGrath <roland@hack.frob.com>
18364
18365 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18366 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18367 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18368 [!BEFORE_ABORT] (before_abort): New function.
18369 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18370 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18371 (writev_for_fatal): New function.
18372 (WRITEV_FOR_FATAL): New macro; call that.
18373 (backtrace_and_maps): New function.
18374 (BEFORE_ABORT): New macro; call that.
18375 (struct str_list): Type removed.
18376 (__libc_message, __libc_fatal): Functions removed.
18377 Include <sysdeps/posix/libc_fatal.c> instead.
18378
6b18bea6
JM
183792013-03-19 Joseph Myers <joseph@codesourcery.com>
18380
18381 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18382 constants.
18383 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18384 double constants.
18385
aaa8cb4b
AS
183862013-03-19 Andreas Schwab <schwab@suse.de>
18387
44673770
AS
18388 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18389 * sysdeps/gnu/configure: Regenerate.
18390
aaa8cb4b
AS
18391 * configure.in: Substitute libc_cv_rtlddir.
18392 * configure: Regenerate.
18393 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18394 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18395 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18396 * elf/Makefile (install-others, CFLAGS-interp.c)
18397 (ldso_install, common-ldd-rewrite): Likewise.
18398 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18399 $(inst_slibdir)/$(rtld-installed-name).
18400 * scripts/rellns-sh: Add -p option.
18401 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18402 for source.
18403
d3cfc668
SP
184042013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18405
18406 * manual/nptl.texi: Renamed to ...
18407 * manual/threads.texi: ... this.
18408 * manual/Makefile (chapters): Update.
18409
0e2b9cdd
RM
184102013-03-18 Roland McGrath <roland@hack.frob.com>
18411
18412 [BZ #14812]
18413 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18414 on argument names, not just descriptions.
0e2b9cdd
RM
18415 * malloc/memusagestat.c (options): Likewise.
18416 * nss/getent.c (options): Likewise.
63270c24
RM
18417
184182013-03-18 Benno Schulenberg <bensberg@justemail.net>
18419
18420 [BZ #14812]
18421 * iconv/iconv_prog.c (options): Put N_ translation marker
18422 on argument names, not just descriptions.
18423 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 18424
b2e1393c
OB
184252013-03-18 Ondrej Bilka <neleai@seznam.cz>
18426
18427 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18428 implementation which is faster on all x86_64 architectures.
18429 Tested on AMD, Intel Nehalem, SNB, IVB.
18430 * sysdeps/x86_64/strnlen.S: Likewise.
18431
18432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18433 Remove all multiarch strlen and strnlen versions.
18434 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18435 Remove strlen and strnlen related parts.
18436
18437 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18438 Inline strlen part.
18439 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18440
18441 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18442 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18443 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18444 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18445 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18446 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18447
ec4ff04d
CD
184482013-03-17 Carlos O'Donell <carlos@redhat.com>
18449
18450 * manual/memory.texi (Malloc Tunable Parameters):
18451 Sort parameters alphabetically. Add comments for missing entries.
18452
cd18e90a
DM
184532013-03-17 David S. Miller <davem@davemloft.net>
18454
18455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18456
2a185d32
JM
184572013-03-16 Joseph Myers <joseph@codesourcery.com>
18458
d2f9799e
JM
18459 [BZ #15283]
18460 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18461 for arguments at most half maximum finite value.
18462 * math/libm-test.inc (j0_test): Add more tests.
18463 (j1_test): Likewise.
18464 (y0_test): Likewise.
18465 (y1_test): Likewise.
18466 * sysdeps/i386/fpu/libm-test-ulps: Update.
18467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18468
2a185d32
JM
18469 [BZ #14155]
18470 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18471 1 / x and functions P and Q for arguments above 0x1p256L.
18472 (__ieee754_y0l): Likewise.
18473 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18474 (__ieee754_y1l): Likewise.
18475 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18476 (j1_test): Likewise.
18477 (y0_test): Likewise.
18478 (y1_test): Likewise.
18479
6cbec759
TS
184802013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18481
18482 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18483 variable.
18484
bc16e260
RM
184852013-03-15 Roland McGrath <roland@hack.frob.com>
18486
aefc9b8c
RM
18487 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18488 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18489 zero since it's initialized to EXEC_PAGESIZE.
18490
bc16e260
RM
18491 * sysdeps/unix/sysv/linux/ldsodefs.h
18492 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18493 * sysdeps/generic/ldsodefs.h: ... here.
18494
a57da955
TS
184952013-03-15 Thomas Schwinge <thomas@codesourcery.com>
18496
af00a34d
TS
18497 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
18498
495ded2c
TS
18499 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
18500 math/test-snan.c.
18501 * math/test-snan.c: Renamed from
18502 sysdeps/powerpc/fpu/test-powerpc-snan.c.
18503 * math/Makefile (tests): Add test-snan.
18504 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
18505 test-powerpc-snan.
18506
777b0332
TS
18507 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
18508 SUFFIX. Initialize qNaN_var with __builtin_nan family of
18509 functions.
18510 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
18511 __builtin_nan family of functions.
18512 * math/libm-test.inc (initialize): Initialize qnan_value with
18513 __builtin_nan family of functions.
18514 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
18515 Remove variables.
18516 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
18517 Remove functions.
18518 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
18519 storage class. Initialize qNaN_var and sNaN_var with
18520 __builtin_nan and __builtin_nans families of functions,
18521 respectively.
18522
64d063b8
TS
18523 * math/libm-test.inc (acosh_test): Also test with qNaN input.
18524 (sqrt_test): Remove duplicate test with qNaN input.
18525 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
18526 (round_test, signbit_test, significand_test): Note missing +/-Inf
18527 as well as qNaN tests.
18528
67e971f1
TS
18529 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
18530 qNaN_var. Fix a few strings, too.
18531 * math/libm-test.inc (nan_value): Rename to qnan_value.
18532 * math/gen-libm-test.pl (%beautify): Adjust to that.
18533 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
18534 * math/test-misc.c (main): Likewise.
18535 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
18536 to __qnan_bytes, and __qnan_union, respectively.
18537 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
18538 Likewise.
18539 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
18540 and lqnanval, respectively.
18541 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
18542 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
18543 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
18544 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
18545
64487e12
TS
18546 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
18547 * math/test-misc.c (main) [__x86_64__]: Enable test for long
18548 doubles.
18549
e015e27b
TS
18550 * math/test-misc.c (main): Fix copy'n'pastos.
18551 * misc/tst-efgcvt.c (special): Likewise.
18552
a57da955
TS
18553 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
18554 Remove declarations.
18555
1e380345
SP
185562013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18557
18558 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
18559 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
18560 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
18561 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
18562
ef26eece
AZ
185632013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18564
18565 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
18566 macro to return vdso values correctly in IFUNC implementations.
18567 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18568 Optimization by using IFUNC.
18569
8cfdb7e0
SP
185702013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18571 Richard Henderson <rth@redhat.com>
18572 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18573
18574 * Makefile.in (bench): New target.
18575 * NEWS: Mention the benchmark framework.
18576 * Rules (bench): Likewise.
18577 (binaries-bench): Generate binaries for functions to
18578 benchmark.
18579 * benchtests/Makefile: New makefile for benchmark tests.
18580 * benchtests/bench-skeleton.c: New skeleton file for benchmark
18581 programs.
18582 * benchtests/exp-inputs: New input file for EXP function.
18583 * benchtests/pow-inputs: New input file for POW function.
18584 * scripts/bench.pl: New script to generate source files for
18585 benchmark programs.
18586
bcda9880
SP
185872013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18588
d22ca8cd
SP
18589 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18590 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
18591 computations on mantissa. Use macros for rounding and
18592 division.
18593 (denorm): Likewise.
18594 (__dbl_mp): Likewise.
18595 (add_magnitudes): Likewise.
18596 (sub_magnitudes): Likewise.
18597 (__mul): Likewise.
18598 (__sqr): Likewise.
18599 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18600 powers of two in terms of TWOPOW macro.
18601 (mp_no): Make type of mantissa as MANTISSA_T.
18602 [!RADIXI]: Define RADIXI.
18603 [!TWO52]: Define TWO52.
18604 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18605
bcda9880
SP
18606 * manual/nptl.texi (cindex): Modify threads to pthreads.
18607
06d5adfb
JM
186082013-03-15 Joseph Myers <joseph@codesourcery.com>
18609
18610 * sysdeps/x86_64/preconfigure: Regenerated.
18611
41c7328e
JM
186122013-03-14 Joseph Myers <joseph@codesourcery.com>
18613
18614 [BZ #14155]
18615 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
18616 0x1p28 and above.
18617 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
18618 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
18619 0x1p28 and above.
18620 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
18621 * math/libm-test.inc (j0_test): Do not allow one spurious
18622 underflow exception.
18623 (y1_test): Likewise.
18624
e25cfa60
SP
186252013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18626
0409959c
SP
18627 * manual/Makefile (chapters): Add nptl.
18628 * manual/debug.texi (Debugging Support): Add link to Threads
18629 chapter.
18630 * manual/nptl.texi: New file.
18631
e25cfa60
SP
18632 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
18633
58a1335e
PB
186342013-03-14 Petr Baudis <pasky@ucw.cz>
18635
18636 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
18637 for non-NULL pointer before the memory validity test. Pointed
18638 out by Holger Brunck <holger.brunck@keymile.com>.
18639
9dc7c64f
AS
186402013-03-13 Andreas Schwab <schwab@suse.de>
18641
18642 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
18643 instead of .os.
18644
54206aa6
JM
186452013-03-13 Joseph Myers <joseph@codesourcery.com>
18646
18647 * timezone/zic.c: Update from tzcode 2013b.
18648
e98cdb38
CD
186492013-03-12 Carlos O'Donell <carlos@redhat.com>
18650
18651 * manual/install.texi (Configuring and compiling):
18652 Mention i686 and i586.
18653 * INSTALL: Regenerate.
18654
9967e003
RM
186552013-03-12 Roland McGrath <roland@hack.frob.com>
18656
18657 * sysdeps/init_array/elf-init.c: New file.
18658 * csu/elf-init.c
18659 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
18660 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
18661
18662 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
18663 __gmon_start__ as global, but as static with a .preinit_array pointer.
18664 * sysdeps/init_array/gmon-start.c: New file. Use that.
18665 * sysdeps/init_array/crti.S: New file, empty except for comments.
18666 * sysdeps/init_array/crtn.S: Likewise.
18667
e6b5a293 186682013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
18669
18670 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
18671 definining bcopy.
80f844c9
OB
18672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18673 Remove Prefer_SSE_for_memop.
18674 * sysdeps/x86_64/multiarch/init-arch.h: Remove
18675 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
18676 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
18677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18678 memset-x86-64.
80f844c9 18679 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 18680 Remove bzero, memset ifunc support.
80f844c9
OB
18681 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
18682 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
18683 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18684 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18685
fb6b0fcb
AS
186862013-03-11 Andreas Schwab <schwab@suse.de>
18687
18688 [BZ #15234]
18689 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
18690 by SHLIB_COMPAT.
18691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
18692 (GLIBC_2.16): Remove pthread_atfork.
18693
3e6bd4b1
PP
186942013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
18695
18696 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
18697 (ptestcases.h): Likewise.
18698
222d7f00
RM
186992013-03-08 Roland McGrath <roland@hack.frob.com>
18700
18701 * Makeconfig ($(common-objpfx)config.status): Depend on
18702 sysdeps/*/preconfigure{,.in} too.
18703
1ba4f030
JM
187042013-03-08 Joseph Myers <joseph@codesourcery.com>
18705
a222d91a
JM
18706 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
18707 (__free_hook): Use void * instead of __malloc_ptr_t.
18708 (__malloc_hook): Likewise.
18709 (__realloc_hook): Likewise.
18710 (__memalign_hook): Likewise.
18711 (__after_morecore_hook): Likewise.
18712 * malloc/arena.c (save_malloc_hook): Likewise.
18713 (save_free_hook): Likewise.
18714 * malloc/hooks.c (malloc_hook_ini): Likewise.
18715 (realloc_hook_ini): Likewise.
18716 (memalign_hook_ini): Likewise.
18717 * malloc/malloc.c (malloc_hook_ini): Likewise.
18718 (realloc_hook_ini): Likewise.
18719 (memalign_hook_ini): Likewise.
18720 (__free_hook): Likewise.
18721 (__malloc_hook): Likewise.
18722 (__realloc_hook): Likewise.
18723 (__memalign_hook): Likewise.
18724 (__libc_malloc): Likewise.
18725 (__libc_free): Likewise.
18726 (__libc_realloc): Likewise.
18727 (__libc_memalign): Likewise.
18728 (__libc_valloc): Likewise.
18729 (__libc_pvalloc): Likewise.
18730 (__libc_calloc): Likewise.
18731 (__posix_memalign): Likewise.
18732 * malloc/morecore.c (__sbrk): Likewise.
18733 (__default_morecore): Likewise.
18734
5cc45e10
JM
18735 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18736
dd54b864
JM
18737 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18738 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18739 __malloc_ptrdiff_t.
18740
1ba4f030
JM
18741 * malloc/malloc.h (__malloc_size_t): Remove macro.
18742 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18743 __malloc_size_t.
18744 (old_memalign_hook): Likewise.
18745 (old_realloc_hook): Likewise.
18746 (struct hdr): Likewise.
18747 (flood): Likewise.
18748 (mallochook): Likewise.
18749 (memalignhook): Likewise.
18750 (reallochook): Likewise.
18751 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18752 (tr_old_realloc_hook): Likewise.
18753 (tr_old_memalign_hook): Likewise.
18754 (tr_mallochook): Likewise.
18755 (tr_reallochook): Likewise.
18756 (tr_memalignhook): Likewise.
18757
edf66e57
AZ
187582013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18759
18760 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18761 default_ldbl_pack and using as default implementation.
18762 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18763 implementation.
18764 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18765 redundant definition.
18766 (ldbl_insert_mantissa): Likewise.
18767 (ldbl_canonicalize): Likewise.
18768 (ldbl_nearbyint): Likewise.
18769 (ldbl_pack): Rename to ldbl_pack_ppc.
18770 (ldbl_unpack): Rename to ldbl_unpack_ppc.
18771 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18772 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18773
6d9145d8
SP
187742013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18775
18776 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18777 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18778 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18779 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18780 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18781 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18782 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18783 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18784
4dd4e157
AJ
187852013-03-07 Andreas Jaeger <aj@suse.de>
18786
18787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18788 bits/mman-linux.h.
18789
adbb8027
SP
187902013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18791
ce544b5b
SP
18792 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18793 Include mpa.h and declare __MPEXP.
18794 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18795 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18796 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18797 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18798 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18799 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18800 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18801
4cc149fd
SP
18802 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18803 (__slowpow): Use long double EXPL and LOGL functions to
18804 compute POW.
18805 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18806 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18807 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18808 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18809 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18810 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18811
e6ebd4a7
SP
18812 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18813 intermediate variable to calculate exponent.
18814 (__sqr): Likewise.
18815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18816 Likewise.
18817 (__sqr): Likewise.
18818
82a9811d
SP
18819 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18820 [!NO__SQR]: Define __sqr.
18821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18822 and NO__SQR. Remove all code except __mul and __sqr. Include
18823 sysdeps/ieee754/dbl-64/mpa.c.
18824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18825
adbb8027
SP
18826 [BZ #12723]
18827 * posix/Makefile (tests): Add tst-pathconf.
18828 * posix/tst-pathconf.c: New test case.
18829 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18830 _PC_PIPE_BUF.
18831 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18832
39120df9
PF
188332013-03-06 Patsy Franklin <pfrankli@redhat.com>
18834
18835 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18836
67525cb8
AJ
188372013-03-06 Andreas Jaeger <aj@suse.de>
18838
664a9ce4
AJ
18839 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18840 definition via __MAP_ANONYMOUS.
18841
8e39047d
AJ
18842 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18843 it's not part of Linux headers.
18844
67525cb8
AJ
18845 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18846 (MAP_HUGE_MASK): Define.
18847
18848 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18849 Define.
18850 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18851 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18852 Define.
18853 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18854 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18855 Define.
18856 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18857 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18858 Define.
18859 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18860
18861 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18862 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18863 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18864 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18865 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18866 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18867
18868 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18869 Handle f2fs.
18870
18871 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18872 Handle f2fs and efivarfs.
18873
18874 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18875 f2fs.
18876
18877 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18878 (EFIVARFS_MAGIC): Add.
18879 (F2FS_LINK_MAX): Add.
18880
e1b42695
PP
188812013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18882
18883 * stdio-common/vfprintf.c: Replace __builtin_expect with
18884 __glibc_unlikely.
18885
2d67d91a
JM
188862013-03-06 Joseph Myers <joseph@codesourcery.com>
18887
18888 [BZ #13550]
18889 * sysdeps/generic/bp-sym.h: Remove file.
18890 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18891 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18892 <bp-sym.h> and <bp-asm.h>.
18893 (__longjmp): Don't use BP_SYM.
18894 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18895 and <bp-asm.h>.
18896 (memcpy): Don't use BP_SYM.
18897 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18898 <bp-sym.h> and <bp-asm.h>.
18899 (memcpy): Don't use BP_SYM.
18900 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18901 <bp-asm.h>.
18902 (memcpy): Don't use BP_SYM.
18903 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18904 <bp-asm.h>.
18905 (memset): Don't use BP_SYM.
18906 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18907 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18908 (__bzero): Don't use BP_SYM.
18909 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18910 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18911 * sysdeps/powerpc/powerpc64/power4/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/power4/memcpy.S: Don't include
18916 <bp-sym.h> and <bp-asm.h>.
18917 (memcpy): Don't use BP_SYM.
18918 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18919 <bp-sym.h> and <bp-asm.h>.
18920 (memset): Don't use BP_SYM.
18921 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18922 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18923 (__bzero): Don't use BP_SYM.
18924 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18925 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18926 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18927 <bp-sym.h> and <bp-asm.h>.
18928 (strncmp): Don't use BP_SYM. Remove comment about bounded
18929 pointers.
18930 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18931 <bp-sym.h> and <bp-asm.h>.
18932 (memcpy): Don't use BP_SYM.
18933 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18934 <bp-sym.h> and <bp-asm.h>.
18935 (memset): Don't use BP_SYM.
18936 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18937 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18938 (__bzero): Don't use BP_SYM.
18939 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18940 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18941 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18942 <bp-sym.h> and <bp-asm.h>.
18943 (__memchr): Don't use BP_SYM.
18944 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18945 <bp-sym.h> and <bp-asm.h>.
18946 (memcmp): Don't use BP_SYM. Remove comment about bounded
18947 pointers.
18948 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18949 <bp-sym.h> and <bp-asm.h>.
18950 (memcpy): Don't use BP_SYM.
18951 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18952 <bp-sym.h> and <bp-asm.h>.
18953 (__mempcpy): Don't use BP_SYM.
18954 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18955 <bp-sym.h> and <bp-asm.h>.
18956 (__memrchr): Don't use BP_SYM.
18957 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18958 <bp-sym.h> and <bp-asm.h>.
18959 (memset): Don't use BP_SYM.
18960 (__bzero): Likewise.
18961 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18962 <bp-sym.h> and <bp-asm.h>.
18963 (__rawmemchr): Don't use BP_SYM.
18964 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18965 <bp-sym.h> and <bp-asm.h>.
18966 (__STRCMP): Don't use BP_SYM.
18967 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18968 <bp-sym.h> and <bp-asm.h>.
18969 (strchr): Don't use BP_SYM.
18970 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18971 <bp-sym.h> and <bp-asm.h>.
18972 (__strchrnul): Don't use BP_SYM.
18973 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18974 <bp-sym.h> and <bp-asm.h>.
18975 (strlen): Don't use BP_SYM.
18976 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18977 <bp-sym.h> and <bp-asm.h>.
18978 (strncmp): Don't use BP_SYM. Remove comment about bounded
18979 pointers.
18980 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18981 <bp-sym.h> and <bp-asm.h>.
18982 (__strnlen): Don't use BP_SYM.
18983 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18984 <bp-sym.h> and <bp-asm.h>.
18985 (__GI__setjmp): Don't use BP_SYM.
18986 (_setjmp): Likewise.
18987 (__sigsetjmp): Likewise.
18988 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18989 (L(start_addresses)): Don't use BP_SYM.
18990 (_start): Likewise.
18991 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18992 <bp-asm.h>.
18993 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18994 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18995 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18996 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18997 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18998 <bp-asm.h>.
18999 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19000 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19001 about bounded pointers.
19002 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19003 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19004 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19005 <bp-asm.h>.
19006 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19007 about bounded pointers. Remove GKM FIXME comments.
19008 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19009 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19010 <bp-asm.h>.
19011 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19012 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19013 Remove GKM FIXME comments.
19014 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19015 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19016 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19017 <bp-asm.h>.
19018 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19019 about bounded pointers. Remove GKM FIXME comment.
19020 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19021 and <bp-asm.h>.
19022 (strncmp): Don't use BP_SYM. Remove comment about bounded
19023 pointers.
19024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19025 <bp-sym.h> and <bp-asm.h>.
19026 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19028 <bp-sym.h> and <bp-asm.h>.
19029 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19030 comment.
19031
cdcf361f
PP
190322013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19033
19034 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19035 call free(NULL).
19036
3c4a2b15
DM
190372013-03-05 David S. Miller <davem@davemloft.net>
19038
19039 * po/es.po: Update from translation team.
19040
cdcf361f 190412013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
19042
19043 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19044 <bits/mman-linux.h>.
19045 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19046 is fine.
19047 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19048 <bits/mman-linux.h> to end of file.
19049 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19050 is fine.
19051 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19052 <bits/mman-linux.h> to end of file.
19053 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19054 is fine.
19055 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19056 <bits/mman-linux.h> to end of file.
19057
19058 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19059 (MCL_CURRENT, MCL_FUTURE): Define here.
19060
5f67c04f
AK
190612013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19062
8a4473cc 19063 [BZ #15232]
5f67c04f
AK
19064 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19065 attribute_hidden.
19066 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19067
c3e94a95
AK
190682013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19069
19070 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19071 fourth parameter needed for rt_sigprocmask syscall.
19072 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19073 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19074 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19075 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19076 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19077 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19078
cfb6382a
JM
190792013-03-04 Joseph Myers <joseph@codesourcery.com>
19080
19081 [BZ #13550]
19082 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19083 comment about bounded pointers.
19084 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19085 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19086
539d8e01
AJ
190872013-03-04 Andreas Jaeger <aj@suse.de>
19088
19089 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19090 common definitions.
19091
19092 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19093 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19094 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19095 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19096 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
19097 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19098
2e167a70 190992013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
19100
19101 [BZ #15055]
19102 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19103 __ieee754_sqrl instead of __sqrl.
19104
68508633
JM
191052013-03-01 Joseph Myers <joseph@codesourcery.com>
19106
19107 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19108 * sysdeps/powerpc/fpu_control.h: ... here.
19109 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19110 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19111 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19112 * sysdeps/powerpc/bits/mathinline.h: ... here.
19113
7775448e
RM
191142013-03-01 Roland McGrath <roland@hack.frob.com>
19115
19116 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19117 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19118 to just [NEED_DL_SYSINFO_DSO].
19119 * elf/dl-support.c: Likewise.
19120 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19121 * elf/rtld.c (dl_main): Likewise.
19122 * elf/setup-vdso.h (setup_vdso): Likewise.
19123 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19124 * sysdeps/unix/sysv/linux/dl-sysdep.c
19125 (_dl_discover_osversion): Likewise.
19126
4e9b5995
CD
191272013-03-01 Carlos O'Donell <carlos@redhat.com>
19128
19129 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19130 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19131
e23872c8
SP
191322013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19133
e5c74c63
SP
19134 * NEWS: Mention libm performance improvements and non-x86 PI
19135 futex support.
19136
e23872c8
SP
19137 * csu/libc-start.c (__pthread_initialize_minimal): Change
19138 function arguments.
19139 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19140
b5510883
JM
191412013-02-28 Joseph Myers <joseph@codesourcery.com>
19142
19143 [BZ #13550]
19144 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19145 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19146 <bp-sym.h> and <bp-asm.h>.
19147 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19148 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19149 and <bp-asm.h>.
19150 (memcpy): Don't use BP_SYM.
19151 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19152 <bp-asm.h>.
19153 (__mpn_add_n): Don't use BP_SYM.
19154 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19155 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19156 and <bp-asm.h>.
19157 (__mpn_addmul_1): Don't use BP_SYM.
19158 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19159 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19160 <bp-sym.h>.
19161 (_setjmp): Don't use BP_SYM.
19162 (__novmx_setjmp): Likewise.
19163 (__GI__setjmp): Likewise.
19164 (__vmx_setjmp): Likewise.
19165 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19166 <bp-sym.h>.
19167 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19168 (__bzero): Don't use BP_SYM.
19169 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19170 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19171 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19172 <bp-sym.h> and <bp-asm.h>.
19173 (memcpy): Don't use BP_SYM.
19174 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19175 <bp-sym.h> and <bp-asm.h>.
19176 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19177 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19178 <bp-sym.h> and <bp-asm.h>.
19179 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19180 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19181 <bp-asm.h>.
19182 (__mpn_lshift): Don't use BP_SYM.
19183 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19184 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19185 <bp-asm.h>.
19186 (memset): Don't use BP_SYM.
19187 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19188 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19189 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19190 <bp-asm.h>.
19191 (__mpn_mul_1): Don't use BP_SYM.
19192 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19193 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19194 <bp-sym.h> and <bp-asm.h>.
19195 (memcmp): Don't use BP_SYM.
19196 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19197 <bp-sym.h> and <bp-asm.h>.
19198 (memcpy): Don't use BP_SYM.
19199 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19200 <bp-sym.h> and <bp-asm.h>.
19201 (memset): Don't use BP_SYM.
19202 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19203 <bp-sym.h> and <bp-asm.h>.
19204 (strncmp): Don't use BP_SYM.
19205 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19206 <bp-sym.h> and <bp-asm.h>.
19207 (memcpy): Don't use BP_SYM.
19208 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19209 <bp-sym.h> and <bp-asm.h>.
19210 (memset): Don't use BP_SYM.
19211 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19212 <bp-sym.h> and <bp-asm.h>.
19213 (__memchr): Don't use BP_SYM.
19214 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19215 <bp-sym.h> and <bp-asm.h>.
19216 (memcmp): Don't use BP_SYM.
19217 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19218 <bp-sym.h> and <bp-asm.h>.
19219 (memcpy): Don't use BP_SYM.
19220 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19221 <bp-sym.h> and <bp-asm.h>.
19222 (__mempcpy): Don't use BP_SYM.
19223 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19224 <bp-sym.h> and <bp-asm.h>.
19225 (__memrchr): Don't use BP_SYM.
19226 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19227 <bp-sym.h> and <bp-asm.h>.
19228 (memset): Don't use BP_SYM.
19229 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19230 <bp-sym.h> and <bp-asm.h>.
19231 (__rawmemchr): Don't use BP_SYM.
19232 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19233 <bp-sym.h> and <bp-asm.h>.
19234 (__STRCMP): Don't use BP_SYM.
19235 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19236 <bp-sym.h> and <bp-asm.h>.
19237 (strchr): Don't use BP_SYM.
19238 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19239 <bp-sym.h> and <bp-asm.h>.
19240 (__strchrnul): Don't use BP_SYM.
19241 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19242 <bp-sym.h> and <bp-asm.h>.
19243 (strlen): Don't use BP_SYM.
19244 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19245 <bp-sym.h> and <bp-asm.h>.
19246 (strncmp): Don't use BP_SYM.
19247 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19248 <bp-sym.h> and <bp-asm.h>.
19249 (__strnlen): Don't use BP_SYM.
19250 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19251 <bp-asm.h>.
19252 (__mpn_rshift): Don't use BP_SYM.
19253 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19254 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19255 <bp-sym.h> and <bp-asm.h>.
19256 (__sigsetjmp): Don't use BP_SYM.
19257 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19258 (L(start_addresses)): Don't use BP_SYM.
19259 (_start): Likewise.
19260 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19261 <bp-asm.h>.
19262 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19263 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19264 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19265 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19266 <bp-asm.h>.
19267 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19268 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19269 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19270 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19271 <bp-asm.h>.
19272 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19273 comments.
19274 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19275 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19276 <bp-asm.h>.
19277 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19278 FIXME comments.
19279 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19280 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19281 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19282 <bp-asm.h>.
19283 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19284 comment.
19285 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19286 and <bp-asm.h>.
19287 (strncmp): Don't use BP_SYM,
19288 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19289 <bp-asm.h>.
19290 (__mpn_sub_n): Don't use BP_SYM.
19291 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19292 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19293 and <bp-asm.h>.
19294 (__mpn_submul_1): Don't use BP_SYM.
19295 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19297 <bp-sym.h> and <bp-asm.h>.
19298 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19300 <bp-sym.h> and <bp-asm.h>.
19301 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19302 comment.
19303
8d19fe64
SP
193042013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19305
19306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19307 Use ZK to minimize writes to Z.
19308 (sub_magnitudes): Simplify code a bit.
19309 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19310 Use ZK to minimize writes to Z.
19311 (sub_magnitudes): Simplify code a bit.
19312
85bd816a
RM
193132013-02-27 Roland McGrath <roland@hack.frob.com>
19314
19315 * csu/gmon-start.c: Add special exception to license text.
19316
b5977bf2
RH
193172013-02-27 Richard Henderson <rth@redhat.com>
19318
19319 * scripts/config.guess: Update from config.git.
19320 * scripts/config.sub: Likewise.
19321
11d6e2f2
SP
193222013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19323
09c14ed2
SP
19324 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19325
a688864e
SP
19326 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19327
6295157a
SP
19328 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19329
b8de2202
SP
19330 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19331
11d6e2f2
SP
19332 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19333
7e80ddb8
RM
193342013-02-26 Roland McGrath <roland@hack.frob.com>
19335
19336 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19337 [$(build-shared = yes].
7e80ddb8 19338
7da6d9ed
SP
193392013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19340
45f05884
SP
19341 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19342 (__mul): Reduce iterations for calculating mantissa.
19343
2236d359
SP
19344 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19345 MPTWO.
19346 (__mpranred): Likewise.
19347
7da6d9ed
SP
19348 [BZ #15160]
19349 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19350 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19351
b7688c42
PE
193522013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19353
19354 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19355 Define __attribute__.
19356
53a5c423
SP
193572013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19358
19359 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19360 unused.
19361 * posix/regex_internal.h (__attribute): Remove.
19362 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19363 (re_string_context_at): Likewise.
19364 (bitset_not): Use __attribute__ and mark function as possibly
19365 unused.
19366 (bitset_merge): Likewise.
19367 (bitset_mask): Likewise.
19368 (re_string_char_size_at): Likewise.
19369 (re_string_wchar_at): Likewise.
19370 (re_string_elem_size_at): Likewise.
19371
60f5a8b5
SP
193722013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19373
2a983a2e
SP
19374 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19375 code.
19376 (cc32): Likewise.
19377
e69804d1
SP
19378 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19379 (__acr): Likewise.
19380 (__cpy): Likewise.
19381 (norm): Likewise.
19382 (denorm): Likewise.
19383 (__dbl_mp): Likewise.
19384 (add_magnitudes): Likewise.
19385 (sub_magnitudes): Likewise.
19386 (__mul): Likewise.
19387 (__inv): Likewise.
19388
2f22a1e8
SP
19389 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19390 style.
19391
8930ddc7
SP
19392 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19393 style.
19394
dc60cb11
SP
19395 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19396 code.
19397
60f5a8b5
SP
19398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19399 up changes with default code.
19400 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19401 Likewise.
19402
b4d1fd33
AM
194032013-02-24 Allan McRae <allan@archlinux.org>
19404
faf6f8bc
AM
19405 * manual/socket.texi (The Internet Namespace): Order menu items
19406 to match that in the file.
19407
b4d1fd33
AM
19408 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19409 node listing of the info page menu.
19410
2366713d
JM
194112013-02-21 Joseph Myers <joseph@codesourcery.com>
19412
19413 [BZ #13550]
19414 * sysdeps/i386/bp-asm.h: Remove file.
19415 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19416 (PARMS): Do not use macros from bp-asm.h.
19417 (S1): Likewise.
19418 (S2): Likewise.
19419 (SIZE): Likewise.
19420 (__mpn_add_n): Do not use BP_SYM
19421 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19422 "bp-asm.h".
19423 (PARMS): Do not use macros from bp-asm.h.
19424 (S1): Likewise.
19425 (SIZE): Likewise.
19426 (__mpn_addmul_1): Do not use BP_SYM
19427 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19428 "bp-asm.h".
19429 (PARMS): Do not use macros from bp-asm.h.
19430 (SIGMSK): Likewise.
19431 (_setjmp): Likewise. Do not use BP_SYM.
19432 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19433 "bp-asm.h".
19434 (PARMS): Do not use macros from bp-asm.h.
19435 (SIGMSK): Likewise.
19436 (setjmp): Likewise. Do not use BP_SYM.
19437 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19438 "bp-asm.h".
19439 (PARMS): Do not use macros from bp-asm.h.
19440 (__frexp): Do not use BP_SYM.
19441 (frexp): Likewise.
19442 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19443 "bp-asm.h".
19444 (PARMS): Do not use macros from bp-asm.h.
19445 (__frexpf): Do not use BP_SYM.
19446 (frexpf): Likewise.
19447 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19448 "bp-asm.h".
19449 (PARMS): Do not use macros from bp-asm.h.
19450 (__frexpl): Do not use BP_SYM.
19451 (frexpl): Likewise.
19452 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19453 "bp-asm.h".
19454 (PARMS): Do not use macros from bp-asm.h.
19455 (__remquo): Do not use BP_SYM.
19456 (remquo): Likewise.
19457 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19458 "bp-asm.h".
19459 (PARMS): Do not use macros from bp-asm.h.
19460 (__remquof): Do not use BP_SYM.
19461 (remquof): Likewise.
19462 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19463 "bp-asm.h".
19464 (PARMS): Do not use macros from bp-asm.h.
19465 (__remquol): Do not use BP_SYM.
19466 (remquol): Likewise.
19467 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19468 "bp-asm.h".
19469 (PARMS): Do not use macros from bp-asm.h.
19470 (DEST): Likewise.
19471 (SRC): Likewise.
19472 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19473 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19474 "bp-asm.h".
19475 (PARMS): Do not use macros from bp-asm.h.
19476 (strlen): Do not use BP_SYM.
19477 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19478 "bp-asm.h".
19479 (PARMS): Do not use macros from bp-asm.h.
19480 (S1): Likewise.
19481 (S2): Likewise.
19482 (SIZE): Likewise.
19483 (__mpn_add_n): Do not use BP_SYM.
19484 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19485 "bp-asm.h".
19486 (PARMS): Do not use macros from bp-asm.h.
19487 (S1): Likewise.
19488 (SIZE): Likewise.
19489 (__mpn_addmul_1): Do not use BP_SYM.
19490 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19491 weak_alias.
19492 (bzero): Likewise.
19493 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19494 "bp-asm.h".
19495 (PARMS): Do not use macros from bp-asm.h.
19496 (S): Likewise.
19497 (SIZE): Likewise.
19498 (__mpn_lshift): Do not use BP_SYM.
19499 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
19500 "bp-asm.h".
19501 (PARMS): Do not use macros from bp-asm.h.
19502 (DEST): Likewise.
19503 (SRC): Likewise.
19504 (LEN): Likewise.
19505 (memcpy): Likewise. Do not use BP_SYM.
19506 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
19507 libc_hidden_def and weak_alias.
19508 (mempcpy): Do not use BP_SYM in weak_alias.
19509 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
19510 "bp-asm.h".
19511 (PARMS): Do not use macros from bp-asm.h.
19512 (DEST): Likewise.
19513 (LEN): Likewise.
19514 [!BZERO_P] (CHR): Likewise.
19515 (memset): Likewise. Do not use BP_SYM.
19516 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
19517 "bp-asm.h".
19518 (PARMS): Do not use macros from bp-asm.h.
19519 (S1): Likewise.
19520 (SIZE): Likewise.
19521 (__mpn_mul_1): Do not use BP_SYM.
19522 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
19523 "bp-asm.h".
19524 (PARMS): Do not use macros from bp-asm.h.
19525 (S): Likewise.
19526 (SIZE): Likewise.
19527 (__mpn_rshift): Do not use BP_SYM.
19528 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
19529 "bp-asm.h".
19530 (PARMS): Do not use macros from bp-asm.h.
19531 (STR): Likewise.
19532 (CHR): Likewise.
19533 (strchr): Likewise. Do not use BP_SYM.
19534 (index): Do not use BP_SYM in weak_alias.
19535 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
19536 "bp-asm.h".
19537 (PARMS): Do not use macros from bp-asm.h.
19538 (DEST): Likewise.
19539 (SRC): Likewise.
19540 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
19541 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
19542 "bp-asm.h".
19543 (PARMS): Do not use macros from bp-asm.h.
19544 (strlen): Do not use BP_SYM.
19545 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
19546 "bp-asm.h".
19547 (PARMS): Do not use macros from bp-asm.h.
19548 (S1): Likewise.
19549 (S2): Likewise.
19550 (SIZE): Likewise.
19551 (__mpn_sub_n): Do not use BP_SYM.
19552 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
19553 "bp-asm.h".
19554 (PARMS): Do not use macros from bp-asm.h.
19555 (S1): Likewise.
19556 (SIZE): Likewise.
19557 (__mpn_submul_1): Do not use BP_SYM.
19558 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
19559 "bp-asm.h".
19560 (PARMS): Do not use macros from bp-asm.h.
19561 (S1): Likewise.
19562 (S2): Likewise.
19563 (SIZE): Likewise.
19564 (__mpn_add_n): Do not use BP_SYM.
19565 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
19566 weak_alias.
19567 (bzero): Likewise.
19568 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
19569 "bp-asm.h".
19570 (PARMS): Do not use macros from bp-asm.h.
19571 (BLK2): Likewise.
19572 (LEN): Likewise.
19573 (memcmp): Do not use BP_SYM.
19574 (bcmp): Do not use BP_SYM in weak_alias.
19575 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
19576 "bp-asm.h".
19577 (PARMS): Do not use macros from bp-asm.h.
19578 (DEST): Likewise.
19579 (SRC): Likewise.
19580 (LEN): Likewise.
19581 (memcpy): Likewise. Do not use BP_SYM.
19582 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
19583 "bp-asm.h".
19584 (PARMS): Do not use macros from bp-asm.h.
19585 (DEST): Likewise.
19586 (SRC): Likewise.
19587 (LEN): Likewise.
19588 (memmove): Likewise. Do not use BP_SYM.
19589 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
19590 "bp-asm.h".
19591 (PARMS): Do not use macros from bp-asm.h.
19592 (DEST): Likewise.
19593 (SRC): Likewise.
19594 (LEN): Likewise.
19595 (__mempcpy): Likewise. Do not use BP_SYM.
19596 (mempcpy): Do not use BP_SYM in weak_alias.
19597 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
19598 "bp-asm.h".
19599 (PARMS): Do not use macros from bp-asm.h.
19600 (DEST): Likewise.
19601 (LEN): Likewise.
19602 [!BZERO_P] (CHR): Likewise.
19603 (memset): Likewise. Do not use BP_SYM.
19604 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
19605 "bp-asm.h".
19606 (PARMS): Do not use macros from bp-asm.h.
19607 (STR2): Likewise.
19608 (strcmp): Do not use BP_SYM.
19609 * sysdeps/i386/i686/strtok.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 (DELIM): Likewise.
19614 [USE_AS_STRTOK_R] (SAVE): Likewise.
19615 (FUNCTION): Likewise. Do not use BP_SYM.
19616 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
19617 aliases.
19618 (strtok_r): Likewise.
19619 (__GI___strtok_r): Likewise.
19620 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19621 (PARMS): Do not use macros from bp-asm.h.
19622 (S): Likewise.
19623 (SIZE): Likewise.
19624 (__mpn_lshift): Do not use BP_SYM.
19625 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
19626 (PARMS): Do not use macros from bp-asm.h.
19627 (STR): Likewise.
19628 (CHR): Likewise.
19629 (__memchr): Do not use BP_SYM.
19630 (memchr): Do not use BP_SYM in weak_alias.
19631 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19632 (PARMS): Do not use macros from bp-asm.h.
19633 (BLK2): Likewise.
19634 (LEN): Likewise.
19635 (memcmp): Do not use BP_SYM.
19636 (bcmp): Do not use BP_SYM in weak_alias.
19637 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
19638 (PARMS): Do not use macros from bp-asm.h.
19639 (S1): Likewise.
19640 (SIZE): Likewise.
19641 (__mpn_mul_1): Do not use BP_SYM.
19642 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
19643 "bp-asm.h".
19644 (PARMS): Do not use macros from bp-asm.h.
19645 (STR): Likewise.
19646 (CHR): Likewise.
19647 (__rawmemchr): Do not use BP_SYM.
19648 (rawmemchr): Do not use BP_SYM in weak_alias.
19649 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
19650 (PARMS): Do not use macros from bp-asm.h.
19651 (S): Likewise.
19652 (SIZE): Likewise.
19653 (__mpn_rshift): Do not use BP_SYM.
19654 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
19655 (PARMS): Do not use macros from bp-asm.h.
19656 (SIGMSK): Likewise.
19657 (__sigsetjmp): Likewise. Do not use BP_SYM.
19658 * sysdeps/i386/start.S: Do not include "bp-sym.h".
19659 (_start): Do not use BP_SYM.
19660 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
19661 (PARMS): Do not use macros from bp-asm.h.
19662 (DEST): Likewise.
19663 (SRC): Likewise.
19664 (__stpcpy): Likewise. Do not use BP_SYM.
19665 (stpcpy): Do not use BP_SYM in weak_alias.
19666 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
19667 "bp-asm.h".
19668 (PARMS): Do not use macros from bp-asm.h.
19669 (DEST): Likewise.
19670 (SRC): Likewise.
19671 (LEN): Likewise.
19672 (__stpncpy): Likewise. Do not use BP_SYM.
19673 (stpncpy): Do not use BP_SYM in weak_alias.
19674 * sysdeps/i386/strchr.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 (CHR): Likewise.
19678 (strchr): Likewise. Do not use BP_SYM.
19679 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
19680 "bp-asm.h".
19681 (PARMS): Do not use macros from bp-asm.h.
19682 (STR): Likewise.
19683 (CHR): Likewise.
19684 (__strchrnul): Likewise. Do not use BP_SYM.
19685 (strchrnul): Do not use BP_SYM in weak_alias.
19686 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
19687 "bp-asm.h".
19688 (PARMS): Do not use macros from bp-asm.h.
19689 (STOP): Likewise.
19690 (strcspn): Do not use BP_SYM.
19691 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
19692 "bp-asm.h".
19693 (PARMS): Do not use macros from bp-asm.h.
19694 (STR): Likewise.
19695 (STOP): Likewise.
19696 (strpbrk): Likewise. Do not use BP_SYM.
19697 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
19698 "bp-asm.h".
19699 (PARMS): Do not use macros from bp-asm.h.
19700 (STR): Likewise.
19701 (CHR): Likewise.
19702 (strrchr): Likewise. Do not use BP_SYM.
19703 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
19704 (PARMS): Do not use macros from bp-asm.h.
19705 (SKIP): Likewise.
19706 (strspn): Do not use BP_SYM.
19707 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
19708 (PARMS): Do not use macros from bp-asm.h.
19709 (STR): Likewise.
19710 (DELIM): Likewise.
19711 (SAVE): Likewise.
19712 (FUNCTION): Likewise. Do not use BP_SYM.
19713 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19714 aliases.
19715 (strtok_r): Likewise.
19716 (__GI___strtok_r): Likewise.
19717 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19718 (PARMS): Do not use macros from bp-asm.h.
19719 (S1): Likewise.
19720 (S2): Likewise.
19721 (SIZE): Likewise.
19722 (__mpn_sub_n): Do not use BP_SYM.
19723 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19724 "bp-asm.h".
19725 (PARMS): Do not use macros from bp-asm.h.
19726 (S1): Likewise.
19727 (SIZE): Likewise.
19728 (__mpn_submul_1): Do not use BP_SYM.
19729 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19730 <bp-sym.h>.
19731 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19732 and <bp-asm.h>.
19733 (PARMS): Do not use macros from bp-asm.h.
19734 (FLAGS): Likewise.
19735 (PTID): Likewise.
19736 (TLS): Likewise.
19737 (CTID): Likewise.
19738 (__clone): Do not use BP_SYM.
19739 (clone): Do not use BP_SYM in weak_alias.
19740 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19741 and <bp-asm.h>.
19742 (PARMS): Do not use macros from bp-asm.h.
19743 (LEN): Likewise.
19744 (__mmap64): Do not use BP_SYM.
19745 (mmap64): Do not use BP_SYM in weak_alias.
19746 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19747 <bp-sym.h> and <bp-asm.h>.
19748 (PARMS): Do not use macros from bp-asm.h.
19749 (__posix_fadvise64_l64): Do not use BP_SYM.
19750 * sysdeps/unix/sysv/linux/i386/semtimedop.S
19751 (PARMS): Do not use macros from bp-asm.h.
19752 (NSOPS): Likewise.
19753 (semtimedop): Do not use BP_SYM.
19754 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19755 and <bp-asm.h>.
19756
582a3cff
AM
197572013-02-21 Allan McRae <allan@archlinux.org>
19758
19759 * manual/message.texi (Charset conversion in gettext):
19760 Move @end statement to beginning of line.
19761
bab8a695
SP
197622013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19763
80945231
SP
19764 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19765 static.
19766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19767 Likewise.
19768
bab8a695
SP
19769 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19770 (denorm): Likewise.
19771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19773
e21d7aa7
AK
197742013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19775
19776 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19777 tail-call to the resolved function if pltexit isn't needed.
19778
4c7a4263
SP
197792013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19780
19781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19782 or Y being zero as being unlikely.
19783 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19784 Likewise.
19785
41f49342
CD
197862013-02-20 Carlos O'Donell <carlos@redhat.com>
19787
19788 * manual/nss.texi (System Databases and Name Service Switch):
19789 Remove frobnicate @pxref.
19790
50022a93
TS
197912013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19792
19793 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19794 __attribute__ ((unused)) to __attribute__ ((__unused__)).
19795
08cbd996
PM
197962013-02-20 Petr Machata <pmachata@redhat.com>
19797
19798 * elf/elf.h (R_ARM_TARGET1): New macro.
19799 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19800 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19801 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19802 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19803 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19804 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19805 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19806 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19807 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19808 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19809 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19810 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19811 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19812 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19813 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19814 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19815 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19816 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19817 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19818 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19819 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19820 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19821 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19822 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19823 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19824 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19825 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19826 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19827 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19828 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19829 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19830 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19831 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19832 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19833 (R_ARM_THM_GOT_BREL12): Likewise.
19834 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19835 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19836 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19837 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19838 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19839 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19840 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19841 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19842 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19843
c7b275d6
TS
198442013-02-20 Thomas Schwinge <thomas@codesourcery.com>
19845
19846 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19847 __attribute_used__ to __attribute__ ((unused)).
19848
20cd7fb3
SP
198492013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19850
19851 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19852 powerpc mpa.c.
19853 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19854 comment formatting.
19855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19856
92945b52
JM
198572013-02-19 Joseph Myers <joseph@codesourcery.com>
19858
19859 [BZ #13550]
19860 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19861 Remove macro.
19862 (ENTER): Remove both macro definitions.
19863 (LEAVE): Likewise.
19864 (CHECK_BOUNDS_LOW): Likewise.
19865 (CHECK_BOUNDS_HIGH): Likewise.
19866 (CHECK_BOUNDS_BOTH): Likewise.
19867 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19868 (RETURN_BOUNDED_POINTER): Likewise.
19869 (RETURN_NULL_BOUNDED_POINTER): Likewise.
19870 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19871 (POP_ERRNO_LOCATION_RETURN): Likewise.
19872 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19873 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19874 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19875 macros.
19876 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19877 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19878 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19879 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19880 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19881 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19882 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19883 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19884 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19885 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19886 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19887 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19888 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19889 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19890 removed macros.
19891 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19892 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19893 macros.
19894 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19895 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19896 * sysdeps/i386/i586/memset.S (memset): Likewise.
19897 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19898 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19899 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19900 macros.
19901 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19902 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19903 Change uses of L(2) to L(out).
19904 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19905 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19906 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19907 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19908 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19909 removed macros.
19910 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19911 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19912 macros.
19913 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19914 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19915 (RETURN): Do not use macro LEAVE.
19916 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19917 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19918 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19919 * sysdeps/i386/i686/memset.S (memset): Likewise.
19920 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19921 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19922 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19923 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19924 Likewise.
19925 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19926 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
19927 L(1_2) and L(1_3) into L(1).
19928 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19929 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19930 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19931 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19932 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19933 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19934 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19935 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19936 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19937 macros.
19938 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19939 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19940 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19941 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19942 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19943 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19944 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19945 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19946 * sysdeps/i386/strcspn.S (strcspn): Likewise.
19947 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19948 * sysdeps/i386/strrchr.S (strrchr): Likewise.
19949 * sysdeps/i386/strspn.S (strspn): Likewise.
19950 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19951 conditional code.
19952 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19953 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19954 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19955 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
19956 L(1_3) into L(1_1).
19957 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19958 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19959 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19960 macros.
19961 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19962
2389741a
JJ
199632013-02-19 Jakub Jelinek <jakub@redhat.com>
19964
19965 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19966 macro.
19967
2016b3cd
SP
199682013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19969
e4f22324
SP
19970 * math/atest-exp.c (exp_mpn): Remove ROUND.
19971 * math/atest-exp2.c (exp_mpn): Likewise.
19972 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19973
2016b3cd
SP
19974 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19975 * stdlib/tst-tls-atexit-lib.c: Likewise.
19976 * stdlib/tst-tls-atexit.c: Likewise.
19977
4be9b544
MF
199782013-02-18 Mike Frysinger <vapier@gentoo.org>
19979
19980 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19981 and __attribute_alloc_size__.
19982
2f62b9ee
MF
199832013-02-18 Mike Frysinger <vapier@gentoo.org>
19984
19985 * include/programs/xmalloc.h: Change __attribute_alloc_size to
19986 __attribute_alloc_size__.
19987 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19988 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19989
6ff444c4
MF
199902013-02-18 Mike Frysinger <vapier@gentoo.org>
19991
19992 * include/programs/xmalloc.h: New file.
19993 * catgets/gencat.c: Include it.
19994 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19995 * elf/pldd.c: Likewise.
19996 * iconv/iconv_charmap.c: Likewise.
19997 * iconv/iconvconfig.c: Likewise.
19998 * iconv/strtab.c: Likewise.
19999 * locale/programs/locale.c: Likewise.
20000 * locale/programs/localedef.h: Likewise.
20001 * locale/programs/simple-hash.c: Likewise.
20002 * nscd/nscd.h: Likewise.
20003 * nss/makedb.c: Likewise.
20004 * sysdeps/generic/ldconfig.h: Likewise.
20005
be179c8a
SP
200062013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20007
ba384f6e
SP
20008 * Versions.def: Add GLIBC_2.18.
20009 * include/link.h (struct link_map): New member l_tls_dtor_count.
20010 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20011 (__call_tls_dtors): Likewise.
20012 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20013 __cxa_thread_atexit_impl.
20014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20015 Likewise.
20016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20017 Likewise.
20018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20019 Likewise.
20020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20021 Likewise.
20022 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20024 Likewise.
20025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20026 Likewise.
20027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20029 Likewise.
20030 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20031 (tests): Add test case tst-tls-atexit.
20032 (modules-names): Add shared library for tst-tls-atexit.
85891aca 20033 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
20034 (GLIBC_PRIVATE): Add __call_tls_dtors.
20035 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20036 for libstdc++.
20037 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20038 * stdlib/tst-tls-atexit.c: New test case.
20039 * stdlib/tst-tls-atexit-lib.c: New test case.
20040
ffaa74cf 20041 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 20042
be179c8a
SP
20043 * elf/Versions (ld): Add _dl_find_dso_for_object.
20044 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20045 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20046 (dl_open_worker): Use _dl_find_dso_for_object.
20047 * elf/dl-sym.c (do_sym): Likewise.
20048 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20049
f78b5caa
AK
200502013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20051
20052 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20053 Syntactic changes only.
20054 (_dl_runtime_profile): Do a tail-call to the resolved function.
20055
29691210
JM
200562013-02-17 Joseph Myers <joseph@codesourcery.com>
20057
20058 [BZ #13550]
20059 * sysdeps/x86_64/bp-asm.h: Remove file.
20060 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20061 <bp-sym.h> and <bp-asm.h>.
20062 (__clone): Do not use BP_SYM.
20063 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20064 <bp-sym.h> and <bp-asm.h>.
20065 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20066 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20067 "bp-asm.h".
20068 (_setjmp): Do not use BP_SYM.
20069 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20070 "bp-asm.h".
20071 (setjmp): Do not use BP_SYM.
20072 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20073 libc_hidden_def.
20074 (mempcpy): Do not use BP_SYM in weak_alias.
20075 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20076 "bp-asm.h".
20077 (strchr): Do not use BP_SYM.
20078 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20079 "bp-asm.h".
20080 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20081 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20082 (_start): Do not use BP_SYM.
20083 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20084 "bp-asm.h".
20085 (strcat): Do not use BP_SYM.
20086 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20087 "bp-asm.h".
20088 (STRCMP): Do not use BP_SYM.
20089 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20090 "bp-asm.h".
20091 (STRCPY): Do not use BP_SYM.
20092 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20093 "bp-asm.h".
20094 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20095 "bp-asm.h".
20096 (FUNCTION): Do not use BP_SYM.
20097 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20098 weak_alias.
20099 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20100
f238fd19
AJ
201012013-02-17 Andreas Jaeger <aj@suse.de>
20102
20103 * time/Versions: Sort entries.
20104 * string/Versions: Likewise.
20105 * resolv/Versions: Likewise.
20106 * posix/Versions: Likewise.
20107 * iconv/Versions: Likewise.
20108 * elf/Versions: Likewise.
20109 * wcsmbs/Versions: Likewise.
20110
bd07f23c 201112013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 20112
22af19f9
SP
20113 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20114 loop termination condition.
20115
4709fe76
SP
20116 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20117 variable to calculate EZ.
20118 (__sqr): Likewise.
2d0e0f29
SP
20119
20120 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20121 the lower precision input.
20122
daaa7713
JM
201232013-02-15 Joseph Myers <joseph@codesourcery.com>
20124
20125 [BZ #13550]
20126 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20127 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20128 (run-via-rtld-prefix): Do not handle %-bp tests.
20129 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20130 (all-object-suffixes): Remove .ob.
20131 (bppfx): Remove variable.
20132 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20133 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20134 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20135 [$(build-bounded) = yes] (libtype.ob): Likewise.
20136 * Makerules (elide-routines.ob): Remove variable.
20137 (do-tests-clean): Do not handle *-bp.out.
20138 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20139 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20140 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20141 (tests): Do not include $(tests-bp.out).
20142 (xtests): Do not include $(xtests-bp.out).
20143 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20144 [$(build-bounded) = yes] ($(addprefix
20145 $(objpfx),$(binaries-bounded))): Remove rule.
20146 ($(objpfx)%-bp.out): Remove rule.
20147 * config.make.in (build-bounded): Remove variable.
20148 * crypt/Makefile [$(build-bounded) = yes]
20149 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20150 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20151 append to variable.
20152 [$(build-bounded) = yes] (install-lib): Likewise.
20153 [$(build-bounded) = yes] (generated): Likewise.
20154 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20155 Remove rule.
20156 * intl/Makefile [$(build-bounded) = yes]
20157 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20158 * math/Makefile [$(build-bounded) = yes]
20159 ($(tests:%=$(objpfx)%-bp): Likewise.
20160 * misc/Makefile [$(build-bounded) = yes]
20161 ($(objpfx)tst-tsearch-bp): Likewise.
20162 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20163 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20164 Remove dependency.
20165 * string/Makefile (o-objects.ob): Remove variable.
20166 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20167 (CFLAGS-.ob): Remove variable.
20168 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20169 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20170 both definitions of variable.
20171 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20172 (ASFLAGS-.ob): Remove variable.
20173
e97ed6dd
JM
201742013-02-14 Joseph Myers <joseph@codesourcery.com>
20175
2bdd4ca6
JM
20176 [BZ #13550]
20177 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20178 Remove __BOUNDED_POINTERS__ from condition.
20179 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20180 * string/bits/string2.h [!__NO_STRING_INLINES &&
20181 !__BOUNDED_POINTERS__]: Likewise.
20182 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20183 Likewise.
20184 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20185 Remove conditional code.
20186 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20187 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20188 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20189 condition.
20190
e97ed6dd
JM
20191 [BZ #13550]
20192 * csu/libc-start.c: Do not include <bp-sym.h>.
20193 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20194 * elf/dl-open.c: Do not include <bp-sym.h>.
20195 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20196 * math/fegetenv.c: Do not include <bp-sym.h>.
20197 (fegetenv): Do not use BP_SYM in versioned symbols.
20198 * nptl/sysdeps/pthread/bits/libc-lockP.h
20199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20200 <bp-sym.h>.
20201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20202 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20204 (__pthread_mutex_destroy): Likewise.
20205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20206 (__pthread_mutex_lock): Likewise.
20207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20208 (__pthread_mutex_trylock): Likewise.
20209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20210 (__pthread_mutex_unlock): Likewise.
20211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20212 (__pthread_mutexattr_init): Likewise.
20213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20214 (__pthread_mutexattr_destroy): Likewise.
20215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20216 (__pthread_mutexattr_settype): Likewise.
20217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20218 (__pthread_rwlock_init): Likewise.
20219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20220 (__pthread_rwlock_destroy): Likewise.
20221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20222 (__pthread_rwlock_rdlock): Likewise.
20223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20224 (__pthread_rwlock_tryrdlock): Likewise.
20225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20226 (__pthread_rwlock_wrlock): Likewise.
20227 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20228 (__pthread_rwlock_trywrlock): Likewise.
20229 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20230 (__pthread_rwlock_unlock): Likewise.
20231 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20232 (__pthread_key_create): Likewise.
20233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20234 (__pthread_setspecific): Likewise.
20235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20236 (__pthread_getspecific): Likewise.
20237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20238 Likewise.
20239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20240 (_pthread_cleanup_push_defer): Likewise.
20241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20242 (_pthread_cleanup_pop_restore): Likewise.
20243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20244 (pthread_setcancelstate): Likewise.
20245 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20246 <bp-sym.h>.
20247 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20248 (memchr): Do not use BP_SYM in weak_alias.
20249 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20250 (fegetenv): Do not use BP_SYM in versioned symbols.
20251 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20252 (fesetenv): Do not use BP_SYM in versioned symbols.
20253 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20254 (feupdateenv): Do not use BP_SYM in versioned symbols.
20255 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20256 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20257 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20258 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20259 (open64): Do not use BP_SYM in weak_alias.
20260 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20261 (fegetenv): Do not use BP_SYM in versioned symbols.
20262 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20263 (fesetenv): Do not use BP_SYM in versioned symbols.
20264 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20265 (feupdateenv): Do not use BP_SYM in versioned symbols.
20266 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20267 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20268 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20269 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20270 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20271 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20272 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20273 <bp-sym.h>.
20274 (__libc_start_main): Do not use BP_SYM.
20275
d6752ccd
SP
202762013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20277
cb57ce60
SP
20278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20279 redundant return line.
20280 (norm): Likewise.
20281 (denorm): Likewise.
20282 (dbl_mp): Likewise.
20283 (sub_magnitudes): Likewise.
20284 (__add): Likewise.
20285 (__sub): Likewise.
20286 (__mul): Likewise.
20287 (__inv): Likewise.
20288 (__dvd): Likewise.
20289 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20290 (norm): Likewise.
20291 (denorm): Likewise.
20292 (dbl_mp): Likewise.
20293 (sub_magnitudes): Likewise.
20294 (__add): Likewise.
20295 (__sub): Likewise.
20296 (__mul): Likewise.
20297 (__inv): Likewise.
20298 (__dvd): Likewise.
20299
f414520d
SP
20300 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20301 instead of __mul.
20302 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20303 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20304 (cc32): Likewise.
20305
d6752ccd
SP
20306 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20307 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20308 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20309 of __mul for squares.
20310 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20311 function
20312 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20313 Likewise.
20314 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20315 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20316
70d9946a
JM
203172013-02-13 Joseph Myers <joseph@codesourcery.com>
20318
20319 [BZ #13550]
20320 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20321 code.
20322 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20323 prototype or function definition. Rename ubp_* variables and
20324 parameters. Remove argv definitions conditional on
20325 [__BOUNDED_POINTERS__].
20326 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20327 * elf/dl-runtime.c (_dl_fixup): Likewise.
20328 * include/set-hooks.h (RUN_HOOK): Likewise.
20329 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20330 definition.
20331 * string/strcpy.c (strcpy): Do not use __unbounded.
20332 * sysdeps/generic/frame.h (struct layout): Likewise.
20333 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20334 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20335 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20336 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20337 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20338 (__backtrace): Likewise.
20339 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20340 use __ptrvalue.
20341 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20342 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20343 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20344 Likewise.
20345 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20346 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20347 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20348 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20349 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20350 Do not use __unbounded.
20351 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20352 Rename __unboundedrlimits parameter to rlimits in prototype.
20353 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20354 Do not use __unbounded.
20355 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20356 not use __ptrvalue.
20357 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20358 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20359 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20360 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20361 __ptrvalue or __unbounded.
20362 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20363 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20364 use __unbounded.
20365 (__new_msgctl): Do not use __ptrvalue.
20366 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20367 __unbounded.
20368 (__libc_msgrcv): Do not use __ptrvalue.
20369 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20370 startup_info): Do not use __unbounded.
20371 (__libc_start_main): Likewise. Rename ubp_* variables and
20372 parameters. Remove argv definitions conditional on
20373 [__BOUNDED_POINTERS__].
20374 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20375 __ptrvalue.
20376 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20377 use __unbounded.
20378 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20379 or __ptrvalue.
20380 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20381 use __unbounded.
20382 (__new_shmctl): Do not use __ptrvalue.
20383 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20384 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20385 Likewise.
20386 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20387 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20388 (__libc_sigaction): Likewise.
20389 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20390 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20391 Likewise.
20392 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20393
cc7834d6
OB
203942013-02-13 Ondřej Bílka <neleai@seznam.cz>
20395
ffb1ec7b 20396 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
20397
20398 * string/mempcpy.c: Implement by calling memcpy.
20399
bdf02814
SP
204002013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20401
c2af38aa
SP
20402 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20403
4e92d59e
SP
20404 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20405 evaluation.
20406
909279a5
SP
20407 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20408 values in the mantissa.
20409
bdf02814
SP
20410 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20411 minimize writes to Z.
20412 (sub_magnitudes): Simplify code a bit.
20413
cd525923
RM
204142013-02-12 Roland McGrath <roland@hack.frob.com>
20415
20416 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20417 from the message. The linker prefixes all warnings with that already.
20418
7e2f0d2d
AS
204192013-02-12 Andreas Schwab <schwab@suse.de>
20420
a445af0b
AS
20421 [BZ #15078]
20422 * posix/regexec.c (extend_buffers): Add parameter min_len.
20423 (check_matching): Pass minimum needed length.
20424 (clean_state_log_if_needed): Likewise.
20425 (get_subexp): Likewise.
20426 * posix/Makefile (tests): Add bug-regex34.
20427 (bug-regex34-ENV): Define.
20428 * posix/bug-regex34.c: New file.
20429
7e2f0d2d
AS
20430 [BZ #11561]
20431 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20432 elements compare against the byte sequence of it, not its name.
20433 * posix/Makefile (tests): Add bug-regex35.
20434 (bug-regex35-ENV): Define.
20435 * posix/bug-regex35.c: New file.
20436
a175b684
TV
204372013-02-11 Tom de Vries <tom@codesourcery.com>
20438
20439 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20440 comment.
20441 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20442 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20443 (CHECK_EOL): Add undef.
20444
310998fe 204452013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
20446
20447 * bits/stdlib-bsearch.h: New file.
20448 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 20449 * stdlib/stdlib.h: Likewise.
41eda41d 20450
8ded91fb
RM
204512013-02-11 Roland McGrath <roland@hack.frob.com>
20452
20453 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20454 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20455 declaration.
20456 * manual/search.texi (Array Search Function): Add missing const in
20457 lfind prototype.
20458 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20459 declaration to use rlim_t.
20460 (Basic Scheduling Functions): Remove erroneous const from
20461 sched_getparam prototype. Remove erroneous * from
20462 sched_get_priority_max and sched_get_priority_min prototypes.
20463 (Resource Usage): Fix summary @comment on vtimes to refer to
20464 sys/vtimes.h rather than vtimes.h.
20465 Add missing *s in vtimes prototype.
20466 (Limits on Resources): Fix ulimit prototype to return long int.
20467 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20468 prototypes to use long int rather than double.
20469 (BSD Random): Fix initstate and setstate to use char *, not void *.
20470 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20471 prototype to make second argument 'struct aiocb64 *const[]'.
20472 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20473 (Status of AIO Operations): Remove erroneous const in aio_return and
20474 aio_return64 prototypes.
20475 (Synchronizing I/O): Fix sync prototype to return void.
20476 * manual/startup.texi (Suboptions): Remove an erroneous const in
20477 getsubopt prototype.
20478 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20479 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20480 use size_t rather than int.
20481 (Scanning All Users): Likewise for getpwent_r.
20482 (Setting Groups): Add missing const to setgroups prototype.
20483 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20484 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20485 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20486 'const void *' rather than 'const char *'.
20487 (Host Address Functions): Likewise for inet_ntop.
20488 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20489 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20490 ssize_t for return value.
20491 (Sending Data): Likewise for send, sendto, sendmsg.
20492 (Socket Option Functions): Add a missing const in setsockopt prototype.
20493 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20494 use wchar_t for the argument.
20495 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20496 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
20497 take no arguments.
20498 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
20499 double/float/long double for second argument.
20500 Fix return types of significand, significandf, significandl.
20501 * manual/filesys.texi (Setting Permissions): Use mode_t for second
20502 argument in fchmod prototype.
20503 (File Owner): Use uid_t and gid_t in fchown prototype.
20504 (File Times): Add const to utimes, futimes, and lutimes prototypes.
20505 (Making Special Files): Use mode_t and dev_t in mknod prototype.
20506 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
20507 use 'const struct dirent **' as argument types to CMP function pointer
20508 argument.
20509 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
20510 (File Times): Fix summary magic @comment for struct utimbuf and utime
20511 to refer to utime.h, not time.h.
20512 * manual/string.texi (Argz Functions): Add missing const in
20513 argz_extract and argz_next prototypes.
20514 (Finding Tokens in a String): Likewise for basename.
20515 (String/Array Comparison): Fix typo in wcscasecmp prototype.
20516 (Copying and Concatenation): Fix typo in wmemmove prototype.
20517 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
20518 (Signal Stack): Remove erroneous const in sigstack prototype.
20519 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
20520 prototype.
20521 (Simple Calendar Time): Likewise for stime.
20522 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
20523 prototype.
20524 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
20525 say sys/sysctl.h instead.
20526 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
20527 and vsyslog prototypes.
20528
fe77fe6d
TV
205292013-02-11 Tom de Vries <tom@codesourcery.com>
20530
20531 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
20532 Remove.
20533
3a09b620
RM
205342013-02-11 Roland McGrath <roland@hack.frob.com>
20535
20536 * misc/sys/mman.h: Fix typo in mremap comment.
20537
550a0b89
RM
205382013-02-08 Roland McGrath <roland@hack.frob.com>
20539
20540 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
20541 the '\0' terminator.
20542
a2da1673
JM
205432013-02-08 Joseph Myers <joseph@codesourcery.com>
20544
20545 [BZ #13550]
20546 * debug/segfault.c: Don't include <bp-checks.h>.
20547 * sysdeps/generic/bp-checks.h: Remove file.
20548 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
20549 (__GETDENTS): Don't use CHECK_N.
20550 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
20551 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20552 (__getgroups): Don't use CHECK_N.
20553 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
20554 (setgroups): Don't use CHECK_N.
20555 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
20556 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
20557 (__libc_msgrcv): Don't use CHECK_N.
20558 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
20559 (__libc_msgsnd): Don't use CHECK_N.
20560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
20561 <bp-checks.h>.
20562 (__libc_pread): Don't use CHECK_N.
20563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
20564 include <bp-checks.h>.
20565 (__libc_pread64): Don't use CHECK_N.
20566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
20567 include <bp-checks.h>.
20568 (__libc_pwrite): Don't use CHECK_N.
20569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
20570 include <bp-checks.h>.
20571 (__libc_pwrite64): Don't use CHECK_N.
20572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
20573 <bp-checks.h>.
20574 (__libc_pread): Don't use CHECK_N.
20575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
20576 include <bp-checks.h>.
20577 (__libc_pread64): Don't use CHECK_N.
20578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
20579 include <bp-checks.h>.
20580 (__libc_pwrite): Don't use CHECK_N.
20581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
20582 include <bp-checks.h>.
20583 (__libc_pwrite64): Don't use CHECK_N.
20584 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
20585 (do_pread): Don't use CHECK_N.
20586 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
20587 (do_pread64): Don't use CHECK_N.
20588 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
20589 (do_pwrite): Don't use CHECK_N.
20590 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
20591 (do_pwrite64): Don't use CHECK_N.
20592 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
20593 (__libc_readv): Don't use CHECK_N.
20594 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
20595 (semop): Don't use CHECK_N.
20596 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
20597 <bp-checks.h>.
20598 (semtimedop): Don't use CHECK_N.
20599 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
20600 (__libc_pread): Don't use CHECK_N.
20601 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
20602 <bp-checks.h>.
20603 (__libc_pread64): Don't use CHECK_N.
20604 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
20605 <bp-checks.h>.
20606 (__libc_pwrite): Don't use CHECK_N.
20607 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
20608 <bp-checks.h>.
20609 (__libc_pwrite64): Don't use CHECK_N.
20610 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
20611 <bp-checks.h>.
20612 (__libc_msgrcv): Don't use CHECK_N.
20613 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
20614 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
20615 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
20616 (__libc_writev): Don't use CHECK_N.
20617
b84660a8
RM
206182013-02-08 Roland McGrath <roland@hack.frob.com>
20619
7f3e75f8
RM
20620 * string/strcpy.c: Removed unused variable.
20621
b84660a8
RM
20622 * Makeconfig (+sysdep-includes): Define with := rather than =.
20623 Use an existing include/ subdir of each sysdeps dir before it.
20624
471514d3
CD
206252013-02-08 Carlos O'Donell <carlos@redhat.com>
20626
20627 * nscd/connection.c (register_traced_file): Comment function.
20628 [HAVE_INOTIFY] (union __inev): Define.
20629 [HAVE_INOTIFY] (inotify_check_files): New function.
20630 [HAVE_INOTIFY] (clear_db_cache): Likewise.
20631 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
20632 clear_db_cache.
20633 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
20634
b2d3c3be
CD
206352013-02-08 Carlos O'Donell <carlos@redhat.com>
20636
20637 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
20638 loaded if not already and that a failure is permanent.
20639
b39949d2
CD
206402013-02-08 Carlos O'Donell <carlos@redhat.com>
20641
ddacd1db 20642 [BZ #15006]
b39949d2
CD
20643 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
20644 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
20645
b2c9eff4
JM
206462013-02-08 Joseph Myers <joseph@codesourcery.com>
20647
f3aae3f3
JM
20648 [BZ #13550]
20649 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
20650 (CHECK_1_NULL_OK): Likewise.
20651 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
20652 (__fxstat): Do not use CHECK_1.
20653 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
20654 <bp-checks.h>.
20655 (___fxstat64): Do not use CHECK_1.
20656 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20657 <bp-checks.h>.
20658 (__fxstatat): Do not use CHECK_1.
20659 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20660 <bp-checks.h>.
20661 (__fxstatat64): Do not use CHECK_1.
20662 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
20663 <bp-checks.h>.
20664 (__fxstat): Do not use CHECK_1.
20665 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20666 <bp-checks.h>.
20667 (__fxstatat): Do not use CHECK_1.
20668 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20669 <bp-checks.h>.
20670 (__getresgid): Do not use CHECK_1.
20671 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20672 <bp-checks.h>.
20673 (__getresuid): Do not use CHECK_1.
20674 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
20675 <bp-checks.h>.
20676 (__lxstat): Do not use CHECK_1.
20677 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20678 <bp-checks.h>.
20679 (__old_msgctl): Do not use CHECK_1.
20680 (__new_msgctl): Likewise.
20681 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
20682 <bp-checks.h>.
20683 (__new_setrlimit): Do not use CHECK_1.
20684 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20685 <bp-checks.h>.
20686 (__old_shmctl): Do not use CHECK_1.
20687 (__new_shmctl): Likewise.
20688 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
20689 <bp-checks.h>.
20690 (__xstat): Do not use CHECK_1.
20691 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
20692 (__lxstat): Do not use CHECK_1.
20693 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
20694 <bp-checks.h>.
20695 (___lxstat64): Do not use CHECK_1.
20696 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
20697 (__old_msgctl): Do not use CHECK_1.
20698 (__new_msgctl): Likewise.
20699 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
20700 <bp-checks.h>.
20701 (__gettimeofday): Do not use CHECK_1.
20702 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
20703 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
20704 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
20705 <bp-checks.h>.
20706 (__gettimeofday): Do not use CHECK_1.
20707 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
20708 (__old_shmctl): Do not use CHECK_1_NULL_OK.
20709 (__new_shmctl): Do not use CHECK_1.
20710 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20711 <bp-checks.h>.
20712 (do_sigtimedwait): Do not use CHECK_1.
20713 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20714 <bp-checks.h>.
20715 (do_sigwaitinfo): Do not use CHECK_1.
20716 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20717 <bp-checks.h>.
20718 (msgctl): Do not use CHECK_1.
20719 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20720 <bp-checks.h>.
20721 (shmctl): Do not use CHECK_1.
20722 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20723 (ustat): Do not use CHECK_1.
20724 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20725 <bp-checks.h>.
20726 (__fxstat): Do not use CHECK_1.
20727 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20728 <bp-checks.h>.
20729 (__fxstatat): Do not use CHECK_1.
20730 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20731 <bp-checks.h>.
20732 (__lxstat): Do not use CHECK_1.
20733 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20734 <bp-checks.h>.
20735 (__xstat): Do not use CHECK_1.
20736 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20737 (__xstat): Do not use CHECK_1.
20738 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20739 (___xstat64): Do not use CHECK_1.
20740
b2c9eff4
JM
20741 [BZ #13550]
20742 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20743 definitions.
20744 (CHECK_BOUNDS_HIGH): Likewise.
20745 * string/strcpy.c: Do not include <bp-checks.h>.
20746 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20747
f1d70dad
RM
207482013-02-07 Roland McGrath <roland@hack.frob.com>
20749
20750 * nscd/nscd-client.h (__nscd_drop_map_ref):
20751 Add __attribute__ ((unused)).
20752 * nis/nss-nisplus.h (niserr2nss): Likewise.
20753
20754 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20755 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20756
20757 * csu/libc-tls.c (init_static_tls, init_slotinfo):
20758 Remove inline keyword.
20759 * include/rounding-mode.h (round_away): Likewise.
20760 * libio/wfileops.c (adjust_wide_data): Likewise.
20761 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20762 (__m128i_strloadu_tolower): Likewise.
20763 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20764 (__m128i_strloadu_tolower): Likewise.
20765 * time/mktime.c (ydhms_diff): Likewise.
20766 * locale/elem-hash.h (elem_hash): Likewise.
20767 * locale/setlocale.c (setdata): Likewise.
20768 * posix/regex_internal.h (re_string_char_size_at): Likewise.
20769 (re_string_wchar_at): Likewise.
20770 (bitset_not, bitset_merge, bitset_mask): Likewise.
20771 [!(__GNUC__ > 3)] (inline): Remove macro.
20772 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20773 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20774 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20775 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20776 * string/memcmp.c (memcmp_bytes): Likewise.
20777 * locale/programs/locarchive.c (compute_hashval): Likewise.
20778 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20779 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20780 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20781 * nss/getent.c (print_rpc, print_protocols): Likewise.
20782 (print_passwd, print_group, print_aliases): Likewise.
20783 * nis/nss-nisplus.h (niserr2nss): Likewise.
20784 * nscd/connections.c (restart_p): Likewise.
20785 Change return type to bool.
20786
eab55bfb
RM
207872013-02-05 Roland McGrath <roland@hack.frob.com>
20788
7bd642f5
RM
20789 * Makeconfig (all-Depend-files): Add existing
20790 $(sorted-subdirs:=/Depend) files.
20791 (all-subdirs): Remove nss.
20792 * sysdeps/unix/inet/Subdirs: Add it here instead.
20793 * hesiod/Depend: New file.
20794
573c29b2
RM
20795 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20796 instead of calling alloca.
20797
b2e25af0
RM
20798 * io/lseek.c (__lseek): Rename to __libc_lseek.
20799 Define __lseek as an alias.
20800
eab55bfb
RM
20801 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20802
9a0d1941
CD
208032013-02-04 Carlos O'Donell <carlos@redhat.com>
20804
20805 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20806 else clause and remove check for non-standard endianness.
20807
b83bbec4
DM
208082013-02-04 David S. Miller <davem@davemloft.net>
20809
20810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20811
6277fdab
JM
208122013-02-04 Joseph Myers <joseph@codesourcery.com>
20813
20814 [BZ #13550]
20815 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20816 (__ubp_memchr): Remove prototype.
20817 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20818 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20819 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20820 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20821 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20822 Remove alias.
20823 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20824 (__ubp_memchr): Likewise.
20825 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20826 (__ubp_memchr): Likewise.
20827 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20828 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20829 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20830 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20831 CHECK_STRING.
20832 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20833 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20834 (__getcwd): Do not use CHECK_STRING.
20835 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20836 <bp-checks.h>.
20837 (__real_chown): Do not use CHECK_STRING.
20838 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20839 <bp-checks.h>.
20840 (fchownat): Do not use CHECK_STRING.
20841 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20842 CHECK_STRING.
20843 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20844 <bp-checks.h>.
20845 (__lchown): Do not use CHECK_STRING.
20846 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20847 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20848 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20849 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20851 include <bp-checks.h>.
20852 (truncate64): Do not use CHECK_STRING.
20853 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20854 <bp-checks.h>.
20855 (__real_chown): Do not use CHECK_STRING.
20856 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20857 <bp-checks.h>.
20858 (__lchown): Do not use CHECK_STRING.
20859 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20860 <bp-checks.h>.
20861 (__chown): Do not use CHECK_STRING.
20862 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20863 <bp-checks.h>.
20864 (truncate64): Do not use CHECK_STRING.
20865 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20866 Likewise.
20867 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20868 (__xmknod): Do not use CHECK_STRING.
20869 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20870 <bp-checks.h>.
20871 (__xmknodat): Do not use CHECK_STRING.
20872 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20873 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20874
903ae060
AS
208752013-02-04 Andreas Schwab <schwab@suse.de>
20876
20877 [BZ #14142]
20878 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20879 * include/netdb.h: Likewise for h_errno.
20880 * elf/tst-stackguard1.c: Include <tls.h>.
20881
542f9466
JK
208822013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
20883
20884 * elf/link.h (struct link_map): Extend the l_addr comment.
20885 * include/link.h (struct link_map): Likewise.
20886
e782a927
JM
208872013-02-01 Joseph Myers <joseph@codesourcery.com>
20888
20889 [BZ #13550]
20890 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20891 (BOUNDED_1): Remove macro.
20892 * debug/backtrace.c: Don't include <bp-checks.h>.
20893 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20894 (__backtrace): Likewise.
20895 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20896 <bp-checks.h>.
20897 (__backtrace): Don't use BOUNDED_1.
20898 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20899 <bp-checks.h>.
20900 (__backtrace): Don't use BOUNDED_1.
20901 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20902 (__backtrace): Don't use BOUNDED_1.
20903 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20904 (shmat): Don't use BOUNDED_N.
20905
8cf28c5e
JM
209062013-01-31 Joseph Myers <joseph@codesourcery.com>
20907
3a7ac8a0
JM
20908 [BZ #13550]
20909 * sysdeps/generic/bp-start.h: Remove file.
20910 * csu/libc-start.c: Don't include <bp-start.h>.
20911 (LIBC_START_MAIN): Set up __environ directly instead of using
20912 INIT_ARGV_and_ENVIRON.
20913 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20914 <bp-start.h>.
20915
f3499f95
JM
20916 [BZ #13550]
20917 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20918 definitions.
20919 (CHECK_FCNTL): Likewise.
20920 (CHECK_N_PAGES): Likewise.
20921
32a45bea
JM
20922 [BZ #13550]
20923 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20924 definitions.
20925 (CHECK_SIGSET_NULL_OK): Likewise.
20926 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20927 <bp-checks.h>.
20928 (sigpending): Don't use CHECK_SIGSET.
20929 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20930 <bp-checks.h>.
20931 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20932 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20933 <bp-checks.h>.
20934 (do_sigsuspend): Don't use CHECK_SIGSET.
20935 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20936 use CHECK_SIGSET.
20937 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20938 (do_sigwait): Don't use CHECK_SIGSET.
20939 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20940 use CHECK_SIGSET.
20941 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20942 include <bp-checks.h>.
20943 (sigpending): Don't use CHECK_SIGSET.
20944 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20945 include <bp-checks.h>.
20946 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20947 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20948 <bp-checks.h>.
20949 (sigpending): Don't use CHECK_SIGSET.
20950 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20951 <bp-checks.h>.
20952 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20953
2e8a5c8c
JM
20954 [BZ #13550]
20955 * sysdeps/generic/bp-semctl.h: Remove file.
20956 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20957 <bp-checks.h> and <bp-semctl.h>.
20958 (__old_semctl): Don't use CHECK_SEMCTL.
20959 (__new_semctl): Likewise.
20960 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20961 and <bp-semctl.h>.
20962 (__old_semctl): Don't use CHECK_SEMCTL.
20963 (__new_semctl): Likewise.
20964 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20965 <bp-checks.h> and <bp-semctl.h>.
20966 (__old_semctl): Don't use CHECK_SEMCTL.
20967 (__new_semctl): Likewise.
20968 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20969 <bp-checks.h> and <bp-semctl.h>.
20970 (semctl): Don't use CHECK_SEMCTL.
20971
c2d54929
JM
20972 [BZ #13550]
20973 * Makerules (elide-bp-thunks): Remove variable.
20974 (elide-routines.oS): Don't use $(elide-bp-thunks).
20975 (elide-routines.os): Likewise.
20976 (elide-routines.o): Likewise.
20977 (elide-routines.op): Likewise.
20978 (elide-routines.og): Likewise.
20979 (objects): Don't use $(bp-thunks).
20980 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20981 include.
20982 (common-generated): Do not add s-proto-bp.d.
20983 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20984 (int): Likewise.
20985 (typ): Likewise.
20986 Do not generate makefile rules for bounded-pointer thunks.
20987 * sysdeps/generic/bp-thunks.h: Remove file.
20988 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20989 * sysdeps/unix/s-proto-bp.S: Likewise.
20990
8cf28c5e
JM
20991 [BZ #15062]
20992 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20993 parts of result separately when argument is not close to line from
20994 -i to i and one part of argument is small.
20995 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20996 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20997 * math/libm-test.inc (cacos_test): Add more tests.
20998 (casin_test): Likewise.
20999 (casinh_test): Likewise.
21000 * sysdeps/i386/fpu/libm-test-ulps: Update.
21001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21002
c4e33b8d
DM
210032013-01-31 David S. Miller <davem@davemloft.net>
21004
21005 * po/de.po: Update from translation team.
21006
3b60b421
MK
210072013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21008
21009 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21010
bb931195
TS
210112013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21012
b5a5da23
TS
21013 * configure.in (_AC_PROG_CC_C89): New definition.
21014 * configure: Regenerate.
21015
bb931195
TS
21016 * configure.in (AC_PROG_CPP): New definition.
21017 * configure: Regenerate.
21018
8c53a12c
JM
210192013-01-23 Joseph Myers <joseph@codesourcery.com>
21020
21021 * debug/tst-backtrace.h: New file.
21022 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21023 (ret): Remove variable.
21024 (x): Likewise.
21025 (FAIL): Remove macro.
21026 (NO_INLINE): Likewise.
21027 (fn1): Use match function instead of strstr.
21028 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21029 (ret): Remove variable.
21030 (x): Likewise.
21031 (FAIL): Remove macro.
21032 (NO_INLINE): Likewise.
21033 (fn): Use match function instead of strstr.
21034 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21035 (ret): Remove variable.
21036 (x): Likewise.
21037 (FAIL): Remove macro.
21038 (NO_INLINE): Likewise.
21039 (handle_signal): Use match function instead of strstr.
21040 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21041 (ret): Remove variable.
21042 (x): Likewise.
21043 (FAIL): Remove macro.
21044 (NO_INLINE): Likewise.
21045 (handle_signal): Use match function instead of strstr.
21046
4858fa2a
RM
210472013-01-23 Roland McGrath <roland@hack.frob.com>
21048
21049 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21050
bae8e7f5
DM
210512013-01-23 David S. Miller <davem@davemloft.net>
21052
21053 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21054 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21055 argument of CAS if possible.
21056 * sysdeps/sparc/sparc64/bits/atomic.h
21057 (__arch_compare_and_exchange_val_32_acq): Likewise.
21058 (__arch_compare_and_exchange_val_64_acq): Likewise.
21059
9cbbc4ae
PT
210602013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21061
21062 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21063 * sysdeps/posix/ulimit.c: ... this.
92a601b8 21064 Include <limits.h>.
67b3f58c 21065 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 21066
5655a0b5
AC
210672013-01-23 Adam Conrad <adconrad@0c3.net>
21068
21069 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21070 (LDFLAGS-tst-array5): Likewise.
21071
052aff95
JM
210722013-01-23 Joseph Myers <joseph@codesourcery.com>
21073
21074 [BZ #15036]
21075 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21076 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21077 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21078 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21079
7c1e01aa
DM
210802013-01-21 David S. Miller <davem@davemloft.net>
21081
21082 * sysdeps/sparc/backtrace.c: New file.
21083 * sysdeps/sparc/sparc32/backtrace.h: New file.
21084 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21085 * sysdeps/sparc/sparc64/backtrace.h: New file.
21086 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21087 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21088 -funwind-tables.
21089
ab087e0a
AS
210902013-01-21 Andreas Schwab <schwab@suse.de>
21091
21092 [BZ #15020]
21093 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21094 closed its stdout.
21095
ed689c2f
AS
210962013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21097
21098 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21099 "mpa2.h".
21100 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21101
31d470ac
JM
211022013-01-18 Joseph Myers <joseph@codesourcery.com>
21103 Mark Mitchell <mark@codesourcery.com>
21104 Tom de Vries <tom@codesourcery.com>
21105 Paul Pluzhnikov <ppluzhnikov@google.com>
21106
21107 * debug/tst-backtrace2.c: New file.
21108 * debug/tst-backtrace3.c: Likewise.
21109 * debug/tst-backtrace4.c: Likewise.
21110 * debug/tst-backtrace5.c: Likewise.
21111 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21112 (CFLAGS-tst-backtrace3.c): Likewise.
21113 (CFLAGS-tst-backtrace4.c): Likewise.
21114 (CFLAGS-tst-backtrace5.c): Likewise.
21115 (LDFLAGS-tst-backtrace2): Likewise.
21116 (LDFLAGS-tst-backtrace3): Likewise.
21117 (LDFLAGS-tst-backtrace4): Likewise.
21118 (LDFLAGS-tst-backtrace5): Likewise.
21119 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21120 tst-backtrace4 and tst-backtrace5.
21121
90567f30 211222013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
21123 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21124
21125 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21126 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21127 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21128 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21130 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21131 "+r" and remove output regs list as redundant. Add explicit inline
21132 asm to specify register of return val to work around compiler codegen
21133 bug. Remove (int) cast on return value. Add return type parameter to
21134 use in macro so that this macro does not truncate return value for
21135 64-bit values.
21136 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21137 pass to INTERNAL_VSYSCALL_NCS.
21138 (INLINE_VSYSCALL): Add 'long int' as return type to
21139 INTERNAL_VSYSCALL_NCS macro invocation.
21140 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21141 INTERNAL_VSYSCALL_NCS macro invocation.
21142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21143
d3b9ea61
SP
211442013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21145
0b57daeb
SP
21146 [BZ #14496]
21147 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21148 Fix application of SIMD FP exception mask.
21149
caa99d06
SP
21150 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21151 mp_no from a power of two.
21152 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21153 __mpexp_twomm1. Use __pow_mp.
21154
d3b9ea61
SP
21155 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21156 multiplication.
21157
1dbaee3c
DM
211582013-01-17 David S. Miller <davem@davemloft.net>
21159
21160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21161
728d7b43
JM
211622013-01-17 Joseph Myers <joseph@codesourcery.com>
21163
21164 [BZ #15023]
21165 * include/complex.h: Condition contents on [!_COMPLEX_H].
21166 (__kernel_casinhf): New prototype.
21167 (__kernel_casinh): Likewise.
21168 (__kernel_casinhl): Likewise.
21169 * math/Makefile (libm_calls): Add k_casinh.
21170 * math/k_casinh.c: New file.
21171 * math/k_casinhf.c: Likewise.
21172 * math/k_casinhl.c: Likewise.
21173 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21174 finite nonzero arguments.
21175 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21176 finite nonzero arguments.
21177 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21178 finite nonzero arguments.
21179 * math/s_casinh.c: Do not include <float.h>.
21180 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21181 * math/s_casinhf.c: Do not include <float.h>.
21182 (__casinhf): Move code for finite nonzero arguments to
21183 k_casinhf.c.
21184 * math/s_casinhl.c: Do not include <float.h>.
21185 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21186 redefine.
21187 (__casinhl): Move code for finite nonzero arguments to
21188 k_casinhl.c.
21189 * math/libm-test.inc (cacos_test): Add more tests.
21190 * sysdeps/i386/fpu/libm-test-ulps: Update.
21191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21192
2a26ef3a
PT
211932013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21194
21195 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21196 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21197 [!HAVE_MREMAP]: Remove [defined linux] case.
21198 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21199
a897655d
SP
212002013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21201
21202 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21203
881ebe89 212042013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
21205
21206 * elf/elf.h (R_386_SIZE32): New relocation.
21207 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21208 R_386_SIZE32.
21209 (elf_machine_rela): Likewise.
21210 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21211 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21212
59981e9b
JM
212132013-01-17 Joseph Myers <joseph@codesourcery.com>
21214
21215 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21216 (FP_FAST_FMA): Do not define.
21217 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21218 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21219 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21220 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21221 !_SOFT_FLOAT]: Likewise.
21222 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21223 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21224 value.
21225 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21226 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21227 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21228 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21229 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21230 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21231 file.
21232
cfa8054f
AS
212332013-01-16 Andreas Schwab <schwab@suse.de>
21234
21235 [BZ #14327]
21236 * include/stdlib.h (__mktemp): Add declaration.
21237 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21238 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21239
dd930cc5
SP
212402013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21241
881ebe89
SP
21242 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21243 definitions.
21244 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21245 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21246 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21247 definitions here.
21248 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21249 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21250 definitions.
21251 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21252 and ONE.
21253 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21254 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21255 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21256 definitions.
21257 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21258 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21259 definitions.
21260 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 21261
dd930cc5
SP
21262 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21263
c19a9f89
DM
212642013-01-15 David S. Miller <davem@davemloft.net>
21265
1aa61767
DM
21266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21267 trunc{,f} to libm-sysdep_routes.
21268 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21270 file.
21271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21273 file.
21274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21275 file.
21276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21278 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21279 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21280 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21281 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21282 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21283 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21284
c42d5e98
DM
21285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21286 nearbyint{,f} to libm-sysdep_routes.
21287 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21289 New file.
21290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21291 file.
21292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21293 New file.
21294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21295 file.
21296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21298 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21299 file.
21300 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21301 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21302 file.
21303 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21304 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21305 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21306
c19a9f89
DM
21307 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21308 libc_feholdexcept and libc_fesetenv.
21309
357679d2
MF
213102013-01-15 Mike Frysinger <vapier@gentoo.org>
21311
21312 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21313
65a82e3d
DM
213142013-01-14 David S. Miller <davem@davemloft.net>
21315
8b954ab9
DM
21316 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21317 (SPARC_ASM_VIS2_IFUNC): Likewise.
21318 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21320 use of 'siam' instruction.
21321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21322 Likewise.
21323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21324 Likewise.
21325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21326 Likewise.
21327 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21328 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21329 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21330 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21332 file.
21333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21334 file.
21335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21336 file.
21337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21338 file.
21339 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21340 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21341 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21342 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21344 new VIS2 routines.
21345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21348 Likewise.
21349 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21351 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21354 routines to libm-sysdep_routines.
21355 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21356
65a82e3d
DM
21357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21358 fdim/fdimf to libm-sysdep_routines.
21359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21360 file.
21361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21363 file.
21364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21367 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21368 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21369 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21370 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21371
e34ab705
SP
213722013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21373
2a91b573
SP
21374 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21375 to optimize copies.
21376
1066a534
SP
21377 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21379 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21380
e34ab705
SP
21381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21382 local variable MPTWO.
21383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21384 Likewise.
21385
aba5e596
MF
213862013-01-13 Mike Frysinger <vapier@gentoo.org>
21387
21388 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21389 GLOB_NOESCAPE.
21390
e557e9e5
MF
213912013-01-13 Mike Frysinger <vapier@gentoo.org>
21392
21393 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21394
0428cec9
MF
213952013-01-13 Mike Frysinger <vapier@gentoo.org>
21396
21397 * manual/pattern.texi (glob_t): Document gl_flags.
21398 (glob64_t): Likewise.
21399
8794a964
DM
214002013-01-11 David S. Miller <davem@davemloft.net>
21401
66438c3f
RM
21402 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21403 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21404 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
21405 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21406 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21407 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21408 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21409 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21410 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21411 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21412 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21413 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21414 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21415
4ae4244d
DM
21416 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21417 sparc V9 rather than using V8 code.
21418 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21419 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21420
8794a964
DM
21421 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21422 Move to...
21423 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21424 Here.
21425
6270516e
RM
214262013-01-11 Roland McGrath <roland@hack.frob.com>
21427
21428 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21429 not in the main loop.
21430 * configure: Regenerated.
21431
6a57d931
JM
214322013-01-11 Joseph Myers <joseph@codesourcery.com>
21433
21434 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21435 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21436 to just #else.
21437 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21438 [!__GLIBC_HAVE_LONG_LONG] case.
21439 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21440 condition to just #else.
21441 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21442 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21443 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21444 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21445 unconditional.
21446 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21447 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21448 #elif condition to just #else.
21449 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21450 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21451 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21452 #elif condition to just #else.
21453
0e8529e9
SE
214542013-01-11 Steve Ellcey <sellcey@mips.com>
21455
21456 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21457 (EF_MIPS_ARCH_64): Fix value.
21458 (EF_MIPS_ARCH_32R2): New.
21459 (EF_MIPS_ARCH_64R2): New.
21460
740b3dbe
L
214612013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21462
21463 * Makeconfig (+link-pie-before-libc): New.
21464 (+link-pie-after-libc): Likewise.
21465 (+link-pie-tests): Likewise.
21466 (+link-pie): Rewritten.
21467 (link-before-libc): Remove $(config-LDFLAGS).
21468 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21469 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21470 (config-LDFLAGS): Renamed to ...
21471 (rtld-LDFLAGS): This.
21472 (rtld-tests-LDFLAGS): New macro.
21473 (link-libc-rpath-link): Likewise.
21474 (link-libc-tests-rpath-link): Likewise.
21475 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21476 (link-libc): Prepand $(link-libc-rpath-link).
21477 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21478 (test-program-prefix): New macro.
21479 (test-via-rtld-prefix): Likewise.
21480 (test-program-cmd): Likewise.
21481 (host-test-program-cmd): Likewise.
21482 * Makefile ($(common-objpfx)testrun.sh): Replace
21483 $(run-program-prefix) with $(test-program-prefix).
21484 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21485 $(rtld-LDFLAGS).
21486 ($(common-objpfx)shlib.lds): Likewise.
21487 (build-module-helper): Likewise.
21488 ($(common-objpfx)format.lds): Likewise.
21489 * Rules (binaries-pie-tests): New.
21490 (binaries-pie-notests): Likewise.
21491 (binaries-pie): Rewritten.
21492 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21493 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21494 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21495 (make-test-out): Replace $(host-built-program-cmd) with
21496 $(host-test-program-cmd).
21497 * config.make.in (build-hardcoded-path-in-tests): New variable.
21498 * configure.in (--enable-hardcoded-path-in-tests): New configure
21499 option.
21500 (hardcoded_path_in_tests): New AC_SUBST.
21501 * configure: Regenerated.
21502 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
21503 $(built-program-cmd) with $(test-program-cmd).
21504 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
21505 (test_program_cmd): This.
21506 * elf/Makefile ($(objpfx)order.out): Run test with
21507 $(test-program-prefix).
21508 ($(objpfx)order2.out): Likewise.
21509 ($(objpfx)tst-initorder.out): Likewise.
21510 ($(objpfx)tst-initorder2.out): Likewise.
21511 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
21512 $(test-program-cmd).
21513 ($(objpfx)tst-array1-static.out): Likewise.
21514 ($(objpfx)tst-array2.out): Likewise.
21515 ($(objpfx)tst-array3.out): Likewise.
21516 ($(objpfx)tst-array4.out): Likewise.
21517 ($(objpfx)tst-array5.out): Likewise.
21518 ($(objpfx)tst-array5-static.out): Likewise.
21519 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
21520 $(test-program-cmd).
21521 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
21522 $(run-program-prefix) with $(test-program-prefix).
21523 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
21524 (test_program_prefix): This.
21525 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
21526 $(run-program-prefix) with $(test-program-prefix).
21527 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
21528 (test_program_prefix): This.
21529 * iconvdata/tst-tables.sh: Likewise.
21530 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
21531 $(run-program-prefix) with $(test-program-prefix).
21532 ($(objpfx)tst-translit.out): Likewise.
21533 ($(objpfx)tst-gettext2.out): Likewise.
21534 ($(objpfx)tst-gettext4.out): Likewise.
21535 ($(objpfx)tst-gettext6.out): Likewise.
21536 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
21537 (test_program_prefix): This.
21538 * intl/tst-gettext2.sh: Likewise.
21539 * intl/tst-gettext4.sh Likewise.
21540 * intl/tst-gettext6.sh: Likewise.
21541 * intl/tst-translit.sh: Likewise.
21542 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
21543 with $(test-program-cmd).
21544 * libio/Makefile ($(objpfx)test-freopen.out): Replace
21545 $(run-program-prefix) with $(test-program-prefix).
21546 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
21547 (test_program_prefix): This.
21548 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
21549 $(run-program-prefix) with $(test-program-prefix).
21550 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
21551 (test_program_prefix): This.
21552 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
21553 * posix/Makefile ($(objpfx)globtest.out): Replace
21554 $(run-via-rtld-prefix) and $(test-wrapper) with
21555 $(test-program-prefix) and $(test-via-rtld-prefix).
21556 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
21557 $(test-program-prefix).
21558 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
21559 $(host-test-program-cmd).
21560 (tst-spawn-ARGS): Likewise.
21561 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
21562 $(test-program-prefix).
21563 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
21564 (test_via_rtld_prefix): This.
21565 (test_wrapper): Renamed to ...
21566 (test_program_prefix): This.
21567 (run_program_prefix): Replaced by test_program_prefix.
21568 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
21569 (test_program_prefix): This.
21570 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
21571 with $(host-test-program-cmd).
21572 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
21573 $(run-program-prefix) with $(test-program-prefix).
21574 ($(objpfx)tst-printf.out): Likewise.
21575 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
21576 $(test-program-cmd).
21577 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
21578 (test_program_prefix): This.
21579 * stdio-common/tst-unbputc.sh: Likewise.
21580 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
21581 $(run-program-prefix) with $(test-program-prefix).
21582 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
21583 (test_program_prefix): This.
21584 * string/Makefile ($(objpfx)tst-svc.out): Replace
21585 $(built-program-cmd) with $(test-program-cmd).
21586
c6fe55cf
AJ
215872013-01-11 Andreas Jaeger <aj@suse.de>
21588
21589 [BZ #15003]
21590 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
21591 value. Sync with Linux 3.7.
21592
9e6919c8
DM
215932013-01-10 David S. Miller <davem@davemloft.net>
21594
21595 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
21596 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21597 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21598
1c9f1a02
RM
215992013-01-10 Roland McGrath <roland@hack.frob.com>
21600
21601 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
21602 never set.
21603 * configure: Regenerated.
21604
b9de2dde
DM
216052013-01-10 David S. Miller <davem@davemloft.net>
21606
21607 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21608 sparc V9 rather than using V8 code.
21609 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21610 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21611
e7f68ef4
RM
216122013-01-10 Roland McGrath <roland@hack.frob.com>
21613
21614 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
21615 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
21616 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
21617 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
21618 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
21619 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
21620 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
21621 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
21622 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
21623 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
21624 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
21625 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
21626 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
21627 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
21628 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
21629 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
21630 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
21631 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21632 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
21633 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
21634 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
21635 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
21636 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
21637 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
21638 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
21639 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
21640 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
21641
5a47cc9c
DM
216422013-01-10 David S. Miller <davem@davemloft.net>
21643
21644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21645
4cf8f209
L
216462013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21647
21648 * posix/Makefile (tests-static): New variable.
21649 (tests): Add $(tests-static).
21650 (tst-exec-static-ARGS): New variable.
21651 (tst-spawn-static-ARGS): Likewise.
21652 * posix/tst-exec-static.c: New file.
21653 * posix/tst-spawn-static.c: Likewise.
21654 * posix/tst-exec.c: Support run directly.
21655 * posix/tst-spawn.c: Likewise.
21656
fed0faa1
JM
216572013-01-10 Joseph Myers <joseph@codesourcery.com>
21658
828beb13
JM
21659 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
21660 long.
21661 * math/bits/mathcalls.h (llrint): Likewise.
21662 (llround): Likewise.
21663 * stdlib/stdlib.h (struct drand48_data): Likewise.
21664 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
21665 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
21666 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
21667 Likewise.
21668 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
21669 Likewise.
21670 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
21671 (elf_greg_t): Likewise.
21672 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
21673 (__jmp_buf): Likewise.
21674 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
21675 definitions.
21676 (llrint): Likewise, for all definitions.
21677 (llrintl): Likewise.
21678
fed0faa1
JM
21679 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
21680 Remove [__GNUC__] condition.
21681 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
21682 condition to just [__USE_ISOC99].
21683 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
21684
1a20cb20
L
216852013-01-10 H.J. Lu <hongjiu.lu@intel.com>
21686
21687 [BZ #14200]
21688 * sysdeps/unix/sysv/linux/x86/bits/environments.h
21689 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
21690 defined.
21691 (_POSIX_V6_ILP32_OFF32): Likewise.
21692 (_XBS5_ILP32_OFF32): Likewise.
21693 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
21694 (__ILP32_OFFBIG_LDFLAGS): Likewise.
21695
751b85f7
SP
216962013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21697
7490eb81
SP
21698 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
21699
751b85f7
SP
21700 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
21701 doubles __mpexp_twomm1. Adjust usage.
21702 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
21703 Remove.
21704
988197f0
AS
217052013-01-10 Andreas Schwab <schwab@suse.de>
21706
21707 [BZ #14964]
21708 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
21709 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21710
e83d7298
DM
217112013-01-09 David S. Miller <davem@davemloft.net>
21712
034ed64b 21713 [BZ #15003]
57f41c40
AS
21714 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21715 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21716 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21717 (TCP_FASTOPEN): Define.
e83d7298
DM
21718 (tcp_repair_opt): New structure.
21719 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21720 enum values.
57f41c40
AS
21721 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21722 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21723 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
21724 (tcp_cookie_transactions): New structure.
21725
d5e0b9bd
AB
217262013-01-09 Anton Blanchard <anton@samba.org>
21727
21728 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21729 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21730 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21731 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21732
0c07e3ea
JM
217332013-01-09 Joseph Myers <joseph@codesourcery.com>
21734
21735 * include/features.h (__USE_ANSI): Remove.
21736
232f7002
RM
217372013-01-09 Roland McGrath <roland@hack.frob.com>
21738
ad98e30c
RM
21739 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21740
232f7002
RM
21741 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21742
950c99ca
SP
217432013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
21744
b5792741
SP
21745 * sysdeps/s390/fpu/libm-test-ulps: Update.
21746
47cf2278
SP
21747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21748
950c99ca
SP
21749 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21750 (__acr): Likewise.
21751 (__cpy): Likewise.
21752 (norm): Likewise.
21753 (denorm): Likewise.
21754 (__mp_dbl): Likewise.
21755 (__dbl_mp): Likewise.
21756 (add_magnitudes): Likewise.
21757 (sub_magnitudes): Likewise.
21758 (__add): Likewise.
21759 (__sub): Likewise.
21760 (__mul): Likewise.
21761 (__inv): Likewise.
21762 (__dvd): Likewise.
21763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21764 (__acr): Likewise.
21765 (__cpy): Likewise.
21766 (norm): Likewise.
21767 (denorm): Likewise.
21768 (__mp_dbl): Likewise.
21769 (__dbl_mp): Likewise.
21770 (add_magnitudes): Likewise.
21771 (sub_magnitudes): Likewise.
21772 (__add): Likewise.
21773 (__sub): Likewise.
21774 (__mul): Likewise.
21775 (__inv): Likewise.
21776 (__dvd): Likewise.
21777 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21778 (__acr): Likewise.
21779 (__cpy): Likewise.
21780 (norm): Likewise.
21781 (denorm): Likewise.
21782 (__mp_dbl): Likewise.
21783 (__dbl_mp): Likewise.
21784 (add_magnitudes): Likewise.
21785 (sub_magnitudes): Likewise.
21786 (__add): Likewise.
21787 (__sub): Likewise.
21788 (__mul): Likewise.
21789 (__inv): Likewise.
21790 (__dvd): Likewise.
21791
eede9df9
JM
217922013-01-08 Joseph Myers <joseph@codesourcery.com>
21793
21794 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21795 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21796 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21797 2 && __USE_EXTERN_INLINES]: Likewise.
21798
c40ea3d9
AJ
217992013-01-08 Andreas Jaeger <aj@suse.de>
21800
21801 [BZ# 14985]
21802 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21803 Remove.
21804 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21805 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21806
2ccdea26
AB
218072013-01-07 Anton Blanchard <anton@samba.org>
21808
21809 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21810 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21811 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21812 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21813 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21814 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21815 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21816 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21818 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21819 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21820 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21821 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21822 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21823 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21824 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21825 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21826 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21827 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21828 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21829 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21830 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21831 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21832 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21833 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21834 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21835 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21836 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21837 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21838 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21839 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21841 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21842 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21843 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21844 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21845 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21846 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21847 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21848 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21849 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21850 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21851 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21852
a9708fed
JM
218532013-01-07 Joseph Myers <joseph@codesourcery.com>
21854
375607b9
JM
21855 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21856 (__MALLOC_PMT): Likewise.
21857 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21858 [__GNUC__], only on [_LIBC].
21859 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21860 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21861 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21862 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21863 forward declaration.
21864 (realloc_hook_ini): Likewise.
21865 (memalign_hook_ini): Likewise.
21866 (__libc_memalign): Do not use __MALLOC_PMT in variable
21867 declaration.
21868 (__libc_valloc): Likewise.
21869 (__libc_pvalloc): Likewise.
21870 (__libc_calloc): Likewise.
21871 (__posix_memalign): Likewise.
21872
a9708fed
JM
21873 [BZ #14996]
21874 * math/s_casinh.c: Include <float.h>.
21875 (__casinh): Do not do computation with squaring and square root
21876 for large arguments.
21877 * math/s_casinhf.c: Include <float.h>.
21878 (__casinhf): Do not do computation with squaring and square root
21879 for large arguments.
21880 * math/s_casinhl.c: Include <float.h>.
21881 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21882 (__casinhl): Do not do computation with squaring and square root
21883 for large arguments.
21884 * math/libm-test.inc (casin_test): Add more tests.
21885 (casinh_test): Likewise.
21886 * sysdeps/i386/fpu/libm-test-ulps: Update.
21887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21888
afec409a
L
218892013-01-04 H.J. Lu <hongjiu.lu@intel.com>
21890
21891 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21892 (__x86_64_raw_data_cache_size): Likewise.
21893 (__x86_64_data_cache_size_half): Likewise.
21894 (__x86_64_raw_data_cache_size_half): Likewise.
21895 (__x86_64_shared_cache_size): Likewise.
21896 (__x86_64_raw_shared_cache_size): Likewise.
21897 (__x86_64_shared_cache_size_half): Likewise.
21898 (__x86_64_raw_shared_cache_size_half): Likewise.
21899 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21900 to ...
21901 (__x86_data_cache_size): This.
21902 (__x86_64_raw_data_cache_size): Renamed to ...
21903 (__x86_raw_data_cache_size): This.
21904 (__x86_64_data_cache_size_half): Renamed to ...
21905 (__x86_data_cache_size_half): This.
21906 (__x86_64_raw_data_cache_size_half): Renamed to ...
21907 (__x86_raw_data_cache_size_half): This.
21908 (__x86_64_shared_cache_size): Renamed to ...
21909 (__x86_shared_cache_size): This.
21910 (__x86_64_raw_shared_cache_size): Renamed to ...
21911 (__x86_raw_shared_cache_size): This.
21912 (__x86_64_shared_cache_size_half): Renamed to ...
21913 (__x86_shared_cache_size_half): This.
21914 (__x86_64_raw_shared_cache_size_half): Renamed to ...
21915 (__x86_raw_shared_cache_size_half): This.
21916 * sysdeps/x86_64/memcpy.S: Updated.
21917 * sysdeps/x86_64/memset.S: Likewise.
21918 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21919 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21920 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21921
0b3986d0
DM
219222013-01-04 David S. Miller <davem@davemloft.net>
21923
21924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21925
e47686e9
AS
219262013-01-04 Andreas Schwab <schwab@linux-m68k.org>
21927
d643bac1
AS
21928 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21929 1 to avoid redefinition warning.
21930 (__USE_GNU): Don't define.
21931 (init_signaling_nan): Protoize.
21932
e47686e9
AS
21933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21934
b18decba
SP
219352013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21936
fffb407f
SP
21937 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21939 (__cpymn): Likewise.
21940 (norm): Remove commented code.
21941 (denorm): Likewise.
21942 (__mp_dbl): Likewise.
21943 (__inv): Likewise.
21944 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21945 (__cpymn): Likewise.
21946 (norm): Remove commented code.
21947 (denorm): Likewise.
21948 (__mp_dbl): Likewise.
21949 (__inv): Likewise.
21950
b18decba
SP
21951 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21952 mp_no value for 1.0 and 2.0.
21953 (norm): Use RADIXI instead of radixi.d.
21954 (denorm): Likewise.
21955 (__mul): Use 0.0 instead of zero.d.
21956 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21957 mp_no value for 1.0 and 2.0.
21958 (norm): Use RADIXI instead of radixi.d.
21959 (denorm): Likewise.
21960 (__mul): Use 0.0 instead of zero.d.
21961
cdc1c96f
JM
219622013-01-04 Joseph Myers <joseph@codesourcery.com>
21963
21964 [BZ #14994]
21965 * math/s_casinh.c (__casinh): Reduce finite argument to first
21966 quadrant then set signs of results at the end.
21967 * math/s_casinhf.c (__casinhf): Likewise.
21968 * math/s_casinhl.c (__casinhl): Likewise.
21969 * math/libm-test.inc (casin_test): Add more tests.
21970 (casinh_test): Likewise.
21971 * sysdeps/i386/fpu/libm-test-ulps: Update.
21972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21973
302913e1
SP
219742013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21975
6420d207
SP
21976 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21977
a9e48ab4
SP
21978 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21979
b7837264
SP
21980 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21981 declarations.
21982 (denorm): Likewise.
21983 (__mp_dbl): Likewise.
21984 (__inv): Likewise.
21985
f8af25d2
SP
21986 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21987 and adjust the header comment.
21988
302913e1
SP
21989 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21990 variable name from declaration.
21991
5d7dd1ca
L
219922013-01-03 H.J. Lu <hongjiu.lu@intel.com>
21993
21994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21995 Initialize COMMON_CPUID_INDEX_7 element.
21996 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21997 (CPUID_RTM): Likewise.
21998 (HAS_RTM): Likewise.
21999 (COMMON_CPUID_INDEX_7): New enum.
22000
2f5f40f4
AS
220012013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22002
22003 [BZ #14981]
22004 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22005 size is zero, record memory as freed.
22006
4056f4a0
AJ
220072013-01-03 Andreas Jaeger <aj@suse.de>
22008
22009 * po/ia.po: Add new Interlingua translation.
22010
ab15736f 220112012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
22012
22013 * locale/programs/localedef.c: Fix description of '--posix' flag.
22014
568035b7
JM
220152013-01-02 Joseph Myers <joseph@codesourcery.com>
22016
e6898b8d
JM
22017 * NEWS: Update dates in second copyright notice.
22018 * README: Update copyright dates in example.
22019 * manual/libc.texinfo: Update copyright dates.
22020 * scripts/test-installation.pl: Update copyright date in --version
22021 output.
22022
0e2f9562
JM
22023 * hurd/ctty-input.c: Fix copyright notice formatting.
22024 * hurd/ctty-output.c: Likewise.
22025 * hurd/dtable.c: Likewise.
22026 * hurd/hurd-raise.c: Likewise.
22027 * hurd/hurdprio.c: Likewise.
22028 * hurd/msgportdemux.c: Likewise.
22029 * misc/sys/file.h: Likewise.
22030 * misc/sys/ioctl.h: Likewise.
22031 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22032 * sysdeps/mach/hurd/chdir.c: Likewise.
22033 * sysdeps/mach/hurd/fchdir.c: Likewise.
22034 * sysdeps/mach/hurd/rename.c: Likewise.
22035 * sysdeps/mach/hurd/rmdir.c: Likewise.
22036 * sysdeps/mach/hurd/seekdir.c: Likewise.
22037 * sysdeps/mach/hurd/setsid.c: Likewise.
22038 * sysdeps/posix/wait3.c: Likewise.
22039
568035b7
JM
22040 * All files with FSF copyright notices: Update copyright dates
22041 using scripts/update-copyrights.
22042 * intl/plural.c: Regenerated.
22043 * locale/programs/charmap-kw.h: Likewise.
22044 * locale/programs/locfile-kw.h: Likewise.
22045
da08f647
SP
220462013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22047
0f5477af
SP
22048 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22049 four values.
22050
44e0d4c2
SP
22051 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22052 calculation loop and add branch prediction.
22053
4d55b4e5
SP
22054 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22055 check access beyond bounds of m1np.
22056
da08f647
SP
22057 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22058 MPTWO.
22059 (__inv): Remove local variable MPTWO to use the global
22060 constant.
22061 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22062 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22063 variable MPTWO.
22064 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22065 MP3HALFS static const.
22066
8e051029
DM
220672013-01-01 David S. Miller <davem@davemloft.net>
22068
22069 * po/ca.po: Update from translation team.
22070
f4cf5f2d
JM
220712013-01-01 Joseph Myers <joseph@codesourcery.com>
22072
22073 * scripts/update-copyrights: New file.
22074 * Makeconfig: Reformat copyright notice.
22075 * ctype/ctype.h: Likewise.
22076 * debug/swprintf_chk.c: Likewise.
22077 * elf/dl-cache.c: Likewise.
22078 * elf/dl-debug.c: Likewise.
22079 * elf/dl-object.c: Likewise.
22080 * grp/initgroups.c: Likewise.
22081 * hurd/Makefile: Likewise.
22082 * hurd/hurd/signal.h: Likewise.
22083 * hurd/hurdfault.c: Likewise.
22084 * hurd/hurdioctl.c: Likewise.
22085 * hurd/hurdlookup.c: Likewise.
22086 * hurd/intr-msg.c: Likewise.
22087 * iconv/gconv_open.c: Likewise.
22088 * libio/swprintf.c: Likewise.
22089 * locale/lc-ctype.c: Likewise.
22090 * locale/nl_langinfo.c: Likewise.
22091 * mach/Machrules: Likewise.
22092 * mach/Makefile: Likewise.
22093 * malloc/obstack.h: Likewise.
22094 * manual/Makefile: Likewise.
22095 * manual/tsort.awk: Likewise.
22096 * misc/bits/stab.def: Likewise.
22097 * nis/nis_print_group_entry.c: Likewise.
22098 * nis/nis_table.c: Likewise.
22099 * nis/nss_compat/compat-pwd.c: Likewise.
22100 * nis/nss_compat/compat-spwd.c: Likewise.
22101 * po/Makefile: Likewise.
22102 * posix/fnmatch.c: Likewise.
22103 * posix/regex.h: Likewise.
22104 * resolv/Makefile: Likewise.
22105 * resolv/nss_dns/dns-network.c: Likewise.
22106 * resolv/res_hconf.c: Likewise.
22107 * scripts/gen-sorted.awk: Likewise.
22108 * soft-fp/soft-fp.h: Likewise.
22109 * stdio-common/printf.h: Likewise.
22110 * stdlib/monetary.h: Likewise.
22111 * stdlib/random.c: Likewise.
22112 * stdlib/random_r.c: Likewise.
22113 * sysdeps/generic/Makefile: Likewise.
22114 * sysdeps/gnu/Makefile: Likewise.
22115 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22116 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22117 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22118 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22119 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22120 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22121 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22122 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22123 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22125 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22126 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22127 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22128 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22129 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22130 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22131 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22132 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22133 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22134 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22135 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22136 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22137 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22138 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22139 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22140 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22141 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22142 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22143 * sysdeps/mach/hurd/errnos.awk: Likewise.
22144 * sysdeps/mach/hurd/fork.c: Likewise.
22145 * sysdeps/mach/hurd/getcwd.c: Likewise.
22146 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22147 * sysdeps/mach/hurd/mmap.c: Likewise.
22148 * sysdeps/mach/hurd/utimes.c: Likewise.
22149 * sysdeps/mach/hurd/xmknod.c: Likewise.
22150 * sysdeps/posix/profil.c: Likewise.
22151 * sysdeps/posix/readdir_r.c: Likewise.
22152 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22153 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22154 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22155 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22156 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22157 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22158 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22159 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22160 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22161 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22162 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22163 * sysdeps/pthread/lio_listio.c: Likewise.
22164 * sysdeps/sparc/dl-procinfo.h: Likewise.
22165 * sysdeps/unix/i386/sysdep.S: Likewise.
22166 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22167 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22168 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22169 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22171 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22172 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22173 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22174 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22175 * sysdeps/wordsize-32/divdi3.c: Likewise.
22176 * time/sys/time.h: Likewise.
22177 * wcsmbs/Makefile: Likewise.
22178
0549fbba
DM
221792013-01-01 David S. Miller <davem@davemloft.net>
22180
a141f1a7
DM
22181 * po/fr.po: Update from translation team.
22182
0549fbba
DM
22183 * catgets/gencat.c: Update copyright year.
22184 * csu/version.c: Likewise.
22185 * debug/catchsegv.sh: Likewise.
22186 * debug/pcprofiledump.c: Likewise.
22187 * debug/xtrace.sh: Likewise.
22188 * elf/ldconfig.c: Likewise.
22189 * elf/ldd.bash.in: Likewise.
22190 * elf/pldd.c: Likewise.
22191 * elf/sotruss.ksh: Likewise.
22192 * elf/sprof.c: Likewise.
22193 * iconv/iconv_prog.c: Likewise.
22194 * iconv/iconvconfig.c: Likewise.
22195 * locale/programs/locale.c: Likewise.
22196 * locale/programs/localedef.c: Likewise.
22197 * login/programs/pt_chown.c: Likewise.
22198 * malloc/memusage.sh: Likewise.
22199 * malloc/memusagestat.c: Likewise.
22200 * malloc/mtrace.pl: Likewise.
22201 * nscd/nscd.c: Likewise.
22202 * nss/getent.c: Likewise.
22203 * nss/makedb.c: Likewise.
22204 * posix/getconf.c: Likewise.
22205
18ea052c
SP
222062012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22207
22208 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22209 numbers.
22210
9c89fca6
MF
222112012-12-30 Mike Frysinger <vapier@gentoo.org>
22212
22213 * math/bits/mathcalls.h (modf): Use __nonnull.
22214
085ec079
SP
222152012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22216
22217 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22218 (split): Use macro CN instead of the bare value.
22219 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22220 could be used.
22221 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22222 instead of the bare value.
22223 (power1): Likewise.
22224
6d9f97e1
SP
222252012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22226
d63f73be
SP
22227 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22228 __ATAN_TWOM.
22229 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22230
6d9f97e1
SP
22231 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22232 their values.
22233 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22234 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22235 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22236 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22237
4c4febf5
AJ
222382012-12-28 Andreas Jaeger <aj@suse.de>
22239
af5843ef
AJ
22240 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22241 values are from Linux 3.7.
22242
4c4febf5
AJ
22243 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22244 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22245
99136f82
SP
222462012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22247
2f216c3c 22248 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
22249 TRUE case.
22250
99136f82
SP
22251 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22252 (norm): Likewise.
22253 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22254 variables with preprocessor constants.
22255 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22256 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22257 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22258
7fffbdff
BH
222592012-12-27 Bruno Haible <bruno@clisp.org>
22260
22261 [BZ #14317]
22262 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22263 only if needed.
22264
b76eb5f0
SP
222652012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22266
31a7fe5c
SP
22267 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22268 and use variable directly.
22269 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22270
b76eb5f0
SP
22271 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22272 MPONE.
22273 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22274 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22275 variable MPONE.
22276 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22278 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22279 include directive. Remove local variable MPONE.
22280 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22281 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22282 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22283
2c8bfe7d
DM
222842012-12-25 David S. Miller <davem@davemloft.net>
22285
22286 * version.h (RELEASE): Set to "development".
22287 (VERSION): Set to "2.17.90".
22288 * NEWS: Add 2.18 section.
22289
147d03b0
DM
222902012-12-21 David S. Miller <davem@davemloft.net>
22291
22292 * po/hr.po: Update from translation team.
22293
a8ebb2b9
AK
222942012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22295
22296 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22297
95b4f1b6
SE
222982012-12-19 Steve Ellcey <sellcey@mips.com>
22299
b2d94007 22300 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 22301
cedb2a90
MS
223022012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22303
22304 * manual/contrib.texi (Contributors): Spelling correction.
22305
bbf527d6
DM
223062012-12-15 David S. Miller <davem@davemloft.net>
22307
22308 * po/ru.po: Update from translation team.
22309
bc38c906
DM
223102012-12-13 David S. Miller <davem@davemloft.net>
22311
85429b1a
DM
22312 * NEWS: Mention IFUNC testsuite enhancements.
22313
d283e353
DM
22314 * po/pl.po: Update from translation team.
22315 * po/bg.po: Likewise.
22316
bc38c906
DM
22317 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22318 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22319
a181b0d7
DM
223202012-12-11 David S. Miller <davem@davemloft.net>
22321
4641d57e
DM
22322 * po/sv.po: Update from translation team.
22323
f7bc6495
DM
22324 * po/vi.po: Update from translation team.
22325
6fc9048f
DM
22326 * po/cs.po: Update from translation team.
22327
a181b0d7
DM
22328 * po/de.po: Update from translation team.
22329 * po/eo.po: Likewise.
22330 * po/nl.po: Likewise.
22331
f70bfe80
SP
223322012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22333
3c8b4190
SP
22334 [BZ #14246]
22335 * manual/argp.texi (Argp Helper Functions): Move node to follow
22336 Argp Parsing State.
22337
f70bfe80
SP
22338 [BZ #14872]
22339 * manual/conf.texi (Limits on File System Capacity): Mention if
22340 terminating null is included in the max size.
22341
188f0adf
AJ
223422012-12-10 Andreas Jaeger <aj@suse.de>
22343
22344 * po/cs.po: Update from translation team.
22345
56e7d3ad
SP
223462012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22347
22348 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22349 void pointer and cast to uintptr_t.
22350 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22351 path.
22352 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22353 * sysdeps/s390/s390-64/memset.S: Likewise.
22354
76f2d2ea 223552012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
22356
22357 [BZ #14833]
22358 * menual/message.texi (Message Translation): Fix typos.
22359 (Helper programs for gettext): Likewise.
22360
67cbf9a2
AS
223612012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22362
22363 [BZ #14898]
22364 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22365 Change to -1.
22366
682d0e9a
DM
223672012-12-07 David S. Miller <davem@davemloft.net>
22368
22369 * po/libc.pot: Update.
22370
573cd484
RH
223712012-12-07 Richard Henderson <rth@redhat.com>
22372
7e9da188 22373 [BZ #10114]
573cd484
RH
22374 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22375 normal/normal case to before the switch.
22376 (_FP_DIV): Likewise.
22377
e933a943
MF
223782012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22379 Mike Frysinger <vapier@gentoo.org>
22380
22381 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22382 check for __NR_fadvise64_64.
22383
82123268
CM
223842012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22385
22386 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22387 0, not just to plain "0" as a statement.
22388 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22389 with cw.
22390
d9814526
JM
223912012-12-06 Joseph Myers <joseph@codesourcery.com>
22392
22393 * NEWS: Use sourceware.org in Bugzilla URL.
22394
7728c574
SP
223952012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22396
f16946dd
SP
22397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22398 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22399
5704bbcb
SP
22400 * stdio-common/tst-put-error.c (do_test): Add newline to the
22401 padded test to ensure flush.
22402
17aa0516
JL
224032012-12-05 Jeff Law <law@redhat.com>
22404
22405 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22406
363313b5
JM
224072012-12-05 Joseph Myers <joseph@codesourcery.com>
22408
effbd42a
JM
22409 * README: Don't refer to ports add-on as distributed separately.
22410 Mention AArch64 in list of systems supported in the ports add-on.
22411
87600365
JM
22412 * LICENSES: Add more non-FSF copyright and license notices.
22413
a0d7066a
JM
22414 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22415 ((unused)).
22416
66ca5a5b
JM
22417 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22418
363313b5
JM
22419 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22420 10000 as width of padded output.
22421
b37984ad
JM
224222012-12-04 Joseph Myers <joseph@codesourcery.com>
22423
9003570a
JM
22424 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22425
b37984ad
JM
22426 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22427 variable LX with __attribute__ ((unused)).
22428 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22429 Likewise.
22430 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22431 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22432 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22433 with __attribute__ ((unused)).
22434
c8df52ec
DM
224352012-12-04 David S. Miller <davem@abraco.davemloft.net>
22436
22437 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22438
b3b099af
JM
224392012-12-04 Joseph Myers <joseph@codesourcery.com>
22440
c33aa6e3
JM
22441 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22442 (CFLAGS-nldbl-acos.c): New variable.
22443 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22444 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22445 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22446 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22447 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22448 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22449 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22450 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22451 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22452 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22453 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22454 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22455 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22456 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22457 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22458 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22459 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22460 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22461 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22462 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22463 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22464 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22465 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22466 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22467 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22468 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22469 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22470 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22471 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22472 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22473 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22474 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22475 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22476 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22477 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22478 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22479 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22480 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22481 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22482 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22483 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22484 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22485 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22486 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22487 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22488 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22489 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22490 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22491 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22492 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22493 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22494 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22495 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22496 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
22497 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
22498 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
22499 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
22500 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
22501 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
22502 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
22503 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
22504 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
22505 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
22506 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
22507 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
22508 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
22509 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
22510 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
22511 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
22512 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
22513 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
22514 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
22515 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
22516 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
22517 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
22518 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
22519 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
22520 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
22521 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
22522 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
22523 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
22524 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
22525 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
22526 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
22527 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
22528 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
22529 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
22530 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
22531 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
22532 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
22533 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
22534 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
22535 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
22536 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
22537 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
22538 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
22539 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
22540
20f0018d
JM
22541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22542 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22543
b3b099af
JM
22544 [BZ #14914]
22545 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
22546 whole low double instead of just low 47 bits when splitting values
22547 into two parts.
22548
029264d1
AM
225492012-12-03 Allan McRae <allan@archlinux.org>
22550
22551 * manual/stdio.texi (Predefined Printf Handlers): Remove
22552 @hsep and @vsep usage.
22553
c9d6789e
MF
225542012-12-03 Mike Frysinger <vapier@gentoo.org>
22555
22556 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
22557 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
22558
4b7634a5
JL
225592012-12-03 Jeff Law <law@redhat.com>
22560
22561 * time/sys/time.h (settimeofday): Do not mark TV argument
22562 as __nonnull.
22563
eb6cbd24
MF
225642012-12-01 Mike Frysinger <vapier@gentoo.org>
22565
22566 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
22567 when currently writing and seek to current position when not.
22568 * libio/Makefile (tests): Remove bug-fclose1.
22569 * libio/bug-fclose1.c: Delete.
22570
f638872a
JM
225712012-12-01 Joseph Myers <joseph@codesourcery.com>
22572
22573 * manual/arith.texi (feenableexcept): Fix typo.
22574 (fedisableexcept): Likewise.
22575
48085d14
RM
225762012-11-30 Roland McGrath <roland@hack.frob.com>
22577
22578 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
22579 second, differently-typed declaration, rather than a cast.
22580
1a538b9f
SP
225812012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22582
22583 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
22584 * include/rpc/svc.h: ... here.
22585
d07f2ff1 225862012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
22587
22588 [BZ #13013]
22589 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
22590 depending n and resplen2 to catch cases where answer
22591 equals answerp2.
22592
c93ec1f0
CD
225932012-11-29 Carlos O'Donell <carlos@systemhalted.org>
22594
22595 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
22596 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
22597
37db69de
MF
225982012-11-29 Mike Frysinger <vapier@gentoo.org>
22599
22600 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
22601
e10c4e4f
RM
226022012-11-29 Roland McGrath <roland@hack.frob.com>
22603
22604 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
22605
2af1b328
JL
226062012-11-28 Jeff Law <law@redhat.com>
22607
22608 [BZ #13761]
22609 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
22610 dataset_temporary. Track alloca usage into alloca_used.
22611 If dataset is large allocate and release it via malloc/free.
22612
111db5b1
FW
226132012-06-04 Florian Weimer <fweimer@redhat.com>
22614
f06cc227 22615 [BZ #14197]
111db5b1
FW
22616 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
22617
dd694abd
DM
226182012-11-28 David S. Miller <davem@davemloft.net>
22619
22620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22621
9984dd01
JM
226222012-11-28 Joseph Myers <joseph@codesourcery.com>
22623
22624 [BZ #14803]
22625 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
22626 of pi/2 rounded to nearest to 64 bits.
22627 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
22628 nearest to 64 bits.
22629 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
22630 bits.
22631
14bc93a9
JL
226322012-11-28 Jeff Law <law@redhat.com>
22633 Martin Osvald <mosvald@redhat.com>
22634
22635 [BZ #14889]
22636 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
22637 * sunrpc/svc.c: Include time.h.
22638 (__svc_accept_failed): New function.
22639 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
22640 any reason other than EINTR, call __svc_accept_failed.
22641 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
22642 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
22643
e3c6aa3a
AS
226442012-11-28 Andreas Schwab <schwab@suse.de>
22645
22646 * scripts/abilist.awk: Also handle indirect functions in .opd
22647 section.
22648
1bead169
JM
226492012-11-28 Joseph Myers <joseph@codesourcery.com>
22650
22651 [BZ #13881]
22652 * sysdeps/x86/fpu/powl_helper.c: New file.
22653 * sysdeps/x86/fpu/Makefile: Likewise.
22654 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
22655 (p3): New object.
22656 (__ieee754_powl): Use __powl_helper for finite arguments except
22657 integer exponents below 8.
22658 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
22659 (p3): New object.
22660 (__ieee754_powl): Use __powl_helper for finite arguments except
22661 integer exponents below 8.
22662 * math/libm-test.inc (pow_test): Add more tests and enable some
22663 previously disabled tests.
22664 * sysdeps/i386/fpu/libm-test-ulps: Update.
22665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22666
0817d63d
SP
226672012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22668 Carlos O'Donell <carlos_odonell@mentor.com>
22669
22670 * nss/makedb.c (is_prime): Assert that input is odd and greater
22671 than 4. Note that fact in a comment too.
22672 (next_prime): Add 4 to input.
22673
de2fd463
SP
226742012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22675
22676 [BZ #11741]
22677 * libio/Makefile (tests): Add test case tst-fwrite-error.
22678 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
22679 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22680 * libio/tst-fwrite-error.c: New test case.
22681
c515fb51
L
226822012-11-26 H.J. Lu <hongjiu.lu@intel.com>
22683
22684 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
22685 before casting to void *.
22686 * include/libc-internal.h (__pointer_type): New macro.
22687 (__integer_if_pointer_type_sub): Likewise.
22688 (__integer_if_pointer_type): Likewise.
22689 (cast_to_integer): Likewise.
22690 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
22691 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
22692 before casting to atomic64_t.
22693 (atomic_exchange_acq): Likewise.
22694 (__arch_exchange_and_add_body): Likewise.
22695 (__arch_add_body): Likewise.
22696 (atomic_add_negative): Likewise.
22697 (atomic_add_zero): Likewise.
22698
4cf77aa9
JM
226992012-11-26 Joseph Myers <joseph@codesourcery.com>
22700
22701 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
22702 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22703 (add_fdes): Likewise.
22704 (linear_search_fdes): Likewise.
22705 (binary_search_unencoded_fdes): Likewise.
22706
d260b3b4
AS
227072012-11-26 Andreas Schwab <schwab@linux-m68k.org>
22708
22709 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22710
67060746
AC
227112012-11-24 Adam Conrad <adconrad@0c3.net>
22712
22713 * configure.in: Autodetect C++ header directories.
22714 * configure: Regenerated.
22715
800938a1
MF
227162012-11-23 Mike Frysinger <vapier@gentoo.org>
22717
22718 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22719
4e6e34e6
AS
227202012-11-23 Andreas Schwab <schwab@linux-m68k.org>
22721
22722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22723
7c7feb47
JM
227242012-11-22 Joseph Myers <joseph@codesourcery.com>
22725
7184dcdf
JM
22726 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22727 LDBL_MANT_DIG == 106]: Disable some tests.
22728 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22729 Likewise.
22730 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22731 Likewise.
22732
0a42601f
JM
22733 [BZ #14871]
22734 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22735 input for small inputs. Return +/- pi/2 for large inputs.
22736 * math/libm-test.inc (atan_test): Add more tests.
22737
79c9b9fe
JM
22738 * sysdeps/generic/unwind-dw2-fde-glibc.c
22739 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22740 __attribute__ ((unused)).
22741
c60d3bf2
JM
22742 [BZ #14645]
22743 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22744 x * y if x and y are nonzero and z is zero.
22745
ef1e0867
JM
22746 [BZ #14811]
22747 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22748 nonzero exponents with absolute value below 0x1p-117 to +/-
22749 0x1p-117.
22750
1468ded3
JM
22751 [BZ #14869]
22752 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22753 up arguments below 2**-450, not just those below 2**-500.
22754 * math/libm-test.inc (hypot_test): Add another test.
22755
8e27e3cc
JM
22756 [BZ #14868]
22757 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22758 Return a+b for ratio over 2**120, not 2**60.
22759 * math/libm-test.inc (hypot_test): Add another test.
22760
c9c0279b
JM
22761 * math/libm-test.inc (clog_test): Use
22762 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22763 (clog10_test): Likewise.
22764
7c7feb47
JM
22765 [BZ #6778]
22766 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22767
fff1530e
AS
227682012-11-22 Andreas Schwab <schwab@suse.de>
22769
22770 * sysdeps/i386/fpu/libm-test-ulps: Update.
22771
94558d30
PT
227722012-11-22 Pino Toscano <toscano.pino@tiscali.it>
22773
22774 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22775 printf output with newline.
22776
7e1be741
L
227772012-11-21 H.J. Lu <hongjiu.lu@intel.com>
22778
6bfea974
L
22779 [BZ #14865]
22780 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22781 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22782 -z nodlopen, -z initfirst and -z execstack support.
22783 * configure: Regenerated.
22784
7e1be741
L
22785 * elf/elf.h (DF_1_NODIRECT): New macro.
22786 (DF_1_IGNMULDEF): Likewise.
22787 (DF_1_NOKSYMS): Likewise.
22788 (DF_1_NOHDR): Likewise.
22789 (DF_1_EDITED): Likewise.
22790 (DF_1_NORELOC): Likewise.
22791 (DF_1_SYMINTPOSE): Likewise.
22792 (DF_1_GLOBAUDIT): Likewise.
22793 (DF_1_SINGLETON): Likewise.
22794 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22795 DT_1_SUPPORTED_MASK bits.
22796 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22797
105ce2ce
CD
227982012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
22799
22800 * sysdeps/unix/make-syscalls.sh: Document prefixes.
22801
123be9de
TS
228022012-11-20 Thomas Schwinge <thomas@codesourcery.com>
22803
d072f3f7
TS
22804 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22805 macro.
22806
123be9de
TS
22807 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22808 (sendmmsg): Move declarations...
22809 * socket/sys/socket.h: ... here.
22810 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22811 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22812 include it from...
22813 * socket/recvmmsg.c: ... this new file.
22814 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22815 (sendmmsg): Rename to __sendmmsg, create weak alias and make
22816 definition of __sendmmsg hidden.
22817 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22818 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22819 Move ENOSYS stub into and include it from...
22820 * socket/sendmmsg.c: ... this new file.
22821 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22822 (sysdep_routines): Move recvmmsg and sendmmsg...
22823 * socket/Makefile (routines): ... here.
22824 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22825 (GLIBC_PRIVATE): Add __sendmmsg.
22826 * include/sys/socket.h (__sendmmsg): Add declarations.
22827 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22828 sendmmsg.
22829
cf9a5d18
JM
228302012-11-20 Joseph Myers <joseph@codesourcery.com>
22831
22832 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22833 variable I1 with __attribute__ ((unused)).
22834 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22835
ecd4caf9
JM
228362012-11-19 Joseph Myers <joseph@codesourcery.com>
22837
be14d48f
JM
22838 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22839 DUMMY variables with __attribute__ ((unused)).
22840
ecd4caf9
JM
22841 * bits/byteswap.h: Include <bits/types.h>.
22842 (__bswap_64): Use __uint64_t instead of unsigned long long int.
22843
986cab95
PT
228442012-11-19 Pino Toscano <toscano.pino@tiscali.it>
22845
22846 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22847 string_t. Do not manually set errno.
22848 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22849 length with __strnlen. Make sure to both set errno and return it on
22850 failure.
22851
6d33cc9d
DM
228522012-11-19 David S. Miller <davem@davemloft.net>
22853
22854 With help from Joseph Myers.
22855 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22856 very large arguments properly.
22857 * math/libm-test.inc (atan_test): New tests.
22858 (atan2_test): New tests.
22859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22860 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22861
ee663277
JM
228622012-11-19 Joseph Myers <joseph@codesourcery.com>
22863
877f2d8e
JM
22864 [BZ #14856]
22865 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22866 Define to 3.
22867
116fc08a
JM
22868 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22869 [POSIX] (EADDRNOTAVAIL): Likewise.
22870 [POSIX] (EAFNOSUPPORT): Likewise.
22871 [POSIX] (EALREADY): Likewise.
22872 [POSIX] (ECONNABORTED): Likewise.
22873 [POSIX] (ECONNREFUSED): Likewise.
22874 [POSIX] (ECONNRESET): Likewise.
22875 [POSIX] (EDESTADDRREQ): Likewise.
22876 [POSIX] (EDQUOT): Likewise.
22877 [POSIX] (EHOSTUNREACH): Likewise.
22878 [POSIX] (EIDRM): Likewise.
22879 [POSIX] (EISCONN): Likewise.
22880 [POSIX] (ELOOP): Likewise.
22881 [POSIX] (EMULTIHOP): Likewise.
22882 [POSIX] (ENETDOWN): Likewise.
22883 [POSIX] (ENETUNREACH): Likewise.
22884 [POSIX] (ENOBUFS): Likewise.
22885 [POSIX] (ENODATA): Likewise.
22886 [POSIX] (ENOLINK): Likewise.
22887 [POSIX] (ENOMSG): Likewise.
22888 [POSIX] (ENOPROTOOPT): Likewise.
22889 [POSIX] (ENOSR): Likewise.
22890 [POSIX] (ENOSTR): Likewise.
22891 [POSIX] (ENOTCONN): Likewise.
22892 [POSIX] (ENOTSOCK): Likewise.
22893 [POSIX] (EOPNOTSUPP): Likewise.
22894 [POSIX] (EOVERFLOW): Likewise.
22895 [POSIX] (EPROTO): Likewise.
22896 [POSIX] (EPROTONOSUPPORT): Likewise.
22897 [POSIX] (EPROTOTYPE): Likewise.
22898 [POSIX] (ESTALE): Likewise.
22899 [POSIX] (ETIME): Likewise.
22900 [POSIX] (ETXTBSY): Likewise.
22901 [POSIX] (EWOULDBLOCK): Likewise.
22902 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22903 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22904 [POSIX] (SEEK_CUR): Likewise.
22905 [POSIX] (SEEK_END): Likewise.
22906 [POSIX || UNIX98] (mode_t): Do not require.
22907 [POSIX] (off_t): Likewise.
22908 [POSIX] (pid_t): Likewise.
22909 [POSIX] (sys/stat.h): Do not allow header.
22910 [POSIX] (unistd.h): Likewise.
22911 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22912 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22913 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22914 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22915 require.
22916 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22917 sigevent): Specify elements.
22918 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22919 entry.
22920 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22921 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22922
a483863f
JM
22923 * conform/data/cpio.h-data [POSIX]: Disable whole file.
22924 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22925 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22926 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22927 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22928 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22929 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22930 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22931 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22932 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22933 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22934 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22935 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22936 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22937 Likewise.
22938 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22939 Likewise.
22940 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22941 Likewise.
22942 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22943 Likewise.
22944 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22945 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22946 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22947 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22948 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22949 Specify lower bound on value.
22950 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22951 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22952 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22953 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22954 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22955 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22956 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22957 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22958 value.
22959 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22960 as optional.
22961 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22962 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22963 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22964 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22965 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22966 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22967 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22968 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22969 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22970 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22971 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22972 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22973 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22974 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22975 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22976 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22977 entry.
22978 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22979 optional.
22980 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22981 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22982 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22983 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22984 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22985 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22986 Likewise.
22987 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22988 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22989 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22990 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22991 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
22992 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22993 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22994 as optional.
22995 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22996 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22997 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22998 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22999 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23000 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23001 specify as optional.
23002 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23003 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23004 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23005 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23006 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23007 [XPG3] (NL_LANGMAX): Likewise.
23008 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23009 [POSIX || XPG3] (NL_NMAX): Likewise.
23010 [POSIX || XPG3] (NL_SETMAX): Likewise.
23011 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23012 [XPG3] (NZERO): Likewise.
23013 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23014 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23015 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23016 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23017 (REG_ERANGE): Expect.
23018 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23019 optional-constant.
23020 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23021 Use (void) in prototype.
23022 [POSIX] (*_t): Allow.
23023 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23024 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23025 (WRDE_BADVAL): Expect.
23026
5ba924e3
JM
23027 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23028 expect.
23029 [XPG3 || XPG4] (O_RSYNC): Likewise.
23030 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23031 Likewise.
23032 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23033 [XPG3 || XPG4] (sigqueue): Likewise.
23034 [XPG3 || XPG4] (sigtimedwait): Likewise.
23035 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23036 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23037 [XPG3 || XPG4] (vsnprintf): Likewise.
23038 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23039 Likewise.
23040 [XPG3 || XPG4] (blksize_t): Likewise.
23041 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23042 Likewise.
23043 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23044 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23045 [XPG3 || XPG4] (struct itimerspec): Likewise.
23046 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23047 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23048 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23049 [XPG3 || XPG4] (clockid_t): Likewise.
23050 [XPG3 || XPG4] (timer_t): Likewise.
23051 [XPG3 || XPG4] (clock_getres): Likewise.
23052 [XPG3 || XPG4] (clock_gettime): Likewise.
23053 [XPG3 || XPG4] (clock_settime): Likewise.
23054 [XPG3 || XPG4] (nanosleep): Likewise.
23055 [XPG3 || XPG4] (timer_create): Likewise.
23056 [XPG3 || XPG4] (timer_delete): Likewise.
23057 [XPG3 || XPG4] (timer_gettime): Likewise.
23058 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23059 [XPG3 || XPG4] (timer_settime): Likewise.
23060 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23061 [XPG3 || XPG4] (getlogin_r): Likewise.
23062 [XPG3 || XPG4] (pread): Likewise.
23063 [XPG3 || XPG4] (pthread_atfork): Likewise.
23064 [XPG3 || XPG4] (pwrite): Likewise.
23065
ee663277
JM
23066 [BZ #14835]
23067 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23068 <bits/siginfo.h>.
23069
942caa16
PT
230702012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23071
e19af380
PT
23072 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23073 finalizing MALLSTREAM.
23074
942caa16
PT
23075 * sysdeps/mach/hurd/syncfs.c: New file.
23076
cfde9b46
SP
230772012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23078
23079 [BZ #14719]
23080 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23081 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23082 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23083 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23084 (_nss_dns_gethostbyname4_r): Likewise.
23085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23086 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23087
f6da27e5
PH
230882012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23089
23090 [BZ #13763]
23091 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23092
6665d4a2
SM
230932012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23094
1f51ee92
SM
23095 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23096 * elf/cache.c (print_entry): Print ",AArch64" for
23097 FLAG_AARCH64_LIB64
23098
6665d4a2
SM
23099 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23100 * elf/cache.c (print_entry): Print ",hard-float" for
23101 FLAG_ARM_LIBHF.
23102
05b227bd
DM
231032012-11-18 David S. Miller <davem@davemloft.net>
23104
23105 With help from Joseph Myers.
23106 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23107 cutoff to 2**-13.
23108 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23109 cutoff to 2**-25.
23110 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23111 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23112 small.
23113 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23114 * math/libm-test.inc (y0_test): New tests.
23115 (y1_test): New tests.
23116 * sysdeps/i386/fpu/libm-test-ulps: Update.
23117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23119
786b0b67
AS
231202012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23121
23122 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23123 64-bit targets.
23124 * configure: Regenerated.
23125
8e18b86d
DM
231262012-11-17 David S. Miller <davem@davemloft.net>
23127
23128 [BZ #14811]
23129 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23130 nonzero exponents with absolute value below 0x1p-128 to +/-
23131 0x1p-128.
23132
531f1ae0
JM
231332012-11-17 Joseph Myers <joseph@codesourcery.com>
23134
12df29e2
JM
23135 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23136
150dc1a0
JM
23137 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23138
531f1ae0
JM
23139 * posix/getconf-speclist.c: New file.
23140 * posix/posix-envs.def: Likewise.
23141 * posix/confstr.c (START_ENV_GROUP): New macro.
23142 (END_ENV_GROUP): Likewise.
23143 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23144 (KNOWN_PRESENT_ENV_STRING): Likewise.
23145 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23146 (UNKNOWN_ENVIRONMENT): Likewise.
23147 (confstr): Include posix-envs.def instead of handling
23148 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23149 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23150 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23151 (END_ENV_GROUP): Likewise.
23152 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23153 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23154 (UNKNOWN_ENVIRONMENT): Likewise.
23155 (__sysconf): Include posix-envs.def instead of handling associated
23156 cases directly here.
23157 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23158 preprocessing getconf-speclist.c rather than running getconf or
23159 generating empty file.
23160
a93f9cbc
PT
231612012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23162
23163 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23164
d64d9f87
AL
231652012-11-16 Andrej Lajovic <natrij@gmail.com>
23166
23167 [BZ #14672]
23168 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23169
447885eb
DM
231702012-11-16 David S. Miller <davem@davemloft.net>
23171
23172 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23173 smaller than LDBL_EPSILON/2.0L, just return xm1.
23174
bcbf9830
L
231752012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23176
23177 * elf/tst-array1.c (init): Set constructor priority to 1000.
23178 (fini): Set destructor priority to 1000.
23179 * elf/tst-array2dep.c: Likewise.
23180
2b766585
SP
231812012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23182
23183 [BZ #11741]
23184 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23185 (_IO_new_file_xsputn): Also return EOF if none of the input
23186 data was written when overflow failed.
23187 * libio/iopadn.c (_IO_padn): Likewise.
23188 * libio/iowpadn.c (_IO_wpadn): Likewise.
23189 * stdio-common/tst-put-error.c: Add copyright notice.
23190 (do_test): Add case for printing padded string.
23191 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23192 _IO_padn returned error.
23193 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23194 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23195 return EOF.
23196
b1848fde
SP
231972012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23198
23199 * libio/libioP.h: Add comment note that the references to C++
23200 bits are now obsolete.
23201
2fd89785
MS
232022012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23203
23204 * math/libm-test.inc (check_complex): Use asprintf.
23205
e3ea5409
JM
232062012-11-14 Joseph Myers <joseph@codesourcery.com>
23207
23208 * debug/pcprofiledump.c (print_version): Update copyright year.
23209 * malloc/memusagestat.c (print_version): Likewise.
23210
2e64d265
L
232112012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23212
23213 [BZ #14831]
23214 * elf/Makefile (tests): Add tst-audit8.
23215 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23216 ($(objpfx)tst-audit8.out): New target.
23217 (tst-audit8-ENV): New variable.
23218 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23219 audit if l_reloc_result is NULL.
23220 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23221 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23222 * elf/tst-audit8.c: New file.
23223
c485e4d2
MS
232242012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23225
23226 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23227 * misc/Makefile (CFLAGS-select.c): Define.
23228 * posix/Makefile (CFLAGS-pause.c): Define.
23229
3a0d900a
DM
232302012-11-13 David S. Miller <davem@davemloft.net>
23231
23232 * crypt/Makefile: Move test targets after toplevel Rules
23233 inclusion. Grab any necessary sysdep routines when linking.
23234 * crypt/md5.c (md5_process_block): Remove define, we will always
23235 name it __md5_process_block.
23236 (md5_finish_ctx): Update md5_process_block call.
23237 (md5_stream): Likewise.
23238 (md5_process_bytes): Likewise.
23239 (md5_process_block): Rename to __md5_process_block and move to ...
23240 * crypt/md5-block.c: ... here.
23241 * crypt/sha256.c (sha256_process_block): Move to ...
23242 * crypt/sha256-block.c: ... here.
23243 * crypt/sha512.c (sha512_process_block): Move to ...
23244 * crypt/sha512-block.c: ... here.
23245 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23246 path.
23247 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23248 * sysdeps/sparc/sparc64/multiarch/Makefile
23249 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23250 crypt subdir.
23251 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23252 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23253 multiarch changes.
23254 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23255 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23256 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23257 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23258 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23259 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23260 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23261 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23262 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23263 file.
23264 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23265 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23266 file.
23267 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23268
8ca89318
JM
232692012-11-13 Joseph Myers <joseph@codesourcery.com>
23270
e27d476a
JM
23271 * timezone/tzselect.ksh: Update from tzcode git revision
23272 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23273 * timezone/zdump.c: Likewise.
23274 * timezone/zic.c: Likewise.
23275 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23276 in TZVERSION setting, not $(PKGVERSION).
23277 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23278 REPORT_BUGS_TO settings.
23279
8ca89318
JM
23280 [BZ #14838]
23281 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23282 macro.
23283
47594329
MS
232842012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23285
23286 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23287 detection to immediately after _FP_ROUND().
23288 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23289 bits are 0.
23290
640ac3f1
DM
232912012-11-11 David S. Miller <davem@davemloft.net>
23292
23293 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23294 inttypes.h
23295 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23296 __close rather than their public counterparts.
23297
3d2577bb
JM
232982012-11-10 Joseph Myers <joseph@codesourcery.com>
23299
23300 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23301 file.
23302 [UNIX98] (sem_timedwait): Do not expect.
23303 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23304 [XPG4 || UNIX98] (sockatmark): Do not expect.
23305 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23306 (clock_getcpuclockid): Do not expect.
23307 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23308 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23309 Do not expect.
23310 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23311 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23312 [UNIX98] (vwscanf): Likewise.
23313 [UNIX98] (vswscanf): Likewise.
23314
fb1ae1ee
JM
233152012-11-09 Joseph Myers <joseph@codesourcery.com>
23316
9ec6f8bd
JM
23317 * timezone/version.h: Remove file.
23318 * timezone/README: Do not refer to version.h.
23319 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23320 $(objpfx)version.h.
23321 ($(objpfx)zdump.o): Likewise.
c3f81911 23322 ($(objpfx)version.h): New target.
9ec6f8bd 23323
0aa8f8a1
JM
23324 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23325 2012i.
23326 * timezone/README: Don't mention modification to tzselect.ksh.
23327 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23328 work on unmodified tzselect.ksh. Substitute version numbers in
23329 tzselect.ksh.
23330
4e87147f
JM
23331 * Makefile (format-me): Remove.
23332 (INSTALL): Adjust indentation. Use commands directly instead of
23333 using $(format-me).
23334
8b748aed
JM
23335 * aclocal.m4 (ACX_PKGVERSION): New macro.
23336 (ACX_BUGURL): Likewise.
23337 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23338 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23339 (REPORT_BUGS_TO): Likewise.
23340 * configure: Regenerated.
23341 * config.h.in (PKGVERSION): New macro.
23342 (REPORT_BUGS_TO): Likewise.
23343 * config.make.in (PKGVERSION): New variable.
23344 (PKGVERSION_TEXI): Likewise.
23345 (REPORT_BUGS_TO): Likewise.
23346 (REPORT_BUGS_TEXI): Likewise.
23347 * Makefile (format-me): Use -I$(common-objpfx)manual.
23348 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23349 ($(common-objpfx)manual/%): New target.
23350 (manual/%): Remove target.
23351 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23352 (print_version): Use PKGVERSION.
23353 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23354 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23355 and REPORT_BUGS_TO.
23356 ($(objpfx)xtrace): Likewise.
23357 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23358 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23359 (print_version): Use PKGVERSION.
23360 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23361 (do_version): Use PKGVERSION.
23362 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23363 REPORT_BUGS_TO.
23364 (common-ldd-rewrite): Likewise.
23365 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23366 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23367 (print_version): Use PKGVERSION.
23368 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23369 * elf/pldd.c (argp_program_bug_address): Remove variable.
23370 (more_help): New function.
23371 (argp): Use more_help.
23372 (print_version): Use PKGVERSION.
23373 * elf/sln.c (main): Use PKGVERSION.
23374 (usage): Use REPORT_BUGS_TO.
23375 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23376 (top level): Use PKGVERSION.
23377 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23378 (print_version): Use PKGVERSION.
23379 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23380 (print_version): Use PKGVERSION.
23381 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23382 (print_version): Use PKGVERSION.
23383 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23384 (print_version): Use PKGVERSION.
23385 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23386 (print_version): Use PKGVERSION.
23387 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23388 (print_version): Use PKGVERSION.
23389 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23390 and BUGURL.
23391 ($(objpfx)memusage): Likewise.
23392 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23393 (do_version): Use PKGVERSION.
23394 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23395 (print_version): Use PKGVERSION.
23396 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23397 ($PKGVERSION): New variable.
23398 ($REPORT_BUGS_TO): Likewise.
23399 (usage): Use $REPORT_BUGS_TO.
23400 (top level): Use $PKGVERSION.
23401 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23402 ($(objpfx)pkgvers.texi): New rule.
23403 ($(objpfx)stamp-pkgvers): Likewise.
23404 * manual/install.texi: Include pkgvers.texi.
23405 (--with-pkgversion): Document new configure option.
23406 (--with-bugurl): Likewise.
23407 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23408 than necessarily for this particular distribution. Use
23409 REPORT_BUGS_TO for where to report bugs.
23410 * INSTALL: Regenerated.
23411 * manual/libc.texinfo: Include pkgvers.texi.
23412 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23413 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23414 (print_version): Use PKGVERSION.
23415 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23416 (print_version): Use PKGVERSION.
23417 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23418 (print_version): Use PKGVERSION.
23419 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23420 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23421 macro.
23422 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23423 (print_version): Use PKGVERSION.
23424 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23425 (print_version): Use PKGVERSION.
23426 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23427 and PKGVERSION.
23428
92e4b6a9
JM
23429 * timezone/checktab.awk: Update from tzcode 2012i.
23430 * timezone/ialloc.c: Likewise.
23431 * timezone/private.h: Likewise.
23432 * timezone/scheck.c: Likewise.
23433 * timezone/tzfile.h: Likewise.
23434 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23435 (TZVERSION): Hardcode tzcode version number.
23436 * timezone/zdump.c: Update from tzcode 2012i.
23437 * timezone/zic.c: Likewise.
23438 * timezone/version.h: New file.
23439 * timezone/README: Describe version.h. Update upstream location.
23440
9bde902c
JM
23441 [BZ #14824]
23442 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23443 (mktemp): Enable declaration.
23444 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23445 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23446 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23447 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23448 Likewise.
23449 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23450 Likewise.
23451 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23452 Likewise.
23453 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23454 Likewise.
23455 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23456 Likewise.
23457 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23458 Likewise.
23459
fb1ae1ee
JM
23460 [BZ #14821]
23461 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23462 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23463 for copies of such integer values.
23464 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23465 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23466
2c1adbcb
AJ
234672012-11-09 Andreas Jaeger <aj@suse.de>
23468
23469 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23470 definitions and declarations that are provided by
23471 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23472
d0f8457e
AK
234732012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23474
3a235abb 23475 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
23476 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23477 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23478 definition.
23479
57241e26
MS
234802012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23481
23482 * elf/elf.h: Update comment before AArch64 relocations.
23483
60e8270d
DM
234842012-11-07 David S. Miller <davem@davemloft.net>
23485
23486 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23487 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23488 (__start_context): Declare.
23489 (__makecontext_ret): Delete.
23490 (__makecontext): Hook up __start_context instead of
23491 __makecontext_ret.
23492 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23493 (sysdep_routines): Add __start_context when in stdlib.
23494
0fbb0fbc
JM
234952012-11-07 Joseph Myers <joseph@codesourcery.com>
23496
23497 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
23498 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
23499 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
23500 hardcoded "nm".
23501 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
23502 (READELF): New variable. Use it instead of hardcoded "readelf".
23503
eb48db7e
L
235042012-11-07 H.J. Lu <hongjiu.lu@intel.com>
23505
23506 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
23507 * sysdeps/x86/Makefile: Here.
23508 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
23509 * sysdeps/x86/tst-xmmymm.sh: This.
23510
05bcf62a
JM
235112012-11-07 Joseph Myers <joseph@codesourcery.com>
23512
c4b6cf53
JM
23513 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
23514 expectations.
23515 [UNIX98] (pthread_barrier_t): Do not expect.
23516 [UNIX98] (pthread_barrierattr_t): Likewise.
23517 [UNIX98] (pthread_spinlock_t): Likewise.
23518 [UNIX98] (pthread_barrier_destroy): Likewise.
23519 [UNIX98] (pthread_barrier_init): Likewise.
23520 [UNIX98] (pthread_barrier_wait): Likewise.
23521 [UNIX98] (pthread_barrierattr_destroy): Likewise.
23522 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
23523 [UNIX98] (pthread_barrierattr_init): Likewise.
23524 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
23525 [UNIX98] (pthread_getcpuclockid): Likewise.
23526 [UNIX98] (pthread_mutex_timedlock): Likewise.
23527 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
23528 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
23529 [UNIX98] (pthread_sigmask): Likewise.
23530 [UNIX98] (pthread_spin_destroy): Likewise.
23531 [UNIX98] (pthread_spin_init): Likewise.
23532 [UNIX98] (pthread_spin_lock): Likewise.
23533 [UNIX98] (pthread_spin_trylock): Likewise.
23534 [UNIX98] (pthread_spin_unlock): Likewise.
23535 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
23536 Do not expect.
23537 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
23538 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
23539 [XPG3 || XPG4] (pthread_cond_t): Likewise.
23540 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
23541 [XPG3 || XPG4] (pthread_key_t): Likewise.
23542 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
23543 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
23544 [XPG3 || XPG4] (pthread_once_t): Likewise.
23545 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
23546 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
23547 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
23548 [XPG3 || XPG4] (pthread_t): Likewise.
23549
cbe6e120
JM
23550 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
23551 not expect.
23552 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
23553
1b126443
JM
23554 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
23555 Change function return type to int.
23556
b961a573
JM
23557 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
23558 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
23559 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
23560 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
23561 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
23562 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
23563 [!POSIX] (posix_madvise): Likewise.
23564 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
23565 && !UNIX98].
23566 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
23567 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
23568 (mode_t): Likewise.
23569 (posix_mem_offset): Likewise.
23570 (posix_typed_mem_get_info): Likewise.
23571 (posix_typed_mem_open): Likewise.
23572
9e188909
JM
23573 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
23574 Change condition to [XOPEN2K8].
23575
05bcf62a
JM
23576 * conform/conformtest.pl: Preprocess allow-header data with -x c
23577 instead of from stdin.
23578 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
23579 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
23580 [C99-based standards] (cerfc): Likewise.
23581 [C99-based standards] (cexp2): Likewise.
23582 [C99-based standards] (cexpm1): Likewise.
23583 [C99-based standards] (clog10): Likewise.
23584 [C99-based standards] (clog1p): Likewise.
23585 [C99-based standards] (clog2): Likewise.
23586 [C99-based standards] (clgamma): Likewise.
23587 [C99-based standards] (ctgamma): Likewise.
23588 [C99-based standards] (cerff): Likewise.
23589 [C99-based standards] (cerfcf): Likewise.
23590 [C99-based standards] (cexp2f): Likewise.
23591 [C99-based standards] (cexpm1f): Likewise.
23592 [C99-based standards] (clog10f): Likewise.
23593 [C99-based standards] (clog1pf): Likewise.
23594 [C99-based standards] (clog2f): Likewise.
23595 [C99-based standards] (clgammaf): Likewise.
23596 [C99-based standards] (ctgammaf): Likewise.
23597 [C99-based standards] (cerfl): Likewise.
23598 [C99-based standards] (cerfcl): Likewise.
23599 [C99-based standards] (cexp2l): Likewise.
23600 [C99-based standards] (cexpm1l): Likewise.
23601 [C99-based standards] (clog10l): Likewise.
23602 [C99-based standards] (clog1pl): Likewise.
23603 [C99-based standards] (clog2l): Likewise.
23604 [C99-based standards] (clgammal): Likewise.
23605 [C99-based standards] (ctgammal): Likewise.
23606 * conform/data/inttypes.h-data [C99-based standards]: Include
23607 stdint.h-data. Remove all expectations for stdint.h contents.
23608 [C99-based standards] (PRI*): Do not allow.
23609 [C99-based standards] (SCN*): Likewise.
23610 [C99-based standards] (*_t): Likewise.
23611 [C99-based-standards] (PRId8): Expect macro.
23612 [C99-based-standards] (PRIi8): Likewise.
23613 [C99-based-standards] (PRIo8): Likewise.
23614 [C99-based-standards] (PRIu8): Likewise.
23615 [C99-based-standards] (PRIx8): Likewise.
23616 [C99-based-standards] (PRIX8): Likewise.
23617 [C99-based-standards] (SCNd8): Likewise.
23618 [C99-based-standards] (SCNi8): Likewise.
23619 [C99-based-standards] (SCNo8): Likewise.
23620 [C99-based-standards] (SCNu8): Likewise.
23621 [C99-based-standards] (SCNx8): Likewise.
23622 [C99-based-standards] (PRIdLEAST8): Likewise.
23623 [C99-based-standards] (PRIiLEAST8): Likewise.
23624 [C99-based-standards] (PRIoLEAST8): Likewise.
23625 [C99-based-standards] (PRIuLEAST8): Likewise.
23626 [C99-based-standards] (PRIxLEAST8): Likewise.
23627 [C99-based-standards] (PRIXLEAST8): Likewise.
23628 [C99-based-standards] (SCNdLEAST8): Likewise.
23629 [C99-based-standards] (SCNiLEAST8): Likewise.
23630 [C99-based-standards] (SCNoLEAST8): Likewise.
23631 [C99-based-standards] (SCNuLEAST8): Likewise.
23632 [C99-based-standards] (SCNxLEAST8): Likewise.
23633 [C99-based-standards] (PRIdFAST8): Likewise.
23634 [C99-based-standards] (PRIiFAST8): Likewise.
23635 [C99-based-standards] (PRIoFAST8): Likewise.
23636 [C99-based-standards] (PRIuFAST8): Likewise.
23637 [C99-based-standards] (PRIxFAST8): Likewise.
23638 [C99-based-standards] (PRIXFAST8): Likewise.
23639 [C99-based-standards] (SCNdFAST8): Likewise.
23640 [C99-based-standards] (SCNiFAST8): Likewise.
23641 [C99-based-standards] (SCNoFAST8): Likewise.
23642 [C99-based-standards] (SCNuFAST8): Likewise.
23643 [C99-based-standards] (SCNxFAST8): Likewise.
23644 [C99-based-standards] (PRId16): Likewise.
23645 [C99-based-standards] (PRIi16): Likewise.
23646 [C99-based-standards] (PRIo16): Likewise.
23647 [C99-based-standards] (PRIu16): Likewise.
23648 [C99-based-standards] (PRIx16): Likewise.
23649 [C99-based-standards] (PRIX16): Likewise.
23650 [C99-based-standards] (SCNd16): Likewise.
23651 [C99-based-standards] (SCNi16): Likewise.
23652 [C99-based-standards] (SCNo16): Likewise.
23653 [C99-based-standards] (SCNu16): Likewise.
23654 [C99-based-standards] (SCNx16): Likewise.
23655 [C99-based-standards] (PRIdLEAST16): Likewise.
23656 [C99-based-standards] (PRIiLEAST16): Likewise.
23657 [C99-based-standards] (PRIoLEAST16): Likewise.
23658 [C99-based-standards] (PRIuLEAST16): Likewise.
23659 [C99-based-standards] (PRIxLEAST16): Likewise.
23660 [C99-based-standards] (PRIXLEAST16): Likewise.
23661 [C99-based-standards] (SCNdLEAST16): Likewise.
23662 [C99-based-standards] (SCNiLEAST16): Likewise.
23663 [C99-based-standards] (SCNoLEAST16): Likewise.
23664 [C99-based-standards] (SCNuLEAST16): Likewise.
23665 [C99-based-standards] (SCNxLEAST16): Likewise.
23666 [C99-based-standards] (PRIdFAST16): Likewise.
23667 [C99-based-standards] (PRIiFAST16): Likewise.
23668 [C99-based-standards] (PRIoFAST16): Likewise.
23669 [C99-based-standards] (PRIuFAST16): Likewise.
23670 [C99-based-standards] (PRIxFAST16): Likewise.
23671 [C99-based-standards] (PRIXFAST16): Likewise.
23672 [C99-based-standards] (SCNdFAST16): Likewise.
23673 [C99-based-standards] (SCNiFAST16): Likewise.
23674 [C99-based-standards] (SCNoFAST16): Likewise.
23675 [C99-based-standards] (SCNuFAST16): Likewise.
23676 [C99-based-standards] (SCNxFAST16): Likewise.
23677 [C99-based-standards] (PRId32): Likewise.
23678 [C99-based-standards] (PRIi32): Likewise.
23679 [C99-based-standards] (PRIo32): Likewise.
23680 [C99-based-standards] (PRIu32): Likewise.
23681 [C99-based-standards] (PRIx32): Likewise.
23682 [C99-based-standards] (PRIX32): Likewise.
23683 [C99-based-standards] (SCNd32): Likewise.
23684 [C99-based-standards] (SCNi32): Likewise.
23685 [C99-based-standards] (SCNo32): Likewise.
23686 [C99-based-standards] (SCNu32): Likewise.
23687 [C99-based-standards] (SCNx32): Likewise.
23688 [C99-based-standards] (PRIdLEAST32): Likewise.
23689 [C99-based-standards] (PRIiLEAST32): Likewise.
23690 [C99-based-standards] (PRIoLEAST32): Likewise.
23691 [C99-based-standards] (PRIuLEAST32): Likewise.
23692 [C99-based-standards] (PRIxLEAST32): Likewise.
23693 [C99-based-standards] (PRIXLEAST32): Likewise.
23694 [C99-based-standards] (SCNdLEAST32): Likewise.
23695 [C99-based-standards] (SCNiLEAST32): Likewise.
23696 [C99-based-standards] (SCNoLEAST32): Likewise.
23697 [C99-based-standards] (SCNuLEAST32): Likewise.
23698 [C99-based-standards] (SCNxLEAST32): Likewise.
23699 [C99-based-standards] (PRIdFAST32): Likewise.
23700 [C99-based-standards] (PRIiFAST32): Likewise.
23701 [C99-based-standards] (PRIoFAST32): Likewise.
23702 [C99-based-standards] (PRIuFAST32): Likewise.
23703 [C99-based-standards] (PRIxFAST32): Likewise.
23704 [C99-based-standards] (PRIXFAST32): Likewise.
23705 [C99-based-standards] (SCNdFAST32): Likewise.
23706 [C99-based-standards] (SCNiFAST32): Likewise.
23707 [C99-based-standards] (SCNoFAST32): Likewise.
23708 [C99-based-standards] (SCNuFAST32): Likewise.
23709 [C99-based-standards] (SCNxFAST32): Likewise.
23710 [C99-based-standards] (PRId64): Likewise.
23711 [C99-based-standards] (PRIi64): Likewise.
23712 [C99-based-standards] (PRIo64): Likewise.
23713 [C99-based-standards] (PRIu64): Likewise.
23714 [C99-based-standards] (PRIx64): Likewise.
23715 [C99-based-standards] (PRIX64): Likewise.
23716 [C99-based-standards] (SCNd64): Likewise.
23717 [C99-based-standards] (SCNi64): Likewise.
23718 [C99-based-standards] (SCNo64): Likewise.
23719 [C99-based-standards] (SCNu64): Likewise.
23720 [C99-based-standards] (SCNx64): Likewise.
23721 [C99-based-standards] (PRIdLEAST64): Likewise.
23722 [C99-based-standards] (PRIiLEAST64): Likewise.
23723 [C99-based-standards] (PRIoLEAST64): Likewise.
23724 [C99-based-standards] (PRIuLEAST64): Likewise.
23725 [C99-based-standards] (PRIxLEAST64): Likewise.
23726 [C99-based-standards] (PRIXLEAST64): Likewise.
23727 [C99-based-standards] (SCNdLEAST64): Likewise.
23728 [C99-based-standards] (SCNiLEAST64): Likewise.
23729 [C99-based-standards] (SCNoLEAST64): Likewise.
23730 [C99-based-standards] (SCNuLEAST64): Likewise.
23731 [C99-based-standards] (SCNxLEAST64): Likewise.
23732 [C99-based-standards] (PRIdFAST64): Likewise.
23733 [C99-based-standards] (PRIiFAST64): Likewise.
23734 [C99-based-standards] (PRIoFAST64): Likewise.
23735 [C99-based-standards] (PRIuFAST64): Likewise.
23736 [C99-based-standards] (PRIxFAST64): Likewise.
23737 [C99-based-standards] (PRIXFAST64): Likewise.
23738 [C99-based-standards] (SCNdFAST64): Likewise.
23739 [C99-based-standards] (SCNiFAST64): Likewise.
23740 [C99-based-standards] (SCNoFAST64): Likewise.
23741 [C99-based-standards] (SCNuFAST64): Likewise.
23742 [C99-based-standards] (SCNxFAST64): Likewise.
23743 [C99-based-standards] (PRIdMAX): Likewise.
23744 [C99-based-standards] (PRIiMAX): Likewise.
23745 [C99-based-standards] (PRIoMAX): Likewise.
23746 [C99-based-standards] (PRIuMAX): Likewise.
23747 [C99-based-standards] (PRIxMAX): Likewise.
23748 [C99-based-standards] (PRIXMAX): Likewise.
23749 [C99-based-standards] (SCNdMAX): Likewise.
23750 [C99-based-standards] (SCNiMAX): Likewise.
23751 [C99-based-standards] (SCNoMAX): Likewise.
23752 [C99-based-standards] (SCNuMAX): Likewise.
23753 [C99-based-standards] (SCNxMAX): Likewise.
23754 [C99-based-standards] (PRIdPTR): Likewise.
23755 [C99-based-standards] (PRIiPTR): Likewise.
23756 [C99-based-standards] (PRIoPTR): Likewise.
23757 [C99-based-standards] (PRIuPTR): Likewise.
23758 [C99-based-standards] (PRIxPTR): Likewise.
23759 [C99-based-standards] (PRIXPTR): Likewise.
23760 [C99-based-standards] (SCNdPTR): Likewise.
23761 [C99-based-standards] (SCNiPTR): Likewise.
23762 [C99-based-standards] (SCNoPTR): Likewise.
23763 [C99-based-standards] (SCNuPTR): Likewise.
23764 [C99-based-standards] (SCNxPTR): Likewise.
23765 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23766 allow.
23767 * conform/data/stdint.h-data: Update comments to clarify
23768 requirements.
23769 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
23770 type.
23771 [C99-based standards] (INT8_MAX): Likewise.
23772 [C99-based standards] (INT16_MIN): Likewise.
23773 [C99-based standards] (INT16_MAX): Likewise.
23774 [C99-based standards] (INT32_MIN): Likewise.
23775 [C99-based standards] (INT32_MAX): Likewise.
23776 [C99-based standards] (INT64_MIN): Likewise.
23777 [C99-based standards] (INT64_MAX): Likewise.
23778 [C99-based standards] (UINT8_MAX): Likewise.
23779 [C99-based standards] (UINT16_MAX): Likewise.
23780 [C99-based standards] (UINT32_MAX): Likewise.
23781 [C99-based standards] (UINT64_MAX): Likewise.
23782 [C99-based standards] (INT_LEAST8_MIN): Likewise.
23783 [C99-based standards] (INT_LEAST8_MAX): Likewise.
23784 [C99-based standards] (INT_LEAST16_MIN): Likewise.
23785 [C99-based standards] (INT_LEAST16_MAX): Likewise.
23786 [C99-based standards] (INT_LEAST32_MIN): Likewise.
23787 [C99-based standards] (INT_LEAST32_MAX): Likewise.
23788 [C99-based standards] (INT_LEAST64_MIN): Likewise.
23789 [C99-based standards] (INT_LEAST64_MAX): Likewise.
23790 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23791 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23792 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23793 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23794 [C99-based standards] (INT_FAST8_MIN): Likewise.
23795 [C99-based standards] (INT_FAST8_MAX): Likewise.
23796 [C99-based standards] (INT_FAST16_MIN): Likewise.
23797 [C99-based standards] (INT_FAST16_MAX): Likewise.
23798 [C99-based standards] (INT_FAST32_MIN): Likewise.
23799 [C99-based standards] (INT_FAST32_MAX): Likewise.
23800 [C99-based standards] (INT_FAST64_MIN): Likewise.
23801 [C99-based standards] (INT_FAST64_MAX): Likewise.
23802 [C99-based standards] (UINT_FAST8_MAX): Likewise.
23803 [C99-based standards] (UINT_FAST16_MAX): Likewise.
23804 [C99-based standards] (UINT_FAST32_MAX): Likewise.
23805 [C99-based standards] (UINT_FAST64_MAX): Likewise.
23806 [C99-based standards] (INTPTR_MIN): Likewise.
23807 [C99-based standards] (INTPTR_MAX): Likewise.
23808 [C99-based standards] (UINTPTR_MAX): Likewise.
23809 [C99-based standards] (INTMAX_MIN): Likewise.
23810 [C99-based standards] (INTMAX_MAX): Likewise.
23811 [C99-based standards] (UINTMAX_MAX): Likewise.
23812 [C99-based standards] (PTRDIFF_MIN): Likewise.
23813 [C99-based standards] (PTRDIFF_MAX): Likewise.
23814 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23815 [C99-based standards] (SIZE_MAX): Likewise.
23816 [C99-based standards] (WCHAR_MAX): Likewise.
23817 [C99-based standards] (WINT_MAX): Likewise.
23818 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
23819 constraint on value.
23820 [C99-based standards] (WCHAR_MIN): Likewise.
23821 [C99-based standards] (WINT_MIN): Likewise.
23822 [C99-based standards] (*_t): Allow.
23823 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23824 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23825 Include math.h-data and complex.h-data. Remove all expectations
23826 of math.h and complex.h contents.
23827 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23828 at end of line.
23829 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23830 (struct tm): Expect tag.
23831 [C99-based-standards] (wcstof): Expect function.
23832 [C99-based-standards] (wcstold): Likewise.
23833 [C99-based-standards] (wcstoll): Likewise.
23834 [C99-based-standards] (wcstoull): Likewise.
23835 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23836 macro-int-constant. Specify type.
23837 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
23838 constraint on value.
23839 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23840 Specify type.
23841 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23842 Specify value.
23843 [ISO C standards]: Do not allow headers.
23844 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23845 wcs[abcdefghijklmnopqrstuvwxyz]*.
23846 [ISO C standards] (*_t): Do not allow.
23847 * conform/data/wctype.h-data [C99-based standards] (iswblank):
23848 Expect function.
23849 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23850 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23851 Specify type.
23852 [ISO C standards]: Do not allow headers.
23853 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23854 is[abcdefghijklmnopqrstuvwxyz]*.
23855 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23856 to[abcdefghijklmnopqrstuvwxyz]*.
23857 [ISO C standards] (*_t): Do not allow.
23858 * conform/data/stdalign.h-data: New file.
23859 * conform/data/stdbool.h-data: Likewise.
23860 * conform/data/stdnoreturn.h-data: Likewise.
23861
7514feb8
RM
238622012-11-07 Roland McGrath <roland@hack.frob.com>
23863
23864 [BZ #14815]
23865 * manual/filesys.texi (Directory Entries): Typo fix.
23866 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23867
19b2ecfc
MS
238682012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23869
23870 * elf/elf.h (EM_AARCH64): New macro.
23871 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23872 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23873 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23874 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23875 (R_AARCH64_TLSDESC): Likewise.
23876 (NT_ARM_TLS): Likewise.
23877 (NT_ARM_HW_BREAK): Likewise.
23878 (NT_ARM_HW_WATCH): Likewise.
23879
60e235ee
JM
238802012-11-07 Joseph Myers <joseph@codesourcery.com>
23881
23882 [BZ #14811]
23883 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23884 (__ieee754_powl): Saturate nonzero exponents with absolute value
23885 below 0x1p-79 to +/- 0x1p-79.
23886 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23887 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23888 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23889 nonzero exponents with absolute value below 0x1p-32 to +/-
23890 0x1p-32.
23891 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23892 (__ieee754_powl): Saturate nonzero exponents with absolute value
23893 below 0x1p-79 to +/- 0x1p-79.
23894 * math/libm-test.inc (pow_test): Add more tests.
23895
0ab234b7
AK
238962012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23897
23898 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23899 _dl_s390_cap_flags with kernel. Increase string length.
23900 (_dl_s390_platforms): Add z196 and zEC12.
23901
45832f74
JM
239022012-11-07 Joseph Myers <joseph@codesourcery.com>
23903
23904 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23905 Change XOPEN21K to XOPEN2K.
23906
19218757
MK
239072012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
23908
23909 * string/memmove.c: Use memcpy when possible.
23910
c5f45721
AJ
239112012-11-06 Andreas Jaeger <aj@suse.de>
23912
23913 * po/eo.po: Update from translation team.
23914
82477c28
JM
239152012-11-06 Joseph Myers <joseph@codesourcery.com>
23916
23917 [BZ #14793]
23918 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23919 exponent and small x and y exponents, scale x or y up. Increase
23920 by 2 the exponent used in scaling up.
23921 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23922 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23923 * math/libm-test.inc (fma_test): Add more tests.
23924 (fma_test_towardzero): Likewise.
23925 (fma_test_downward): Likewise.
23926 (fma_test_upward): Likewise.
23927
99252c8c
JM
239282012-11-05 Joseph Myers <joseph@codesourcery.com>
23929
acfa885f
JM
23930 [BZ #14805]
23931 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23932 fenv_t *.
23933
99252c8c
JM
23934 [BZ #14801]
23935 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23936 namespace for names of struct fields.
23937 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23938 fenv_t fields.
23939 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23940 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23941
d6d98dea
ST
239422012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23943
23944 [BZ #3665]
23945 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23946
e10bb107
TS
239472012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23948
23949 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23950 PTR_DEMANGLE.
23951
23952 [BZ #5246]
23953 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23954 PTR_DEMANGLE.
23955
a0c2940d
JM
239562012-11-04 Joseph Myers <joseph@codesourcery.com>
23957
23958 [BZ #14797]
23959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23960 definitely overflow as x * y not x * y + z.
23961 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23962 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23963 * math/libm-test.inc (fma_test): Add more tests.
23964 (fma_test_towardzero): Likewise.
23965 (fma_test_downward): Likewise.
23966 (fma_test_upward): Likewise.
23967
b830319d
TS
239682012-11-04 Thomas Schwinge <thomas@codesourcery.com>
23969
23970 [BZ #157]
23971
23972 * include/stub-tag.h: Remove file.
23973 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23974 '#include' of it.
23975 * manual/maint.texi (Porting): Don't reference it.
23976 * Makerules ($(objpfx)stubs): Likewise.
23977 * dirent/closedir.c: Don't include <stub-tag.h>.
23978 * dirent/dirfd.c: Likewise.
23979 * dirent/fdopendir.c: Likewise.
23980 * dirent/getdents.c: Likewise.
23981 * dirent/getdents64.c: Likewise.
23982 * dirent/opendir.c: Likewise.
23983 * dirent/readdir.c: Likewise.
23984 * dirent/readdir64.c: Likewise.
23985 * dirent/readdir64_r.c: Likewise.
23986 * dirent/readdir_r.c: Likewise.
23987 * dirent/rewinddir.c: Likewise.
23988 * dirent/seekdir.c: Likewise.
23989 * dirent/telldir.c: Likewise.
23990 * gmon/profil.c: Likewise.
23991 * grp/setgroups.c: Likewise.
23992 * inet/if_index.c: Likewise.
23993 * io/access.c: Likewise.
23994 * io/chdir.c: Likewise.
23995 * io/chmod.c: Likewise.
23996 * io/chown.c: Likewise.
23997 * io/close.c: Likewise.
23998 * io/dup.c: Likewise.
23999 * io/dup2.c: Likewise.
24000 * io/dup3.c: Likewise.
24001 * io/euidaccess.c: Likewise.
24002 * io/faccessat.c: Likewise.
24003 * io/fchdir.c: Likewise.
24004 * io/fchmod.c: Likewise.
24005 * io/fchmodat.c: Likewise.
24006 * io/fchown.c: Likewise.
24007 * io/fchownat.c: Likewise.
24008 * io/fcntl.c: Likewise.
24009 * io/flock.c: Likewise.
24010 * io/fstatfs.c: Likewise.
24011 * io/fstatfs64.c: Likewise.
24012 * io/fstatvfs.c: Likewise.
24013 * io/fstatvfs64.c: Likewise.
24014 * io/futimens.c: Likewise.
24015 * io/fxstat.c: Likewise.
24016 * io/fxstat64.c: Likewise.
24017 * io/fxstatat.c: Likewise.
24018 * io/fxstatat64.c: Likewise.
24019 * io/getcwd.c: Likewise.
24020 * io/isatty.c: Likewise.
24021 * io/lchmod.c: Likewise.
24022 * io/lchown.c: Likewise.
24023 * io/link.c: Likewise.
24024 * io/linkat.c: Likewise.
24025 * io/lseek.c: Likewise.
24026 * io/lseek64.c: Likewise.
24027 * io/lxstat64.c: Likewise.
24028 * io/mkdir.c: Likewise.
24029 * io/mkdirat.c: Likewise.
24030 * io/mkfifo.c: Likewise.
24031 * io/mkfifoat.c: Likewise.
24032 * io/open.c: Likewise.
24033 * io/open64.c: Likewise.
24034 * io/openat.c: Likewise.
24035 * io/openat64.c: Likewise.
24036 * io/pipe.c: Likewise.
24037 * io/pipe2.c: Likewise.
24038 * io/poll.c: Likewise.
24039 * io/posix_fadvise.c: Likewise.
24040 * io/posix_fadvise64.c: Likewise.
24041 * io/posix_fallocate.c: Likewise.
24042 * io/posix_fallocate64.c: Likewise.
24043 * io/read.c: Likewise.
24044 * io/readlink.c: Likewise.
24045 * io/readlinkat.c: Likewise.
24046 * io/rmdir.c: Likewise.
24047 * io/sendfile.c: Likewise.
24048 * io/sendfile64.c: Likewise.
24049 * io/statfs.c: Likewise.
24050 * io/statfs64.c: Likewise.
24051 * io/statvfs.c: Likewise.
24052 * io/statvfs64.c: Likewise.
24053 * io/symlink.c: Likewise.
24054 * io/symlinkat.c: Likewise.
24055 * io/ttyname.c: Likewise.
24056 * io/ttyname_r.c: Likewise.
24057 * io/umask.c: Likewise.
24058 * io/unlink.c: Likewise.
24059 * io/unlinkat.c: Likewise.
24060 * io/utime.c: Likewise.
24061 * io/utimensat.c: Likewise.
24062 * io/write.c: Likewise.
24063 * io/xmknod.c: Likewise.
24064 * io/xmknodat.c: Likewise.
24065 * io/xstat.c: Likewise.
24066 * io/xstat64.c: Likewise.
24067 * login/getpt.c: Likewise.
24068 * login/grantpt.c: Likewise.
24069 * login/unlockpt.c: Likewise.
24070 * math/e_acoshl.c: Likewise.
24071 * math/e_acosl.c: Likewise.
24072 * math/e_asinl.c: Likewise.
24073 * math/e_atan2l.c: Likewise.
24074 * math/e_atanhl.c: Likewise.
24075 * math/e_coshl.c: Likewise.
24076 * math/e_expl.c: Likewise.
24077 * math/e_fmodl.c: Likewise.
24078 * math/e_gammal_r.c: Likewise.
24079 * math/e_hypotl.c: Likewise.
24080 * math/e_j0l.c: Likewise.
24081 * math/e_j1l.c: Likewise.
24082 * math/e_jnl.c: Likewise.
24083 * math/e_lgammal_r.c: Likewise.
24084 * math/e_log10l.c: Likewise.
24085 * math/e_log2l.c: Likewise.
24086 * math/e_logl.c: Likewise.
24087 * math/e_powl.c: Likewise.
24088 * math/e_rem_pio2l.c: Likewise.
24089 * math/e_sinhl.c: Likewise.
24090 * math/e_sqrtl.c: Likewise.
24091 * math/fclrexcpt.c: Likewise.
24092 * math/fedisblxcpt.c: Likewise.
24093 * math/feenablxcpt.c: Likewise.
24094 * math/fegetenv.c: Likewise.
24095 * math/fegetexcept.c: Likewise.
24096 * math/fegetround.c: Likewise.
24097 * math/feholdexcpt.c: Likewise.
24098 * math/fesetenv.c: Likewise.
24099 * math/fesetround.c: Likewise.
24100 * math/feupdateenv.c: Likewise.
24101 * math/fgetexcptflg.c: Likewise.
24102 * math/fraiseexcpt.c: Likewise.
24103 * math/fsetexcptflg.c: Likewise.
24104 * math/ftestexcept.c: Likewise.
24105 * math/k_cosl.c: Likewise.
24106 * math/k_rem_pio2l.c: Likewise.
24107 * math/k_sinl.c: Likewise.
24108 * math/k_tanl.c: Likewise.
24109 * math/s_asinhl.c: Likewise.
24110 * math/s_atanl.c: Likewise.
24111 * math/s_cbrtl.c: Likewise.
24112 * math/s_erfl.c: Likewise.
24113 * math/s_expm1l.c: Likewise.
24114 * math/s_log1pl.c: Likewise.
24115 * math/s_tanhl.c: Likewise.
24116 * misc/acct.c: Likewise.
24117 * misc/brk.c: Likewise.
24118 * misc/chflags.c: Likewise.
24119 * misc/chroot.c: Likewise.
24120 * misc/fchflags.c: Likewise.
24121 * misc/fgetxattr.c: Likewise.
24122 * misc/flistxattr.c: Likewise.
24123 * misc/fremovexattr.c: Likewise.
24124 * misc/fsetxattr.c: Likewise.
24125 * misc/fsync.c: Likewise.
24126 * misc/ftruncate.c: Likewise.
24127 * misc/futimes.c: Likewise.
24128 * misc/futimesat.c: Likewise.
24129 * misc/getdomain.c: Likewise.
24130 * misc/getdtsz.c: Likewise.
24131 * misc/gethostid.c: Likewise.
24132 * misc/gethostname.c: Likewise.
24133 * misc/getloadavg.c: Likewise.
24134 * misc/getpagesize.c: Likewise.
24135 * misc/getsysstats.c: Likewise.
24136 * misc/getxattr.c: Likewise.
24137 * misc/gtty.c: Likewise.
24138 * misc/ioctl.c: Likewise.
24139 * misc/lgetxattr.c: Likewise.
24140 * misc/listxattr.c: Likewise.
24141 * misc/llistxattr.c: Likewise.
24142 * misc/lremovexattr.c: Likewise.
24143 * misc/lsetxattr.c: Likewise.
24144 * misc/lutimes.c: Likewise.
24145 * misc/madvise.c: Likewise.
24146 * misc/mincore.c: Likewise.
24147 * misc/mlock.c: Likewise.
24148 * misc/mlockall.c: Likewise.
24149 * misc/mmap.c: Likewise.
24150 * misc/mprotect.c: Likewise.
24151 * misc/msync.c: Likewise.
24152 * misc/munlock.c: Likewise.
24153 * misc/munlockall.c: Likewise.
24154 * misc/munmap.c: Likewise.
24155 * misc/preadv.c: Likewise.
24156 * misc/preadv64.c: Likewise.
24157 * misc/ptrace.c: Likewise.
24158 * misc/pwritev.c: Likewise.
24159 * misc/pwritev64.c: Likewise.
24160 * misc/readv.c: Likewise.
24161 * misc/reboot.c: Likewise.
24162 * misc/remap_file_pages.c: Likewise.
24163 * misc/removexattr.c: Likewise.
24164 * misc/revoke.c: Likewise.
24165 * misc/select.c: Likewise.
24166 * misc/setdomain.c: Likewise.
24167 * misc/setegid.c: Likewise.
24168 * misc/seteuid.c: Likewise.
24169 * misc/sethostid.c: Likewise.
24170 * misc/sethostname.c: Likewise.
24171 * misc/setregid.c: Likewise.
24172 * misc/setreuid.c: Likewise.
24173 * misc/setxattr.c: Likewise.
24174 * misc/sstk.c: Likewise.
24175 * misc/stty.c: Likewise.
24176 * misc/swapoff.c: Likewise.
24177 * misc/swapon.c: Likewise.
24178 * misc/sync.c: Likewise.
24179 * misc/syncfs.c: Likewise.
24180 * misc/syscall.c: Likewise.
24181 * misc/truncate.c: Likewise.
24182 * misc/ualarm.c: Likewise.
24183 * misc/usleep.c: Likewise.
24184 * misc/ustat.c: Likewise.
24185 * misc/utimes.c: Likewise.
24186 * misc/vhangup.c: Likewise.
24187 * misc/writev.c: Likewise.
24188 * posix/_exit.c: Likewise.
24189 * posix/alarm.c: Likewise.
24190 * posix/execve.c: Likewise.
24191 * posix/fexecve.c: Likewise.
24192 * posix/fork.c: Likewise.
24193 * posix/fpathconf.c: Likewise.
24194 * posix/getaddrinfo.c: Likewise.
24195 * posix/getegid.c: Likewise.
24196 * posix/geteuid.c: Likewise.
24197 * posix/getgid.c: Likewise.
24198 * posix/getgroups.c: Likewise.
24199 * posix/getlogin.c: Likewise.
24200 * posix/getlogin_r.c: Likewise.
24201 * posix/getpgid.c: Likewise.
24202 * posix/getpid.c: Likewise.
24203 * posix/getppid.c: Likewise.
24204 * posix/getresgid.c: Likewise.
24205 * posix/getresuid.c: Likewise.
24206 * posix/getsid.c: Likewise.
24207 * posix/getuid.c: Likewise.
24208 * posix/glob64.c: Likewise.
24209 * posix/nanosleep.c: Likewise.
24210 * posix/pathconf.c: Likewise.
24211 * posix/pause.c: Likewise.
24212 * posix/posix_madvise.c: Likewise.
24213 * posix/pread.c: Likewise.
24214 * posix/pread64.c: Likewise.
24215 * posix/pwrite.c: Likewise.
24216 * posix/pwrite64.c: Likewise.
24217 * posix/sched_getaffinity.c: Likewise.
24218 * posix/sched_getp.c: Likewise.
24219 * posix/sched_gets.c: Likewise.
24220 * posix/sched_primax.c: Likewise.
24221 * posix/sched_primin.c: Likewise.
24222 * posix/sched_rr_gi.c: Likewise.
24223 * posix/sched_setaffinity.c: Likewise.
24224 * posix/sched_setp.c: Likewise.
24225 * posix/sched_sets.c: Likewise.
24226 * posix/sched_yield.c: Likewise.
24227 * posix/setgid.c: Likewise.
24228 * posix/setlogin.c: Likewise.
24229 * posix/setpgid.c: Likewise.
24230 * posix/setresgid.c: Likewise.
24231 * posix/setresuid.c: Likewise.
24232 * posix/setsid.c: Likewise.
24233 * posix/setuid.c: Likewise.
24234 * posix/sleep.c: Likewise.
24235 * posix/spawni.c: Likewise.
24236 * posix/sysconf.c: Likewise.
24237 * posix/times.c: Likewise.
24238 * posix/wait.c: Likewise.
24239 * posix/wait3.c: Likewise.
24240 * posix/wait4.c: Likewise.
24241 * posix/waitpid.c: Likewise.
24242 * resolv/gai_sigqueue.c: Likewise.
24243 * resource/getpriority.c: Likewise.
24244 * resource/getrlimit.c: Likewise.
24245 * resource/getrusage.c: Likewise.
24246 * resource/nice.c: Likewise.
24247 * resource/setpriority.c: Likewise.
24248 * resource/setrlimit.c: Likewise.
24249 * resource/ulimit.c: Likewise.
24250 * rt/aio_cancel.c: Likewise.
24251 * rt/aio_fsync.c: Likewise.
24252 * rt/aio_read.c: Likewise.
24253 * rt/aio_sigqueue.c: Likewise.
24254 * rt/aio_suspend.c: Likewise.
24255 * rt/aio_write.c: Likewise.
24256 * rt/clock_getres.c: Likewise.
24257 * rt/clock_gettime.c: Likewise.
24258 * rt/clock_nanosleep.c: Likewise.
24259 * rt/clock_settime.c: Likewise.
24260 * rt/lio_listio.c: Likewise.
24261 * rt/mq_close.c: Likewise.
24262 * rt/mq_getattr.c: Likewise.
24263 * rt/mq_notify.c: Likewise.
24264 * rt/mq_open.c: Likewise.
24265 * rt/mq_receive.c: Likewise.
24266 * rt/mq_send.c: Likewise.
24267 * rt/mq_setattr.c: Likewise.
24268 * rt/mq_timedreceive.c: Likewise.
24269 * rt/mq_timedsend.c: Likewise.
24270 * rt/mq_unlink.c: Likewise.
24271 * rt/shm_open.c: Likewise.
24272 * rt/shm_unlink.c: Likewise.
24273 * rt/timer_create.c: Likewise.
24274 * rt/timer_delete.c: Likewise.
24275 * rt/timer_getoverr.c: Likewise.
24276 * rt/timer_gettime.c: Likewise.
24277 * rt/timer_settime.c: Likewise.
24278 * setjmp/__longjmp.c: Likewise.
24279 * setjmp/setjmp.c: Likewise.
24280 * signal/kill.c: Likewise.
24281 * signal/killpg.c: Likewise.
24282 * signal/raise.c: Likewise.
24283 * signal/sigaction.c: Likewise.
24284 * signal/sigaltstack.c: Likewise.
24285 * signal/sigblock.c: Likewise.
24286 * signal/sigignore.c: Likewise.
24287 * signal/sigintr.c: Likewise.
24288 * signal/signal.c: Likewise.
24289 * signal/sigpause.c: Likewise.
24290 * signal/sigpending.c: Likewise.
24291 * signal/sigqueue.c: Likewise.
24292 * signal/sigreturn.c: Likewise.
24293 * signal/sigset.c: Likewise.
24294 * signal/sigsetmask.c: Likewise.
24295 * signal/sigstack.c: Likewise.
24296 * signal/sigsuspend.c: Likewise.
24297 * signal/sigtimedwait.c: Likewise.
24298 * signal/sigvec.c: Likewise.
24299 * signal/sigwait.c: Likewise.
24300 * signal/sigwaitinfo.c: Likewise.
24301 * signal/sysv_signal.c: Likewise.
24302 * socket/accept.c: Likewise.
24303 * socket/accept4.c: Likewise.
24304 * socket/bind.c: Likewise.
24305 * socket/connect.c: Likewise.
24306 * socket/getpeername.c: Likewise.
24307 * socket/getsockname.c: Likewise.
24308 * socket/getsockopt.c: Likewise.
24309 * socket/isfdtype.c: Likewise.
24310 * socket/listen.c: Likewise.
24311 * socket/recv.c: Likewise.
24312 * socket/recvfrom.c: Likewise.
24313 * socket/recvmsg.c: Likewise.
24314 * socket/send.c: Likewise.
24315 * socket/sendmsg.c: Likewise.
24316 * socket/sendto.c: Likewise.
24317 * socket/setsockopt.c: Likewise.
24318 * socket/shutdown.c: Likewise.
24319 * socket/sockatmark.c: Likewise.
24320 * socket/socket.c: Likewise.
24321 * socket/socketpair.c: Likewise.
24322 * stdio-common/ctermid.c: Likewise.
24323 * stdio-common/cuserid.c: Likewise.
24324 * stdio-common/remove.c: Likewise.
24325 * stdio-common/rename.c: Likewise.
24326 * stdio-common/renameat.c: Likewise.
24327 * stdio-common/tempname.c: Likewise.
24328 * stdlib/getcontext.c: Likewise.
24329 * stdlib/makecontext.c: Likewise.
24330 * stdlib/setcontext.c: Likewise.
24331 * stdlib/swapcontext.c: Likewise.
24332 * stdlib/system.c: Likewise.
24333 * streams/fattach.c: Likewise.
24334 * streams/fdetach.c: Likewise.
24335 * streams/getmsg.c: Likewise.
24336 * streams/getpmsg.c: Likewise.
24337 * streams/putmsg.c: Likewise.
24338 * streams/putpmsg.c: Likewise.
24339 * sysdeps/unix/bsd/getpt.c: Likewise.
24340 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24341 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24342 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24344 Likewise.
24345 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24346 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24347 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24348 * sysvipc/msgctl.c: Likewise.
24349 * sysvipc/msgget.c: Likewise.
24350 * sysvipc/msgrcv.c: Likewise.
24351 * sysvipc/msgsnd.c: Likewise.
24352 * sysvipc/semctl.c: Likewise.
24353 * sysvipc/semget.c: Likewise.
24354 * sysvipc/semop.c: Likewise.
24355 * sysvipc/semtimedop.c: Likewise.
24356 * sysvipc/shmat.c: Likewise.
24357 * sysvipc/shmctl.c: Likewise.
24358 * sysvipc/shmdt.c: Likewise.
24359 * sysvipc/shmget.c: Likewise.
24360 * termios/tcdrain.c: Likewise.
24361 * termios/tcflow.c: Likewise.
24362 * termios/tcflush.c: Likewise.
24363 * termios/tcgetattr.c: Likewise.
24364 * termios/tcgetpgrp.c: Likewise.
24365 * termios/tcsendbrk.c: Likewise.
24366 * termios/tcsetattr.c: Likewise.
24367 * termios/tcsetpgrp.c: Likewise.
24368 * time/adjtime.c: Likewise.
24369 * time/clock.c: Likewise.
24370 * time/getitimer.c: Likewise.
24371 * time/gettimeofday.c: Likewise.
24372 * time/setitimer.c: Likewise.
24373 * time/settimeofday.c: Likewise.
24374 * time/stime.c: Likewise.
24375 * time/time.c: Likewise.
24376
243772012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 24378
a20492cf
PT
24379 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24380 /usr/old/bin.
24381
72e182e3
PT
24382 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24383 instead of spaces.
24384 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24385
fbeafede
JM
243862012-11-03 Joseph Myers <joseph@codesourcery.com>
24387
5b5b04d6
JM
24388 [BZ #14796]
24389 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24390 FE_TONEAREST before applying Dekker multiplication and Knuth
24391 addition. Clear inexact exceptions and check for exact zero
24392 results afterwards.
24393 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24394 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24395 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24396 * math/libm-test.inc (fma_test): Add more tests.
24397 (fma_test_towardzero): Likewise.
24398 (fma_test_downward): Likewise.
24399 (fma_test_upward): Likewise.
24400 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24401 function.
24402 (libc_fesetround): New macro.
24403 (libc_fesetroundf): Likewise.
24404 (libc_fesetroundl): Likewise.
24405 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24406 function.
24407 (libc_fesetround_387): Likewise.
24408 (libc_fesetroundf): New macro.
24409 (libc_fesetround): Likewise.
24410 (libc_fesetroundl): Likewise.
24411 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24412 function.
24413 (libc_fesetroundf): New macro.
24414 (libc_fesetround): Likewise.
24415 (libc_fesetroundl): Likewise.
24416 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24417 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24418 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24419 libm_hidden_ver.
24420 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24421 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24422 libm_hidden_def.
24423 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24424 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24425 libm_hidden_ver.
24426 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24427 libm_hidden_def.
24428
fbeafede
JM
24429 [BZ #3439]
24430 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24431 integer constant usable in #if and use that to give value to enum
24432 constant.
24433 (FE_DIVBYZERO): Likewise.
24434 (FE_UNDERFLOW): Likewise.
24435 (FE_OVERFLOW): Likewise.
24436 (FE_INVALID): Likewise.
24437 (FE_INVALID_SNAN): Likewise.
24438 (FE_INVALID_ISI): Likewise.
24439 (FE_INVALID_IDI): Likewise.
24440 (FE_INVALID_ZDZ): Likewise.
24441 (FE_INVALID_IMZ): Likewise.
24442 (FE_INVALID_COMPARE): Likewise.
24443 (FE_INVALID_SOFTWARE): Likewise.
24444 (FE_INVALID_SQRT): Likewise.
24445 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24446 (FE_TONEAREST): Likewise.
24447 (FE_TOWARDZERO): Likewise.
24448 (FE_UPWARD): Likewise.
24449 (FE_DOWNWARD): Likewise.
24450 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24451 (FE_DIVBYZERO): Likewise.
24452 (FE_OVERFLOW): Likewise.
24453 (FE_UNDERFLOW): Likewise.
24454 (FE_INEXACT): Likewise.
24455 (FE_TONEAREST): Likewise.
24456 (FE_DOWNWARD): Likewise.
24457 (FE_UPWARD): Likewise.
24458 (FE_TOWARDZERO): Likewise.
24459 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24460 (FE_UNDERFLOW): Likewise.
24461 (FE_OVERFLOW): Likewise.
24462 (FE_DIVBYZERO): Likewise.
24463 (FE_INVALID): Likewise.
24464 (FE_TONEAREST): Likewise.
24465 (FE_TOWARDZERO): Likewise.
24466 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24467 (FE_OVERFLOW): Likewise.
24468 (FE_UNDERFLOW): Likewise.
24469 (FE_DIVBYZERO): Likewise.
24470 (FE_INEXACT): Likewise.
24471 (FE_TONEAREST): Likewise.
24472 (FE_TOWARDZERO): Likewise.
24473 (FE_UPWARD): Likewise.
24474 (FE_DOWNWARD): Likewise.
24475 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24476 (FE_DIVBYZERO): Likewise.
24477 (FE_OVERFLOW): Likewise.
24478 (FE_UNDERFLOW): Likewise.
24479 (FE_INEXACT): Likewise.
24480 (FE_TONEAREST): Likewise.
24481 (FE_DOWNWARD): Likewise.
24482 (FE_UPWARD): Likewise.
24483 (FE_TOWARDZERO): Likewise.
24484
105ca950
CM
244852012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24486
24487 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24488
a542b389
AS
244892012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24490
24491 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24492 commands. Quote $PWD.
24493 (blacklist_exports): Don't use remove_newlines. Replace "declare
24494 -x" by "export".
24495 (remove_newlines): Remove.
24496
f62c8abc
L
244972012-11-02 H.J. Lu <hongjiu.lu@intel.com>
24498
24499 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
24500 * stdlib/stdlib.h (atof): Moved to ...
24501 * include/bits/stdlib-float.h: Here. New file.
24502 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
24503 * stdlib/bits/stdlib-float.h: New file.
24504 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
24505 -mno-sse -mno-mmx.
24506 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
24507 <xmmintrin.h>.
24508
0155d5b2
JM
245092012-11-02 Joseph Myers <joseph@codesourcery.com>
24510
a68d0680
JM
24511 * conform/conformtest.pl (@headers): Add fenv.h.
24512 * conform/data/fenv.h-data: New file.
24513 * include/fenv.h [_ISOMAC]: Disable all contents of file except
24514 include of <math/fenv.h>.
24515
caf7f573
JM
24516 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
24517 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
24518 && !UNIX98]. Enables tests for XOPEN2K8.
24519 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
24520 POSIX2008]: Likewise.
24521
6c073ad6
JM
24522 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
24523 (struct rusage): Do not expect type or its members.
24524
0155d5b2
JM
24525 [BZ #3439]
24526 * math/math.h (FP_NAN): Define macro to integer constant usable in
24527 #if and use that to give value to enum constant.
24528 (FP_INFINITE): Likewise.
24529 (FP_ZERO): Likewise.
24530 (FP_SUBNORMAL): Likewise.
24531 (FP_NORMAL): Likewise.
24532
b5dcacb4
AS
245332012-11-02 Andreas Schwab <schwab@linux-m68k.org>
24534
24535 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
24536 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
24537 arguments.
24538
f7934be8
RM
245392012-11-02 Roland McGrath <roland@hack.frob.com>
24540
24541 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
24542 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
24543 autoconf-time if not.
24544 * configure.in: Remove AC_PREREQ.
24545
d7d08bde
TMQMF
245462012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24547
24548 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
24549 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
24550 of the internal implementation.
24551
dcdae19a
JM
245522012-11-02 Joseph Myers <joseph@codesourcery.com>
24553
24554 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
24555 except include of <misc/sys/syslog.h>.
24556
d6cffd3e
AS
245572012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24558
24559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
24560 function returns with a NULL context exit with zero.
24561
b3563932
TMQMF
245622012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24563
24564 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
24565
b288a93d
L
245662012-11-01 H.J. Lu <hongjiu.lu@intel.com>
24567
24568 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
24569 (run_program_cmd): This.
24570 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
24571 (tst_langinfo): New variable. Use it.
24572
a2421a68
SAS
245732012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
24574
24575 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
24576 floating point opcodes.
24577
6f796e1b
TS
245782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24579
7402596b
TS
24580 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
24581 variable.
24582
d0d4f868
TS
24583 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
24584
6f796e1b
TS
24585 * sysdeps/mach/hurd/powerpc: Remove directory.
24586 * sysdeps/mach/powerpc: Likewise.
24587
4da224a2
AS
245882012-11-01 Andreas Schwab <schwab@linux-m68k.org>
24589
24590 * scripts/check-local-headers.sh: Ignore c++ headers.
24591
341dd673
TS
245922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24593
24594 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
24595 __libc_cleanup_region_start argument.
24596
473611b2
JM
245972012-11-01 Joseph Myers <joseph@codesourcery.com>
24598
24599 [BZ #14784]
24600 [BZ #14785]
24601 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
24602 x * y using scaling, not as x * y + z.
24603 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24604 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24605 * math/libm-test.inc (fma_test): Add more tests.
24606 (fma_test_towardzero): Likewise.
24607 (fma_test_downward): Likewise.
24608 (fma_test_upward): Likewise.
24609
4078da3d
TS
246102012-11-01 Thomas Schwinge <thomas@codesourcery.com>
24611
24612 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
24613
903252aa
JM
246142012-10-31 Joseph Myers <joseph@codesourcery.com>
24615
24616 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
24617 New variable.
24618
cbc818d0
TS
246192012-10-31 Thomas Schwinge <thomas@codesourcery.com>
24620
24621 * rt/tst-shm.c (worker): Correct checking for mmap failure.
24622
5a03cb1e
AS
246232012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24624
24625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24626 Fix sort order.
24627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24628 Likewise.
24629
90aff2ff
TMQMF
246302012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24631
24632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24633 Fix the order of the list for glibc 2.17.
24634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24635 Likewise.
24636
1818fcb7
AS
246372012-10-31 Andreas Schwab <schwab@linux-m68k.org>
24638
24639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24640
ef82f4da
JM
246412012-10-31 Joseph Myers <joseph@codesourcery.com>
24642
16a0e2ec
JM
24643 [BZ #14610]
24644 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
24645 for low part of x being zero before using __atanl (y).
24646 * math/libm-test.inc (atan2_test): Add another test.
24647
0eb69512
JM
24648 * manual/install.texi (Configuring and compiling): Document
24649 general use of test-wrapper and test-wrapper-env.
24650 * INSTALL: Regenerated.
24651
ef82f4da
JM
24652 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
24653 (__fma): Do not extract and scale down low bits on after-rounding
24654 systems when result rounded to normal precision would have normal
24655 exponent.
24656 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
24657 (__fmal): Do not extract and scale down low bits on after-rounding
24658 systems when result rounded to normal precision would have normal
24659 exponent.
24660 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
24661 (__fmal): Do not extract and scale down low bits on after-rounding
24662 systems when result rounded to normal precision would have normal
24663 exponent.
24664 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
24665 macro.
24666 (fma_test): Add more tests.
24667 (fma_test_towardzero): Likewise.
24668 (fma_test_downward): Likewise.
24669 (fma_test_upward): Likewise.
24670
954ef0d9
L
246712012-10-30 H.J. Lu <hongjiu.lu@intel.com>
24672
24673 * sysdeps/i386/tininess.h: Renamed to ...
24674 * sysdeps/x86/tininess.h: This.
24675 * sysdeps/x86_64/tininess.h: Removed.
24676
df61ffb2
JM
246772012-10-30 Joseph Myers <joseph@codesourcery.com>
24678
24679 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
24680 input. Use $(build-program-cmd).
24681 ($(objpfx)tst-array1-static.out): Likewise.
24682 ($(objpfx)tst-array2.out): Likewise.
24683 ($(objpfx)tst-array3.out): Likewise.
24684 ($(objpfx)tst-array4.out): Likewise.
24685 ($(objpfx)tst-array5.out): Likewise.
24686 ($(objpfx)tst-array5-static.out): Likewise.
24687
01767843
CM
246882012-10-30 Chris Metcalf <cmetcalf@tilera.com>
24689
47cc1490
CM
24690 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
24691 if defined.
24692
01767843
CM
24693 * nss/nsswitch.h (nss_interface_function): Provide new
24694 macro for use with NSS functions.
24695 * grp/initgroups.c: Use new macro.
24696 * nss/getXXbyYY.c: Likewise.
24697 * nss/getXXbyYY_r.c: Likewise.
24698 * nss/getXXent.c: Likewise.
24699 * nss/getXXent_r.c: Likewise.
24700 * sysdeps/posix/getaddrinfo.c: Likewise.
24701
8321aa97
AJ
247022012-10-30 Andreas Jaeger <aj@suse.de>
24703
24704 * po/ru.po: Update Russion translation from translation project.
24705
2a27fd6d
JM
247062012-10-30 Joseph Myers <joseph@codesourcery.com>
24707
8627a232
JM
24708 [BZ #14152]
24709 [BZ #14783]
24710 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24711 result and shift together with sticky bit instead of replicating
24712 round-to-nearest rounding.
24713 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24714 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24715 * math/libm-test.inc (fma_test): Add more tests. Do not permit
24716 missing underflow exceptions.
24717 (fma_test_towardzero): Add more tests.
24718 (fma_test_downward): Likewise.
24719 (fma_test_upward): Likewise.
24720
2a27fd6d
JM
24721 [BZ #14047]
24722 * sysdeps/generic/tininess.h: New file.
24723 * sysdeps/i386/tininess.h: Likewise.
24724 * sysdeps/sh/tininess.h: Likewise.
24725 * sysdeps/x86_64/tininess.h: Likewise.
24726 * stdlib/tst-strtod-underflow.c: Likewise.
24727 * stdlib/tst-tininess.c: Likewise.
24728 * stdlib/strtod_l.c: Include <tininess.h>.
24729 (round_and_return): Do not set errno for exact underflow cases.
24730 Force an underflow exception when setting errno for underflow.
24731 Determine underflow based on rounding to normal precision if
24732 TININESS_AFTER_ROUNDING.
24733 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24734 ERANGE for exact underflow cases.
24735 * stdlib/Makefile (tests): Add tst-tininess and
24736 tst-strtod-underflow.
24737 ($(objpfx)tst-tininess): Use $(link-libm).
24738 ($(objpfx)tst-strtod-underflow): Likewise.
24739
e7170363
AJ
247402012-10-30 Andreas Jaeger <aj@suse.de>
24741
e5088dc6
AJ
24742 [BZ#14767]
24743 * elf/Makefile (tests): Remove conditional for have-initfini-array
24744 since this is now always required and the variable does not exist
24745 anymore.
24746 (tests-static): Likewise.
24747 (modules-names): Likewise.
24748
e7170363 24749 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
24750
24751 * elf/tst-array1.c (fini_array): Make writeable so that it can be
24752 merged with constructor/destructor.
24753 (init_array): Likewise.
24754 * elf/tst-array2dep.c (fini_array): Likewise.
24755 (init_array): Likewise.
24756
60457d8a
MF
247572012-10-29 Mike Frysinger <vapier@gentoo.org>
24758
24759 * manual/message.texi: Delete @cartouche tags.
24760
8bece752
PT
247612012-10-29 Pino Toscano <toscano.pino@tiscali.it>
24762
94ce799f
PT
24763 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24764 EOPNOTSUPP.
24765 * sysdeps/mach/hurd/fsync.c: Likewise.
24766
8bece752
PT
24767 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24768 [_POSIX_REALTIME_SIGNALS]: Change condition to
24769 [_POSIX_REALTIME_SIGNALS > 0].
24770
86ebe6b1
AJ
247712012-10-27 Andreas Jaeger <aj@suse.de>
24772
24773 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24774 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24775 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24776 [__WORDSIZE != 64]: Likewise.
24777
54399c08
L
247782012-10-26 H.J. Lu <hongjiu.lu@intel.com>
24779
24780 * iconvdata/tst-table.sh: Remove ${SHELL}.
24781 * iconvdata/tst-tables.sh: Likewise.
24782
e2211bed
DM
247832012-10-25 David S. Miller <davem@davemloft.net>
24784
24785 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24786 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24787 of strtoull.
24788
f303f97c
DM
24789 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24790 ifunc-impl-list.c
24791 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24792 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24793 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24794 file.
24795
1e9d84cd
RM
247962012-10-25 Roland McGrath <roland@hack.frob.com>
24797
24798 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24799 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24800 __getdirentries.
24801
df381762
JM
248022012-10-25 Joseph Myers <joseph@codesourcery.com>
24803 Jim Blandy <jimb@codesourcery.com>
24804
24805 * scripts/cross-test-ssh.sh: New file.
24806 * manual/install.texi (Configuring and compiling): Document use of
24807 cross-test-ssh.sh.
24808 * INSTALL: Regenerated.
24809
bff64913
PT
248102012-10-25 Pino Toscano <toscano.pino@tiscali.it>
24811
24812 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24813 EOPNOTSUPP.
24814
25fe8932
JM
248152012-10-25 Joseph Myers <joseph@codesourcery.com>
24816
24817 * Makeconfig (run-program-prefix): Fix comment.
24818
cc1290d0
JM
248192012-10-24 Joseph Myers <joseph@codesourcery.com>
24820 Jim Blandy <jimb@codesourcery.com>
24821
24822 * Makeconfig (test-wrapper): New variable,
24823 (test-wrapper-env): Likewise.
24824 [$(cross-compiling) = yes && $(test-wrapper) != ""]
24825 (run-built-tests): Define to yes.
24826 (run-program-prefix): Use $(test-wrapper).
24827 (built-program-cmd): Likewise.
24828 * Rules (make-test-out): Use $(test-wrapper-env) and
24829 $(host-built-program-cmd).
24830 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24831 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24832 tst-pathopt.sh.
24833 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24834 $(test-wrapper-env) to tst-rtld-load-self.sh.
24835 ($(objpfx)order2.out): Use $(test-wrapper).
24836 ($(objpfx)tst-initorder.out): Likewise.
24837 ($(objpfx)tst-initorder2.out): Likewise.
24838 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24839 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24840 (test_wrapper_env): New variable. Use it to run ld.so.
24841 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24842 Use it to run ld.so.
24843 (test_wrapper_env): Likewise.
24844 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24845 $(test-wrapper) to run-iconv-test.sh.
24846 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24847 (ICONV): Use $test_wrapper.
24848 * posix/Makefile ($(objpfx)globtest.out): Pass
24849 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24850 globtest.sh, not $(run-program-prefix).
24851 * posix/globtest.sh (run_via_rtld_prefix): New variable.
24852 (test_wrapper): Likewise.
24853 (test_wrapper_env): Likewise. Use it to run globtest with HOME
24854 set together with run_via_rtld_prefix.
24855 (run_program_prefix): Define in terms of test_wrapper and
24856 run_via_rtld_prefix.
24857
6e6249d0
RM
248582012-10-24 Roland McGrath <roland@hack.frob.com>
24859
24860 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24861 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24862 Targets removed.
24863
24864 [BZ #14743]
24865 * include/time.h: Remove librt_hidden_proto (clock_gettime).
24866 Declare __clock_getres, __clock_gettime, __clock_settime,
24867 __clock_nanosleep, and __clock_getcpuclockid.
24868 * rt/clock_gettime.c: Define __clock_gettime as an alias.
24869 Remove librt_hidden_def (clock_gettime).
24870 * sysdeps/unix/clock_gettime.c: Likewise.
24871 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24872 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24873 * rt/clock_getres.c: Define __clock_getres as an alias.
24874 * sysdeps/posix/clock_getres.c: Likewise.
24875 * rt/clock_settime.c: Define __clock_settime as an alias.
24876 * sysdeps/unix/clock_settime.c: Likewise.
24877 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24878 * sysdeps/unix/clock_nanosleep.c: Likewise.
24879 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24880 * rt/clock-compat.c: New file.
24881 * rt/Makefile (librt-routines): Add clock-compat and move
24882 $(clock-routines) to ...
24883 (routines): ... here, new variable.
24884 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24885 Don't add get_clockfreq here.
24886 * rt/Versions (libc: GLIBC_2.17): New version set.
24887 Add clock_* symbols here.
24888 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
24889 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24890 (GLIBC_2.17): Add clock_* symbols.
24891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24892 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24893 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24895 Likewise.
24896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24897 Likewise.
24898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24902 * NEWS: Mention the move.
24903
24904 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24905 Use __open, __read, __close rather than their public counterparts.
24906 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24907 (__get_clockfreq_via_cpuinfo): Likewise.
24908 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24909 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24910
24911 * config.h.in (HAVE_IFUNC): New #undef.
24912 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24913 was successful.
24914 * configure: Regenerated.
24915
0cae3f4b
MF
249162012-10-24 Mike Frysinger <vapier@gentoo.org>
24917
24918 * configure.in: Move READELF check to start of file.
24919 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24920 libc_cv_asm_gnu_indirect_function in the process.
24921 * configure: Regenerated.
24922
8175a253
MF
249232012-10-24 Mike Frysinger <vapier@gentoo.org>
24924
24925 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24926 send the output to /dev/null.
24927 (libc_cv_cc_with_libunwind): Likewise.
24928 (libc_cv_as_noexecstack): Likewise.
24929 * configure: Regenerate.
24930
0708a7d1
JM
249312012-10-24 Joseph Myers <joseph@codesourcery.com>
24932
10b40d85
JM
24933 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24934
0708a7d1
JM
24935 * posix/globtest.sh (TMPDIR): Do not set.
24936 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24937 (testout): Likewise.
24938
9fddec1a
AJ
249392012-10-24 Andreas Jaeger <aj@suse.de>
24940
3a8db22f
AJ
24941 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24942 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24943 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24944 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24945 posix_fadvise64, posix_fallocate64.
24946
9fddec1a
AJ
24947 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24948 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24949 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24950 Likewise.
24951 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24952 Likewise.
24953 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24954
24955 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24956 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24957 <bits/fcntl-linux.h>.
24958 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24959
24960 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24961 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24962 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24963 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24964 [__WORDSIZE != 64]: Likewise.
24965
ebfd1bbd
JM
249662012-10-23 Joseph Myers <joseph@codesourcery.com>
24967
03ac099f
JM
24968 * Makeconfig (run-built-tests): New variable.
24969 * Rules [$(cross-compiling) = yes]: Change condition to
24970 [$(run-built-tests) = no].
24971 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24972 to [$(run-built-tests) = yes].
24973 * elf/Makefile [$(cross-compiling) = no]: Likewise
24974 * grp/Makefile [$(cross-compiling) = no]: Likewise.
24975 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24976 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24977 * intl/Makefile [$(cross-compiling) = no]: Likewise.
24978 * io/Makefile [$(cross-compiling) = no]: Likewise.
24979 * libio/Makefile [$(cross-compiling) = no]: Likewise.
24980 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24981 * misc/Makefile [$(cross-compiling) = no]: Likewise.
24982 * posix/Makefile [$(cross-compiling) = no]: Likewise.
24983 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24984 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24985 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24986 * string/Makefile [$(cross-compiling) = no]: Likewise.
24987
ebfd1bbd
JM
24988 * posix/Makefile ($(objpfx)globtest.out): Pass
24989 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24990 $(rtld-installed-name).
24991 * posix/globtest.sh (elf_objpfx): Remove variable.
24992 (rtld_installed_name): Likewise.
24993 (library_path): Likewise.
24994 (run_program_prefix): New variable. Use for running globtest
24995 binary.
24996
166bca24
JB
249972012-10-23 Jim Blandy <jimb@codesourcery.com>
24998 Joseph Myers <joseph@codesourcery.com>
24999
25000 * Makeconfig (host-built-program-cmd): New variable.
25001 * elf/Makefile (tst-stackguard1-ARGS): Use
25002 $(host-built-program-cmd).
25003 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25004 (tst-spawn-ARGS): Likewise.
25005 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25006
88866099
JM
250072012-10-23 Joseph Myers <joseph@codesourcery.com>
25008 Jim Blandy <jimb@codesourcery.com>
25009
25010 * Makeconfig (run-via-rtld-prefix): New variable.
25011 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25012 (built-program-cmd): Likewise.
25013
b4b4c296
AJ
250142012-10-22 Andreas Jaeger <aj@suse.de>
25015
25016 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25017 __O_RSYNC if it exists, otherwise to O_SYNC.
25018
6fb54a22
JB
250192012-10-22 Jim Blandy <jimb@codesourcery.com>
25020 Joseph Myers <joseph@codesourcery.com>
25021
25022 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25023 /dev/null.
25024 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25025 from /dev/null
25026 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25027 /dev/null.
25028
481b90b9
AJ
250292012-10-22 Andreas Jaeger <aj@suse.de>
25030
2a0e2669
AJ
25031 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25032 Define always.
25033 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25034
76e38f9a
AJ
25035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25036 bits/fcntl-linux.h.
25037
7cd37b43
AJ
25038 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25039 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25040
481b90b9
AJ
25041 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25042 to __O_LARGEFILE.
25043 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25044 to __O_LARGEFILE.
25045
aba75984
JB
250462012-10-21 Jim Blandy <jimb@codesourcery.com>
25047 Joseph Myers <joseph@codesourcery.com>
25048
25049 * config.make.in (NM): New variable.
25050
88d4247f
AJ
250512012-10-21 Andreas Jaeger <aj@suse.de>
25052
25053 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25054 definitions and declarations that are provided by
25055 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25056
f2eed205
L
250572012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25058
25059 [BZ #14683]
25060 * elf/Makefile (tests-static): Add tst-leaks1-static.
25061 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25062 ($(objpfx)tst-leaks1-static): New rule.
25063 ($(objpfx)tst-leaks1-static-mem): Likewise.
25064 (tst-leaks1-static-ENV): New macro.
25065 * elf/dl-open.c (dl_open_worker): Check the main application
25066 only if SHARED is defined.
25067 * elf/tst-leaks1-static.c: New file.
25068
335e6931
AJ
250692012-10-20 Andreas Jaeger <aj@suse.de>
25070
25071 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25072 generic values for Linux.
25073 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25074 and declarations that are provided by <bits/fcntl-linux.h> and
25075 include <bits/fcntl-linux.h>.
25076 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25077 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25078
ac5c94d3
RM
250792012-10-20 Roland McGrath <roland@hack.frob.com>
25080
25081 * io/fcntl.h: Move include of <bits/types.h> to the top and
25082 include it unconditionally.
25083
de54b33a
L
250842012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25085
228cfb01
L
25086 * wcsmbs/Makefile (tests-ifunc): New variable.
25087 (tests): Add $(tests-ifunc).
25088 * wcsmbs/test-wcschr-ifunc.c: New file.
25089 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25090 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25091 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25092 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25093 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25094
69f07e5f
L
25095 * string/Makefile (tests-ifunc): New variable.
25096 (tests): Add $(tests-ifunc).
25097 * string/test-memccpy.c (TEST_NAME): New macro.
25098 * string/test-memchr.c (TEST_NAME): Likewise.
25099 * string/test-memcmp.c (TEST_NAME): Likewise.
25100 * string/test-memcpy.c (TEST_NAME): Likewise.
25101 * string/test-memmem.c (TEST_NAME): Likewise.
25102 * string/test-memmove.c (TEST_NAME): Likewise.
25103 * string/test-memset.c (TEST_NAME): Likewise.
25104 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25105 * string/test-stpcpy.c (TEST_NAME): Likewise.
25106 * string/test-stpncpy.c (TEST_NAME): Likewise.
25107 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25108 * string/test-strcasestr.c (TEST_NAME): Likewise.
25109 * string/test-strcat.c (TEST_NAME): Likewise.
25110 * string/test-strchr.c (TEST_NAME): Likewise.
25111 * string/test-strcmp.c(TEST_NAME): Likewise.
25112 * string/test-strcpy.c (TEST_NAME): Likewise.
25113 * string/test-strcspn.c (TEST_NAME): Likewise.
25114 * string/test-strlen.c (TEST_NAME): Likewise.
25115 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25116 * string/test-strncmp.c (TEST_NAME): Likewise.
25117 * string/test-strncpy.c (TEST_NAME): Likewise.
25118 * string/test-strnlen.c (TEST_NAME): Likewise.
25119 * string/test-strpbrk.c (TEST_NAME): Likewise.
25120 * string/test-strrchr.c (TEST_NAME): Likewise.
25121 * string/test-strspn.c (TEST_NAME): Likewise.
25122 * string/test-strstr.c (TEST_NAME): Likewise.
25123 * string/test-bcopy-ifunc.c: New file.
25124 * string/test-bzero-ifunc.c: Likewise.
25125 * string/test-memccpy-ifunc.c: Likewise.
25126 * string/test-memchr-ifunc.c: Likewise.
25127 * string/test-memcmp-ifunc.c: Likewise.
25128 * string/test-memcpy-ifunc.c: Likewise.
25129 * string/test-memmem-ifunc.c: Likewise.
25130 * string/test-memmove-ifunc.c: Likewise.
25131 * string/test-mempcpy-ifunc.c: Likewise.
25132 * string/test-memset-ifunc.c: Likewise.
25133 * string/test-rawmemchr-ifunc.c: Likewise.
25134 * string/test-stpcpy-ifunc.c: Likewise.
25135 * string/test-stpncpy-ifunc.c: Likewise.
25136 * string/test-strcasecmp-ifunc.c: Likewise.
25137 * string/test-strcasestr-ifunc.c: Likewise.
25138 * string/test-strcat-ifunc.c: Likewise.
25139 * string/test-strchr-ifunc.c: Likewise.
25140 * string/test-strchrnul-ifunc.c: Likewise.
25141 * string/test-strcmp-ifunc.c: Likewise.
25142 * string/test-strcpy-ifunc.c: Likewise.
25143 * string/test-strcspn-ifunc.c: Likewise.
25144 * string/test-strlen-ifunc.c: Likewise.
25145 * string/test-strncasecmp-ifunc.c: Likewise.
25146 * string/test-strncat-ifunc.c: Likewise.
25147 * string/test-strncmp-ifunc.c: Likewise.
25148 * string/test-strncpy-ifunc.c: Likewise.
25149 * string/test-strnlen-ifunc.c: Likewise.
25150 * string/test-strpbrk-ifunc.c: Likewise.
25151 * string/test-strrchr-ifunc.c: Likewise.
25152 * string/test-strspn-ifunc.c: Likewise.
25153 * string/test-strstr-ifunc.c: Likewise.
25154
de54b33a
L
25155 * debug/Makefile (tests-ifunc): New variable.
25156 (tests): Add $(tests-ifunc).
25157 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25158 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25159 * debug/test-stpcpy_chk-ifunc.c: New file.
25160 * debug/test-strcpy_chk-ifunc.c: Likewise.
25161
88481c16
SP
251622012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25163
25164 [BZ #13601]
25165 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25166 header is not read in.
25167
135948bd
JM
251682012-10-19 Joseph Myers <joseph@codesourcery.com>
25169
89f1c388
JM
25170 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25171 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25172 directly. Pass built executable to script as
25173 $(built-program-cmd).
25174 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25175 $testprogram without using LD_LIBRARY_PATH and $ldso.
25176
e40a0d21
JM
25177 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25178 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25179 $(rtld-installed-name).
25180 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25181 (rtld_installed_name): Likewise.
25182 (library_path): Likewise.
25183 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25184 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25185 $(run-program-prefix) to tst-tables.sh.
25186 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25187 it to run tst-table-from and tst-table-to.
25188 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25189 Pass it to tst-table.sh.
25190 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25191 $(run-program-prefix) to tst-gettext.sh.
25192 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25193 tst-translit.sh.
25194 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25195 tst-gettext2.sh.
25196 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25197 to run tst-gettext.
25198 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25199 to run tst-gettext2.
25200 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25201 to run tst-translit.
25202 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25203 $(run-program-prefix) to tst-mtrace.sh.
25204 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25205 to run tst-mtrace.
25206 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25207 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25208 $(rtld-installed-name).
25209 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25210 (rtld_installed_name): Likewise.
25211 (run_program_prefix): New variable. Use it to run wordexp-test.
25212
728e272a
JM
25213 * Makeconfig (ARCH): Remove all definitions.
25214 (machine): Likewise.
25215 [ARCH]: Remove conditional code.
25216 [!objdir]: Give error.
25217 [!objdir] (objpfx): Remove.
25218 [!objdir] (common-objpfx): Likewise.
25219 [!objdir] (common-objdir): Likewise.
25220 * configure.in (config_makefile): Remove. Hardcode Makefile in
25221 AC_CONFIG_FILES call.
25222 * configure: Regenerated.
25223
d528cdcf
JM
25224 [BZ #13888]
25225 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25226 or TMPDIR.
25227 (testout): Likewise.
25228
135948bd
JM
25229 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25230 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25231 $(rtld-installed-name).
25232 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25233 (rtld_installed_name): Likwise.
25234 (runit): Remove function.
25235 (run_getconf): New variable, Use it for running getconf binary.
25236
38c78296
L
252372012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25238
25239 [BZ #14716]
25240 * string/test-memmem.c (check_result): New function.
25241 (do_one_test): Use it.
25242 (check1): New function.
25243 (test_main): Use it.
25244
d077f65f
MT
252452012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25246
25247 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25248
ced52c71
JM
252492012-10-18 Joseph Myers <joseph@codesourcery.com>
25250
25251 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25252 (_G_LSEEK64): Likewise.
25253 (_G_MMAP64): Likewise.
25254 (_G_FSTAT64): Likewise.
25255 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25256 (_G_LSEEK64): Likewise.
25257 (_G_MMAP64): Likewise.
25258 (_G_FSTAT64): Likewise.
25259 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25260 unconditional. Call __mmap64 directly.
25261 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25262 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25263 __lseek64 directly.
25264 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25265 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25266 __mmap64 directly.
25267 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25268 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25269 __lseek64 directly.
25270 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25271 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25272 __lseek64 directly.
25273 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25274 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25275 __lseek64 directly.
25276 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25277 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25278 __fxstat64 directly.
25279 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25280 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25281 unconditional.
25282 (freopen64) [!_G_OPEN64]: Remove conditional code.
25283 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25284 unconditional.
25285 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25286 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25287 unconditional.
25288 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25289 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25290 unconditional.
25291 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25292 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25293 unconditional.
25294 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25295 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25296 unconditional.
25297 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25298 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25299 unconditional.
25300 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25301 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25302 unconditional.
25303 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25304
b741de23
SP
253052012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25306
25307 [BZ #12140]
25308 * manual/memory.texi (Malloc Tunable Parameters): Add note
25309 about free list pointers overwriting some perturb bytes.
25310 Wording suggested by Roland McGrath.
25311
f9b9d9c9
JM
253122012-10-17 Joseph Myers <joseph@codesourcery.com>
25313
25314 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25315 (lgamma_test): Likewise.
25316 (tgamma_test): Likewise.
25317
172a631a
FW
253182012-10-16 Florian Weimer <fweimer@redhat.com>
25319
25320 [BZ #14700]
25321 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25322 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25323
e9f37252
MK
253242012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25325
25326 * NEWS: Mention BZ #14716.
25327 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25328 when removing AVAILABLE1_USES_J macro.
25329
d394eb74
L
253302012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25331
25332 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25333 (__bswap_64): __uint64_t for unsigned 64-bit int.
25334
ca38dc17
AS
253352012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25336
25337 * include/string.h (memmem): Declare libc hidden alias.
25338 * string/memmem.c (memmem): Define libc hidden alias.
25339 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25340 __read, __close instead of open, read, close.
25341
9a387d1f
L
253422012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25343
ac49ecaf
L
25344 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25345 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25346 global and hidden.
25347 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25348 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25349 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25350 Likewise.
25351 (__rawmemchr_sse2): Likewise.
25352 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25353 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25354 (__strchr_sse2): Likewise.
25355 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25356 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25357 (__strcasecmp_sse2): Likewise.
25358 (__strncasecmp_sse2): Likewise.
25359 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25360 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25361 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25362 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25363 (__strrchr_sse2): Likewise.
25364 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25365 ifunc-impl-list.c.
25366 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25367 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25368 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25369 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25370 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25371 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25372 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25373 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25374 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25375 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25376 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25377 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25378 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25379 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25380 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25381 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25382 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25383 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25384 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25385 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25386 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25387 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25388 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25389 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25390 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25391 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25392 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25393 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25394 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25395 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25396
b090e8ea
L
25397 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25398 global and hidden.
25399 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25400 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25401 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25402 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25403 Likewise.
25404 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25405 Likewise.
25406 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25407 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25408 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25409 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25410 ifunc-impl-list.c.
25411 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25412 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25413 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25414 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25415 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25416 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25417 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25418 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25419 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25420 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25421 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25422 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25423 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25424 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25425 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25426 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25427 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25428 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25429 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25430 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25431 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25432 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25433 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25434 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25435 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25436 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25437 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25438 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25439 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25440 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25441 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25442 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25443 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25444 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25445 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25446 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25447 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25448 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25449 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25450 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25451 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25452
11dd4af6
L
25453 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25454 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25455 * include/ifunc-impl-list.h: New file.
25456 * misc/ifunc-impl-list.c: Likewise.
25457 * misc/Makefile (routines): Add ifunc-impl-list.
25458 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25459 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
25460 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25461 TEST_NAME]: New variables.
11dd4af6
L
25462 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25463 are defined.
25464 (test_init): Call __libc_ifunc_impl_list to initialize
25465 func_list if TEST_IFUNC and TEST_NAME are defined.
25466
9a387d1f
L
25467 * string/Makefile (strop-tests): Add bcopy and bzero.
25468 * string/test-bcopy.c: New file.
25469 * string/test-bzero.c: Likewise.
25470 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25471 defined.
25472 * string/test-memset.c: Support bzero test if TEST_BZERO is
25473 defined.
25474 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25475 __libc_memmove.
25476 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25477 __libc_memset.
25478 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25479 of memset.
25480
472371b9
JM
254812012-10-10 Joseph Myers <joseph@codesourcery.com>
25482
1e4a9536
JM
25483 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25484 * configure: Regenerated.
25485
d173d12e
JM
25486 * Makeconfig (+link-static-before-libc): Don't include
25487 $(link-static-libc).
25488
472371b9
JM
25489 * libio/libio.h (_IO_pos_t): Remove.
25490
89a3ad0b
AO
254912012-10-10 Alexandre Oliva <aoliva@redhat.com>
25492
25493 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25494 McGrath.
25495
e7451425
AO
254962012-10-10 Alexandre Oliva <aoliva@redhat.com>
25497
25498 * crypt/crypt-entry.c: Include fips-private.h.
25499 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
25500 * crypt/md5c-test.c (main): Tolerate disabled MD5.
25501 * sysdeps/unix/sysv/linux/fips-private.h: New file.
25502 * sysdeps/generic/fips-private.h: New file, dummy fallback.
25503
4ba74a35
AO
255042012-10-10 Alexandre Oliva <aoliva@redhat.com>
25505
25506 * crypt/crypt-private.h: Include stdbool.h.
25507 (_ufc_setup_salt_r): Return bool.
25508 * crypt/crypt-entry.c: Include errno.h.
25509 (__crypt_r): Return NULL with EINVAL for bad salt.
25510 * crypt/crypt_util.c (bad_for_salt): New.
25511 (_ufc_setup_salt_r): Check that salt is long enough and within
25512 the specified alphabet.
25513 * crypt/badsalttest.c: New file.
25514 * crypt/Makefile (tests): Add it.
25515 ($(objpfx)badsalttest): New.
25516
f96f1242
MK
255172012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
25518
25519 * NEWS: Add entry for BZ #14602.
25520
0e8e0c1c
JM
255212012-10-09 Joseph Myers <joseph@codesourcery.com>
25522
25523 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
25524 type-generic.
25525 * math/libm-test.inc: Update comment listing what functions and
25526 macros are tested.
25527 (isgreater_test): New function.
25528 (isgreaterequal_test): Likewise.
25529 (isless_test): Likewise.
25530 (islessequal_test): Likewise.
25531 (islessgreater_test): Likewise.
25532 (isunordered_test): Likewise.
25533 (main): Call the new functions.
25534
273edc5e
RM
255352012-10-09 Roland McGrath <roland@hack.frob.com>
25536
b8493de0
RM
25537 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
25538 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
25539 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
25540 * sysdeps/i386/configure: Regenerated.
25541 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
25542 * sysdeps/mach/configure: Regenerated.
25543 * sysdeps/mach/hurd/configure: Regenerated.
25544 * sysdeps/powerpc/configure: Regenerated.
25545 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25546 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25547 * sysdeps/s390/s390-32/configure: Regenerated.
25548 * sysdeps/s390/s390-64/configure: Regenerated.
25549 * sysdeps/sh/configure: Regenerated.
25550 * sysdeps/sparc/configure: Regenerated.
25551 * sysdeps/unix/sysv/linux/configure: Regenerated.
25552 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
25553 * sysdeps/x86_64/configure: Regenerated.
25554
273edc5e
RM
25555 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
25556 defined. Don't check if MAP is NULL.
25557
c8450f70
JM
255582012-10-09 Joseph Myers <joseph@codesourcery.com>
25559
25560 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
25561 (_G_stat64): Likewise.
25562 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
25563 (_G_stat64): Likewise.
25564 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
25565 instead of struct _G_stat64.
25566 * libio/fileops.c (mmap_remap_check): Likewise.
25567 (decide_maybe_mmap): Likewise.
25568 (_IO_new_file_seekoff): Likewise.
25569 (_IO_file_stat): Likewise.
25570 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
25571 _G_off64_t.
25572 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
25573 instead of struct _G_stat64.
25574 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25575
57e605ba
MK
255762012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
25577
25578 [BZ #14602]
25579 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25580 Replace with ...
25581 (CHECK_EOL): New macro.
25582 (two_way_short_needle): Check beginning of haystack for EOL. Use
25583 CHECK_EOL.
25584 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25585 Replace with CHECK_EOL.
25586 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
25587 Replace with CHECK_EOL.
25588
ef1bb361
JM
255892012-10-08 Joseph Myers <joseph@codesourcery.com>
25590
25591 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
25592 type-generic.
25593 * math/libm-test.inc: Update comment listing what functions and
25594 macros are tested.
25595 (finite_test): New function.
25596 (isinf_test): Likewise.
25597 (isnan_test): Likewise.
25598 (fpclassify_test): Test subnormal input.
25599 (isfinite_test): Likewise.
25600 (isnormal_test): Likewise.
25601 (main): Call the new functions.
25602
55f11534
JN
256032012-10-08 Jonathan Nieder <jrnieder@gmail.com>
25604
25605 [BZ #14660]
25606 * Makerules (%.dynsym): Force C locale when running
25607 $(OBJDUMP) --dynamic-syms.
25608
1ab29350
AS
256092012-10-08 Andreas Schwab <schwab@linux-m68k.org>
25610
25611 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
25612 <stdint.h>.
25613
f1ecb7ef
DM
256142012-10-06 David S. Miller <davem@davemloft.net>
25615
25616 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
25617 upper 32-bits of the length value in %o2 since we use branch-on-register
25618 tests which consider the entire 64-bit register.
25619
5d41d91a
L
256202012-10-06 H.J. Lu <hongjiu.lu@intel.com>
25621
25622 * string/test-strstr.c (check2): Add a test for page boundary.
25623
3baddb72
DM
256242012-10-05 David S. Miller <davem@davemloft.net>
25625
25626 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
25627 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
25628 file.
25629 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25630 sysdep_routines.
25631 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25632 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
25633 and bzero when HWCAP_SPARC_CRYPTO is present.
25634
9cee5585
L
256352012-10-05 H.J. Lu <hongjiu.lu@intel.com>
25636
d7e0dab9
L
25637 [BZ #14602]
25638 * string/test-strstr.c (check2): New function.
25639 (test_main): Call check2.
25640
03759f47
L
25641 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
25642 and bug-strchr1.
25643 * string/bug-strcasestr1.c (do_test): Moved to ...
25644 * string/test-strcasestr.c (check1): Here. New function.
25645 (do_one_test): Break out result checking code into ...
25646 (check_result): This. New function.
25647 (do_one_test): Call check_result.
25648 (test_main): Call check1.
25649 * string/bug-strchr1.c (do_test): Moved to ...
25650 * string/test-strchr.c (check1): Here. New function.
25651 (do_one_test): Break out result checking code into ...
25652 (check_result): This. New function.
25653 (do_one_test): Call check_result.
25654 (test_main): Call check1.
25655 * string/bug-strstr1.c (main): Moved to ...
046f153e 25656 * string/test-strstr.c (check1): Here. New function.
03759f47
L
25657 (do_one_test): Break out result checking code into ...
25658 (check_result): This. New function.
25659 (do_one_test): Call check_result.
25660 (test_main): Call check1.
25661 * string/bug-strcasestr1.c: Removed.
25662 * string/bug-strchr1.c: Likewise.
25663 * string/bug-strstr1.c: Likewise.
25664
53cea63e
L
25665 * elf/Makefile (dl-routines): Add hwcaps.
25666 * elf/dl-support.c (_dl_important_hwcaps): Removed.
25667 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
25668 (_dl_important_hwcaps): Moved to ...
25669 * elf/dl-hwcaps.c: Here. New file.
25670 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
25671
9cee5585 25672 [BZ #14557]
bb859b06
L
25673 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
25674 if IS_IN_rtld isn't defined.
25675
9cee5585
L
25676 * elf/dl-support.c (_dl_sysinfo_map): New.
25677 Include "get-dynamic-info.h" and "setup-vdso.h".
25678 (_dl_non_dynamic_init): Call setup_vdso.
25679 * elf/dynamic-link.h: Don't include <assert.h>.
25680 (elf_get_dynamic_info): Moved to ...
25681 * elf/get-dynamic-info.h: Here. New file.
25682 * elf/dynamic-link.h: Include "get-dynamic-info.h".
25683 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
25684 * elf/setup-vdso.h: Here. New file.
25685 * elf/rtld.c: Include "setup-vdso.h".
25686 (dl_main): Call setup_vdso.
25687
23c31b76
JM
256882012-10-05 Joseph Myers <joseph@codesourcery.com>
25689
28234b07
JM
25690 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
25691 creal in comment listing functions tested. List finite, isinf,
25692 isnan, isless, islessequal, isgreater, isgreaterequal,
25693 islessgreater, isunordered, lgamma_r and pow10 as functions and
25694 macros not tested. Mention which functions not tested are aliases
25695 for other functions. Fix typo. Note that signs of NaNs are not
25696 tested.
25697
23c31b76
JM
25698 * scripts/config.guess: Update from config.git.
25699 * scripts/config.sub: Likewise.
25700
9043e228
RM
257012012-10-04 Roland McGrath <roland@hack.frob.com>
25702
25703 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
25704 * misc/madvise.c (madvise): Renamed to __madvise.
25705 Make madvise a weak alias.
25706 * include/sys/mman.h: Declare __madvise.
25707 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
25708 * sysdeps/unix/syscalls.list
25709 (madvise): Make __madvise the strong name, and madvise a weak alias.
25710 * sysdeps/unix/sysv/linux/syscalls.list
25711 (madvise, mmap): Remove redundant entries.
25712 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25713 * malloc/malloc.c (mtrim): Likewise.
25714 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25715
f57f8055
RM
257162012-10-03 Roland McGrath <roland@hack.frob.com>
25717
25718 * sysdeps/mach/hurd/dl-cache.c: File removed.
25719 * config.h.in (USE_LDCONFIG): New #undef.
25720 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25721 * configure: Regenerated.
25722 * elf/Makefile (dl-routines): Add dl-cache only under
25723 [$(use-ldconfig) = yes].
25724 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25725 cache on [USE_LDCONFIG].
25726 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25727 [USE_LDCONFIG].
25728 * elf/rtld.c (dl_main): Likewise.
25729
5bb0c10a
PT
257302012-10-03 Pino Toscano <toscano.pino@tiscali.it>
25731
25732 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25733 _SC_LEVEL4_CACHE_LINESIZE.
25734
010188c6
RM
257352012-10-03 Roland McGrath <roland@hack.frob.com>
25736
25737 * sysdeps/unix/bsd/confstr.h: File removed.
25738
b6c5ec07
AO
257392012-10-02 Alexandre Oliva <aoliva@redhat.com>
25740
25741 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25742 sys/sdt-config.h.
25743
408223d4
RM
257442012-10-02 Roland McGrath <roland@hack.frob.com>
25745
25746 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25747 Make 'mapoff' field ElfW(Off) rather than off_t.
25748
bb9510dc
DL
257492012-10-02 Dmitry V. Levin <ldv@altlinux.org>
25750
fc997c6e
DL
25751 * nscd/Makefile: Remove nscd-cflags and all its users.
25752 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25753 (CFLAGS-nonlib): Add compiler flags for nscd modules.
25754
bb9510dc
DL
25755 [BZ #10631]
25756 * malloc.c (malloc_printerr): Clarify error message.
25757
05699367
L
257582012-10-02 H.J. Lu <hongjiu.lu@intel.com>
25759
25760 [BZ #14648]
25761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25762 Set bit_FMA_Usable if FMA is supported.
25763 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25764 macro.
25765 (bit_FMA4_Usable): Updated.
25766 (index_FMA_Usable): New macro.
25767 (CPUID_FMA): Likewise
25768 (HAS_FMA): Defined with bit_FMA_Usable.
25769
51367701
RM
257702012-10-01 Roland McGrath <roland@hack.frob.com>
25771
25772 * bits/types.h (__swblk_t): Type removed.
25773 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25774 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25775 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25776 (__SWBLK_T_TYPE): Likewise.
25777 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25778 (__SWBLK_T_TYPE): Likewise.
25779 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25780 (__SWBLK_T_TYPE): Likewise.
25781 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25782 (__SWBLK_T_TYPE): Likewise.
25783
4d57bf63 257842012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 25785 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
25786
25787 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25788 (xdr_mapname): Use YPMAXMAP as maxsize.
25789 (xdr_peername): Use YPMAXPEER as maxsize.
25790 (xdr_keydat): Use YPAXRECORD as maxsize.
25791 (xdr_valdat): Use YPMAXRECORD as maxsize.
25792
93c65d43
RM
257932012-10-01 Roland McGrath <roland@hack.frob.com>
25794
497a03d6
RM
25795 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25796
93c65d43
RM
25797 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25798 * csu/init-first.c: ... here.
25799 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25800 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25801 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25802 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25803 * sysdeps/i386/init-first.c: File removed.
25804 * sysdeps/sh/init-first.c: File removed.
25805
bec749fd
JM
258062012-10-01 Joseph Myers <joseph@codesourcery.com>
25807
25808 [BZ #14645]
25809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25810 if x * y might underflow to zero and z is zero.
25811 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25812 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25813 * math/libm-test.inc (min_subnorm_value): New variable.
25814 (fma_test): Add more tests.
25815 (fma_test_towardzero): Likewise.
25816 (fma_test_downward): Likewise
25817 (fma_test_upward): Likewise.
25818 (initialize): Set min_subnorm_value.
25819
8ec5b013
JM
258202012-09-29 Joseph Myers <joseph@codesourcery.com>
25821
25822 [BZ #14638]
25823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25824 0 + 0.
25825 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25826 mode for addition resulting in exact zero.
25827 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25828 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25829 exact 0 + 0.
25830 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25831 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25832 * math/libm-test.inc (fma_test): Add more tests.
25833 (fma_test_towardzero): New function.
25834 (fma_test_downward): Likewise.
25835 (fma_test_upward): Likewise.
25836 (main): Call the new functions.
25837
b1fa802e
DM
258382012-09-28 David S. Miller <davem@davemloft.net>
25839
25840 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25841
d3b9fd9e
RM
258422012-09-28 Roland McGrath <roland@hack.frob.com>
25843
ea4d37b3
RM
25844 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25845 instead of SIGALRM.
25846
ac51c949
RM
25847 * sysdeps/gnu/_G_config.h: Moved to ...
25848 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25849 * sysdeps/mach/hurd/_G_config.h: Moved to ...
25850 * sysdeps/generic/_G_config.h: ... here.
25851
28c195f7
RM
25852 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
25853
848917f9
RM
25854 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25855
6bacf05b
RM
25856 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25857 Conditionalize target on [libnss_test1.so-version].
25858
91363dbb
RM
25859 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25860
cc87f7d8
RM
25861 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25862 (elfobjdir): Move out of conditionals.
25863
b1c608fe
RM
25864 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25865 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25866 (__nss_lookup_function): Conditionalize label remove_from_tree on
25867 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 25868
1d9a6d96
DM
258692012-09-28 David S. Miller <davem@davemloft.net>
25870
25871 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25872 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25873 file.
25874 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25875 sysdep_routines.
25876 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25877 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25878 when HWCAP_SPARC_CRYPTO is present.
25879
72581615
PT
258802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25881
25882 * io/tst-mknodat.c: Create a FIFO instead of a socket.
25883
715a900c
JL
258842012-09-28 Andreas Schwab <schwab@linux-m68k.org>
25885
25886 [BZ #6530]
25887 * stdio-common/vfprintf.c (process_string_arg): Revert
25888 2000-07-22 change.
25889
258902011-09-28 Jonathan Nieder <jrnieder@gmail.com>
25891
25892 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25893 for testcase.
25894 * stdio-common/tst-sprintf.c: Include <locale.h>
25895 (main): Test sprintf's handling of incomplete multibyte
25896 characters.
25897
9bac1d86
L
258982012-09-28 H.J. Lu <hongjiu.lu@intel.com>
25899
25900 * elf/dl-runtime.c (VERSYMIDX): Removed.
25901 * elf/dl-version.c (VERSYMIDX): Likewise.
25902 * elf/do-rel.h (VERSYMIDX): Likewise.
25903 (VALIDX): Likewise.
25904 * elf/dynamic-link.h (VERSYMIDX): Likewise.
25905 * elf/rtld.c (VALIDX): Likewise.
25906 (ADDRIDX): Likewise.
9bac1d86
L
25907 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25908 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25909 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
25910 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25911 (VALIDX): Likewise.
25912 (ADDRIDX): Likewise.
9bac1d86 25913
b31606c0
PT
259142012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25915
25916 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25917
11541177
JL
259182012-09-28 Dmitry V. Levin <ldv@altlinux.org>
25919
25920 [BZ #11438]
25921 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25922 to global scope.
25923 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25924 addresses are in the same scope as 192.0.2/24.
25925 * posix/gai.conf: Document new scope table defaults.
25926
adb26fae
SP
259272012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25928
25929 [BZ #5298]
25930 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25931 for ftell. Compute offsets from write pointers instead.
25932 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25933
4573c6b0
SP
259342012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25935
25936 [BZ #14543]
25937 * libio/Makefile (tests): New test case tst-fseek.
25938 * libio/tst-fseek.c: New test case to verify that fseek/ftell
25939 combination works in wide mode.
25940 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25941 state when the external buffer state changes.
25942
aa9bbfe6
DM
259432012-09-27 David S. Miller <davem@davemloft.net>
25944
25945 [BZ #14376]
25946 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25947 pass reloc->r_addend in as the 'high' argument to
25948 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25949
784421e7
DM
25950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25951
c39bc8b8
PT
259522012-09-28 Pino Toscano <toscano.pino@tiscali.it>
25953
25954 * rt/tst-aio2.c: Include <pthread.h>.
25955 * rt/tst-aio3.c: Likewise.
25956
1ccc2399
SE
259572012-09-27 Steve Ellcey <sellcey@mips.com>
25958
25959 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25960
31ed4153
L
259612012-09-27 H.J. Lu <hongjiu.lu@intel.com>
25962
25f5f885
L
25963 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25964 contents on [SHARED].
31ed4153 25965
b7bfe116
MP
259662012-09-26 Marek Polacek <polacek@redhat.com>
25967
25968 [BZ #14530]
25969 [BZ #13741]
25970 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25971 for C++ and GCC <4.3 as well as for non GCC compilers.
25972
43c4edba
MT
259732012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
25974
25975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25976
6a1bf82f
RM
259772012-09-25 Roland McGrath <roland@hack.frob.com>
25978
25979 * Makefile.in (all, install): Declare with .PHONY.
25980 Reported by Michael Hope <michael.hope@linaro.org>.
25981
8ad11b9a
TMQMF
259822012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25983
25984 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25985 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25986 system header.
25987 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25988 Likewise.
25989 (sydep_routines): Add the new and the internal functions.
25990 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25991 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25993 (GLIBC_2.17): Add the new function.
25994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25995 (GLIBC_2.17): Likewise.
25996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25997 (GLIBC_2.17): Likewise.
25998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25999 (GLIBC_2.17): Likewise.
26000 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26001
7e2fca8d
AM
260022012-09-25 Alan Modra <amodra@gmail.com>
26003
26004 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26005 Add release barrier before setting once_control to say
26006 initialisation is done. Add hints on lwarx. Use macro in
26007 place of isync.
26008 (clear_once_control): Add release barrier.
26009
b87c4b24
JM
260102012-09-25 Joseph Myers <joseph@codesourcery.com>
26011
d032e0d2
JM
26012 [BZ #13629]
26013 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26014 specially.
26015 * math/s_clog10.c (__clog10): Likewise.
26016 * math/s_clog10f.c (__clog10f): Likewise.
26017 * math/s_clog10l.c (__clog10l): Likewise.
26018 * math/s_clogf.c (__clogf): Likewise.
26019 * math/s_clogl.c (__clogl): Likewise.
26020 * math/Makefile (libm-calls): Add x2y2m1.
26021 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26022 (__x2y2m1): Likewise.
26023 (__x2y2m1l): Likewise.
26024 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26025 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26026 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26027 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26028 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26029 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26030 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26031 * sysdeps/i386/fpu/libm-test-ulps: Update.
26032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26033
b87c4b24
JM
26034 [BZ #14621]
26035 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26036 int as type of variable DEPTH.
26037 (glob): Use size_t instead of int as type of variables NEWCOUNT
26038 and OLD_PATHC.
26039
6d3bf199
LD
260402012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26041
22bf5c17
LD
26042 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26043 Add s_sincosf-sse2.
26044 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26045 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26046 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26047 macros for using routine as __sincosf_ia32.
26048 Use macro for function declaration and weak_alias.
26049 * sysdeps/i386/fpu/libm-test-ulps: Update.
26050
26051 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26053
26054 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
26055 subnormal argument.
26056 * math/s_cexpf.c (__cexpf): Likewise.
26057 * math/s_csinf.c (__csinf): Likewise.
26058 * math/s_csinhf.c (__csinhf): Likewise.
26059 * math/s_ctanf.c (__ctanf): Likewise.
26060 * math/s_ctanhf.c (__ctanhf): Likewise.
26061 * math/s_ccosh.c (__ccoshf): Likewise.
26062 * math/s_cexp.c (__cexpl): Likewise.
26063 * math/s_csin.c (__csin): Likewise.
26064 * math/s_csinh.c (__csinh): Likewise.
26065 * math/s_ctan.c (__ctan): Likewise.
26066 * math/s_ctanh.c (ctanh): Likewise.
26067 * math/s_ccoshl.c (__ccoshl): Likewise.
26068 * math/s_cexpl.c (__cexpl): Likewise.
26069 * math/s_csinl.c (__csinl): Likewise.
26070 * math/s_csinhl.c (__csinhl): Likewise.
26071 * math/s_ctanl.c (__ctanl): Likewise.
26072 * math/s_ctanhl.c (__ctanhl): Likewise.
26073
203e5603
JM
260742012-09-25 Joseph Myers <joseph@codesourcery.com>
26075
26076 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26077 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26078 (_IO_off_t): Define to __off_t, not _G_off_t.
26079 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26080 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26081 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26082 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26083 type of __dummy and __dummy2 fields.
26084 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26085 (_G_ssize_t): Likewise.
26086 (_G_off_t): Likewise.
26087 (_G_pid_t): Likewise.
26088 (_G_uid_t): Likewise.
26089 (_G_wchar_t): Likewise.
26090 (_G_wint_t): Likewise.
26091 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26092 (_G_ssize_t): Likewise.
26093 (_G_off_t): Likewise.
26094 (_G_pid_t): Likewise.
26095 (_G_uid_t): Likewise.
26096 (_G_wchar_t): Likewise.
26097 (_G_wint_t): Likewise.
26098 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26099 (_G_ssize_t): Likewise.
26100 (_G_off_t): Likewise.
26101 (_G_pid_t): Likewise.
26102 (_G_uid_t): Likewise.
26103 (_G_wchar_t): Likewise.
26104 (_G_wint_t): Likewise.
26105
9fab36eb
SP
261062012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26107
26108 * malloc/arena.c: Include malloc-sysdep.h.
26109 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26110 is sufficient to shrink the heap or an unmap is needed.
26111 * sysdeps/generic/malloc-sysdep.h: New file. Define
26112 new function check_may_shrink_heap.
26113 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26114 new function check_may_shrink_heap.
26115
2b4f00d1
SP
261162012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26117
26118 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26119 comments.
26120
9a9028b1
DL
261212012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26122
57c69bef
DL
26123 * catgets/test-gencat.sh: Add "set -e".
26124 * elf/tst-pathopt.sh: Likewise.
26125 * grp/tst_fgetgrent.sh: Likewise.
26126 * iconvdata/run-iconv-test.sh: Likewise.
26127 * intl/tst-gettext.sh: Likewise.
26128 * intl/tst-gettext2.sh: Likewise.
26129 * intl/tst-gettext4.sh: Likewise.
26130 * intl/tst-gettext6.sh: Likewise.
26131 * intl/tst-translit.sh: Likewise.
26132 * io/ftwtest-sh: Likewise.
26133 * libio/test-freopen.sh: Likewise.
26134 * malloc/tst-mtrace.sh: Likewise.
26135 * posix/globtest.sh: Likewise.
26136 * posix/tst-getconf.sh: Likewise.
26137 * posix/wordexp-tst.sh: Likewise.
26138 * stdio-common/tst-printf.sh: Likewise.
26139 * stdio-common/tst-unbputc.sh: Likewise.
26140 * stdlib/tst-fmtmsg.sh: Likewise.
26141 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26142 * catgets/Makefile: Do not specify -e option when running
26143 testsuite shell scripts.
26144 * elf/Makefile: Likewise.
26145 * grp/Makefile: Likewise.
26146 * iconvdata/Makefile: Likewise.
26147 * intl/Makefile: Likewise.
26148 * io/Makefile: Likewise.
26149 * libio/Makefile: Likewise.
26150 * malloc/Makefile: Likewise.
26151 * posix/Makefile: Likewise.
26152 * stdio-common/Makefile: Likewise.
26153 * stdlib/Makefile: Likewise.
26154 * sysdeps/x86_64/Makefile: Likewise.
26155
9a9028b1
DL
26156 * io/ftwtest-sh: Add copyright header.
26157 * posix/globtest.sh: Likewise.
26158 * posix/tst-getconf.sh: Likewise.
26159 * posix/wordexp-tst.sh: Likewise.
26160 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26161
ced6f16e
L
261622012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26163
94b32c39
L
26164 [BZ #13679]
26165 * Makeconfig (+link): Defined as $(+link-static) if
26166 $(build-shared) isn't yes.
26167 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26168 isn't yes.
26169 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26170
189e935b
L
26171 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26172
ced6f16e
L
26173 [BZ #14562]
26174 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26175 new chunk size with MALLOC_ALIGN_MASK.
26176
a9f8e53a
JM
261772012-09-24 Joseph Myers <joseph@codesourcery.com>
26178
26179 [BZ #5044]
26180 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26181 <rounding-mode.h>.
26182 (__printf_fphex): Determine rounding using get_rounding_mode and
26183 round_away.
26184 * stdio-common/tst-printf-round.c (struct hex_test): New
26185 structure.
26186 (hex_tests): New variable.
26187 (test_hex_in_one_mode): New function.
26188 (do_test): Also run tests for hex float output.
26189
43153109
JM
261902012-09-21 Joseph Myers <joseph@codesourcery.com>
26191
26192 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26193 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26194 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26195 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26196 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26197 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26198 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26199 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26200
8a26625d
JM
262012012-09-20 Joseph Myers <joseph@codesourcery.com>
26202
26203 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26204 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26205 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26206 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26207
f3fd569c
DL
262082012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26209
26210 [BZ #14579]
26211 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26212 mode only.
26213 * elf/tst-rtld-load-self.sh: New test.
26214 * elf/Makefile: Run it.
26215
63bbedd4
JM
262162012-09-18 Joseph Myers <joseph@codesourcery.com>
26217
26218 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26219 (tst-writev-ENV): Remove.
26220 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26221
626f8b6a
CM
262222012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26223
26224 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26225
b7aaa4d6
JM
262262012-09-17 Joseph Myers <joseph@codesourcery.com>
26227
26228 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26229 unconditional.
26230 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26231 Likewise.
26232 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26233 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26234 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26235 Likewise.
26236
65513990
L
262372012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26238
26239 [BZ #14587]
26240 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26241 * config.make.in (have-cpp-asm-debuginfo): Removed.
26242 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26243 * configure: Regenerated.
26244
784761be
JM
262452012-09-14 Joseph Myers <joseph@codesourcery.com>
26246
26247 [BZ #5044]
26248 * stdio-common/printf_fp.c: Include <stdbool.h> and
26249 <rounding-mode.h>.
26250 (___printf_fp): Determine rounding using get_rounding_mode and
26251 round_away.
26252 * stdio-common/tst-printf-round.c: New file.
26253 * stdio-common/Makefile (tests): Add tst-printf-round.
26254 (link-libm): New variable.
26255 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26256
9503345f
L
262572012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26258
26259 [BZ #14576]
26260 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26261 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26262 Likewise.
26263 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26264 Likewise.
26265
ad35fc00
JM
262662012-09-13 Joseph Myers <joseph@codesourcery.com>
26267
26268 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26269 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26270 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26271 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26272
6c9b0f68
JM
262732012-09-12 Joseph Myers <joseph@codesourcery.com>
26274
26275 [BZ #14518]
26276 * include/rounding-mode.h: New file.
26277 * sysdeps/generic/get-rounding-mode.h: Likewise.
26278 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26279 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26280 (MAX_VALUE): New macro.
26281 (MIN_VALUE): Likewise.
26282 (overflow_value): New function.
26283 (underflow_value): Likewise.
26284 (round_and_return): Use overflow_value and underflow_value to
26285 determine return values in overflow and underflow cases. Use
26286 round_away to determine rounding depending on rounding mode.
26287 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26288 determine return values in overflow and underflow cases.
26289 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26290 (struct test_results): New structure.
26291 (struct test): Use struct test_results to store expected results
26292 for all rounding modes.
26293 (TEST): Include expected results for all rounding modes.
26294 (test_in_one_mode): New function.
26295 (do_test): Use test_in_one_mode to compute and check results.
26296 Check results for all rounding modes.
26297 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26298 $(link-libm).
26299
19fcedd5
AM
263002012-12-09 Allan McRae <allan@archlinux.org>
26301
1e9d84cd 26302 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 26303
8bbfd2f1
JM
263042012-09-11 Joseph Myers <joseph@codesourcery.com>
26305
26306 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26307 (_G_int32_t): Likewise.
26308 (_G_uint16_t): Likewise.
26309 (_G_uint32_t): Likewise.
26310 (_G_HAVE_BOOL): Likewise.
26311 (_G_HAVE_ATEXIT): Likewise.
26312 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26313 (_G_HAVE_IO_FILE_OPEN): Likewise.
26314 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26315 (_G_int32_t): Likewise.
26316 (_G_uint16_t): Likewise.
26317 (_G_uint32_t): Likewise.
26318 (_G_HAVE_BOOL): Likewise.
26319 (_G_HAVE_ATEXIT): Likewise.
26320 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26321 (_G_HAVE_IO_FILE_OPEN): Likewise.
26322 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26323 (_G_int32_t): Likewise.
26324 (_G_uint16_t): Likewise.
26325 (_G_uint32_t): Likewise.
26326 (_G_HAVE_BOOL): Likewise.
26327 (_G_HAVE_ATEXIT): Likewise.
26328 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26329 (_G_HAVE_IO_FILE_OPEN): Likewise.
26330
b1dc5912
L
263312012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26332
26333 * csu/libc-tls.c: Update copyright years.
26334
0e886ef9
JM
263352012-09-10 Joseph Myers <joseph@codesourcery.com>
26336
28361c5e
JM
26337 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26338 [!_G_USING_THUNKS]: Remove conditional code.
26339 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26340 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26341
0e886ef9
JM
26342 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26343 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26344 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26345 (_G_VTABLE_LABEL_PREFIX): Likewise.
26346 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26347 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26348 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26349 (_G_VTABLE_LABEL_PREFIX): Likewise.
26350 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26351 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26352 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26353 (_G_VTABLE_LABEL_PREFIX): Likewise.
26354 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26355
bcba7aa2
L
263562012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26357
26358 * libio/Makefile: Include ../Makeconfig before tests.
26359 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26360 only if $(build-shared) is yes.
26361
06585ee8
L
26362 * iconv/gconv_db.c: Update copyright years.
26363
80ccd52c
LD
263642012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26365
26366 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26367 unwind info if defined PIC. Fix special cases description.
26368 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26369
26370 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26371 DP_HI_MASK entry.
26372 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26373
691bc9c1
L
263742012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26375
3d9b46b3
L
26376 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26377
de2139a9
L
26378 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26379 is NULL.
26380
5ca78dd0
L
26381 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26382 (LDLIBS-tst-chk4): This.
26383 (LDFLAGS-tst-chk5): Renamed to ...
26384 (LDLIBS-tst-chk5): This.
26385 (LDFLAGS-tst-chk6): Renamed to ...
26386 (LDLIBS-tst-chk6): This.
26387 (LDFLAGS-tst-lfschk4): Renamed to ...
26388 (LDLIBS-tst-lfschk4): This.
26389 (LDFLAGS-tst-lfschk5): Renamed to ...
26390 (LDLIBS-tst-lfschk5): This.
26391 (LDFLAGS-tst-lfschk6): Renamed to ...
26392 (LDLIBS-tst-lfschk6): This.
26393
691bc9c1
L
26394 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26395 on $(common-objpfx)soversions.mk.
26396
65cafb1c
JM
263972012-09-07 Joseph Myers <joseph@codesourcery.com>
26398
26399 [BZ #10014]
26400 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26401 example host name.
26402
c78ab094
SP
264032012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26404
26405 * malloc/arena.c (arena_get_retry): New function that gets
26406 another arena for the caller to try its request on.
26407 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26408 current arena cannot fulfill the request.
26409 (__libc_memalign): Likewise.
26410 (__libc_memalign): Likewise.
26411 (__libc_pvalloc): Likewise.
26412 (__libc_calloc): Likewise.
26413
01f49f59
JT
264142012-09-05 John Tobey <john.tobey@gmail.com>
26415
26416 [BZ #13542]
26417 * manual/arith.texi (Operations on Complex): Fix description
26418 of carg branch cut.
26419
4c23fed5
JM
264202012-09-06 Joseph Myers <joseph@codesourcery.com>
26421
1d3c8572
JM
26422 [BZ #10014]
26423 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26424 host name.
26425
4c23fed5
JM
26426 [BZ #10038]
26427 * manual/memory.texi (Memory): Make order of menu items match
26428 order of sections.
26429
04570aaa
L
264302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26431
26432 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26433 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26434 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26435
b80af2f4
L
264362012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26437
26438 * csu/libc-tls.c (static_dtv): Renamed to ...
26439 (_dl_static_dtv): This. Make it global.
26440 (_dl_initial_dtv): Removed.
26441 (__libc_setup_tls): Updated.
26442 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26443 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26444 DL_INITIAL_DTV.
26445
2abe9f15
PM
264462012-09-06 Petr Machata <pmachata@redhat.com>
26447
26448 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26449 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26450 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26451 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26452
0948c3af
L
264532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26454
26455 [BZ #14545]
26456 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26457 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26458 freeing dtv[-1].
26459
a5055ad1
L
264602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26461
26462 [BZ #14544]
26463 * Makeconfig (link-static-before-libc): Replace $(+prector)
26464 with $(+prectorT).
26465 (link-static-after-libc): Replace $(+postctor) with
26466 $(+postctorT).
26467 (link-bounded): Replace $(+prector)/$(+postctor) with
26468 $(+prectorT)/$(+postctorT).
26469 (+prectorT): New macro.
26470 (+postctorT): Likewise.
26471
ed8c2ecd
JM
264722012-09-06 Joseph Myers <joseph@codesourcery.com>
26473
26474 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26475 (round_str): Handle values above the maximum for IBM long double
26476 as inexact.
26477 * stdlib/tst-strtod-round.c (tests): Regenerated.
26478
14c996c8
AK
264792012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26480
26481 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26482 assembler flag.
26483 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26484 zarch_nohighgprs around the zarch optimized routines.
26485 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26486 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26487 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26488 for zarch.
26489
430d6ce6
DM
264902012-09-05 David S. Miller <davem@davemloft.net>
26491
26492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26493
57f41c40
AS
26494 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26495 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
26496 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
26497 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26498 entries.
26499
24d4e01b
AO
265002012-09-05 Alexandre Oliva <aoliva@redhat.com>
26501
26502 * malloc/arena.c: Fold copyright years.
26503 * malloc/mcheck.c, malloc/memusage.c: Likewise.
26504
61d58174
AO
265052012-09-05 Alexandre Oliva <aoliva@redhat.com>
26506
26507 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
26508
20196a5e
AO
265092012-09-05 Alexandre Oliva <aoliva@redhat.com>
26510
26511 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
26512
5c447383
AO
265132012-09-05 Alexandre Oliva <aoliva@redhat.com>
26514
26515 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
26516 change internal state upon failure.
26517
fad64255
AO
265182012-09-05 Alexandre Oliva <aoliva@redhat.com>
26519
26520 * malloc/mcheck.c (mcheck_check_all): Fix typo.
26521 * malloc/memusage.c (mmap): Likewise.
26522 (mmap64, mremap): Likewise. Adjust name in comment.
26523
1ffb8c90
SP
265242012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26525
26526 * libio/fileops.c: Fix typos in comments.
26527 * libio/oldfileops.c: Likewise.
26528 * libio/wfileops.c: Likewise.
26529
6ef9cc37
SP
265302012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26531
26532 [BZ #1349]
26533 * malloc/Makefile (tests): Add tst-malloc-usable test case.
26534 (tst-malloc-usable-ENV): Set environment for test case.
26535 * malloc/hooks.c (malloc_check_get_size): New function to get
26536 requested size.
26537 * malloc/malloc.c (musable): Use malloc_check_get_size.
26538 * malloc/tst-malloc-usable.c: New test case.
26539
4d038ae3
AS
265402012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26541
26542 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
26543
c4e85184
AM
265442012-09-05 Allan McRae <allan@archlinux.org>
26545
b9dafc56 26546 [BZ #13966]
c4e85184
AM
26547 * configure.in (CXX_SYSINCLUDES): Use compiler output to
26548 determine header location.
26549 * configure: Regenerated.
26550
e1343020
AS
265512012-09-05 Andreas Schwab <schwab@linux-m68k.org>
26552
26553 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
26554 float format.
26555 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
26556 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
26557 format.
e1343020
AS
26558 (test): Regenerate.
26559
0a9f1987
DM
265602012-09-04 David S. Miller <davem@davemloft.net>
26561
26562 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
26563 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
26564 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
26565
29237804
FW
265662012-09-04 Florian Weimer <fweimer@redhat.com>
26567
26568 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
26569 failures.
26570
edb3cb88
FW
26571 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
26572
60160d83
JM
265732012-09-04 Joseph Myers <joseph@codesourcery.com>
26574
26575 [BZ #9914]
26576 * libio/iogetdelim.c: Include <limits.h>.
26577 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
26578 + len + 1 would overflow.
26579
bcd6c8dc
AJ
265802012-09-03 Andreas Jaeger <aj@suse.de>
26581
26582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26583 * sysdeps/i386/fpu/libm-test-ulps: Update.
26584
4ffffbd2
LD
265852012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26586
26587 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26588 Add s_sinf-sse2, s_conf-sse2.
26589
26590 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
26591 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
26592 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
26593 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
26594
26595 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
26596 for using routine as __sinf_ia32.
26597 Use macro for function declaration and weak_alias.
26598 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
26599 for using routine as __cosf_ia32.
26600 Use macro for function declaration and weak_alias.
26601
26602 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
26603 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
26604
26605 * sysdeps/x86_64/fpu/s_sinf.S: New file.
26606 * sysdeps/x86_64/fpu/s_cosf.S: New file.
26607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26608
26609 * math/libm-test.inc (cos_test): Add more test cases.
26610 (sin_test): Likewise.
26611 (sincos_test): Likewise.
26612
511fa286
AK
266132012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26614
26615 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26616 (IFUNC_RESOLVE): Make pointers to the specialized implementations
26617 hidden.
26618 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26619
5f30cfec
L
266202012-09-02 H.J. Lu <hongjiu.lu@intel.com>
26621
26622 [BZ #14538]
26623 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
26624 first element of the GOT.
26625 (elf_machine_load_address): Return the difference between
26626 the runtime address of _DYNAMIC and elf_machine_dynamic ().
26627
0786794f
AM
266282012-09-01 Allan McRae <allan@archlinux.org>
26629
5f30cfec
L
26630 [BZ #13412]
26631 * configure.in (AWK): Require gawk version 3.0 or later.
26632 * configure: Regenerated.
0786794f 26633
26889eac
JM
266342012-09-01 Joseph Myers <joseph@codesourcery.com>
26635
26636 * sysdeps/unix/sysv/linux/kernel-features.h
26637 (__ASSUME_POSIX_CPU_TIMERS): Remove.
26638 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26639 [__NR_clock_getres]: Make code unconditional.
26640 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
26641 (clock_getcpuclockid): Remove code left unreachable by removal of
26642 conditionals.
26643 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
26644 code unconditional.
26645 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26646 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26647 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
26648 Make code unconditional.
26649 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
26650 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26651 * sysdeps/unix/sysv/linux/clock_settime.c
26652 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
26653 conditional code.
26654 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
26655 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
26656
d22e28b0
L
266572012-08-29 H.J. Lu <hongjiu.lu@intel.com>
26658
26659 [BZ #14476]
26660 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
26661 scripts/test-installation.pl.
26662
26663 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
26664 and $ld_so_version if it is set.
26665
050af9c4
SP
266662012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26667
26668 [BZ #14516]
26669 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
26670 failure if reading from procfs failed.
26671 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
26672
ad845c0b
JM
266732012-08-27 Joseph Myers <joseph@codesourcery.com>
26674
26675 * sysdeps/unix/sysv/linux/kernel-features.h
26676 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
26677 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26678 Remove conditional code.
26679 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26680 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
26681 Remove conditional code.
26682 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26683 * sysdeps/unix/sysv/linux/i386/fxstat.c
26684 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26685 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26686 * sysdeps/unix/sysv/linux/i386/fxstatat.c
26687 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26688 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26689 * sysdeps/unix/sysv/linux/i386/lxstat.c
26690 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
26691 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26692 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
26693 Remove conditional code.
26694 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26695 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
26696 Remove conditional code.
26697 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26698 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
26699 <kernel-features.h>.
26700 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
26701 Remove.
26702 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
26703 Remove conditional code.
26704 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
26705 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
26706 Remove conditional.
26707
5dbf56af
MF
267082012-08-27 Mike Frysinger <vapier@gentoo.org>
26709
26710 [BZ #5400]
26711 * NEWS: Add fixed bug number.
26712
d6e70f43
JM
267132012-08-27 Joseph Myers <joseph@codesourcery.com>
26714
7efb4737
JM
26715 [BZ #14519]
26716 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26717 underflowing exponent in case of negative sign.
26718 * stdlib/tst-strtod-round-data: Add more tests.
26719 * stdlib/tst-strtod-round.c (tests): Regenerated.
26720
af92131a
JM
26721 [BZ #3479]
26722 * stdlib/strtod_l.c (NDIG): Remove.
26723 (HEXNDIG): Likewise.
26724 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26725 smallest representable value.
26726 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26727 lie within an exact representation of 1/2 ulp of the result.
26728 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26729 unconditionally.
26730 (TENS_P9_IDX): Define unconditionally.
26731 (TENS_P9_SIZE): Likewise.
26732 (TENS_P10_IDX): Likewise.
26733 (TENS_P10_SIZE): Likewise.
26734 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26735 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26736 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26737 entries for 10^2^13 and 10^2^14.
26738 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26739 (TENS_P13_IDX): Define.
26740 (TENS_P13_SIZE): Likewise.
26741 (TENS_P14_IDX): Likewise.
26742 (TENS_P14_SIZE): Likewise.
26743 (_fpioconst_pow10): Change array size to
26744 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
26745 unconditional.
26746 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26747 1024]: Add entries for 10^2^13 and 10^2^14.
26748 [LAST_POW10 > _LAST_POW10]: Remove #error.
26749 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26750 (_fpioconst_pow10): Change array size to
26751 FPIOCONST_POW10_ARRAY_SIZE.
26752 * stdlib/gen-fpioconst.c: New file.
26753 * stdlib/gen-tst-strtod-round.c: Likewise.
26754 * stdlib/tst-strtod-round-data: Likewise.
26755 * stdlib/tst-strtod-round.c: Likewise.
26756 * stdlib/Makefile (tests): Add tst-strtod-round.
26757
d6e70f43
JM
26758 [BZ #14459]
26759 * stdlib/strtod_l.c: Include <stdint.h>.
26760 (NDEBUG): Do not define.
26761 (round_and_return): Change EXPONENT parameter to type intmax_t.
26762 Rearrange calculations to avoid internal overflow possibilities.
26763 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26764 Rearrange calculations to avoid internal overflow possibilities.
26765 Assert that number fits inside MPNSIZE limbs.
26766 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26767 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
26768 calculations and add assertions to avoid internal overflow
26769 possibilities. Add casts to avoid signed/unsigned operations.
26770 * stdlib/tst-strtod-overflow.c: New file.
26771 * stdlib/Makefile (tests): Add tst-strtod-overflow.
26772
1f529f7d
MP
267732012-08-25 Marek Polacek <polacek@redhat.com>
26774
26775 * time/time.h: Fix some typos in comments.
26776
59a629f1
RM
267772012-08-23 Roland McGrath <roland@hack.frob.com>
26778
26779 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26780 * posix/tst-rfc3484-2.c: Likewise.
26781 * posix/tst-rfc3484-3.c: Likewise.
26782
d3bafbc9
SM
267832012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
26784
26785 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26786 (EF_ARM_ABI_FLOAT_HARD): Likewise.
26787
4efcc022
JM
267882012-08-23 Joseph Myers <joseph@codesourcery.com>
26789
26790 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26791 #include of fxstatat64.c.
26792
3cc3ef96
RM
267932012-08-22 Roland McGrath <roland@hack.frob.com>
26794
f04e2132
RM
26795 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26796 * shadow/getspent_r.c: Likewise.
26797 * shadow/getspnam.c: Likewise.
26798 * shadow/getspnam_r.c: Likewise.
26799 * gshadow/getsgent.c: Likewise.
26800 * gshadow/getsgent_r.c: Likewise.
26801 * gshadow/getsgnam.c: Likewise.
26802 * gshadow/getsgnam_r.c: Likewise.
26803 * inet/getnetbyad.c: Likewise.
26804 * inet/getnetbyad_r.c: Likewise.
26805 * inet/getnetbynm.c: Likewise.
26806 * inet/getnetbynm_r.c: Likewise.
26807 * inet/getnetent.c: Likewise.
26808 * inet/getnetent_r.c: Likewise.
26809 * inet/getproto.c: Likewise.
26810 * inet/getproto_r.c: Likewise.
26811 * inet/getprtent.c: Likewise.
26812 * inet/getprtent_r.c: Likewise.
26813 * inet/getprtname.c: Likewise.
26814 * inet/getprtname_r.c: Likewise.
26815 * inet/getrpcbyname.c: Likewise.
26816 * inet/getrpcbyname_r.c: Likewise.
26817 * inet/getrpcbynumber.c: Likewise.
26818 * inet/getrpcbynumber_r.c: Likewise.
26819 * inet/getrpcent.c: Likewise.
26820 * inet/getrpcent_r.c: Likewise.
26821 * inet/getaliasent.c: Likewise.
26822 * inet/getaliasent_r.c: Likewise.
26823 * inet/getaliasname.c: Likewise.
26824 * inet/getaliasname_r.c: Likewise.
26825 * nscd/getgrgid_r.c: Likewise.
26826 * nscd/getgrnam_r.c: Likewise.
26827 * nscd/gethstbyad_r.c: Likewise.
26828 * nscd/gethstbynm3_r.c: Likewise.
26829 * nscd/getpwnam_r.c: Likewise.
26830 * nscd/getpwuid_r.c: Likewise.
26831 * nscd/getsrvbynm_r.c: Likewise.
26832 * nscd/getsrvbypt_r.c: Likewise.
26833 * nscd/gai.c: Likewise.
26834
c53d909c
RM
26835 * configure.in (build_nscd): New substituted variable, set
26836 by --disable-build-nscd and defaults to $use_nscd.
26837 * configure: Regenerated.
26838 * config.make.in (build-nscd): New substituted variable.
26839 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26840 Change conditional to require [$(build-nscd) = yes] as well.
26841 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26842
3cc3ef96
RM
26843 [BZ# 13696]
26844 * configure.in (use_nscd): New substituted variable, set by
26845 --disable-nscd. If enabled, define USE_NSCD.
26846 * configure: Regenerated.
26847 * config.h.in: Add USE_NSCD.
26848 * config.make.in (use-nscd): New substituted variable.
26849 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26850 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26851 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26852 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26853 (CFLAGS-getgrnam_r.c): Likewise.
26854 (CFLAGS-initgroups.c): Likewise.
26855 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26856 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26857 Variables removed.
26858 * inet/getnetgrent_r.c
26859 (nscd_setnetgrent): New function, broken out of ...
26860 (setnetgrent): ... here. Call it.
26861 (innetgr): Conditionalize nscd bits on [USE_NSCD].
26862 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26863 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26864 * nscd/Makefile (routines, aux): Move definitions after include of
26865 Makeconfig. Conditionalize on [$(use-nscd) != no].
26866 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26867 Conditionalize on [USE_NSCD].
26868 (is_nscd, nscd_init_cb): Likewise.
26869 (nss_load_library): Conditionalize init callback on [USE_NSCD].
26870 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26871 * nss/nss_db/db-init.c: Likewise.
26872 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26873 [USE_NSCD].
26874 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26875 (make_request): Use it.
26876 (cache_valid_p): New function.
26877 (__check_pf): Use it.
26878 * NEWS: Add item for --disable-nscd.
26879
07e51550
DL
268802012-08-22 Dmitry V. Levin <ldv@altlinux.org>
26881
26882 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26883 to support sed >= 4.2.1-20-ga9bf076.
26884 * configure: Regenerated.
26885
35a5b08b
RM
268862012-08-22 Roland McGrath <roland@hack.frob.com>
26887
26888 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26889 Conditionalize whole body on [IREL].
26890
8479f23a
JL
268912012-08-22 Jeff Law <law@redhat.com>
26892
26893 [BZ #14505]
26894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26895 if the family is PF_UNSPEC.
26896
48da0b21
MF
268972012-08-22 Mike Frysinger <vapier@gentoo.org>
26898
26899 * Makerules (lib-version): Rename from V.
26900 (install-lib-nosubdir): Change V to lib-version.
26901
15d0da8c
WS
269022012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
26903
26904 [BZ #14252]
26905 * powerpc32/power6/wcschr.c: New file.
26906 * powerpc32/power6/wcscpy.c: New file.
26907 * powerpc32/power6/wcsrchr.c: New file.
26908 * powerpc64/power6/wcschr.c: New file.
26909 * powerpc64/power6/wcscpy.c: New file.
26910 * powerpc64/power6/wcsrchr.c: New file.
26911
bcca0895
MK
269122012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26913
26914 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26915 (two_way_short_needle): Use it.
5a4aaa33
RM
26916 * string/strstr.c (AVAILABLE1_USES_J): Define.
26917 * string/strcasestr.c: Likewise.
99677e57
MK
26918
26919 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26920 array references.
26921 * string/strcasestr.c (TOLOWER): Make side-effect safe.
26922
400726de
MK
26923 [BZ #11607]
26924 * NEWS: Add an entry.
26925 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26926 define their defaults.
26927 (two_way_short_needle): Detect end-of-string on-the-fly.
26928 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26929 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26930 * string/bug-strcasestr1.c: New test.
26931 * string/Makefile: Run it.
26932
20a71f2c
MK
269332012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
26934
26935 [BZ #11607]
26936 * string/str-two-way.h (two_way_short_needle): Optimize matching of
26937 the first character.
26938
21ad0558
RM
269392012-08-21 Roland McGrath <roland@hack.frob.com>
26940
26941 * csu/elf-init.c (__libc_csu_irel): Function removed.
26942 * csu/libc-start.c (apply_irel): New function.
26943 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26944
0e1d9911
JM
269452012-08-21 Joseph Myers <joseph@codesourcery.com>
26946
26947 * sysdeps/unix/sysv/linux/kernel-features.h
26948 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26949 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26950 <kernel-features.h>.
26951 [__NR_fadvise64_64]: Make code unconditional.
26952 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26953 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26954 !__NR_fadvise64_64)]: Likewise.
26955 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26956 !__NR_fadvise64_64))]: Likewise.
26957 [__NR_fadvise64]: Make code unconditional.
26958 [!__NR_fadvise64]: Remove conditional code.
26959 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26960 <kernel-features.h>.
26961 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26962 unconditional.
26963 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26964 conditional code.
26965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26966 not include <kernel-features.h>.
26967 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26968 unconditional.
26969 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26970 conditional code.
26971 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26972 include <kernel-features.h>.
26973 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26974 unconditional.
26975 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26976 conditional code.
26977
14a50c9d
WS
269782012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26979
26980 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26981 slight instruction rearrangements per scrollpipe analysis.
26982 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26983
c0f4faf0
RM
269842012-08-20 Roland McGrath <roland@hack.frob.com>
26985
696da859
RM
26986 * manual/syslog.texi (syslog; vsyslog, closelog):
26987 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26988 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26989
c0f4faf0
RM
26990 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26991 DSOCAPS to match condition on defining it.
26992
348363b2
JM
269932012-08-20 Joseph Myers <joseph@codesourcery.com>
26994
a35cbf28
JM
26995 * sysdeps/unix/sysv/linux/kernel-features.h
26996 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26998 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26999 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27001 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27002 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27004 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27005 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27006
445f7ecd
JM
27007 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27008 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27009
348363b2
JM
27010 * sysdeps/unix/sysv/linux/kernel-features.h
27011 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27012 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27013 unconditional.
27014 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27015 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27016 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27017 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27018 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27019 Make code unconditional.
27020 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27021 (__mmap64) [!__NR_mmap2]: Likewise.
27022 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27023 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27024 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27025 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27026 [__NR_mmap2]: Make code unconditional.
27027 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27028 (__mmap64) [!__NR_mmap2]: Likewise.
27029
bc5bc0e5
AK
270302012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27031
27032 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27033
88d506de
AJ
270342012-08-18 Andreas Jaeger <aj@suse.de>
27035
27036 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27037
493387d2
MF
270382012-08-18 Mike Frysinger <vapier@gentoo.org>
27039
27040 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27041 * include/unistd.h (__have_sock_cloexec): Likewise.
27042 (__have_pipe2): Likewise.
27043 (__have_dup3): Likewise.
27044
a277af22
MF
270452012-08-18 Mike Frysinger <vapier@gentoo.org>
27046
27047 [BZ #9685]
27048 * include/unistd.h (__have_pipe2): Change define into an extern int.
27049 (__have_dup3): Likewise.
27050 * socket/have_sock_cloexec.c: Include fcntl.h.
27051 (__have_pipe2): New variable.
27052 (__have_dup3): Likewise.
27053
fdab8fd3
MF
270542012-08-17 Mike Frysinger <vapier@gentoo.org>
27055
27056 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27057
31035e80
MP
270582012-08-17 Marek Polacek <polacek@redhat.com>
27059
27060 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27061 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27062
3bd9e993
RM
270632012-08-17 Roland McGrath <roland@hack.frob.com>
27064
c91c505f
RM
27065 * configure.in: Add AC_SUBST for sysheaders.
27066 * configure: Regenerated.
27067 * config.make.in (sysheaders): New substituted variable.
27068
7c6f9d53
RM
27069 * sysdeps/unix/mkfifo.c: Moved ...
27070 * sysdeps/posix/mkfifo.c: ... here.
27071 * sysdeps/unix/mkfifoat.c: Moved ...
27072 * sysdeps/posix/mkfifoat.c: ... here.
27073
27074 * sysdeps/unix/utime.c: Moved ...
27075 * sysdeps/posix/utime.c: ... here.
27076
27077 * sysdeps/unix/time.c: Moved ...
27078 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
27079 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27080 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
27081
27082 * sysdeps/unix/nice.c: Moved ...
27083 * sysdeps/posix/nice.c: ... here.
27084
27085 * sysdeps/unix/alarm.c: Moved ...
27086 * sysdeps/posix/alarm.c: ... here.
27087
3bd9e993
RM
27088 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27089
d1f09384
JL
270902012-08-17 Jeff Law <law@redhat.com>
27091
27092 * intl/Makefile (codeset_mo): New variable.
27093 ($(codeset_mo)): New target.
27094 (tst-codeset.out): Depend on that. Remove explicit rule.
27095 (tst-gettext3.out, tst-gettext5.out): Likewise.
27096 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27097 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27098 * intl/tst-codeset.sh: Remove.
27099 * intl/tst-gettext3.sh: Likewise.
27100 * intl/tst-gettext5.sh: Likewise.
27101
2ae1ae5c
RM
271022012-08-17 Roland McGrath <roland@hack.frob.com>
27103
c31fdb83
RM
27104 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27105 * sysdeps/unix/syscalls.list: ... here.
27106
a0844057
RM
27107 * sysdeps/posix/getaddrinfo.c
27108 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27109 (gaiconf_init, gaiconf_reload): Use them.
27110 [!_STATBUF_ST_NSEC]
27111 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27112 Define using time_t rather than struct timespec.
27113
750c1f2a
RM
27114 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27115 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27116 Macros removed.
27117 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27118 [!NO_THREADS].
27119 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27120 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27121 Likewise.
27122
2ae1ae5c
RM
27123 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27124 __libc_cleanup_push argument.
27125
e66a42f5
RM
27126 * bits/param.h: New file.
27127 * misc/sys/param.h: New file.
27128 * include/sys/param.h: New file.
27129 * misc/Makefile (headers): Add bits/param.h.
27130 * sysdeps/generic/sys/param.h: File removed.
27131 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27132 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27133 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 27134 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 27135
b7c08a66
RM
27136 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27137 last change.
27138
b2e1c562
RM
27139 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27140 [_IO_MTSAFE_IO].
27141 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27142 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27143 New macros.
27144
c75ccd4c
RM
27145 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27146 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27147 rather than -D_IO_MTSAFE_IO conditionally.
27148 * stdio-common/Makefile (CPPFLAGS): Likewise.
27149 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27150 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27151 Use $(libio-mtsafe).
27152 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27153 of -D_IO_MTSAFE_IO.
27154 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27155 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27156 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27157 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27158 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27159 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27160 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27161 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27162 (CFLAGS-fread_u_chk.c): Likewise.
27163 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27164 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27165 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27166 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27167 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27168 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27169 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27170 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27171 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27172
27173 * libio/Makefile: Test [$(libc-reentrant) = yes]
27174 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27175
27176 * Makeconfig
27177 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27178 * sysdeps/pthread/configure: File removed.
27179 * sysdeps/pthread/Makeconfig: New file.
27180 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27181 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27182
d9195db8
GB
271832012-08-16 Gary Benson <gbenson@redhat.com>
27184
27185 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27186 unmapping the first object in a namespace.
27187
86466cd9
RM
271882012-08-16 Roland McGrath <roland@hack.frob.com>
27189
27190 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27191 (__internal_setnetgrent): ... this. Add internal_function to
27192 definition. Add libc_hidden_def.
27193 (setnetgrent): Update caller.
27194 (internal_endnetgrent): Renamed to ...
27195 (__internal_endnetgrent): ... this. Add internal_function to
27196 definition. Add libc_hidden_def.
27197 (endnetgrent): Update caller.
27198 (internal_getnetgrent_r): Renamed to ...
27199 (__internal_getnetgrent_r): ... this. Add internal_function to
27200 definition. Add libc_hidden_def.
27201 (__getnetgrent_r): Update caller.
27202 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27203
c3c8283c
JM
272042012-08-16 Joseph Myers <joseph@codesourcery.com>
27205
27206 * stdlib/longlong.h: Update from GCC.
27207
db1ee0a8
RM
272082012-08-16 Roland McGrath <roland@hack.frob.com>
27209
27210 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27211 on _QL, which is set by umul_ppmm but never used.
27212 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27213 variables, which are set by GMP macros but never used.
27214 * stdio-common/_itowa.c (_itowa): Likewise.
27215 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27216 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27217
30f69637
CD
272182012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27219
27220 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27221 struct La_sh_regs is not constant.
27222 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27223 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27224 and struct La_sparc64_regs are not constant.
27225
93a78ac4
JM
272262012-08-16 Joseph Myers <joseph@codesourcery.com>
27227
27228 * sysdeps/unix/sysv/linux/kernel-features.h
27229 (__ASSUME_POSIX_TIMERS): Remove.
27230 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27231 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27232 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27233 Make code unconditional.
27234 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27235 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27236 Make code unconditional.
27237 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27238 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27239 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27240 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27241 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27242 Make code unconditional.
27243 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27244 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27245 (__libc_missing_posix_timers): Remove.
27246
dd924cd7
RM
272472012-08-15 Roland McGrath <roland@hack.frob.com>
27248
4b4f2771
RM
27249 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27250 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27251
601c888b
RM
27252 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27253
176790a7
RM
27254 * elf/dl-sym.c: Include <stdlib.h>.
27255
329bc018
RM
27256 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27257 constants, which avoids warnings in 32-bit builds.
27258
e04e272d
RM
27259 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27260 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27261
952bf94a
RM
27262 * misc/lseek.c: File moved to ...
27263 * io/lseek.c: ... here.
27264
7c99b50a
RM
27265 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27266
dd924cd7
RM
27267 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27268 shifting LEN more than 31 bits at once.
27269
b3f479a8
LD
272702012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27271
27272 [BZ #14195]
8c4ae0d4
RM
27273 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27274 segmentation fault for a case of two empty input strings.
b3f479a8
LD
27275 * string/test-strncasecmp.c (check1): Renamed to...
27276 (bz12205): ...this.
27277 (bz14195): Add new testcase for two empty input strings and N > 0.
27278 (test_main): Call new testcase, adapt for renamed function.
27279
9c55864e
AJ
272802012-08-15 Andreas Jaeger <aj@suse.de>
27281
27282 [BZ #14090]
27283 * crypt/md5test2.c: New test, based on test supplied by Serge
27284 Belyshev <belyshev@depni.sinp.msu.ru>.
27285 * crypt/Makefile (xtests): Add md5test-giant..
27286 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27287
02dcb6c5
PE
272882012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27289
27290 [BZ #14090]
27291 * crypt/md5.c (md5_process_block): Don't assume the buffer
27292 length is less than 2**32.
27293 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27294 length is less than 2**64.
27295
a3f95dcc
RM
272962012-08-15 Roland McGrath <roland@hack.frob.com>
27297
be75d758
RM
27298 * string/str-two-way.h: Include <sys/param.h>.
27299 (MAX): Macro removed.
27300
7312ca90
RM
27301 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27302 Move #define and #undef of memmove to just before and after
27303 including <string.h>.
27304
9a0a5486
RM
27305 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27306 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27307 and after including <string.h>. Move declarations of
27308 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27309 to before #include "string/memmove.c".
27310
67cc348d
RM
27311 * include/dirent.h: Declare __getdirentries.
27312
a3f95dcc
RM
27313 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27314 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27315
ca98e171
MF
273162012-08-14 Mike Frysinger <vapier@gentoo.org>
27317
27318 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27319 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27320 * sysdeps/i386/configure: Regenerated.
27321 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27322 STABS_CURRENT_FILE, and STABS_FUN.
27323 (END): Remove call to STABS_FUN_END.
27324 (STABS_CURRENT_FILE1): Delete.
27325 (STABS_CURRENT_FILE): Likewise.
27326 (STABS_FUN): Likewise.
27327 (STABS_FUN_END): Likewise.
27328 (STABS_FUN2): Likewise.
27329 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27330 * sysdeps/x86_64/configure: Regenerated.
27331
5908bf46
RM
273322012-08-14 Roland McGrath <roland@hack.frob.com>
27333
27334 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 27335 * elf/dl-lookup.c: Likewise.
5908bf46 27336
f2c05b9e
JM
273372012-08-14 Joseph Myers <joseph@codesourcery.com>
27338
27339 * sysdeps/unix/sysv/linux/kernel-features.h
27340 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27341 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27342 unconditionally.
27343 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27344 unconditionally.
27345 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27346 condition on __ASSUME_CLONE_THREAD_FLAGS.
27347
e11f5155
AJ
273482012-08-14 Andreas Jaeger <aj@suse.de>
27349
27350 * sysdeps/i386/fpu/libm-test-ulps: Update.
27351
51a9ba86
MK
273522012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27353
2fdd4f78
AJ
27354 * include/atomic.h (atomic_exchange_and_add): Split into ...
27355 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27356 New atomic macros.
51a9ba86 27357
ba6cba9e
MT
273582012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27359
27360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27361
42443a47
JL
273622012-08-13 Jeff Law <law@redhat.com>
27363
27364 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27365 null byte in the output string.
27366
121dce05
JM
273672012-08-10 Joseph Myers <joseph@codesourcery.com>
27368
27369 * sysdeps/unix/sysv/linux/kernel-features.h
27370 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27371 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27372 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27373 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27374 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27375 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27376 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27377
bf51f568
JL
273782012-08-09 Jeff Law <law@redhat.com>
27379
27380 [BZ #13939]
27381 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27382 When avoid_arena is set, don't retry in the that arena. Pick the
27383 next one, whatever it might be.
27384 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27385 (arena_lock): Pass in new parameter to arena_get2.
27386 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27387 arena_get2.
27388 (__libc_malloc): Unify retrying after main arena failure with
27389 __libc_memalign version.
27390 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27391
f85fa270
L
273922012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27393
27394 [BZ #14166]
27395 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27396 to __redirect_strstr.
27397 (__strstr_sse42): Use typeof __redirect_strstr.
27398 (__strstr_ia32): Likewise.
27399 (__libc_strstr): New prototype.
27400 (strstr): Renamed to ...
27401 (__libc_strstr): This.
27402 (strstr): New strong alias of __libc_strstr.
27403 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27404 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27405 __redirect_time.
27406 Include <time.h>.
27407 (__libc_time): New prototype.
27408 (time_ifunc): Replace time with __libc_time.
27409 (time): New strong alias and hidden definition of __libc_time.
27410 (__GI_time): Remove strong alias.
27411 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27412 Include <stddef.h>.
27413 (memmove): Redefined to __redirect_memmove.
27414 (__memmove_sse2): Use typeof __redirect_memmove.
27415 (__memmove_ssse3): Likewise.
27416 (__memmove_ssse3_back): Likewise.
27417 (__libc_memmove): New prototype.
27418 (memmove): Renamed to ...
27419 (__libc_memmove): This.
27420 (memmove): New strong alias of __libc_memmove.
27421
33b4a91e
MS
274222012-08-08 Mark Salter <msalter@redhat.com>
27423
27424 * elf/elf.h
27425 (R_MN10300_TLS_GD): Define.
27426 (R_MN10300_TLS_LD): Likewise.
27427 (R_MN10300_TLS_LDO): Likewise.
27428 (R_MN10300_TLS_GOTIE): Likewise.
27429 (R_MN10300_TLS_IE): Likewise.
27430 (R_MN10300_TLS_LE): Likewise.
27431 (R_MN10300_TLS_DTPMOD): Likewise.
27432 (R_MN10300_TLS_DTPOFF): Likewise.
27433 (R_MN10300_TLS_TPOFF): Likewise.
27434 (R_MN10300_SYM_DIFF): Likewise.
27435 (R_MN10300_ALIGN): Likewise.
27436 (R_MN10300_NUM): Update.
27437
b36137f1
JM
274382012-08-08 Joseph Myers <joseph@codesourcery.com>
27439
27440 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27441 Remove.
27442
cdd915fd
RM
274432012-08-08 Roland McGrath <roland@hack.frob.com>
27444
a2433aac
RM
27445 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27446
cdd915fd
RM
27447 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27448 sysdeps/unix -> sysdeps/posix move.
27449 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27450
bf9b740a
AM
274512012-08-07 Allan McRae <allan@archlinux.org>
27452
27453 [BZ #14303]
27454 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27455 (SUNOS_CPP): Likewise.
27456 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27457 not found.
27458 (open_input): Call CPP using execvp.
27459
93df14ee
JM
274602012-08-07 Joseph Myers <joseph@codesourcery.com>
27461
27462 * sysdeps/unix/sysv/linux/kernel-features.h
27463 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27464 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27465 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27466 (__ASSUME_WAITID_SYSCALL): Likewise.
27467 * sysdeps/unix/sysv/linux/dl-execstack.c
27468 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27469 code unconditional.
27470 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27471 conditional code.
27472 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27473 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27474 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27475 code.
27476 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27477 unconditional.
27478 [__ASSUME_WAITID_SYSCALL]: Likewise.
27479 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27480
d34689de
RM
274812012-08-07 Roland McGrath <roland@hack.frob.com>
27482
a281decc
RM
27483 * sysdeps/unix/closedir.c: Renamed to ...
27484 * sysdeps/posix/closedir.c: ... here.
27485 * sysdeps/unix/dirfd.c: Renamed to ...
27486 * sysdeps/posix/dirfd.c: ... here.
27487 * sysdeps/unix/dirstream.h: Renamed to ...
27488 * sysdeps/posix/dirstream.h: ... here.
27489 * sysdeps/unix/fdopendir.c: Renamed to ...
27490 * sysdeps/posix/fdopendir.c: ... here.
27491 * sysdeps/unix/opendir.c: Renamed to ...
27492 * sysdeps/posix/opendir.c: ... here.
27493 * sysdeps/unix/readdir.c: Renamed to ...
27494 * sysdeps/posix/readdir.c: ... here.
27495 * sysdeps/unix/readdir_r.c: Renamed to ...
27496 * sysdeps/posix/readdir_r.c: ... here.
27497 * sysdeps/unix/rewinddir.c: Renamed to ...
27498 * sysdeps/posix/rewinddir.c: ... here.
27499 * sysdeps/unix/seekdir.c: Renamed to ...
27500 * sysdeps/posix/seekdir.c: ... here.
27501 * sysdeps/unix/telldir.c: Renamed to ...
27502 * sysdeps/posix/telldir.c: ... here.
27503 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
27504 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
27505 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
27506 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
27507
22895b47
RM
27508 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
27509 * bits/fcntl.h: ... here.
27510
707a53b6
RM
27511 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
27512 not 0.
27513 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
27514 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
27515 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
27516 (struct flock): Move l_start, l_len to the beginning.
27517 Use __pid_t for l_pid.
27518 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
27519 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
27520 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
27521 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
27522 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
27523 [__USE_LARGEFILE64] (struct flock64): New type.
27524 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
27525
f0bd3e25
RM
27526 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
27527 * bits/dirent.h: ... here.
27528
d34689de
RM
27529 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
27530 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
27531
6dad2c06
JM
275322012-08-07 Joseph Myers <joseph@codesourcery.com>
27533
27534 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27535 Change from 2.6.0 to 2.6.16.
27536 * sysdeps/unix/sysv/linux/configure: Regenerated.
27537 * sysdeps/unix/sysv/linux/kernel-features.h
27538 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
27539 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
27540 version.
27541 (__ASSUME_UTIMES): Likewise.
27542 (__ASSUME_CLONE_STOPPED): Remove.
27543 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
27544 architectures, not kernel version.
27545 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
27546 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27547 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27548 (__ASSUME_WAITID_SYSCALL): Likewise.
27549 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
27550 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
27551 * README: State 2.6.16 as minimum Linux kernel version. Do not
27552 refer to older versions.
27553
03af9520
RM
275542012-08-06 Roland McGrath <roland@hack.frob.com>
27555
8e49df1d
RM
27556 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
27557 Define alphasort64 as an alias.
27558 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
27559 Define versionsort64 as an alias.
27560 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
27561 Define scandir64 as an alias.
27562 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
27563 Define scandirat64 as an alias.
27564 * dirent/alphasort64.c (alphasort64):
27565 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
27566 * dirent/versionsort64.c: Likewise.
27567 * dirent/scandir64.c: Likewise.
27568 * dirent/scandirat64.c: Likewise.
27569 * sysdeps/wordsize-64/alphasort.c: File removed.
27570 * sysdeps/wordsize-64/alphasort64.c: File removed.
27571 * sysdeps/wordsize-64/scandir.c: File removed.
27572 * sysdeps/wordsize-64/scandir64.c: File removed.
27573 * sysdeps/wordsize-64/scandirat.c: File removed.
27574 * sysdeps/wordsize-64/scandirat64.c: File removed.
27575 * sysdeps/wordsize-64/versionsort.c: File removed.
27576 * sysdeps/wordsize-64/versionsort64.c: File removed.
27577 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
27578 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
27579 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
27580 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
27581 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
27582 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
27583 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
27584 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
27585
27586 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
27587 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27588 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
27589 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27590 [defined __arch64__ || defined __sparcv9]
27591 (__INO_T_MATCHES_INO64_T): New macro.
27592 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27593 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
27594 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
27595 * sysdeps/unix/sysv/linux/bits/dirent.h
27596 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
27597 (_DIRENT_MATCHES_DIRENT64): New macro.
27598
03af9520
RM
27599 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
27600 Define lockf64 as an alias.
27601 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
27602 Define fseeko64 as an alias.
27603 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
27604 Define ftello64 as an alias.
27605 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
27606 Define _IO_fgetpos64 and fgetpos64 as aliases.
27607 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
27608 Define _IO_fsetpos64 and fsetpos64 as aliases.
27609 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
27610 Conditionalize body on this.
27611 * libio/fseeko64.c: Likewise.
27612 * libio/ftello64.c: Likewise.
27613 * libio/iofgetpos64.c: Likewise.
27614 * libio/iofsetpos64.c: Likewise.
27615 * sysdeps/wordsize-64/lockf.c: File removed.
27616 * sysdeps/wordsize-64/lockf64.c: File removed.
27617 * sysdeps/wordsize-64/fseeko.c: File removed.
27618 * sysdeps/wordsize-64/fseeko64.c: File removed.
27619 * sysdeps/wordsize-64/ftello.c: File removed.
27620 * sysdeps/wordsize-64/ftello64.c: File removed.
27621 * sysdeps/wordsize-64/iofgetpos.c: File removed.
27622 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
27623 * sysdeps/wordsize-64/iofsetpos.c: File removed.
27624 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
27625 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
27626 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
27627 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
27628 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
27629 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
27630 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
27631 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
27632 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
27633 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
27634 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
27635
27636 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27637 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
27638 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
27639 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27640 [defined __arch64__ || defined __sparcv9]
27641 (__OFF_T_MATCHES_OFF64_T): New macro.
27642 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27643 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
27644 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27645 (__OFF_T_MATCHES_OFF64_T): New macro.
27646
c5757acd
L
276472012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27648
27649 * stdlib/secure-getenv.c (__secure_getenv): Replace
27650 GLIBC_2_16 with GLIBC_2_17.
27651
3a31811e
L
276522012-08-06 H.J. Lu <hongjiu.lu@intel.com>
27653
27654 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
27655 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27656
faa2bccb
DM
276572012-08-03 David S. Miller <davem@davemloft.net>
27658
27659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27660
85fe1997
JM
276612012-08-03 Joseph Myers <joseph@codesourcery.com>
27662
27663 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
27664 Remove.
27665 (__ASSUME_CORRECT_SI_PID): Likewise.
27666 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
27667 (__ASSUME_TMPFS_NAME): Likewise.
27668 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
27669 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
27670 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
27671 (HAVE_AUX_SECURE): Make definition unconditional.
27672 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
27673 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
27674
4f75b7a0
RM
276752012-08-03 Roland McGrath <roland@hack.frob.com>
27676
27677 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27678 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
27679 * sysdeps/mach/hurd/eloop-threshold.h: New file.
27680 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
27681 __eloop_threshold instead of SYMLOOP_MAX.
27682
27683 * sysdeps/generic/eloop-threshold.h: New file.
27684 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
27685 of MAXSYMLINKS.
27686 * elf/chroot_canon.c (chroot_canon): Likewise.
27687
7aab07e4
JM
276882012-08-03 Joseph Myers <joseph@codesourcery.com>
27689
27690 [BZ #13717]
27691 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27692 Change to 2.6.0 everywhere.
27693 * sysdeps/unix/sysv/linux/configure: Regenerated.
27694 * sysdeps/unix/sysv/linux/kernel-features.h
27695 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
27696 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
27697 kernel versions.
27698 (__ASSUME_POSIX_TIMERS): Define unconditionally.
27699 (__ASSUME_FUTEX_REQUEUE): Remove.
27700 (__ASSUME_STATFS64): Define unconditionally.
27701 (__ASSUME_AT_SECURE): Likewise.
27702 (__ASSUME_CORRECT_SI_PID): Likewise.
27703 (__ASSUME_TGKILL): Define without depending on kernel version for
27704 i386.
27705 (__ASSUME_UTIMES): Likewise.
27706 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
27707 kernel version.
27708 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
27709 (__ASSUME_TMPFS_NAME): Likewise.
27710 * README: Update reference to Linux kernel versions.
27711
b67e9372
MP
277122012-08-02 Marek Polacek <polacek@redhat.com>
27713
1f529f7d 27714 [BZ# 14150]
b67e9372
MP
27715 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
27716 libc_cv_asm_type_prefix with %.
27717 * configure: Regenerated.
d2441631
RM
27718 * include/libc-symbols.h: Remove comment about
27719 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
27720 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27721 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27722 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27723 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27724 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27725 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27726 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27727 * elf/tst-unique2mod1.c: Likewise.
27728 * elf/tst-unique1mod2.c: Likewise.
27729 * elf/tst-unique1mod1.c: Likewise.
27730 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27731 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27732 Replace ASM_TYPE_DIRECTIVE with .type.
27733 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27734 * sysdeps/i386/sysdep.h: Likewise.
27735 * sysdeps/x86_64/sysdep.h: Likewise.
27736 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
27737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27738 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 27739 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
27740 * sysdeps/powerpc/powerpc32/sysdep.h:
27741 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
27742 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27743 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27744 * sysdeps/i386/fpu/e_powf.S: Likewise.
27745 * sysdeps/i386/fpu/e_expl.S: Likewise.
27746 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27747 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27748 * sysdeps/i386/fpu/e_pow.S: Likewise.
27749 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27750 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27751 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27752 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27753 * sysdeps/i386/fpu/e_log2.S: Likewise.
27754 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27755 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27756 * sysdeps/i386/fpu/e_powl.S: Likewise.
27757 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27758 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27759 * sysdeps/i386/fpu/e_logl.S: Likewise.
27760 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27761 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27762 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27763 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27764 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27765 * sysdeps/i386/fpu/e_log.S: Likewise.
27766 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27767 * sysdeps/i386/fpu/e_logf.S: Likewise.
27768 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27769 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27770 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27771 * sysdeps/i386/fpu/e_log10.S: Likewise.
27772 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27773 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27774 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27775 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27776 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27777 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27778 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27779 * sysdeps/i386/i686/strtok.S: Likewise.
27780 * sysdeps/i386/i386-mcount.S: Likewise.
27781 * sysdeps/i386/strtok.S: Likewise.
27782 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27783 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27784 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27785 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27786 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27787 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27788 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27789 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27790 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27791 * sysdeps/x86_64/_mcount.S: Likewise.
27792 * sysdeps/x86_64/strtok.S: Likewise.
27793 * sysdeps/sh/_mcount.S: Likewise.
27794
2747bf9a
RM
277952012-08-01 Roland McGrath <roland@hack.frob.com>
27796
27797 * libio/iofopen.c: Include <fcntl.h>.
27798 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27799 (_IO_fopen64, fopen64): Define as aliases.
27800 * libio/iofopen64.c: Include <fcntl.h>.
27801 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27802 Conditionalize body on this.
27803 * sysdeps/wordsize-64/iofopen.c: File removed.
27804 * sysdeps/wordsize-64/iofopen64.c: File removed.
27805
3fb791b8
MP
278062012-08-01 Marek Polacek <polacek@redhat.com>
27807
27808 * libc/Makeconfig: Use elf in place of binfmt-subdir.
27809 Use dlfcn directly instead of a variable.
27810 (binfmt-subdir): Do not define.
27811 (dlfcn): Likewise.
27812
a9f1039f
JM
278132012-08-01 Joseph Myers <joseph@codesourcery.com>
27814
23bddc06
JM
27815 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27816 Remove all definitions.
27817 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27818 <kernel-features.h>.
27819 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27820 (miss_F_GETOWN_EX): Remove all definitions.
27821 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27822 macro definition.
27823 [!__ASSUME_FCNTL64]: Remove conditional code.
27824 [__ASSUME_FCNTL64]: Make code unconditional.
27825 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27826 <kernel-features.h>.
27827 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27828 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27829 (lockf64) [__NR_fcntl64]: Make code unconditional.
27830 (lockf64) [__ASSUME_FCNTL64]: Likewise.
27831
a9f1039f
JM
27832 * sysdeps/unix/sysv/linux/kernel-features.h
27833 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27834 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27835 Make code unconditional.
27836 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27837 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27839 [__NR_vfork]: Make code unconditional.
27840 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27841 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27843 [__NR_vfork]: Make code unconditional.
27844 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27845 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27846
09c0ee5f
RM
278472012-08-01 Roland McGrath <roland@hack.frob.com>
27848
48aec5b9
RM
27849 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27850 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27851
cd97c966
RM
27852 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27853 Define mkstemp64 as an alias.
3f55550c
RM
27854 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27855 Define mkstemps64 as an alias.
cd97c966
RM
27856 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27857 Define mkostemp64 as an alias.
b8625cfc
RM
27858 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27859 Define mkostemps64 as an alias.
cd97c966
RM
27860 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27861 Conditionalize body on this.
27862 * misc/mkostemp64.c: Likewise.
b8625cfc 27863 * misc/mkostemps64.c: Likewise.
3f55550c 27864 * misc/mkstemps64.c: Likewise.
cd97c966
RM
27865 * sysdeps/wordsize-64/mkstemp64.c: File removed.
27866 * sysdeps/wordsize-64/mkostemp64.c: File removed.
27867 * sysdeps/wordsize-64/mkostemp.c: File removed.
27868 * sysdeps/wordsize-64/mkstemp.c: File removed.
27869 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27870 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27871 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27872 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27873
09c0ee5f
RM
27874 [BZ #14138]
27875 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27876 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27877 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27878 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27879
27880 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27881 compat_symbol macros from <shlib-compat.h> rather than the underlying
27882 default_symbol_version and symbol_version macros, so that DEFAULT
27883 lines in shlib-versions are respected.
27884 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27885
7e66ee51
FW
278862012-08-01 Florian Weimer <fweimer@redhat.com>
27887
27888 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27889 Declare with warn_unused_result.
27890 (setgid, setregid, setegid, setresgid): Likewise.
27891 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27892 Likewise.
27893 * WUR-REPORT: Remove set*id functions.
27894
d2a54255
PT
278952012-07-31 Pino Toscano <toscano.pino@tiscali.it>
27896
27897 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27898
7ecdb005
RM
278992012-07-31 Roland McGrath <roland@hack.frob.com>
27900
b4180a5e 27901 [BZ #10191]
789bd351
RM
27902 * include/sys/socket.h (__libc_accept, __libc_accept4):
27903 Add attribute_hidden.
27904 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27905
40ce302d
RM
27906 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27907 use of PTR_MANGLE.
27908 * inet/getnetgrent_r.c (setup): Likewise.
27909
7ecdb005
RM
27910 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27911
e2eabb2c
DM
279122012-07-31 David S. Miller <davem@davemloft.net>
27913
27914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27915
d0419dbf
JM
279162012-07-31 Joseph Myers <joseph@codesourcery.com>
27917
27918 [BZ #13629]
27919 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27920 value between 1.0 and 2.0 and smaller part has absolute value less
27921 than 1.0.
27922 * math/s_clog10.c (__clog10): Likewise.
27923 * math/s_clog10f.c (__clog10f): Likewise.
27924 * math/s_clog10l.c (__clog10l): Likewise.
27925 * math/s_clogf.c (__clogf): Likewise.
27926 * math/s_clogl.c (__clogl): Likewise.
27927 * math/libm-test.inc (clog_test): Add more tests.
27928 (clog10_test): Likewise.
27929 * sysdeps/i386/fpu/libm-test-ulps: Update.
27930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27931
2bc13872
FW
279322012-07-31 Florian Weimer <fweimer@redhat.com>
27933
27934 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27935 Exit with zero in case no suitable GID is found, and write a
27936 message to standard error.
27937
bea9b193
RM
279382012-07-30 Roland McGrath <roland@hack.frob.com>
27939
27940 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27941 rather than to 1.
27942 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27943 (MAXPATHLEN): Removed.
27944 (NOGROUP, NODEV): New macros.
27945 (setbit, clrbit, isset, isclr): New macros.
27946 (howmany, roundup, powerof2): New macros.
27947 (DEV_BSIZE): New macro.
27948
27949 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27950 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27951
27952 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27953 definition on [!__NO_LONG_DOUBLE_MATH].
27954
27955 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27956 PTR_MANGLE and PTR_DEMANGLE.
27957
27958 * socket/accept4.c (accept4): Rename to __libc_accept4.
27959 Define accept4 as a weak alias.
27960
27961 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27962 on [_DIRENT_HAVE_D_TYPE].
27963 * io/ftw.c (ftw_dir): Likewise.
27964
27965 * io/xmknod.c (__xmknod): Don't check PATH for being null.
27966
27967 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27968
27969 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27970 Use the BSD numbers rather than the arbitrary ones we had.
27971 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27972 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27973 (SIGXCPU, SIGXFSZ): New macros.
27974 (_NSIG): Now 32.
27975
27976 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27977 initializer on [_LIBC_REENTRANT].
27978
27979 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27980 definitions inside [_POSIX_MAPPED_FILES].
27981
27982 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27983
27984 * dirent/opendir.c: Include <fcntl.h>.
27985
27986 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27987 (__libc_getspecific): Likewise.
27988 (__libc_key_create): Likewise.
27989
27990 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27991 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27992 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27993 (tmpfile64): Define as alias.
27994 * sysdeps/wordsize-64/tmpfile.c: File removed.
27995 * sysdeps/wordsize-64/tmpfile64.c: File removed.
27996 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27997 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27998
27999 * stdio-common/vfscanf.c: Include <stdbool.h>.
28000 * nss/makedb.c: Likewise.
28001 * stdio-common/_i18n_number.h: Likewise.
28002 * argp/argp-help.c: Likewise.
28003 * posix/wordexp.c: Likewise.
28004 * sysdeps/posix/spawni.c: Likewise.
28005 * nss/nss_files/files-initgroups.c: Likewise.
28006 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28007 * nss/nss_files/files-initgroups.c: Likewise.
28008 * nss/nss_db/db-netgrp.c: Likewise.
28009 * nss/nss_db/db-initgroups.c: Likewise.
28010 * io/fchmodat.c: Include <sys/stat.h>.
28011
28012 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28013 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28014
28015 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28016 [HAVE_MMAP].
28017
28018 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28019 Add multiple inclusion protection.
28020
e5abc686
DM
280212012-07-27 David S. Miller <davem@davemloft.net>
28022
28023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28024
815e6fa3
GB
280252012-07-27 Gary Benson <gbenson@redhat.com>
28026
28027 [BZ #14298]
28028 * elf/rtld.c: Include <stap-probe.h>.
28029 (dl_main): Added static probes "init_start" and "init_complete".
28030 * elf/dl-load.c: Include <stap-probe.h>.
28031 (lose): Take new parameter "nsid".
28032 Added static probe "map_failed".
28033 (_dl_map_object_from_fd): Pass namespace id to lose.
28034 Added static probe "map_start".
28035 (open_verify): Pass namespace id to lose.
28036 * elf/dl-open.c: Include <stap-probe.h>.
28037 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28038 and "reloc_complete".
28039 * elf/dl-close.c: Include <stap-probe.h>.
28040 (_dl_close_worker): Added static probes "unmap_start" and
28041 "unmap_complete".
28042 * elf/rtld-debugger-interface.txt: New file documenting the above.
28043
9f98c16c
RM
280442012-07-26 Roland McGrath <roland@hack.frob.com>
28045
28046 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28047 rather than a string variable.
28048 * sunrpc/rpc_main.c (h_output): Likewise.
28049 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28050
f3c22df3
PT
280512012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28052
28053 * inet/check_native.c: New file.
28054
3129cfc6
JM
280552012-07-26 Joseph Myers <joseph@codesourcery.com>
28056
da865e95
JM
28057 [BZ #13629]
28058 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28059 if larger part has absolute value 1.0.
28060 * math/s_clog10.c (__clog10): Likewise.
28061 * math/s_clog10f.c (__clog10f): Likewise.
28062 * math/s_clog10l.c (__clog10l): Likewise.
28063 * math/s_clogf.c (__clogf): Likewise.
28064 * math/s_clogl.c (__clogl): Likewise.
28065 * math/libm-test.inc (clog_test): Add more tests.
28066 (clog10_test): Likewise.
28067 * sysdeps/i386/fpu/libm-test-ulps: Update.
28068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28069
3129cfc6
JM
28070 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28071 (pltexit): Likewise.
28072 (La_regs): Likewise.
28073 (La_retval): Likewise.
28074 (int_retval): Likewise.
28075 Update #error for removed macros to refer only to definitions in
28076 tst-audit.h.
28077 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28078 macro.
28079 (pltexit): Likewise.
28080 (La_regs): Likewise.
28081 (La_retval): Likewise.
28082 (int_retval): Likewise.
28083 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28084 macro.
28085 (pltexit): Likewise.
28086 (La_regs): Likewise.
28087 (La_retval): Likewise.
28088 (int_retval): Likewise.
28089 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28090 macro.
28091 (pltexit): Likewise.
28092 (La_regs): Likewise.
28093 (La_retval): Likewise.
28094 (int_retval): Likewise.
28095 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28096 macro.
28097 (pltexit): Likewise.
28098 (La_regs): Likewise.
28099 (La_retval): Likewise.
28100 (int_retval): Likewise.
28101 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28102 macro.
28103 (pltexit): Likewise.
28104 (La_regs): Likewise.
28105 (La_retval): Likewise.
28106 (int_retval): Likewise.
28107 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28108 macro.
28109 (pltexit): Likewise.
28110 (La_regs): Likewise.
28111 (La_retval): Likewise.
28112 (int_retval): Likewise.
28113 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28114 macro definitions in tst-audit.h.
28115 * sysdeps/i386/tst-audit.h: New file.
28116 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28117 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28118 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28119 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28120 * sysdeps/sh/tst-audit.h: Likewise.
28121 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28122 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28123 * sysdeps/x86_64/tst-audit.h: Likewise.
28124
bfc07087
AJ
281252012-07-26 Andreas Jaeger <aj@suse.de>
28126
b1b2aaf8
AJ
28127 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28128 ptrace.
28129
28130 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28131 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28132 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28133 PTRACE_O_MASK.
28134 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28135 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28136 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28137
bfc07087
AJ
28138 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28139 value.
28140
28141 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28142 _sigsys.
28143 (si_call_addr, si_syscall, si_arch): Define new macro.
28144 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28145 _sigsys.
28146 (si_call_addr, si_syscall, si_arch): Define new marcro.
28147 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28148 _sigsys.
28149 (si_call_addr, si_syscall, si_arch): Define new macro.
28150 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28151 _sigsys.
28152 (si_call_addr, si_syscall, si_arch): Define new macro.
28153
89b4b02f
JM
281542012-07-25 Joseph Myers <joseph@codesourcery.com>
28155
28156 [BZ #13717]
28157 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28158 Change to 2.4.21 where previously 2.4.1.
28159 * sysdeps/unix/sysv/linux/configure: Regenerated.
28160 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28161 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28162 Linux kernel version.
28163 (__ASSUME_STD_AUXV): Remove.
28164 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28165 kernel version.
28166 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28167 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28168 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28169 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28170 (__ASSUME_NETLINK_SUPPORT): Likewise.
28171 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28172 (__no_netlink_support): Remove conditional definition.
28173 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28174 Remove.
28175 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28176 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28177 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28178 (if_nameindex_ioctl): Remove.
28179 (if_nameindex_netlink): Do not handle __no_netlink_support.
28180 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28181 code.
28182 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28183 Remove conditional code.
28184 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28185 code.
28186 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28187 unconditional.
28188 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28189 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28190 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28191 Remove.
28192 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28193 [!__ASSUME_STD_AUXV]: Remove conditional code.
28194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28195 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28196 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28198 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28199 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28200 code.
28201 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28203 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28204 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28205 conditional code.
28206 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28208 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28209 code.
28210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28211 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28212 conditional code.
28213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28214 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28215 code unconditional.
28216 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28217 conditional code.
28218 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28219 unconditional.
28220 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28221 conditional code.
28222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28223 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28224 unconditional.
28225 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28226 conditional code.
28227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28228 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28229 code unconditional.
28230 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28231 conditional code.
28232 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28233 unconditional.
28234 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28235 conditional code.
28236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28237 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28238 code unconditional.
28239 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28240 conditional code.
28241 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28242 unconditional.
28243 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28244 conditional code.
28245
842a39cd
AS
282462012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28247
28248 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28249 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28250 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28251 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28252 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28253 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28254 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28255 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28256 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28257 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28258 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28259 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28260 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28261 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28262 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28263 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28264 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28265 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28266 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28267 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28268 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28269 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28270 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28271
84b3fd84
FW
282722012-07-25 Florian Weimer <fweimer@redhat.com>
28273
28274 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
28275 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28276 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28277 Introduce __libc_secure_getenv.
0c7936d5
FW
28278 * stdlib/Versions (2.17): Add secure_getenv
28279 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28280 * stdlib/secure-getenv.c: Rename __secure_getenv to
28281 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28282 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
28283 * stdlib/tst-secure-getenv.c: New.
28284 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
28285 * manual/startup.texi (Environment Access): Document
28286 secure_getenv.
84b3fd84
FW
28287 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28288 __libc_secure_getenv.
28289 * inet/ruserpass.c (ruserpass): Likewise.
28290 * malloc/mtrace.c (mtrace): Likewise.
28291 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 28292 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
28293 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28294 * sysdeps/posix/tempname.c: Likewise. Evaluate
28295 HAVE_SECURE_GETENV.
28296 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 28297 __secure_getenv to __libc_secure_getenv.
84b3fd84 28298 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
28299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28300 Likewise.
28301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28302 Likewise.
28303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28305 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 28310
56e49b71
JM
283112012-07-25 Joseph Myers <joseph@codesourcery.com>
28312
28313 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28314 (struct La_i86_retval): Likewise.
28315 (struct La_x86_64_regs): Likewise.
28316 (struct La_x86_64_retval): Likewise.
28317 (struct La_x32_regs): Likewise.
28318 (struct La_x32_retval): Likewise.
28319 (struct La_ppc32_regs): Likewise.
28320 (struct La_ppc32_retval): Likewise.
28321 (struct La_ppc64_regs): Likewise.
28322 (struct La_ppc64_retval): Likewise.
28323 (struct La_sh_regs): Likewise.
28324 (struct La_sh_retval): Likewise.
28325 (struct La_s390_32_regs): Likewise.
28326 (struct La_s390_32_retval): Likewise.
28327 (struct La_s390_64_regs): Likewise.
28328 (struct La_s390_64_retval): Likewise.
28329 (struct La_sparc32_regs): Likewise.
28330 (struct La_sparc32_retval): Likewise.
28331 (struct La_sparc64_regs): Likewise.
28332 (struct La_sparc64_retval): Likewise.
28333 (struct audit_ifaces): Remove architecture-specific pltenter and
28334 pltexit members.
28335 * sysdeps/i386/ldsodefs.h: New file.
28336 * sysdeps/powerpc/ldsodefs.h: Likewise.
28337 * sysdeps/s390/ldsodefs.h: Likewise.
28338 * sysdeps/sh/ldsodefs.h: Likewise.
28339 * sysdeps/sparc/ldsodefs.h: Likewise.
28340 * sysdeps/x86_64/ldsodefs.h: Likewise.
28341
354691b7
MP
283422012-07-25 Marek Polacek <polacek@redhat.com>
28343
28344 [BZ #6808]
28345 * math/libm-test.inc (yn_test): Add another test.
28346 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28347 to ERANGE when the result is +-Inf.
28348 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28349 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28350 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28351 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28352
bf9e2071
JM
283532012-07-24 Joseph Myers <joseph@codesourcery.com>
28354
28355 * conform/data/time.h-data (NULL): Use macro-constant. Require
28356 equal to 0.
28357 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28358 clock_t.
28359 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28360
57633811
TS
283612012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28362
28363 * configure.in <sysdeps resolving>: Correct printing
28364 Implies_before.
28365 * configure: Regenerate.
28366
c23c33b0
TS
283672012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28368
28369 * math/w_ilogb.c: Include <limits.h>.
28370 * math/w_ilogbl.c: Likewise.
28371
b5982523
JM
283722012-07-20 Joseph Myers <joseph@codesourcery.com>
28373
28374 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28375 va_copy. Document allowing for unavailable va_copy only as
28376 pre-C99 compatibility.
28377 * manual/string.texi (Copying and Concatenation): Use va_copy
28378 instead of __va_copy in concat example.
28379
ac4ea442
PT
283802012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28381
28382 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28383 (__sendto): Use create_address_port. Initialize APORT and deallocate
28384 it if not null.
28385
f98eafbd
PT
28386 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28387 with O_NOLINK passed to __file_name_lookup.
28388
898c7aab
PT
28389 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28390 with O_NOLINK passed to __file_name_lookup.
28391
0ced335a
PT
28392 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28393 negative N or less than NGIDS.
28394
b3404dbd
PT
28395 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28396 type to string_t. Set ERANGE as errno and return it if NAME is not big
28397 enough. Use memcpy instead of strncpy.
28398
0f48659e
JM
283992012-07-20 Joseph Myers <joseph@codesourcery.com>
28400
28401 * elf/Makefile (check-data): Remove.
28402 (localplt.data): New vpath directive.
28403 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28404 instead of $(check-data).
28405 * scripts/data/localplt-generic.data: Move to ...
28406 * sysdeps/generic/localplt.data: ... here.
28407 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28408 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28409 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28411 ... here.
28412 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28414 ... here.
28415 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28417 ... here.
28418 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28420 ... here.
28421 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28423 ... here.
28424 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28426 ... here.
28427
d37cbdaa
AZ
284282012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28429
28430 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28431 PPC32 and PPC64 files.
28432 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28433 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28434
46f85fc2
AK
284352012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28436
28437 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28438 __makecontext_ret to ...
28439 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28440 ... here and call exit if uc_link is NULL. New file.
28441 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28442 __makecontext_ret.S.
28443 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28444 __makecontext_ret to ...
28445 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28446 ... here and call exit if uc_link is NULL. New file.
28447 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28448 __makecontext_ret.S.
28449
08f43f9b
AK
284502012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28451
28452 * elf/elf.h (R_390_IRELATIVE): New definition.
28453 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28454 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28455 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28456 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28457 (elf_machine_lazy_rel): Likewise.
28458 * sysdeps/s390/dl-irel.h: New file.
28459 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28460 * sysdeps/s390/s390-64/memset.S: New asm code.
28461 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28462 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28463 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28464 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28465 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28466 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28467 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28468 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28469 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28470 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28471 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28472 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28473 * sysdeps/s390/s390-32/memset.S: New asm code.
28474 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28475
3b05db33
MP
284762012-07-17 Marek Polacek <polacek@redhat.com>
28477
28478 [BZ #14349]
28479 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28480 * sysdeps/s390/s390-64/configure.in: Likewise.
28481 * sysdeps/sparc/configure.in: Likewise.
28482 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28483 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28484 * sysdeps/i386/configure.in: Likewise.
28485 * sysdeps/x86_64/configure.in: Likewise.
28486 * sysdeps/sh/configure.in: Likewise.
28487 * sysdeps/s390/s390-32/configure: Regenerated.
28488 * sysdeps/s390/s390-64/configure: Likewise.
28489 * sysdeps/x86_64/configure: Likewise.
28490 * sysdeps/sh/configure: Likewise.
28491 * sysdeps/powerpc/powerpc64/configure: Likewise.
28492 * sysdeps/powerpc/powerpc32/configure: Likewise.
28493 * sysdeps/sparc/configure: Likwise.
28494 * sysdeps/i386/configure: Likewise.
28495
a66877c6
MP
28496 * elf/dl-open.c: Comment fixes.
28497
cfc82fd8
JM
284982012-07-17 Joseph Myers <joseph@codesourcery.com>
28499
bd29910a
JM
28500 * Makefile [CXX] (check-data): Remove.
28501 [CXX] (c++-types.data): New vpath directive.
28502 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
28503 vpath. Do not allow for C++ type data being missing.
28504 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
28505 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
28506 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
28507 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
28508 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
28509 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
28510 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
28511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28512 ... here.
28513 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
28514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28515 ... here.
28516 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
28517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
28518 ... here.
28519 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
28520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
28521 ... here.
28522 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
28523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
28524 ... here.
28525 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
28526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
28527 ... here.
28528 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
28529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
28530 ... here.
28531 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
28532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
28533
cfc82fd8
JM
28534 * elf/tls-macros.h (TLS_LE): Move architecture-specific
28535 definitions to architecture-specific files.
28536 (TLS_IE): Likewise.
28537 (TLS_LD): Likewise.
28538 (TLS_GD): Likewise.
28539 * sysdeps/i386/tls-macros.h: New file.
28540 * sysdeps/powerpc/tls-macros.h: Likewise.
28541 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
28542 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
28543 * sysdeps/sh/tls-macros.h: Likewise.
28544 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
28545 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
28546 * sysdeps/x86_64/tls-macros.h: Likewise.
28547
f7db3170
TS
285482012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28549
07cbfc23
TS
28550 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
28551 zero value for regular exit case.
28552
f7db3170
TS
28553 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
28554 (__start_context): Preserve zero value for regular exit case.
28555
dc97c227
TS
285562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
28557 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28558
28559 * manual/setjmp.texi (setcontext): Clarify normal process
28560 termination when uc_link is the null pointer.
28561 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
28562 exit call.
28563
d0cd7d02
AS
285642012-07-16 Andreas Schwab <schwab@linux-m68k.org>
28565
28566 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
28567 preprocessor. Test for each exception mask separately.
28568
dd318934
AJ
285692012-07-16 Andreas Jaeger <aj@suse.de>
28570
28571 * po/ru.po: Update from translation team.
28572
8048311a
JM
285732012-07-15 Joseph Myers <joseph@codesourcery.com>
28574
28575 * conform/data/string.h-data (NULL): Use macro-constant. Require
28576 equal to 0.
28577 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28578 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28579 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
28580 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
28581 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28582
b637d46e
AJ
285832012-07-13 Andreas Jaeger <aj@suse.de>
28584
28585 * po/fr.po: Update from translation team.
28586
541428fe
MP
285872012-07-12 Marek Polacek <polacek@redhat.com>
28588
28589 [BZ #14173]
28590 * math/libm-test.inc (yn_test): Add test for BZ #14173.
28591 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
28592 loop condition.
28593
ec332e94
JM
285942012-07-12 Joseph Myers <joseph@codesourcery.com>
28595
28596 [BZ #13717]
28597 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28598 Change to 2.4.1 where previously 2.4.0.
28599 * sysdeps/unix/sysv/linux/configure: Regenerated.
28600 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
28601 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
28602 version.
28603 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
28604 (__ASSUME_AT_CLKTCK): Remove.
28605 (__ASSUME_AT_PAGESIZE): Likewise.
28606 (__ASSUME_AT_XID): Likewise.
28607 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
28608 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
28609 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
28610 unconditionally.
28611 (HAVE_AUX_PAGESIZE): Likewise.
28612 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
28613 [__ASSUME_AT_CLKTCK]: Make code unconditional.
28614 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
28615
7b6e99be
JB
286162012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
28617
28618 [BZ #14307]
28619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
28620 the temporary buffer used to invoke __gethostbyname2_r,
28621 __gethostbyaddr_r and gethostbyname4_r to make room for struct
28622 host_data / struct gaih_addrtuple.
28623 * resolv/nss_dns/dns-host.c (global scope): Move definition of
28624 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
28625 header file nss/nsswitch.h.
28626 * nss/nsswitch.h (global scope): Add definition of implementation
28627 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
28628 resolv/nss_dns/dns-host.c).
28629
608404eb
AJ
286302012-07-11 Andreas Jaeger <aj@suse.de>
28631
28632 * po/fr.po: Update from translation team.
28633
71220aca
AJ
28634 * po/sv.po: Update from translation team
28635 * po/fr.po: Another update from translation team.
28636
28cfe843
AZ
286372012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28638
28639 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
28640 for subnormals or multiply small sinh result by itself.
28641 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28643
6b90f981
DM
286442012-07-11 David S. Miller <davem@davemloft.net>
28645
28646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28647
c6825772
AS
286482012-07-10 Andreas Schwab <schwab@linux-m68k.org>
28649
28650 [BZ #14347]
28651 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
28652 (INTERNAL_MARK): Shift it here.
28653
7b8e0d49
MP
286542012-07-10 Marek Polacek <polacek@redhat.com>
28655
28656 [BZ #14151]
28657 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
28658 libc_cv_asm_global_directive with .globl.
28659 * configure: Regenerated.
28660 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
28661 with .globl.
28662 * sysdeps/i386/configure: Regenerated.
28663 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
28664 with .globl.
28665 * sysdeps/x86_64/configure: Regenerated.
28666 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
28667 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
28668 * elf/tst-unique2mod2.c: Likewise.
28669 * elf/tst-unique2mod1.c: Likewise.
28670 * elf/tst-unique1mod2.c: Likewise.
28671 * elf/tst-unique1mod1.c: Likewise.
28672 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28673 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28674 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28675 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28676 * sysdeps/mach/sysdep.h: Likewise.
28677 * sysdeps/i386/sysdep.h: Likewise.
28678 * sysdeps/i386/i386-mcount.S: Likewise.
28679 * sysdeps/x86_64/_mcount.S: Likewise.
28680 * sysdeps/x86_64/sysdep.h: Likewise.
28681 * sysdeps/sh/_mcount.S: Likewise.
28682 * sysdeps/sh/sysdep.h: Likewise.
28683 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
28684 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
28685 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
28686 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28687 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
28688 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
28689 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
28690 * locale/localeinfo.h: Likewise.
28691 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
28692 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
28693
6c55cda3
RM
286942012-07-09 Roland McGrath <roland@hack.frob.com>
28695
28696 [BZ #14336]
28697 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
28698 system".
28699 * manual/message.texi (The Uniforum approach): Likewise.
28700 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
28701 (glibc iconv Implementation): Likewise.
28702
638a572e
JM
287032012-07-09 Joseph Myers <joseph@codesourcery.com>
28704
28705 [BZ #14337]
28706 * math/s_clog.c (__clog): Avoid scaling a value down where that
28707 could result in underflow.
28708 * math/s_clog10.c (__clog10): Likewise.
28709 * math/s_clog10f.c (__clog10f): Likewise.
28710 * math/s_clog10l.c (__clog10l): Likewise.
28711 * math/s_clogf.c (__clogf): Likewise.
28712 * math/s_clogl.c (__clogl): Likewise.
28713 * math/libm-test.inc (clog_test): Add more tests.
28714 (clog10_test): Likewise.
28715 * sysdeps/i386/fpu/libm-test-ulps: Update.
28716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28717
261f4859
AS
287182012-07-06 Andreas Schwab <schwab@linux-m68k.org>
28719
0abaf3e4
AS
28720 [BZ #14283]
28721 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28722 by 7 not 8 to examine high bit of fractional part.
28723
261f4859
AS
28724 [BZ #14042]
28725 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28726 for call to __mcount_internal.
28727 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28728 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28729 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28730
f17ac40d
JM
287312012-07-06 Joseph Myers <joseph@codesourcery.com>
28732
9ad63c23
JM
28733 [BZ #14154]
28734 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28735 approximation for values within 0x1p-13f of an odd multiple of
28736 pi/4.
28737 * math/libm-test.inc (tan_test): Do not allow spurious underflow
28738 exception. Add more tests.
28739 * sysdeps/i386/fpu/libm-test-ulps: Update.
28740
f17ac40d
JM
28741 [BZ #6778]
28742 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28743 inputs and return -1 for them. Do not check for +Inf in case not
28744 reachable for +Inf.
28745 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28746 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28747 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28748 and return -1 for them. Do not check for +Inf in case not
28749 reachable for +Inf.
28750 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28751 define.
28752 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28753 and return -1 for them. Do not check for +Inf in case not
28754 reachable for +Inf.
28755 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
28756 spurious underflow.
28757 * sysdeps/i386/fpu/libm-test-ulps: Update.
28758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28759
fb21f89b
MF
287602012-07-06 Mike Frysinger <vapier@gentoo.org>
28761
28762 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28763
cdfe2c5e
JM
287642012-07-05 Joseph Myers <joseph@codesourcery.com>
28765
28766 [BZ #14157]
28767 [BZ #14331]
28768 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28769 could result in spurious underflow. Scale down values above
28770 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28771 * math/s_csqrtf.c (__csqrtf): Likewise.
28772 * math/s_csqrtl.c (__csqrtl): Likewise.
28773 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
28774 spurious underflow.
28775 * sysdeps/i386/fpu/libm-test-ulps: Update.
28776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28777
70d35b67
AS
287782012-07-04 Andreas Schwab <schwab@linux-m68k.org>
28779
704bc459
AS
28780 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28781 xopen-msg.sed.
28782 * catgets/xopen-msg.awk: New file.
28783 * catgets/xopen-msg.sed: Removed.
28784
70d35b67
AS
28785 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28786 po2text.sed.
28787 * intl/po2test.awk: New file.
28788 * intl/po2test.sed: Removed.
28789
ca61cf32
JM
287902012-07-04 Joseph Myers <joseph@codesourcery.com>
28791
28792 [BZ #14328]
28793 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28794 or multiply small sinh result by itself.
28795 * math/s_ctanf.c (__ctanf): Likewise.
28796 * math/s_ctanh.c (__ctanh): Likewise.
28797 * math/s_ctanhf.c (__ctanhf): Likewise.
28798 * math/s_ctanhl.c (__ctanhl): Likewise.
28799 * math/s_ctanl.c (__ctanl): Likewise.
28800 * math/libm-test.inc (ctan_test_tonearest): New function.
28801 (ctan_test_towardzero): Likewise.
28802 (ctan_test_downward): Likewise.
28803 (ctan_test_upward): Likewise.
28804 (ctanh_test_tonearest): Likewise.
28805 (ctanh_test_towardzero): Likewise.
28806 (ctanh_test_downward): Likewise.
28807 (ctanh_test_upward): Likewise.
28808 (main): Call these new functions.
28809 * sysdeps/i386/fpu/libm-test-ulps: Update.
28810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28811
ca48a46a
MF
288122012-07-03 Mike Frysinger <vapier@gentoo.org>
28813
28814 * .gitignore: Delete /ports entry.
28815
9d63d37d
AJ
288162012-07-03 Andreas Jaeger <aj@suse.de>
28817
28818 * po/bg.po: Update from translation team.
28819 * po/cs.po: Likewise.
28820 * po/de.po: Likewise.
28821 * po/hr.po: Likewise.
28822 * po/nl.pl: Likewise.
28823 * po/pl.po: Likewise.
28824 * po/vi.po: Likewise.
28825
370ca3d2
JM
288262012-07-03 Joseph Myers <joseph@codesourcery.com>
28827
95f5a9a8
JM
28828 * Makeconfig [!+link] (+link-before-libc): New variable.
28829 [!+link] (+link-after-libc): Likewise.
28830 [!+link] (+link-tests): Likewise.
28831 [!+link] (+link): Define in terms of $(+link-before-libc) and
28832 $(+link-after-libc).
28833 [!+link-static] (+link-static-before-libc): New variable.
28834 [!+link-static] (+link-static-after-libc): Likewise.
28835 [!+link-static] (+link-static-tests): Likewise.
28836 [!+link-static] (+link-static): Define in terms of
28837 $(+link-static-before-libc) and $(+link-static-after-libc).
28838 [build-shared] (link-libc-before-gnulib): New variable.
28839 [build-shared] (link-libc-tests): Likewise.
28840 [build-shared] (link-libc): Define in terms of
28841 $(link-libc-before-gnulib).
28842 [!build-shared] (link-libc-tests): New variable.
28843 (link-libc-static-tests): New variable.
28844 [!gnulib] (gnulib-arch): New variable.
28845 [!gnulib] (gnulib-tests): Likewise.
28846 [!gnulib] (static-gnulib-arch): Likewise.
28847 [!gnulib] (static-gnulib-tests): Likewise.
28848 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
28849 Define with "=" instead of ":=".
28850 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
28851 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
28852 * Rules (binaries-all-notests): New variable.
28853 (binaries-all-tests): Likewise.
28854 (binaries-static-notests): Likewise.
28855 (binaries-static-tests): Likewise.
28856 (binaries-all): Define using $(binaries-all-notests) and
28857 $(binaries-all-tests).
28858 (binaries-static): Define using $(binaries-static-notests) and
28859 $(binaries-static-tests).
28860 (binaries-shared-tests): New variable.
28861 (binaries-shared-notests): Likewise.
28862 (binaries-shared): Remove variable.
28863 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28864 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28865 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28866 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28867 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28868 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28869 * elf/Makefile (sln-modules): New variable.
28870 (extra-objs): Add $(sln-modules:=.o).
28871 (ldconfig-modules): Add static-stubs.
28872 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28873 * elf/static-stubs.c: New file.
28874
7a845b2c
JM
28875 [BZ #14283]
28876 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28877 by 7 not 8 to examine high bit of fractional part. Use volatile
28878 variables when splitting into final array of floats if
28879 __FLT_EVAL_METHOD__ != 0.
28880 * math/libm-test.inc (cos_test): Add another test.
28881 (sin_test): Likewise.
28882 * sysdeps/i386/fpu/libm-test-ulps: Update.
28883
e2283f38
JM
28884 [BZ #14273]
28885 * math/libm-test.inc (cosh_test): Add more tests.
28886
370ca3d2
JM
28887 * version.h (RELEASE): Set to "development".
28888 (VERSION): Set to "2.16.90".
28889
ee9247c3
CD
288902012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
28891
28892 * NEWS: Update copyright. Remove last-updated date.
28893 Mention math library bug fixes and timezone data changes.
28894 * README: Mention GNU/Hurd, x32, and HPPA support status.
28895
4648c381
TS
288962012-06-28 Thomas Schwinge <thomas@codesourcery.com>
28897
28898 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28899
aac78a43
AJ
289002012-06-27 Andreas Jaeger <aj@suse.de>
28901
28902 * manual/contrib.texi (Contributors): Add Samuel Thibault.
28903
ed3dbfad
AJ
289042012-06-25 Andreas Jaeger <aj@suse.de>
28905
28906 * sysdeps/s390/fpu/libm-test-ulps: Update.
28907
4d0ee855
AS
289082012-06-23 Andreas Schwab <schwab@linux-m68k.org>
28909 Thomas Schwinge <thomas@codesourcery.com>
28910
28911 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28912 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28913 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28914 fanotify_mark.
28915
af1bce34
TS
289162012-06-23 Thomas Schwinge <thomas@codesourcery.com>
28917
a9fa33ba
TS
28918 * sysdeps/mach/start.c: Remove file.
28919 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28920 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28921 * sysdeps/sh/init-first.c: Likewise.
28922
58f902b8
TS
28923 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28924 registers for frame unwinding purposes, add CFI directives.
28925 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28926 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28927 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28928 Likewise.
28929
1518f58b
TS
28930 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28931 __fortify_fail returning.
28932 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28933
db9b5059
TS
28934 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28935 sysdeps/sh/____longjmp_chk.S.
28936 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28937 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28938 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28939 (gen-as-const-headers): Append sigaltstack-offsets.sym.
28940
967705fe
TS
28941 * sysdeps/sh/abort-instr.h: New file.
28942 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28943 process in case exit returns.
28944
a9def8c4
TS
28945 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28946 initialize the GOT register before use.
28947
2a649725
TS
28948 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28949 calculation of ARGC > 4.
28950
af1bce34
TS
28951 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28952 meaningful names to some local labels.
28953
d230f50a
KK
289542012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28955 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28956
28957 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28958 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28959 (__arch_compare_and_exchange_val_16_acq): Likewise.
28960 (__arch_compare_and_exchange_val_32_acq): Likewise.
28961 (atomic_exchange_and_add): Fix gUSA sequence.
28962 (atomic_add): Likewise.
28963 (atomic_add_negative): Likewise.
28964 (atomic_add_zero): Likewise.
28965 (atomic_bit_test_set): Likewise.
28966
0479b305
AS
289672012-06-22 Andreas Schwab <schwab@redhat.com>
28968
28969 [BZ #13579]
28970 * include/link.h (struct link_map): Add l_free_initfini.
28971 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28972 l_initfini.
28973 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28974 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28975 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28976 set.
28977
0e3933b9
CD
289782012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
28979
28980 * configure.in: Use AC_LANG_SOURCE.
28981 * configure: Regenerate.
28982
4248b1b1
RM
289832012-06-22 Roland McGrath <roland@hack.frob.com>
28984
28985 * configure.in (libc_cv_localstatedir): New substituted variable.
28986 * configure: Regenerated.
28987 * config.make.in (localstatedir): New variable, substituted from
28988 libc_cv_localstatedir.
28989 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28990 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28991 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28992 * sysdeps/gnu/configure: Regenerated.
28993
006dd861
JL
289942012-06-21 Jeff Law <law@redhat.com>
28995
28996 [BZ #14277]
28997 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28998 free. Simplify list management for _LIBC case.
28999
79662d42
JM
290002012-06-21 Joseph Myers <joseph@codesourcery.com>
29001
b7abb4bf
JM
29002 [BZ #14273]
29003 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29004 Clear sign bit of 64-bit integer value before comparing against
29005 overflow value.
29006
79662d42
JM
29007 * sysdeps/mach/configure: Regenerated.
29008
1f150908
L
290092012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29010
29011 [BZ #14278]
29012 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29013
28363bbf
JL
290142012-06-21 Jeff Law <law@redhat.com>
29015
29016 [BZ #13882]
29017 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29018 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 29019 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
29020 * elf/dl-open.c (dl_open_worker): Likewise.
29021
09615db4
CD
290222012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29023
29024 * scripts/list-sources.sh: Scan PORTS for translations.
29025 * po/libc.pot: Regenerated.
29026
2174c6dd
AJ
290272012-06-21 Andreas Jaeger <aj@suse.de>
29028
29029 [BZ #12194]
29030 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29031 warning.
29032 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29033 * bits/byteswap-16.h (__bswap_16): Likewise.
29034 * bits/byteswap.h (__bswap_constant_16): Likewise.
29035
3ee947b1
L
290362012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29037
29038 [BZ #14117]
a2f34833
L
29039 * sysdeps/i386/fpu_control.h: Removed.
29040 * sysdeps/x86_64/fpu_control.h: Moved to ...
29041 * sysdeps/x86/fpu_control.h: Here.
29042
3ee947b1
L
29043 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29044 (_FPU_SETCW): Likewise.
29045
ed1825f8
L
290462012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29047
25f1282a
L
29048 [BZ #14117]
29049 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29050 * sysdeps/x86/fpu/bits/mathinline.h: This.
29051 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29052
ed1825f8
L
29053 [BZ #14050]
29054 [BZ #14117]
29055 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29056 functions if __x86_64__ is defined.
29057
36d54b74
CLT
290582012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29059
29060 * string/endian.h: Add !__ASSEMBLER__ condition for including
29061 conversion interfaces.
29062
10285c21
JM
290632012-06-15 Joseph Myers <joseph@codesourcery.com>
29064
29065 [BZ #14241]
29066 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29067 of ABS(x) in calculating zero to negative powers other than odd
29068 integers.
29069 * math/libm-test.inc (pow_test): Add more tests.
29070
06c5abbd
AJ
290712012-06-15 Andreas Jaeger <aj@suse.de>
29072
29073 * manual/contrib.texi (Contributors): Update entry of Liubov
29074 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29075 Machado Filho.
29076
a3aeac40
CH
290772012-06-15 Cyril Hrubis <metan@ucw.cz>
29078
29079 * string/string.h: Add __wur to GNU version of strerror_r.
29080
49bdf4c1
L
290812012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29082
29083 [BZ #14229]
29084 * string/Makefile (tests): Add tst-strtok_r.
29085 * string/tst-strtok_r.c: New file.
29086 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29087 RAX_LP/RDX_LP on SAVE_PTR.
29088
834f9b8d
RM
290892012-06-14 Roland McGrath <roland@hack.frob.com>
29090
29091 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29092
75fa1921
JM
290932012-06-14 Joseph Myers <joseph@codesourcery.com>
29094
29095 * libm_test.inc (csqrt_test): Allow more spurious underflow
29096 exceptions.
29097 (j0_test): Likewise.
29098 (j1_test): Likewise.
29099 (y0_test): Likewise.
29100 (y1_test): Likewise.
29101
771766df
CD
291022012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29103
29104 * po/Makefile (libc.pot): Use UTF-8 charset.
29105
ceb9e56b
PP
291062012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29107
29108 [BZ #14210]
29109 Suppress sign-conversion warning from FD_SET.
29110 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29111 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29112 not unsigned long int.
29113 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29114
ddb28975
L
291152012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29116
29117 [BZ #14050]
29118 [BZ #14117]
29119 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29120 __extern_always_inline instead of __extern_inline.
29121 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29122 (__signbit): Likewise.
29123 (__signbitl): Support C++ namespace.
29124 (lrintf): New inline function.
29125 (lrint): Likewise.
29126 (llrintf): Likewise.
29127 (llrint): Likewise.
29128 (fmaxf): Likewise.
29129 (fmax): Likewise.
29130 (fminf): Likewise.
29131 (fmin): Likewise.
29132 (rint): Likewise.
29133 (rintf): Likewise.
29134 (ceil): Likewise.
29135 (ceilf): Likewise.
29136 (floor): Likewise.
29137 (floorf): Likewise.
29138 (nearbyint): Likewise.
29139 (nearbyintf): Likewise.
29140
d7b4fb26
TS
291412012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29142
29143 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29144 non-default versions.
29145
eb55f5c2
RM
291462012-06-11 Roland McGrath <roland@hack.frob.com>
29147
29148 [BZ #14218]
29149 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29150
366af02c
TS
291512012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29152
99ff6e5c
TS
29153 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29154 (FE_UPWARD, FE_DOWNWARD): Don't define.
29155 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29156 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29157
366af02c
TS
29158 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29159 reading it.
29160 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29161 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29162
793ea851
KK
291632012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29164
29165 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29166 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29167 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29168 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29169
a728a38f
L
291702012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29171
29172 [BZ #14117]
c08010c7
L
29173 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29174 * sysdeps/i386/fpu/Implies: New file.
29175 * sysdeps/x86_64/fpu/Implies: Likewise.
29176 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29177 * sysdeps/x86/fpu/bits/fenv.h: This.
29178
a728a38f
L
29179 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29180 __SSE_MATH__.
29181
6e230d11
SP
291822012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29183
29184 [BZ #14134]
29185 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29186 character 0xffff that matches the last element of the
29187 conversion table.
29188
1b671feb
AZ
291892012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29190
29191 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29192 fmodl commit.
29193
6043738b
AZ
291942012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29195
29196 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29197 values higher than 25.6283.
29198
34ae0b32
AZ
291992012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29200
29201 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29202 subnormal exponent extraction and add some __builtin_expect.
29203 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29204 Fix for subnormal mantissa calculation.
29205
1214ec8f
MF
292062012-06-04 Mike Frysinger <vapier@gentoo.org>
29207
29208 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29209 cpu2 is -1 and errno is not ENOSYS.
29210
f3d1f93c
L
292112012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29212
29213 [BZ #14117]
0e4a3cd7
L
29214 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29215 * sysdeps/x86/bits/string.h: This.
29216 * sysdeps/x86_64/bits/string.h: Removed.
29217
6704c645
L
29218 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29219 if not compiling for x86-64, but compiling for >= i486.
29220
48495318
L
29221 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29222 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29223
14adcbfc
L
29224 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29225 New macro from Linux kernel 3.4.0.
29226 (FP_XSTATE_MAGIC2): Likewise.
29227 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29228 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29229 (struct _fpx_sw_bytes): New struct.
29230 (struct _xsave_hdr): Likewise.
29231 (struct _ymmh_state): Likewise.
29232 (struct _xstate): Likewise.
29233
68e408ab
L
29234 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29235 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29236 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29237 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29238 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29239 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29240
f3d1f93c
L
29241 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29242 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29243 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29244 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29245 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29246 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29247
d9dc34cd
TMQMF
292482012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29249
29250 [BZ #13743]
29251 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29252 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29253 (sysdep_headers): Include sys/platform/ppc.h.
29254 * sysdeps/powerpc/test-gettimebase.c: Test for
29255 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29256 * manual/Makefile (appendices): Include platform.texi.
29257 * manual/contrib.texi (Contributors): Update @node pointers.
29258 * manual/maint.texi (Maintenance): Likewise.
29259 (Platform): New node.
29260 * manual/platform.texi: New file. Document the new features.
29261
4af3879c
SP
292622012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29263 Jakub Jelinek <jakub@redhat.com>
29264
29265 [BZ #14188]
29266 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29267 where __builtin_expect is unavailable.
29268
2fd6ff13
DM
292692012-06-03 David S. Miller <davem@davemloft.net>
29270
29271 * stdlib/longlong.h: Updated from GCC.
29272
173f7220
AS
292732012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29274
29275 [BZ #14042]
29276 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29277 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29278 __mcount_internal.
29279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29280 (GLIBC_2.16): Likewise.
29281
f34a1c6f
L
292822012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29283
29284 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29285
88a4576f
JM
292862012-06-01 Joseph Myers <joseph@codesourcery.com>
29287
ea32bcdd
JM
29288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29289 (default-abi): New variable.
29290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29291 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29292 variable.
29293 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29294 Likewise.
29295 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29296 Likewise.
29297 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29298 Likewise.
29299
88a4576f
JM
29300 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29301 definition. Document in comment.
29302
402fe938
DM
293032012-06-01 David S. Miller <davem@davemloft.net>
29304
29305 * stdlib/longlong.h: Updated from GCC.
29306
3553723f
L
293072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29308
29309 [BZ #14117]
3bd872c4
L
29310 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29311 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29312 sys/debugreg.h sys/io.h here.
29313 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29314 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29315 sys/io.h.
29316 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29317 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29318 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29319 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29320 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29321 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29322
3553723f
L
29323 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29324 Define only if __x86_64__ is defined.
29325
4842e4fe
JM
293262012-06-01 Joseph Myers <joseph@codesourcery.com>
29327
c5bfe3d5
JM
29328 [BZ #14048]
29329 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29330 Use int64_t for variable i.
29331 * math/libm-test.inc (fmod_test): Add more tests.
29332
4842e4fe
JM
29333 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29334 z computation is not scheduled after fetestexcept.
29335 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29336 Use math_force_eval instead of asm to ensure calculation scheduled
29337 before exception test.
29338 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29339 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29340
efb73488
AJ
293412012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29342
29343 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29344 computation is not scheduled after fetestexcept.
29345
29bcce7c
L
293462012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29347
29348 [BZ #14117]
29349 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29350 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29351
73a68f94
AZ
293522012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29353
29354 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29355 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29356
67b6df78
L
293572012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29358
edf2933a 29359 [BZ #14117]
ebc64a18
L
29360 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29361 <bits/wordsize.h>.
29362 (__WCHAR_MIN): Support __WORDSIZE == 64.
29363 (__WCHAR_MAX): Likewise.
29364
edf2933a
L
29365 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29366 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29367
57c6cf40
L
29368 [BZ #14183]
29369 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29370 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29371
67b6df78 29372 [BZ #14117]
8eb6281e
L
29373 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29374 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29375
aac639f4
L
29376 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29377 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29378
67b6df78
L
29379 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29380 Defined to 1 if __x86_64__ isn't defined.
29381 (_STAT_VER_LINUX_OLD): New.
29382 (st_atime): Remove duplicate.
29383 (st_mtime): Likewise.
29384 (st_ctime): Likewise.
29385
1c2cfe81
DM
293862012-05-31 David S. Miller <davem@davemloft.net>
29387
29388 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29389 entries.
29390
5be8418c
AS
293912012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29392
e7725326
AS
29393 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29394 gen-libm-test.pl.
29395
5be8418c
AS
29396 [BZ #14132]
29397 * elf/dl-reloc.c: Include <_itoa.h>.
29398 (_dl_reloc_bad_type): Remove use of INTUSE.
29399 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29400 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29401 * stdio-common/psiginfo.c (psiginfo): Likewise.
29402 * stdio-common/psignal.c (psignal): Likewise.
29403 * string/strsignal.c (strsignal): Likewise.
29404 * include/signal.h (_sys_siglist): Declare hidden proto.
29405 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29406 INTVARDEF with libc_hidden_data_def.
29407 * stdio-common/itoa-udigits.c: Likewise.
29408 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29409 (_itoa_lower_digits_internal): Remove declaration.
29410 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29411 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29412 (_sys_sigabbrev_internal): Remove aliases.
29413 (_sys_siglist): Define hidden alias.
29414
507352f1
MT
294152012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29416
29417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29418 bits/sysctl.h.
29419
42bbb1c3
L
294202012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29421
29422 [BZ #14117]
6bd784b6
L
29423 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29424 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29425
8bca20f0
L
29426 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29427 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29428 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29429 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29430 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29431 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29432
f9e890a9
L
29433 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29434 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29435 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29436
471101a1
L
29437 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29438 with __addr.
29439 (insw): Likewise.
29440 (insl): Likewise.
29441 (outsb): Likewise.
29442 (outsw): Likewise.
29443 (outsl): Likewise.
29444
6451c862
L
29445 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29446 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29447 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29448
a254b8c9
L
29449 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29450 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29451 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29452 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29453 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29454 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29455
b8dfdd92
L
29456 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29457 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29458
578cd270
L
29459 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29460 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29461
de662f5f
L
29462 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29463 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29464 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29465
25653439
L
29466 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29467 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29468 to ...
29469 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29470
6bad24a0
L
29471 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29472 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29473 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29474
42bbb1c3
L
29475 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29476 for x86-64.
29477 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29478
2d10d547
JM
294792012-05-31 Joseph Myers <joseph@codesourcery.com>
29480
29481 * math/math.h (M_El): Use two more decimal places.
29482 (M_LOG2El): Likewise.
29483 (M_LOG10El): Likewise.
29484 (M_LN2l): Likewise.
29485 (M_LN10l): Likewise.
29486 (M_PIl): Likewise.
29487 (M_PI_2l): Likewise.
29488 (M_PI_4l): Likewise.
29489 (M_1_PIl): Likewise.
29490 (M_2_PIl): Likewise.
29491 (M_2_SQRTPIl): Likewise.
29492 (M_SQRT2l): Likewise.
29493 (M_SQRT1_2l): Likewise.
29494
f230c29b
DM
294952012-05-31 David S. Miller <davem@davemloft.net>
29496
29497 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
29498 values between float registers.
29499 * sysdeps/sparc/sparc64/memset.S: Likewise.
29500 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29501
fed806c3
MF
295022012-05-31 Mike Frysinger <vapier@gentoo.org>
29503
29504 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
29505 -D_FORTIFY_SOURCE=1.
29506 (CPPFLAGS-tst-longjmp_chk.c): Define.
29507 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
29508 (CPPFLAGS-tst-longjmp_chk2.c): Define.
29509 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
29510 CFLAGS-tst-wchar-h.c.
29511
30917259
MP
295122012-05-31 Marek Polacek <polacek@redhat.com>
29513
29514 [BZ #14132]
29515 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
29516 __endmntent_internal): Remove declaration.
29517 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
29518 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
29519 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
29520
1c58d5dc
DM
295212012-05-30 David S. Miller <davem@davemloft.net>
29522
29523 * sysdeps/sparc/sparc32/soft-fp/q_util.c
29524 (___Q_simulate_exceptions): Use real FP ops rather than writing
29525 into the %fsr.
29526 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
29527 Likewise.
29528
7dc00e0d
L
295292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29530
29531 [BZ #14117]
0bd53985
L
29532 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
29533 * sysdeps/x86/bits/xtitypes.h: This.
29534
3a257e66
L
29535 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
29536 * sysdeps/x86/bits/wordsize.h: This.
29537
62f62904
L
29538 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
29539 * sysdeps/x86/bits/huge_vall.h: This.
29540
404fe9d9
L
29541 * sysdeps/i386/bits/select.h: Removed.
29542 * sysdeps/x86_64/bits/select.h: Renamed to ...
29543 * sysdeps/x86/bits/select.h: This.
29544
d48d0446
L
29545 * sysdeps/i386/bits/setjmp.h: Removed.
29546 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
29547 * sysdeps/x86/bits/setjmp.h: This.
29548
7dc00e0d
L
29549 * sysdeps/i386/bits/mathdef.h: Removed.
29550 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
29551 * sysdeps/x86/bits/mathdef.h: This.
29552
03277f8f
AS
295532012-05-30 Andreas Schwab <schwab@linux-m68k.org>
29554
29555 [BZ #14132]
29556 * include/sys/socket.h (__connect_internal)
29557 (__libc_sa_len_internal): Remove declaration.
29558 (__connect, __libc_sa_len): Declare hidden_proto.
29559 (SA_LEN): Remove use of INTUSE.
29560 * socket/connect.c: Add libc_hidden_def.
29561 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
29562 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
29563 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
29564 alias.
29565 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29566 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
29567 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
29568 of adding _internal alias.
29569
13764867
L
295702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29571
29572 [BZ #14117]
6bd97696
L
29573 * sysdeps/i386/bits/link.h: Removed.
29574 * sysdeps/i386/bits/linkmap.h: Likewise.
29575 * sysdeps/x86_64/bits/link.h: Renamed to ...
29576 * sysdeps/x86/bits/link.h: This.
29577 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
29578 * sysdeps/x86/bits/linkmap.h: This.
29579
f726f0bb
L
29580 * sysdeps/i386/bits/endian.h: Removed.
29581 * sysdeps/x86_64/bits/endian.h: Renamed to ...
29582 * sysdeps/x86/bits/endian.h: This.
29583
13764867
L
29584 * sysdeps/i386/bits/byteswap.h: Removed.
29585 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29586 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
29587 * sysdeps/x86/bits/byteswap.h: This.
29588 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
29589 * sysdeps/x86/bits/byteswap-16.h: This.
29590 * sysdeps/i386/Implies: Add x86.
29591 * sysdeps/x86_64/Implies: Likewise.
29592
ae251b0b
DM
295932012-05-30 David S. Miller <davem@davemloft.net>
29594
29595 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
29596 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
29597 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
29598 (FP_TRAPPING_EXCEPTIONS): Define.
29599 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
29600 (FP_TRAPPING_EXCEPTIONS): Define.
29601 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
29602 subnormals only when inexact has been signalled or underflow
29603 exceptions are enabled.
29604 (_FP_PACK_CANONICAL): Likewise.
29605
d5c90867
L
296062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29607
29608 [BZ #14183]
29609 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
29610 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
29611
63f1549e
RH
296122012-05-30 Richard Henderson <rth@twiddle.net>
29613
8d8f2279
RH
29614 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
29615 with #ifndef NOT_IN_libc.
29616
63f1549e
RH
29617 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
29618 marked to avoid plt entry.
29619
0ab0291b
L
296202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
29621
29622 [BZ #14112]
29623 * Makeconfig (default-abi): New macro.
29624 (abi-includes): Likewise.
29625 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
29626 $(abi-$(default-abi)-lib-soname) for soname if defined.
29627 ($(common-objpfx)gnu/lib-names.stmp): Generate from
29628 abi-variants.
29629 * Makefile (installed-stubs): Likewise.
29630 * include/stubs-biarch.h: Removed.
29631 * scripts/lib-names.awk: Only handle one library at a time.
29632 * scripts/soversions.awk: Remove WORDSIZE support.
29633 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
29634 entries.
29635 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
29636 Removed.
29637 (syscall-list-default-condition): Likewise.
29638 (syscall-list-default-condition): Likewise.
29639 (syscall-list-includes): Likewise.
29640 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
29641 syscall-list-* with abi-*. Handle undefined abi-variants.
29642 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
29643 * sysdeps/unix/sysv/linux/i386/Implies: New file.
29644 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
29645 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
29646 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
29647 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
29648 Removed.
29649 (syscall-list-32-options): Likewise.
29650 (syscall-list-32-condition): Likewise.
29651 (syscall-list-64-options): Likewise.
29652 (syscall-list-64-condition): Likewise.
29653 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
29654 macro.
29655 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
29656 Renamed to ...
29657 (abi-*): This.
29658 (abi-64-ld-soname): New macro.
29659 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
29660 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
29661 Renamed to ...
29662 (abi-*): This.
29663 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
29664 * sysdeps/x86_64/x32/shlib-versions: Likewise.
29665
4da0431d
JM
296662012-05-30 Joseph Myers <joseph@codesourcery.com>
29667
3a85279c
JM
29668 * sysdeps/unix/sysv/linux/kernel-features.h
29669 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
29670 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
29671 include <kernel-features.h>.
29672 [!__NR_ftruncate64]: Remove conditional code.
29673 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29674 [__NR_ftruncate64]: Make code unconditional.
29675 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29676 * sysdeps/unix/sysv/linux/truncate64.c: Do not
29677 include <kernel-features.h>.
29678 [!__NR_ftruncate64]: Remove conditional code.
29679 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29680 [__NR_ftruncate64]: Make code unconditional.
29681 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
29683 include <kernel-features.h>.
29684 [!__NR_ftruncate64]: Remove conditional code.
29685 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29686 [__NR_ftruncate64]: Make code unconditional.
29687 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29689 include <kernel-features.h>.
29690 [!__NR_ftruncate64]: Remove conditional code.
29691 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29692 [__NR_ftruncate64]: Make code unconditional.
29693 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
29694
4da0431d
JM
29695 * configure.in (libc_cv_fpie): Weaken to a compile test using
29696 LIBC_TRY_CC_OPTION.
29697 * configure: Regenerated.
29698
11ef492c
AK
296992012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29700
29701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
29702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
29703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
29704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29705 Refreshed.
29706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
29707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
29708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
29709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29712 Refreshed.
29713
d66ef399
DM
297142012-05-27 David S. Miller <davem@davemloft.net>
29715
29716 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29717 (___Q_zero): New.
29718 (__Q_simulate_exceptions): Return void. Change to simulate
29719 exceptions by writing into the %fsr.
29720 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29721 (__Qp_handle_exceptions): Likewise.
29722 (numbers): Delete.
29723 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29724 __Qp_handle_exceptions.
29725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29726 __Qp_handle_exceptions.
29727 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29728 as unused and give dummy FP_RND_NEAREST initializer.
29729 (FP_INHIBIT_RESULTS): Define.
29730 (___Q_simulate_exceptions): Update declaration.
29731 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29732 formatting.
29733 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29734 as unused and give dummy FP_RND_NEAREST initializer.
29735 (__Qp_handle_exceptions): Update declaration.
29736 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29737 formatting.
29738
04fb54b5
TS
297392012-05-27 Thomas Schwinge <thomas@codesourcery.com>
29740
29741 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29742 the temporary FPU control word.
29743 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29744 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29745 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29746 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29747 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29748 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29749 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29750 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29751 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29752 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29753 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29754
3f99608f
KK
297552012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29756
29757 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29758 fields.
29759
65a4de4e
CLT
297602012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
29761
29762 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29763 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29764 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29765 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29766 Likewise.
29767 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29768 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29769 Likewise.
29770
15749d40
UD
297712012-05-27 Ulrich Drepper <drepper@gmail.com>
29772
29773 * po/h.po: Update from translation team.
29774
25dbcb27
AS
297752012-05-26 Andreas Schwab <schwab@linux-m68k.org>
29776
3d3f8e55
AS
29777 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29778
25dbcb27
AS
29779 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29780 handling of denormals.
29781 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29782 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29783 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29784 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29785 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29786 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29787 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29788 Likewise.
29789
7ad47a80 297902012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
29791
29792 [BZ #14152]
29793 * math/libm-test.inc (fma_test): Don't always expect underflow
29794 exception.
29795
9c6ea9fa
SP
297962012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29797
29798 [BZ #12416]
29799 * elf/tst-execstack.c: Include stackinfo.h.
29800 (do_test): Adjust test case to ensure that pthread_getattr_np
29801 behaviour remains the same after marking stack executable.
29802
a8239222
JM
298032012-05-25 Joseph Myers <joseph@codesourcery.com>
29804
29805 * sysdeps/unix/sysv/linux/kernel-features.h
29806 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29807 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29808 kernel-features.h.
29809 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29810 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29811 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29812 kernel-features.h.
29813 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29814 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29815
918b5606
L
298162012-05-25 H.J. Lu <hongjiu.lu@intel.com>
29817
29818 * configure.in: Define the default includes to being none.
29819 * configure: Regenerated.
29820
3a097cc7
RM
298212012-05-25 Roland McGrath <roland@hack.frob.com>
29822
8422c9a5
RM
29823 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29824 * sysdeps/x86_64/setjmp.S: Likewise.
29825 * sysdeps/i386/bsd-setjmp.S: Likewise.
29826 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29827 * sysdeps/i386/setjmp.S: Likewise.
29828 * sysdeps/i386/__longjmp.S: Likewise.
29829 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29830 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29831
3a097cc7
RM
29832 * include/stap-probe.h: New file.
29833 * configure.in: Handle --enable-systemtap.
29834 * configure: Regenerated.
29835 * config.h.in (USE_STAP_PROBE): New #undef.
29836 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29837 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29838 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29839
21708942
JM
298402012-05-25 Joseph Myers <joseph@codesourcery.com>
29841
29842 [BZ #13717]
29843 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29844 to 2.4.0 where earlier.
29845 * sysdeps/unix/sysv/linux/configure: Regenerated.
29846 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29847 <kernel-features.h>.
29848 [__ASSUME_32BITUIDS]: Make code unconditional.
29849 [!__ASSUME_32BITUIDS]: Remove conditional code.
29850 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29851 <kernel-features.h>.
29852 [__ASSUME_32BITUIDS]: Make code unconditional.
29853 [!__ASSUME_32BITUIDS]: Remove conditional code.
29854 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29855 [__ASSUME_32BITUIDS]: Make code unconditional.
29856 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29857 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29858 <kernel-features.h>.
29859 [__ASSUME_32BITUIDS]: Make code unconditional.
29860 [!__ASSUME_32BITUIDS]: Remove conditional code.
29861 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29862 <kernel-features.h>.
29863 [__ASSUME_32BITUIDS]: Make code unconditional.
29864 [!__ASSUME_32BITUIDS]: Remove conditional code.
29865 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29866 <kernel-features.h>.
29867 [__ASSUME_32BITUIDS]: Make code unconditional.
29868 [!__ASSUME_32BITUIDS]: Remove conditional code.
29869 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29870 <kernel-features.h>.
29871 [__ASSUME_32BITUIDS]: Make code unconditional.
29872 [!__ASSUME_32BITUIDS]: Remove conditional code.
29873 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29874 <kernel-features.h>.
29875 [__ASSUME_32BITUIDS]: Make code unconditional.
29876 [!__ASSUME_32BITUIDS]: Remove conditional code.
29877 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29878 <kernel-features.h>.
29879 [__ASSUME_32BITUIDS]: Make code unconditional.
29880 [!__ASSUME_32BITUIDS]: Remove conditional code.
29881 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29882 <kernel-features.h>.
29883 [__ASSUME_32BITUIDS]: Make code unconditional.
29884 [!__ASSUME_32BITUIDS]: Remove conditional code.
29885 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29886 <kernel-features.h>.
29887 [__ASSUME_32BITUIDS]: Make code unconditional.
29888 [!__ASSUME_32BITUIDS]: Remove conditional code.
29889 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29890 <kernel-features.h>.
29891 [__ASSUME_32BITUIDS]: Make code unconditional.
29892 [!__ASSUME_32BITUIDS]: Remove conditional code.
29893 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29894 <kernel-features.h>.
29895 [__ASSUME_32BITUIDS]: Make code unconditional.
29896 [!__ASSUME_32BITUIDS]: Remove conditional code.
29897 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29898 <kernel-features.h>.
29899 [__NR_setresgid] (__setresgid): Do not declare.
29900 [__ASSUME_32BITUIDS]: Make code unconditional.
29901 [!__ASSUME_32BITUIDS]: Remove conditional code.
29902 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29903 <kernel-features.h>.
29904 [__NR_setresuid] (__setresuid): Do not declare.
29905 [__ASSUME_32BITUIDS]: Make code unconditional.
29906 [!__ASSUME_32BITUIDS]: Remove conditional code.
29907 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29908 <kernel-features.h>.
29909 [__ASSUME_32BITUIDS]: Make code unconditional.
29910 [!__ASSUME_32BITUIDS]: Remove conditional code.
29911 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29912 <kernel-features.h>.
29913 [__ASSUME_32BITUIDS]: Make code unconditional.
29914 [!__ASSUME_32BITUIDS]: Remove conditional code.
29915 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29916 <kernel-features.h>.
29917 [__ASSUME_32BITUIDS]: Make code unconditional.
29918 [!__ASSUME_32BITUIDS]: Remove conditional code.
29919 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29920 <kernel-features.h>.
29921 [__ASSUME_32BITUIDS]: Make code unconditional.
29922 [!__ASSUME_32BITUIDS]: Remove conditional code.
29923 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29924 <kernel-features.h>.
29925 [__ASSUME_32BITUIDS]: Make code unconditional.
29926 [!__ASSUME_32BITUIDS]: Remove conditional code.
29927 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29928 <kernel-features.h>.
29929 [__ASSUME_32BITUIDS]: Make code unconditional.
29930 [!__ASSUME_32BITUIDS]: Remove conditional code.
29931 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29932 <kernel-features.h>.
29933 [__ASSUME_32BITUIDS]: Make code unconditional.
29934 [!__ASSUME_32BITUIDS]: Remove conditional code.
29935 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29936 <kernel-features.h>.
29937 [__ASSUME_32BITUIDS]: Make code unconditional.
29938 [!__ASSUME_32BITUIDS]: Remove conditional code.
29939 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29940 <kernel-features.h>.
29941 [__ASSUME_32BITUIDS]: Make code unconditional.
29942 [!__ASSUME_32BITUIDS]: Remove conditional code.
29943 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29944 <kernel-features.h>.
29945 [__ASSUME_32BITUIDS]: Make code unconditional.
29946 [!__ASSUME_32BITUIDS]: Remove conditional code.
29947 * sysdeps/unix/sysv/linux/kernel-features.h
29948 (__ASSUME_SETRESUID_SYSCALL): Remove.
29949 (__ASSUME_SETRESGID_SYSCALL): Likewise.
29950 (__ASSUME_32BITUIDS): Likewise.
29951 (__ASSUME_LDT_WORKS): Likewise.
29952 (__ASSUME_O_DIRECTORY): Likewise.
29953 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29954 architecture but not kernel version.
29955 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29956 (__ASSUME_MMAP2_SYSCALL): Likewise.
29957 (__ASSUME_STAT64_SYSCALL): Likewise.
29958 (__ASSUME_IPC64): Likewise.
29959 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29960 <kernel-features.h>.
29961 [__ASSUME_32BITUIDS]: Make code unconditional.
29962 [!__ASSUME_32BITUIDS]: Remove conditional code.
29963 * sysdeps/unix/sysv/linux/opendir.c: Do not include
29964 <kernel-features.h>.
29965 [__ASSUME_O_DIRECTORY]: Make code unconditional.
29966 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29967 132096]: Remove conditional code.
29968 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29969 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29970 <kernel-features.h>.
29971 [__ASSUME_32BITUIDS]: Make code unconditional.
29972 [!__ASSUME_32BITUIDS]: Remove conditional code.
29973 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29974 <kernel-features.h>.
29975 [__ASSUME_32BITUIDS]: Make code unconditional.
29976 [!__ASSUME_32BITUIDS]: Remove conditional code.
29977 * sysdeps/unix/sysv/linux/setegid.c: Do not include
29978 <kernel-features.h>.
29979 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29980 unconditional.
29981 (__setresgid): Do not declare.
29982 [__ASSUME_32BITUIDS]: Make code unconditional.
29983 [!__ASSUME_32BITUIDS]: Remove conditional code.
29984 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29985 <kernel-features.h>.
29986 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29987 unconditional.
29988 (__setresuid): Do not declare.
29989 [__ASSUME_32BITUIDS]: Make code unconditional.
29990 [!__ASSUME_32BITUIDS]: Remove conditional code.
29991 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29992 <kernel-features.h>.
29993 [__ASSUME_32BITUIDS]: Make code unconditional.
29994 [!__ASSUME_32BITUIDS]: Remove conditional code.
29995 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29996 <kernel-features.h>.
29997 [__ASSUME_32BITUIDS]: Make code unconditional.
29998 [!__ASSUME_32BITUIDS]: Remove conditional code.
29999
a386f1cc
RH
300002012-05-25 Richard Henderson <rth@twiddle.net>
30001
30002 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30003 dl_hwcap to ifunc resolver.
30004 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30005 elf_ifunc_invoke.
30006 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30007 dl_hwcap to ifunc resolver.
30008 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30009
b6550497
JM
300102012-05-24 Joseph Myers <joseph@codesourcery.com>
30011
30012 [BZ #14153]
30013 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30014 for |x| <= 2**-26, not 2**-57.
30015 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30016 exception.
30017
b0bc23a1
JL
300182012-05-24 Jeff Law <law@redhat.com>
30019
30020 * stdio-common/Makefile (tests): Add bug25.
30021 * stdio-common/bug25.c: New test.
30022
347c92e9
L
300232012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30024
30025 [BZ #13576]
30026 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30027 multiple of MALLOC_ALIGNMENT in size.
30028 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30029
6bcc8b3f
JM
300302012-05-24 Joseph Myers <joseph@codesourcery.com>
30031
30032 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30033 Require >= 256.
30034 (FILENAME_MAX): Use macro-int-constant.
30035 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30036 (_IOFBF): Use macro-int-constant.
30037 (_IOLBF): Likewise.
30038 (_IONBF): Likewise.
30039 (SEEK_CUR): Likewise.
30040 (SEEK_END): Likewise.
30041 (SEEK_SET): Likewise.
30042 (TMP_MAX): Likewise.
30043 (EOF): Use macro-int-constant. Require < 0.
30044 (NULL): Use macro-constant. Require == 0.
30045 (stdin): Require type to be FILE *.
30046 (stdout): Likewise.
30047 (stderr): Likewise.
30048 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30049 macro-int-constant.
30050 (EXIT_SUCCESS): Likewise.
30051 (NULL): Use macro-constant. Require == 0.
30052 (RAND_MAX): Use macro-int-constant.
30053 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30054 [C99-based standards] (strtof): Require function.
30055 [C99-based standards] (strtold): Likewise.
30056 [C99-based standards] (strtoll): Likewise.
30057 [C99-based standards] (strtoull): Likewise.
30058 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30059 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30060 [ISO || ISO99 || ISO11] (math.h): Likewise.
30061 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30062 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30063 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30064
d18ea0c5
AS
300652012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30066
30067 [BZ #14132]
56d25bb8
AS
30068 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30069 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30070 * intl/dgettext.c (DCGETTEXT): Likewise.
30071 * intl/gettext.c (DCGETTEXT): Likewise.
30072 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30073 * posix/regex_internal.h (gettext): Likewise.
30074 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30075 Remove declaration.
30076 * include/argz.h (__argz_count_internal)
30077 (__argz_stringify_internal): Remove declaration.
30078 (__argz_count, __argz_stringify): Declare hidden proto.
30079 * intl/dcgettext.c: Remove use of INTDEF.
30080 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30081 * string/argz-stringify.c: Likewise.
30082 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30083 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30084 Declare hidden proto.
d18ea0c5
AS
30085 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30086 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30087 Declare hidden proto.
30088 * include/stdio.h (__asprintf_internal): Don't declare.
30089 (__asprintf): Don't define as macro. Declare hidden proto.
30090 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30091 (__fsetlocking): Declare hidden proto.
30092 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30093 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30094 hidden proto.
30095 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30096 (_IO_setlinebuf): Remove use of INTUSE.
30097 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30098 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30099 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30100 Remove declaration.
30101 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30102 (_IO_do_flush): Remove use of INTUSE.
30103 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30104 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30105 (_IO_adjust_column, _IO_least_wmarker)
30106 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30107 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30108 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30109 (_IO_default_doallocate, _IO_wdefault_doallocate)
30110 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30111 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30112 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30113 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30114 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30115 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30116 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30117 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30118 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30119 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30120 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30121 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30122 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30123 proto.
30124 (_IO_flush_all_internal, _IO_adjust_column_internal)
30125 (_IO_default_uflow_internal, _IO_default_finish_internal)
30126 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30127 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30128 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30129 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30130 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30131 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30132 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30133 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30134 (_IO_file_close_internal, _IO_file_close_it_internal)
30135 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30136 (_IO_file_init_internal, _IO_file_attach_internal)
30137 (_IO_file_fopen_internal, _IO_file_read_internal)
30138 (_IO_file_sync_internal, _IO_file_seek_internal)
30139 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30140 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30141 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30142 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30143 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30144 (_IO_list_all_internal, _IO_link_in_internal)
30145 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30146 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30147 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30148 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30149 (_IO_do_write_internal, _IO_padn_internal)
30150 (_IO_getline_info_internal, _IO_getline_internal)
30151 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30152 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30153 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30154 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30155 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30156 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30157 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30158 with libc_hidden_ver, remove use of INTUSE.
30159 * libio/genops.c: Likewise.
30160 * libio/freopen.c: Likewise.
30161 * libio/freopen64.c: Likewise.
30162 * libio/iofclose.c: Likewise.
30163 * libio/iofdopen.c: Likewise.
30164 * libio/iofflush.c: Likewise.
30165 * libio/iofflush_u.c: Likewise.
30166 * libio/iofgets.c: Likewise.
30167 * libio/iofgets_u.c: Likewise.
30168 * libio/iofopen.c: Likewise.
30169 * libio/iofopncook.c: Likewise.
30170 * libio/iofread.c: Likewise.
30171 * libio/iofread_u.c: Likewise.
30172 * libio/ioftell.c: Likewise.
30173 * libio/iofwrite.c: Likewise.
30174 * libio/iogetline.c: Likewise.
30175 * libio/iogets.c: Likewise.
30176 * libio/iogetwline.c: Likewise.
30177 * libio/iopadn.c: Likewise.
30178 * libio/iopopen.c: Likewise.
30179 * libio/ioseekoff.c: Likewise.
30180 * libio/ioseekpos.c: Likewise.
30181 * libio/iosetbuffer.c: Likewise.
30182 * libio/iosetvbuf.c: Likewise.
30183 * libio/ioungetc.c: Likewise.
30184 * libio/ioungetwc.c: Likewise.
30185 * libio/iovdprintf.c: Likewise.
30186 * libio/iovsprintf.c: Likewise.
30187 * libio/iovsscanf.c: Likewise.
30188 * libio/memstream.c: Likewise.
30189 * libio/obprintf.c: Likewise.
30190 * libio/oldfileops.c: Likewise.
30191 * libio/oldiofclose.c: Likewise.
30192 * libio/oldiofdopen.c: Likewise.
30193 * libio/oldiofopen.c: Likewise.
30194 * libio/oldiopopen.c: Likewise.
30195 * libio/oldstdfiles.c: Likewise.
30196 * libio/putc.c: Likewise.
30197 * libio/setbuf.c: Likewise.
30198 * libio/setlinebuf.c: Likewise.
30199 * libio/stdfiles.c: Likewise.
30200 * libio/strops.c: Likewise.
30201 * libio/vasprintf.c: Likewise.
30202 * libio/vscanf.c: Likewise.
30203 * libio/vsnprintf.c: Likewise.
30204 * libio/vswprintf.c: Likewise.
30205 * libio/wfiledoalloc.c: Likewise.
30206 * libio/wfileops.c: Likewise.
30207 * libio/wgenops.c: Likewise.
30208 * libio/wmemstream.c: Likewise.
30209 * libio/wstrops.c: Likewise.
30210 * libio/__fpurge.c: Likewise.
30211 * libio/__fsetlocking.c: Likewise.
30212 * assert/assert.c: Likewise.
30213 * debug/fgets_chk.c: Likewise.
30214 * debug/fgets_u_chk.c: Likewise.
30215 * debug/fread_chk.c: Likewise.
30216 * debug/fread_u_chk.c: Likewise.
30217 * debug/gets_chk.c: Likewise.
30218 * debug/obprintf_chk.c: Likewise.
30219 * debug/vasprintf_chk.c: Likewise.
30220 * debug/vdprintf_chk.c: Likewise.
30221 * debug/vsnprintf_chk.c: Likewise.
30222 * debug/vsprintf_chk.c: Likewise.
30223 * malloc/mtrace.c: Likewise.
30224 * misc/error.c: Likewise.
30225 * misc/syslog.c: Likewise.
30226 * stdio-common/asprintf.c: Likewise.
30227 * stdio-common/fxprintf.c: Likewise.
30228 * stdio-common/getw.c: Likewise.
30229 * stdio-common/isoc99_fscanf.c: Likewise.
30230 * stdio-common/isoc99_scanf.c: Likewise.
30231 * stdio-common/isoc99_vfscanf.c: Likewise.
30232 * stdio-common/isoc99_vscanf.c: Likewise.
30233 * stdio-common/isoc99_vsscanf.c: Likewise.
30234 * stdio-common/printf-prs.c: Likewise.
30235 * stdio-common/printf_fp.c: Likewise.
30236 * stdio-common/printf_fphex.c: Likewise.
30237 * stdio-common/printf_size.c: Likewise.
30238 * stdio-common/putw.c: Likewise.
30239 * stdio-common/scanf.c: Likewise.
30240 * stdio-common/sprintf.c: Likewise.
30241 * stdio-common/tmpfile.c: Likewise.
30242 * stdio-common/vfprintf.c: Likewise.
30243 * stdio-common/vfscanf.c: Likewise.
30244 * stdlib/strfmon_l.c: Likewise.
30245 * sunrpc/openchild.c: Likewise.
30246 * sunrpc/xdr_stdio.c: Likewise.
30247 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30248 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30249
d6c33fda
RM
302502012-05-24 Roland McGrath <roland@hack.frob.com>
30251
c1487492
RM
30252 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30253
30254 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30255 in the third column, to generate for the shared library an IFUNC
30256 that uses _dl_vdso_vsym.
30257 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30258 * Makeconfig (object-suffixes-noshared): New variable.
30259
30260 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30261 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30262 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30263 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30264
d6c33fda
RM
30265 [BZ #14132]
30266 * include/sys/time.h (__gettimeofday): Remove macro.
30267 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30268 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30269 Remove INTDEF.
30270 (__gettimeofday): Add libc_hidden_def.
30271 (gettimeofday): Add libc_hidden_weak.
30272 * sysdeps/mach/gettimeofday.c: Likewise.
30273 * sysdeps/posix/gettimeofday.c: Likewise.
30274 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30275 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30276 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30277 (__gettimeofday_internal): Remove strong_alias.
30278 (__gettimeofday): Add libc_hidden_def.
30279 (gettimeofday): Add libc_hidden_weak.
30280 * sysdeps/unix/syscalls.list (gettimeofday):
30281 Remove __gettimeofday_internal alias.
30282
b5a2bbe6
L
302832012-05-24 Daniel Jacobowitz <drow@false.org>
30284 H.J. Lu <hongjiu.lu@intel.com>
30285
30286 [BZ #12495]
30287 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30288 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30289 (largebin_index_32_big): New.
30290 (largebin_index): Use it for 16-byte alignment.
30291 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30292 correction with front_misalign.
30293
cfba4fda
L
302942012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30295
7f907421
L
30296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30298 Likewise.
30299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30300 Likewise.
30301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30302 Likewise.
30303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30304 Likewise.
30305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30306 Likewise.
30307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30308 Likewise.
30309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30310 Likewise.
30311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30312 Likewise.
30313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30314 Likewise.
30315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30316 Likewise.
30317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30318 Likewise.
30319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30320 Likewise.
30321
cfba4fda
L
30322 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30323 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30324
80bad0cc
JM
303252012-05-24 Joseph Myers <joseph@codesourcery.com>
30326
7a25eb06
JM
30327 [BZ #10846]
30328 [BZ #14036]
30329 * math/libm-test.inc (exp_test): Add test from bug 14036.
30330 (pow_test): Add test from bug 10846.
30331
795405f9
JM
30332 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30333 and other flags.
30334 (special_function): Do not include flags in test name.
30335 (parse_args): Likewise.
30336 * sysdeps/i386/fpu/libm-test-ulps: Update.
30337 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30338 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30339 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30341
80bad0cc
JM
30342 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30343 exceptions.
30344 * math/libm-test.inc ("Philosophy"): Update comment about
30345 exception testing.
30346 (UNDERFLOW_EXCEPTION): New macro.
30347 (UNDERFLOW_EXCEPTION_OK): Likewise.
30348 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30349 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30350 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30351 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30352 (INVALID_EXCEPTION_OK): Update value.
30353 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30354 (OVERFLOW_EXCEPTION_OK): Likewise.
30355 (IGNORE_ZERO_INF_SIGN): Likewise.
30356 (test_exceptions): Handle underflow exceptions.
30357 (acos_test): Update for underflow exception expectations.
30358 (cexp_test): Likewise.
30359 (clog_test): Likewise.
30360 (clog10_test): Likewise.
30361 (csqrt_test): Likewise.
30362 (ctan_test): Likewise.
30363 (ctanh_test): Likewise.
30364 (exp_test): Likewise.
30365 (exp10_test): Likewise.
30366 (exp2_test): Likewise.
30367 (expm1_test): Likewise.
30368 (fma_test): Likewise.
30369 (j0_test): Likewise.
30370 (jn_test): Likewise.
30371 (nexttoward_test): Likewise.
30372 (pow_test): Likewise.
30373 (scalbn_test): Likewise.
30374 (scalbln_test): Likewise.
30375 (tan_test): Likewise.
30376 (y1_test): Likewise.
30377 * sysdeps/i386/fpu/libm-test-ulps: Update.
30378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30379
9e0e3d0b
DM
303802012-05-23 David S. Miller <davem@davemloft.net>
30381
30382 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30383 (__libc_sigaction): Remove unused local variables.
30384
ccd0a08f
L
303852012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30386
30387 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30388
62bdf9a6
PE
303892012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30390
f8591f80
PE
30391 mktime: avoid signed integer overflow
30392 * time/mktime.c (__mktime_internal): Do not mishandle the case
30393 where diff == INT_MIN.
30394
94c7d826
PE
30395 mktime: simplify computation of average
30396 * time/mktime.c (ranged_convert): Use new time_t_avg function
30397 instead of rolling our own (probably-slower) code.
30398
ce73d683
PE
30399 mktime: do not assume signed right shift propagates sign bit
30400 * time/mktime.c (isdst_differ): New static function.
30401 (__mktime_internal): No need to normalize tm_isdst now.
30402 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30403 tm_isdst values.
30404
72a22e59
PE
30405 mktime: merge another wrapv change from gnulib
30406 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30407 from some compilers.
30408
68605433
PE
30409 mktime: remove incorrect attempt at unusual arithmetics
30410 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30411 The code didn't really work on such machines anyway.
30412 (TYPE_MINIMUM): Assume two's complement.
30413 (twos_complement_arithmetic): Verify that long_int and time_t
30414 are two's complement (or unsigned, in the latter case).
30415
03cf7fe3
PE
30416 mktime: check signed shifts on long_int and time_t, too
30417 * time/mktime.c (SHR): Check that shifts work as desired
30418 on the types long_int and time_t too, as SHR is used on
30419 such types.
30420
f04dfbc2
PE
30421 mktime: do not assume 'long' is wide enough
30422 * time/mktime.c (verify): Move decl up.
30423 (long_int): New type.
30424 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30425 to remove assumption in the code that 'long' is wide enough to
30426 store year values. This assumption is not true on x32 and on
30427 some non-glibc platforms.
30428
62bdf9a6
PE
30429 mktime: merge wrapv change from gnulib
30430 * time/mktime.c (WRAPV): New macro.
30431 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30432 (guess_time_tm, __mktime_internal): Do not assume that signed
30433 integer overflow wraps around; modern compilers generate code
30434 where this assumption is no longer valid.
30435
5e292e4f
L
304362012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30437
30438 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30439 Replace "jmp L(pseudo_end)" with "ret".
30440 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30441 Likewise.
30442
8caf8c87
AJ
304432012-05-23 Andreas Jaeger <aj@suse.de>
30444
30445 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30446 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30447
1a09dc56
AJ
304482012-05-23 Andreas Jaeger <aj@suse.de>
30449 Maximilian Attems <max@stro.at>
30450
30451 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30452 New macros.
30453
1c87aba0
L
304542012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30455
30456 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30457 code so that pseudo_end is just ret and the stack pointer is
30458 correct also for static library in error case.
30459
40e45bd5
JM
304602012-05-23 Joseph Myers <joseph@codesourcery.com>
30461
c2670533
JM
30462 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30463 move to syscalls.list.
30464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30468
40e45bd5
JM
30469 * manual/install.texi (Running make install): Do not mention Linux
30470 kernel version for which pt_chown is not needed.
30471 (Linux): Do not mention problems with nscd with 2.0 kernels.
30472 * INSTALL: Regenerated.
30473
be08eda5
AJ
304742012-05-23 Andreas Jaeger <aj@suse.de>
30475
30476 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30477 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30478 macro.
30479 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30480 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30481 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30482 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30483 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30484 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30485 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30486 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30487 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30488 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30489 * sysdeps/unix/sysv/linux/bits/in.h
30490 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30491
a6a056bb
RM
304922012-05-22 Roland McGrath <roland@hack.frob.com>
30493
30494 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30495 (PREPARE_VERSION): Just use assert instead, it will be elided
30496 under [NDEBUG] anyway.
30497
c9009328
L
304982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30499
30500 * sysdeps/unix/sysv/linux/Makefile: Include
30501 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 30502 (sysdep_routines): Remove sysctl.
c9009328
L
30503 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
30504 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
30505 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
30506 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
30507 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
30508
73338355
AJ
305092012-05-22 Andreas Jaeger <aj@suse.de>
30510
30511 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
30512 that pseudo_end is just ret and the stack pointer is correct also
30513 for static library in error case.
30514
d44638b0
PP
305152012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
30516
30517 [BZ #14122]
30518 * nss/nsswitch.c (defconfig_entries): New variable.
30519 (__nss_database_lookup): Don't leak defconfig entries.
30520 (nss_parse_service_list): Don't leak on error paths.
30521 (free_database_entries): New function.
30522 (free_defconfig): New function.
30523 (free_mem): Move common code to free_database_entries.
30524
31a39bd8
L
305252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30526
da0331a8
L
30527 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
30528 Add arch_prctl.
30529 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
30530
31a39bd8
L
30531 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30532 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
30533 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
30534 New macro.
30535 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
30536 (INTERNAL_SYSCALL_TYPES): Likewise.
30537 (LOAD_ARGS_TYPES_[1-6]): Likewise.
30538 (LOAD_REGS_TYPES_[1-6]): Likewise.
30539 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
30540 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
30541
45470df3
AZ
305422012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30543
30544 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
30545 copysignl for GLIBC_2_0.
30546 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
30547 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
30548 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
30549 logbl for GLIBC_2_0.
30550 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30551 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30552
98a61bcb
L
305532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30554
a4f6e481
L
30555 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
30556 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
30557
f63d5db6
L
30558 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30559 Use "neg %eax".
30560
98a61bcb
L
30561 * time/mktime.c: Update copyright years.
30562
95770f14
PE
305632012-05-22 Paul Eggert <eggert@cs.ucla.edu>
30564
6226efbd
PE
30565 mktime: merge comment-quoting-style change from gnulib
30566 * time/mktime.c: Quote 'like this' in comments.
30567 The GNU coding standards suggest that we no longer quote `like this',
30568 as "`" and "'" are typically rendered asymmetrically nowadays.
30569 The typical gnulib style is to quote 'like this' when quoting
30570 code, and "like this" when quoting English.
30571
b99e4f78
PE
30572 * time/mktime.c (compile-command): Add "-I.".
30573
643e01e6
PE
30574 mktime: merge mktime-internal.h change from gnulib
30575 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
30576
2554247d
PE
30577 mktime: merge time_r change from gnulib
30578 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
30579
826dd0ab
PE
30580 mktime: merge DEBUG change from gnulib
30581 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
30582 case system <time.h> has a #define.
30583
bd83aabe
PE
30584 mktime: merge <sys/types.h> change from gnulib
30585 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
30586 since <time.t> is now guaranteed to define time_t.
30587
95770f14
PE
30588 mktime: merge HAVE_CONFIG_H change from gnulib
30589 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
30590
5e1a27a9
L
305912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
30592
0e44a77e
L
30593 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30594 Use "neg %eax".
30595
5e1a27a9
L
30596 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
30597 __rlim_t cast.
30598 (struct rusage): Use anonymous union to pad each field to
30599 __syscall_slong_t.
30600
46259bec
DM
306012012-05-21 David S. Miller <davem@davemloft.net>
30602
30603 * Makefules (o-iterator): Remove .s cases.
30604 (compile-command.s): Delete.
30605 (COMPILE.s): Delete.
30606 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
30607
59f0c22e
JM
306082012-05-21 Joseph Myers <joseph@codesourcery.com>
30609
30610 * configure.in (libc_cv_predef_stack_protector): Only consider
30611 "foobar" and "__stack_chk_fail" lines in libc_undefs.
30612 * configure: Regenerated.
30613
20c07380
L
306142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30615
bbb3154b
L
30616 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
30617 New macro. Use R*LP on int and pointer.
30618 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
30619 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
30620 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
30621 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
30622
20c07380
L
30623 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
30624 [__WORDSIZE_TIME64_COMPAT32] instead of
30625 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
30626 (struct utmp): Likewise.
30627 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
30628 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
30629 Renamed to ...
30630 (__WORDSIZE_TIME64_COMPAT32): This.
30631 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
30632 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
30633 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
30634 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
30635 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
30636 (__WORDSIZE_TIME64_COMPAT32): New macro.
30637
d8d1017e
AJ
306382012-05-21 Andreas Jaeger <aj@suse.de>
30639
30640 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
30641 only if [SHARED]. Add prototype for __wcschr_ia32.
30642
6c7fb145
RM
306432012-05-21 Roland McGrath <roland@hack.frob.com>
30644
30645 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
30646 of %rbp unmolested in the jmp_buf while mangling the low bits.
30647 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
30648 unmolested high bits of %rbp while demangling the low bits.
30649 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30650
66274218
AJ
306512012-05-21 Andreas Jaeger <aj@suse.de>
30652
07c58f8f
AJ
30653 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
30654 * sunrpc/svc_simple.c: Use it for registerrpc.
30655 * sunrpc/xcrypt.c: Use it for passwd2des.
30656
66274218
AJ
30657 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
30658
61f65140
L
306592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30660
30661 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
30662 Don't define if [__SYSCALL_WORDSIZE != 32].
30663 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
30664 New macro.
30665
5fefb436
AJ
306662012-05-21 Bruno Haible <bruno@clisp.org>
30667 Andreas Jaeger <aj@suse.de>
30668
30669 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
30670 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
30671 inptr and inend for must_buffer_ch.
30672 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
30673 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
30674 * stdio-common/Makefile (tests): Remove bug15.
30675 (bug15-ENV): Remove macro.
30676 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
30677 anymore.
30678
d8e272ab
AJ
306792012-05-19 Andreas Jaeger <aj@suse.de>
30680 Roland McGrath <roland@hack.frob.com>
30681
30682 * manual/contrib.texi: Completely rewritten. It contains now an
30683 alphabetical list of contributors and their contributions.
30684
4a56a162
RH
306852012-05-21 Richard Henderson <rth@twiddle.net>
30686
30687 * misc/getauxval.c (__getauxval): Use unsigned long int.
30688 * misc/sys/auxv.h: Include <sys/cdefs.h>.
30689 (getauxval): Use unsigned long int.
30690
d024d23c
L
306912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
30692
30693 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30694
cbc00a03
RM
306952012-05-21 Roland McGrath <roland@hack.frob.com>
30696
30697 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
30698 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
30699 __alignof__ (long double).
30700
478143fa
AZ
307012012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30702
30703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30704
c7683a6d
RH
307052012-05-20 Richard Henderson <rth@twiddle.net>
30706
30707 * misc/getauxval.c: New file.
30708 * misc/sys/auxv.h: New file.
30709 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30710 (routines): Add getauxval.
30711 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30712 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30713 * elf/dl-sysdep.c (_dl_auxv): Remove.
30714 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30715 * elf/dl-support.c (_dl_auxv): New variable.
30716 (_dl_aux_init): Initialize it.
30717 * manual/startup.texi (Auxiliary Vector): New node.
30718 * sysdeps/generic/bits/hwcap.h: New file.
30719 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30720 * sysdeps/powerpc/sysdep.h: ... here. Include it.
30721 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30722 * sysdeps/sparc/sysdep.h: ... here. Include it.
30723 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30724 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
30725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30726 Update.
c7683a6d
RH
30727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30730 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30735
a6f1845d
AZ
307362012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30737
30738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30739
cbcbe830
DM
307402012-05-19 David S. Miller <davem@davemloft.net>
30741
30742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30743
e0b16cc2
JM
307442012-05-19 Joseph Myers <joseph@codesourcery.com>
30745
30746 [BZ #14123]
30747 * math/s_ccosh.c: Include <float.h>
30748 (__ccosh): Avoid internal overflow calculating sinh and cosh
30749 values before multiplying by sin and cos values.
30750 * math/s_ccoshf.c: Likewise.
30751 * math/s_ccoshl.c: Likewise.
30752 * math/s_csin.c: Likewise.
30753 * math/s_csinf.c: Likewise.
30754 * math/s_csinl.c: Likewise.
30755 * math/s_csinh.c: Likewise.
30756 * math/s_csinhf.c: Likewise.
30757 * math/s_csinhl.c: Likewise.
30758 * math/libm-test.inc (ccos_test): Add more tests.
30759 (ccosh_test): Likewise.
30760 (csin_test): Likewise.
30761 (csinh_test): Likewise.
30762 * sysdeps/i386/fpu/libm-test-ulps: Update.
30763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30764
6ad13e08
L
307652012-05-19 H.J. Lu <hongjiu.lu@intel.com>
30766
f66f0ce8
L
30767 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30768 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30769
6ad13e08
L
30770 * sysdeps/x86_64/x32/_itoa.h: Add comment.
30771
b1d072a7
JM
307722012-05-19 Joseph Myers <joseph@codesourcery.com>
30773
30774 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30775 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30776 * sysdeps/powerpc/soft-fp/Versions: Likewise.
30777 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30778 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30779 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30780 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30781 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30782 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30783 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30784 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30785 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30786 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30787 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30788 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30789 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30790 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30791 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30792 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30793 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30794 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30795 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30796 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30797 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30798 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30799 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30800 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30801 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30802 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30803 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30804 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30805
9eae47cb
AJ
308062012-05-18 Andreas Jaeger <aj@suse.de>
30807
30808 * csu/.gitignore: Delete.
30809
bb07f69f
L
308102012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30811
30812 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30813 (timex): Use __syscall_slong_t.
30814
e6bdb741
AJ
308152012-05-18 Andreas Jaeger <aj@suse.de>
30816 Carlos O'Donell <carlos_odonell@mentor.com>
30817
30818 * manual/install.texi (Configuring and compiling): Update
30819 description about files modified in the source directory.
d6c33fda 30820 * INSTALL: Regenerated.
e6bdb741 30821
1b74487e
L
308222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30823
30824 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30825 value. Use "or" to set return value to -1.
30826 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30827 negate return value.
30828
a88b64b9
TMQMF
308292012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30830
57f41c40
AS
30831 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30832 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
30833 failure if the compiler has Graphite support disabled.
30834 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30835 Likewise.
57f41c40
AS
30836 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30837 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
30838 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30839 Likewise.
30840
3707636e
L
308412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
30842
610b8622
L
30843 * sysdeps/x86_64/x32/_itoa.h: New file.
30844
7cd195df
L
30845 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30846 getdents system call only if kernel and user dirents have the
30847 same d_ino and d_off.
30848
94b07d20
L
30849 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30850 LLONG_MAX != LONG_MAX.
30851 (_itoa_word): Use _ITOA_WORD_TYPE on value.
30852 (_fitoa_word): Likewise.
30853
18298070
L
30854 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30855 years.
30856 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30857 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30858 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30859
553c7ea4
L
30860 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30861 include <bits/wordsize.h>. Check __x86_64__ instead of
30862 __WORDSIZE.
30863 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30864 if __x86_64__ is defined. Use anonymous union on fpstate.
30865
3707636e
L
30866 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30867 anonymous union.
30868
b53ef01a
AS
308692012-05-18 Andreas Schwab <schwab@linux-m68k.org>
30870
37fb1dc0
AS
30871 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30872 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30873 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30874 Refer to _rtld_local_ro instead of _rtld_global_ro.
30875 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30876 Likewise.
30877 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30878 Likewise.
30879 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30880 Likewise.
30881 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30882 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30883 of _rtld_global, and rtld_progname instead of _dl_argv[0].
30884
b53ef01a
AS
30885 * sysdeps/powerpc/powerpc32/dl-machine.c
30886 (__elf_machine_runtime_setup) [PROF]: Don't reference
30887 _dl_prof_resolve.
30888
7a185db2
AJ
308892012-05-18 Andreas Jaeger <aj@suse.de>
30890
30891 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30892 function only available for GCCs before 3.4 since GCC 3.4
30893 introduced a builtin.
30894 (lrint): Likewise.
30895 (llrintf): Likewise.
30896 (llrint): Likewise.
30897 (fmaxf): Likewise.
30898 (fmax): Likewise.
30899 (fminf): Likewise.
30900 (fmin): Likewise.
30901 (rint): Likewise.
30902 (rintf): Likewise.
30903 (nearbyint): Likewise.
30904 (nearbyintf): Likewise.
30905 (ceil): Likewise.
30906 (ceilf): Likewise.
30907 (floor): Likewise.
30908 (floorf): Likewise.
30909
3e5aef87
L
309102012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30911
428bd707
L
30912 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30913 on both fields and cast pointer to __syscall_ulong_t.
30914
3e5aef87
L
30915 * bits/types.h (__fsword_t): New type.
30916 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30917 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30918 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30919 (__FSWORD_T_TYPE): Likewise.
30920 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30921 (__FSWORD_T_TYPE): Likewise.
30922 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30923 (__FSWORD_T_TYPE): Likewise.
30924 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30925 (__FSWORD_T_TYPE): Likewise.
30926 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30927 __SWORD_TYPE with __fsword_t.
30928 (statfs64): Likewise.
30929
1ba7c3dc
DM
309302012-05-17 David S. Miller <davem@davemloft.net>
30931
30932 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30933
59910343
AJ
309342012-05-17 Andreas Jaeger <aj@suse.de>
30935
30936 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30937 warning.
30938
2e4c1e9e
L
309392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30940
30941 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30942
de7f5ce7
AJ
309432012-05-17 Andreas Jaeger <aj@suse.de>
30944
30945 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30946 when it is used.
30947
286abc3d
CM
309482012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30949
30950 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30951
477cc68e
L
309522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
30953
30954 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30955 * sysdeps/x86_64/tst-mallocalign1.c: New file.
30956
1a0994f5
CD
309572012-05-17 Andreas Jaeger <aj@suse.de>
30958 Carlos O'Donell <carlos_odonell@mentor.com>
30959
30960 [BZ #14059]
30961 * sysdeps/x86_64/multiarch/init-arch.h
30962 (bit_YMM_Usable): Rename to...
30963 (bit_AVX_Usable): ... this.
30964 (bit_FMA4_Usable): New macro.
30965 (bit_XMM_state): New macro.
30966 (bit_YMM_state): New macro.
30967 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30968 [__ASSEMBLER__] (index_AVX_Usable): ... this.
30969 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30970 (CPUID_OSXSAVE): New macro.
30971 (CPUID_AVX): New macro.
30972 (CPUID_FMA4): New macro.
30973 (index_YMM_Usable): Rename to...
30974 (index_AVX_Usable): ... this.
30975 (HAS_AVX): Use HAS_ARCH_FEATURE.
30976 (HAS_FMA4): Likewise.
30977 (HAS_YMM_USABLE): Remove.
30978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30979 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30980 are present.
30981 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30982 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30983 * sysdeps/x86_64/multiarch/Makefile: Likewise.
30984 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30985 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30986
0af797de
CM
309872012-05-17 Chris Metcalf <cmetcalf@tilera.com>
30988
30989 * math/libm-test.c: Support platforms without multiple rounding modes.
30990 * math/bug-nextafter.c: Support platforms without FP exceptions.
30991 * math/bug-nexttoward.c: Likewise.
30992 * math/test-fenv.c: Likewise.
30993 * math/test-misc.c: Likewise.
30994 * stdlib/bug-getcontext.c: Likewise.
30995
e39745ff
AJ
309962012-05-17 Andreas Jaeger <aj@suse.de>
30997
30998 * manual/examples/search.c (critter_cmp): Change signature to
30999 avoid warnings.
31000 * manual/string.texi (Collation Functions): Likewise.
31001
48970aba
L
310022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31003
31004 * bits/types.h: Fold copyright years.
31005 * bits/typesizes.h: Likewise.
31006 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31007 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31008 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31009 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31010 * time/time.h: Likewise.
31011
bedee953
PP
310122012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31013
31014 [BZ #208]
31015 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31016 in instead of returning them. Return void.
31017 (__libc_mallinfo): Accumulate over all arenas.
31018 (__malloc_stats): Adjust for change in int_mallinfo interface.
31019
61653dfb
RM
310202012-05-16 Roland McGrath <roland@hack.frob.com>
31021
30b99d79
RM
31022 [BZ #10375]
31023 * configure.in (NM): Add AC_CHECK_TOOL for it.
31024 (libc_extra_cflags): New substituted variable.
31025 Check for -fstack-protector being used implicitly.
31026 * configure: Regenerated.
31027 * config.make.in (config-extra-cflags): New variable,
31028 gets @libc_extra_cflags@.
31029 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31030
61653dfb
RM
31031 [BZ #10375]
31032 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31033 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31034 * configure: Regenerated.
31035 * config.make.in (CPPUNDEFS): New substituted variable.
31036 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31037 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31038 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31039
661768bb
L
310402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31041
31042 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31043 (mq_attr): Use __syscall_slong_t.
31044
d4261567
L
310452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31046
31047 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31048 Check __x86_64__ instead of __WORDSIZE.
31049 (_STAT_VER_LINUX): Likewise.
31050 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31051 __syscall_ulong_t and __syscall_slong_t.
31052 (stat64): Likewise.
31053
cf3ff365
L
310542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31055
31056 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31057
76cf3e4d
L
310582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31059
31060 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31061
a637753a
L
310622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31063
31064 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31065 __syscall_ulong_t.
31066
d5e05119
L
31067 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31068 include <bits/wordsize.h>. Check __x86_64__ instead of
31069 __WORDSIZE.
31070 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31071 defined.
31072 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31073
f62ee380
L
31074 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31075 include <bits/wordsize.h>. Check __x86_64__ instead of
31076 __WORDSIZE.
31077 (user_regs_struct): Use "__extension__ unsigned long long"
31078 instead of "unsigned long" if __x86_64__ is defined.
31079 (user): Likewise. Pad after pointer field if __ILP32__ is
31080 defined.
31081
4e124ced
JM
310822012-05-16 Joseph Myers <joseph@codesourcery.com>
31083
6a3951a0
JM
31084 * configure.in (makeinfo): Require version 4.5 or later. Allow
31085 versions 5 to 9.
31086 * configure: Regenerated.
31087 * manual/install.texi (texinfo): Increase version requirement to
31088 4.5 or later.
31089 * INSTALL: Regenerated.
31090
4e124ced
JM
31091 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31092
953ca31a
L
310932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31094
31095 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31096
617aca05
L
31097 * sysdeps/x86_64/x32/ffs.c: New file.
31098
5762f7ae
L
31099 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31100 __syscall_ulong_t.
31101 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31102 defined. Use __syscall_ulong_t.
31103 (shminfo): Use __syscall_ulong_t.
31104 (shm_info): Likewise.
31105
a26b6856
L
31106 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31107 __syscall_ulong_t.
31108
cb2b9ef7
L
31109 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31110 <bits/wordsize.h>.
31111 (msgqnum_t): Use __syscall_ulong_t.
31112 (msglen_t): Likewise.
31113 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31114 __syscall_ulong_t.
31115
34683bb0
L
31116 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31117 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31118
84a68786
L
31119 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31120
48baa5f1
L
31121 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31122 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31123
180be88b
L
31124 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31125 __syscall_slong_t.
31126
5e90c8ad
L
31127 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31128 include <bits/wordsize.h>. Check __x86_64__ instead of
31129 __WORDSIZE.
31130
23dfb58b
L
31131 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31132 "unsigned long long int" if __x86_64__ is defined.
31133 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31134
ce5d54b0
L
31135 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31136 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31137 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31138
13dc9eac
L
31139 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31140 <stdint.h>.
31141 (GET_PC): Cast to uintptr_t first.
31142 (GET_FRAME): Likewise.
31143 (GET_STACK): Likewise.
31144
a7895d15
L
31145 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31146 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31147 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31148 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31149 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31150 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31151 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31152 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31153 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31154 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31155 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31156 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31157 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31158 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31159 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31160 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31161 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31162 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31163 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31164 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31165 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31166 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31167 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31168 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31169 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31170 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31171 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31172 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31173 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31174
656416c9
AS
311752012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31176
5bd66283
AS
31177 * Makerules (+depfiles): Also collect depfiles from .oS in
31178 $(extra-objs).
31179 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31180 .oS, $(libnldbl-routines)).
31181
656416c9
AS
31182 * Makerules (native-compile-mkdep-flags): Define.
31183 * sunrpc/Makefile (extra-objs): Add $(addprefix
31184 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31185 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31186 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31187 calling $(make-target-directory).
31188
a46f2169
L
311892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31190
31191 * bits/types.h (__snseconds_t): Removed.
31192 * time/time.h (struct timespec): Replace __snseconds_t with
31193 __syscall_slong_t.
31194 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31195 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31196 Likewise.
31197 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31198 (__SNSECONDS_T_TYPE): Likewise.
31199 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31200 (__SNSECONDS_T_TYPE): Likewise.
31201 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31202 (__SNSECONDS_T_TYPE): Likewise.
31203
6af6528b
L
312042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31205
31206 * sysdeps/mach/hurd/bits/typesizes.h
31207 (__SYSCALL_SLONG_TYPE): New macro.
31208 (__SYSCALL_ULONG_TYPE): Likewise.
31209
de986b56
L
312102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31211
31212 * bits/types.h (__syscall_slong_t): New type.
31213 (__syscall_ulong_t): Likewise.
31214
31215 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31216 (__SYSCALL_ULONG_TYPE): Likewise.
31217 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31218 (__SYSCALL_SLONG_TYPE): Likewise.
31219 (__SYSCALL_ULONG_TYPE): Likewise.
31220 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31221 (__SYSCALL_SLONG_TYPE): Likewise.
31222 (__SYSCALL_ULONG_TYPE): Likewise.
31223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31224 (__SYSCALL_SLONG_TYPE): Likewise.
31225 (__SYSCALL_ULONG_TYPE): Likewise.
31226
85736dc7
L
312272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31228
31229 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31230 Add sigaltstack-offsets.sym.
31231 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31232 <sigaltstack-offsets.h>.
31233 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31234 longjmp_msg pointer.
31235 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31236 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31237 signal stack.
31238 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31239
cc03b296
JM
312402012-05-15 Joseph Myers <joseph@codesourcery.com>
31241
a9538892
JM
31242 * elf/stackguard-macros.h: Remove file.
31243 * sysdeps/generic/stackguard-macros.h: New file.
31244 * sysdeps/i386/stackguard-macros.h: Likewise.
31245 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31246 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31247 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31248 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31249 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31250 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31251 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31252 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31253 <elf/stackguard-macros.h>.
31254
cc03b296
JM
31255 [BZ #14109]
31256 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31257 __aligned__ in attribute.
31258 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31259 (gregset_t): Likewise.
31260
93171016
L
312612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31262
31263 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31264 * sysdeps/x86_64/64/Implies-after: Here. New file.
31265 * sysdeps/x86_64/x32/Implies-after: New file.
31266
d86813a0
L
312672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31268
31269 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31270 and access return value for _dl_profile_fixup. Use R10_LP to
31271 load frame size.
31272
2953ec75
L
312732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31274
31275 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31276
3b550e9e
L
312772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31278
31279 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31280 * sysdeps/x86_64/x32/sysdep.h: New file.
31281
eda41706
L
312822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31283
31284 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31285 * sysdeps/x86_64/setjmp.S: Likewise.
31286
9ea01d93
AZ
312872012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31288
31289 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31290 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31291 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31292 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31293 remove unused global constant.
31294
02a91938
CM
312952012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31296
31297 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31298 include of <not-cancel.h>.
31299
6540185f
RM
313002012-05-15 Roland McGrath <roland@hack.frob.com>
31301
31302 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31303
509072a0
AJ
313042012-05-15 Jeff Law <law@redhat.com>
31305 Andreas Jaeger <aj@suse.de>
31306
31307 [BZ #13594]
31308 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31309 out from...
31310 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31311 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31312 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31313 code changing __hst_map_handle.map.
31314
ba75122d
RM
313152012-05-15 Roland McGrath <roland@hack.frob.com>
31316
31317 * configure.in (sysnames): Look for Implies-before and Implies-after
31318 files.
31319 * configure: Regenerated.
31320
890d8bd8
L
313212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31322
31323 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31324 8-byte data alignment with LP_SIZE alignment.
31325
f6ee6623
L
313262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31327
31328 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31329 into R10_LP.
31330
ea2626f6
L
313312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31332
31333 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31334
085f715e
L
313352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31336
31337 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31338 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31339 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31340 Likewise.
31341 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31342
be8498fc
L
313432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31344
31345 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31346 (stackinfo_sub_sp): Likewise.
31347
70bc83b9
L
313482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31349
31350 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31351 RAX_LP.
31352
9bc0b730
L
313532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31354
31355 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31356 into R*_LP.
31357
6d2850e7
L
313582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31359
31360 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31361 sizes into R*_LP.
31362
3cb84561
L
313632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31364
31365 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31366
54e2ed81
L
313672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31368
31369 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31370 into R11_LP and load __x86_64_shared_cache_size_half into
31371 R8_LP.
31372
8a17f349
L
313732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31374
31375 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31376 R8_LP.
31377
777b1eea
AZ
313782012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31379
31380 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31381 logb for POWER7.
31382 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31383 logbf for POWER7.
31384 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31385 logbl for POWER7.
31386 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31387 powerpc32/power7/fpu/s_logb.c via #include.
31388 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31389 powerpc32/power7/fpu/s_logbf.c via #include.
31390 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31391 powerpc32/power7/fpu/s_logbl.c via #include.
31392
d20d4ac2
JM
313932012-05-15 Joseph Myers <joseph@codesourcery.com>
31394
31395 * README.libm: Remove file.
31396
6cdef1ab
L
313972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31398
31399 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31400 count for x32. Use R*_LP and omit operand-size suffix.
31401
0b254d8f
L
314022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31403
31404 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31405 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31406 * sysdeps/x86_64/x32/shlib-versions: New file.
31407
ceb809dc
RM
314082012-05-14 Roland McGrath <roland@hack.frob.com>
31409
31410 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31411 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31412 Use _dl_fatal_printf instead.
31413
37f1abd4
JM
314142012-05-14 Joseph Myers <joseph@codesourcery.com>
31415
31416 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31417 set if not set by the user. Do not allow for being unset.
31418 * sysdeps/unix/sysv/linux/configure: Regenerated.
31419
11de3a33
L
314202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31421
31422 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31423 the `q' suffix from lea and replace .quad with ASM_ADDR.
31424
e02f153a
L
314252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31426
31427 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31428 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31429 instead of $17.
31430 (PTR_DEMANGLE): Likewise.
31431
520ae0fd
L
314322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31433
31434 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31435 (LP_OP): Likewise.
31436 (ASM_ADDR): Likewise.
31437 (RAX_LP): Likewise.
31438 (RBP_LP): Likewise.
31439 (RBX_LP): Likewise.
31440 (RCX_LP): Likewise.
31441 (RDI_LP): Likewise.
31442 (RSI_LP): Likewise.
31443 (RSP_LP): Likewise.
31444 (R8_LP): Likewise.
31445 (R9_LP): Likewise.
31446 (R10_LP): Likewise.
31447 (R10_LP): Likewise.
31448 (R11_LP): Likewise.
31449 (R12_LP): Likewise.
31450 (R13_LP): Likewise.
31451 (R14_LP): Likewise.
31452 (R15_LP): Likewise.
31453
b985be81
L
314542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31455
31456 * sysdeps/x86_64/x32/dl-machine.h: New file.
31457
6a4888ff
AJ
314582012-05-14 Andreas Jaeger <aj@suse.de>
31459
31460 * manual/Makefile (subdir): Remove export of subdir.
31461 (all): Remove target.
31462 (.PHONY): Remove all from list.
31463 (mkinstalldirs): Remove.
31464 (.PHONY): Remove installdirs from list.
31465 ($(inst_infodir)/libc.info): Use make-target-directory.
31466 (installdirs): Remove.
31467 (subdir_%): Remove.
31468 (glibc-targets): Remove.
31469 (lib): Remove.
31470 (stubs): Remove.
31471 ($(objpfx)stubs ../po/manual.pot): Remove.
31472 ($(objpfx)stamp%): Remove.
31473 (make-target-directory): Remove.
31474 (subdir_install): Remove.
31475 (routines): Remove.
31476 (aux): Remove.
31477 (sources): Remove.
31478 (objects): Remove.
31479 (headers): Remove.
31480
31481 [BZ #13750]
31482 * manual/.gitignore: Remove, it's not needed anymore.
31483 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31484 all files in it.
31485 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31486 directory.
31487 (texis): Renamed to $(objpfx)texis.
31488 (texis-path): New, contains path to generated files.
31489 (chapters.%): Use texis-path for complete path, add extra argument
31490 libc-texinfo.sh.
31491 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31492 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31493 (summary,texi, stamp-summary): Use complete path of
31494 files. Generate files in build dir.
31495 (dir-add.texi): Build in build dir.
31496 (libm-err.texi,stamp-libm-err): Likewise.
31497 (version.texi, stamp-version): Likewise.
31498 (.%c.texi): Likewise.
31499 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
31500 (mostlyclean): Remove target.
31501 (realclean): Remove target.
31502 (generated): Add new variable with contents from mostlyclean and
31503 realclean, remove entries duplicated in common-mostlyclean, add
31504 stamp-libm-err and stamp-version.
31505 (generated-dirs): Add libc directory.
31506 ($(inst_infodir)/libc.info): Install files from build dir.
31507
31508 * manual/install.texi (Configuring and compiling): Adjust since
31509 the info files are not part of the tar ball anymore.
31510
7ac77294
AJ
315112012-05-14 Andreas Jaeger <aj@suse.de>
31512
31513 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
31514 variable.
31515
ffb7875d
JM
315162012-05-14 Joseph Myers <joseph@codesourcery.com>
31517
31518 [BZ #13717]
31519 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31520 to 2.2.0 where earlier.
31521 * sysdeps/unix/sysv/linux/configure: Regenerated.
31522 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
31523 Remove conditional code.
31524 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
31525 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
31526 Remove conditional code.
31527 [!__NR_lchown]: Likewise.
31528 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31529 [__NR_lchown]: Likewise.
31530 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
31531 comment referencing __ASSUME_LCHOWN_SYSCALL.
31532 * sysdeps/unix/sysv/linux/i386/sigaction.c
31533 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31534 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31535 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
31536 Remove conditional code.
31537 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
31538 (__protocol_available): Remove #if 0 code.
31539 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
31540 conditional code.
31541 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
31542 * sysdeps/unix/sysv/linux/kernel-features.h
31543 (__ASSUME_GETCWD_SYSCALL): Don't define.
31544 (__ASSUME_REALTIME_SIGNALS): Likewise.
31545 (__ASSUME_PREAD_SYSCALL): Likewise.
31546 (__ASSUME_PWRITE_SYSCALL): Likewise.
31547 (__ASSUME_POLL_SYSCALL): Likewise.
31548 (__ASSUME_LCHOWN_SYSCALL): Likewise.
31549 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
31550 non-SPARC.
31551 (__ASSUME_SIOCGIFNAME): Don't define.
31552 (__ASSUME_MSG_NOSIGNAL): Likewise.
31553 (__ASSUME_SENDFILE): Define unconditionally.
31554 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
31555 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
31556 conditional code.
31557 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
31558 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
31559 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31560 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31561 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
31562 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
31563 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
31564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
31565 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31566 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31568 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31569 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
31571 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31572 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31574 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31575 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
31577 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31578 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
31580 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
31581 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
31583 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31584 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
31586 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31587 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31588 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
31589 Remove conditional code.
31590 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31591 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31592 Remove conditional code.
31593 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31594 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
31595 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
31596 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31597 Remove conditional code.
31598 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31599 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
31600 Remove conditional code.
31601 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31602 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
31603 Remove conditional code.
31604 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31605 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
31606 Remove conditional code.
31607 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
31608 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
31609 Remove conditional code.
31610 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31611 * sysdeps/unix/sysv/linux/sh/pwrite64.c
31612 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
31613 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
31614 * sysdeps/unix/sysv/linux/sigaction.c
31615 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31616 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31617 * sysdeps/unix/sysv/linux/sigpending.c
31618 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31619 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31620 * sysdeps/unix/sysv/linux/sigprocmask.c
31621 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31622 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31623 * sysdeps/unix/sysv/linux/sigsuspend.c
31624 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
31625 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
31626 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31627 (__libc_missing_rt_sigs): Remove.
31628 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
31629 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
31630 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
31631 Remove conditional code.
31632 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
31633 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
31634 return 1.
31635 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
31636 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
31637 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
31638 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
31639
1bfb7291
AJ
316402012-05-14 Andreas Jaeger <aj@suse.de>
31641
caae5a81
AJ
31642 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
31643 it's not used in glibc.
31644 (__coshm1): Likewise.
31645 (__acosh1p): Likewise.
31646 (__sgn): Likewise.
31647
1bfb7291
AJ
31648 * manual/string.texi (Copying and Concatenation): Add missing
31649 variable in concat example.
31650 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
31651
c044d724
L
316522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31653
144c5467 31654 [BZ #14103]
c044d724
L
31655 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
31656 __builtin_clzl with __builtin_clzll.
31657
2523c62b
L
316582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31659
31660 [BZ #14104]
31661 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
31662 libc_freeres_ptr.
31663
d7bb4c42
LD
316642012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31665
31666 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
31667 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
31668 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
31669 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
31670
9dc4e1fb
MF
316712012-05-14 Mike Frysinger <vapier@gentoo.org>
31672
31673 * NEWS: Update ia64 info.
31674
c7df0112
AS
316752012-05-12 Andreas Schwab <schwab@linux-m68k.org>
31676
31677 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
31678 used as bcopy.
31679
dc70356c
TS
316802012-05-12 Thomas Schwinge <thomas@codesourcery.com>
31681
31682 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
31683 * sysdeps/unix/syscalls.list (dup3): Likewise.
31684 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
31685 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
31686
9fb1a21f
L
316872012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31688
31689 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
31690 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
31691
4822a2a5
L
316922012-05-11 H.J. Lu <hongjiu.lu@intel.com>
31693
31694 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
31695 thread pointer.
31696 (TLS_IE): Use mov/add instead of movq/addq to load thread
31697 pointer.
31698 (TLS_GD_PREFIX): New.
31699 (TLS_GD): Use it.
31700
842b81d6
DM
317012012-05-11 David S. Miller <davem@davemloft.net>
31702
31703 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
31704 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
31705 (_FPU_SETCW): Likewise.
31706
1cf463cd
L
317072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31708
31709 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31710 is 32-byte aligned.
31711
60cc4a18
AS
317122012-05-11 Andreas Schwab <schwab@linux-m68k.org>
31713
31714 [BZ #11837]
31715 * iconvdata/gb18030.c: Update tables.
31716 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
31717 characters specially.
31718 (BODY for TO_LOOP): Add encoding of missing ranges.
31719
febb44a4
TS
317202012-05-11 Thomas Schwinge <thomas@codesourcery.com>
31721
31722 [BZ #13673]
31723 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31724 * sysdeps/mach/hurd/dup3.c: Likewise.
31725 * sysdeps/mach/hurd/readlinkat.c: Likewise.
31726 * sysdeps/powerpc/memmove.c:: Likewise.
31727
0a10fb9e
L
317282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31729
31730 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31731 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31732
df8a552f
L
317332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
31734
31735 * elf/elf.h (R_X86_64_RELATIVE64): New.
31736 (R_X86_64_NUM): Updated.
31737 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31738 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
31739 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31740 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31741 tst-quad1pie tst-quad2pie
31742 (modules-names): Add tst-quadmod1 tst-quadmod2.
31743 ($(objpfx)tst-quad1): New dependency.
31744 ($(objpfx)tst-quad2): Likewise.
31745 ($(objpfx)tst-quad1pie): Likewise.
31746 ($(objpfx)tst-quad2pie): Likewise.
31747 * sysdeps/x86_64/tst-quad1.c: New file.
31748 * sysdeps/x86_64/tst-quad1pie.c: New file.
31749 * sysdeps/x86_64/tst-quad2.c: Likewise.
31750 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31751 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31752 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31753 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31754 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31755
f34d6f84
ST
317562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31757
f42d41d1
ST
31758 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31759 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31760 * streams/stropts.h (t_scalar_t): Define type.
31761
3c3571fc
ST
31762 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31763 (_PATH_PRESERVE): Set to "/var/lib".
31764 (_PATH_RWHODIR): Set to "/var/spool/rwho".
31765
61f06bd3
ST
31766 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31767 instead of int.
31768
918d4d71
ST
31769 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31770 if __dir_mkfile succeeded.
31771
f34d6f84
ST
31772 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31773 checking for _hurd_dtablesize. Unlock it right after having
31774 finished _hurd_dtable allocation.
31775
10589b4a
TS
317762012-05-10 Thomas Schwinge <thomas@schwinge.name>
31777
674cdbc7
TS
31778 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31779 * sysdeps/mach/hurd/configure: Regenerated.
31780 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31781 special-casing to...
31782 * sysdeps/gnu/configure.in: ... this new file.
31783 * sysdeps/unix/sysv/linux/configure: Regenerated.
31784 * sysdeps/gnu/configure: New generated file.
31785
8e41b99f
TS
31786 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31787 for Linux: use nsec instead of usec, as well as:
31788 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31789 members of type struct timespec.
31790 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31791 New macros.
31792 (struct stat64): Likewise.
31793 (_STATBUF_ST_NSEC): New macro.
31794 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31795
10589b4a
TS
31796 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31797 __strtoul_internal rather than strtoul.
31798
63643c85
PT
317992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31800
31801 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31802 and reject them.
31803
3faebe6a
ST
318042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31805
31806 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31807 which preserves existing values.
31808 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31809
c6474b07
PT
318102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31811
31812 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31813 TIMEOUT values. Return EINVAL for NFDS values either negative or
31814 greater than FD_SETSIZE.
31815
1043890b
ST
318162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31817
31818 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31819 allocated, call __vm_protect to finish enabling the existing space, and
31820 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31821 allocate the remainder.
31822
37ed8b9b
PT
318232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31824
31825 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31826 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
31827
db653660
ST
318282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31829
37ed8b9b
PT
31830 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31831 sysdeps/mach/hurd/readlink.c.
b29d4053 31832
db653660
ST
31833 * posix/tst-sysconf.c (posix_options): Only use
31834 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31835 _POSIX_SYNCHRONIZED_IO when they are defined
31836 * sysdeps/mach/hurd/bits/posix_opt.h:
31837 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31838 (_XOPEN_REALTIME): Undefine macro.
31839 (_XOPEN_REALTIME_THREADS): Undefine macro.
31840 (_XOPEN_SHM): Undefine macro.
31841 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31842 macro to -1.
31843 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31844 macro to -1.
31845 (_POSIX_ASYNC_IO): Undefine macro.
31846 (_POSIX_PRIORITIZED_IO): Undefine macro.
31847 (_POSIX_SPIN_LOCKS): Define macro to -1.
31848
ee16e894
ST
31849 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31850 SA_NODEFER, SA_RESETHAND.
31851 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31852 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31853 F_DUPFD_CLOEXEC.
31854
6103ae3b
TS
318552012-05-10 Thomas Schwinge <thomas@schwinge.name>
31856
31857 * elf/Makefile (pldd-modules): Define unconditionally.
31858
80b4e5f3
TS
318592012-05-10 Thomas Schwinge <thomas@schwinge.name>
31860
31861 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31862
edadcbd6
ST
318632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31864
31865 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31866 Return ENOENT when name is empty.
31867 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31868
80694780
TS
318692012-05-10 Thomas Schwinge <thomas@schwinge.name>
31870
1792c087
TS
31871 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31872
80694780
TS
31873 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31874
6b645f0d
ST
318752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31876
80694780
TS
31877 Fix mlock in all cases except non-readable pages.
31878 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31879 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 31880
6b645f0d
ST
31881 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31882 (__mkdir): When path is `/', just fail with EEXIST.
31883 * sysdeps/mach/hurd/mkdirat.c: Likewise.
31884
e468f8a3
TS
318852012-05-10 Thomas Schwinge <thomas@schwinge.name>
31886
31887 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31888 <sys/uio.h> (for writev).
31889 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31890 and <sys/param.h> (for MIN).
31891
a4186cff
PT
318922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
31893
31894 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31895 REQUESTED_TIME. Properly set the remaining time and return EINTR
31896 if interrupted.
31897
510bbf14
TS
318982012-05-10 Thomas Schwinge <thomas@schwinge.name>
31899
31900 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31901 Depend on against $(link-rpcuserlibs).
31902
5d5722e8
ST
319032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31904
a4186cff
PT
31905 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31906 (__libc_stack_end): Do not use attribute_relro.
31907 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31908 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 31909 to libthread-provided value.
a4186cff
PT
31910 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31911 attribute_relro.
5d5722e8 31912
37233df9
TS
319132012-05-10 Thomas Schwinge <thomas@schwinge.name>
31914
be971a2b
TS
31915 [BZ #3748]
31916 * bits/libc-lock.h (__libc_once_get): New macro.
31917 * sysdeps/mach/bits/libc-lock.h: Likewise.
31918 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31919 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31920 instead of using implementation details.
31921
37233df9
TS
31922 * libio/fileops.c: Unconditionally include <kernel-features.h>.
31923 * libio/freopen.c: Likewise.
31924 * libio/freopen64.c: Likewise.
31925 * misc/syslog.c: Likewise.
31926 * nscd/connections.c: Likewise.
31927 * nscd/netgroupcache.c: Likewise.
31928 * sysdeps/posix/getcwd.c: Likewise.
31929
38de94a5
RM
319302012-05-10 Roland McGrath <roland@hack.frob.com>
31931
31932 * math/w_ilogbf.c: Add #include <limits.h>.
31933
67530489
ST
319342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31935
a4186cff 31936 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
31937 path instead of returning without unlocking.
31938
67530489
ST
31939 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31940 immediate-write ioctls.
31941 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31942
5aa3a74a
TS
319432012-05-10 Thomas Schwinge <thomas@schwinge.name>
31944
18bad2ae
TS
31945 * sysdeps/mach/hurd/i386/init-first.c (init): Use
31946 __builtin_frame_address instead of making assumptions about the
31947 location of the return address relative to DATA. Force early load of
31948 the return address.
31949 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31950 __builtin_frame_address.
31951
5aa3a74a
TS
31952 dup3 for GNU Hurd.
31953 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31954 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
31955 implement dup3 and do some further code clean-ups.
31956 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31957 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31958
ecd0de9a
ST
319592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31960
cd9fa985
ST
31961 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31962
a4186cff
PT
31963 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31964 HURD_CRITICAL_END around holding _hurd_dtable_lock.
31965 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31966 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31967 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31968 d->port.lock.
802ca5a5 31969
a4186cff
PT
31970 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31971 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
31972 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 31973
bcf55240
TS
319742012-05-10 Thomas Schwinge <thomas@schwinge.name>
31975
6960eb42
TS
31976 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31977 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31978 definitions.
31979
eb43375f
TS
31980 accept4 for GNU Hurd.
31981 * include/sys/socket.h (__libc_accept4): New prototype.
31982 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
31983 to implement __libc_accept4.
31984 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31985 __libc_accept4.
31986 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31987
bcf55240
TS
31988 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31989 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31990 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31991 signal-defines.sym.
31992
6178c55b
ST
319932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31994
a4186cff 31995 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 31996
6f080c2f
TS
319972012-05-10 Thomas Schwinge <thomas@schwinge.name>
31998
31999 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32000 assertion on O_CLOEXEC flag.
32001 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32002 * hurd/intern-fd.c: Likewise.
32003 * hurd/port2fd.c: Likewise.
32004
bcfe3a54
ST
320052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32006
32007 [BZ #3906]
32008 * bits/in.h (IPV6_PKTINFO): Define new macro.
32009 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32010
89c9aa49
AZ
320112012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32012
32013 [BZ #13954]
32014 [BZ #13955]
32015 [BZ #13956]
32016 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32017 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32018 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32019 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32020 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32021 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32022 * math/libm-test.inc (logb_test) : Additional logb tests.
32023
021db4be
AJ
320242012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32025 Andreas Jaeger <aj@suse.de>
32026
32027 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32028 * configure: Regenerated.
32029 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32030 * config.make.in (link-obsolete-rpc): New substituted variable.
32031 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32032 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32033 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32034 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32035 so that libc.a contains the symbols.
32036 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32037 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32038 * sunrpc/auth_none.c: Likewise.
32039 * sunrpc/auth_unix.c: Likewise.
32040 * sunrpc/authdes_prot.c: Likewise.
32041 * sunrpc/authuxprot.c: Likewise.
32042 * sunrpc/clnt_gen.c: Likewise.
32043 * sunrpc/clnt_perr.c: Likewise.
32044 * sunrpc/clnt_raw.c: Likewise.
32045 * sunrpc/clnt_simp.c: Likewise.
32046 * sunrpc/clnt_tcp.c: Likewise.
32047 * sunrpc/clnt_udp.c: Likewise.
32048 * sunrpc/clnt_unix.c: Likewise.
32049 * sunrpc/des_crypt.c: Likewise.
32050 * sunrpc/des_soft.c: Likewise.
32051 * sunrpc/get_myaddr.c: Likewise.
32052 * sunrpc/key_call.c: Likewise.
32053 * sunrpc/key_prot.c: Likewise.
32054 * sunrpc/netname.c: Likewise.
32055 * sunrpc/pm_getmaps.c: Likewise.
32056 * sunrpc/pm_getport.c: Likewise.
32057 * sunrpc/pmap_clnt.c: Likewise.
32058 * sunrpc/pmap_prot.c: Likewise.
32059 * sunrpc/pmap_prot2.c: Likewise.
32060 * sunrpc/pmap_rmt.c: Likewise.
32061 * sunrpc/publickey.c: Likewise.
32062 * sunrpc/rpc_cmsg.c: Likewise.
32063 * sunrpc/rpc_common.c: Likewise.
32064 * sunrpc/rpc_dtable.c: Likewise.
32065 * sunrpc/rpc_prot.c: Likewise.
32066 * sunrpc/rpc_thread.c: Likewise.
32067 * sunrpc/rtime.c: Likewise.
32068 * sunrpc/svc.c: Likewise.
32069 * sunrpc/svc_auth.c: Likewise.
32070 * sunrpc/svc_raw.c: Likewise.
32071 * sunrpc/svc_run.c: Likewise.
32072 * sunrpc/svc_tcp.c: Likewise.
32073 * sunrpc/svc_udp.c: Likewise.
32074 * sunrpc/svc_unix.c: Likewise.
32075 * sunrpc/svcauth_des.c: Likewise.
32076 * sunrpc/xcrypt.c: Likewise.
32077 * sunrpc/xdr.c: Likewise.
32078 * sunrpc/xdr_array.c: Likewise.
32079 * sunrpc/xdr_float.c: Likewise.
32080 * sunrpc/xdr_intXX_t.c: Likewise.
32081 * sunrpc/xdr_mem.c: Likewise.
32082 * sunrpc/xdr_rec.c: Likewise.
32083 * sunrpc/xdr_ref.c: Likewise.
32084 * sunrpc/xdr_sizeof.c: Likewise.
32085 * sunrpc/xdr_stdio.c: Likewise.
32086
b5c086a2
RM
320872012-05-10 Roland McGrath <roland@hack.frob.com>
32088
32089 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32090 change. Update copyright years.
32091
6d74dd09
JM
320922012-05-10 Joseph Myers <joseph@codesourcery.com>
32093
32094 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32095
28e72501
MK
320962012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32097 Joseph Myers <joseph@codesourcery.com>
32098 Paul Pluzhnikov <ppluzhnikov@google.com>
32099
32100 [BZ #14012]
32101 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32102 requiring rpcgen.
32103 [cross-compiling] (extra-libs): Likewise.
32104 [cross-compiling] (extra-libs-others): Likewise.
32105 [cross-compiling] (librpcsvc-routines): Likewise.
32106 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32107 [cross-compiling] (omit-deps): Likewise.
32108 (sunrpc-CPPFLAGS): New variable.
32109 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32110 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32111 (cross-rpcgen-objs): New variable.
32112 (extra-objs): Append $(cross-rpcgen-objs).
32113 ($(cross-rpcgen-objs)): New rule.
32114 ($(objpfx)cross-rpcgen): Likewise.
32115 (rpcgen-cmd): Define to use $(built-program-file). Expand
32116 comment.
32117 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32118 ($(objpfx)x%.stmp): Likewise.
32119 * sunrpc/proto.h [IS_IN_build] (_): Define.
32120 [IS_IN_build] (_libc_intl_domainname): Likewise.
32121
c8c59454
L
321222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32123
32124 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32125 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32126 and R_X86_64_TPOFF64.
32127
6f27cd16
JM
321282012-05-10 Joseph Myers <joseph@codesourcery.com>
32129
32130 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32131 sysdeps/unix/sysv/syscalls.list.
32132 (stime): Likewise.
32133 (utime): Likewise.
32134 * sysdeps/unix/sysv/syscalls.list: Remove file.
32135
02467e1c
PE
321362012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32137
32138 [BZ #3440]
32139 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32140 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32141 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32142 (__LC_IDENTIFICATION): Make these macros useful in #if
32143 expressions, as required by C99.
32144
da392631
AS
321452012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32146
32147 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32148 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32149 after this.
32150
8115f29b
L
321512012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32152
32153 * stdlib/longlong.h: Updated from GCC.
32154
bdd74070
AJ
321552012-05-09 Andreas Jaeger <aj@suse.de>
32156
edfe0dbe
AJ
32157 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32158 default is first entry.
32159 (run_mode): Set type.
32160 (main): Remove informal message about syslog.
32161 (options): Fix typo.
32162
bcfe3a54
ST
32163 [BZ #14053]
32164 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 32165 to asm.
bcfe3a54
ST
32166 (lrint): Likewise.
32167 (llrintf): Likewise.
32168 (llrint): Likewise.
32169 (rint): Likewise.
32170 (rintf): Likewise.
32171 (nearbyint): Likewise.
32172 (nearbyintf): Likewise.
bdd74070 32173
91d8d69e
AJ
321742012-05-09 Andreas Jaeger <aj@suse.de>
32175 Pedro Alves <palves@redhat.com>
32176
32177 * nscd/nscd.c (run_mode): Use enum.
32178 (main): Cleanup coding style issue.
32179
bb90b80b
AJ
321802012-05-09 Alexandre Oliva <aoliva@redhat.com>
32181 Andreas Jaeger <aj@suse.de>
32182
bcfe3a54
ST
32183 * nscd/nscd.c (go_background): Replaced with...
32184 (run_mode): ... this.
bb90b80b 32185 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
32186 (options): Add -F --foreground.
32187 (main): Implement it.
32188 (parse_opt): Parse it.
bb90b80b 32189
1a4b75a1
AJ
321902012-05-09 Andreas Jaeger <aj@suse.de>
32191
32192 [BZ #14083]
32193 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32194 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32195 -Wconversion warning.
32196 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32197 Likewise.
32198
b1cc2472
JM
321992012-05-09 Joseph Myers <joseph@codesourcery.com>
32200
32201 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32202 == 0.
32203 (LC_ALL): Use macro-int-constant.
32204 (LC_COLLATE): Likewise.
32205 (LC_CTYPE): Likewise.
32206 (LC_MESSAGES): Likewise.
32207 (LC_MONETARY): Likewise.
32208 (LC_NUMERIC): Likewise.
32209 (LC_TIME): Likewise.
32210 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32211 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32212 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32213 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32214 Specify type.
32215 [C99-based standards] (float_t): Expect type.
32216 [C99-based standards] (double_t): Expect type.
32217 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32218 type.
32219 [C99-based standards] (HUGE_VALL): Likewise.
32220 [C99-based standards] (INFINITY): Likewise.
32221 [C99-based standards] (NAN): Likewise.
32222 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32223 [C99-based standards] (FP_NAN): Likewise.
32224 [C99-based standards] (FP_NORMAL): Likewise.
32225 [C99-based standards] (FP_SUBNORMAL): Likewise.
32226 [C99-based standards] (FP_ZERO): Likewise.
32227 [C99-based standards] (FP_FAST_FMA): Use
32228 optional-macro-int-constant. Specify type. Require == 1.
32229 [C99-based standards] (FP_FAST_FMAF): Likewise.
32230 [C99-based standards] (FP_FAST_FMAL): Likewise.
32231 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32232 [C99-based standards] (FP_ILOGBNAN): Likewise.
32233 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32234 Specify type.
32235 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32236 [C99-based standards] (math_errhandling): Specify type.
32237 [ISO99 || ISO11] (signgam): Do not allow.
32238 [non-C99-based standards] (copysignf): Do not allow.
32239 [non-C99-based standards] (exp2f): Likewise.
32240 [non-C99-based standards] (log2f): Likewise.
32241 [non-C99-based standards] (modff): Allow.
32242 [non-C99-based standards] (erff): Do not allow.
32243 [non-C99-based standards] (erfcf): Likewise.
32244 [non-C99-based standards] (gammaf): Likewise.
32245 [non-C99-based standards] (hypotf): Likewise.
32246 [non-C99-based standards] (j0f): Likewise.
32247 [non-C99-based standards] (j1f): Likewise.
32248 [non-C99-based standards] (jnf): Likewise.
32249 [non-C99-based standards] (lgammaf): Likewise.
32250 [non-C99-based standards] (tgammaf): Likewise.
32251 [non-C99-based standards] (y0f): Likewise.
32252 [non-C99-based standards] (y1f): Likewise.
32253 [non-C99-based standards] (ynf): Likewise.
32254 [non-C99-based standards] (isnanf): Likewise.
32255 [non-C99-based standards] (acoshf): Likewise.
32256 [non-C99-based standards] (asinhf): Likewise.
32257 [non-C99-based standards] (atanhf): Likewise.
32258 [non-C99-based standards] (cbrtf): Likewise.
32259 [non-C99-based standards] (expm1f): Likewise.
32260 [non-C99-based standards] (ilogbf): Likewise.
32261 [non-C99-based standards] (log1pf): Likewise.
32262 [non-C99-based standards] (logbf): Likewise.
32263 [non-C99-based standards] (nextafterf): Likewise.
32264 [non-C99-based standards] (remainderf): Likewise.
32265 [non-C99-based standards] (rintf): Likewise.
32266 [non-C99-based standards] (scalbf): Likewise.
32267 [non-C99-based standards] (copysignl): Likewise.
32268 [non-C99-based standards] (exp2l): Likewise.
32269 [non-C99-based standards] (log2l): Likewise.
32270 [non-C99-based standards] (modfl): Allow.
32271 [non-C99-based standards] (erfl): Do not allow.
32272 [non-C99-based standards] (erfcl): Likewise.
32273 [non-C99-based standards] (gammal): Likewise.
32274 [non-C99-based standards] (hypotl): Likewise.
32275 [non-C99-based standards] (j0l): Likewise.
32276 [non-C99-based standards] (j1l): Likewise.
32277 [non-C99-based standards] (jnl): Likewise.
32278 [non-C99-based standards] (lgammal): Likewise.
32279 [non-C99-based standards] (tgammal): Likewise.
32280 [non-C99-based standards] (y0l): Likewise.
32281 [non-C99-based standards] (y1l): Likewise.
32282 [non-C99-based standards] (ynl): Likewise.
32283 [non-C99-based standards] (isnanl): Likewise.
32284 [non-C99-based standards] (acoshl): Likewise.
32285 [non-C99-based standards] (asinhl): Likewise.
32286 [non-C99-based standards] (atanhl): Likewise.
32287 [non-C99-based standards] (cbrtl): Likewise.
32288 [non-C99-based standards] (expm1l): Likewise.
32289 [non-C99-based standards] (ilogbl): Likewise.
32290 [non-C99-based standards] (log1pl): Likewise.
32291 [non-C99-based standards] (logbl): Likewise.
32292 [non-C99-based standards] (nextafterl): Likewise.
32293 [non-C99-based standards] (remainderl): Likewise.
32294 [non-C99-based standards] (rintl): Likewise.
32295 [non-C99-based standards] (scalbl): Likewise.
32296 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32297 [non-C99-based standards] (FP_*): Do not allow.
32298 [C99-based standards] (FP_*): Change to
32299 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32300 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32301 allow.
32302 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32303 (SIG_ERR): Likewise.
32304 [X/Open-based standards] (SIG_HOLD): Likewise.
32305 (SIG_IGN): Likewise.
32306 (SIGABRT): Use macro-int-constant. Specify type. Require
32307 positive value.
32308 (SIGFPE): Likewise.
32309 (SIGILL): Likewise.
32310 (SIGINT): Likewise.
32311 (SIGSEGV): Likewise.
32312 (SIGTER): Likewise.
32313 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32314 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32315 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32316 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32317 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32318 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32319 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32320 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32321 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32322 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32323 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32324 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32325 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32326 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32327 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32328 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32329 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32330 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32331 [X/Open-based standards] (SIGTRAP): Likewise.
32332 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32333 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32334 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32335 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32336 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32337 allow.
32338
b9f1922d
IW
323392012-05-08 Ian Wienand <ianw@vmware.com>
32340
32341 [BZ #14080]
32342 * time/tzset.c (__tzset_parse_tz): Update default rules for
32343 daylight time changes in the Energy Policy Act of 2005.
32344
1db86e88
AJ
323452012-05-09 Andreas Jaeger <aj@suse.de>
32346
32347 [BZ #13983]
32348 * elf/ldconfig.c (parse_conf): Change string to make clear that
32349 ldconfig only issued a warning if ld.so.conf does not exist.
32350
dee4a4e3
DM
323512012-05-08 David S. Miller <davem@davemloft.net>
32352
ee0db190
DM
32353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32354 movxtod instead of popping the value on the stack.
32355
dee4a4e3
DM
32356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32357
6a43ec98
CD
323582012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32359
32360 * config.h.in: Add HAVE_ARM_PCS_VFP.
32361
05c2c961
RMG
323622012-05-08 Roland Mc Grath <roland@hack.frob.com>
32363
bcfe3a54
ST
32364 [BZ #13979]
32365 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32366 checking but the checks are disabled for any reason.
05c2c961 32367
4b30f61a
L
323682012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32369
32370 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32371 and ELF64_R_TYPE with ELFW(R_TYPE).
32372
eee2bc67
JM
323732012-05-08 Joseph Myers <joseph@codesourcery.com>
32374
7ea5391a
JM
32375 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32376 (ulimit): Likewise.
32377
eee2bc67
JM
32378 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32379 (settimeofday): Likewise.
32380
abb66a67
MF
323812012-05-08 Mike Frysinger <vapier@gentoo.org>
32382
32383 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32384 a struct th_u2 inside the union, and move tu_block/tu_code into
32385 a new th_u3 union of tu_block/tu_code inside of that. Move
32386 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32387 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32388 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32389 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32390 (th_stuff): Change to th_u1.tu_stuff.
32391 (th_data): Define.
32392 (th_msg): Change to th_u1.th_u2.tu_data.
32393
7f18b530
DM
323942012-05-07 David S. Miller <davem@davemloft.net>
32395
05760585
DM
32396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32397
7f18b530
DM
32398 [BZ #14074]
32399 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32400 (SETUP_PIC_REG): Use it.
32401 (SETUP_PIC_REG_LEAF): Use it.
32402
495fd99f
JM
324032012-05-07 Joseph Myers <joseph@codesourcery.com>
32404
32405 [BZ #13885]
32406 [BZ #13923]
32407 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32408 USE_AS_EXPM1L.
32409 (EXPL_FINITE): Likewise.
32410 (FLDLOG): Likewise.
32411 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32412 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32413 e_expl.S.
32414 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32415 USE_AS_EXPM1L.
32416 (EXPL_FINITE): Likewise.
32417 (FLDLOG): Likewise.
32418 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32419 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32420 e_expl.S.
32421 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32422 test of -max_value argument for long double.
32423 * sysdeps/i386/fpu/libm-test-ulps: Update.
32424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32425
6693d694
DM
324262012-05-06 David S. Miller <davem@davemloft.net>
32427
32428 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32429 quad soft-float symbols whose references which are compiler
32430 generated.
32431 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32432
6c23e11c
JM
324332012-05-06 Joseph Myers <joseph@codesourcery.com>
32434
d8b82cad
JM
32435 [BZ #13884]
32436 [BZ #13914]
32437 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32438 USE_AS_EXP10L.
32439 (EXPL_FINITE): Likewise.
32440 (FLDLOG): Likewise.
32441 (c0): Likewise.
32442 (c1): Likewise.
32443 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32444 Adjust comments for base varying.
32445 (__expl_finite): Change alias to EXPL_FINITE.
32446 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32447 e_expl.S.
32448 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32449 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32450 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32451 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32452 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32453 USE_AS_EXP10L.
32454 (EXPL_FINITE): Likewise.
32455 (FLDLOG): Likewise.
32456 (c0): Likewise.
32457 (c1): Likewise.
32458 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32459 Adjust comments for base varying.
32460 (__expl_finite): Change alias to EXPL_FINITE.
32461 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32462 tests for bugs.
32463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32464
6c23e11c
JM
32465 [BZ #14064]
32466 * math/libm-test.inc (check_float_internal): Correct ulp
32467 calculation for subnormal expected results.
32468
29ba805c
AJ
324692012-05-06 Andreas Jaeger <aj@suse.de>
32470
32471 * Makeconfig (+math-flags): New, set to -frounding-math.
32472 (+cflags): Add +math-flags so that all of glibc gets compiled with
32473 it.
32474
32475 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32476
7b17aeda
JM
324772012-05-05 Joseph Myers <joseph@codesourcery.com>
32478
5779f134
JM
32479 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32480 Disable one test.
32481
41498f4d
JM
32482 [BZ #13787]
32483 [BZ #13922]
32484 [BZ #14036]
32485 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32486 (__ieee754_expl): Allow for and saturate large arguments.
32487 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32488 (u_threshold): Likewise.
32489 (__exp): Call __ieee754_exp before checking for overflow and
32490 underflow.
32491 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32492 (u_threshold): Likewise.
32493 (__expf): Call __ieee754_expf before checking for overflow and
32494 underflow.
32495 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32496 (u_threshold): Likewise.
32497 (__expl): Call __ieee754_expl before checking for overflow and
32498 underflow.
32499 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
32500 (__ieee754_expl): Allow for and saturate large arguments.
32501 * math/libm-test.inc (exp_test): Add another test. Do not allow
32502 missing overflow exception on overflow.
32503 (expm1_test): Do not allow missing overflow exception on overflow.
32504
6698b8bf
JM
32505 * sysdeps/i386/fpu/e_expl.c: Move to ...
32506 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
32507 rather than using inline asm.
32508 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
32509 * sysdeps/x86_64/fpu/e_expl.S: Copy from
32510 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
32511
7b17aeda
JM
32512 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
32513 (nice): Likewise.
32514 (poll): Likewise.
32515 (signal): Likewise.
32516 (time): Likewise.
32517 (times): Likewise.
32518
f7c85819
JM
325192012-05-04 Joseph Myers <joseph@codesourcery.com>
32520
32521 * sysdeps/unix/syscalls.list (adjtime): Add entry from
32522 sysdeps/unix/common/syscalls.list.
32523 (fchmod): Likewise.
32524 (fchown): Likewise.
32525 (ftruncate): Likewise.
32526 (getrusage): Likewise.
32527 (gettimeofday): Likewise.
32528 (setpgid): Likewise.
32529 (setregid): Likewise.
32530 (setreuid): Likewise.
32531 (sigaction): Likewise.
32532 (truncate): Likewise.
32533 (vhangup): Likewise.
32534 * sysdeps/unix/common/syscalls.list: Remove file.
32535 * sysdeps/unix/bsd/Implies: Don't include unix/common.
32536 * sysdeps/unix/sysv/linux/Implies: Likewise.
32537
336270d0
L
325382012-05-04 H.J. Lu <hongjiu.lu@intel.com>
32539
32540 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
32541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
32542 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
32543 Moved to ...
32544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32545 Here.
32546 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
32547 to ...
32548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
32549 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
32550 to ...
32551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
32552 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
32553 to ...
32554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
32555 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
32556 to ...
32557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
32558 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
32559 to ...
32560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
32561 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
32562 to ...
32563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
32564 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
32565 to ...
32566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32567 Here.
32568 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
32569 to ...
32570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
32571 Here.
32572 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
32573 to ...
32574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
32575 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
32576 Moved to ...
32577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
32578 Here.
32579 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
32580 to ...
32581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
32582
d128e450
JM
325832012-05-04 Joseph Myers <joseph@codesourcery.com>
32584
fa8ee516
JM
32585 * sysdeps/unix/common/bits/dirent.h: Remove file.
32586 * sysdeps/unix/common/bits/fcntl.h: Likewise.
32587
d128e450
JM
32588 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
32589 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
32590 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
32591 * sysdeps/unix/bsd/isatty.c: Likewise.
32592 * sysdeps/unix/bsd/tcdrain.c: Likewise.
32593 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
32594 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
32595
ff8faaf0 325962012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 32597
62881be4 32598 [BZ #13563]
31dc8730
AZ
32599 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
32600 long double comparison inaccuracies.
32601 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32603
6fef930c
AS
326042012-05-04 Andreas Schwab <schwab@linux-m68k.org>
32605
32606 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
32607 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
32608
8f203e6c
JM
326092012-05-04 Joseph Myers <joseph@codesourcery.com>
32610
32611 [BZ #14049]
32612 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
32613 nonzero digits before rounding a hex value.
32614 * stdlib/tst-strtod.c (tests): Add another test.
32615
5197d9c2
AK
326162012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32617
32618 * sysdeps/s390/fpu/libm-test-ulps: Update.
32619
f0c1dedf
AJ
326202012-05-03 Andreas Jaeger <aj@suse.de>
32621
32622 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
32623 does not get optimized out.
32624 (malloc_opt_barrier): New.
32625
a65ef2ae 326262012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 32627 Roland McGrath <roland@hack.frob.com>
a65ef2ae 32628
2b942cb7 32629 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 32630 intermediate file deletion.
2b942cb7 32631 (generated): Add .symlist files.
a65ef2ae 32632
54b71e02
JM
326332012-05-03 Joseph Myers <joseph@codesourcery.com>
32634
32635 [BZ #13775]
32636 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
32637 Redirect under this condition.
32638 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32639 [__USE_GNU] (__dprintf_chk): Not under this condition.
32640 [__USE_GNU] (__vdprintf_chk): Likewise.
32641 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
32642 under this condition.
32643 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
32644 [__USE_XOPEN2K8] (dprintf): Define under this condition.
32645 [__USE_XOPEN2K8] (vdprintf): Likewise.
32646 [__USE_GNU] (__dprintf_chk): Not under this condition.
32647 [__USE_GNU] (__vdprintf_chk): Likewise.
32648 [__USE_GNU] (dprintf): Likewise.
32649 [__USE_GNU] (vdprintf): Likewise.
32650
d3dfcc41
RM
326512012-05-03 Roland McGrath <roland@hack.frob.com>
32652
32653 * elf/Makefile (common-generated): Set this instead of generated for
32654 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
32655 $(all-built-dso)-derived lists.
32656
7ac30cc5
AJ
326572012-05-03 Andreas Jaeger <aj@suse.de>
32658
0c51e550
AJ
32659 * sysdeps/i386/fpu/libm-test-ulps: Update.
32660
7ac30cc5
AJ
32661 * FAQ: Removed.
32662 * FAQ.in: Likewise.
32663 * scripts/gen-FAQ.pl: Likewise.
32664 * manual/install.texi (Installation): Point to online location of
32665 FAQ.
32666 * Makefile (files-for-dist): Remove FAQ.
32667 (FAQ): Remove.
32668
d4c2917f
AM
326692012-05-02 Allan McRae <allan@archlinux.org>
32670
32671 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
32672 (LDFLAGS-reldepmod5.so): Likewise.
32673 (LDFLAGS-reldep6mod1.so): Likewise.
32674 (LDFLAGS-reldep6mod4.so): Likewise.
32675 (LDFLAGS-reldep8mod3.so): Likewise.
32676 (LDFLAGS-unload4mod1.so): Likewise.
32677 (LDFLAGS-unload4mod2.so): Likewise.
32678 (LDFLAGS-tst-initorder): Likewise.
32679 (LDFLAGS-tst-initordera2.so): Likewise.
32680 (LDFLAGS-tst-initordera3.so): Likewise.
32681 (LDFLAGS-tst-initordera4.so): Likewise.
32682 (LDFLAGS-tst-initorderb2.so): Likewise.
32683 (LDFLAGS-noload): Likewise.
32684 (LDFLAGS-next): Likewise.
32685 (LDFLAGS-order2mod1.so): Likewise.
32686 (LDFLAGS-order2mod2.so): Likewise.
32687 (LDFLAGS-tst-initorder2): Likewise.
32688 (LDFLAGS-tst-initorder2a.so): Likewise.
32689 (LDFLAGS-tst-initorder2b.so): Likewise.
32690 (LDFLAGS-tst-initorder2c.so): Likewise.
32691 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
32692
d77f993f
DM
326932012-05-02 David S. Miller <davem@davemloft.net>
32694
32695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32696
171a70b4
PP
326972012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
32698
32699 [BZ #14055]
32700 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
32701
0be196ad
AJ
327022012-05-02 Andreas Jaeger <aj@suse.de>
32703
32704 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
32705 since we manipulate rounding mode.
32706 (CPPFLAGS-test-idouble.c): Likewise.
32707 (CPPFLAGS-test-ifloat.c): Likewise.
32708 (CFLAGS-test-ldouble.c): Likewise.
32709 (CFLAGS-test-double.c): Likewise.
32710 (CFLAGS-test-float.c): Likewise.
32711 (CFLAGS-test-misc.c): Likewise.
32712 (CFLAGS-test-test-fenv.c): Likewise.
32713
4f9d04aa
AZ
327142012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32715
2b942cb7
RM
32716 [BZ #2550]
32717 [BZ #2570]
32718 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32719 comparisons to determine direction to adjust input.
4f9d04aa 32720
82a79e7d
RM
327212012-05-01 Roland McGrath <roland@hack.frob.com>
32722
f5a01ca9
RM
32723 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32724 output to the target.
32725
90fe4186
RM
32726 * scripts/localplt.awk: New file.
32727 * elf/Makefile ($(objpfx)check-localplt): Target removed.
32728 (check-localplt-CFLAGS): Variable removed.
32729 ($(all-built-dso:=.jmprel)): New static pattern rule.
32730 (generated): Add those targets.
32731 (localplt-built-dso): New variable.
32732 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32733
32734 * elf/check-localplt.c: File removed.
32735
82397ed6
RM
32736 * scripts/check-execstack.awk: New file.
32737 * elf/Makefile ($(objpfx)check-execstack): Target removed.
32738 (check-execstack-CFLAGS): Variable removed.
32739 ($(objpfx)check-execstack.h): Target removed.
32740 ($(objpfx)execstack-default): New target.
32741 (generated): Add that instead of check-execstack.h.
32742 ($(all-built-dso:=.phdr)): New static pattern rule.
32743 (generated): Add those targets.
32744 * elf/check-execstack.c: File removed.
32745
82a79e7d
RM
32746 * scripts/check-textrel.awk: New file.
32747 * elf/Makefile ($(objpfx)check-textrel): Target removed.
32748 (check-textrel-CFLAGS): Variable removed.
32749 (all-built-dso): Use := to define.o
32750 ($(all-built-dso:=.dyn)): New static pattern rule.
32751 (generated): Add those targets.
32752 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32753 * config.make.in (READELF): New substituted variable.
32754 * elf/check-textrel.c: File removed.
32755
62fde54f 327562012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 32757
615605c9
JM
32758 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32759 allow.
32760 * conform/data/ctype.h-data [C99-based standards] (isblank):
32761 Expect function.
32762 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32763 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32764 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32765 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32766 Specify type. Require positive value.
32767 (EILSEQ): Likewise.
32768 (ERANGE): Likewise.
32769 [ISO || POSIX] (EILSEQ): Do not expect.
32770 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32771 Specify type. Require positive value.
32772 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32773 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32774 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32775 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32776 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32777 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32778 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32779 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32780 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32781 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32782 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32783 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32784 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32785 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32786 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32787 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32788 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32789 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32790 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32791 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32792 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32793 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32794 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32795 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32796 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32797 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32798 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32799 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32800 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32801 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32802 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32803 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32804 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32805 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32806 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32807 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32808 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32809 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32810 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32811 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32812 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32813 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32814 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32815 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32816 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32817 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32818 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32819 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32820 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32821 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32822 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32823 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32824 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32825 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32826 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32827 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32828 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32829 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32830 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32831 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32832 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32833 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32834 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32835 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32836 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32837 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32838 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32839 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32840 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32841 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32842 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32843 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32844 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32845 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32846 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32847 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32848 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32849 Require >= 2.
32850 (FLT_ROUNDS): Expect as macro, not constant.
32851 (FLT_MANT_DIG): Use macro-int-constant.
32852 (DBL_MANT_DIG): Likewise.
32853 (LDBL_MANT_DIG): Likewise.
32854 (FLT_DIG): Likewise.
32855 (DBL_DIG): Likewise.
32856 (LDBL_DIG): Likewise.
32857 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
32858 (DBL_MIN_EXP): Likewise.
32859 (LDBL_MIN_EXP): Likewise.
32860 (FLT_MAX_EXP): Use macro-int-constant.
32861 (DBL_MAX_EXP): Likewise.
32862 (LDBL_MAX_EXP): Likewise.
32863 (FLT_MAX_10_EXP): Likewise.
32864 (DBL_MAX_10_EXP): Likewise.
32865 (LDBL_MAX_10_EXP): Likewise.
32866 (FLT_MAX): Use macro-constant.
32867 (DBL_MAX): Likewise.
32868 (LDBL_MAX): Likewise.
32869 (FLT_EPSILON): Use macro-constant. Give upper bound.
32870 (DBL_EPSILON): Likewise.
32871 (LDBL_EPSILON): Likewise.
32872 (FLT_MIN): Likewise.
32873 (DBL_MIN): Likewise.
32874 (LDBL_MIN): Likewise.
32875 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32876 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32877 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32878 [ISO11] (FLT_HAS_SUBNORM): Likewise.
32879 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32880 [ISO11] (DBL_DECIMAL_DIG): Likewise.
32881 [ISO11] (FLT_DECIMAL_DIG): Likewise.
32882 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32883 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32884 [ISO11] (FLT_TRUE_MIN): Likewise.
32885 [ISO11] (LDBL_TRUE_MIN): Likewise.
32886 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32887 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32888 (SCHAR_MIN): Use macro-int-constant. Specify type.
32889 (SCHAR_MAX): Likewise.
32890 (UCHAR_MAX): Likewise.
32891 (CHAR_MIN): Likewise.
32892 (CHAR_MAX): Likewise.
32893 (MB_LEN_MAX): Use macro-int-constant.
32894 (SHRT_MIN): Use macro-int-constant. Specify type.
32895 (SHRT_MAX): Likewise.
32896 (USHRT_MAX): Likewise.
32897 (INT_MAX): Likewise.
32898 (INT_MIN): Use macro-int-constant. Specify type. Make upper
32899 bound negative.
32900 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
32901 bound with "U".
32902 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32903 bound with "L".
32904 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
32905 bound negative. Suffix upper bound with "L".
32906 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
32907 bound with "UL".
32908 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32909 Specify type.
32910 [C99-based standards] (LLONG_MAX): Likewise.
32911 [C99-based standards] (ULLONG_MAX): Likewise.
32912 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
32913 == 0.
32914 [ISO11] (max_align_t): Require type.
32915 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32916
c9140a62
JM
32917 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32918 from $CFLAGS, without defining away __attribute__ calls.
32919 (checknamespace): Use $CFLAGS_namespace.
32920
9af0bf29
JM
32921 * conform/conformtest.pl (@keywords): Only include C99 keywords
32922 for standards based on C99 or C11.
32923
343222a2
JM
32924 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32925 Disable tests.
32926 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32927 UNIX98]: Likewise.
32928
661f8cf0
JM
32929 * conform/conformtest.pl: Handle "macro-int-constant" and test for
32930 usability of symbols in #if.
32931
ee74b9cb
JM
32932 * conform/conformtest.pl: If macro or constant types start
32933 "promoted:", expect the symbol to be of the following type
32934 promoted by the integer promotions.
62fde54f 32935
aafc49b3
JM
32936 * conform/conformtest.pl: Parse all "constant" and "macro" lines
32937 in one place. Also handle "macro-constant".
32938
fefdf574
JM
32939 * conform/conformtest.pl: Only accept expected macro values with
32940 "==". Parse all "macro" lines in one place.
32941 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32942
f2d922fe
JM
32943 * conform/conformtest.pl: Handle braced types on "constant" lines
32944 instead of handling "typed-constant".
32945 * conform/data/signal.h-data: Use "constant" instead of
32946 "typed-constant".
32947
d22956c9
JM
32948 * conform/conformtest.pl: Handle "optional-" at start of lines in
32949 one place rather than duplicating several cases. Handle each
32950 format of "macro" line with initial "optional-".
32951
028e2e38
JM
32952 * conform/conformtest.pl: Only accept expected constant or
32953 optional-constant values with "==". Parse all "constant" lines in
32954 one place. Parse all "optional-constant" lines in one place.
32955 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32956 * conform/data/fmtmsg.h-data: Likewise.
32957 * conform/data/netinet/in.h-data: Likewise.
32958 * conform/data/tar.h-data: Likewise.
32959 * conform/data/limits.h-data: Use "==" form on "constant" and
32960 "optional-constant" lines.
32961
1b8f2850
JM
32962 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32963 Use -std=c99 for XOPEN2K.
32964 (@knownproblems): Remove.
32965 (newtoken): Don't check %isknown.
32966
a05a144b
JM
32967 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32968 Do not expect macro.
32969 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32970 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32971 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32972 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32973 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32974 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32975 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32976 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32977 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32978 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32979 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32980 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32981 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32982 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32983 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32984 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32985 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32986 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32987 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32988 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32989 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32990 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32991 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32992 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32993 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32994 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32995 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32996 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32997 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32998 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32999 [XPG3] (acosh): Likewise.
33000 [XPG3] (asinh): Likewise.
33001 [XPG3] (atanh): Likewise.
33002 [XPG3] (cbrt): Likewise.
33003 [XPG3] (expm1): Likewise.
33004 [XPG3] (ilogb): Likewise.
33005 [XPG3] (log1p): Likewise.
33006 [XPG3] (logb): Likewise.
33007 [XPG3] (nextafter): Likewise.
33008 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33009 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33010 [XPG3] (remainder): Likewise.
33011 [XPG3] (rint): Likewise.
33012 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33013 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33014 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33015 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33016 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33017 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33018 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33019 [UNIX98 || XOPEN2K] (scalb): Expect.
33020 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33021 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33022 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33023 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33024 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33025 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33026 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33027 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33028 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33029 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33030 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33031 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33032 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33033 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33034 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33035 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33036 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33037 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33038 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33039 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33040 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33041 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33042 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33043 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33044 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33045 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33046 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33047 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33048 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33049 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33050 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33051 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33052 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33053 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33054 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33055 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33056 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33057 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33058 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33059 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33060 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33061 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33062 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33063 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33064 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33065 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33066 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33067 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33068 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33069 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33070 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33071 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33072 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33073 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33074 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33075 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33076 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33077 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33078 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33079 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33080 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33081 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33082 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33083 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33084 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33085 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33086 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33087 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33088 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33089 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33090 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33091 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33092 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33093 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33094 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33095 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33096 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33097 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33098 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33099 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33100 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33101 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33102 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33103 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33104 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33105 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33106 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33107 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33108 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33109 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33110 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33111 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33112 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33113 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33114 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33115 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33116 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33117 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33118 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33119 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33120 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33121 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33122 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33123 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33124 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33125 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33126 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33127 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33128 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33129 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33130 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33131 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33132 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33133 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33134 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33135 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33136 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33137 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33138 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33139 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33140 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33141 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33142 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33143 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33144 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33145 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33146 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33147 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33148 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33149 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33150 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33151 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33152 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33153 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33154 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33155 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33156 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33157
73c5ebe3
JM
33158 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33159 _XOPEN_SOURCE_EXTENDED for XPG4.
33160
39c33b6c
JM
33161 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33162
62fde54f
JM
33163 * Makeconfig (localtime): Remove variable.
33164 (inst_localtime-file): Likewise.
33165
0741d64c
AS
331662012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33167
33168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33169 Update.
33170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33171 Update.
33172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33173 Update.
33174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33175 Update.
33176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33177 Update.
33178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33179 Update.
33180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33181 Update.
33182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33183 Update.
33184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33185 Update.
33186
7cb029ee
JM
331872012-05-01 Joseph Myers <joseph@codesourcery.com>
33188
33189 [BZ #2550]
33190 [BZ #2570]
33191 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33192 comparisons to determine direction to adjust input.
33193 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33194 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33195 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33196 Likewise.
33197 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33198 Likewise.
33199 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33200 Likewise.
33201 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33202 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33203 Likewise.
33204 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33205 Likewise.
33206 * math/libm-test.inc (nexttoward_test): Add more tests.
33207
412bd966
AS
332082012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33209
33210 [BZ #14040]
33211 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33212 in version GLIBC_2.1, not GLIBC_2.0.
33213 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33214 Likewise.
33215
9568c0c2
JM
332162012-04-30 Joseph Myers <joseph@codesourcery.com>
33217
adfbc8ac
JM
33218 [BZ #13942]
33219 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33220 (1 - x) * (1 + x).
33221 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33222 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33223 * math/libm-test.inc (acos_test): Add more tests.
33224 (asin_test): Likewise.
33225 * sysdeps/i386/fpu/libm-test-ulps: Update.
33226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33227
5ba3cc69
JM
33228 [BZ #14034]
33229 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33230 of square root.
33231 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33232 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33233 * math/libm-test.inc (acos_test_tonearest): New function.
33234 (acos_test_towardzero): Likewise.
33235 (acos_test_downward): Likewise.
33236 (acos_test_upward): Likewise.
33237 (asin_test_tonearest): Likewise.
33238 (asin_test_towardzero): Likewise.
33239 (asin_test_downward): Likewise.
33240 (asin_test_upward): Likewise.
33241 (main): Call the new functions.
33242 * sysdeps/i386/fpu/libm-test-ulps: Update.
33243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33244
9568c0c2
JM
33245 [BZ #13884]
33246 [BZ #13924]
33247 * math/e_exp10.c: Include <float.h>.
33248 (__ieee754_exp10): Handle underflow here rather than multiplying
33249 large negative argument by M_LN10.
33250 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33251 of __ieee754_expf.
33252 * math/e_exp10l.c: Include <float.h>.
33253 (__ieee754_exp10l): Handle underflow here rather than multiplying
33254 large negative argument by M_LN10l.
33255 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33256 spurious overflow exception on underflow.
33257
5ac3ea17
MP
332582012-04-29 Marek Polacek <polacek@redhat.com>
33259
33260 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33261 (__fortify_function): New macro.
33262 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33263 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33264 __extern_always_inline.
33265 * libio/bits/stdio2.h: Likewise.
33266 * libio/bits/stdio.h: Likewise.
33267 * string/string.h: Likewise.
33268 * string/bits/string3.h: Likewise.
33269 * include/stdio.h: Likewise.
33270 * stdlib/bits/stdlib.h: Likewise.
33271 * stdlib/stdlib.h: Likewise.
33272 * rt/bits/mqueue2.h: Likewise.
33273 * rt/mqueue.h: Likewise.
33274 * posix/bits/unistd.h: Likewise.
33275 * posix/unistd.h: Likewise.
33276 * io/bits/poll2.h: Likewise.
33277 * io/bits/fcntl2.h: Likewise.
33278 * io/fcntl.h: Likewise.
33279 * io/sys/poll.h: Likewise.
33280 * misc/bits/syslog.h: Likewise.
33281 * misc/bits/syslog-ldbl.h: Likewise.
33282 * misc/sys/syslog.h: Likewise.
33283 * socket/bits/socket2.h: Likewise.
33284 * socket/sys/socket.h: Likewise.
33285 * debug/tst-chk1.c: Likewise.
33286 * wcsmbs/bits/wchar2.h: Likewise.
33287 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33288 * wcsmbs/wchar.h: Likewise.
33289
ecf0ebfb
AJ
332902012-04-29 Andreas Jaeger <aj@suse.de>
33291
33292 * Makerules (tests): Remove enable-check-abi protection.
33293 (check-abi-warn): Remove.
33294 (check-abi-%): Remove check-abi-warn usage.
33295
33296 * configure.in: Remove check-abi configure option.
33297 * configure: Regenerated.
33298 * config.make.in (enable-check-abi): Remove.
33299
6d5c57fa
AS
333002012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33301
24c5d07e 33302 [BZ #14033]
ded5180a
AS
33303 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33304 double functions to double *_finite functions.
33305
7e0d315d
AS
33306 [BZ #13941]
33307 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33308 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33309 LDBL_MIN_EXP.
33310 * stdio-common/Makefile (tests): Add tst-sprintf3.
33311 * stdio-common/tst-sprintf3.c: New file.
33312
6d5c57fa
AS
33313 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33314 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33315
0749ff8b
JM
333162012-04-28 Joseph Myers <joseph@codesourcery.com>
33317
33318 * conform/conformtest.pl: Remove duplicate typed-constant
33319 handling.
33320
8dbd5d7b
DM
333212012-04-28 David S. Miller <davem@davemloft.net>
33322
33323 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33324 (check-abi-%): Remove AWK script prerequisite and explicit
33325 abilist directory.
33326 (check-abi): Rewrite to just diff the symlist with the abilist.
33327 (config-tls, config-abi-config): Delete, no longer used.
33328 (update-abi-%): Remove AWK script and explicit abilist directory.
33329 (update-abi): Rewrite to simply compare and conditionally copy the
33330 symlist and the sysdep abilist file. Remove update-abi-config
33331 checks.
33332 * abilist/ld.abilist: Remove.
33333 * abilist/libBrokenLocale.abilist: Remove.
33334 * abilist/libanl.abilist: Remove.
33335 * abilist/libcrypt.abilist: Remove.
33336 * abilist/libdl.abilist: Remove.
33337 * abilist/librt.abilist: Remove.
33338 * abilist/libthread_db.abilist: Remove.
33339 * abilist/libutil.abilist: Remove.
33340 * scripts/extract-abilist.awk: Remove.
33341 * scripts/merge-abilist.awk: Remove.
33342 * sysdeps/generic/libcidn.abilist: New file.
33343 * sysdeps/generic/libnss_compat.abilist: New file.
33344 * sysdeps/generic/libnss_db.abilist: New file.
33345 * sysdeps/generic/libnss_dns.abilist: New file.
33346 * sysdeps/generic/libnss_files.abilist: New file.
33347 * sysdeps/generic/libnss_hesiod.abilist: New file.
33348 * sysdeps/generic/libnss_nis.abilist: New file.
33349 * sysdeps/generic/libnss_nisplus.abilist: New file.
33350 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33351 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33352 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33353 file.
33354 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33355 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33356 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33357 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33358 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33359 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33360 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33361 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33362 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33363 file.
33364 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33365 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33366 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33367 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33368 file.
33369 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33370 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33371 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33372 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33373 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33374 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33375 file.
33376 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33377 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33378 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33379 file.
33380 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33382 New file.
33383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33384 New file.
33385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33386 New file.
33387 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33388 New file.
33389 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33390 New file.
33391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33392 New file.
33393 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33394 New file.
33395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33396 New file.
33397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33398 New file.
33399 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33400 New file.
33401 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33402 New file.
33403 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33404 New file.
33405 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33406 New file.
33407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33408 file.
33409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33410 New file.
33411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33412 New file.
33413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33414 file.
33415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33416 New file.
33417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33418 New file.
33419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33420 file.
33421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33422 New file.
33423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33424 New file.
33425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33426 New file.
33427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33428 New file.
33429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33430 New file.
33431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33432 New file.
33433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33435 file.
33436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33437 New file.
33438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33439 file.
33440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33441 file.
33442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33443 file.
33444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33445 file.
33446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33447 file.
33448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33449 New file.
33450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33451 file.
33452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33453 file.
33454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33455 New file.
33456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33457 file.
33458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33460 file.
33461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33462 New file.
33463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33464 file.
33465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33466 file.
33467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33468 file.
33469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33470 file.
33471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33472 file.
33473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33474 New file.
33475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33476 file.
33477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33478 file.
33479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33480 New file.
33481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33482 file.
33483 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33484 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33485 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33486 file.
33487 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33488 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33489 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33490 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33491 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33492 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33493 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33494 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33495 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33496 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
33497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
33498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
33499 file.
33500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33501 New file.
33502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
33503 file.
33504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
33505 file.
33506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
33507 file.
33508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
33509 file.
33510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
33511 file.
33512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33513 New file.
33514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33515 New file.
33516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
33517 file.
33518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33519 New file.
33520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
33521 file.
33522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
33523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
33524 file.
33525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33526 New file.
33527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
33528 file.
33529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
33530 file.
33531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
33532 file.
33533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
33534 file.
33535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
33536 file.
33537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33538 New file.
33539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33540 New file.
33541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
33542 file.
33543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33544 New file.
33545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
33546 file.
33547
41d73a1b
JM
335482012-04-28 Joseph Myers <joseph@codesourcery.com>
33549
33550 * conform/conformtest.pl: Fix typo in handling typed-constant from
33551 allow-header.
33552
28aeeda4
JM
335532012-04-27 Joseph Myers <joseph@codesourcery.com>
33554
adae8f5e
JM
33555 * README: Cut down references to pre-2.6 Linux kernels and
33556 Linuxthreads. Update lists of configurations in libc and ports
33557 and sort alphabetically. Say "or newer" with Linux kernel version
33558 requirements.
33559
28aeeda4
JM
33560 * config.h.in [IS_IN_build]: Allow compiling without optimization.
33561
a462cb63
RA
335622012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33563
33564 [BZ #887]
33565 * math/libm-test.inc (logb_test_downward): New test to expose
33566 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
33567 rounding mode.
33568
6ad3493e
JM
335692012-04-27 Joseph Myers <joseph@codesourcery.com>
33570
33571 [BZ #14027]
33572 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
33573 to be done.
33574 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
33575 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
33576
2ce4f015
JM
335772012-04-26 Joseph Myers <joseph@codesourcery.com>
33578
5aeb141a
JM
33579 * sysdeps/unix/i386/brk.S: Remove file.
33580 * sysdeps/unix/i386/dl-brk.S: Likewise.
33581 * sysdeps/unix/i386/pipe.S: Likewise.
33582 * sysdeps/unix/i386/sigreturn.S: Likewise.
33583 * sysdeps/unix/i386/syscall.S: Likewise.
33584 * sysdeps/unix/i386/vfork.S: Likewise.
33585 * sysdeps/unix/i386/wait.S: Likewise.
33586
7143acae
JM
33587 * sysdeps/unix/common/tcsendbrk.c: Move to ...
33588 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
33589
2ce4f015
JM
33590 * configure.in (arm*-none*): Do not allow without
33591 --enable-hacker-mode.
33592 (netbsd*): Remove case setting base_os.
33593 (386bsd*): Likewise.
33594 (freebsd*): Likewise.
33595 (bsdi*): Likewise.
33596 (osf*): Likewise.
33597 (sunos*): Likewise.
33598 (ultrix*): Likewise.
33599 (newsos*): Likewise.
33600 (dynix*): Likewise.
33601 (*bsd*): Likewise.
33602 (sysv*): Likewise.
33603 (isc*): Likewise.
33604 (esix*): Likewise.
33605 (sco*): Likewise.
33606 (minix*): Likewise.
33607 (irix4*): Likewise.
33608 (irix6*): Likewise.
33609 (solaris[2-9]*): Likewise.
33610 (none): Likewise.
33611 * configure: Regenerated.
33612
0ac229c8
AZ
336132012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33614
33615 [BZ #11521]
33616 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
33617 overflow or cancellation in calculating denominator.
33618 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
33619 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33620 down expression to avoid unexpected rounding in newer GCCs.
33621 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
33622
33f244f4
DM
336232012-04-26 David S. Miller <davem@davemloft.net>
33624
33625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
33626 long-double compat symbols.
33627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
33631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
33633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
33634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
33635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
33636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
33638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
33639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33640
cfa1f3e8
DM
336412012-04-25 David S. Miller <davem@davemloft.net>
33642
33643 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
33644 HWCAP_* values only after the memory barriers have been defined.
33645 (atomic_full_barrier): Define.
33646 (atomic_read_barrier): Define.
33647 (atomic_write_barrier): Define.
33648
6e236b92
SP
336492012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33650
33651 * shlib-versions: Add libgcc_s version information.
33652 * sysdeps/generic/libgcc_s.h: Remove.
33653 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
33654 libgcc_s.h.
33655 * sysdeps/gnu/unwind-resume.c: Likewise.
33656 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
33657
aab39a09
DM
336582012-04-25 David S. Miller <davem@davemloft.net>
33659
33660 * sysdeps/unix/sparc/brk.S: Delete.
33661 * sysdeps/unix/sparc/dl-brk.S: Delete.
33662 * sysdeps/unix/sparc/pipe.S: Delete.
33663 * sysdeps/unix/sparc/sysdep.S: Delete.
33664 * sysdeps/unix/sparc/sysdep.h: Delete.
33665 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
33666 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
33667 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
33668 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
33669 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
33670 (JUMPTARGET): Remove.
33671 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
33672 sysdeps/unix/sparc/sysdep.h
33673 (ENTRY, END): Remove.
33674 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33675
a3cc4f48
JM
336762012-04-25 Joseph Myers <joseph@codesourcery.com>
33677
2ed8cda2
JM
33678 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
33679 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
33680 -DIS_IN_build.
33681
35d76d59
JM
33682 * timezone/README: Update upstream location and email address for
33683 tzcode and tzdata.
33684 * timezone/zdump.c: Update from tzcode 2012b.
33685 * timezone/zic.c: Likewise.
33686
a3cc4f48
JM
33687 * configure.in (libc_cv_as_needed): Remove test.
33688 * configure: Regenerated.
33689 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
33690 conditional definition.
33691 [$(have-as-needed) != yes] (no-as-needed): Likewise.
33692 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
33693 * config.make.in (have-as-needed): Remove variable.
33694
ceab42c3
SP
336952012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33696 Paul Pluzhnikov <ppluzhnikov@google.com>
33697
33698 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
33699 strings correctly.
33700
3ce2865f
CLT
337012012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
33702
33703 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
33704 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
33705 * sysdeps/sh/strlen.S: Likewise.
33706
f37e0d68
JM
337072012-04-24 Joseph Myers <joseph@codesourcery.com>
33708
ae186e9a
JM
33709 * sysdeps/unix/fork.S: Remove file.
33710 * sysdeps/unix/i386/fork.S: Likewise.
33711 * sysdeps/unix/sparc/fork.S: Likewise.
33712
b96914af
JM
33713 * sysdeps/unix/system.c: Remove file.
33714 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33715
f37e0d68
JM
33716 * sysdeps/unix/getegid.S: Remove file.
33717 * sysdeps/unix/geteuid.S: Likewise.
33718
87ef29ca
RM
337192012-04-24 Roland McGrath <roland@hack.frob.com>
33720
83bcd236
RM
33721 * scripts/check-localplt.awk: New file.
33722 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33723 of diff.
33724 * scripts/data/localplt-generic.data: Add a comment.
33725
87ef29ca
RM
33726 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33727 NODE when __dir_mkfile failed.
33728 * sysdeps/mach/hurd/symlinkat.c: Likewise.
33729 Reported by Ludovic Courtès <ludo@gnu.org>.
33730
e5a6e567
AJ
337312012-04-24 Andreas Jaeger <aj@suse.de>
33732
33733 * Makerules (common-clean): Also remove gen-as-const-headers
33734 files.
33735
c1820385
JM
337362012-04-24 Joseph Myers <joseph@codesourcery.com>
33737
33738 * Makerules (native-compile): Do not change working directory for
33739 build. Use $(OUTPUT_OPTION) in command.
33740 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33741
94e02fc4
AZ
337422012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33743
33744 [BZ #13886]
33745 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33746 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33747 * math/libm-test.inc (floor_test): Add more tests.
33748 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33749
3a533ca3
JM
337502012-04-24 Joseph Myers <joseph@codesourcery.com>
33751
940ab4b3
JM
33752 * sysdeps/unix/getdents.c: Remove file.
33753 * sysdeps/unix/sysv/getdents.c: Likewise.
33754 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33755
90e037bd
JM
33756 * sysdeps/unix/syscalls.list (madvise): Add syscall from
33757 sysdeps/unix/mman/syscalls.list.
33758 (mmap): Likewise.
33759 (mprotect): Likewise.
33760 (msync): Likewise.
33761 (munmap): Likewise.
33762 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33763 * sysdeps/unix/mman/syscalls.list: Remove.
33764 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33765
3a533ca3
JM
33766 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33767 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33768 * configure: Regenerated.
33769 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33770 $(libgcc_s_suffix).
33771 * config.make.in (libgcc_s_suffix): Remove variable.
33772
1ad743de
JM
337732012-04-23 Joseph Myers <joseph@codesourcery.com>
33774
4ad451e2
JM
33775 * sysdeps/unix/sysv/gethostname.c: Move to ...
33776 * sysdeps/posix/gethostname.c: ... here.
33777
5e37ce39
JM
33778 * sysdeps/unix/execve.S: Remove file.
33779
1ad743de
JM
33780 * sysdeps/unix/_exit.S: Remove file.
33781
4e681b5b
AJ
337822012-04-23 Andreas Jaeger <aj@suse.de>
33783
33784 [BZ #13739]
33785 * manual/Makefile: Remove make dist support, there's no
33786 need for a stand-alone documentation tar ball.
33787 (TEXI2DVI): Define always, it's not in Makeconfig.
33788 (dist): Removed.
33789 (tar-it): Removed.
33790 (edition): Removed.
33791 (glibc-doc-$(edition).tar): Removed
33792 (%.Z): Removed.
33793 (%.gz): Removed.
33794 (%.uu): Removed.
33795 (ETAGS): Remove, it's in Makeconfig.
33796 (move-if-change): Remove, it's in Makeconfig.
33797
38686a03 337982012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
33799
33800 [BZ #13970]
33801 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33802 (strtod, strtof, strtold, strtol, strtoul, strtoq)
33803 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33804 (strtod_l, strtof_l, strtold_l): Remove __wur.
33805 It is not necessarily an error to ignore strtol's return value.
33806 One can reliably look at the stored endptr to decide whether
33807 the number had valid syntax.
33808
7c0616fa
AJ
338092012-04-21 Andreas Jaeger <aj@suse.de>
33810
803cb6b7 33811 [BZ #13739]
7c0616fa
AJ
33812 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33813
b0fe253f
JM
338142012-04-21 Joseph Myers <joseph@codesourcery.com>
33815
33816 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33817 * sysdeps/unix/sysv/Versions: Remove file.
33818
8280f22d
MT
338192012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
33820
33821 [BZ #13927]
33822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33823
75ce411f 338242012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
33825
33826 [BZ #7064]
33827 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33828 version from __vm86.
33829
097d59fa
JM
338302012-04-20 Joseph Myers <joseph@codesourcery.com>
33831
a90f3bcb
JM
33832 * sysdeps/unix/common/lxstat.c: Remove file.
33833 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33834
edc7ea78
JM
33835 * sysdeps/unix/sysv/Makefile: Remove file.
33836
cb78c221
JM
33837 * sysdeps/unix/sysv/direct.h: Remove file.
33838
efa6a45f
JM
33839 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33840 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33841 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33842 * sysdeps/unix/sysv/bits/signum.h: Likewise.
33843 * sysdeps/unix/sysv/bits/stat.h: Likewise.
33844 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33845 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33846
9c9f2d0c
JM
33847 * sysdeps/unix/sysv/setrlimit.c: Remove file.
33848
4541c83b
JM
33849 * sysdeps/unix/xmknod.c: Remove file.
33850 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33851
f5d153a0
JM
33852 * sysdeps/unix/sysv/settimeofday.c: Remove file.
33853
aa746595
JM
33854 * sysdeps/unix/sysv/i386/time.S: Remove file.
33855
cce5905e
JM
33856 * sysdeps/unix/fxstat.c: Remove file.
33857 * sysdeps/unix/xstat.c: Likewise.
33858 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33859
37fa3841
JM
33860 * sysdeps/unix/sysv/sigaction.c: Remove file.
33861
ff1962a3
JM
33862 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33863 (sysdep_headers): Remove variable.
33864 [termio.h not in sysdep_headers] (generated): Likewise.
33865 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33866 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33867 * sysdeps/unix/sysv/tcdrain.c: Likewise.
33868 * sysdeps/unix/sysv/tcflow.c: Likewise.
33869 * sysdeps/unix/sysv/tcflush.c: Likewise.
33870 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33871 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33872 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33873 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33874 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33875
e7740d31
JM
33876 * sysdeps/unix/siglist.c: Remove file.
33877
ee06f18b
JM
33878 * sysdeps/unix/getppid.S: Remove file.
33879
097d59fa
JM
33880 * sysdeps/unix/mkdir.c: Remove file.
33881 * sysdeps/unix/rmdir.c: Likewise.
33882
ff3d51ec
AS
338832012-04-19 Andreas Schwab <schwab@linux-m68k.org>
33884
33885 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33886 ERR_MAX value.
33887 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33888 errlist-compat value.
33889
50f81fd7
DM
338902012-04-18 David S. Miller <davem@davemloft.net>
33891
33892 * sysdeps/generic/memcopy.h (reg_char): Delete.
33893 * debug/strcat_chk.c: Use char, not reg_char.
33894 * debug/strcpy_chk.c: Likewise.
33895 * debug/strncat_chk.c: Likewise.
33896 * debug/strncpy_chk.c: Likewise.
33897 * string/memchr.c: Likewise.
33898 * string/memrchr.c: Likewise.
33899 * string/rawmemchr.c: Likewise.
33900 * string/strcat.c: Likewise.
33901 * string/strchr.c: Likewise.
33902 * string/strchrnul.c: Likewise.
33903 * string/strcmp.c: Likewise.
33904 * string/strcpy.c: Likewise.
33905 * string/strncat.c: Likewise.
33906 * string/strncmp.c: Likewise.
33907 * string/strncpy.c: Likewise.
33908
8ff41c46
WS
339092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33910
33911 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33912 __builtin_memcopy is called when src and dest ranges are known to not
33913 overlap.
33914
6b652f46
WS
339152012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33916
33917 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33918 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33919 fwd_align_merge macro call.
33920 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33921 bwd_align_merge macro call.
33922 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33923
b282631e
WS
339242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
33925
33926 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33927 bwd_align_merge macros.
33928 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33929 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33930 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33931
95aa737c
DM
339322012-04-18 David S. Miller <davem@davemloft.net>
33933
33934 * sysdeps/sparc/sparc64/memcopy.h: Delete.
33935
7a99a614
AJ
339362012-04-18 Andreas Jaeger <aj@suse.de>
33937
33938 [BZ# 6794]
33939 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33940 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33941 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33942
33943 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33944 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33945 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33946
33947 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33948 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33949 Adjust for changed ldbl-128 files.
33950
33951 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33952 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33953 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33954
e5270c23
DM
339552012-04-17 David S. Miller <davem@davemloft.net>
33956
33957 * sysdeps/sparc/sparc32/memcopy.h: Delete.
33958
fb5e92c9
AS
339592012-04-17 Andreas Schwab <schwab@linux-m68k.org>
33960
33961 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33962 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33963 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33964 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33965 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33966 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33967
76da7265
AZ
339682012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33969
33970 [BZ #6794]
33971 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33972 * math/libm-test.inc: Add ilogb errno and exception tests.
33973 * math/w_ilogb.c: New file: ilogb wrapper.
33974 * math/w_ilogbf.c: New file: ilogbf wrapper.
33975 * math/w_ilogbl.c: New file: ilogbl wrapper.
33976 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33977 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33978 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33979 exception being thrown with 0.0 as argument.
33980 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33981 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33982 exception being thrown with 0.0 as argument.
33983 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33984 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33985 exception being thrown with 0.0 as argument.
33986 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33987 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33988 exception being thrown with 0.0 as argument.
33989 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33990 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 33991 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
33992 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33993 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33994 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33995 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33996 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33997 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33998
0396e69d
PB
339992012-04-17 Petr Baudis <pasky@ucw.cz>
34000
34001 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34002 with altivec.
34003
750b5926
MP
340042012-04-16 Marek Polacek <polacek@redhat.com>
34005
34006 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34007
751728a1
MP
340082012-04-16 Marek Polacek <polacek@redhat.com>
34009
34010 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34011 operands of fdivp instruction.
34012
34a27407
L
340132012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34014
34015 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34016 * elf/tst-auditmod3b.c: Likewise.
34017 * elf/tst-auditmod4b.c: Likewise.
34018 * elf/tst-auditmod5b.c: Likewise.
34019 * elf/tst-auditmod6b.c: Likewise.
34020 * elf/tst-auditmod6c.c: Likewise.
34021 * elf/tst-auditmod7b.c: Likewise.
34022 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34023 * sysdeps/x86_64/preconfigure.in: Likewise.
34024 * sysdeps/x86_64/preconfigure: Regenerated.
34025
7e73e17d
L
340262012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34027
34028 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34029 __ILP32__.
34030
c7a6ab72
AB
340312012-04-13 Antoine Balestrat <merkil33@gmail.com>
34032
34033 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34034 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34035
a9e8e0e0
CL
340362012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34037
34038 [BZ #13973]
34039 * locale/iso-639.def: Fix gl language name. Spotted by
34040 Yaron Shahrabani.
34041
ec98af7d
RM
340422012-04-12 Roland McGrath <roland@hack.frob.com>
34043
34044 [BZ #2074]
34045 * libio/libio.h (__io_write_fn): Update comment.
34046
247c3ede
PB
340472012-04-12 Petr Baudis <pasky@ucw.cz>
34048
34049 [BZ #2074]
34050 * stdio.texi (Hook Functions): The user provided writer function
34051 is not allowed to return -1.
34052
55939d6d
DM
340532012-04-11 David S. Miller <davem@davemloft.net>
34054
34055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34056
90020f5a
MF
340572012-04-11 Mike Frysinger <vapier@gentoo.org>
34058
34059 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34060 Add a leading slash to rtkaio.
34061
288f9098
JM
340622012-04-11 Jim Meyering <meyering@redhat.com>
34063
90020f5a
MF
34064 [BZ #11959]
34065 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34066 It is not necessarily an error to ignore fwrite's return
34067 value. One can reliably use ferror to test for errors after
34068 the fact.
288f9098 34069
4be2b570
L
340702012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34071
34072 * bits/types.h (__snseconds_t): New type.
34073 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34074
34075 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34076 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34077 (__SNSECONDS_T_TYPE): Likewise.
34078 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34079 (__SNSECONDS_T_TYPE): Likewise.
34080 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34081 (__SNSECONDS_T_TYPE): Likewise.
34082
288f9098 340832012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
34084
34085 [BZ #2636]
34086 * manual/time.texi (Processor Time): Return type of times is
34087 elapsed real time since an arbitrary point in the past.
34088 (CPU Time): Move CLK_TCK from here...
34089 (Processor Time): ...to here. Correct description.
34090 * manual/conf.texi (Constants for Sysconf): Correct description of
34091 _SC_CLK_TCK.
34092
d7dd4413
DM
340932012-04-10 David S. Miller <davem@davemloft.net>
34094
34095 [BZ #13967]
34096 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34097 where the is a gap between DT_REL(A) and DT_JMPREL.
34098
b46068fc
L
340992012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34100
34101 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34102 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34103 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34104
73d65cc3
SP
341052012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34106
34107 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34108 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34109 (dl_main): Handle --inhibit-cache.
34110 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34111 _dl_inhibit_cache.
34112 * elf/dl-load.c (_dl_map_object): Use it.
34113 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34114
bcc8d661
JM
341152012-04-09 Joseph Myers <joseph@codesourcery.com>
34116
8f9a2fae
JM
34117 [BZ #13872]
34118 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34119 (__ieee754_powl): Saturate large exponents rather than testing for
34120 overflow of y*log2(x).
34121 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34122 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34123 exceptions.
34124
bcc8d661
JM
34125 [BZ #11521]
34126 * math/s_ctan.c: Include <float.h>.
34127 (__ctan): Avoid internal overflow or cancellation in calculating
34128 denominator.
34129 * math/s_ctanf.c: Likewise.
34130 * math/s_ctanl.c: Likewise.
34131 * math/s_ctanh.c: Likewise.
34132 * math/s_ctanhf.c: Likewise.
34133 * math/s_ctanhl.c: Likewise.
34134 * math/libm-test.inc (ctan_test): Add more tests.
34135 (ctanh_test): Likewise.
34136 * sysdeps/i386/fpu/libm-test-ulps: Update.
34137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34138
823fbbb4
AJ
341392012-04-09 Andreas Jaeger <aj@suse.de>
34140
03879793
AJ
34141 [BZ #6894]
34142 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34143 is an optional BSD extension.
34144
823fbbb4
AJ
34145 [BZ #10254]
34146 * manual/stdio.texi (Opening Streams): Document additional fopen
34147 parameters.
34148
8de131cb
RM
341492012-04-09 Roland McGrath <roland@hack.frob.com>
34150
34151 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34152 %eax without telling the compiler.
34153
c0ed9d7d
CD
341542012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34155
34156 [BZ # 13963]
34157 * manual/install.texi: Use sourceware.org.
34158
c483f6b4
JM
341592012-04-09 Joseph Myers <joseph@codesourcery.com>
34160
d7dd9453
JM
34161 [BZ #13873]
34162 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34163 (__ieee754_pow): Generate overflow and underflow using huge*huge
34164 and tiny*tiny rather than just returning constant infinity or zero
34165 for large exponents.
34166 * math/libm-test.inc (pow_test): Require overflow exceptions for
34167 applicable cases of large exponents.
34168
c483f6b4
JM
34169 [BZ #706]
34170 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34171 (__ieee754_pow): Use iterative multiplication algorithm only for
34172 integer exponents with absolute value below 1024. Check for odd
34173 integer exponents when using algorithm for real exponents.
34174 * math/libm-test.inc (pow_test): Add more tests.
34175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34176
d2de7579
JM
341772012-04-08 Joseph Myers <joseph@codesourcery.com>
34178
34179 [BZ #13705]
34180 * math/libm-test.inc (exp_test): Do not allow overflow exception
34181 on underflow test.
34182
f77f1232
AJ
341832012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34184
34185 [BZ #13705]
34186 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34187 instead of __kernel_standard_f.
34188
3884932b
MF
341892012-04-08 Mike Frysinger <vapier@gentoo.org>
34190
34191 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34192 * sysdeps/x86_64/memset_chk.S: Likewise.
34193
54472e9c
AJ
341942012-04-08 Andreas Jaeger <aj@suse.de>
34195
6ab0fbfc
AJ
34196 [BZ #10153]
34197 * manual/startup.texi (Environment Access): Describe return value
34198 for putenv and setenv.
34199
61efba8c
AJ
34200 [BZ #6895]
34201 * manual/filesys.texi (Directory Entries): Add description for
34202 DT_LNK.
34203
95c3f29a
AJ
34204 [BZ #6890]
34205 * manual/filesys.texi (Directory Entries): Clarify that it's file
34206 system not operating system in the description of DT_UNKNOWN.
34207
54472e9c
AJ
34208 [BZ #6578]
34209 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34210
624254b1
SC
342112012-04-08 Stephen Compall <s11@member.fsf.org>
34212
34213 [BZ #6649]
34214 * manual/llio.texi (Opening and Closing Files): Add cross
34215 reference to explain mode argument.
34216
1e4920e0
MF
342172012-04-07 Mike Frysinger <vapier@gentoo.org>
34218
34219 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34220 * sysdeps/x86_64/memset_chk.S: Likewise.
34221
5ed848f3
DM
342222012-04-07 David S. Miller <davem@davemloft.net>
34223
34224 * elf/elf.h (R_SPARC_WDISP10): Define.
34225 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34226 R_SPARC_SIZE32.
34227 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34228 R_SPARC_SIZE64 and R_SPARC_H34.
34229
96154cd8
CD
342302012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34231
34232 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34233 conditions and remove no longer applicable assertion.
34234
9904dc47
L
342352012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34236
34237 * bits/byteswap.h: Include <features.h>.
34238 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34239 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34240
f8887d0a
L
342412012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34242
34243 * bits/byteswap.h (__bswap_16): Removed.
34244 Include <bits/byteswap-16.h> to get __bswap_16.
34245 * sysdeps/i386/bits/byteswap.h: Likewise.
34246 * sysdeps/s390/bits/byteswap.h: Likewise.
34247 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34248 * bits/byteswap-16.h: New file.
34249 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34250 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34251 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34252 * string/Makefile (headers): Add bits/byteswap-16.h.
34253
62470f60
PP
342542012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34255
34256 [BZ #13895]
34257 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34258 extra indirection.
34259 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34260 * nss/tst-nss-static.c: New.
34261
4dad7bab
RM
342622012-04-06 Robert Millan <rmh@gnu.org>
34263
34264 [BZ #6486]
34265 * manual/llio.texi (File Position Primitive): lseek
34266 refers to WHENCE when it really means OFFSET.
34267
e9142a17
AJ
342682012-04-06 Andreas Jaeger <aj@suse.de>
34269
2c040eff
AJ
34270 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34271 strncmp declarations.
34272
e9142a17
AJ
34273 * abilist/libc.abilist: Add __poll and __ppoll.
34274
ff9f1c5f
DM
342752012-04-05 David S. Miller <davem@davemloft.net>
34276
dcd2ae90
DM
34277 * scripts/check-local-headers.sh: Accept a host triplet in the
34278 path matched by the exclude regexp.
34279
993eb054
DM
34280 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34281 definition.
34282 * sysdeps/powerpc/powerpc32/dl-machine.h
34283 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34284 * sysdeps/s390/s390-32/dl-machine.h
34285 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34286 * sysdeps/sparc/sparc32/dl-machine.h
34287 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34288 * sysdeps/sparc/sparc64/dl-machine.h
34289 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34290
ff9f1c5f
DM
34291 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34292 lazy binding.
48e2e132 34293 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
34294 undefined symbol errors.
34295
48e2e132 34296 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
34297 DT_NEEDED entries.
34298
e80d6f94
MM
342992012-04-05 Michael Matz <matz@suse.de>
34300
34301 [BZ #13592]
34302 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34303
349fa79f
AJ
343042012-04-05 Andreas Jaeger <aj@suse.de>
34305
34306 [BZ #13908]
34307 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34308 comment.
34309
f402708f
KK
343102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34311
34312 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34313 which ROUND is no valid rounding mode.
34314
2ecccfc9
KK
343152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34316
34317 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34318 read again.
34319 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34320
8a53f50f
KK
343212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34322
34323 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34324 an exception using FPU order intentionally.
34325
343262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34327
34328 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34329 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34330 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34331 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34332
d653abb7
SJ
343332012-04-05 Simon Josefsson <simon@josefsson.org>
34334
34335 [BZ #12340]
34336 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34337 EINVAL when BUFLEN is too smal.
34338
c3b1bf7d
TS
343392012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34340
34341 [BZ #13553]
34342 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34343 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34344
b1aa60f3
AJ
343452012-04-03 Andreas Jaeger <aj@suse.de>
34346
c3b1bf7d 34347 [BZ #13938]
67f60a26
AJ
34348 * manual/setjmp.texi (System V contexts): Fix sentence.
34349
b1aa60f3
AJ
34350 [BZ #13926]
34351 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34352 New macro for this case.
34353 [!__GNUC__] (__bswap_64): New inline function for this case.
34354 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34355 * bits/byteswap.h: Likewise.
34356 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34357 ull, guard with __GLIBC_HAVE_LONG_LONG.
34358
34359 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34360 __GLIBC_HAVE_LONG_LONG.
34361
34362 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34363 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34364
39c59c35
TMQMF
343652012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34366
34367 [BZ #13691]
34368 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34369 inptr and inend, rather than using last_ch.
34370
135ffda8
DM
343712012-04-02 David S. Miller <davem@davemloft.net>
34372
34373 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34374 * stdio-common/printf-parse.h (read_int): Change return type to
34375 'int', return -1 on INT_MAX overflow.
34376 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34377 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34378 overflows INT_MAX. Check for overflow of in-format-string precision
34379 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34380 SIZE_MAX not INT_MAX for integer overflow test.
34381 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34382 skip the construct in the format string but do not record anything.
34383 * stdio-common/bug22.c: Adjust to test both width/prevision
34384 INT_MAX overflow as well as total length INT_MAX overflow. Check
34385 explicitly for proper errno values.
34386
228c019e
TS
343872012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34388
302cadd3
TS
34389 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34390 CHAR_MAX.
34391 * string/test-strcmp.c [! WIDE]: Likewise.
34392 * time/tst-mktime2.c: Likewise for INT_MAX.
34393 * string/test-string.h: #include <sys/param.h> for MIN.
34394
228c019e
TS
34395 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34396 * sysdeps/i386/init-first.c (init): Likewise.
34397 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34398 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34399 * sysdeps/sh/init-first.c (init): Likewise.
34400
cfa633f5
UD
344012012-04-01 Ulrich Drepper <drepper@gmail.com>
34402
34403 * po/ru.po: Update from translation team.
d1635ef8 34404 * po/vi.po: Likewise.
cfa633f5 34405
6cd0a5ea
SP
344062012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34407
34408 * resolv/nss_dns/dns-host.c: Merge copyright years.
34409
4b43400f
LD
344102012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34411
34412 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34413 Optimize memcpy with prefetch if
34414 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34415 src, dst pointers have unequal 16 byte alignments.
34416
48c41d04
SP
344172012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34418
34419 [BZ #13928]
34420 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34421 from a CNAME entry and return the minimum ttl for the query.
34422 (gaih_getanswer_slice): Likewise.
34423
b8dc394d
JL
344242012-03-30 Jeff Law <law@redhat.com>
34425
34426 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34427 due to long keys.
34428 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34429 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34430
2f5a5ed0
JL
34431 * resolv/nss_dns/dns-host.c: Update copyright year.
34432
1d39e359
UD
344332012-03-30 Ulrich Drepper <drepper@gmail.com>
34434
c030f70c 34435 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 34436 requests to save a system call. Fix check that all bytes are sent.
c030f70c 34437
1d39e359
UD
34438 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34439 comments for sendmmsg.
34440
344412012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
34442
34443 [BZ #13691]
34444 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34445 with only 1 character between 0x0041 and 0x01b0.
34446 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34447 * wcsmbs/tst-mbsnrtowcs.c: New file.
34448
20fde227
DM
344492012-03-29 David S. Miller <davem@davemloft.net>
34450
34451 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34452 small copies by hand.
34453
984a4237
JL
344542012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34455
34456 [BZ #13761]
57f41c40
AS
34457 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34458 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34459 group memberships.
984a4237 34460
18c9d62b
DM
344612012-03-28 David S. Miller <davem@davemloft.net>
34462
88d85d4f
DM
34463 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34464 that branches into memcpy.
34465 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34466 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34467 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34468 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34469 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34470 bits.
34471 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34472 implementation too.
34473 * sysdeps/sparc/mempcpy.S: New file.
34474
e5aa83e1
DM
34475 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34476 the IFUNC routine in the libc case.
34477 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34478
88570753
DM
34479 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34480 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34481 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34482 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34483 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34484 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34485 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34486 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34487
249d7567
DM
34488 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34489 loop to 256 bytes instead of 64 bytes and fix test signedness.
34490
18c9d62b
DM
34491 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34492 * sysdeps/sparc/sparc32/Makefile: rather than here...
34493 * sysdeps/sparc/sparc64/Makefile: and here.
34494
05f3d1f6
UD
344952012-03-28 Ulrich Drepper <drepper@gmail.com>
34496
34497 * malloc/mallocbug.c: Avoid warnings about unused variables.
34498
86ae07a8
JL
344992012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34500
34501 [BZ #13760]
34502 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
34503 in the right place. Discard and retry query if response is
34504 larger than input buffer size.
34505
41bf21a1
JM
345062012-03-28 Joseph Myers <joseph@codesourcery.com>
34507
d6270972
JM
34508 [BZ #369]
34509 [BZ #2678]
34510 [BZ #3866]
34511 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
34512 x for large integer exponent.
34513 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34514 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
34515 sign of result as needed afterwards.
34516 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34517 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
34518 result for underflowing pow the same as for overflow.
34519 (__kernel_standard_l): Handle powl overflow and underflow here
34520 rather than calling __kernel_standard.
34521 * math/libm-test.inc (pow_test): Add more tests.
34522
414fca03 34523 [BZ #3868]
41bf21a1
JM
34524 [BZ #13879]
34525 [BZ #13910]
34526 [BZ #13911]
34527 [BZ #13912]
34528 [BZ #13913]
34529 [BZ #13915]
34530 [BZ #13916]
34531 [BZ #13917]
34532 [BZ #13918]
34533 [BZ #13919]
34534 [BZ #13920]
34535 [BZ #13921]
34536 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
34537 * sysdeps/ieee754/k_standard.c: Include <float.h>.
34538 (__kernel_standard_l): New function.
34539 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
34540 __kernel_standard.
34541 * math/w_acosl.c (__acosl): Likewise.
34542 * math/w_asinl.c (__asinl): Likewise.
34543 * math/w_atan2l.c (__atan2l): Likewise.
34544 * math/w_atanhl.c (__atanhl): Likewise.
34545 * math/w_coshl.c (__coshl): Likewise.
34546 * math/w_exp10l.c (__exp10l): Likewise.
34547 * math/w_exp2l.c (__exp2l): Likewise.
34548 * math/w_fmodl.c (__fmodl): Likewise.
34549 * math/w_hypotl.c (__hypotl): Likewise.
34550 * math/w_j0l.c (__j0l, __y0l): Likewise.
34551 * math/w_j1l.c (__j1l, __y1l): Likewise.
34552 * math/w_jnl.c (__jnl, __ynl): Likewise.
34553 * math/w_lgammal.c (__lgammal): Likewise.
34554 * math/w_log10l.c (__log10l): Likewise.
34555 * math/w_log2l.c (__log2l): Likewise.
34556 * math/w_logl.c (__logl): Likewise.
34557 * math/w_powl.c (__powl): Likewise.
34558 * math/w_remainderl.c (__remainderl): Likewise.
34559 * math/w_scalbl.c (sysv_scalbl): Likewise.
34560 * math/w_sinhl.c (__sinhl): Likewise.
34561 * math/w_sqrtl.c (__sqrtl): Likewise.
34562 * math/w_tgammal.c (__tgammal): Likewise.
34563 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
34564 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
34565 * math/libm-test.inc (acos_test): Add more tests.
34566 (acosh_test): Likewise.
34567 (asin_test): Likewise.
34568 (atanh_test): Likewise.
34569 (exp_test): Likewise.
34570 (exp10_test): Likewise.
34571 (exp2_test): Likewise.
34572 (expm1_test): Likewise.
34573 (lgamma_test): Likewise.
34574 (log_test): Likewise.
34575 (log10_test): Likewise.
34576 (log1p_test): Likewise.
34577 (log2_test): Likewise.
34578 (pow_test): Do not allow some spurious overflow exceptions.
34579 (sqrt_test): Add more tests.
34580 (tgamma_test): Likewise.
34581 (y0_test): Likewise.
34582 (y1_test): Likewise.
34583 (yn_test): Likewise.
34584
dd62fda6
AB
345852012-03-27 Anton Blanchard <anton@samba.org>
34586
34587 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
34588 MAP_HUGETLB.
34589 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34590 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34591 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34592
1e3cdfda
AJ
345932012-03-27 David S. Miller <davem@davemloft.net>
34594
b855ab85
DM
34595 * conform/Makefile: Run run-conformtest.sh using $(BASH).
34596
1e3cdfda
AJ
34597 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
34598 have-as-vis3 check.
34599
346002012-03-27 Andreas Jaeger <aj@suse.de>
34601
34602 * sysdeps/x86_64/elf/configure.in: Moved to ...
34603 * sysdeps/x86_64/configure.in: ... here.
34604 * sysdeps/x86_64/elf/start.S: Moved to ...
34605 * sysdeps/x86_64/start.S: ... here.
34606 * sysdeps/x86_64/elf/configure: Delete.
34607
34608 * sysdeps/x86_64/configure.in: Merge contents from
34609 sysdeps/i386/configure.in (without i686 check).
34610
34611 * sysdeps/i386/elf/Versions: Merge into ...
34612 * sysdeps/i386/Versions: ... this.
34613 * sysdeps/i386/elf/Versions: Delete file.
34614 * sysdeps/i386/elf/start.S: Moved to ...
34615 * sysdeps/i386/start.S: ...here.
34616 * sysdeps/i386/elf/configure.in: Merge into...
34617 * sysdeps/i386/configure.in: ...here.
34618 * sysdeps/i386/elf/configure.in: Delete file.
34619 * sysdeps/i386/elf/configure: Delete file.
34620
34621 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
34622 * debug/backtracesyms.c: ... here.
34623 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
34624 * debug/backtracesymsfd.c: ... here.
34625 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
34626 * sysdeps/generic/ifunc-sel.h: ... here.
34627
34628 * sysdeps/unix/i386/start.c: Delete file.
34629 * sysdeps/unix/sparc/start.c: Delete file.
34630 * sysdeps/unix/start.c: Delete file.
34631
34632 * sysdeps/sh/elf/configure.in: Moved to ...
34633 * sysdeps/sh/configure.in: ... here.
34634 * sysdeps/sh/elf/start.S: Moved to ...
34635 * sysdeps/sh/start.S: ... here.
34636 * sysdeps/sh/elf/configure: Delete file.
34637
34638 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
34639 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
34640 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
34641 * sysdeps/powerpc/powerpc64/entry.h: ... here.
34642 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
34643 * sysdeps/powerpc/powerpc64/start.S: here.
34644 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
34645 * sysdeps/powerpc/powerpc64/Makefile: ... this.
34646 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
34647 * sysdeps/powerpc/powerpc64/configure.in: ... this.
34648 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
34649
34650 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
34651 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
34652 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
34653 * sysdeps/powerpc/powerpc32/start.S: ... here.
34654 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
34655 * sysdeps/powerpc/powerpc32/configure.in: ... this.
34656 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
34657
34658 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
34659 * sysdeps/powerpc/ifunc-sel.h: ... here.
34660 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
34661 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
34662
34663 * sysdeps/sparc/elf/configure.in: Moved to ...
34664 * sysdeps/sparc/configure.in: ... here.
34665 * sysdeps/sparc/elf/configure: Delete file.
34666 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
34667 * sysdeps/sparc/sparc32/start.S: ... here.
34668 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
34669 * sysdeps/sparc/sparc64/start.S: ... here.
34670 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
34671 * sysdeps/sparc/sparc32/Makefile: ... this.
34672 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
34673 * sysdeps/sparc/sparc64/Makefile: ... this.
34674
34675 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
34676 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
34677 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
34678 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
34679 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
34680 * sysdeps/s390/s390-32/setjmp.S: ... here.
34681 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
34682 * sysdeps/s390/s390-32/configure.in: ... here.
34683 * sysdeps/s390/s390-32/elf/configure: Delete file.
34684 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
34685 * sysdeps/s390/s390-32/start.S: ... here.
34686
34687 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
34688 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
34689 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
34690 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
34691 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
34692 * sysdeps/s390/s390-64/setjmp.S: ... here.
34693 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
34694 * sysdeps/s390/s390-64/configure.in: ... here
34695 * sysdeps/s390/s390-64/elf/configure: Delete file.
34696 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
34697 * sysdeps/s390/s390-64/start.S: ... here.
34698 * sysdeps/s390/s390-64/elf/configure: Delete.
34699
34700 * configure.in: Remove support for elf directories in sysdeps.
34701
34702 * configure: Regenerated.
34703 * sysdeps/i386/configure: Regenerated.
34704 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34705 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34706 * sysdeps/s390/s390-32/configure: Regenerated.
34707 * sysdeps/s390/s390-64/configure: Regenerated.
34708 * sysdeps/sh/configure: Regenerated.
34709 * sysdeps/sparc/configure: Regenerated.
34710 * sysdeps/x86_64/configure: Regenerated.
34711
a3f61311
AS
347122012-03-26 Andreas Schwab <schwab@linux-m68k.org>
34713
c876e002
AS
34714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34715
a3f61311
AS
34716 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34717 denormal result into account.
34718
ac4c54f0
RM
347192012-03-25 Roland McGrath <roland@hack.frob.com>
34720
34721 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34722 Reported by Allan McRae <allan@archlinux.org>.
34723
6a9b9c02
JL
347242012-03-23 Jeff Law <law@redhat.com>
34725
34726 * nss/getnssent.c (__nss_getent): Fix typo.
34727
4c42a0c1
DM
347282012-03-23 David S. Miller <davem@davemloft.net>
34729
34730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34731
1532c7ac
L
347322012-03-23 H.J. Lu <hongjiu.lu@intel.com>
34733
34734 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34735 to pad to uint64_t for each field.
34736 (dl_tls_index): Replace unsigned long with uint64_t.
34737
3ff42526
PP
347382012-03-23 Daniel Jacobowitz <dmj@google.com>
34739 Paul Pluzhnikov <ppluzhnikov@google.com>
34740
34741 [BZ #6528]
34742 * grp/Makefile (otherlibs): Don't set it.
34743 * inet/Makefile (otherlibs): Likewise.
34744 * login/Makefile (otherlibs): Likewise.
34745 * nscd/Makefile (otherlibs): Likewise.
34746 * posix/Makefile (otherlibs): Likewise.
34747 * pwd/Makefile (otherlibs): Likewise.
34748 * rt/Makefile (otherlibs): Likewise.
34749 * sunrpc/Makefile (otherlibs): Likewise.
34750 * nss/Makefile (otherlibs): Likewise.
34751 Add libnss_files to routines and static-only-routines.
34752 ($(objpfx)getent): Remove rule.
34753 * resolv/Makefile: Add libnss_dns and libresolv to routines and
34754 static-only-routines.
34755
7c69cd14
JM
347562012-03-22 Joseph Myers <joseph@codesourcery.com>
34757
34758 [BZ #13892]
34759 * math/s_cexp.c: Include <float.h>.
34760 (__cexp): Handle exp result overflowing not necessarily
34761 overflowing both real and imaginary parts of result.
34762 * math/s_cexpf.c: Likewise.
34763 * math/s_cexpl.c: Likewise.
34764 * math/libm-test.inc (cexp_test): Add more tests.
34765 * sysdeps/i386/fpu/libm-test-ulps: Update.
34766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34767
81b035fe
L
347682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34769
34770 * include/link.h (ELFW): New macro.
34771 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34772 Replace ELF64_R_TYPE with ELFW(R_TYPE).
34773
1da7940c
L
347742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34775
34776 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34777 with uint64_t.
34778
b749dbb9
L
347792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34780
34781 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34782 declaration.
34783 (struct La_x32_retval): Likewise.
34784
2ff87f3f
L
347852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
34786
34787 * sysdeps/x86_64/preconfigure.in: New file.
34788 * sysdeps/x86_64/preconfigure: New generated file.
34789
c0df8e69
JM
347902012-03-22 Joseph Myers <joseph@codesourcery.com>
34791
48e44791
JM
34792 [BZ #13824]
34793 * math/e_exp2l.c: Include <float.h>.
34794 (__ieee754_exp2l): Handle overflow and underflow cases
34795 separately. Only pass fractional part of argument to
34796 __ieee754_expl.
34797 * math/libm-test.inc (exp2_test): Add more tests.
34798
c0df8e69
JM
34799 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34800 negating x to take absolute value.
34801 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34802 Likewise.
34803 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34804 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34805 Likewise.
34806 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34807 computing low part if x was negated.
34808 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34809
c8e43ba7
L
348102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34811
34812 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34813 la_x32_gnu_pltexit.
34814 (pltexit): Cast int_retval to ptrdiff_t.
34815 * elf/tst-auditmod3b.c: Likewise.
34816 * elf/tst-auditmod4b.c: Likewise.
34817 * elf/tst-auditmod5b.c: Likewise.
34818 * elf/tst-auditmod6b.c: Likewise.
34819 * elf/tst-auditmod6c.c: Likewise.
34820 * elf/tst-auditmod7b.c: Likewise.
34821
34822 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34823 and x32_gnu_pltexit.
34824
34825 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34826 __ELF_NATIVE_CLASS.
34827 (La_x32_regs): New macro.
34828 (La_x32_retval): Likewise.
34829 (la_x32_gnu_pltenter): New function prototype.
34830 (la_x32_gnu_pltexit): Likewise.
34831
7998fa78
AS
348322012-03-21 Andreas Schwab <schwab@linux-m68k.org>
34833
dcb33988
AS
34834 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34835 exponent.
34836
233fc563
AS
34837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34838
7998fa78
AS
34839 * configure.in (libc_cv_cc_nofma): Check for option to disable
34840 generation of FMA instructions.
34841 * configure: Regenerate.
34842 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34843 * sysdeps/ieee754/dbl-64/Makefile: New file.
34844 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34845 Remove brandred-fma4.
34846 (CFLAGS-brandred-fma4.c): Remove.
34847 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34848 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34849 define.
34850 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34851 define.
34852
8e95c99a
L
348532012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34854
34855 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34856 LLONG_MAX != LONG_MAX.
34857 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34858 (_fitoa_word): Likewise.
34859 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34860 LLONG_MAX != LONG_MAX.
34861 * stdio-common/_itowa.h: Include <_itoa.h>.
34862 (_itowa_word): Use _ITOA_WORD_TYPE on value.
34863 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
34864 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
34865 only if not defined.
34866 (_ITOA_WORD_TYPE): Likewise.
34867 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34868 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34869
6f4db457
DM
348702012-03-21 David S. Miller <davem@davemloft.net>
34871
34872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34873
7785fe5a
L
348742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
34875
34876 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34877 of x86_64 when setting libc_cv_slibdir, libdir and
34878 libc_cv_localedir.
34879 * sysdeps/unix/sysv/linux/configure: Regenerated.
34880
4535cd55
JM
348812012-03-21 Joseph Myers <joseph@codesourcery.com>
34882
34883 * manual/lang.texi (Old Varargs): Remove section.
34884 (How Variadic): Update menu.
34885 (va_start): Do not mention varargs.h.
34886
17228132
TS
348872012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34888 Joseph Myers <joseph@codesourcery.com>
34889
34890 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34891 link test.
34892 * configure: Regenerated.
34893
8149f976
TS
348942012-03-21 Thomas Schwinge <thomas@codesourcery.com>
34895
05f3d1f6
UD
34896 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34897 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34898 conformtest.pl
8149f976 34899
1a4ac776
JM
349002012-03-21 Joseph Myers <joseph@codesourcery.com>
34901
be22ce65
JM
34902 * NOTES: Remove.
34903 * Makefile (files-for-dist): Remove NOTES.
34904 (NOTES): Remove rule.
34905 * README: Don't refer to NOTES.
34906 * manual/creature.texi: Don't include macros.texi.
34907 * manual/intro.texi (creature.texi): Remove comment referring to
34908 NOTES.
34909
40b601fb
JM
34910 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34911 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34912 * configure: Regenerated.
34913 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34914 LIBC_TRY_CC_OPTION.
34915 (libc_cv_as_i686): Likewise.
34916 (libc_cv_cc_avx): Likewise.
34917 (libc_cv_cc_sse2avx): Likewise.
34918 (libc_cv_cc_fma4): Likewise.
34919 (libc_cv_cc_novzeroupper): Likewise.
34920 * sysdeps/i386/configure: Regenerated.
34921
1a4ac776
JM
34922 [BZ #13883]
34923 * sysdeps/i386/fpu/s_cexp.S: Remove.
34924 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34925 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34926 * math/libm-test.inc (cexp_test): Add more tests.
34927 * sysdeps/i386/fpu/libm-test-ulps: Update.
34928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34929
a458e7fe
AM
349302012-03-21 Allan McRae <allan@archlinux.org>
34931
34932 * timezone/Makefile: Do not install iso3166.tab and zone.tab
34933
0cb7efc5
JM
349342012-03-21 Joseph Myers <joseph@codesourcery.com>
34935
34936 [BZ #13871]
34937 * math/w_exp2.c: Do not include <float.h>.
34938 (o_threshold, u_threshold): Remove.
34939 (__exp2): Calculate result before checking finiteness and calling
34940 __kernel_standard.
34941 * math/w_exp2f.c: Likewise.
34942 * math/w_exp2l.c: Likewise.
34943 * math/libm-test.inc (exp2_test): Require overflow exception for
34944 1e6 input.
2460d3aa
JM
34945
34946 [BZ #3866]
34947 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34948 range of signed 64-bit integers before using fistpll. Remove
34949 checks for whether integers fit in mantissa bits.
34950 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34951 the range of signed 32-bit integers before using fistpl. Remove
34952 checks for whether integers fit in mantissa bits.
34953 * sysdeps/i386/fpu/e_powl.S (p64): New object.
34954 (__ieee754_powl): Test for y outside the range of signed 64-bit
34955 integers before using fistpll. Reduce 64-bit values to 63-bit
34956 ones as needed.
34957 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34958 divide-by-zero is raised for zero to large negative powers.
34959 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34960 (__ieee754_powl): Test for y outside the range of signed 64-bit
34961 integers before using fistpll. Reduce 64-bit values to 63-bit
34962 ones as needed.
34963 * math/libm-test.inc (pow_test): Add more tests.
34964
eb96ffb0
L
349652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
34966
34967 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34968 <stdio-common/_itoa.h>.
34969 * debug/segfault.c: Likewise.
34970 * elf/dl-cache.c: Likewise.
34971 * elf/dl-minimal.c: Likewise.
34972 * elf/dl-misc.c: Likewise.
34973 * elf/dl-sysdep.c: Likewise.
34974 * elf/dl-version.c: Likewise.
34975 * elf/rtld.c: Likewise.
34976 * hurd/hurdsock.c: Likewise.
34977 * hurd/lookup-retry.c: Likewise.
34978 * malloc/malloc.c: Likewise.
34979 * malloc/mtrace.c: Likewise.
34980 * nscd/nscd_getgr_r.c: Likewise.
34981 * nscd/nscd_getpw_r.c: Likewise.
34982 * nscd/nscd_getserv_r.c: Likewise.
34983 * posix/getopt_init.c: Likewise.
34984 * posix/wordexp.c: Likewise.
34985 * stdio-common/_itoa.c: Likewise.
34986 * stdio-common/printf_fphex.c: Likewise.
34987 * stdio-common/vfprintf.c: Likewise.
34988 * string/_strerror.c: Likewise.
34989 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34990 * sysdeps/i386/i686/hp-timing.h: Likewise.
34991 * sysdeps/mach/_strerror.c: Likewise.
34992 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34993 * sysdeps/mach/hurd/sethostid.c: Likewise.
34994 * sysdeps/mach/hurd/xmknodat.c: Likewise.
34995 * sysdeps/mach/xpg-strerror.c: Likewise.
34996 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34997 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34998 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34999 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35000 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35001 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35002 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35003 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35004 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35005 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35006 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35007 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35008 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35009 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35010 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35011 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35012 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35013 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35014 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35015 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35016 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35017
35018 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35019
35020 * stdio-common/_itoa.h: Moved to ...
35021 * sysdeps/generic/_itoa.h: Here.
35022
35023 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35024
35025 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35026 instead of "_itoa.h" and "_itowa.h".
35027 * stdio-common/vfprintf.: Likewise.
35028
d1af992d
L
350292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35030
35031 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35032 <bits/wordsize.h>.
35033 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35034 (__signbit): Likwise.
35035 (llrintf): Likwise.
35036 (llrint): Likwise.
35037
114883e0
L
350382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35039
35040 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35041 __WORDSIZE != 64.
35042
c135cc1b
JM
350432012-03-20 Joseph Myers <joseph@codesourcery.com>
35044
35045 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35046 OVERFLOW_EXCEPTION_OK.
35047 * math/libm-test.inc ("Philosophy"): Update comment about
35048 exception testing.
35049 (OVERFLOW_EXCEPTION): Define.
35050 (OVERFLOW_EXCEPTION_OK): Likewise.
35051 (INVALID_EXCEPTION_OK): Renumber.
35052 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35053 (IGNORE_ZERO_INF_SIGN): Likewise.
35054 (test_exceptions): Handle FE_OVERFLOW.
35055 (exp10_test): Expect overflow exceptions.
35056 (exp2_test): Likewise.
35057 (expm1_test): Likewise.
35058 (nextafter_test): Likewise.
35059 (pow_test): Likewise.
35060 (scalbn_test): Likewise.
35061 (scalbln_test): Likewise.
35062
95443d88
L
350632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35064
35065 * sysdeps/x86_64/bits/atomic.h
35066 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35067 64bit integer.
35068 (atomic_exchange_acq): Likewise.
35069 (__arch_exchange_and_add_body): Likewise.
35070 (__arch_add_body): Likewise.
35071 (atomic_add_negative): Likewise.
35072 (atomic_add_zero): Likewise.
35073
490df6c4
L
350742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35075
c2722551 35076 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
35077 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35078
5e52b189
L
350792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35080
35081 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35082 Check __x86_64__ instead of __WORDSIZE.
35083
a9879d4c
L
350842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35085
35086 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35087
5df98260
DM
350882012-03-19 David S. Miller <davem@davemloft.net>
35089
e1497744
DM
35090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35091
5df98260
DM
35092 * sysdeps/sparc/fpu/fenv_private.h: New file.
35093 * sysdeps/sparc/fpu/math_private.h: Use it.
35094 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35095 Remove.
57f41c40 35096 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
35097 (libc_feholdexcept_setroundl): Remove.
35098 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35099 Remove.
35100 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35101 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35102
b4c35121
L
351032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35104
35105 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35106 int64_t instead of long int.
35107 (INSERT_WORDS64): Likwise.
35108
56965fd7
L
351092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35110
35111 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35112 _Unwind_GetCFA return to _Unwind_Ptr first.
35113
83d1aec8
JM
351142012-03-19 Joseph Myers <joseph@codesourcery.com>
35115
1897ad44
JM
35116 [BZ #13629]
35117 * math/s_clog.c: Include <float.h>.
35118 (__clog): Scale large or subnormal inputs.
35119 * math/s_clogf.c: Likewise.
35120 * math/s_clogl.c: Likewise.
35121 * math/s_clog10.c: Include <float.h>.
35122 (M_LOG10_2): Define.
35123 (__clog10): Scale large or subnormal inputs.
35124 * math/s_clog10f.c: Likewise.
35125 * math/s_clog10l.c: Likewise.
35126 * math/libm-test.inc (clog_test): Add more tests.
35127 (clog10_test): Likewise.
35128 * sysdeps/i386/fpu/libm-test-ulps: Update.
35129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35130
7726d6a9
JM
35131 [BZ #11451]
35132 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35133 x and y.
35134 * math/libm-test.inc (atan2_test): Add another test.
35135
83d1aec8
JM
35136 * Makerules (common-objdir-compile): Remove.
35137 * sysdeps/unix/Makefile (config-generated): Do not add
35138 $(unix-generated) to variable.
35139 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35140 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35141 Remove rule.
35142 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35143 Likewise.
35144 [generic bits/local_lim.h] (before-compile): Do not append to
35145 variable.
35146 [generic bits/local_lim.h] (common-generated): Likewise.
35147 [generic sys/param.h] (before-compile): Do not append to variable.
35148 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35149 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35150 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35151 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35152 include.
35153 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35154 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35155 [generic sys/param.h] ($(addprefix
35156 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35157 [generic sys/param.h] (common-generated): Do not append to
35158 variable.
35159 [generic sys/param.h] (sysdep_headers): Likewise.
35160 [generic bits/errno.h] (before-compile): Do not append to
35161 variable.
35162 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35163 rule.
35164 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35165 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35166 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35167 [generic bits/errno.h] (common-generated): Do not append to
35168 variable.
35169 [generic bits/ioctls.h] (before-compile): Do not append to
35170 variable.
35171 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35172 rule.
35173 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35174 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35175 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35176 rule.
35177 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35178 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35179 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35180 [generic bits/ioctls.h] (common-generated): Do not append to
35181 variable.
35182 [generic sys/syscall.h] (syscall.h): Remove variable.
35183 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35184 rule.
35185 [generic sys/syscall.h] (before-compile): Do not append to
35186 variable.
35187 [generic sys/syscall.h] (common-generated): Likewise.
35188 * sysdeps/unix/errnos-tmpl.c: Remove file.
35189 * sysdeps/unix/errnos.awk: Likewise.
35190 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35191 * sysdeps/unix/ioctls.awk: Likewise.
35192 * sysdeps/unix/mk-local_lim.c: Likewise.
35193 * sysdeps/unix/snarf-ioctls: Likewise.
35194
4851a949
RH
351952012-03-19 Richard Henderson <rth@twiddle.net>
35196
bd37f2ee
RH
35197 * sysdeps/i386/fpu/fenv_private.h: New file.
35198 * sysdeps/i386/fpu/math_private.h: Use it.
35199 (math_opt_barrier, math_force_eval): Remove.
35200 (libc_feholdexcept_setround_53bit): Remove.
35201 (libc_feupdateenv_53bit): Remove.
35202 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35203 (math_opt_barrier, math_force_eval): Remove.
35204 (libc_feholdexcept): Remove.
35205 (libc_feholdexcept_setround): Remove.
35206 (libc_fetestexcept, libc_fesetenv): Remove.
35207 (libc_feupdateenv_test): Remove.
35208 (libc_feupdateenv, libc_feholdsetround): Remove.
35209 (libc_feresetround): Remove.
35210
d0adc922
RH
35211 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35212 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35213
0fe0f1f8
RH
35214 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35215 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35216 (libc_feupdateenv_testl): New.
35217 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35218 (libc_feupdateenv_testf): New.
35219 (libc_feupdateenv): Use libc_feupdateenv_test.
35220 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35221 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35222
eb92c487
RH
35223 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35224 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35225 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35226 (libc_feresetround_noex): New.
35227 (libc_feresetround_noexf): New.
35228 (libc_feresetround_noexl): New.
35229 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35230 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35231 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35232 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35233 SET_RESTORE_ROUND.
35234 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35235 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35236 (__cos): Likewise.
35237 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35238 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35239 SET_RESTORE_ROUND_NOEX.
35240 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35241 SET_RESTORE_ROUND_NOEXF.
35242 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35243 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35244 (libc_feholdsetroundf): New.
35245 (libc_feresetround, libc_feresetroundf): New.
35246
7d2e8012
RH
35247 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35248 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35249 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35250
b4dabbb4
RH
35251 * sysdeps/generic/math_private.h: Include <fenv.h>.
35252 (default_libc_feholdexcept): New.
35253 (default_libc_feholdexcept_setround): New.
35254 (default_libc_fesetenv, default_libc_feupdateenv): New.
35255 (libc_feholdexcept): Only define if undefined.
35256 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35257 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35258 (libc_feholdexcept_setroundl): Likewise.
35259 (libc_feholdexcept_setround_53bit): Likewise.
35260 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35261 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35262 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35263 (libc_feupdateenv_53bit): Likewise.
35264 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35265 (libc_feholdexcept): Convert from macro to inline function.
35266 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35267 (libc_fesetenv, libc_feupdateenv): Likewise.
35268
4851a949
RH
35269 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35270 not previously defined.
35271 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35272 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35273 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35274 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35275 * sysdeps/ieee754/flt-32/math_private.h: New file.
35276 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35277 math_private.h below SET_FLOAT_WORD.
35278 (__isnan, __isinf_ns, __finite): Remove.
35279 (__isnanf, __isinf_nsf, __finitef): Remove.
35280
e79d442e
AS
352812012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35282
35283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35284
90b80344
DM
352852012-03-17 David S. Miller <davem@davemloft.net>
35286
35287 [BZ #6471]
35288 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35289 for 2.16.
35290
edc21804
DM
352912012-03-16 David S. Miller <davem@davemloft.net>
35292
77e927af
DM
35293 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35294 warnings.
35295
374976dd
DM
35296 [BZ #6471]
35297 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35298 properly.
35299 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35300 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35301 sysdep_routines when subdir is sysvipc.
35302 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35303 __getshmlba helper.
35304
edc21804
DM
35305 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35306
473c3ef3
L
353072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35308
35309 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35310 [__LP64__].
35311
eb0f39b6
L
353122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35313
35314 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35315 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35316 (__lround): Renamed to ...
35317 (__llround): This. Replace long int with long long int.
35318 Define lround functions as aliases of llround functions.
35319 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35320
6b6cd74b
L
353212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35322
35323 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35324 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35325 adresses to uintptr_t. Replace "long int" and "unsigned long
35326 int" with "greg_t" on va_arg.
35327
f1a77b01
L
353282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35329
35330 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35331 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35332
35333 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35334 Move e_machine check before EI_CLASS check. Handle x32
35335 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35336 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35337 SKIP_EM_IA_64 and include
35338 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35339
35340 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35341 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35342 (add_system_dir): New macro.
35343
35344 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35345 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35346
11b90b9f
JM
353472012-03-16 Joseph Myers <joseph@codesourcery.com>
35348
c36e1d23
JM
35349 [BZ #2551]
35350 [BZ #2552]
35351 [BZ #2553]
35352 [BZ #2554]
35353 [BZ #2562]
35354 [BZ #2563]
35355 [BZ #2565]
35356 [BZ #2566]
35357 [BZ #2576]
35358 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35359 (y0): Likewise.
35360 * math/w_j0f.c (j0f): Likewise.
35361 (y0f): Likewise.
35362 * math/w_j0l.c (__j0l): Likewise.
35363 (__y0l): Likewise.
35364 * math/w_j1.c (j1): Likewise.
35365 (y1): Likewise.
35366 * math/w_j1f.c (j1f): Likewise.
35367 (y1f): Likewise.
35368 * math/w_j1l.c (__j1l): Likewise.
35369 (__y1l): Likewise.
35370 * math/w_jn.c (jn): Likewise.
35371 (yn): Likewise.
35372 * math/w_jnf.c (jnf): Likewise.
35373 (ynf): Likewise.
35374 * math/w_jnl.c (__jnl): Likewise.
35375 (__ynl): Likewise.
35376 * math/libm-test.inc (j0_test): Add more tests.
35377 (j1_test): Likewise.
35378 (jn_test): Likewise. Add trailing semicolon to existing test.
35379 (y0_test): Likewise.
35380 (y1_test): Likewise.
35381 * sysdeps/i386/fpu/libm-test-ulps: Update.
35382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35383
11b90b9f
JM
35384 [BZ #13851]
35385 [BZ #13854]
35386 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35387 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35388 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35389 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35390 (__tanl): Set errno for infinite argument.
35391 * sysdeps/i386/fpu/mptan.c: Remove.
35392 * sysdeps/i386/fpu/s_tan.S: Likewise.
35393 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35394 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35395 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35396 * math/libm-test.inc (tan_test): Add more tests and enable more
35397 tests for double and long double.
35398 * sysdeps/i386/fpu/libm-test-ulps: Update.
35399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35400
6a1bd2a1
JK
354012012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35402
35403 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35404 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35405
10a803e0
RM
354062012-03-16 Roland McGrath <roland@hack.frob.com>
35407
35408 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35409 * configure.in: Use it for both main tree and add-ons.
35410 * configure: Regenerated.
35411
f196c7f7
L
354122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35413
35414 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35415
8848d99d
JM
354162012-03-16 Joseph Myers <joseph@codesourcery.com>
35417
96cbe7f4
JM
35418 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35419 in comment.
35420
8848d99d
JM
35421 [BZ #13851]
35422 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35423 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35424 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35425 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35426 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35427 infinite argument.
35428 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35429 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35430 != 0 for prec == 2.
35431 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35432 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35433 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35434 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35435 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35436 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35437 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35438 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35439 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35440 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35441 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35442 * math/libm-test.inc (cos_test): Add more tests and enable more
35443 tests for long double.
35444 (sin_test): Likewise.
35445 (sincos_test): Likewise.
35446 * sysdeps/i386/fpu/libm-test-ulps: Update.
35447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35448
dd7f4703
DM
354492012-03-16 David S. Miller <davem@davemloft.net>
35450
35451 * sysdeps/sparc/fpu/math_private.h: New file.
35452
006f1daa
DM
354532012-03-15 David S. Miller <davem@davemloft.net>
35454
c0c83bc8
DM
35455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35456 file.
e6a62e18 35457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
35458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35459 file.
e6a62e18
DM
35460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35461 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35465 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35466 sysdep routines.
35467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35468
88cb87d9
DM
35469 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35470 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35471
006f1daa 35472 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
35473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35474 sparc-ifunc.h
006f1daa 35475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
35476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35477 Likewise.
35478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35479 Likewise.
006f1daa
DM
35480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
35483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35484 Likewise.
006f1daa
DM
35485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
35489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35490 Likewise.
35491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35492 Likewise.
006f1daa
DM
35493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
35497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35498 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35499 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
35500 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
35501 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35502 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
35504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
35505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
35506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
35507 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
35508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
35509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
35510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
35511 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
35512 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
35513 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
35514 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
35515 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
35516 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
35517
11e0098e
AS
355182012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35519
35520 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
35521 scaling.
35522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35523
e85b09d0
AJ
355242012-03-15 Andreas Jaeger <aj@suse.de>
35525
35526 [BZ #13852]
35527 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
35528 ieee754/flt-32 implementation for sin, cos and sincos.
35529 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
35530 * sysdeps/i386/fpu/s_cosf.S: Likewise.
35531 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
35532 * sysdeps/i386/fpu/s_sinf.S: Likewise.
35533 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
35534 ieee754/flt-32 implementation for tan.
35535
35536 * math/libm-test.inc (cos_test): Enable some large input tests for
35537 float as well
35538 (sin_test): Likewise.
35539 (sincos_test): Likewise.
35540 (tan_test): Add tests for large input.
35541
35542 * sysdeps/i386/fpu/libm-test-ulps: Update.
35543
81c64153
AJ
355442012-03-15 Andreas Jaeger <aj@suse.de>
35545
35546 [BZ #13658]
35547 * math/libm-test.inc (cos_test): Add more test cases.
35548 (sin_test): Likewise.
35549 (sincos_test): Likewise.
35550
7bbfa5c6
AJ
355512012-03-15 Andreas Jaeger <aj@suse.de>
35552
35553 [BZ #13837]
35554 * math/libm-test.inc (cos_test): Add a test case for large input
35555 value.
35556 (sin_test): Likewise.
35557 (sincos_test): Likewise.
35558
57f41c40
AS
355592012-03-15 Andreas Jaeger <aj@suse.de>
35560 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
35561
35562 [BZ #13658]
0671f479 35563 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
35564 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
35565 * sysdeps/i386/fpu/branred.c: Likewise.
35566 * sysdeps/i386/fpu/dosincos.c: Likewise.
35567 * sysdeps/i386/fpu/mpa.c: Likewise.
35568 * sysdeps/i386/fpu/s_cos.S: Likewise.
35569 * sysdeps/i386/fpu/s_sin.S: Likewise.
35570 * sysdeps/i386/fpu/s_sincos.S: Likewise.
35571 * sysdeps/i386/fpu/sincos32.c: Likewise.
35572
35573 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
35574 Define.
35575 (libc_feupdateenv_53bit): Define.
35576 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
35577 Define.
35578 (libc_feupdateenv_53bit): Define.
35579
35580 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
35581 53 bit (without extend i386 double precision).
35582
35583 * math/libm-test.inc (sincos_test): Add tests for large input.
35584 (sin): Likewise.
35585 (cos): Likewise.
35586
35587 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35588
9cad04ea
AS
355892012-03-15 Andreas Schwab <schwab@linux-m68k.org>
35590
35591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35592
f7062b9a
DM
355932012-03-15 David S. Miller <davem@davemloft.net>
35594
35595 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
35596 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
35597 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
35598 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
35599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
35600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
35601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
35602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
35603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
35604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
35605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
35606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
35607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
35608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
35609 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
35610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
35611 file.
f7062b9a 35612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
35613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
35614 file.
f7062b9a 35615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
35616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
35617 file.
f7062b9a 35618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
35619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
35620 file.
f7062b9a
DM
35621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
35622 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
35623 fmin/fmax sysdep routines.
35624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35625
7bd951ff
DM
356262012-03-14 David S. Miller <davem@davemloft.net>
35627
559398ab
DM
35628 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
35629 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
35630 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
35631 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
35632 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
35633 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
35634 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
35635 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
35636 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
35637 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
35638 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
35639 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
35640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
35641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
35642 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
35643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
35644 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
35645 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
35646 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
35647 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
35648 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
35649 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
35650 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
35651 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
35652 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
35653 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
35654 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
35655 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35656 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
35657 routines.
35658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
35659 file.
559398ab 35660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
35661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
35662 file.
559398ab 35663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
35664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
35665 file.
559398ab 35666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
35667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
35668 file.
559398ab 35669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
35670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
35671 file.
559398ab 35672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
35673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
35674 file.
35675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
35676 file.
35677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
35678 file.
35679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
35680 file.
35681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
35682 New file.
35683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
35684 file.
35685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
35686 file.
559398ab 35687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
35688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
35689 file.
559398ab 35690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
35691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
35692 file.
559398ab 35693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
35694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
35695 file.
559398ab 35696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
35697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
35698 VIS3 routines.
559398ab
DM
35699
35700 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35701 New file.
35702
5a1c1e32
DM
35703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35704
eae47a36
DM
35705 * sysdeps/sparc/configure.in: New file.
35706 * sysdeps/sparc/configure: Generate.
35707 * configure.in (libc_cv_sparc_as_vis3): Substitute.
35708 * configure: Regenerate.
35709 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35710 * config.make.in (have-as-vis3): New.
35711 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35712 available use -Av9d instead of -Av9a.
35713 * sysdeps/sparc/sparc64/Makefile: Likewise.
35714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
35715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35716 New file.
35717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35718 file.
35719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35720 New file.
35721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35722 file.
eae47a36
DM
35723 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35724 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35725 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35726 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35727 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35728
c0c83bc8
DM
35729 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35730 fzeros/fnegs to load 0x80000000 into a float register instead of
35731 using the stack.
7bd951ff
DM
35732 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35733
bd951ccb
JM
357342012-03-14 Joseph Myers <joseph@codesourcery.com>
35735
35736 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35737 bits/syscall.h.
35738 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35739 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35740 ($(inst_includedir)/bits/syscall.h): Remove rule.
35741 ($(objpfx)bits/syscall.d): Include instead of
35742 $(objpfx)syscall-list.d.
35743 (generated): Change syscall-list.h and syscall-list.d to
35744 bits/syscall.h and bits/syscall.d.
35745
bb4e6db2
RM
357462012-03-14 Roland McGrath <roland@hack.frob.com>
35747
35748 [BZ #13846]
35749 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35750
aa4a2ae1
JM
357512012-03-14 Joseph Myers <joseph@codesourcery.com>
35752
e456826d
JM
35753 [BZ #13841]
35754 * math/s_csqrt.c: Include <float.h>.
35755 (__csqrt): Scale large or subnormal inputs.
35756 * math/s_csqrtf.c: Likewise.
35757 * math/s_csqrtl.c: Likewise.
35758 * math/libm-test.inc (csqrt_test): Add more tests.
35759 * sysdeps/i386/fpu/libm-test-ulps: Update.
35760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35761
aa4a2ae1
JM
35762 [BZ #13840]
35763 * math/libm-test.inc (hypot_test): Add more tests.
35764
7c10fd35
DM
357652012-03-13 David S. Miller <davem@davemloft.net>
35766
35767 [BZ #13840]
35768 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35769 double-precision for the calculation instead of scaling.
35770
f453b98b
JM
357712012-03-13 Joseph Myers <joseph@codesourcery.com>
35772
35773 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35774 manipulate bits before adding and subtracting TWO52[sx].
35775 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35776 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35777 Likewise.
35778 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35779
09a3453f
DM
357802012-03-13 David S. Miller <davem@davemloft.net>
35781
8e59da90
DM
35782 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35783 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35784 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35785 rtld-global-offsets.h
35786 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35787
2a8ab7f2
DM
35788 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35789 large parameters.
35790
10f62770
DM
35791 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35792
5f0bdb18
DM
35793 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35794 'err' in the ifdef scope in which it is actually used.
35795
09a3453f
DM
35796 * nss/nss_db/db-init.c: Include string.h
35797
b4b2eb5e
DM
357982012-03-12 David S. Miller <davem@davemloft.net>
35799
98bb2f1c
DM
35800 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35801 masking out of the most significant byte of random value used.
35802 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35803 Fix coding style in previous change.
35804
b4b2eb5e
DM
35805 * sysdeps/unix/sysv/linux/kernel-features.h
35806 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35807 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35808 expression.
35809 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35810 later.
35811
6e226b09
DM
358122012-03-11 David S. Miller <davem@davemloft.net>
35813
a1bcbd40
DM
35814 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35815 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35816 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35817 for 'resultvar' otherwise things get truncated on 64-bit.
35818
cb9d6174
DM
35819 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35820 Fix masking out of the most significant byte of random value used.
35821
6e226b09
DM
35822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35823
058c132d
AS
358242012-03-10 Andreas Schwab <schwab@linux-m68k.org>
35825
35826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35827
2d2cd515
DM
358282012-03-09 David S. Miller <davem@davemloft.net>
35829
35830 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35831 variables with appropriate CPP guards.
57f41c40
AS
35832 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35833 from the frame pointer, not the stack pointer. Correct layout
35834 comments. Fix test on resulting framesize and the management of
35835 the outregs buffer for pltexit. Preserve floating point return
35836 values across _dl_call_pltexit call.
2d2cd515
DM
35837 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35838 framesize and the management of the outregs buffer for pltexit.
35839 Preserve floating point return values across _dl_call_pltexit
35840 call.
57f41c40
AS
35841 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35842 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35843 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
35844 (print_exit): Fix format string for return register value.
35845
9a07f9d0
JM
358462012-03-10 Joseph Myers <joseph@codesourcery.com>
35847
35848 * sunrpc/Makefile (others): Add rpcgen.
35849 ($(objpfx)rpcgen): Remove special build rule and dependency on
35850 libc.
35851 * sunrpc/rpcgen.c: New file.
35852
547b5e30
PE
358532012-03-09 Paul Eggert <eggert@cs.ucla.edu>
35854
c524201a
PE
35855 [BZ #13673]
35856 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35857 * stdio-common/bug-vfprintf-nargs.c: Likewise.
35858 * sysdeps/i386/crti.S: Likewise.
35859 * sysdeps/i386/crtn.S: Likewise.
35860 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35861 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35862 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35863 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35864 * sysdeps/sh/crti.S: Likewise.
35865 * sysdeps/sh/crtn.S: Likewise.
35866 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35867
7b6235f2
PE
35868 [BZ #13673]
35869 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35870 with URL.
35871 * locale/programs/locfile-kw.gperf: Likewise.
35872 * locale/programs/charmap-kw.h: Regenerated.
35873 * locale/programs/locfile-kw.h: Likewise.
35874
547b5e30
PE
35875 [BZ #13673]
35876 * intl/plural.y: Replace FSF snail mail address with URL.
35877 * intl/plural.c: Regenerated.
35878
5f0a5dae
RH
358792012-03-09 Richard Henderson <rth@twiddle.net>
35880
35881 * include/math_private.h: Remove file.
35882 * math/math_private.h: Move file ...
35883 * sysdeps/generic/math_private.h: ... here.
35884
b8c03620
RH
35885 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35886 * sysdeps/powerpc/fpu/math_private.h: Likewise.
35887 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35888
4e234f5d 35889 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
35890 and <math_private.h>.
35891 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35892 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35893 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35894 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35895 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35896 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35897 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35898 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35899 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35900 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35901 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35902 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35903 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35904 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35905 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35906 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35907 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35908 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35909 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35910 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35911 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35912 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35913 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35914 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35915 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35916 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35917 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35918 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35919 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35920 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35921 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35922 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35923 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35924 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35925 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35926 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35927 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35928 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35929 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35930 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35931 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35932 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35933 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35934 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35935 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35936 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35937 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35938 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35939 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35940 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35941 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35942 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35943 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35944 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35945 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35946 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35947 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35948 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35949 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35950 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35951 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35952 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35953 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35954 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35955 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35956 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35957 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35958 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35959 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35960 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35961 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35962 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35963 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35964 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35965 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35966 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35967 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35968 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35969 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35970 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35971 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35972 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35973 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35974 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35975 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35976 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35977 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35978 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35979 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35980 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35981 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35982 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35983 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35984 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35985 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35986 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35987 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35988 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35989 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35990 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35991 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35992 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35993 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35994 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35995 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35996 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35997 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35998 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35999 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36000 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36001 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36002 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36003 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36004 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36005 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36006 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36007 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36008 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36009 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36010 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36011 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36012 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36013 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36014 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36015 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36016 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36017 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36018 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36019 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36020 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36021 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36022 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36023 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36024 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36025 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36026 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36027 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36028 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36029 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36030 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36031 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36032 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36033 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36034 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36035 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36036 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36037 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36038 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36039 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36040 * sysdeps/ieee754/k_standard.c: Likewise.
36041 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36042 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36043 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36044 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36045 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36046 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36047 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36048 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36049 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36050 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36051 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36052 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36053 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36054 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36055 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36056 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36057 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36058 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36059 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36060 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36061 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36062 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36063 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36064 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36065 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36066 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36067 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36068 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36069 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36070 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36071 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36072 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36073 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36074 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36075 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36076 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36077 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36078 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36079 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36080 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36081 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36082 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36083 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36084 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36085 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36086 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36087 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36088 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36089 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36090 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36091 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36092 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36093 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36094 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36095 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36096 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36097 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36098 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36099 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36100 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36101 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36102 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36103 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36104 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36105 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36106 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36107 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36108 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36109 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36110 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36111 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36112 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36113 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36114 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36115 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36116 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36117 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36118 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36119 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36120 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36121 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36122 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36123 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36124 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36125 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36126 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36127 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36128 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36129 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36130 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36131 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36132 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36133 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36134 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36135 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36136 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36137 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36138 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36139 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36140 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36141 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36142 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36143 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36144 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36145 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36146 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36147 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36148 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36149 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36150 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36151 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36152 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36153 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36154 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36155 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36156 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36157 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36158 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36159 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36160 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36161 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36162 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36163 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36164 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36165 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36166 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36167 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36168 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36169 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36170 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36171 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36172 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36173 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36174 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36175 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36176 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36177 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36178 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36179 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36180 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36181 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36182 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36183 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36184 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36185 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36186 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36187 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36188 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36189 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36190 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36191 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36192 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36193 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36194 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36195 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36196 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36197 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36198 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36199 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36200 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36201 * sysdeps/ieee754/s_lib_version.c: Likewise.
36202 * sysdeps/ieee754/s_matherr.c: Likewise.
36203 * sysdeps/ieee754/s_signgam.c: Likewise.
36204 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36205 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36206 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36207 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36208 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36209 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36210 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36211 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36212 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36213 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36214 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36215 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36216 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36217 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36218 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36219 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36220 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36221 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36222 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36223 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36224 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 36225
1991fa03
JM
362262012-03-09 Joseph Myers <joseph@codesourcery.com>
36227
36228 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36229 * sunrpc/rpc_main.c: Likewise.
36230 * sunrpc/rpc_svcout.c: Likewise.
36231
60d6f5a6
DM
362322012-03-09 David S. Miller <davem@davemloft.net>
36233
36234 * include/math_private.h: New file.
36235
4962050e
JM
362362012-03-09 Joseph Myers <joseph@codesourcery.com>
36237
02a6f887
JM
36238 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36239 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36240 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36241 from <bits/socket_type.h>.
36242 (enum __socket_type): Don't define here.
36243 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36245 bits/socket_type.h.
36246
c6e013c1
JM
36247 [BZ #13566]
36248 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36249 checking __USE_GNU.
36250
4962050e
JM
36251 * Makerules ($(inst_includedir)/%.h): New rule.
36252 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36253 (install-others): Remove variable setting.
36254 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36255
38842f45
RH
362562012-03-08 Richard Henderson <rth@twiddle.net>
36257
67bb6da6
RH
36258 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36259 from macro to inline function; merge with the
36260 !__LIBC_INTERNAL_MATH_INLINES version.
36261 (__ieee754_sqrtf): Likewise.
36262
15194b4b
RH
36263 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36264 to inline function.
36265 (__rintf, __floor, __floorf): Likewise.
36266
64e21ede
RH
36267 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36268 macro to inline function.
36269 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36270
38842f45
RH
36271 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36272 not <math/math_private.h>.
36273
c64bf5fe
DM
362742012-03-08 David S. Miller <davem@davemloft.net>
36275
36276 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36277 copyright year.
36278 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36279
82d86f28
TS
362802012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36281
36282 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36283 normalization.
36284 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36285 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36286
aea5d727
UD
362872012-03-08 Ulrich Drepper <drepper@gmail.com>
36288
36289 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36290 be defined individually, they must be defined as a block. Define
36291 S for printing a string instead of hidint the different by using a
36292 macro for adding the 'l'.
36293 * stdio-common/tst-fphex-wide.c: Adjust.
36294
70bca0a3
MP
362952012-03-07 Marek Polacek <polacek@redhat.com>
36296
36297 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36298
65b81130
MP
362992012-03-08 Marek Polacek <polacek@redhat.com>
36300
36301 [BZ #13806]
36302 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36303 * stdio-common/tst-fphex.c: Define a few macros to make the
36304 test reusable. Use them.
36305 * stdio-common/tst-fphex-wide.c: New file.
36306
07037eeb
JM
363072012-03-08 Joseph Myers <joseph@codesourcery.com>
36308
a7a93d50
JM
36309 [BZ #6911]
36310 * manual/macros.texi (gnusystems): New macro.
36311 (nongnusystems): Likewise.
36312 (gnulinuxhurdsystems): Likewise.
36313 (gnuhurdsystems): Likewise..
36314 (gnulinuxsystems): Likewise.
36315 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36316 variants of the GNU system, not "GNU system".
36317 * manual/conf.texi: Likewise.
36318 * manual/errno.texi: Likewise. Update example of errno macro
36319 expansion.
36320 * manual/filesys.texi: Likewise.
36321 (getumask): Document as specific to GNU/Hurd.
36322 * manual/install.texi: Likewise. Reword some references to
36323 GNU/Linux.
36324 * manual/intro.texi: Likewise.
36325 * manual/io.texi: Likewise.
36326 (File Name Portability): Detail which constraints are inapplicable
36327 to all GNU systems and which are only inapplicable to GNU/Hurd.
36328 * manual/job.texi: Likewise.
36329 * manual/llio.texi: Likewise.
36330 (O_NOCTTY): Document as present on GNU/Linux.
36331 * manual/maint.texi: Likewise.
36332 * manual/memory.texi: Likewise.
36333 * manual/pattern.texi: Likewise.
36334 * manual/pipe.texi: Likewise.
36335 * manual/process.texi: Likewise.
36336 * manual/resource.texi: Likewise.
36337 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36338 child on GNU/Hurd.
36339 * manual/setjmp.texi: Likewise.
36340 * manual/signal.texi: Likewise.
36341 * manual/startup.texi: Likewise.
36342 * manual/stdio.texi: Likewise.
36343 * manual/terminal.texi: Likewise.
36344 (ONLCR): Document as POSIX.
36345 (OXTABS): Document availability on GNU/Linux as XTABS.
36346 (ONOEOT): Document availability separately from other bits.
36347 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36348 * manual/time.texi: Likewise.
36349 * manual/users.texi: Likewise.
36350 * INSTALL: Regenerated.
36351 * sysdeps/gnu/errlist.c: Regenerated.
36352
07037eeb
JM
36353 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36354 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36355 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36356 puts.
36357 * configure: Regenerated.
36358
d1d3431a
JM
363592012-03-07 Joseph Myers <joseph@codesourcery.com>
36360
af6a1e37
JM
36361 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36362 default includes instead of AC_HEADER_CHECK.
36363 * sysdeps/i386/configure: Regenerated.
36364
d1d3431a
JM
36365 [BZ #10716]
36366 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36367 * math/s_cacoshf.c (__cacoshf): Likewise.
36368 * math/s_cacoshl.c (__cacoshl): Likewise.
36369 * math/s_casinh.c (__casinh): Set signs of result from argument.
36370 * math/s_casinhf.c (__casinhf): Likewise.
36371 * math/s_casinhl.c (__casinhl): Likewise.
36372 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36373 (casinh_test): Add more tests.
36374 * sysdeps/i386/fpu/libm-test-ulps: Update.
36375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36376
482ff4da
UD
363772012-03-07 Ulrich Drepper <drepper@gmail.com>
36378
872fda05
UD
36379 * po/zh_TW.po: Update from translation team.
36380
a4300c7a
UD
36381 * login/Makefile (distribute): Remove variable.
36382 * catgets/Makefile: Likewise.
36383 * mach/Makefile: Likewise.
36384 * malloc/Makefile: Likewise.
36385 * misc/Makefile: Likewise.
36386 * iconv/Makefile: Likewise.
36387 * nscd/Makefile: Likewise.
36388 * hurd/Makefile: Likewise.
36389 * manual/Makefile: Likewise.
36390 * locale/Makefile: Likewise.
36391 * intl/Makefile: Likewise.
36392 * conform/Makefile: Likewise.
36393 * nss/Makefile: Likewise.
36394 * time/Makefile: Likewise.
36395 * soft-fp/Makefile: Likewise.
36396 * dirent/Makefile: Likewise.
36397 * gmon/Makefile: Likewise.
36398 * po/Makefile: Likewise.
36399 * rt/Makefile: Likewise.
36400 * socket/Makefile: Likewise.
36401 * math/Makefile: Likewise.
36402 * signal/Makefile: Likewise.
36403 * debug/Makefile: Likewise.
36404 * elf/Makefile: Likewise.
36405 * timezone/Makefile: Likewise.
36406 * stdlib/Makefile: Likewise.
36407 * iconvdata/Makefile: Likewise.
36408 * sunrpc/Makefile: Likewise.
36409 * io/Makefile: Likewise.
36410 * argp/Makefile: Likewise.
36411 * inet/Makefile: Likewise.
36412 * hesiod/Makefile: Likewise.
36413 * grp/Makefile: Likewise.
36414 * csu/Makefile: Likewise.
36415 * wctype/Makefile: Likewise.
36416 * crypt/Makefile: Likewise.
36417 * libio/Makefile: Likewise.
36418 * string/Makefile: Likewise.
36419 * nis/Makefile: Likewise.
36420 * resolv/Makefile: Likewise.
36421 * stdio-common/Makefile: Likewise.
36422 * wcsmbs/Makefile: Likewise.
36423 * dlfcn/Makefile: Likewise.
36424 * posix/Makefile: Likewise.
36425
3b7c4e74 36426 [BZ #6959]
482ff4da
UD
36427 * timezone/Makefile: Don't install timezone files, just the programs
36428 and scripts.
36429
f72ed77d
UD
364302012-03-06 Ulrich Drepper <drepper@gmail.com>
36431
a000466f
UD
36432 * nss/databases.def: Add missing gshadow entry.
36433
f72ed77d
UD
36434 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36435
a53b7a4e
MP
364362012-03-06 Marek Polacek <polacek@redhat.com>
36437
36438 [BZ #13726]
36439 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36440 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36441 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36442 * stdio-common/tst-long-dbl-fphex.c: New file.
36443
e9258400
DM
364442012-03-06 David S. Miller <davem@davemloft.net>
36445
36446 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36447 (set_obp_int): New function.
36448 (get_obp_int): New function.
36449 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
36450 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36451 Avoid unused variable warnings on 'val' and use builtin_expect.
36452 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36453 __builtin_expect.
e9258400
DM
36454 (INLINE_CLONE_SYSCALL): Likewise.
36455
3bd2c723
DM
364562012-03-05 David S. Miller <davem@davemloft.net>
36457
36458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36459
bbb78d03
AS
364602012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36461
884c5db4
AS
36462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36463
bbb78d03
AS
36464 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36465 only for |x| >= 40.
36466 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36467
1c9f702a 364682012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
36469
36470 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36471 Replace gettimeofday with __vdso_gettimeofday.
36472
7be16f82
RM
36473 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36474 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36475 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
36476
36477 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36478 time with __vdso_time.
36479
ed58a00f
JM
364802012-03-05 Joseph Myers <joseph@codesourcery.com>
36481
36482 * manual/lang.texi (size_t): Note types to which size_t may be
36483 equivalent with the GNU C Library, but do not describe when
36484 differences between them are significant.
36485
30ee4ced
AJ
364862012-03-05 Andreas Jaeger <aj@suse.de>
36487
36488 * sysdeps/i386/fpu/libm-test-ulps: Update.
36489
b7cd39e8
JM
364902012-03-05 Joseph Myers <joseph@codesourcery.com>
36491
36492 [BZ #3976]
36493 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36494 (__ieee754_pow): Save and restore rounding mode and use
36495 round-to-nearest for main computations.
36496 * math/libm-test.inc (pow_test_tonearest): New function.
36497 (pow_test_towardzero): Likewise.
36498 (pow_test_downward): Likewise.
36499 (pow_test_upward): Likewise.
36500 (main): Call the new functions.
36501 * sysdeps/i386/fpu/libm-test-ulps: Update.
36502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
36503
36504 [BZ #3976]
36505 * math/libm-test.inc (cosh_test_tonearest): New function.
36506 (cosh_test_towardzero): Likewise.
36507 (cosh_test_downward): Likewise.
36508 (cosh_test_upward): Likewise.
36509 (sinh_test_tonearest): Likewise.
36510 (sinh_test_towardzero): Likewise.
36511 (sinh_test_downward): Likewise.
36512 (sinh_test_upward): Likewise.
36513 (main): Call the new functions.
36514 * sysdeps/i386/fpu/libm-test-ulps: Update.
36515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36516
6c6a98c9
TV
365172012-03-05 Tom de Vries <tom@codesourcery.com>
36518
36519 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
36520 default stack guard is set in last bytes.
36521 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
36522
21bb2d2e 365232012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 36524
21bb2d2e 36525 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 36526
21bb2d2e
AJ
36527 [BZ #13656]
36528 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
36529 possibly allocate from heap instead of stack.
36530 * stdio-common/bug-vfprintf-nargs.c: New file.
36531 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 36532
c6922934
AS
365332012-03-03 Andreas Schwab <schwab@linux-m68k.org>
36534
36535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36536
bc957d53
MP
365372012-03-03 Marek Polacek <polacek@redhat.com>
36538
36539 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
36540 * math/math_private.h: Likewise.
36541 * stdlib/tst-strtod.c: Likewise.
36542 * sysdeps/i386/i486/bits/atomic.h: Likewise.
36543 * sysdeps/x86_64/bits/atomic.h: Likewise.
36544
6358490d
DM
365452012-03-02 David S. Miller <davem@davemloft.net>
36546
36547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
36548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
36549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
36550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
36551 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
36552 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
36553 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
36554 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
36555
01ae168d
RM
365562012-03-02 Roland McGrath <roland@hack.frob.com>
36557
d9a17c07
RM
36558 [BZ #13792]
36559 * manual/examples/README: New file, says the example source files
36560 can be used under GPL>=2.
36561 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
36562 line containing just "*/".
36563 * manual/examples/add.c: Add copyright header (GPL>=2).
36564 * manual/examples/argp-ex1.c: Likewise.
36565 * manual/examples/argp-ex2.c: Likewise.
36566 * manual/examples/argp-ex3.c: Likewise.
36567 * manual/examples/argp-ex4.c: Likewise.
36568 * manual/examples/atexit.c: Likewise.
36569 * manual/examples/db.c: Likewise.
36570 * manual/examples/dir.c: Likewise.
36571 * manual/examples/dir2.c: Likewise.
36572 * manual/examples/execinfo.c: Likewise.
36573 * manual/examples/filecli.c: Likewise.
36574 * manual/examples/filesrv.c: Likewise.
36575 * manual/examples/fmtmsgexpl.c: Likewise.
36576 * manual/examples/genpass.c: Likewise.
36577 * manual/examples/inetcli.c: Likewise.
36578 * manual/examples/inetsrv.c: Likewise.
36579 * manual/examples/isockad.c: Likewise.
36580 * manual/examples/longopt.c: Likewise.
36581 * manual/examples/memopen.c: Likewise.
36582 * manual/examples/memstrm.c: Likewise.
36583 * manual/examples/mkfsock.c: Likewise.
36584 * manual/examples/mkisock.c: Likewise.
36585 * manual/examples/mygetpass.c: Likewise.
36586 * manual/examples/pipe.c: Likewise.
36587 * manual/examples/popen.c: Likewise.
36588 * manual/examples/rprintf.c: Likewise.
36589 * manual/examples/search.c: Likewise.
36590 * manual/examples/select.c: Likewise.
36591 * manual/examples/setjmp.c: Likewise.
36592 * manual/examples/sigh1.c: Likewise.
36593 * manual/examples/sigusr.c: Likewise.
36594 * manual/examples/stpcpy.c: Likewise.
36595 * manual/examples/strdupa.c: Likewise.
36596 * manual/examples/strftim.c: Likewise.
36597 * manual/examples/strncat.c: Likewise.
36598 * manual/examples/subopt.c: Likewise.
36599 * manual/examples/swapcontext.c: Likewise.
36600 * manual/examples/termios.c: Likewise.
36601 * manual/examples/testopt.c: Likewise.
36602 * manual/examples/testpass.c: Likewise.
36603 * manual/examples/timeval_subtract.c: Likewise.
36604
01ae168d
RM
36605 [BZ #13792]
36606 * manual/time.texi (Elapsed Time): Move timeval_subtract example
36607 function to ...
36608 * manual/timeval_subtract.c.texi: ... here, new file.
36609
49efa33d
DM
366102012-03-02 David S. Miller <davem@davemloft.net>
36611
36612 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
36613
28afd92d
JM
366142012-03-02 Joseph Myers <joseph@codesourcery.com>
36615
804360ed
JM
36616 [BZ #3976]
36617 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
36618 (__sin): Save and restore rounding mode and use round-to-nearest
36619 for all computations.
36620 (__cos): Save and restore rounding mode and use round-to-nearest
36621 for all computations.
36622 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
36623 <fenv.h>.
36624 (tan): Save and restore rounding mode and use round-to-nearest for
36625 all computations.
36626 * math/libm-test.inc (cos_test_tonearest): New function.
36627 (cos_test_towardzero): Likewise.
36628 (cos_test_downward): Likewise.
36629 (cos_test_upward): Likewise.
36630 (sin_test_tonearest): Likewise.
36631 (sin_test_towardzero): Likewise.
36632 (sin_test_downward): Likewise.
36633 (sin_test_upward): Likewise.
36634 (tan_test_tonearest): Likewise.
36635 (tan_test_towardzero): Likewise.
36636 (tan_test_downward): Likewise.
36637 (tan_test_upward): Likewise.
36638 (main): Call the new functions.
36639 * sysdeps/i386/fpu/libm-test-ulps: Update.
36640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36641
a6d06d7b
JM
36642 [BZ #10135]
36643 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
36644 small n, then large n, before computing and testing k+n.
36645 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36646 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
36647 Likewise.
36648 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
36649 Likewise.
36650 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
36651 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
36652 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
36653 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
36654 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36655 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36656 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
36657 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
36658 * math/libm-test.inc (scalbn_test): Add more tests.
36659 (scalbln_test): Likewise.
36660
07e12bb3
JM
36661 * manual/filesys.texi (mode_t): Describe constraints on size and
36662 signedness, not exact equivalence to a particular type.
36663 (ino_t): Likewise.
36664 (ino64_t): Likewise.
36665 (dev_t): Likewise.
36666 (nlink_t): Likewise.
36667 (blkcnt_t): Likewise.
36668 (blkcnt64_t): Likewise.
36669 * manual/llio.texi (off_t): Likewise.
36670
28afd92d
JM
36671 [BZ #3976]
36672 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
36673 (__ieee754_exp): Save and restore rounding mode and use
36674 round-to-nearest for all computations.
36675 * math/libm-test.inc (exp_test_tonearest): New function.
36676 (exp_test_towardzero): Likewise.
36677 (exp_test_downward): Likewise.
36678 (exp_test_upward): Likewise.
36679 (main): Call the new functions.
36680 * sysdeps/i386/fpu/libm-test-ulps: Update.
36681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36682
b1eeb65d
CD
366832012-03-01 Chris Demetriou <cgd@google.com>
36684
36685 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
36686 have predictable order.
36687
53362a4b
DM
366882012-03-01 David S. Miller <davem@davemloft.net>
36689
3c969083
DM
36690 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
36691
759707de
DM
36692 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
36693 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
36694 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
36695 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
36696
dfdb8ff2
DM
36697 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
36698 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
36699 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
36700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
36701 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
36702 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
36703 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
36704 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
36705 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
36706
ead89f96
DM
36707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36708
7f66bd07
DM
36709 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36710 * sysdeps/sparc/fpu/libm-test-ulps: to here.
36711 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36712
53362a4b
DM
36713 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36714 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36715 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36716 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36717 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36718 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36719 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36720 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36721 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36722 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36723 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36724 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36725 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36726 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36727 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36728 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36729 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36730 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36731 * sysdeps/sparc/elf/configure: Regenerated.
36732
7b1902cb
JM
367332012-03-01 Joseph Myers <joseph@codesourcery.com>
36734
bec039bc
JM
36735 * configure.in (AS, LD): Require binutils 2.20 or later.
36736 * configure: Regenerated.
36737 * manual/install.texi (Tools for Compilation): Give binutils 2.20
36738 as required minimum version.
36739 * INSTALL: Regenerated.
36740
7b1902cb
JM
36741 [BZ #2541]
36742 [BZ #4108]
36743 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36744 before squaring exponent.
36745 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36746 bottom long double and 27 bits of top long double before squaring
36747 exponent.
36748 * math/libm-test.inc (erfc_test): Add more tests.
36749 * sysdeps/i386/fpu/libm-test-ulps: Update.
36750 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36752
f775c276
KT
367532012-03-01 Kai Tietz <ktietz@redhat.com>
36754
36755 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36756 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36757 containing bit-fields.
36758 * soft-fp/extended.h (_FP_UNION_E): Likewise.
36759 * soft-fp/single.h (_FP_UNION_S): Likewise.
36760 * soft-fp/double.h (_FP_UNION_D): Likewise.
36761
5b8a4d4a
JM
367622012-02-29 Joseph Myers <joseph@codesourcery.com>
36763
0bab47b6
JM
36764 [BZ #13786]
36765 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36766 not include ../strcmp.S.
36767 [USE_AS_STRNCASECMP_L]: Likewise.
36768 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36769 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36770 * sysdeps/i386/i686/multiarch/strncase_l-c.c
36771 (__strncasecmp_l_ia32): Define as alias to
36772 __strncasecmp_l_nonascii.
36773
0fcad3e2
JM
36774 [BZ #5794]
36775 * math/libm-test.inc (expm1_test): Add test for bug 5794.
36776 * sysdeps/i386/fpu/libm-test-ulps: Update.
36777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36778
5b8a4d4a
JM
36779 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36781
8fdceb2e
JL
367822012-02-29 Jeff Law <law@redhat.com>
36783
36784 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36785 out of bounds read.
36786
1f393a11
MP
367872012-02-29 Marek Polacek <polacek@redhat.com>
36788
36789 [BZ #13706]
36790 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36791 * elf/Makefile: Add rules to run tst-unused-dep.out.
36792
8847f037
DM
367932012-02-28 David S. Miller <davem@davemloft.net>
36794
36795 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36796 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36797 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36798 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36799 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36800 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36801
169d7f11
JM
368022012-02-29 Joseph Myers <joseph@codesourcery.com>
36803
36804 * math/libm-test.inc (llround_test): Move one test from
36805 lround_test. Use TEST_f_L in moved test.
36806 (lround_test): Move misplaced test to llround_test. Add testcase
36807 from bug 2561.
36808
39adf059
UD
368092012-02-28 Ulrich Drepper <drepper@gmail.com>
36810
36811 * sysdeps/x86_64/fpu/e_expf.S: New file.
36812 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36813
71b5d1c5
SB
368142012-02-28 Stanislav Brabec <sbrabec@suse.cz>
36815
36816 [BZ #13637]
36817 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36818 of remain_len that may cause incomplete multi-byte character and
36819 false match.
36820 * posix/bug-regex33.c: New file.
36821 * posix/Makefile (tests): Add bug-regex33.
36822
1f77f049
JM
368232012-02-28 Joseph Myers <joseph@codesourcery.com>
36824
36825 * manual/macros.texi: New file.
36826 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36827 * manual/libc.texinfo: Include macros.texi.
36828 * manual/creatute.texi: Likewise.
36829 * manual/install.texi: Likewise.
36830 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36831 @glibcadj{} in references to the GNU C Library.
36832 * manual/charset.texi: Likewise.
36833 * manual/conf.texi: Likewise.
36834 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
36835 when not using those macros.
36836 * manual/creature.texi: Likewise.
36837 * manual/crypt.texi: Likewise.
36838 * manual/errno.texi: Likewise.
36839 * manual/filesys.texi: Likewise.
36840 * manual/header.texi: Likewise.
36841 * manual/install.texi: Likewise.
36842 * manual/intro.texi: Likewise.
36843 * manual/io.texi: Likewise.
36844 * manual/job.texi: Likewise.
36845 * manual/lang.texi: Likewise.
36846 * manual/libc.texiinfo: Likewise.
36847 * manual/llio.texi: Likewise.
36848 * manual/locale.texi: Likewise.
36849 * manual/maint.texi: Likewise.
36850 * manual/math.texi: Likewise.
36851 * manual/memory.texi: Likewise.
36852 * manual/message.texi: Likewise.
36853 * manual/nss.texi: Likewise.
36854 * manual/pattern.texi: Likewise.
36855 * manual/process.texi: Likewise.
36856 * manual/resource.texi: Likewise.
36857 * manual/search.texi: Likewise.
36858 * manual/setjmp.texi: Likewise.
36859 * manual/signal.texi: Likewise.
36860 * manual/socket.texi: Likewise.
36861 * manual/startup.texi: Likewise.
36862 * manual/stdio.texi: Likewise.
36863 * manual/string.texi: Likewise.
36864 * manual/sysinfo.texi: Likewise.
36865 * manual/syslog.texi: Likewise.
36866 * manual/terminal.texi: Likewise.
36867 * manual/time.texi: Likewise.
36868 * manual/users.texi: Likewise.
36869 * INSTALL: Regenerated.
36870 * NOTES: Regenerated.
d40c5d54 36871 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 36872
450bf206
AS
368732012-02-28 Andreas Schwab <schwab@linux-m68k.org>
36874
36875 * include/dirent.h: Include <dirstream.h> before
36876 <dirent/dirent.h>.
36877
741a235b
DM
368782012-02-28 David S. Miller <davem@davemloft.net>
36879
36880 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36881 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36882 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36883 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36884
d6b5aa58
DM
368852012-02-27 David S. Miller <davem@davemloft.net>
36886
1aff59a3
DM
36887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36889 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36890 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36891
d6b5aa58
DM
36892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36893 frame pointer instead of stack pointer relative arg slot.
36894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36895 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36896 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36897
433f48bf
CD
368982012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
36899
36900 [BZ #3992]
36901 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36902
d674b76d
DM
369032012-02-27 David S. Miller <davem@davemloft.net>
36904
36905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36909 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36910 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36911 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36912 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36913
0e7727f7
JM
369142012-02-27 Joseph Myers <joseph@codesourcery.com>
36915
36916 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36917 later. Allow versions 5-9.
43be4ca2 36918 * configure: Regenerated.
0e7727f7
JM
36919 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36920 required minimum version and 4.6 as recommended version. Do not
36921 mention bugs in GCC 2.7 and 2.8.
43be4ca2 36922 * INSTALL: Regenerated.
0e7727f7 36923
a78bc654
DM
369242012-02-27 David S. Miller <davem@davemloft.net>
36925
428d5830
DM
36926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36930 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36931 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36932 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36933 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36934
a78bc654
DM
36935 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36936 manipulate bits before adding and subtracting TWO112[sx].
36937 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36938
4579f81c
RM
369392012-02-27 Roland McGrath <roland@hack.frob.com>
36940
36c8acb4
RM
36941 [BZ #13775]
36942 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36943 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36944 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36945 being in POSIX, because they are in 1003.1-2008.
36946
84ad622b
RM
36947 * rt/tst-aio.c: Include <fcntl.h>.
36948 * rt/tst-aio7.c: Likewise.
36949 * rt/tst-aio64.c: Likewise.
36950
4579f81c
RM
36951 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36952
abd923db
JM
369532012-02-27 Joseph Myers <joseph@codesourcery.com>
36954
36955 * manual/install.texi (--with-headers): Describe headers as
36956 interface headers, not private headers.
36957 (Specific advice for GNU/Linux systems): Describe use of headers
36958 from "make headers_install", not private headers from older
36959 kernels.
43be4ca2 36960 * INSTALL: Regenerated.
abd923db
JM
36961 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36962 Change to 2.6.19.
36963 * sysdeps/unix/sysv/linux/configure: Regenerated.
36964
6664049b
JM
36965 * manual/llio.texi (fclean): Remove documentation.
36966
bb8b6697
JM
36967 * manual/Makefile (libc-texi-generated): New variable. Include
36968 version.texi.
36969 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36970 $(libc-texi-generated), not duplicated list of files.
36971 (version.texi, stamp-version): New rules.
36972 (realclean): Remove $(libc-texi-generated), not individual files
36973 from that list. Do not remove dir-add.texinfo.
36974 * manual/libc.texinfo: Comment out uses of edition numbers and
36975 references to printed manual. Remove last-updated dates.
36976 (EDITION): Comment out.
36977 (ISBN): Likewise.
36978 (VERSION, UPDATED): Remove.
36979 (version.texi): Include.
36980
12e5c3b9
AS
369812012-02-27 Andreas Schwab <schwab@linux-m68k.org>
36982
36983 * sysdeps/posix/spawni.c: Include <signal.h>.
36984 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36985 * sysdeps/pthread/aio_fsync.c: Likewise.
36986
4efeffc1 369872012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 36988
ba63ba08
UD
36989 * conform/Makefile (tests): Run only when not cross-compiling and
36990 when fast-check is not defined.
36991
d94a4670
UD
36992 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36993 * conform/data/limits.h-data: Fixes for POSIX2008.
36994 * conform/run-conformtest.sh: Run all tests.
36995 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36996 headers.
36997 * include/bits/dlfcn.h: Likewise.
36998 * include/langinfo.h: Likewise.
36999 * include/monetary.h: Likewise.
37000 * include/sys/poll.h: Likewise.
37001
37002 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37003 for __USE_GNU.
37004 * posix/spawn.h: Define __need_sigset_t.
37005 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37006 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37007 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37008 to get sigevent_t only.
37009 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37010 only for __USE_GNU.
37011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37012 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37013 process_vm_writev only for __USE_GNU.
37014 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
37015
37016 * conform/Makefile: For now ignore errors from run-conformtest.
37017 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37018 POSIX to avoid namespace pollution. Don't prepend headers.
37019 * conform/data/aio.h-data: Fixes for POSIX testing.
37020 * conform/data/fcntl.h-data: Likewise.
37021 * conform/data/glob.h-data: Likewise.
37022 * conform/data/grp.h-data: Likewise.
37023 * conform/data/pthread.h-data: Likewise.
37024 * conform/data/pwd.h-data: Likewise.
37025 * conform/data/signal.h-data: Likewise.
37026 * conform/data/spawn.h-data: Likewise.
37027 * conform/data/stdio.h-data: Likewise.
37028 * conform/data/stdlib.h-data: Likewise.
37029 * conform/data/stropts.h-data: Likewise.
37030 * conform/data/sys/mman.h-data: Likewise.
37031 * conform/data/sys/stat.h-data: Likewise.
37032 * conform/data/sys/types.h-data: Likewise.
37033 * conform/data/sys/wait.h-data: Likewise.
37034 * conform/data/time.h-data: Likewise.
37035 * conform/data/unistd.h-data: Likewise.
37036 * conform/data/utime.h-data: Likewise.
37037
37038 * io/sys/stat.h: fchmod was always in POSIX.
37039 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37040 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37041 * rt/aio.h: Define __need_timespec before including <time.h>.
37042 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37043 struct. Add forward declaration of pthread_attr_t and use it in
37044 sigevent.
37045 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37046 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37047 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37048 always remove CLK_TCK definition.
37049
c20105c3
AS
370502012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37051
37052 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37053
7a270350
UD
370542012-02-25 Ulrich Drepper <drepper@gmail.com>
37055
31341567
UD
37056 * conform/run-conformtest.sh: New file.
37057 * conform/Makefile: Run run-conformtest for tests.
37058 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37059 support.
37060
37061 * conform/data/uchar.h-data: New file.
37062 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37063 * conform/data/arpa/inet.h-data: Likewise.
37064 * conform/data/assert.h-data: Likewise.
37065 * conform/data/complex.h-data: Likewise.
37066 * conform/data/cpio.h-data: Likewise.
37067 * conform/data/ctype.h-data: Likewise.
37068 * conform/data/dirent.h-data: Likewise.
37069 * conform/data/dlfcn.h-data: Likewise.
37070 * conform/data/errno.h-data: Likewise.
37071 * conform/data/fcntl.h-data: Likewise.
37072 * conform/data/float.h-data: Likewise.
37073 * conform/data/fmtmsg.h-data: Likewise.
37074 * conform/data/fnmatch.h-data: Likewise.
37075 * conform/data/ftw.h-data: Likewise.
37076 * conform/data/glob.h-data: Likewise.
37077 * conform/data/grp.h-data: Likewise.
37078 * conform/data/iconv.h-data: Likewise.
37079 * conform/data/inttypes.h-data: Likewise.
37080 * conform/data/langinfo.h-data: Likewise.
37081 * conform/data/libgen.h-data: Likewise.
37082 * conform/data/limits.h-data: Likewise.
37083 * conform/data/locale.h-data: Likewise.
37084 * conform/data/math.h-data: Likewise.
37085 * conform/data/monetary.h-data: Likewise.
37086 * conform/data/mqueue.h-data: Likewise.
37087 * conform/data/ndbm.h-data: Likewise.
37088 * conform/data/net/if.h-data: Likewise.
37089 * conform/data/netdb.h-data: Likewise.
37090 * conform/data/netinet/in.h-data: Likewise.
37091 * conform/data/nl_types.h-data: Likewise.
37092 * conform/data/poll.h-data: Likewise.
37093 * conform/data/pthread.h-data: Likewise.
37094 * conform/data/pwd.h-data: Likewise.
37095 * conform/data/regex.h-data: Likewise.
37096 * conform/data/sched.h-data: Likewise.
37097 * conform/data/search.h-data: Likewise.
37098 * conform/data/semaphore.h-data: Likewise.
37099 * conform/data/setjmp.h-data: Likewise.
37100 * conform/data/signal.h-data: Likewise.
37101 * conform/data/spawn.h-data: Likewise.
37102 * conform/data/stdarg.h-data: Likewise.
37103 * conform/data/stdio.h-data: Likewise.
37104 * conform/data/stdlib.h-data: Likewise.
37105 * conform/data/string.h-data: Likewise.
37106 * conform/data/strings.h-data: Likewise.
37107 * conform/data/stropts.h-data: Likewise.
37108 * conform/data/sys/ipc.h-data: Likewise.
37109 * conform/data/sys/mman.h-data: Likewise.
37110 * conform/data/sys/msg.h-data: Likewise.
37111 * conform/data/sys/resource.h-data: Likewise.
37112 * conform/data/sys/select.h-data: Likewise.
37113 * conform/data/sys/sem.h-data: Likewise.
37114 * conform/data/sys/shm.h-data: Likewise.
37115 * conform/data/sys/socket.h-data: Likewise.
37116 * conform/data/sys/stat.h-data: Likewise.
37117 * conform/data/sys/statvfs.h-data: Likewise.
37118 * conform/data/sys/time.h-data: Likewise.
37119 * conform/data/sys/timeb.h-data: Likewise.
37120 * conform/data/sys/times.h-data: Likewise.
37121 * conform/data/sys/types.h-data: Likewise.
37122 * conform/data/sys/uio.h-data: Likewise.
37123 * conform/data/sys/un.h-data: Likewise.
37124 * conform/data/sys/utsname.h-data: Likewise.
37125 * conform/data/sys/wait.h-data: Likewise.
37126 * conform/data/syslog.h-data: Likewise.
37127 * conform/data/tar.h-data: Likewise.
37128 * conform/data/termios.h-data: Likewise.
37129 * conform/data/utime.h-data: Likewise.
37130 * conform/data/utmpx.h-data: Likewise.
37131 * conform/data/varargs.h-data: Likewise.
37132 * conform/data/wchar.h-data: Likewise.
37133 * conform/data/wctype.h-data: Likewise.
37134 * conform/data/wordexp.h-data: Likewise.
37135
37136 * include/stropts.h: New file.
37137 * include/uchar.h: New file.
37138 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37139 * include/assert.h: Likewise.
37140 * include/ctype.h: Likewise.
37141 * include/dirent.h: Likewise.
37142 * include/dlfcn.h: Likewise.
37143 * include/fcntl.h: Likewise.
37144 * include/fnmatch.h: Likewise.
37145 * include/glob.h: Likewise.
37146 * include/grp.h: Likewise.
37147 * include/libio.h: Likewise.
37148 * include/locale.h: Likewise.
37149 * include/math.h: Likewise.
37150 * include/net/if.h: Likewise.
37151 * include/netdb.h: Likewise.
37152 * include/netinet/in.h: Likewise.
37153 * include/pthread.h: Likewise.
37154 * include/pwd.h: Likewise.
37155 * include/regex.h: Likewise.
37156 * include/sched.h: Likewise.
37157 * include/search.h: Likewise.
37158 * include/setjmp.h: Likewise.
37159 * include/signal.h: Likewise.
37160 * include/stdio.h: Likewise.
37161 * include/stdlib.h: Likewise.
37162 * include/string.h: Likewise.
37163 * include/sys/cdefs.h: Likewise.
37164 * include/sys/mman.h: Likewise.
37165 * include/sys/msg.h: Likewise.
37166 * include/sys/resource.h: Likewise.
37167 * include/sys/select.h: Likewise.
37168 * include/sys/socket.h: Likewise.
37169 * include/sys/stat.h: Likewise.
37170 * include/sys/statvfs.h: Likewise.
37171 * include/sys/time.h: Likewise.
37172 * include/sys/times.h: Likewise.
37173 * include/sys/uio.h: Likewise.
37174 * include/sys/utsname.h: Likewise.
37175 * include/sys/wait.h: Likewise.
37176 * include/termios.h: Likewise.
37177 * include/time.h: Likewise.
37178 * include/ulimit.h: Likewise.
37179 * include/unistd.h: Likewise.
37180 * include/utime.h: Likewise.
37181 * include/wchar.h: Likewise.
37182 * include/wctype.h: Likewise.
37183 * include/wordexp.h: Likewise.
37184
37185 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37186
7a270350
UD
37187 * time/time.h: TIME_UTC must be a macro.
37188 Make timespec_get available for ISO C11 only as well.
37189
7724defc
UD
371902012-02-24 Ulrich Drepper <drepper@gmail.com>
37191
37192 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37193 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37194
6b1d1d46
JM
371952012-02-24 Joseph Myers <joseph@codesourcery.com>
37196
37197 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 37198
0f8bbd69
JM
371992012-02-24 Joseph Myers <joseph@codesourcery.com>
37200
37201 * manual/texinfo.tex: Update to version 2012-01-19.16.
37202
66ab80bc
JM
372032012-02-24 Joseph Myers <joseph@codesourcery.com>
37204
37205 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37206
74981cc5
RM
372072012-02-24 Roland McGrath <roland@hack.frob.com>
37208
ee968201
RM
37209 [BZ #13738]
37210 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37211 * manual/fdl-1.3.texi: New file.
37212 * manual/fdl-1.1.texi: File removed.
37213
74981cc5
RM
37214 [BZ #13738]
37215 * manual/libc.texinfo (FDL_VERSION): New @set.
37216 Use it for mention of FDL in cover text.
37217 (Documentation License): Use it in @include file name.
37218
7bb764bc
JM
372192012-02-22 Joseph Myers <joseph@codesourcery.com>
37220 Roland McGrath <roland@hack.frob.com>
37221
37222 [BZ #5461]
57f41c40
AS
37223 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37224 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
37225 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37226 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37227 name.
37228 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37229
6cbeae47
JM
372302012-02-22 Joseph Myers <joseph@codesourcery.com>
37231
37232 [BZ #2547]
37233 [BZ #11365]
37234 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37235 manipulate bits before adding and subtracting TWO23[sx].
37236 * math/libm-test.inc (nearbyint_test): Add more tests.
37237
fe45ce09
JM
372382012-02-22 Joseph Myers <joseph@codesourcery.com>
37239
37240 [BZ #2548]
37241 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37242 bits before adding and subtracting TWO23[sx].
37243 * math/libm-test.inc (rint_test): Add more tests.
37244 (rint_test_tonearest): Likewise.
37245 (rint_test_towardzero): Likewise.
37246 (rint_test_downward): Likewise.
37247 (rint_test_upward: Likewise.
37248
ff3b3d82
JM
372492012-02-22 Joseph Myers <joseph@codesourcery.com>
37250
37251 [BZ #10110]
37252 * include/stdc-predef.h: New file. Extracted from features.h.
37253 * include/features.h: Include stdc-predef.h.
37254 * Makefile (headers): Add stdc-predef.h.
37255 * CONFORMANCE (Compiler limitations): Update.
37256
ef0aab35
JM
372572012-02-22 Joseph Myers <joseph@codesourcery.com>
37258
37259 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37260
58639409
DM
372612012-02-21 David S. Miller <davem@davemloft.net>
37262
37263 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37264 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37265
c0e70b25
DM
372662012-02-20 David S. Miller <davem@davemloft.net>
37267
37268 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37269 using a normal save/restore sequence, rather than allocating a
37270 dummy stack frame just to store a frame pointer and restore.
37271 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37272
fb06851d
JM
372732012-02-21 Joseph Myers <joseph@codesourcery.com>
37274
37275 * manual/install.texi: Fix stray word in line-wrapped comment.
37276
7a8b71c3
DM
372772012-02-20 David S. Miller <davem@davemloft.net>
37278
d510c123
DM
37279 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37280 both binutils and gcc support GOTDATA.
37281
0722d7c2
DM
37282 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37283 "rd %pc" in the PIC register setup sequences.
37284
3d2b3019
DM
37285 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37286 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37287 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37288 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37289 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37290 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37291 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37292 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37294 (SYSCALL_ERROR_HANDLER): Likewise.
37295 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37296 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37298 (SYSCALL_ERROR_HANDLER): Likewise.
37299
c80098a9
DM
37300 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37301 (HAVE_GCC_GOTDATA): New.
37302 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37303 relocation support in both binutils and gcc.
37304 * sysdeps/sparc/elf/configure: Regenerate.
37305
3a2545a0
DM
37306 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37307 * sysdeps/sparc/sparc32/elf/configure: Delete.
37308 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37309 * sysdeps/sparc/sparc64/elf/configure: Delete.
37310 * sysdeps/sparc/elf/configure.in: New file.
37311 * sysdeps/sparc/elf/configure: Generate.
37312
7a8b71c3
DM
37313 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37314 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37315 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37316 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37317 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37318
f1e86fca
JM
373192012-02-21 Joseph Myers <joseph@codesourcery.com>
37320
37321 * manual/install.texi: Do not mention specific glibc version
37322 numbers.
37323 * manual/libc.texinfo (VERSION, UPDATED): Update.
37324 (@copying): Use @copyright{} and range of years.
37325
0e7dfaef
JM
373262012-02-21 Joseph Myers <joseph@codesourcery.com>
37327
37328 [BZ #13695]
37329 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37330 [crti.S not in sysdirs] (generated): Do not append.
37331 [crti.S not in sysdirs] (omit-deps): Likewise.
37332 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37333 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37334 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37335 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37336 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37337 Likewise.
37338 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37339 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37340 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37341 * csu/defs.awk: Remove file.
37342 * sysdeps/generic/initfini.c: Likewise.
37343 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37344 variable.
37345 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37346 Likewise.
37347
599af3ca
JM
373482012-02-20 Joseph Myers <joseph@codesourcery.com>
37349
37350 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37351 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37352 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37353 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37354 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37355 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37356 <bits/epoll.h>.
37357 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37358 (__EPOLL_PACKED): Define to empty if not defined by
37359 <bits/epoll.h>.
37360 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37362 bits/epoll.h.
37363
0e499750
JM
373642012-02-20 Joseph Myers <joseph@codesourcery.com>
37365
37366 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37367 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37368 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37369 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37370 <bits/timerfd.h>.
37371 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37372 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37373 bits/timerfd.h.
37374
5ad91f6e
JM
373752012-02-20 Joseph Myers <joseph@codesourcery.com>
37376
37377 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37378 in C locale.
37379 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37380 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37381 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37383
06b99b02
AJ
373842012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37385
37386 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37387 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37388
7638c0fd
AS
373892012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37390
37391 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37392 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37393 defined.
37394 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37395 Likewise.
37396 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37397 entry for 2.16.
37398
92221550
AJ
373992012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37400
37401 * math/w_acos.c: Use non-signaling floating-point comparisons.
37402 * math/w_acosf.c: Likewise.
37403 * math/w_acosh.c: Likewise.
37404 * math/w_acoshf.c: Likewise.
37405 * math/w_acoshl.c: Likewise.
37406 * math/w_acosl.c: Likewise.
37407 * math/w_asin.c: Likewise.
37408 * math/w_asinf.c: Likewise.
37409 * math/w_asinl.c: Likewise.
37410 * math/w_atanh.c: Likewise.
37411 * math/w_atanhf.c: Likewise.
37412 * math/w_atanhl.c: Likewise.
37413 * math/w_exp2.c: Likewise.
37414 * math/w_exp2f.c: Likewise.
37415 * math/w_exp2l.c: Likewise.
37416 * math/w_j0.c: Likewise.
37417 * math/w_j0f.c: Likewise.
37418 * math/w_j0l.c: Likewise.
37419 * math/w_j1.c: Likewise.
37420 * math/w_j1f.c: Likewise.
37421 * math/w_j1l.c: Likewise.
37422 * math/w_jn.c: Likewise.
37423 * math/w_jnf.c: Likewise.
37424 * math/w_log.c: Likewise.
37425 * math/w_log10.c: Likewise.
37426 * math/w_log10f.c: Likewise.
37427 * math/w_log10l.c: Likewise.
37428 * math/w_log2.c: Likewise.
37429 * math/w_log2f.c: Likewise.
37430 * math/w_log2l.c: Likewise.
37431 * math/w_logf.c: Likewise.
37432 * math/w_logl.c: Likewise.
37433 * math/w_sqrt.c: Likewise.
37434 * math/w_sqrtf.c: Likewise.
37435 * math/w_sqrtl.c: Likewise.
37436 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37437 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37438 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37439 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37440 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37441
ebaf36eb
JM
374422012-02-19 Joseph Myers <joseph@codesourcery.com>
37443
37444 [BZ #9739]
37445 * manual/string.texi (strnlen): Use correct parameter name in
37446 equivalent expression.
37447
71c254a6
JM
374482012-02-19 Joseph Myers <joseph@codesourcery.com>
37449
37450 [BZ #11174]
37451 * manual/users.texi (seteuid): Consistently use neweuid for
37452 argument name.
37453
16d2c631
JM
374542012-02-19 Joseph Myers <joseph@codesourcery.com>
37455
37456 [BZ #13704]
37457 * manual/nss.texi (Services in the NSS configuration): Correct
37458 list of services in example configuration file.
37459
cd837b09
NB
374602012-02-19 Nick Bowler <nbowler@draconx.ca>
37461
37462 [BZ #11322]
37463 * manual/arith.texi: Remove statements about negative zero
37464 behaving identically to zero.
37465
02c4bbad
JM
374662012-02-18 Joseph Myers <joseph@codesourcery.com>
37467
37468 [BZ #5993]
37469 * manual/install.texi: Do not document upgrading from libc5.
37470
366842e7
JM
374712012-02-18 Joseph Myers <joseph@codesourcery.com>
37472
37473 [BZ #4596]
37474 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37475
dd54084d
DM
374762012-02-18 David S. Miller <davem@davemloft.net>
37477
37478 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37479 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37480 %o7 across the call.
37481 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37482 instead.
37483 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37484 SETUP_PIC_REG_LEAF.
37485 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37486 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37487 * sysdeps/sparc/crtn.S: Likewise.
37488
2bcc53a3
UD
374892012-02-17 Ulrich Drepper <drepper@gmail.com>
37490
37491 * aout/Makefile: Remove.
37492
09c093b5
RK
374932012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37494
37495 [BZ #13058]
37496 * manual/examples/argp-ex1.c (main): Format definition in GNU
37497 style.
37498 * manual/examples/argp-ex2.c (main): Likewise.
37499 * manual/examples/argp-ex3.c (main): Likewise.
37500 * manual/examples/argp-ex4.c (main): Likewise.
37501 * manual/examples/longopt.c (main): Use new-style prototype
37502 definition.
37503 * manual/examples/strncat.c (main): Specify return type and use
37504 (void) for arguments.
37505 * manual/examples/subopt.c (main): Use char **argv argument.
37506
2ee633a2
JM
375072012-02-17 Joseph Myers <joseph@codesourcery.com>
37508
37509 [BZ #5077]
37510 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
37511 rounding modes.
37512
0520adde
FB
375132012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
37514
37515 [BZ #6907]
37516 * manual/string.texi (strchr): Change when strchrnul is
37517 recommended.
37518
3f4081cd
DGM
375192012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
37520
37521 [BZ #174]
37522 * manual/locale.texi (setlocale): Document LOCPATH.
37523
d1b10e78
JM
375242012-02-17 Joseph Myers <joseph@codesourcery.com>
37525
37526 [BZ #10210]
37527 * manual/process.texi (execle): Move @dots{} before last argument.
37528
79c6869c
PB
375292012-02-17 Paul Bolle <pebolle@tiscali.nl>
37530
37531 [BZ #12047]
37532 * manual/charset.texi (Generic Charset Conversion): Fix typo
37533 (LC_TYPE -> LC_CTYPE).
37534
cc6e48bc
NB
375352012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
37536
37537 [BZ #5805]
37538 * manual/arith.texi (scalbn): Use @var{} on parameter names.
37539 (scalbnf): Likewise.
37540 (scalbnl): Likewise.
37541 (scalbln): Likewise.
37542 (scalblnf): Likewise.
37543 (scalblnl): Likewise.
37544 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
37545 (vwarnx): Likewise.
37546 (verr): Likewise.
37547 (verrx): Likewise.
37548 * manual/filesys.texi (telldir): Use braces around return type.
37549 * manual/llio.texi (mmap): Add space after comma.
37550 (mmap64): Likewise.
37551 * manual/math.texi (jn): Use @var{} on parameter names.
37552 (jnf): Likewise.
37553 (jnl): Likewise.
37554 (yn): Likewise.
37555 (ynf): Likewise.
37556 (ynl): Likewise.
37557 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
37558 line.
37559 * manual/resource.texi (ulimit): Use @dots{} instead of literal
37560 "...".
37561 (sched_get_priority_min): Remove semicolon on @deftypefun line.
37562 (sched_get_priority_max): Likewise.
37563 * manual/signal.texi (sigvec): Add space after comma.
37564 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
37565 names.
37566 (if_indextoname): Likewise.
37567 (if_freenameindex): Likewise.
37568 (sendto): Use ',' instead of '.' in prototype.
37569 * manual/startup.texi (syscall): Use @dots{} instead of literal
37570 "...".
37571 * manual/stdio.texi (__fpending): Separate initial words of
37572 paragraph from @deftypefun line.
37573 * manual/syslog.texi (syslog): Use @dots{} instead of literal
37574 "...".
37575 (vsyslog): Use @var{} on parameter names.
37576 * manual/terminal.texi (stty): Use @var{} on parameter names.
37577 * manual/users.texi (getutmp): Use @var{} on parameter names.
37578 (getutmpx): Likewise.
37579
5b23062f
JM
375802012-02-17 Joseph Myers <joseph@codesourcery.com>
37581
37582 [BZ #6884]
37583 * manual/stdio.texi (fopen): Fix typos in description of
37584 ",ccs=STRING".
37585
8dee4833
AJ
375862012-02-17 Aurelien Jarno <aurelien@aurel32.net>
37587
37588 [BZ #4026]
37589 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
37590 get clock_id definition.
37591
9078ce93
TS
375922012-02-17 Thomas Schwinge <thomas@schwinge.name>
37593
37594 [BZ #4822]
37595 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
37596 (madvise): Cast every argument to void on its own.
37597
3835c55f
JM
375982012-02-17 Joseph Myers <joseph@codesourcery.com>
37599
37600 [BZ #9902]
37601 * manual/startup.texi (Exit Status): Fix typo.
37602
35c47e37
JM
376032012-02-17 Joseph Myers <joseph@codesourcery.com>
37604
37605 [BZ #10140]
37606 * manual/examples/argp-ex1.c: Include <stdlib.h>.
37607 * manual/examples/argp-ex2.c: Likewise.
37608 * manual/examples/argp-ex3.c: Likewise.
37609
e3b69ca7
RH
376102012-02-16 Richard Henderson <rth@redhat.com>
37611
37612 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
37613 * sysdeps/s390/s390-32/initfini.c: Remove.
37614 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
37615 * sysdeps/s390/s390-64/initfini.c: Remove.
37616
df83af67
KK
376172012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
37618
37619 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
37620 compiler output for sysdeps/generic/initfini.c.
37621 * sysdeps/sh/elf/initfini.c: Remove file.
37622
f63f3380
DM
376232012-02-16 David S. Miller <davem@davemloft.net>
37624
fb59b3a4
DM
37625 [BZ #11494]
37626 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
37627
f63f3380
DM
37628 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
37629 * sysdeps/sparc/crti.S: New file.
37630 * sysdeps/sparc/crtn.S: New file.
37631 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
37632 * sysdeps/sparc/sparc64/Makefile: Likewise.
37633
df6a4a4a
MF
376342012-02-15 Mike Frysinger <vapier@gentoo.org>
37635
6dd8f3dc 37636 [BZ #3335]
df6a4a4a
MF
37637 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
37638
1cac7236
RM
376392012-02-15 Roland McGrath <roland@hack.frob.com>
37640
d2c736f8
RM
37641 [BZ #4822]
37642 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
37643
1cac7236
RM
37644 * mach/devstream.c (cookie_io_functions_t): Macro removed.
37645 (write, read, close): Likewise.
37646 Patch by Aurelien Jarno <aurelien@aurel32.net>.
37647
8e475601
JM
376482012-02-15 Joseph Myers <joseph@codesourcery.com>
37649
37650 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
37651 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
37652 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
37653 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
37654 <bits/signalfd.h>.
37655 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
37656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37657 bits/signalfd.h.
37658
ed656b40
MP
376592012-02-14 Marek Polacek <polacek@redhat.com>
37660
37661 * sysdeps/x86_64/crti.S: New file.
37662 * sysdeps/x86_64/crtn.S: New file.
37663 * sysdeps/x86_64/elf/initfini.c: Remove file.
37664
2a979d3a
JM
376652012-02-13 Joseph Myers <joseph@codesourcery.com>
37666
37667 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
37668 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
37669 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
37670 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
37671 <bits/inotify.h>.
37672 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
37673 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37674 bits/inotify.h.
37675
2a418ac3
JM
376762012-02-13 Joseph Myers <joseph@codesourcery.com>
37677
37678 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
37679 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
37680 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
37681 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
37682 <bits/eventfd.h>.
37683 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
37684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37685 bits/eventfd.h.
37686
fb779be7
TS
376872012-02-10 Thomas Schwinge <thomas@codesourcery.com>
37688
e19e83c5
RM
37689 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
37690 __feraiseexcept instead of feraiseexcept.
7c35ffed 37691
fb779be7
TS
37692 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
37693 nanosleep invocations.
37694 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
37695 strings, and add error checking for a nanosleep invocations.
37696
59ba27a6
PE
376972012-02-09 Paul Eggert <eggert@cs.ucla.edu>
37698
37699 Replace FSF snail mail address with URLs, as per GNU coding standards.
37700 Most of the snail mail addresses were wrong anyway, and omitting
37701 them makes the source code easier to maintain. Almost all of the
37702 changes are to license notices and to locale LC_IDENTIFICATION
37703 addresses, except for this one:
37704 * manual/libc.texinfo: In "Published by", give the FSF's URL,
37705 not its snail mail address.
37706
57b957eb
RH
377072012-02-09 Richard Henderson <rth@twiddle.net>
37708
af850b1c
RH
37709 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37710 of kernel-features.h.
37711
57b957eb
RH
37712 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37713
6b73181a
MP
377142012-02-08 Marek Polacek <polacek@redhat.com>
37715
37716 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37717 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37718 * sysdeps/gnu/_G_config.h: Likewise.
37719 * sysdeps/generic/_G_config.h: Likewise.
37720
26ecc33a
AS
377212012-02-08 Andreas Schwab <schwab@linux-m68k.org>
37722
6c6dbc63
AS
37723 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37724 tests.
37725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37726
e216c012
AS
37727 * sysdeps/powerpc/powerpc32/crti.S: New file.
37728 * sysdeps/powerpc/powerpc32/crtn.S: New file.
37729 * sysdeps/powerpc/powerpc64/crti.S: New file.
37730 * sysdeps/powerpc/powerpc64/crtn.S: New file.
37731
26ecc33a
AS
37732 * Makeconfig (have-initfini): Don't set.
37733 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37734 * configure.in (nopic_initfini): Don't substitute.
37735 * config.h.in (HAVE_INITFINI): Don't #undef.
37736 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37737 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37738
3add8e13
JM
377392012-02-08 Joseph Myers <joseph@codesourcery.com>
37740
37741 Support crti.S and crtn.S provided directly by architectures.
37742 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37743 [crti.S in sysdirs] (omit-deps): Likewise.
37744 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37745 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37746 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37747 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37748 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37749 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37750 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37751 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37752 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37753 compiler output for sysdeps/generic/initfini.c.
37754 * sysdeps/i386/elf/Makefile: Remove file.
37755 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37756
a22f12b4
MP
377572012-02-07 Marek Polacek <polacek@redhat.com>
37758
37759 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37760 * sysdeps/gnu/_G_config.h: Likewise.
37761 * sysdeps/mach/hurd/_G_config.h: Likewise.
37762
148cf100
MP
377632012-02-07 Marek Polacek <polacek@redhat.com>
37764
37765 * math/Makefile (tests): Add tst-CMPLX2.
37766 * math/tst-CMPLX2.c: New file.
37767
cfdc0dd7
AS
377682012-02-07 Andreas Schwab <schwab@linux-m68k.org>
37769
84ba42c4
AS
37770 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37771
cfdc0dd7
AS
37772 * math/libm-test.inc (jn_test): Add missing L suffix.
37773
622c86f4
MP
377742012-02-06 Marek Polacek <polacek@redhat.com>
37775
37776 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37777 * sysdeps/i386/fpu/e_powf.S: Likewise.
37778 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37779 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37780 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37781 * sysdeps/i386/fpu/e_pow.S: Likewise.
37782 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37783 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37784 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37785 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37786 * sysdeps/i386/fpu/e_log2.S: Likewise.
37787 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37788 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37789 * sysdeps/i386/fpu/e_powl.S: Likewise.
37790 * sysdeps/i386/fpu/s_log1p.S: Likewise.
37791 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37792 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37793 * sysdeps/i386/fpu/e_logl.S: Likewise.
37794 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37795 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37796 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37797 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37798 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37799 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37800 * sysdeps/i386/fpu/e_log.S: Likewise.
37801 * sysdeps/i386/fpu/s_cexp.S: Likewise.
37802 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37803 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37804 * sysdeps/i386/fpu/e_logf.S: Likewise.
37805 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37806 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37807 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37808 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37809 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37810 * sysdeps/i386/fpu/e_log10.S: Likewise.
37811 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37812 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37813 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37814 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37815 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37816 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37817 * sysdeps/i386/asm-syntax.h: Likewise.
37818 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37819 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37820 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37821 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37822 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37823 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37824 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37825 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37826 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37827 * sysdeps/powerpc/sysdep.h: Likewise.
37828 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37829 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37830
d4a54ac6
JM
378312012-02-06 Joseph Myers <joseph@codesourcery.com>
37832
37833 [BZ #411]
37834 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37835
314054ea
JM
378362012-02-06 Joseph Myers <joseph@codesourcery.com>
37837
37838 * sysdeps/i386/sysdep.h: Include <features.h>.
37839 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37840 version.
37841
d8e0ca50
JM
378422012-02-05 Joseph Myers <joseph@codesourcery.com>
37843
37844 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37845 Define.
37846 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37847 LOAD_PIC_REG_STR.
37848
b1da7dd9
JM
378492012-02-03 Joseph Myers <joseph@codesourcery.com>
37850
37851 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37852 (SETUP_PIC_REG): Use GET_PC_THUNK.
37853 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37854 macro.
37855
9a1d9254
JM
378562012-02-03 Joseph Myers <joseph@codesourcery.com>
37857
37858 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37859 for non-PIC compilation.
37860 (SETUP_PIC_REG): Add .p2align directive.
37861 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37862 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37863 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37864 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37865 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37866 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37867 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37868 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37869 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37870 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37871 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37872 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37873 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37874 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37875 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37876 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37877 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37878 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37879 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37880 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37881 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37882 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37883 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37884 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37885 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37886 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37887 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37888 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37889 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37890 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37891 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37892 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37893 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37894 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37895 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37896 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37897 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37898 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37899 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37900 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37901 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37902
65dc3b75
JM
379032012-02-03 Joseph Myers <joseph@codesourcery.com>
37904
37905 * math/tst-CMPLX.c: Include <stdio.h>.
37906
d55bf177
JM
379072012-01-31 Joseph Myers <joseph@codesourcery.com>
37908
37909 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37910 float.
37911 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37912 * sysdeps/sparc/bits/mathdef.h: Likewise.
37913
69db4f8f
MP
379142012-01-31 Marek Polacek <polacek@redhat.com>
37915
37916 * libio/libio.h: Don't define _PARAMS.
37917 * locale/programs/config.h: Don't define PARAMS.
37918 * stdlib/strtol_l.c: Likewise.
37919 (__strtol_l): Remove PARAMS from the prototype.
37920
41b81892
UD
379212012-01-31 Ulrich Drepper <drepper@gmail.com>
37922
3b49edc0
UD
37923 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
37924 names. Just use the correct names. Remove unnecessary wrapper
37925 functions.
37926 * malloc/arena.c: Likewise.
37927 * malloc/hooks.c: Likewise.
37928
41b81892
UD
37929 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37930 ARENA_TEST says not to. Simplify test for creation of a new arena.
37931 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37932
27a25b6e
UD
379332012-01-30 Ulrich Drepper <drepper@gmail.com>
37934
37935 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37936 into tail calls.
37937 (update_get_addr): New function.
37938 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37939 GET_ADDR_MODULE parameter.
37940
c8a89e7d
JM
379412012-01-30 Joseph Myers <joseph@codesourcery.com>
37942
37943 * crypt/cert.c: Remove __STDC__ conditionals.
37944 * crypt/crypt-entry.c: Likewise.
37945 * crypt/crypt_util.c: Likewise.
37946 * libio/filedoalloc.c: Likewise.
37947 * libio/fileops.c: Likewise.
37948 * libio/genops.c: Likewise.
37949 * libio/iofclose.c: Likewise.
37950 * libio/iofdopen.c: Likewise.
37951 * libio/iofopen.c: Likewise.
37952 * libio/iofopen64.c: Likewise.
37953 * libio/iogetdelim.c: Likewise.
37954 * libio/iopopen.c: Likewise.
37955 * libio/obprintf.c: Likewise.
37956 * libio/oldfileops.c: Likewise.
37957 * libio/oldiofclose.c: Likewise.
37958 * libio/oldiofdopen.c: Likewise.
37959 * libio/oldiofopen.c: Likewise.
37960 * libio/oldiopopen.c: Likewise.
37961 * libio/wfiledoalloc.c: Likewise.
37962 * libio/wgenops.c: Likewise.
37963 * locale/programs/xmalloc.c: Likewise.
37964 * misc/syslog.c: Likewise.
37965 * stdio-common/xbug.c: Likewise.
37966 * string/memchr.c: Likewise.
37967 * string/memcmp.c: Likewise.
37968 * string/memrchr.c: Likewise.
37969 * string/rawmemchr.c: Likewise.
37970 * sysdeps/posix/getcwd.c: Likewise.
37971 * time/strftime_l.c: Likewise.
37972
3b100462
JM
379732012-01-30 Joseph Myers <joseph@codesourcery.com>
37974
37975 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
37976 * config.make.in (config-cflags-sse2avx): Define.
37977 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37978 Fix typo.
37979
607998af
CM
379802012-01-29 Chris Metcalf <cmetcalf@tilera.com>
37981
37982 * scripts/config.guess: Update from upstream config git repository.
37983 * scripts/config.sub: Likewise.
37984
3601428f
CM
379852012-01-28 Chris Metcalf <cmetcalf@tilera.com>
37986
3ac8b282
CM
37987 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37988 (EM_NUM): Update.
37989 (R_TILEPRO_*, R_TILEGX_*): New macros.
37990
e034841e
CM
37991 * scripts/firstversions.awk: Fix bug in version range handling.
37992
540d7568
CM
37993 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37994
3601428f
CM
37995 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37996
463de862
CM
37997 * include/sys/epoll.h: New file.
37998 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37999 libc_hidden_def.
38000
73139a76
UD
380012012-01-28 Ulrich Drepper <drepper@gmail.com>
38002
96bc5b45
UD
38003 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38004 Avoid unnecessary __WORDSIZE == 64 test.
38005 (fmaxf): Use VEX format if possible.
38006 (fmax): Likewise.
38007 (fminf): Likewise.
38008 (fmin): Likewise.
38009
56f6f6a2
UD
38010 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38011 * math/math_private.h: Remove libc_fegetround* and
38012 libc_fesetround*.
38013 * sysdeps/i386/configure.in: Check for -msse2avx.
38014 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38015 also if SSE2AVX is defined.
38016 Remove libc_fegetround* and libc_fesetround*.
38017 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38018 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38019 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38020 of HAS_YMM_USABLE.
38021 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38022 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38023 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38024 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38025 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38026
73139a76
UD
38027 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38028
d73f93a4
AZ
380292012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38030
38031 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38032 size is not set.
38033 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38034
6ee65ed6
UD
380352012-01-27 Ulrich Drepper <drepper@gmail.com>
38036
38037 [BZ #13618]
38038 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38039 relocation.
38040 * Makeconfig (libm): Define.
38041 * elf/Makefile: Add rules to build and run tst-relsort1.
38042 * elf/tst-relsort1.c: New file.
38043 * elf/tst-relsort1mod1.c: New file.
38044 * elf/tst-relsort1mod2.c: New file.
38045
8db21882
JM
380462012-01-27 Joseph Myers <joseph@codesourcery.com>
38047
38048 * math/s_ldexp.c: Remove __STDC__ conditionals.
38049 * math/s_ldexpf.c: Likewise.
38050 * math/s_ldexpl.c: Likewise.
38051 * math/s_nextafter.c: Likewise.
38052 * math/s_nexttowardf.c: Likewise.
38053 * math/s_significand.c: Likewise.
38054 * math/s_significandf.c: Likewise.
38055 * math/s_significandl.c: Likewise.
38056 * math/w_jnl.c: Likewise.
38057 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38058 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38059 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38060 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38061 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38062 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38063 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38064 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38065 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38066 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38067 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38068 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38069 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38070 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38071 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38072 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38073 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38074 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38075 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38076 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38077 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38078 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38079 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38080 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38081 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38082 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38083 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38084 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38085 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38086 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38087 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38088 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38089 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38090 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38091 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38092 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38093 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38094 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38095 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38096 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38097 * sysdeps/ieee754/k_standard.c: Likewise.
38098 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38099 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38100 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38101 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38102 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38103 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38104 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38105 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38106 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38107 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38108 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38109 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38110 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38111 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38112 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38113 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38114 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38115 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38116 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38117 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38118 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38119 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38120 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38121 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38122 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38123 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38124 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38125 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38126 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38127 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38128 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38129 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38130 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38131 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38132 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38133 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38134 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38135 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38136 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38137 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38138 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38139 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38140 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38141 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38142 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38143 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38144 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38145 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38146 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38147 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38148 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38149 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38150 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38151 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38152 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38153 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38154 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38155 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38156 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38157 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38158 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38159 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38160 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38161 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38162 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38163 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38164 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38165 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38166 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38167 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38168 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38169 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38170 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38171 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38172 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38173 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38174 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38175 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38176 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38177 * sysdeps/ieee754/s_matherr.c: Likewise.
38178 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38179 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38180 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38181 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38182
965a54a4
JM
381832012-01-26 Joseph Myers <joseph@codesourcery.com>
38184
38185 * crypt/md5.h: Remove __STDC__ conditionals.
38186 * libio/libioP.h: Likewise.
38187 * locale/programs/config.h: Likewise.
38188 * sysdeps/generic/sysdep.h: Likewise.
38189 * sysdeps/i386/asm-syntax.h: Likewise.
38190 * sysdeps/s390/asm-syntax.h: Likewise.
38191 * sysdeps/unix/sysdep.h: Likewise.
38192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38194
7071ad79
JM
381952012-01-26 Joseph Myers <joseph@codesourcery.com>
38196
38197 * libio/libio.h: Remove __STDC__ conditionals.
38198 * malloc/obstack.h: Likewise.
38199 * math/complex.h: Likewise.
38200 * math/math.h: Likewise.
38201 * sysdeps/generic/_G_config.h: Likewise.
38202 * sysdeps/gnu/_G_config.h: Likewise.
38203 * sysdeps/mach/hurd/_G_config.h: Likewise.
38204 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38205 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38206 * sysdeps/sparc/bits/mathdef.h: Likewise.
38207
afc5ed09
UD
382082012-01-26 Ulrich Drepper <drepper@gmail.com>
38209
38210 [BZ #13583]
38211 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 38212 Clean up HAS_* macros.
afc5ed09 38213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
38214 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38215 possible.
38216 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38217 HAS_AVX.
38218 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38219 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38220 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38221 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38222 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 38223
bdb6de1d
JM
382242012-01-25 Joseph Myers <joseph@codesourcery.com>
38225
38226 * elf/tst-unique3.cc (gets): Remove declaration.
38227 * elf/tst-unique3lib.cc (gets): Likewise.
38228 * elf/tst-unique3lib2.cc (gets): Likewise.
38229 * elf/tst-unique4.cc (gets): Likewise.
38230
b15549e6
UD
382312012-01-24 Ulrich Drepper <drepper@gmail.com>
38232
38233 * include/stdio.h: Add C++ protection. Add gets declarations and
38234 definitions.
38235 * debug/tst-chk1.c: Don't declare gets here.
38236 * stdio-common/tst-gets.c: Likewise.
38237
a037381f
JM
382382012-01-24 Joseph Myers <joseph@codesourcery.com>
38239
38240 * posix/glob: Remove directory.
38241
f1d4aa75
JM
382422012-01-24 Joseph Myers <joseph@codesourcery.com>
38243
38244 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38245
81c0c964
PT
382462012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38247
38248 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38249 of the non-standard EPFNOSUPPORT.
38250
0ea698ae
ST
382512011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38252
38253 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38254 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38255 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38256
d220b117
UD
382572012-01-21 Ulrich Drepper <drepper@gmail.com>
38258
38259 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38260
3e1aa84e
UD
382612012-01-20 Ulrich Drepper <drepper@gmail.com>
38262
38263 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38264 transient errors.
38265 * nscd/grpcache.c (cache_addgr): Likewise.
38266 * nscd/hstcache.c (cache_addhst): Likewise.
38267 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38268 * nscd/pwdcache.c (cache_addpw): Likewise.
38269 * nscd/servicescache.c (cache_addserv): Likewise.
38270
400aa020
UD
382712012-01-16 Ulrich Drepper <drepper@gmail.com>
38272
d77e7869
UD
38273 * malloc/malloc.c: Various cleanups.
38274 * malloc/hooks.c: Likewise.
38275
400aa020
UD
38276 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38277 * stdlib/bug-fmtmsg1.c: New file.
38278
38279 * stdlib/fmtmsg.c (init): Add missing unlock.
38280 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38281
e0a309cf
MP
382822012-01-12 Marek Polacek <polacek@redhat.com>
38283
38284 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38285 and _GNU_SOURCE.
38286
929d11c7
WS
382872012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38288
38289 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38290 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38291 macro to ensure uniqueness of label name.
38292 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38293 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38294
41d0e869
UD
382952012-01-11 Ulrich Drepper <drepper@gmail.com>
38296
0cc5ed3b
UD
38297 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38298
41d0e869
UD
38299 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38300 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38301 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38302 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38303
a47a831a
UD
383042012-01-10 Ulrich Drepper <drepper@gmail.com>
38305
daa891c0
UD
38306 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38307
38308 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38309 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38310 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38311
e58ef0f2
UD
38312 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38313
a47a831a 38314 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
38315 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38316 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 38317 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
38318
38319 * math/bits/math-finite.h: Add ldexp support.
38320
a0bfc9c7
MP
383212012-01-10 Marek Polacek <polacek@redhat.com>
38322
38323 * locale/programs/localedef.h (show_archive_content): Add noreturn
38324 attribute.
38325
d6e97a1d
UD
383262012-01-09 Ulrich Drepper <drepper@gmail.com>
38327
38328 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38329
d5835c26
UD
383302012-01-08 Ulrich Drepper <drepper@gmail.com>
38331
e5f484c6
UD
38332 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38333
d5835c26
UD
38334 * io/Makefile (headers): Add bits/poll2.h.
38335
d1f741e9
WS
383362011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38337
38338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38339 typo #include statement.
38340
ec09c1c4
UD
383412012-01-08 Ulrich Drepper <drepper@gmail.com>
38342
38343 * include/sys/cdefs.h: Define __attribute_alloc_size.
38344 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38345 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38346 * elf/pldd.c: Likewise.
38347 * iconv/iconv_charmap.c: Likewise.
38348 * iconv/iconvconfig.c: Likewise.
38349 * iconv/strtab.c: Likewise.
38350 * locale/programs/locale.c: Likewise.
38351 * locale/programs/localedef.h: Likewise.
38352 * locale/programs/simple-hash.c: Likewise.
38353 * nscd/nscd.h: Likewise.
38354 * nss/makedb.c: Likewise.
38355 * sysdeps/generic/ldconfig.h: Likewise.
38356 * locale/programs/localedef.c: Remove xmalloc prototype.
38357 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38358
20b38e03
PP
383592012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38360
38361 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38362 appropriate.
38363
a0da5fe1
UD
383642012-01-08 Ulrich Drepper <drepper@gmail.com>
38365
1d5a644a 38366 * math/Makefile (tests): Add tst-CMPLX.
669704fd 38367 * math/tst-CMPLX.c: New file.
1d5a644a 38368
8784a6db
UD
38369 * math/complex.h (CMPLXL): Fix typo.
38370
d9a216c0
UD
38371 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38372 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38373 GLIBC_2.16.
38374 * debug/tst-chk1.c: Add poll and ppoll tests.
38375 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38376 * include/sys/poll.h: Add hidden proto for ppoll.
38377 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38378 * sysdeps/mach/hurd/ppoll.c: Likewise.
38379 * io/ppoll.c: Likewise.
38380 * debug/poll_chk.c: New file.
38381 * debug/ppoll_chk.c: New file.
38382 * include/bits/poll2.h: New file.
38383 * io/bits/poll2.h: New file.
38384
ac097f5c
UD
38385 [BZ #1350]
38386 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38387
2119dcfa
UD
38388 * configure.in: static is always set to yes. Remove.
38389 * config.make.in: Don't set build-static.
38390 * Makeconfig: Remove use of build-static.
38391 * dlfcn/Makefile: Likewise.
38392 * elf/Makefile: Likewise.
38393 * math/Makefile: Likewise.
38394 * misc/Makefile: Likewise.
38395 * nptl/Makefile: Likewise.
38396 * sysdeps/mach/hurd/Makefile: Likewise.
38397
121766a9
UD
38398 * configure.in: PWD_P is not used anymore.
38399 * config.make.in: Remove PWD_P entry.
38400
51a1d39c 38401 * configure.in: Remove last remnants of RANLIB.
8720d066 38402 No need to check for signed size_t anymore.
215f4bdc
UD
38403 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38404 and IA-64.
3857022a 38405 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
38406 * aclocal.m4: Likewise.
38407
d3ed7225
UD
38408 * wcsmbs/mbrtoc16.c: Implement using towc function.
38409 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38410 * wcsmbs/wcsmbsload.c: Likewise.
38411 * iconv/gconv_simple.c: Likewise.
38412 * iconv/gconv_int.h: Likewise.
38413 * iconv/gconv_builtin.h: Likewise.
38414 * iconv/iconv_prog.c: Remove CHAR16 handling.
38415
38416 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38417
38418 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38419
a0da5fe1
UD
38420 * configure.in: Remove --with-elf and --enable-bounded options.
38421 Dont set base_machine for ia64. More non-ELF conditions removed.
38422 Remove testing and setting of leading underscore information.
38423 * config.make.in (build-bounded): Set to no.
38424 * config.h.in: Remove NO_UNDERSCORES entry.
38425 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38426 them.
38427 * csu/start.c: Remove !NO_UNDERSCORE code.
38428 * locale/localeinfo.h: Likewise.
38429 * sysdeps/generic/machine-gmon.h: Likewise.
38430 * sysdeps/generic/sysdep.h: Likewise.
38431 * sysdeps/i386/sysdep.h: Likewise.
38432 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38433 * sysdeps/mach/sysdep.h: Likewise.
38434 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38435 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38436 * sysdeps/sh/sysdep.h: Likewise.
38437 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38438 * sysdeps/unix/i386/sysdep.S: Likewise.
38439 * sysdeps/unix/sparc/start.c: Likewise.
38440 * sysdeps/unix/sparc/sysdep.S: Likewise.
38441 * sysdeps/unix/sparc/sysdep.h: Likewise.
38442 * sysdeps/unix/start.c: Likewise.
38443 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38444 * sysdeps/x86_64/sysdep.h: Likewise.
38445
df78418a
UD
384462012-01-07 Ulrich Drepper <drepper@gmail.com>
38447
a784e502
UD
38448 [BZ #13553]
38449 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38450 for non-gcc.
38451 * argp/argp-fmtstream.h: Use const instead __const.
38452 * argp/argp.h: Likewise.
38453 * assert/assert.h: Likewise.
38454 * bits/fenv.h: Likewise.
38455 * bits/sched.h: Likewise.
38456 * bits/sigset.h: Likewise.
38457 * bits/sigthread.h: Likewise.
38458 * catgets/nl_types.h: Likewise.
38459 * conform/data/pthread.h-data: Likewise.
38460 * crypt/crypt-private.h: Likewise.
38461 * crypt/crypt.h: Likewise.
38462 * crypt/crypt_util.c: Likewise.
38463 * ctype/ctype.h: Likewise.
38464 * debug/execinfo.h: Likewise.
38465 * debug/mbsnrtowcs_chk.c: Likewise.
38466 * debug/mbsrtowcs_chk.c: Likewise.
38467 * debug/wcsnrtombs_chk.c: Likewise.
38468 * debug/wcsrtombs_chk.c: Likewise.
38469 * debug/wcstombs_chk.c: Likewise.
38470 * dirent/dirent.h: Likewise.
38471 * dlfcn/dlfcn.h: Likewise.
38472 * elf/neededtest4.c: Likewise.
38473 * grp/grp.h: Likewise.
38474 * gshadow/gshadow.h: Likewise.
38475 * iconv/gconv.h: Likewise.
38476 * iconv/gconv_int.h: Likewise.
38477 * iconv/gconv_simple.c: Likewise.
38478 * iconv/iconv.h: Likewise.
38479 * iconv/loop.c: Likewise.
38480 * iconv/skeleton.c: Likewise.
38481 * include/aio.h: Likewise.
38482 * include/aliases.h: Likewise.
38483 * include/argz.h: Likewise.
38484 * include/arpa/inet.h: Likewise.
38485 * include/assert.h: Likewise.
38486 * include/dirent.h: Likewise.
38487 * include/dlfcn.h: Likewise.
38488 * include/execinfo.h: Likewise.
38489 * include/fcntl.h: Likewise.
38490 * include/fenv.h: Likewise.
38491 * include/glob.h: Likewise.
38492 * include/grp.h: Likewise.
38493 * include/libintl.h: Likewise.
38494 * include/mntent.h: Likewise.
38495 * include/netdb.h: Likewise.
38496 * include/pwd.h: Likewise.
38497 * include/rpc/netdb.h: Likewise.
38498 * include/sched.h: Likewise.
38499 * include/search.h: Likewise.
38500 * include/shadow.h: Likewise.
38501 * include/signal.h: Likewise.
38502 * include/stdio.h: Likewise.
38503 * include/stdlib.h: Likewise.
38504 * include/string.h: Likewise.
38505 * include/sys/socket.h: Likewise.
38506 * include/sys/stat.h: Likewise.
38507 * include/sys/statfs.h: Likewise.
38508 * include/sys/statvfs.h: Likewise.
38509 * include/sys/syslog.h: Likewise.
38510 * include/sys/time.h: Likewise.
38511 * include/sys/uio.h: Likewise.
38512 * include/time.h: Likewise.
38513 * include/unistd.h: Likewise.
38514 * include/utmp.h: Likewise.
38515 * include/wchar.h: Likewise.
38516 * include/wctype.h: Likewise.
38517 * inet/aliases.h: Likewise.
38518 * inet/arpa/inet.h: Likewise.
38519 * inet/netinet/ether.h: Likewise.
38520 * inet/netinet/in.h: Likewise.
38521 * intl/libintl.h: Likewise.
38522 * io/bits/fcntl2.h: Likewise.
38523 * io/fcntl.h: Likewise.
38524 * io/ftw.h: Likewise.
38525 * io/sys/poll.h: Likewise.
38526 * io/sys/stat.h: Likewise.
38527 * io/sys/statfs.h: Likewise.
38528 * io/sys/statvfs.h: Likewise.
38529 * io/utime.h: Likewise.
38530 * libio/bits/stdio.h: Likewise.
38531 * libio/bits/stdio2.h: Likewise.
38532 * libio/libio.h: Likewise.
38533 * libio/libioP.h: Likewise.
38534 * libio/stdio.h: Likewise.
38535 * locale/lc-ctype.c: Likewise.
38536 * locale/locale.h: Likewise.
38537 * login/utmp.h: Likewise.
38538 * malloc/arena.c: Likewise.
38539 * malloc/malloc.c: Likewise.
38540 * malloc/malloc.h: Likewise.
38541 * malloc/mcheck.c: Likewise.
38542 * malloc/mtrace.c: Likewise.
38543 * math/bits/mathcalls.h: Likewise.
38544 * math/fenv.h: Likewise.
38545 * math/math_private.h: Likewise.
38546 * misc/bits/error.h: Likewise.
38547 * misc/bits/syslog.h: Likewise.
38548 * misc/err.h: Likewise.
38549 * misc/error.h: Likewise.
38550 * misc/fstab.h: Likewise.
38551 * misc/mntent.h: Likewise.
38552 * misc/regexp.h: Likewise.
38553 * misc/search.h: Likewise.
38554 * misc/sgtty.h: Likewise.
38555 * misc/sys/mman.h: Likewise.
38556 * misc/sys/syslog.h: Likewise.
38557 * misc/sys/uio.h: Likewise.
38558 * misc/sys/xattr.h: Likewise.
38559 * misc/ttyent.h: Likewise.
38560 * nis/rpcsvc/ypclnt.h: Likewise.
38561 * nss/nss.h: Likewise.
38562 * posix/bits/unistd.h: Likewise.
38563 * posix/fnmatch.h: Likewise.
38564 * posix/glob.h: Likewise.
38565 * posix/sched.h: Likewise.
38566 * posix/spawn.h: Likewise.
38567 * posix/sys/wait.h: Likewise.
38568 * posix/unistd.h: Likewise.
38569 * posix/wordexp.h: Likewise.
38570 * pwd/pwd.h: Likewise.
38571 * resolv/netdb.h: Likewise.
38572 * resource/sys/resource.h: Likewise.
38573 * rt/aio.h: Likewise.
38574 * rt/bits/mqueue2.h: Likewise.
38575 * rt/mqueue.h: Likewise.
38576 * shadow/shadow.h: Likewise.
38577 * signal/signal.h: Likewise.
38578 * socket/send.c: Likewise.
38579 * socket/sendto.c: Likewise.
38580 * socket/sys/socket.h: Likewise.
38581 * stdio-common/printf.h: Likewise.
38582 * stdlib/bits/stdlib.h: Likewise.
38583 * stdlib/fmtmsg.h: Likewise.
38584 * stdlib/monetary.h: Likewise.
38585 * stdlib/stdlib.h: Likewise.
38586 * stdlib/ucontext.h: Likewise.
38587 * streams/stropts.h: Likewise.
38588 * string/argz.h: Likewise.
38589 * string/bits/string2.h: Likewise.
38590 * string/string.h: Likewise.
38591 * string/strings.h: Likewise.
38592 * sunrpc/rpc/auth.h: Likewise.
38593 * sunrpc/rpc/auth_des.h: Likewise.
38594 * sunrpc/rpc/clnt.h: Likewise.
38595 * sunrpc/rpc/netdb.h: Likewise.
38596 * sunrpc/rpc/pmap_clnt.h: Likewise.
38597 * sunrpc/rpc/xdr.h: Likewise.
38598 * sysdeps/generic/inttypes.h: Likewise.
38599 * sysdeps/generic/net/if.h: Likewise.
38600 * sysdeps/generic/sys/swap.h: Likewise.
38601 * sysdeps/gnu/net/if.h: Likewise.
38602 * sysdeps/gnu/utmpx.h: Likewise.
38603 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
38604 * sysdeps/i386/i486/bits/string.h: Likewise.
38605 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
38606 * sysdeps/s390/bits/string.h: Likewise.
38607 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
38608 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
38609 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
38610 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
38611 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
38612 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
38613 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
38614 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
38615 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
38616 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
38617 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
38618 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
38619 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
38620 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
38621 * sysdeps/unix/sysv/linux/readv.c: Likewise.
38622 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
38623 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38624 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38625 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
38626 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
38627 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38628 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
38629 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
38630 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
38631 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
38632 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
38633 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
38634 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38635 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
38636 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
38637 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
38638 * sysvipc/sys/ipc.h: Likewise.
38639 * sysvipc/sys/msg.h: Likewise.
38640 * sysvipc/sys/sem.h: Likewise.
38641 * sysvipc/sys/shm.h: Likewise.
38642 * termios/termios.h: Likewise.
38643 * time/sys/time.h: Likewise.
38644 * time/time.h: Likewise.
38645 * wcsmbs/bits/wchar2.h: Likewise.
38646 * wcsmbs/uchar.h: Likewise.
38647 * wcsmbs/wchar.h: Likewise.
38648 * wctype/wctype.h: Likewise.
38649
0269750c
UD
38650 [BZ #13551]
38651 * Makeconfig: Remove all but ELF support including AIX support.
38652 * Makerules: Likewise.
38653 * config.h.in: Likewise.
38654 * config.make.in: Likewise.
38655 * configure: Likewise.
38656 * configure.in: Likewise.
38657 * csu/Makefile: Likewise.
38658 * csu/version.c: Likewise.
38659 * debug/Makefile: Likewise.
38660 * dlfcn/Makefile: Likewise.
38661 * elf/Makefile: Likewise.
38662 * extra-lib.mk: Likewise.
38663 * iconv/Makefile: Likewise.
38664 * include/libc-symbols.h: Likewise.
38665 * include/shlib-compat.h: Likewise.
38666 * resolv/Makefile: Likewise.
38667 * resolv/res_libc.c: Likewise.
38668 * rt/Makefile: Likewise.
38669 * sysdeps/i386/asm-syntax.h: Likewise.
38670 * sysdeps/i386/sysdep.h: Likewise.
38671 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38672 * sysdeps/mach/sysdep.h: Likewise.
38673 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
38674 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
38675 * sysdeps/s390/asm-syntax.h: Likewise.
38676 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38677 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38678 * sysdeps/sh/sysdep.h: Likewise.
38679 * sysdeps/unix/sparc/sysdep.h: Likewise.
38680 * sysdeps/wordsize-32/divdi3.c: Likewise.
38681 * sysdeps/x86_64/sysdep.h: Likewise.
38682
00bbd29b
UD
38683 * argp/Versions: Remove _argp_unlock_xxx.
38684
38685 [BZ #13559]
38686 * abilist/ld.abilist: Update. Adjust for removal of tls option.
38687 * abilist/libBrokenLocale.abilist: Likewise.
38688 * abilist/libanl.abilist: Likewise.
38689 * abilist/libc.abilist: Likewise.
38690 * abilist/libcrypt.abilist: Likewise.
38691 * abilist/libdl.abilist: Likewise.
38692 * abilist/libm.abilist: Likewise.
38693 * abilist/libnsl.abilist: Likewise.
38694 * abilist/libpthread.abilist: Likewise.
38695 * abilist/libresolv.abilist: Likewise.
38696 * abilist/librt.abilist: Likewise.
38697 * abilist/libthread_db.abilist: Likewise.
38698 * abilist/libutil.abilist: Likewise.
38699 * abilist/libnss_db.abilist: New file.
38700
38701 * scripts/abilist.awk: Add support for indirect functions.
38702
a2693a0e
UD
38703 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
38704
3f05895f
UD
38705 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
38706
ecb6fb48
UD
38707 * shlib-versions: Remove entries for ports architectures.
38708
664f8cb9
UD
38709 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
38710 files in ports.
38711 * elf/stackguard-macros.h: Remove support for IA-64.
38712 * elf/tst-auditmod1.c: Likewise.
38713 * sysdeps/generic/ldsodefs.h: Likewise.
38714
7ae81d88
UD
38715 * sysdeps/unix/sysv/linux/configure.in: Ports should define
38716 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38717 configure files.
38718
bdeba135
UD
38719 [BZ #13552]
38720 * configure.in: Remove --enable-omitfp support.
38721 * FAQ.in: Adjust.
38722 * config.make.in: Likewise.
38723 * Makeconfig: Likewise.
38724 * manual/install.texi: Likewise.
38725
d75a0a62
UD
38726 In case anyone cares, the IA-64 architecture could move to ports.
38727 * sysdeps/ia64/*: Removed.
38728 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 38729 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 38730
dcc9756b
UD
38731 [BZ #13555]
38732 * configure.in: Remove entries for unsupported architectures.
38733
d3761ebc 38734 [BZ #13533]
9954432e
UD
38735 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38736 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
38737 routines.
38738 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38739 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38740 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
38741 fall back to using wcrtomb.
38742 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38743 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
38744 renaming.
38745 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38746 * wcsmbs/tst-c16c32-1.c: New file.
38747
38748 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38749 local variable.
38750
c3a87236
UD
38751 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38752
28926a1b
UD
38753 * elf/tst-unique3.cc: Add explicit declaration of gets.
38754 * elf/tst-unique3lib.cc: Likewise.
38755 * elf/tst-unique3lib2.cc: Likewise.
38756 * elf/tst-unique4.cc: Likewise.
38757
df78418a
UD
38758 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38759
8ecd6b2a
JM
387602012-01-06 Joseph Myers <joseph@codesourcery.com>
38761
38762 [BZ #13566]
38763 * assert/assert.h (static_assert): Don't define for C++.
38764 * libio/stdio.h (gets): Do declare for C++ <= C++11.
38765 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38766
9f115170
UD
387672012-01-03 Ulrich Drepper <drepper@gmail.com>
38768
5e0d0300
UD
38769 * iconv/loop.c (single loop): Fix assertion in storing of
38770 remaining bytes.
38771
9f115170
UD
38772 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38773
81fb02b0
UD
387742012-01-01 Ulrich Drepper <drepper@gmail.com>
38775
38776 * posix/getconf.c: Update copyright year.
38777 * nss/getent.c: Likewise.
a316c1f6 38778 * nss/makedb.c: Likewise.
81fb02b0
UD
38779 * iconv/iconvconfig.c: Likewise.
38780 * iconv/iconv_prog.c: Likewise.
38781 * elf/ldconfig.c: Likewise.
a316c1f6
UD
38782 * elf/pldd.c: Likewise.
38783 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
38784 * catgets/gencat.c: Likewise.
38785 * csu/version.c: Likewise.
38786 * elf/ldd.bash.in: Likewise.
38787 * elf/sprof.c (print_version): Likewise.
38788 * locale/programs/locale.c: Likewise.
38789 * locale/programs/localedef.c: Likewise.
a316c1f6 38790 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
38791 * nscd/nscd.c (print_version): Likewise.
38792 * debug/xtrace.sh: Likewise.
38793 * malloc/memusage.sh: Likewise.
38794 * malloc/mtrace.pl: Likewise.
38795 * debug/catchsegv.sh: Likewise.
38796
2ba92745
JJ
387972011-12-30 Jakub Jelinek <jakub@redhat.com>
38798
38799 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38800 pure attribute.
38801
dadebdae
UD
388022011-12-24 Ulrich Drepper <drepper@gmail.com>
38803
d3761ebc 38804 [BZ #13533]
db6af3eb
UD
38805 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38806 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38807 transformations.
38808 * iconv/gconv_int.h: Likewise.
38809 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38810 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38811 from libc for GLIBC_2.16.
38812 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38813 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38814 * wcsmbs/uchar.h: Really define mbstate_t.
38815 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38816 * wcsmbs/c16rtomb.c: New file.
38817 * wcsmbs/mbrtoc16.c: New file.
38818 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38819 for C/POSIX locale.
38820 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38821 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38822
dadebdae
UD
38823 * wcsmbs/wchar.h: Add missing __restrict.
38824
67371b56
UD
388252011-12-23 Ulrich Drepper <drepper@gmail.com>
38826
74033a25
UD
38827 [BZ #13532]
38828 * time/Makefile (routines): Add timespec_get.
38829 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38830 * time/time.h: Define TIME_UTC and declare timespec_get. Define
38831 timespec for ISO C11.
38832 * time/timespec_get.c: New file.
38833 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38834 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38835
380d7e87
UD
38836 [BZ #13531]
38837 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38838 * stdlib/stdlib.h: Declare aligned_alloc.
38839 * Versions.def: Add GLIBC_2.16 for libc.
38840 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38841
4e9e7a35
UD
38842 [BZ 13527]
38843 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38844 ISO C11.
38845
380d7e87 38846 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
38847 code.
38848
03a71829
UD
38849 [BZ #13528]
38850 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38851
839e283e
UD
38852 [BZ #13529]
38853 * assert/assert.h (static_assert): Define.
38854
ce5294e2 38855 * version.h: Update for 2.16 development version.
90fa7312 38856
8d44e150 38857 [BZ #13526]
d7809905
UD
38858 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38859 _ISOC11_SOURCE.
38860
c0da14cd
UD
38861 * version.h (RELEASE): Bump for 2.15 release.
38862 * include/features.h (__GLIBC_MINOR__): Bump to 15.
38863
530a3249
MP
38864 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38865 Patch by Marek Polacek <mpolacek@redhat.com>.
38866
67371b56
UD
38867 * bits/byteswap.h: Protect long long constants with __extension__.
38868 * sysdeps/i386/bits/byteswap.h: Likewise.
38869 * sysdeps/ia64/bits/byteswap.h: Likewise.
38870 * sysdeps/s390/bits/byteswap.h: Likewise.
38871 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38872
15db4de1
LD
388732011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38874
38875 [BZ #13540]
bbe315ea
LD
38876 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38877 destination buffer.
15db4de1
LD
38878 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38879
2b2596b1
MP
388802011-12-23 Marek Polacek <polacek@redhat.com>
38881
38882 * elf/dl-addr.c (determine_info): Add inline keyword.
38883 * elf/tst-auditmod4b.c (check_avx): Likewise.
38884 * elf/tst-auditmod6b.c (check_avx): Likewise.
38885 * elf/tst-auditmod6c.c (check_avx): Likewise.
38886 * elf/tst-auditmod7b.c (check_avx): Likewise.
38887
70c6c246
UD
388882011-12-23 Ulrich Drepper <drepper@gmail.com>
38889
38890 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38891 !__SSE_MATH__.
38892
c044cf14
LD
388932011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38894
15db4de1 38895 [BZ #13540]
c044cf14
LD
38896 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38897 processing for last bytes.
38898
6b13d9d9
BH
388992011-08-06 Bruno Haible <bruno@clisp.org>
38900
d455f537
BH
38901 [BZ #13061]
38902 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38903 U+0385, not to U+1FEE.
38904
6b13d9d9
BH
38905 [BZ #13062]
38906 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38907 entry for U+00A5 U+0301.
38908
db910efd
UD
389092011-12-22 Ulrich Drepper <drepper@gmail.com>
38910
27deeafc
UD
38911 [BZ #13166]
38912 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38913 buffer for the output is too small.
38914
aed9d171
UD
38915 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38916 optimization.
38917
db910efd
UD
38918 [BZ #13185]
38919 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38920 SSE flags if possible.
38921
2bd779ae
LD
389222011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38923
e7f9dac3 38924 [BZ #13540]
2bd779ae
LD
38925 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38926 processing for last bytes.
38927
154bfc16
JM
389282011-12-22 Joseph Myers <joseph@codesourcery.com>
38929
38930 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38931 (syscall-list-default-options, syscall-list-default-condition)
38932 (syscall-list-includes): Define.
38933 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38934 list of ABIs and options and #if conditions for each ABI. Do not
38935 handle common syscalls between ABIs specially.
38936 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38937 Remove.
38938 (syscall-list-variants, syscall-list-32bit-options)
38939 (syscall-list-32bit-condition, syscall-list-64bit-options)
38940 (syscall-list-64bit-condition): Define.
38941 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38942 (syscall-list-variants, syscall-list-32bit-options)
38943 (syscall-list-32bit-condition, syscall-list-64bit-options)
38944 (syscall-list-64bit-condition): Define.
38945 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38946 Remove.
38947 (syscall-list-variants, syscall-list-32bit-options)
38948 (syscall-list-32bit-condition, syscall-list-64bit-options)
38949 (syscall-list-64bit-condition): Define.
38950 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38951 Remove.
38952 (syscall-list-variants, syscall-list-32bit-options)
38953 (syscall-list-32bit-condition, syscall-list-64bit-options)
38954 (syscall-list-64bit-condition): Define.
38955
21eaf3a5
UD
389562011-12-22 Ulrich Drepper <drepper@gmail.com>
38957
16c6f992
UD
38958 * locale/iso-639.def: Add brx entry.
38959
41043168
UD
38960 [BZ #13328]
38961 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38962 Proposed by Mariusz_Cukr <marcukr@op.pl>.
38963
21eaf3a5
UD
38964 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38965 __feraiseexcept_renamed.
38966
e3a851a2
UD
389672011-12-21 Ulrich Drepper <drepper@gmail.com>
38968
4920765e
UD
38969 [BZ #13538]
38970 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38971 EPOLLET with unsigned values.
38972 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38973 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38974
e3a851a2
UD
38975 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38976 to large cancellation.
38977 * math/s_cacoshf.c: Likewise.
38978 * math/s_cacoshl.c: Likewise.
38979
b27e24b8
RK
389802011-11-18 Richard B. Kreckel <kreckel@ginac.de>
38981
38982 [BZ #13305]
aebefeee 38983 [BZ #12786]
b27e24b8
RK
38984 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38985 * math/s_cacoshf.c: Likewise.
38986 * math/s_cacoshl.c: Likewise.
38987
ee190f67
UD
389882011-12-21 Ulrich Drepper <drepper@gmail.com>
38989
38990 [BZ #13439]
38991 * iconv/gconv.h: Define __GCONV_SWAP.
38992 * iconvdata/unicode.c: The swap bit must be stored in __flags.
38993 * iconvdata/utf-16.c: Likewise.
38994 * iconvdata/utf-32.c: Likewise.
38995
707f25df
AS
389962011-12-21 Andreas Schwab <schwab@linux-m68k.org>
38997
38998 [BZ #13524]
38999 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39000 numerator after shifting it by one limb.
39001
d2daaa1e
RÁE
390022011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39003
39004 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39005 under [__USE_EXTERN_INLINES].
39006
a4647e72
UD
390072011-12-17 Ulrich Drepper <drepper@gmail.com>
39008
39009 [BZ #13446]
39010 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39011
f0b264f1
AZ
390122011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39013
39014 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39015 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39016 optimized code.
39017 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39018 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39019 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39020 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39021 for strncasecmp/strncasecmp_l compilation.
39022 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39023 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39024
8ef4f244
MP
390252011-12-08 Marek Polacek <mpolacek@redhat.com>
39026
39027 [BZ #13484]
39028 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39029 of __asm__.
39030
97ac2654
UD
390312011-12-17 Ulrich Drepper <drepper@gmail.com>
39032
39033 [BZ #13506]
39034 * time/tzfile.c (__tzfile_read): Check values from file header.
39035
91d2a845
WS
390362011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39037
39038 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39039 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39040 * powerpc/powerpc32/dl-start.S: Likewise.
39041 * powerpc/powerpc32/elf/start.S: Likewise.
39042 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39043 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39044 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39045 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39046 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39047 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39048 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39049 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39050 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39051 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39052 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39053 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39054 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39055 * powerpc/powerpc32/memset.S: Likewise.
39056 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39057 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39058 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39059 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39060 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39061 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39062 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39063 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39064 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39065 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39066 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39067 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39068 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39069
a1267ba1
AZ
390702011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39071
39072 * math/libm-test.inc: Added more nearbyint tests.
39073 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39074 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39075 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39076 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39077
ad8ac1bd
RL
390782011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39079
39080 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39081 FD_CLOEXEC.
39082
1d3e4b61
UD
390832011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39084
39085 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39086 Add wcscpy-ssse3 wcscpy-c.
39087 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39088 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39089 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39090 * sysdeps/x86_64/wcschr.S: New file.
39091 * sysdeps/x86_64/wcsrchr.S: New file.
39092 * string/test-strcmp.c: Remove checking of wcscmp function for
39093 wrong alignments.
39094 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39095 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39096 wcsrchr-sse2 wcsrchr-c.
39097 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39098 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39099 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39100 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39101 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39102 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39103 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39104 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39105 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39106 * wcsmbc/wcschr.c (WCSCHR): New macro.
39107
5b330a2d
UD
391082011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39109
39110 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39111 * wcsmbs/test-wcsrchr.c: New file.
39112 * string/test-strrchr.c: Add wcsrchr support.
39113 (WIDE): New macro.
39114 * wcsmbs/test-wcscpy.c: New file.
39115 * string/test-strcpy.c: Add wcscpy support.
39116 (WIDE): New macro.
26428b7c 39117
f039c043
UD
391182011-12-10 Ulrich Drepper <drepper@gmail.com>
39119
39120 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39121 the inner loop.
39122
850fb039
AS
391232011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39124
39125 [BZ #13472]
39126 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39127
4efbd5cb
UD
391282011-12-04 Ulrich Drepper <drepper@gmail.com>
39129
52ff5dd0 39130 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 39131 Minor optimizations.
52ff5dd0 39132
4efbd5cb
UD
39133 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39134 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39135 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39136
8a426e12
UD
391372011-12-03 Ulrich Drepper <drepper@gmail.com>
39138
aff2453d
UD
39139 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39140 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39141 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39142 for gcc to avoid warnings.
39143 * inet/Makefile (tests): Add tst-checks.
39144 * inet/tst-checks.c: New file.
39145
39146 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39147 warning.
39148
39149 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39150 __wmemcmp_sse2.
39151
39152 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39153 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39154
8a426e12
UD
39155 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39156
9bea3473
UD
391572011-12-02 Ulrich Drepper <drepper@gmail.com>
39158
3a965496
UD
39159 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39160 problem.
39161
9bea3473
UD
39162 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39163
f101631b
UD
391642011-11-29 Joseph Myers <joseph@codesourcery.com>
39165
39166 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39167 conditional on GCC version.
39168 (__arch_compare_and_exchange_val_8_acq)
39169 (__arch_compare_and_exchange_val_16_acq)
39170 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39171 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39172 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39173
a98275aa
UD
391742011-12-02 Joseph Myers <joseph@codesourcery.com>
39175
39176 * sysdeps/sh/backtrace.c: New file.
39177
d4cc29a2
AS
391782011-12-02 Andreas Schwab <schwab@redhat.com>
39179
39180 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39181 parenthesis.
39182
6257af2d
AS
391832011-12-01 Andreas Schwab <schwab@redhat.com>
39184
39185 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39186 falling back to utime.
39187
b5f44c1a
AS
391882011-11-30 Andreas Schwab <schwab@redhat.com>
39189
39190 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39191 expectations for float.
39192
f3a6cc0a
AS
391932011-11-29 Andreas Schwab <schwab@redhat.com>
39194
39195 * locale/weight.h (findidx): Add parameter len.
39196 * locale/weightwc.h (findidx): Likewise.
39197 * posix/fnmatch_loop.c (FCT): Adjust caller.
39198 * posix/regcomp.c (build_equiv_class): Likewise.
39199 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39200 * posix/regexec.c (check_node_accept_bytes): Likewise.
39201 * string/strcoll_l.c (STRCOLL): Likewise.
39202 * string/strxfrm_l.c (STRXFRM): Likewise.
39203
9d65ea3a
UD
392042011-11-17 Ulrich Drepper <drepper@gmail.com>
39205
39206 * Makefile.in: Remove CVSOPT handling.
39207 * configure.in: Remove use of AC_REVISION.
39208 * iconvdata/Makefile (distribute): No need to filter out CVS.
39209 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39210 handling.
39211
5583a086
AS
392122011-11-16 Andreas Schwab <schwab@redhat.com>
39213
39214 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39215 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39216 [USE_AS_STRNCASECMP_L]: Likewise.
39217 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39218 NO_TLS_DIRECT_SEG_REFS.
39219 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39220 Fix argument offsets for non-PIC.
39221 [USE_AS_STRNCASECMP_L]: Likewise.
39222 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39223 NO_TLS_DIRECT_SEG_REFS.
39224
d62a8200
UD
392252011-11-15 Ulrich Drepper <drepper@gmail.com>
39226
9d65ea3a 39227 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
39228 O_CLOEXEC.
39229 * locale/loadlocale.c (_nl_load_locale): Likewise.
39230
09f93bd3
AS
392312011-11-15 Andreas Schwab <schwab@redhat.com>
39232
446514f9
AS
39233 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39234 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39235 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39236 (SYSCALL_GETTIME): Set errno on error.
39237
09f93bd3
AS
39238 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39239 count references to noai6ai_cached.
39240
312be3f9
UD
392412011-11-15 Ulrich Drepper <drepper@gmail.com>
39242
39243 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39244
39245 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39246 FD_CLOEXEC for /proc/self/maps.
39247
39248 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39249 FD_CLOEXEC for /proc/meminfo.
39250
39251 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39252 gai.conf.
39253
39254 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39255 FD_CLOEXEC for given file.
39256
39257 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39258
39259 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39260 FD_CLOEXEC for /etc/hosts.
39261 (_gethtent): Likewise.
39262
39263 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39264
39265 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39266 cancellation and set FD_CLOEXEC for /etc/netgroup.
39267
39268 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39269 reading /etc/publickey.
39270
39271 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39272 allow cancellation when reading /etc/group.
39273
39274 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39275 cancellation.
39276 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39277
39278 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39279 when using data file.
39280
39281 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39282
39283 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39284 (write_nis_obj): Use "c" and "e" in fopen.
39285
39286 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39287
39288 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39289
39290 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39291
39292 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39293
39294 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39295 locale.alias.
39296
39297 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39298
39299 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39300
39301 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39302
39303 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39304 file parsing and set FD_CLOEXEC.
39305
82af0fa8
UD
393062011-11-14 Ulrich Drepper <drepper@gmail.com>
39307
39308 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39309
a5fb313c
AS
393102011-11-14 Andreas Schwab <schwab@redhat.com>
39311
39312 * malloc/arena.c (arena_get2): Don't call reused_arena when
39313 _int_new_arena failed.
39314
6abf3465
UD
393152011-11-14 Ulrich Drepper <drepper@gmail.com>
39316
39317 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39318 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39319 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39320 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39321 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39322 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39323 to compile strcasecmp and strncasecmp.
39324 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39325 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39326
39327 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39328
76e3966e
UD
393292011-11-13 Ulrich Drepper <drepper@gmail.com>
39330
39331 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39332 locale-defines.sym to gen-as-const-headers.
39333 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39334 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39335 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39336 to compile strcasecmp and strncasecmp.
39337 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39338 strcasecmp_l and strncasecmp_l.
39339 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39340 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39341 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39342 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39343 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39344 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39345 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39346 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39347 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39348 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39349 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39350
ab26144e
UD
393512011-11-12 Ulrich Drepper <drepper@gmail.com>
39352
7edb22ef
UD
39353 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39354 result of SYSDEP_GETTIME_CPU to retval.
39355 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39356 parameter list to macro. Remove trailing semicolon. Adjust users.
39357
9694fc44
UD
39358 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39359 variable.
39360
8ad89ef8
UD
39361 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39362 mantissa words.
39363 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39364
0c822ef9
UD
39365 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39366 from unused variable.
39367
874e0564
UD
39368 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39369 DWARF definitions.
39370 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39371 for assembling.
39372
3a2edc79
UD
39373 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39374 over namespaces.
39375
f3c2577f
UD
39376 * sunrpc/rpc_prot.c (rejected): Fix case value.
39377
294ce126
UD
39378 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39379 unsigned long long int to avoid warnings in shift.
39380
5e2b63c6
UD
39381 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39382 of use of trans.
39383 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39384 variable tmp.
39385
e7f4b08e
UD
39386 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39387 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39388 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39389
ab26144e
UD
39390 * nis/nis_table.c (nis_list): Use variable of correct type for
39391 result of __follow_path call.
39392
8a6d5255
AZ
393932011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39394
39395 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39396 of math functions ceil, trunc, floor, round, and sqrt, when
39397 avaliable on the platform.
39398 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39399 name clash.
39400 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39401 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39402 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39403
aaddc98c
MP
394042011-10-30 Marek Polacek <mpolacek@redhat.com>
39405
39406 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39407 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39408
95b7042b
RM
394092011-11-11 Roland McGrath <roland@hack.frob.com>
39410
39411 * include/unistd.h: Fix __readlink return type.
39412 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39413
57769839
UD
394142011-11-11 Ulrich Drepper <drepper@gmail.com>
39415
39416 * stdlib/ucontext.h: Undo last change for makecontext.
39417
edc5984d
AS
394182011-11-11 Andreas Schwab <schwab@redhat.com>
39419
98591e58
AS
39420 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39421
edc5984d
AS
39422 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39423 * setjmp/setjmp.h: Mark functions as non-leaf.
39424 * setjmp/bits/setjmp2.h: Likewise.
39425 * stdlib/ucontext.h: Likewise.
39426
77cdc054
AS
394272011-11-10 Andreas Schwab <schwab@redhat.com>
39428
39429 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39430 (reused_arena): Don't check arena limit.
39431 (arena_get2): Atomically check arena limit.
39432
fe72eebd
UD
394332011-11-08 Ulrich Drepper <drepper@gmail.com>
39434
5f078c32
UD
39435 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39436 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39437
fe72eebd
UD
39438 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39439 instructions.
39440
ae1bc2fa
AS
394412011-11-07 Andreas Schwab <schwab@redhat.com>
39442
7583a88d
AS
39443 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39444 handler when locking.
39445
ae1bc2fa
AS
39446 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39447 Fix size of allocated buffer.
39448
10fb0bfa
AS
394492011-11-04 Andreas Schwab <schwab@redhat.com>
39450
998832a4
AS
39451 [BZ #10103]
39452 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39453 declarations for long double functions.
39454 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39455
10fb0bfa
AS
39456 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39457
3d7ba52b
AS
394582011-11-03 Andreas Schwab <schwab@redhat.com>
39459
a9ae54a1
AS
39460 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39461 installed.
39462
3d7ba52b
AS
39463 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39464 is disabled.
39465
bc8db248
ST
394662011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39467
39468 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39469
45b96dd6
AS
394702011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39471
647776f6
AS
39472 * include/alloca.h (stackinfo_alloca_round): Define.
39473 (extend_alloca): Use it.
39474 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39475 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39476 here.
39477
d91a8b93
AS
39478 * scripts/check-local-headers.sh: Ignore libaudit.h.
39479
45b96dd6
AS
39480 * nscd/Makefile (extra-objs): Make recursively expanded.
39481
432d41ce
UD
394822011-11-01 Ulrich Drepper <drepper@gmail.com>
39483
34372fc6
UD
39484 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39485 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39486
fadb59f8
UD
39487 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39488 * posix/tst-rfc3484-2.c: Likewise.
39489 * posix/tst-rfc3484-3.c: Likewise.
39490
78239589
UD
39491 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39492 process_vm_writev.
39493 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39494 process_vm_writev.
39495 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39496 process_vm_writev from libc using GLIBC_2.15 version.
39497
432d41ce
UD
39498 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
39499
02f9c6cf
PP
395002011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
39501
39502 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
39503 stack usage.
39504
3a2c0242
UD
395052011-10-31 Ulrich Drepper <drepper@gmail.com>
39506
f4ec4833
UD
39507 [BZ #13367]
39508 * nss/getent.c (initgroups_keys): Show error message in case no group
39509 names are given.
39510
3a2c0242
UD
39511 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
39512 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
39513 __bump_nl_timestamp.
39514 * nscd/connections (nscd_init): When host database is served open
39515 netlink socket and request notification about configuration changes.
39516 (main_loop_poll): Track netlink file descriptor and bump timestamp
39517 in case data becomes available.
39518 (main_loop_epoll): Likewise.
39519 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
39520 (database_pers_head): Add extra_data fileds.
39521 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
39522 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
39523 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
39524 Adjust caller.
39525 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
39526 in6ai data, call __free_in6ai.
39527 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
39528 Add -DHAVE_NETLINK.
39529 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
39530 interface information. Reuse previous data if netlink timestamp
39531 is not changed.
39532 (__bump_nl_timestamp): New function.
39533 (__free_in6ai): New function.
39534
636064eb
UD
395352011-10-30 Ulrich Drepper <drepper@gmail.com>
39536
39537 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
39538 close_not_cancel_no_status here.
39539 (__check_pf): Reorganize code a bit to not call close twice if OOM.
39540
9beb2334
UD
395412011-10-29 Ulrich Drepper <drepper@gmail.com>
39542
6ef76f3b
UD
39543 [BZ #13276]
39544 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
39545 return value.
39546
0ffc4f3e 39547 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
39548 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
39549 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
39550
cb95113e
UD
395512011-07-03 Andreas Jaeger <aj@suse.de>
39552
39553 [BZ #10709]
39554 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
39555 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
39556 * math/libm-test.inc (sin_test): Add test case.
39557
a1b560ff
UD
395582011-10-29 Ulrich Drepper <drepper@gmail.com>
39559
c9aaface
UD
39560 [BZ #13337]
39561 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
39562 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39563
d272e7f1
UD
39564 * elf/chroot_canon.c (chroot_canon): Cleanups.
39565
1bc33071
UD
39566 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
39567
1760874d
TJ
39568 [BZ #13335]
39569 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
39570 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
39571
51d91b18
UD
39572 * string/test-strchr.c: Make usable for strchrnul testing.
39573 * string/test-strchrnul.c: New file.
39574 * string/Makefile (strop-tests): Add strchrnul.
39575
a1b560ff 39576 * po/it.po: Update from translation team.
b611fb81 39577 * po/es.po: Likewise.
a1b560ff 39578
a5b81e1f
UD
395792011-10-28 Ulrich Drepper <drepper@gmail.com>
39580
fd52bc6d
UD
39581 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
39582 the three constants needed as parameters. Drop the others.
39583 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
39584 __m128i_strloadu_tolower.
52e4b9eb
UD
39585 Create and initialize variable zero and use it in all the places
39586 where _mm_setzero_si128 was used.
fd52bc6d 39587
a5b81e1f
UD
39588 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
39589 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
39590 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
39591 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
39592 anymore.
39593 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
39594 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
39595 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
39596 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
39597 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
39598 __mpranred, __mptan.
39599 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
39600 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
39601 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
39602 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
39603 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
39604 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
39605 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
39606 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
39607 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
39608
b4343346
AS
396092011-10-28 Andreas Schwab <schwab@redhat.com>
39610
0c92d8a8
AS
39611 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
39612 redefine if SHARED.
39613 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
39614
b4343346
AS
39615 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
39616 wide char related routines to wcsmbs subdir.
39617
3871f58f
AS
396182011-10-27 Andreas Schwab <schwab@redhat.com>
39619
39620 [BZ #13344]
39621 * misc/sys/cdefs.h (__THROWNL): Define.
39622 * posix/unistd.h: Use __THREADNL instead of __THREAD
39623 for memory synchronization functions.
39624
94d44d9f
RM
396252011-10-26 Roland McGrath <roland@hack.frob.com>
39626
21b64b15 39627 [BZ #13349]
94d44d9f
RM
39628 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
39629 doesn't exist.
39630 * manual/stdio.texi (Obstack Streams): Node removed.
39631
f6ce9294
AS
396322011-10-26 Andreas Schwab <schwab@redhat.com>
39633
80479147
AS
39634 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
39635 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39636 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39637
f6ce9294
AS
39638 * math/math_private.h (math_force_eval): Allow non-addressable
39639 arguments.
39640 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
39641
618280a1
UD
396422011-10-25 Ulrich Drepper <drepper@gmail.com>
39643
e0016b11
UD
39644 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
39645 file is not needed.
39646
39647 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
39648 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
39649 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39650 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39651 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39652 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39653 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39654 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
39655 Add AVX variants.
39656 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
39657 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
39658 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
39659 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
39660 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
39661 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
39662 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
39663 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
39664 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
39665 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
39666 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
39667 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
39668 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
39669 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
39670 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
39671 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
39672 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
39673 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
39674 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
39675
39676 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
39677 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
39678
618280a1
UD
39679 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
39680 place. Use VEX encoding when compiling for AVX.
39681
37822576
AS
396822011-10-25 Andreas Schwab <schwab@redhat.com>
39683
1f1e1947
AS
39684 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
39685 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39686
37822576
AS
39687 * string/test-strchr.c (do_test): Don't generate NUL bytes.
39688
31ea014d
UD
396892011-10-25 Ulrich Drepper <drepper@gmail.com>
39690
d7826aa1 39691 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 39692 useless if() expression.
d7826aa1
UD
39693 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39694 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39695 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39696 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39697 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39698 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39699 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39700 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39701 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39702 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39703 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39704 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39705 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39706 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39707 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39708 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39709 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39710 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39711 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39712
31ea014d
UD
39713 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39714
16437fec
AS
397152011-10-25 Andreas Schwab <schwab@redhat.com>
39716
39717 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39718 condition.
39719 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39720
31d3cc00
UD
397212011-10-25 Ulrich Drepper <drepper@gmail.com>
39722
39723 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39724 .text section. Avoid duplicate constants.
39725 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39726 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39727 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39728 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39729 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39730 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39731 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39732 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39733 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39734 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39735 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39736 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39737 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39738 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39739 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39740 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39741 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39742 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39743 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39744 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39745 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39746 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39747 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39748 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39749 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39750 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39751 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39752 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39753 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39754 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39755 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39756 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39757 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39758 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39759 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39760 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39761 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39762 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39763 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39764 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39765 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39766 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39767 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39768 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39769 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39770
58985aa9
UD
397712011-10-24 Ulrich Drepper <drepper@gmail.com>
39772
202c9deb
UD
39773 * sysdeps/x86_64/dla.h: Move to ...
39774 * sysdeps/x86_64/fpu/dla.h: ...here.
39775 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39776 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 39777
af968f62
UD
39778 * config.make.in: Add have-mfma4 entry.
39779 * configure.in: Substitute libc_cv_cc_fma4.
39780 * math/Makefile (dbl-only-routines): Add sincostab.
39781 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39782 Use __sincostab not sincos.
39783 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39784 name is a macro.
39785 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39787 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39788 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
39789 using __copysign.
39790 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
39791 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
39792 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39793 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39794 and __inv.
39795 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39796 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39797 __copysign.
39798 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
39799 define aliases when function name is a macro.
39800 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39801 sysdeps/ieee754/dbl-64/sincos.tbl.
39802 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39803 fma4-enabled routines.
39804 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39805 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39806 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39807 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39808 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39809 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39810 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39811 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39812 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39813 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39814 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39815 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39816 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39817 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39818 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39819 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39820 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39821 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39822 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39823 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39824 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39825 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39826 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39827 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39828 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39829 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39830 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39831 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39832 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39833 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39834
58985aa9
UD
39835 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39836 rename.
39837 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39838 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39839 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39840 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39841 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39842 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39843 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39844 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39845
a201fbcf
AS
398462011-10-24 Andreas Schwab <schwab@redhat.com>
39847
39848 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39849
fc2ee42a
LD
398502011-10-23 Ulrich Drepper <drepper@gmail.com>
39851
bb3129bd
UD
39852 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39853
0275fff8
UD
39854 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39855 prediction.
39856 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39857
2fa2ae85
UD
39858 * string/strnlen.c: Don't define STRNLEN, reverse logic.
39859 Remove unused variable magic_bits.
39860 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39861
fc2ee42a
LD
39862 * string/strnlen.c: Define and use STRNLEN macro.
39863 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39864 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39865 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39866 * wcsmbs/wcslen.c: Define and use WCSLEN.
39867 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39868 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39869 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39870 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39871 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39872 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39873 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39874
ce7dd29f
LD
398752011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39876
39877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39878 strnlen-sse2-no-bsf.
39879 Rename strlen-no-bsf to strlen-sse2-no-bsf.
39880 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39881 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39882 Add strnlen support.
39883 (USE_AS_STRNLEN): New macro.
39884 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39885 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39886 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39887 * sysdeps/x86_64/wcslen.S: New file.
39888
979c70a3
MZ
398892011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
39890
39891 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39892 XMM-moves are used for copying on small sizes.
39893
2d09f82f
LD
398942011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39895
39896 * wcsmbs/Makefile (strop-tests): Add wcschr.
39897 * wcsmbs/test-wcschr.c: New file.
39898 * string/test-strchr.c: Update.
39899 Add wcschr support.
39900 (WIDE): New macro.
39901
619fccca
LD
399022011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39903
2d09f82f 39904 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
39905 * wcsmbs/test-wcslen.c: New file.
39906 * string/test-strlen.c: Update.
39907 Add wcslen support.
39908 (WIDE): New macro.
39909
09f699ea
UD
399102011-10-23 Ulrich Drepper <drepper@gmail.com>
39911
39912 * po/it.po: Update from translation team.
39913
95584d3b
LD
399142011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39915
39916 * sysdeps/x86_64/wcscmp.S: Update.
39917 Fix wrong comparison semantics.
39918 wcscmp shall use signed comparison not unsigned.
39919 Don't use substraction to avoid overflow bug.
39920 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39921 * wcsmbc/wcscmp.c: Likewise.
39922 * string/test-strcmp.c: Likewise.
39923 Add new tests to check cases with negative values.
39924
c8b3296b
UD
399252011-10-23 Ulrich Drepper <drepper@gmail.com>
39926
39927 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39928 * sysdeps/x86_64/dla.h: ...here. New file.
39929 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39930 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39932 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39933 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39934 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39935 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39936 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39937 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39938
246ad57a
AS
399392011-10-23 Andreas Schwab <schwab@linux-m68k.org>
39940
39941 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39942 __ynl_finite aliases.
39943
a1a87169
UD
399442011-10-22 Ulrich Drepper <drepper@gmail.com>
39945
0d355eb7
UD
39946 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39947
a1a87169
UD
39948 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39949 define DLA_FMA.
39950 [DLA_FMA] (EMULV): Use DLA_FMA.
39951 [DLA_FMA] (MUL12): Use EMULV.
39952 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39953 that are not needed.
39954 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39955 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39956 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39957 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39958 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39959 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39960 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39961
ee2aafe0
AS
399622011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39963
39964 * math/s_nan.c: Undef __nan.
39965 * math/s_nanf.c: Undef __nanf.
39966 * math/s_nanl.c: Undef __nanl.
39967 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39968 "math_private.h".
39969
bc62c2fb
UD
399702011-10-22 Ulrich Drepper <drepper@gmail.com>
39971
77425c63
UD
39972 * math/s_catan.c: Add branch predictions.
39973 * math/s_catanf.c: Likewise.
39974 * math/s_catanh.c: Likewise.
39975 * math/s_catanhf.c: Likewise.
39976 * math/s_catanhl.c: Likewise.
39977 * math/s_catanl.c: Likewise.
39978 * math/s_cexp.c: Likewise.
39979 * math/s_cexpf.c: Likewise.
39980 * math/s_cexpl.c: Likewise.
39981 * math/s_clog.c: Likewise.
39982 * math/s_clog10.c: Likewise.
39983 * math/s_clog10f.c: Likewise.
39984 * math/s_clog10l.c: Likewise.
39985 * math/s_clogf.c: Likewise.
39986 * math/s_clogl.c: Likewise.
39987 * math/s_csqrt.c: Likewise.
39988 * math/s_csqrtf.c: Likewise.
39989 * math/s_csqrtl.c: Likewise.
39990 * math/s_ctanf.c: Likewise.
39991 * math/s_ctanh.c: Likewise.
39992 * math/s_ctanhf.c: Likewise.
39993 * math/s_ctanhl.c: Likewise.
39994 * math/s_ctanl.c: Likewise.
39995
bc62c2fb
UD
39996 * math/math_private.h: Define __nan, __nanf, __nanl.
39997 * math/s_cacosh.c: Include <math_private.h>.
39998 * math/s_cacoshl.c: Likewise.
39999 * math/s_casinh.c: Likewise.
40000 * math/s_casinhf.c: Likewise.
40001 * math/s_casinhl.c: Likewise.
40002 * math/s_ccos.c: Rely entire on ccosh.
40003 * math/s_ccosf.c: Rely entire on ccoshf.
40004 * math/s_ccosl.c: Rely entirely on ccoshl.
40005 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40006 Remove tests for FE_INVALID.
40007 * math/s_ccoshf.c: Likewise.
40008 * math/s_ccoshl.c: Likewise.
40009 * math/s_csin.c: Likewise.
40010 * math/s_csinf.c: Likewise.
40011 * math/s_csinh.c Likewise.
40012 * math/s_csinhf.c: Likewise.
40013 * math/s_csinhl.c: Likewise.
40014 * math/s_csinl.c: Likewise.
40015 * math/s_ctan.c: Likewise.
40016 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40017 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40018 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40019
8ec250a4
UD
400202011-10-21 Ulrich Drepper <drepper@gmail.com>
40021
c196fed8
UD
40022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40023 compilation problems.
40024
8ec250a4
UD
40025 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40026 __builtin_expect.
40027
8d4f46c6
UD
400282011-10-20 Ulrich Drepper <drepper@gmail.com>
40029
ed72b654
UD
40030 * sysdeps/i386/configure.in: Test for -mfma4 option.
40031 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40032 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40033 COMMON_CPUID_INDEX_80000001.
40034 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40035 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40036 use it if FMA3 is not supported.
40037 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40038
8d4f46c6
UD
40039 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40040 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40041
d45c60c2
AS
400422011-10-20 Andreas Schwab <schwab@redhat.com>
40043
40044 [BZ #12892]
40045 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40046 it would create a cycle with a link time dependency.
40047
d9a4d2ab
UD
400482011-10-19 Ulrich Drepper <drepper@gmail.com>
40049
855d1560
UD
40050 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40051 instruction.
40052 * string/Makefile (strop-tests): Add rawmemchr.
40053 * string/test-rawmemchr.c: New file.
40054
d9a4d2ab
UD
40055 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40056 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40057 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40058 when compiling str{,n}casecmp and when AVX is available. Hook up
40059 new optimized code in initializers.
40060
8f3b1ffe
AS
400612011-10-19 Andreas Schwab <schwab@redhat.com>
40062
40063 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40064 __feraiseexcept instead of feraiseexcept.
40065
d38f1dba
UD
400662011-10-18 Ulrich Drepper <drepper@gmail.com>
40067
d9a8d0ab
UD
40068 * math/math_private.h: Define defaults for libc_fetestexcept and
40069 libc_feupdateenv.
40070 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40071 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40072 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40073 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40074 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40075 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40076 libc_fetestexcept and libc_feupdateenv.
40077
4855e3dd
UD
40078 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40079 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40080 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40081 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40082 libc_feholdexcept_setround.
40083
581d30e3
UD
40084 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40085 Add s_nearbyint-c and s_nearbyintf-c.
40086 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40087 nearbyintf inlines.
40088 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40089 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40090 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40091 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40092
d38f1dba
UD
40093 * math/math_private.h: Define defaults for libc_fegetround,
40094 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40095 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40096 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40097 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40098 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40099 standard functions.
40100 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40101 Remove comments and hacks for old compiler versions.
40102 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40103 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40104 libc_feholdexceptl.
40105
caa6c9d8
AS
401062011-10-18 Andreas Schwab <schwab@redhat.com>
40107
40108 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
40109 (__feraiseexcept_renamed): Add __NTH.
40110 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
40111 namespace violations.
40112
97c066e6
UD
401132011-10-17 Ulrich Drepper <drepper@gmail.com>
40114
99ce7b04
UD
40115 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40116
1004d182
UD
40117 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40118
228a984d
UD
40119 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40120 recently added interfaces.
40121 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40122
c8553a6a
UD
40123 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40124 about macro parameter expansion.
40125
ed22dcf6
UD
40126 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40127 __NO_MATH_INLINES is defined. Cleanups.
40128
40129 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40130 and __floorf is target has SSE4.1.
40131 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40132 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40133 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40134 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40135
b171c137
UD
40136 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40137 name.
40138 (floorf): Likewise.
40139
97c066e6
UD
40140 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40141
629f62ef
AS
401422011-10-17 Andreas Schwab <schwab@redhat.com>
40143
49a43d80
AS
40144 * misc/sys/cdefs.h: Fix last change.
40145
629f62ef
AS
40146 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40147 database lookup.
40148
e453f6cd
UD
401492011-10-16 Ulrich Drepper <drepper@gmail.com>
40150
aa78043a
UD
40151 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40152
ad0f5cad
UD
40153 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40154 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40155 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40156 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40157 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40158 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40159 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40160 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40161 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40162 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40163 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40164 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40165 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40166 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40167 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40168 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40169 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40170 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40171 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40172 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40173 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40174 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40175
40176 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40177 ceil, ceilf, floor, floorf.
40178
40179 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40180 Perform IRELATIVE relocations last.
40181
e453f6cd
UD
40182 * elf/do-rel.h: Add another parameter nrelative, replacing the
40183 local variable with the same name. Change name of the function
40184 to end in Rel or Rela (uppercase).
40185 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40186 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40187 elf_dynamic_do_##reloc function.
40188
fd5bdc09
UD
401892011-10-15 Ulrich Drepper <drepper@gmail.com>
40190
79b195b5
UD
40191 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40192 is sufficient, at least on modern CPUs.
40193
d4a28569
UD
40194 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40195
b61099b5
UD
40196 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40197 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40198
bcf01e6d
UD
40199 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40200 __expl_finite.
40201 * math/bits/math-finite.h: Add entries for exp.
40202 * math/e_expl.c: Add __*_finite alias.
40203 * sysdeps/i386/fpu/e_exp.S: Likewise.
40204 * sysdeps/i386/fpu/e_expf.S: Likewise.
40205 * sysdeps/i386/fpu/e_expl.c: Likewise.
40206 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40207 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40208 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40209 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40210 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40211 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40212 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40213
ba1a0d59
UD
40214 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40215 is sufficient, at least on modern CPUs.
40216
fd5bdc09
UD
40217 * ctype/ctype-info.c (__ctype_init): Define.
40218 * include/ctype.h (__ctype_init): Declare.
40219 (__ctype_b_loc): The variable is always initialized.
40220 (__ctype_toupper_loc): Likewise.
40221 (__ctype_tolower_loc): Likewise.
40222 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40223 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40224
7872cfb0
AS
402252011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40226
b468825a
AS
40227 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40228
7872cfb0
AS
40229 * configure.in: Also look in $cxxmachine/include for C++ system
40230 headers.
40231
be13f7bf
LD
402322011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40233
40234 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40235 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40236 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40237 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40238 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40239 (USE_AS_WMEMCMP): New macro.
40240 Fixing indents.
40241 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40242 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40243 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40244 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40246 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40247 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40248 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40249 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40250 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40251 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40252 (USE_AS_WMEMCMP): New macro.
40253 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40254 * sysdeps/string/test-memcmp.c: Update.
40255 Fix simple_wmemcmp.
40256 Add new tests.
40257 * wcsmbs/wmemcmp.c: Update.
40258 (WMEMCMP): New macro.
40259 Fix overflow bug.
40260
556a2007
AJ
402612011-10-12 Andreas Jaeger <aj@suse.de>
40262
40263 [BZ #13268]
40264 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40265
538faaa7
UD
402662011-10-15 Ulrich Drepper <drepper@gmail.com>
40267
ab6737ff
UD
40268 * libio/iofwide.c (do_length): Avoid warning.
40269
538faaa7
UD
40270 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40271
396a21b1
UD
402722011-10-14 Ulrich Drepper <drepper@gmail.com>
40273
cdf2901f
UD
40274 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40275
38ad40ce
UD
40276 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40277 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40278 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40279 * sysdeps/i386/i686/fpu/e_log.S: New file.
40280 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40281 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40282
396a21b1
UD
40283 * ctype/ctype.h: Add support for inlined isXXX functions when
40284 compiling C++ code.
40285
6b1f68c9
AS
402862011-10-14 Andreas Schwab <schwab@redhat.com>
40287
349290c0
AS
40288 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40289
6b1f68c9
AS
40290 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40291
f2282d42
RM
402922011-10-13 Roland McGrath <roland@hack.frob.com>
40293
40294 [BZ #13291]
40295 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40296
5298ffa8
AS
402972011-10-13 Andreas Schwab <schwab@redhat.com>
40298
714fad23
AS
40299 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40300 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40301 feraiseexcept.
40302
81dcc7fb
AS
40303 * sysdeps/x86_64/memrchr.S: Check for zero size.
40304
5298ffa8
AS
40305 * string/stratcliff.c: Add memrchr tests.
40306
951fbcec
LD
403072011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40308
40309 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40310 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40311 rawmemchr-sse2 rawmemchr-sse2-bsf.
40312 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40313 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40314 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40315 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40316 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40317 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40318 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40319 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40320 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40321 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40322 * string/memrchr.c (MEMRCHR): New macro.
40323
0ac5ae23
UD
403242011-10-12 Ulrich Drepper <drepper@gmail.com>
40325
40326 Add integration with gcc's -ffinite-math-only and optimize wrapper
40327 functions in libm.
40328 * Versions.def: Define GLIBC_2.15 version for libm.
40329 * math/Makefile (headers): Add bits/math-finite.h.
40330 * math/bits/math-finite.h: New file.
40331 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40332 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40333 * math/e_acoshl.c: Add __*_finite alias.
40334 * math/e_acosl.c: Likewise.
40335 * math/e_asinl.c: Likewise.
40336 * math/e_atan2l.c: Likewise.
40337 * math/e_atanhl.c: Likewise.
40338 * math/e_coshl.c: Likewise.
40339 * math/e_exp10.c: Likewise.
40340 * math/e_exp10f.c: Likewise.
40341 * math/e_exp10l.c: Likewise.
40342 * math/e_exp2l.c: Likewise.
40343 * math/e_fmodl.c: Likewise.
40344 * math/e_gammal_r.c: Likewise.
40345 * math/e_hypotl.c: Likewise.
40346 * math/e_j0l.c: Likewise.
40347 * math/e_j1l.c: Likewise.
40348 * math/e_jnl.c: Likewise.
40349 * math/e_lgammal_r.c: Likewise.
40350 * math/e_log10l.c: Likewise.
40351 * math/e_log2l.c: Likewise.
40352 * math/e_logl.c: Likewise.
40353 * math/e_powl.c: Likewise.
40354 * math/e_sinhl.c: Likewise.
40355 * math/e_sqrtl.c: Likewise.
40356 * math/e_scalb.c: Completely rewritten and optimized.
40357 * math/e_scalbf.c: Likewise.
40358 * math/e_scalbl.c: Likewise.
40359 * math/w_acos.c: Likewise.
40360 * math/w_acosf.c: Likewise.
40361 * math/w_acosl.c: Likewise.
40362 * math/w_acosh.c: Likewise.
40363 * math/w_acoshf.c: Likewise.
40364 * math/w_acoshl.c: Likewise.
40365 * math/w_asin.c: Likewise.
40366 * math/w_asinf.c: Likewise.
40367 * math/w_asinl.c: Likewise.
40368 * math/w_atan2.c: Likewise.
40369 * math/w_atan2f.c: Likewise.
40370 * math/w_atan2l.c: Likewise.
40371 * math/w_atanh.c: Likewise.
40372 * math/w_atanhf.c: Likewise.
40373 * math/w_atanhl.c: Likewise.
40374 * math/w_exp10.c: Likewise.
40375 * math/w_exp10f.c: Likewise.
40376 * math/w_exp10l.c: Likewise.
40377 * math/w_fmod.c: Likewise.
40378 * math/w_fmodf.c: Likewise.
40379 * math/w_fmodl.c: Likewise.
40380 * math/w_j0.c: Likewise.
40381 * math/w_j0f.c: Likewise.
40382 * math/w_j0l.c: Likewise.
40383 * math/w_j1.c: Likewise.
40384 * math/w_j1f.c: Likewise.
40385 * math/w_j1l.c: Likewise.
40386 * math/w_jn.c: Likewise.
40387 * math/w_jnf.c: Likewise.
40388 * math/w_log.c: Likewise.
40389 * math/w_logf.c: Likewise.
40390 * math/w_logl.c: Likewise.
40391 * math/w_log10.c: Likewise.
40392 * math/w_log10f.c: Likewise.
40393 * math/w_log10l.c: Likewise.
40394 * math/w_log2.c: Likewise.
40395 * math/w_log2f.c: Likewise.
40396 * math/w_log2l.c: Likewise.
40397 * math/w_pow.c: Likewise.
40398 * math/w_powf.c: Likewise.
40399 * math/w_powl.c: Likewise.
40400 * math/w_remainder.c: Likewise.
40401 * math/w_remainderf.c: Likewise.
40402 * math/w_remainderl.c: Likewise.
40403 * math/w_scalb.c: Likewise.
40404 * math/w_scalbf.c: Likewise.
40405 * math/w_scalbl.c: Likewise.
40406 * math/w_sqrt.c: Likewise.
40407 * math/w_sqrtf.c: Likewise.
40408 * math/w_sqrtl.c: Likewise.
40409 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40410 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40411 used.
40412 * math/math_private.h: Declare __kernel_standard_f.
40413 * math/w_cosh.c: Remove cruft and optimize a bit.
40414 * math/w_coshf.c: Likewise.
40415 * math/w_coshl.c: Likewise.
40416 * math/w_exp2.c: Likewise.
40417 * math/w_exp2f.c: Likewise.
40418 * math/w_exp2l.c: Likewise.
40419 * math/w_hypot.c: Likewise.
40420 * math/w_hypotf.c: Likewise.
40421 * math/w_hypotl.c: Likewise.
40422 * math/w_lgamma.c: Likewise.
40423 * math/w_lgamma_r.c: Likewise.
40424 * math/w_lgammaf.c: Likewise.
40425 * math/w_lgammaf_r.c: Likewise.
40426 * math/w_lgammal.c: Likewise.
40427 * math/w_lgammal_r.c: Likewise.
40428 * math/w_sinh.c: Likewise.
40429 * math/w_sinhf.c: Likewise.
40430 * math/w_sinhl.c: Likewise.
40431 * math/w_tgamma.c: Likewise.
40432 * math/w_tgammaf.c: Likewise.
40433 * math/w_tgammal.c: Likewise.
40434 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40435 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40436 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40437 Minor optimizations. Pretty printing. Remove cruft.
40438 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40439 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40440 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40441 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40442 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40443 * sysdeps/i386/fpu/e_asin.S: Likewise.
40444 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40445 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40446 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40447 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40448 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40449 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40450 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40451 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40452 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40453 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40454 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40455 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40456 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40457 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40458 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40459 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40460 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40461 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40462 * sysdeps/i386/fpu/e_log.S: Likewise.
40463 * sysdeps/i386/fpu/e_log10.S: Likewise.
40464 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40465 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40466 * sysdeps/i386/fpu/e_log2.S: Likewise.
40467 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40468 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40469 * sysdeps/i386/fpu/e_logf.S: Likewise.
40470 * sysdeps/i386/fpu/e_logl.S: Likewise.
40471 * sysdeps/i386/fpu/e_pow.S: Likewise.
40472 * sysdeps/i386/fpu/e_powf.S: Likewise.
40473 * sysdeps/i386/fpu/e_powl.S: Likewise.
40474 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40475 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40476 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40477 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40478 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40479 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40480 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40481 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40482 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40483 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40484 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40486 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40487 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40488 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40489 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40490 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40491 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40492 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40493 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40494 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40496 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40497 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40498 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40499 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40500 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40501 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40502 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40503 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40504 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40505 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40506 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40507 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40508 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40509 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40510 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40511 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
40512 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40513 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40514 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40515 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40516 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40517 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40518 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40519 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40520 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40521 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40522 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40523 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40524 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40525 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40526 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40527 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40528 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40529 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40530 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40531 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40532 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
40533 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40534 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40535 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40536 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40537 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40538 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40539 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40540 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40541 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40542 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40543 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40544 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40545 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40546 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40547 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40548 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40549 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40550 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40551 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
40552 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40553 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40554 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40555 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40556 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40557 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40558 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40559 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40560 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40561 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40562 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40563 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40564 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40565 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
40566 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40567 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40568 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40569 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40570 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40571 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40572 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40573 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40574 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40575 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40576 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40577 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40578 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40579 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40580 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
40581 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
40582 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
40583 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
40584 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
40585 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
40586 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
40587 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40588 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40589 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40590 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40591 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
40592 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40593 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
40594 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
40595 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
40596 (__isnanf): Likewise.
40597 (__isinf_ns): Likewise.
40598 (__isinf_nsf): Likewise.
40599 (__finite): Likewise.
40600 (__finitef): Likewise.
40601 (__ieee754_sqrt): Define as macro.
40602 (__ieee754_sqrtf): Define as macro.
40603 (__ieee754_sqrtl): Define as macro.
40604 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
40605 inlined copy.
40606 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
40607 __FINITE_MATH_ONLY__ consistent.
40608 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
40609
12cc2fcd
AS
406102011-10-10 Andreas Schwab <schwab@linux-m68k.org>
40611
a843a204
AS
40612 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
40613 of rawmemchr.
40614
12cc2fcd
AS
40615 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
40616
c853acd5
UD
406172011-10-09 Ulrich Drepper <drepper@gmail.com>
40618
40619 * po/ja.po: Update from translation team.
40620
c658d255
RM
406212011-10-08 Roland McGrath <roland@hack.frob.com>
40622
110946e4
RM
40623 * locale/programs/locarchive.c (prepare_address_space): New function.
40624 (create_archive, enlarge_archive, open_archive): Use it.
40625
50604220
RM
40626 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
40627 inside [SHARED], where it is used.
40628
c658d255
RM
40629 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
40630
40631 * nss/getent.c (netgroup_keys): Remove unused variable.
40632 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40633
6a621eb7
UD
406342011-10-08 Ulrich Drepper <drepper@gmail.com>
40635
7edb55ce
UD
40636 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
40637 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
40638 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
40639 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
40640 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
40641 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
40642 * math/Makefile (libm-calls): Add s_isinf_ns.
40643 * math/divtc3.c: Use __isinf_nsl instead of isinf.
40644 * math/multc3.c: Likewise.
40645 * math/s_casin.c: Likewise.
40646 * math/s_casinf.c: Likewise.
40647 * math/s_casinl.c: Likewise.
40648 * math/s_ccos.c: Likewise.
40649 * math/s_ccosf.c: Likewise.
40650 * math/s_ccosl.c: Likewise.
40651 * math/s_ctan.c: Likewise.
40652 * math/s_ctanf.c: Likewise.
40653 * math/s_ctanh.c: Likewise.
40654 * math/s_ctanhf.c: Likewise.
40655 * math/s_ctanhl.c: Likewise.
40656 * math/s_ctanl.c: Likewise.
40657 * math/w_fmod.c: Likewise.
40658 * math/w_fmodf.c: Likewise.
40659 * math/w_fmodl.c: Likewise.
40660 * math/w_remainder.c: Likewise.
40661 * math/w_remainderf.c: Likewise.
40662 * math/w_remainderl.c: Likewise.
40663 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
40664 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
40665 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
40666 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
40667 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
40668 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
40669 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
40670 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
40671
187da0ae
UD
40672 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
40673 of the number.
40674 * stdio-common/printf_fphex.c: Likewise.
40675 * stdio-common/printf_size.c: Likewise.
40676
9277c064
UD
40677 * math/e_exp10.c: Include math_private.h using <...> not "...".
40678 * math/e_exp10f.c: Likewise.
40679 * math/e_exp10l.c: Likewise.
40680 * math/e_exp2l.c: Likewise.
40681 * math/e_j0l.c: Likewise.
40682 * math/e_j1l.c: Likewise.
40683 * math/e_jnl.c: Likewise.
40684 * math/e_lgammal_r.c: Likewise.
40685 * math/e_rem_pio2l.c: Likewise.
40686 * math/e_scalb.c: Likewise.
40687 * math/e_scalbf.c: Likewise.
40688 * math/e_scalbl.c: Likewise.
40689 * math/k_cosl.c: Likewise.
40690 * math/k_sinl.c: Likewise.
40691 * math/k_tanl.c: Likewise.
40692 * math/s_cacoshf.c: Likewise.
40693 * math/s_catan.c: Likewise.
40694 * math/s_catanf.c: Likewise.
40695 * math/s_catanh.c: Likewise.
40696 * math/s_catanhf.c: Likewise.
40697 * math/s_catanhl.c: Likewise.
40698 * math/s_catanl.c: Likewise.
40699 * math/s_ccosh.c: Likewise.
40700 * math/s_ccoshf.c: Likewise.
40701 * math/s_ccoshl.c: Likewise.
40702 * math/s_cexp.c: Likewise.
40703 * math/s_cexpf.c: Likewise.
40704 * math/s_cexpl.c: Likewise.
40705 * math/s_clog.c: Likewise.
40706 * math/s_clog10.c: Likewise.
40707 * math/s_clog10f.c: Likewise.
40708 * math/s_clog10l.c: Likewise.
40709 * math/s_clogf.c: Likewise.
40710 * math/s_clogl.c: Likewise.
40711 * math/s_csin.c: Likewise.
40712 * math/s_csinf.c: Likewise.
40713 * math/s_csinh.c: Likewise.
40714 * math/s_csinhf.c: Likewise.
40715 * math/s_csinhl.c: Likewise.
40716 * math/s_csinl.c: Likewise.
40717 * math/s_csqrt.c: Likewise.
40718 * math/s_csqrtf.c: Likewise.
40719 * math/s_csqrtl.c: Likewise.
40720 * math/s_ctan.c: Likewise.
40721 * math/s_ctanf.c: Likewise.
40722 * math/s_ctanh.c: Likewise.
40723 * math/s_ctanhf.c: Likewise.
40724 * math/s_ctanhl.c: Likewise.
40725 * math/s_ctanl.c: Likewise.
40726 * math/s_ldexp.c: Likewise.
40727 * math/s_ldexpf.c: Likewise.
40728 * math/s_ldexpl.c: Likewise.
40729 * math/s_significand.c: Likewise.
40730 * math/s_significandf.c: Likewise.
40731 * math/s_significandl.c: Likewise.
40732 * math/w_acos.c: Likewise.
40733 * math/w_acosf.c: Likewise.
40734 * math/w_acosh.c: Likewise.
40735 * math/w_acoshf.c: Likewise.
40736 * math/w_acoshl.c: Likewise.
40737 * math/w_acosl.c: Likewise.
40738 * math/w_asin.c: Likewise.
40739 * math/w_asinf.c: Likewise.
40740 * math/w_asinl.c: Likewise.
40741 * math/w_atan2.c: Likewise.
40742 * math/w_atan2f.c: Likewise.
40743 * math/w_atan2l.c: Likewise.
40744 * math/w_atanh.c: Likewise.
40745 * math/w_atanhf.c: Likewise.
40746 * math/w_atanhl.c: Likewise.
40747 * math/w_cosh.c: Likewise.
40748 * math/w_coshf.c: Likewise.
40749 * math/w_coshl.c: Likewise.
40750 * math/w_dremf.c: Likewise.
40751 * math/w_exp10.c: Likewise.
40752 * math/w_exp10f.c: Likewise.
40753 * math/w_exp10l.c: Likewise.
40754 * math/w_exp2.c: Likewise.
40755 * math/w_exp2f.c: Likewise.
40756 * math/w_fmod.c: Likewise.
40757 * math/w_fmodf.c: Likewise.
40758 * math/w_fmodl.c: Likewise.
40759 * math/w_hypot.c: Likewise.
40760 * math/w_hypotf.c: Likewise.
40761 * math/w_hypotl.c: Likewise.
40762 * math/w_j0.c: Likewise.
40763 * math/w_j0f.c: Likewise.
40764 * math/w_j0l.c: Likewise.
40765 * math/w_j1.c: Likewise.
40766 * math/w_j1f.c: Likewise.
40767 * math/w_j1l.c: Likewise.
40768 * math/w_jn.c: Likewise.
40769 * math/w_jnf.c: Likewise.
40770 * math/w_jnl.c: Likewise.
40771 * math/w_lgamma.c: Likewise.
40772 * math/w_lgamma_r.c: Likewise.
40773 * math/w_lgammaf.c: Likewise.
40774 * math/w_lgammaf_r.c: Likewise.
40775 * math/w_lgammal.c: Likewise.
40776 * math/w_lgammal_r.c: Likewise.
40777 * math/w_log.c: Likewise.
40778 * math/w_log10.c: Likewise.
40779 * math/w_log10f.c: Likewise.
40780 * math/w_log10l.c: Likewise.
40781 * math/w_log2.c: Likewise.
40782 * math/w_log2f.c: Likewise.
40783 * math/w_log2l.c: Likewise.
40784 * math/w_logf.c: Likewise.
40785 * math/w_logl.c: Likewise.
40786 * math/w_pow.c: Likewise.
40787 * math/w_powf.c: Likewise.
40788 * math/w_powl.c: Likewise.
40789 * math/w_remainder.c: Likewise.
40790 * math/w_remainderf.c: Likewise.
40791 * math/w_remainderl.c: Likewise.
40792 * math/w_scalb.c: Likewise.
40793 * math/w_scalbf.c: Likewise.
40794 * math/w_scalbl.c: Likewise.
40795 * math/w_sinh.c: Likewise.
40796 * math/w_sinhf.c: Likewise.
40797 * math/w_sinhl.c: Likewise.
40798 * math/w_sqrt.c: Likewise.
40799 * math/w_sqrtf.c: Likewise.
40800 * math/w_sqrtl.c: Likewise.
40801 * math/w_tgamma.c: Likewise.
40802 * math/w_tgammaf.c: Likewise.
40803 * math/w_tgammal.c: Likewise.
40804
6a621eb7
UD
40805 * po/ja.po: Update from translation team.
40806
bf582445
AJ
408072011-09-29 Andreas Jaeger <aj@suse.de>
40808
f9efbf3a
AJ
40809 [BZ #13179]
40810 * sunrpc/netname.c (netname2host): Fix logic.
40811
bf582445
AJ
40812 [BZ #6779]
40813 [BZ #6783]
40814 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40815 correctly.
40816 * math/w_remainder.c (__remainder): Likewise.
40817 * math/w_remainderf.c (__remainderf): Likewise.
40818 * math/libm-test.inc (remainder_test): Add test cases.
40819
48693bea
AK
408202011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40821
40822 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
40823 sdiv_qrnnd.
40824
42622229
LD
408252011-10-07 Ulrich Drepper <drepper@gmail.com>
40826
40827 * string/test-memcmp.c: Avoid unncessary #defines.
40828 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40829
093ecf92
LD
408302011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40831
40832 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40833 Use new sse2 version for core i3 - i7 as it's faster
40834 than sse42 version.
40835 (bit_Prefer_PMINUB_for_stringop): New.
40836 * sysdeps/x86_64/rawmemchr.S: Update.
40837 Replace with faster SSE2 version.
40838 * sysdeps/x86_64/memrchr.S: New file.
40839 * sysdeps/x86_64/memchr.S: Update.
40840 Replace with faster SSE2 version.
40841
fde56e5c
MP
408422011-09-12 Marek Polacek <mpolacek@redhat.com>
40843
40844 * elf/dl-load.c (lose): Add cast to avoid warning.
40845
21fd49a9
UD
408462011-10-07 Ulrich Drepper <drepper@gmail.com>
40847
5a06e643
UD
40848 * po/ca.po: Update from translation team.
40849
684ae515
UD
40850 * inet/getnetgrent_r.c: Hook up nscd.
40851 * nscd/Makefile (routines): Add nscd_netgroup.
40852 (nscd-modules): Add netgroupcache.
40853 (CFLAGS-netgroupcache.c): Define.
40854 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40855 (cache_search): Add const to second parameter.
40856 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40857 INNETGR.
40858 (dbs): Add netgrdb entry.
40859 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40860 (verify_persistent_db): Handle netgrdb.
40861 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40862 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40863 GETFDNETGR.
40864 (netgroup_response_header): Define.
40865 (innetgroup_response_header): Define.
40866 (datahead): Add netgroup_response_header and innetgroup_response_header
40867 elements.
40868 * nscd/nscd.conf: Add entries for netgroup cache.
40869 * nscd/nscd.h (dbtype): Add netgrdb.
40870 (_PATH_NSCD_NETGROUP_DB): Define.
40871 (netgroup_iov_disabled): Declare.
40872 (xmalloc, xcalloc, xrealloc): Move declarations here.
40873 (cache_search): Adjust prototype.
40874 Add netgroup-related prototypes.
40875 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40876 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40877 (__nscd_innetgr): Declare.
40878 * nscd/selinux.c (perms): Use access_vector_t as element type and
40879 add netgroup-related initializers.
40880 * nscd/netgroupcache.c: New file.
40881 * nscd/nscd_netgroup.c: New file.
40882 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40883 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40884 For four parameters use innetgr.
40885 * nss/nss_files/files-init.c: Add definition and callback for netgr.
40886 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40887 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40888 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40889
21fd49a9
UD
40890 * nscd/connections.c (register_traced_file): Don't register file
40891 for disabled databases.
40892
054c0457
UD
408932011-10-06 Ulrich Drepper <drepper@gmail.com>
40894
32b63198
UD
40895 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40896
054c0457
UD
40897 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40898 from tree and freeing node.
40899
64031225
JO
409002011-09-25 Jiri Olsa <jolsa@redhat.com>
40901
40902 * nss/nsswitch.c (__nss_database_lookup): Handle
40903 nss_parse_service_list out of memory case.
40904
0490345c
JO
409052011-09-15 Jiri Olsa <jolsa@redhat.com>
40906
40907 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40908 out of memory case.
40909
3a62d00d
AS
409102011-10-04 Andreas Schwab <schwab@redhat.com>
40911
40912 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40913 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40914 pass it down.
40915 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40916 elf_machine_rela, elf_machine_lazy_rel.
40917 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40918 (ELF_DYNAMIC_DO_REL): Likewise.
40919 (ELF_DYNAMIC_DO_RELA): Likewise.
40920 (ELF_DYNAMIC_RELOCATE): Likewise.
40921 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40922 to ELF_DYNAMIC_DO_REL.
40923 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40924 (dl_main): In trace mode always set __RTLD_NOIFUNC.
40925 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40926 elf_machine_rela.
40927 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40928 skip_ifunc, don't call ifunc function if non-zero.
40929 (elf_machine_rela): Likewise.
40930 (elf_machine_lazy_rel): Likewise.
40931 (elf_machine_lazy_rela): Likewise.
40932 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40933 (elf_machine_lazy_rel): Likewise.
40934 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40935 Likewise.
40936 (elf_machine_lazy_rel): Likewise.
40937 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40938 Likewise.
40939 (elf_machine_lazy_rel): Likewise.
40940 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40941 (elf_machine_lazy_rel): Likewise.
40942 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40943 (elf_machine_lazy_rel): Likewise.
40944 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40945 (elf_machine_lazy_rel): Likewise.
40946 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40947 (elf_machine_lazy_rel): Likewise.
40948 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40949 (elf_machine_lazy_rel): Likewise.
40950 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40951 (elf_machine_lazy_rel): Likewise.
40952
68577918
UD
409532011-09-28 Ulrich Drepper <drepper@gmail.com>
40954
40955 * nss/nss_files/files-init.c (_nss_files_init): Use static
40956 initialization for all the *_traced_file variables.
40957
68822d74
AS
409582011-09-28 Andreas Schwab <schwab@redhat.com>
40959
40960 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40961
2056100b
RM
409622011-09-27 Roland McGrath <roland@hack.frob.com>
40963
40964 [BZ #13226]
40965 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40966
32c76b63
AS
409672011-09-27 Andreas Schwab <schwab@redhat.com>
40968
40969 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40970 Reread the line before reparsing it.
40971
bf972c9d
AS
409722011-09-26 Andreas Schwab <schwab@redhat.com>
40973
40974 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40975
e057a1b5
JM
409762011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
40977 Maxim Kuvyrkov <maxim@codesourcery.com>
40978 Joseph Myers <joseph@codesourcery.com>
40979
40980 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40981 if needed for __stack_chk_guard.
40982
bc7e1c36
RM
409832011-09-19 Roland McGrath <roland@hack.frob.com>
40984
ecb1482f
RM
40985 * sysdeps/posix/spawni.c (script_execute): Always define it.
40986 It will be optimized away if unused.
40987 (maybe_script_execute): New function.
40988 (__spawni): Call it.
40989
bc7e1c36
RM
40990 * Makerules: Don't include tls.make.
40991 (config-tls): Always set to thread.
40992 * tls.make.c: File removed.
40993
1c3b002b
MF
409942011-09-19 Mike Frysinger <vapier@gentoo.org>
40995
40996 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40997 * config.make.in (CPPFLAGS-config): New substituted variable.
40998
2840865d
UD
409992011-09-15 Ulrich Drepper <drepper@gmail.com>
41000
88738eb6
UD
41001 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41002
cbf645a6 41003 [BZ #13192]
2840865d
UD
41004 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41005 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41006
b402e91a
RM
410072011-09-15 Roland McGrath <roland@hack.frob.com>
41008
41009 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41010 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41011 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41012 (CALL_FAIL): Likewise.
41013 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41014 (CALL_FAIL): Macro removed.
41015 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41016
4c1a1f71
UD
410172011-09-15 Ulrich Drepper <drepper@gmail.com>
41018
41019 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41020 for __FINITE_MATH_ONLY__ == 1.
41021
edc121be
AS
410222011-09-15 Andreas Schwab <schwab@redhat.com>
41023
41024 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41025 __ieee754_sqrt instead of sqrt.
41026 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41027 __ieee754_sqrtf instead of sqrtf.
41028 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41029 __floorf instead of floorf.
41030 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41031 __floorf, __truncf instead of floorf, truncf.
41032
cd205654
UD
410332011-09-14 Ulrich Drepper <drepper@gmail.com>
41034
ee4d0315
UD
41035 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41036
cd205654
UD
41037 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41038 __extern_always_inline.
41039 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41040 32-bit.
41041
48b67d71
AS
410422011-09-14 Andreas Schwab <schwab@redhat.com>
41043
41044 * elf/rtld.c (dl_main): Also relocate in dependency order when
41045 doing symbol dependency testing.
41046
1ae12c75
AS
410472011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41048
41049 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41050 Always define `refsym'.
41051
995a80df
AS
410522011-09-13 Andreas Schwab <schwab@redhat.com>
41053
e529793b
AS
41054 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41055 (__FD_ELT): Renamed from __FDELT.
41056 * misc/bits/select2.h (__FD_ELT): Likewise.
41057 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41058 __FD_MASK instead of __FDELT, __FDMASK.
41059 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41060 Likewise.
41061 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41062 Likewise.
41063
52d4fef8
AS
41064 * elf/Makefile (gen-ldd): Fix pattern.
41065
995a80df
AS
41066 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41067 (init_tls): Likewise.
41068
8682f8b0
UD
410692011-09-12 Ulrich Drepper <drepper@gmail.com>
41070
41071 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41072
de82006d
AS
410732011-09-12 Andreas Schwab <schwab@redhat.com>
41074
a7c8e6a1
AS
41075 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41076 `struct cmsghdr *' instead of `void *'.
41077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41078 Likewise.
41079
0f31fe77
AS
410802011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41081
41082 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41083 if non-absolute.
41084 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41085 ldd_rewrite_script.
0f31fe77 41086
32b4c839
UD
410872011-09-11 Ulrich Drepper <drepper@gmail.com>
41088
83cd1420
UD
41089 * configure.in: Remove --with-tls option.
41090 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41091 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41092 out in case it is missing.
41093 * sysdeps/ia64/elf/configure.in: Likewise.
41094 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41095 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41096 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41097 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41098 * sysdeps/sh/elf/configure.in: Likewise.
41099 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41100 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41101 * sysdeps/x86_64/elf/configure.in: Likewise.
41102 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41103 * sysdeps/mach/hurd/tls.h: Likewise.
41104
633f745d
UD
41105 [BZ #13067]
41106 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41107
f318beb8
UD
41108 [BZ #13090]
41109 * configure.in: Fix use of AC_INIT.
41110
32b4c839
UD
41111 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41112
3ce1f295
UD
411132011-09-10 Ulrich Drepper <drepper@gmail.com>
41114
bb016596
UD
41115 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41116 __set_errno.
8e58439c
UD
41117 * malloc/hooks.c: Likewise.
41118
aebae053 41119 [BZ #11929]
02d46fc4
UD
41120 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41121 variables statically.
41122 (narenas): Initialize.
41123 (list_lock): Initialize.
bb016596
UD
41124 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41125 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
41126 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41127 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41128 Add initializers to main_arena and mp_.
41129 (malloc_state): Remove pagesize member. Change all users to use
41130 GLRO(dl_pagesize).
41131
41132 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41133 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41134 is always initialized.
41135
22a89187
UD
41136 * malloc/malloc.c: Removed unused configurations and dead code.
41137 * malloc/arena.c: Likewise.
41138 * malloc/hooks.c: Likewise.
02d46fc4 41139 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 41140
d063d164
UD
41141 * include/tls.h: Removed. USE___THREAD must always be defined.
41142 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41143 * elf/dl-libc.c: Likewise.
41144 * elf/dl-tsd.c: Likewise.
41145 * include/errno.h: Likewise.
41146 * include/netdb.h: Likewise.
41147 * include/resolv.h: Likewise.
41148 * inet/herrno-loc.c: Likewise.
41149 * inet/herrno.c: Likewise.
41150 * malloc/arena.c: Likewise.
41151 * malloc/hooks.c: Likewise.
41152 * malloc/malloc.c: Likewise.
41153 * resolv/res-state.c: Likewise.
41154 * resolv/res_libc.c: Likewise.
41155 * sysdeps/i386/dl-machine.h: Likewise.
41156 * sysdeps/ia64/dl-machine.h: Likewise.
41157 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41158 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41159 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41160 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41161 * sysdeps/sh/dl-machine.h: Likewise.
41162 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41163 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41164 * sysdeps/unix/i386/sysdep.S: Likewise.
41165 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41166 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41167 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41168 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41169 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41170 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41171 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41172 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41173 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41174 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41175 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41176 * sysdeps/x86_64/dl-machine.h: Likewise.
41177 * tls.make.c: Likewise.
41178
3ce1f295
UD
41179 * configure.in: Remove --with-__thread option. Make tests for
41180 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41181 tls_model attribute fail if no support is available. Remove
41182 USE_IN_LIBIO.
41183 * Makeconfig: Adjust for dropped configure option. All features are
41184 now mandatory.
41185 * Makerules: Likewise.
41186 * Versions.def: Likewise.
41187 * argp/argp-fmtstream.c: Likewise.
41188 * argp/argp-fmtstream.h: Likewise.
41189 * argp/argp-help.c: Likewise.
41190 * assert/assert.c: Likewise.
41191 * config.h.in: Likewise.
41192 * config.make.in: Likewise.
41193 * configure: Likewise.
41194 * configure.in: Likewise.
41195 * csu/Versions: Likewise.
41196 * csu/init.c: Likewise.
41197 * elf/tst-audit2.c: Likewise.
41198 * elf/tst-tls10.c: Likewise.
41199 * elf/tst-tls10.h: Likewise.
41200 * elf/tst-tls11.c: Likewise.
41201 * elf/tst-tls12.c: Likewise.
41202 * elf/tst-tls14.c: Likewise.
41203 * elf/tst-tlsmod11.c: Likewise.
41204 * elf/tst-tlsmod12.c: Likewise.
41205 * elf/tst-tlsmod13.c: Likewise.
41206 * elf/tst-tlsmod13a.c: Likewise.
41207 * elf/tst-tlsmod14a.c: Likewise.
41208 * elf/tst-tlsmod15b.c: Likewise.
41209 * elf/tst-tlsmod16a.c: Likewise.
41210 * elf/tst-tlsmod16b.c: Likewise.
41211 * elf/tst-tlsmod7.c: Likewise.
41212 * elf/tst-tlsmod8.c: Likewise.
41213 * elf/tst-tlsmod9.c: Likewise.
41214 * gmon/gmon.c: Likewise.
41215 * grp/fgetgrent_r.c: Likewise.
41216 * grp/putgrent.c: Likewise.
41217 * hurd/fopenport.c: Likewise.
41218 * include/libc-symbols.h: Likewise.
41219 * include/tls.h: Likewise.
41220 * intl/gettextP.h: Likewise.
41221 * intl/loadinfo.h: Likewise.
41222 * locale/global-locale.c: Likewise.
41223 * locale/localeinfo.h: Likewise.
41224 * mach/devstream.c: Likewise.
41225 * malloc/arena.c: Likewise.
41226 * malloc/set-freeres.c: Likewise.
41227 * misc/err.c: Likewise.
41228 * misc/getttyent.c: Likewise.
41229 * misc/mntent_r.c: Likewise.
41230 * posix/getopt.c: Likewise.
41231 * posix/wordexp.c: Likewise.
41232 * pwd/fgetpwent_r.c: Likewise.
41233 * resolv/Versions: Likewise.
41234 * resolv/res_hconf.c: Likewise.
41235 * shadow/fgetspent_r.c: Likewise.
41236 * shadow/putspent.c: Likewise.
41237 * stdio-common/printf_fphex.c: Likewise.
41238 * stdio-common/tmpfile.c: Likewise.
41239 * stdlib/abort.c: Likewise.
41240 * stdlib/fmtmsg.c: Likewise.
41241 * sunrpc/auth_unix.c: Likewise.
41242 * sunrpc/clnt_perr.c: Likewise.
41243 * sunrpc/clnt_tcp.c: Likewise.
41244 * sunrpc/clnt_udp.c: Likewise.
41245 * sunrpc/clnt_unix.c: Likewise.
41246 * sunrpc/openchild.c: Likewise.
41247 * sunrpc/svc_simple.c: Likewise.
41248 * sunrpc/svc_tcp.c: Likewise.
41249 * sunrpc/svc_udp.c: Likewise.
41250 * sunrpc/svc_unix.c: Likewise.
41251 * sunrpc/xdr.c: Likewise.
41252 * sunrpc/xdr_array.c: Likewise.
41253 * sunrpc/xdr_rec.c: Likewise.
41254 * sunrpc/xdr_ref.c: Likewise.
41255 * sunrpc/xdr_stdio.c: Likewise.
41256
1248c1c4
PB
412572011-09-09 Ulrich Drepper <drepper@gmail.com>
41258
41259 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41260
412612011-07-03 Andreas Jaeger <aj@suse.de>
41262
41263 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41264 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41265 regenerate with gen-libm-tests.pl.
41266
412672010-05-12 Petr Baudis <pasky@suse.cz>
41268
41269 [BZ #11589]
41270 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41271 around j0() zero points by switching to j1().
41272 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41273 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41274 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41275 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41276
f22e1074
UD
412772011-09-09 Ulrich Drepper <drepper@gmail.com>
41278
f19009c1
UD
41279 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41280 instead of 0.
41281 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 41282 instead of 0.
f19009c1
UD
41283 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41284 Patch in part by Pavel Roskin <proski@gnu.org>.
41285
3f8cc204
UD
41286 [BZ #13138]
41287 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41288 realloc.
41289 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41290 Free memory block if necessary.
41291
f22e1074
UD
41292 [BZ #12847]
41293 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41294 be NULL. Don't lock in this case.
41295
0a2349f9
RM
412962011-09-09 Roland McGrath <roland@hack.frob.com>
41297
41298 * elf/elf.h (ELFOSABI_GNU): New macro.
41299 (ELFOSABI_LINUX): Define to that.
41300
f3cdd467
DZ
413012011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41302
41303 * string/strncat.c (strncat): Undef the symbol in case it has been
41304 defined in bits/string.h.
41305
74718d13
UD
413062011-09-09 Ulrich Drepper <drepper@gmail.com>
41307
633e9e0f
UD
41308 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41309
0a2349f9 41310 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
41311 link map.
41312
f9924780
AJ
413132011-08-17 Andreas Jaeger <aj@suse.de>
41314
41315 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41316
7f5517aa
PP
413172011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41318 Ian Lance Taylor <iant@google.com>
41319
41320 * math/libm-test.inc (lround_test): New testcase.
41321 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41322
762011fe
UD
413232011-09-08 Ulrich Drepper <drepper@gmail.com>
41324
92963737
UD
41325 * Makefile: Remove support for automatic cvs check-ins.
41326 * Makerules: Likewise.
41327 * config.make.in: Likewise.
41328 * configure.in: Likewise.
41329 * intl/Makefile: Likewise.
41330 * locale/Makefile: Likewise.
41331 * po/Makefile: Likewise.
41332 * posix/Makefile: Likewise.
41333 * sysdeps/gnu/Makefile: Likewise.
41334 * sysdeps/mach/hurd/Makefile: Likewise.
41335 * sysdeps/sparc/sparc32/Makefile: Likewise.
41336
b0727fd8
JS
41337 [BZ #13118]
41338 * posix/Makefile (bug-regex32-ENV): Define.
41339 Patch by John Stanley <jpsinthemix@verizon.net>.
41340
a0f33f99
UD
41341 * misc/Makefile (headers): Add bits/select2.h.
41342 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41343 * misc/bits/select2.h: New file.
41344 * include/bits/select2.h: New file.
41345 * debug/Makefile (routines): Add fdelt_chk.
41346 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41347 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41348 FD_ISSET.
41349 * debug/fdelt_chk.c: New file.
41350
762011fe
UD
41351 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41352 * wcsmbs/test-wmemcmp.c: Likewise.
41353 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 41354 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
41355
413562011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41357
41358 * string/Makefile (strop-tests): Add memcmp.
41359 * string/test-wmemcmp.c: New file.
41360 * string/test-memcmp.c: Add wmemcmp support.
41361
7f513ec8
RM
413622011-09-08 Roland McGrath <roland@hack.frob.com>
41363
0442afb4
RM
41364 [BZ #13153]
41365 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41366 2011-07-19 change.
41367
7f513ec8
RM
41368 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41369 garbage value in a __mach_port_mod_refs call in the cases of the
41370 task-self and thread-self ports.
41371
a12b2239
ST
413722011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41373
41374 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41375
610f9ab4
AS
413762011-09-08 Andreas Schwab <schwab@redhat.com>
41377
7f513ec8 41378 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 41379
48882a1a
LD
413802011-09-07 Ulrich Drepper <drepper@gmail.com>
41381
b49865be
UD
41382 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41383
fdc86bc9
UD
41384 * elf/dl-libc.c (dlerror_run): Pass back error code from
41385 dl_catch_error.
41386
c966526a
UD
41387 [BZ #13123]
41388 * elf/dl-load.c (lose): Free l_origin if it is valid.
41389
48882a1a
LD
41390 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41391 names.
41392 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41393 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41394 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41395 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41396 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41397 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41398
77a2a8b4
AZ
413992011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41400
41401 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41402 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41403 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41404 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41405 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41406 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41407 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41408 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41409 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41410 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41411
24f579d8
AM
414122011-08-15 Alan Modra <amodra@gmail.com>
41413
41414 [BZ #13092]
41415 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41416 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41417 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41418 ppc_mcount to static-only-routines.
41419 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41420 __mcount_internal.
41421 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41422 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41423
3d4837df
UD
414242011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41425
41426 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41427 for finite and infinity parameters.
41428
22700377
WS
414292011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41430
41431 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41432 and add nop instructions for throughput optimization.
41433 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41434
5025581e
WS
414352011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41436
41437 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41438 aligned copy for power7 with vector-scalar instructions.
41439 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41440
08a300c9
L
414412011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41442
41443 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41444 AVX check.
41445
59178ef9
AS
414462011-09-07 Andreas Schwab <schwab@redhat.com>
41447
41448 [BZ #13144]
41449 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41450 last change.
41451
e38ba7ab
UD
414522011-09-07 Ulrich Drepper <drepper@gmail.com>
41453
41454 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41455 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41456 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41457 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41458 clock_gettime.
41459
d53a73ac
UD
414602011-09-06 Ulrich Drepper <drepper@gmail.com>
41461
fc8bffcc
UD
41462 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41463 Forgot to demangle the pointer.
41464
ceaa0c5d
UD
41465 * sysdeps/i386/sysdep.h: Define atom_text_section.
41466 * sysdeps/x86_64/sysdep.h: Likewise.
41467 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41468 section with atom_text_section.
41469 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41470 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41471 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41472 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41473 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41474
a77d3c17
UD
41475 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41476 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41477 already be defined. Change to take two parameters and don't assign
41478 result to variable. Adjust all users.
41479 Define INTERNAL_GETTIME if not already defined.
41480 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41481 call.
41482 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41483 HAVE_CLOCK_GETTIME_VSYSCALL.
41484 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41485
d53a73ac
UD
41486 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41487 gettimeofday vsyscall, just use time.
41488
a8f84144
AS
414892011-09-06 Andreas Schwab <schwab@redhat.com>
41490
41491 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41492 <errno.h>.
41493
ef606249
UD
414942011-09-06 Ulrich Drepper <drepper@gmail.com>
41495
41496 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
41497 syscall on x86-64.
41498 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
41499 syscall.
41500 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
41501 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
41502 syscall if possible.
41503
6585cb60
UD
415042011-09-05 Ulrich Drepper <drepper@gmail.com>
41505
41506 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
41507 e_ident. Don't pass to find_mapsXX.
41508 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
41509
a5f524e4
LD
415102011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41511
41512 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41513 strchr-sse2-no-bsf strrchr-sse2-no-bsf
41514 * sysdeps/x86_64/multiarch/strchr.S: Update.
41515 Check bit_slow_BSF bit.
41516 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41517 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
41518 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
41519
554881ef
UD
415202011-09-05 Ulrich Drepper <drepper@gmail.com>
41521
d96de963
UD
41522 [BZ #13134]
41523 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
41524 before glibc 2.15.
41525 (tryshell): Define.
41526 (__spawni): Change last parameter to be flag. Test
41527 SPAWN_XFLAGS_USE_PATH flag to use path or not.
41528 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
41529 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
41530 * posix/spawni.c: Likewise.
41531 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
41532 * posix/spawnp.c: Likewise. Change normal version to use
41533 SPAWN_XFLAGS_USE_PATH.
41534 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
41535 SPAWN_XFLAGS_TRY_SHELL.
41536
d48e5868
UD
41537 [BZ #13150]
41538 * posix/glob.h: Remove gcc 1.x support.
41539
554881ef
UD
41540 [BZ #13068]
41541 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
41542
693fb948
LD
415432011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41544
41545 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41546 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
41547 strrchr-sse2-bsf
41548 * sysdeps/i386/i686/multiarch/strchr.S: New file.
41549 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
41550 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
41551 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
41552 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
41553 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
41554
1b48c537
UD
415552011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41556
49d42c37
UD
41557 * sysdeps/x86_64/wcscmp.S: New file.
41558
1b48c537
UD
41559 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
41560 wcscmp-c wcscmp-sse2
41561 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
41562 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
41563 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
41564 * wcsmbs/wcscmp.c: Allow renaming.
41565
15c95c5d
DM
415662011-09-05 David S. Miller <davem@davemloft.net>
41567
41568 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
41569 stack slot, rather than the struct return pointer slot.
41570 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
41571 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
41572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
41573 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
41574
2f0ad8f3
UD
415752011-09-05 Ulrich Drepper <drepper@gmail.com>
41576
d88ae418
UD
41577 * po/ja.po: Update from translation team.
41578
2f0ad8f3
UD
41579 [BZ #13144]
41580 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
41581 kernel in 64-bit binaries.
41582
5f4318d1
DM
415832011-09-01 David S. Miller <davem@davemloft.net>
41584
41585 * elf/elf.h (HWCAP_SPARC_*): Move to..
41586 * sysdeps/sparc/sysdep.h: this new file and add new values.
41587 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
41588 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
41589 _DL_HWCAP_COUNT to 24.
41590 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41591 entries.
41592 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
41593 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
41594 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
41595 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
41596 instead of magic constants.
41597 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41598
3ba57516
DM
415992011-08-31 David S. Miller <davem@davemloft.net>
41600
41601 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
41602 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
41603 Reimplement to do errno handling inline.
41604 (SYSCALL_ERROR_HANDLER): New macro.
41605 (__SYSCALL_STRING): Do not do errno handling in asm.
41606 (__CLONE_SYSCALL_STRING): Delete.
41607 (__INTERNAL_SYSCALL_STRING): Delete.
41608 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
41609 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
41610 (PSEUDO): Reimplement to do errno handling inline.
41611 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
41612 (SYSCALL_ERROR_HANDLER): New macro.
41613 (__SYSCALL_STRING): Do not do errno handling in asm.
41614 (__CLONE_SYSCALL_STRING): Delete.
41615 (__INTERNAL_SYSCALL_STRING): Delete.
41616 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
41617 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
41618 i386.
41619 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
41620 (inline_syscall*): Add 'err' argument.
41621 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
41622 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
41623 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
41624 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
41625
41626 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
41627 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41628
2bc17433
AS
416292011-08-30 Andreas Schwab <schwab@redhat.com>
41630
41631 * elf/rtld.c (dl_main): Relocate objects in dependency order.
41632
fbeb5f4d
JO
416332011-08-29 Jiri Olsa <jolsa@redhat.com>
41634
41635 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
41636 directive.
41637
ad69cc26
DM
416382011-08-24 David S. Miller <davem@davemloft.net>
41639
41640 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
41641
39dd69df
AS
416422011-08-24 Andreas Schwab <schwab@redhat.com>
41643
41644 * elf/Makefile: Add rules to build and run unload8 test.
41645 * elf/unload8.c: New file.
41646 * elf/unload8mod1.c: New file.
41647 * elf/unload8mod1x.c: New file.
41648 * elf/unload8mod2.c: New file.
41649 * elf/unload8mod3.c: New file.
41650
41651 * elf/dl-close.c (_dl_close_worker): Reset private search list if
41652 it wasn't used.
41653
2c0b250a
DM
416542011-08-23 David S. Miller <davem@davemloft.net>
41655
41656 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
41657 subtract stack bias.
41658 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
41659 %sp not %fp in calculations.
41660 (_JMPBUF_UNWINDS_ADJ): Likewise.
41661
22044b48
DM
41662 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
41663 (aio_suspend): Call it to force an exception region around the
41664 AIO_MISC_WAIT() invocation.
41665
2cae4995
AS
416662011-08-23 Andreas Schwab <schwab@redhat.com>
41667
41668 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
41669 backslash.
41670
873a772e
AJ
416712011-07-04 Aurelien Jarno <aurelien@aurel32.net>
41672
41673 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
41674 protection macro.
41675 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
41676 and <dl-machine.h>.
41677 (Elf64_FuncDesc): Remove.
41678
25ad0df1
DM
416792011-08-22 David S. Miller <davem@davemloft.net>
41680
41681 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
41682 sigaltstack check, add missing cfi directives.
41683 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
41684 missing cfi directives, and sigaltstack handling.
41685
e888bcbe
AS
416862011-08-16 Andreas Schwab <schwab@redhat.com>
41687
41688 [BZ #11724]
41689 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
41690 object is seen twice.
41691 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41692
41693 * elf/Makefile (distribute): Add tst-initorder2.c.
41694 (tests): Add tst-initorder2.
41695 (modules-names): Add tst-initorder2a tst-initorder2b
41696 tst-initorder2c tst-initorder2d. Add rules to build them.
41697 ($(objpfx)tst-initorder2.out): New rule.
41698 * elf/tst-initorder2.c: New file.
41699 * elf/tst-initorder2.exp: New file.
41700
87162f46
AS
417012011-08-22 Andreas Schwab <schwab@redhat.com>
41702
70538b7f
AS
41703 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
41704
f55ffe58
AS
41705 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
41706 dependencies back to end of function.
41707
87162f46
AS
41708 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41709 $(elfobjdir)/ld.so.
41710
91b392a4
UD
417112011-08-21 Ulrich Drepper <drepper@gmail.com>
41712
41713 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41714 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41715 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41716 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41717 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41718 of __vdso_gettimeofday.
41719 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41720 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
41721 attribute_hidden.
41722 (_libc_vdso_platform_setup): Remove initialization of
41723 __vdso_gettimeofday and __vdso_time.
41724
5c43483f
UD
417252011-08-20 Ulrich Drepper <drepper@gmail.com>
41726
775a77e7
UD
41727 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41728 and fgetc_unlocked.
41729 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41730 getc_unlocked.
89f447ed 41731
49c74ba9
UD
41732 * elf/dl-open.c (add_to_global): Report additions to the global scope
41733 for LD_DEBUG=scopes.
41734 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 41735 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 41736
5c43483f
UD
41737 [BZ #13114]
41738 * stdio-common/Makefile (tests): Add bug24.
41739 * stdio-common/bug24.c: New file.
41740
a101b025
AJ
417412011-08-19 Andreas Jaeger <aj@suse.de>
41742
41743 [BZ #13114]
41744 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41745 non-existant file when using close-on-exec mode.
41746
c88f1766
UD
417472011-08-20 Ulrich Drepper <drepper@gmail.com>
41748
0276a718
UD
41749 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41750 the very first instruction.
41751
c88f1766
UD
41752 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41753 the CFI state in the end.
41754 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41755 inclusion of dl-trampoline.h.
41756 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41757
51ccffa0
AS
417582011-08-19 Andreas Schwab <schwab@redhat.com>
41759
94d7165f
AS
41760 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41761 expectations for long double.
41762
51ccffa0
AS
41763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41764 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41765
fd708658 417662011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
41767
41768 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41769 artificual limit depends upon the system page size.
41770
44f0a71e
UD
417712011-08-17 Ulrich Drepper <drepper@gmail.com>
41772
41773 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41774 * resolv/Makefile: Define CFLAGS-libresolv.
41775
8de79a24
AS
417762011-08-17 Andreas Schwab <schwab@redhat.com>
41777
41778 * nss/makedb.c (compute_tables): Make variables used in nested
41779 function static.
41780
27724598
UD
417812011-08-17 Ulrich Drepper <drepper@gmail.com>
41782
c5305d88
UD
41783 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41784 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41785 if buffer was too small.
41786
27724598
UD
41787 * elf/pldd.c (main): Attach to all threads in the process.
41788 Rewrite /proc handling to use *at functions.
41789
076fe015
UD
417902011-08-16 Ulrich Drepper <drepper@gmail.com>
41791
174baab3
UD
41792 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41793 specifies first scope to show.
41794 (dl_open_worker): Update callers. Move printing scope of new
41795 object to before the relocation.
44f0a71e 41796 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
41797 * sysdeps/generic/ldsodefs.h: Update declaration.
41798
076fe015
UD
41799 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41800 string for the scope number.
41801
a60df2c3
UD
418022011-08-14 Ulrich Drepper <drepper@gmail.com>
41803
41804 * nscd/servicescache.c (cache_addserv): Make sure written is always
41805 initialized.
41806
5e4287d1
RM
418072011-08-14 Roland McGrath <roland@hack.frob.com>
41808
85ae0589
RM
41809 * sysdeps/i386/i486/bits/atomic.h
41810 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41811 statement expression, so as to suppress "set but not used" warning.
41812 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41813
69f63097
RM
41814 * string/strncat.c (STRNCAT): Use prototype definition.
41815
675456ef
RM
41816 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41817 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41818 -Iprograms here.
41819 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41820 (localedef-modules): Add localedef.
41821 (locale-modules): Add locale.
41822
5e4287d1
RM
41823 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41824 * elf/rtld.c (dl_main): Invert order of assignment in last change,
41825 to avoid a warning.
41826
9c96ff23
DM
418272011-08-14 David S. Miller <davem@davemloft.net>
41828
41829 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41830 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41831
f9ddf089
UD
418322011-08-13 Ulrich Drepper <drepper@gmail.com>
41833
44f0a71e 41834 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
41835 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41836 * elf/rtld.c (dl_main): Set l_name of vDSO.
41837 Call _dl_show_scope when DL_DEBUG_SCOPES.
41838 (process_dl_debug): Recognize scopes flag and also set it for all.
41839 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41840 Declare _dl_show_scope.
41841
1dc27704
UD
41842 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41843 (do_dlopen): Pass caller_dlopen to dl_open.
41844 (__libc_dlopen_mode): Initialize caller_dlopen.
41845
f9ddf089
UD
41846 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41847 of libc. Make tolower call locale-independent. Optimize a bit by
41848 using isdigit instead of isalnum.
41849 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41850
9ac533d3
UD
418512011-08-12 Ulrich Drepper <drepper@gmail.com>
41852
41853 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41854 was a dependency or dynamically loaded.
41855
89edf2e9
UD
418562011-08-11 Ulrich Drepper <drepper@gmail.com>
41857
8e999d29
UD
41858 * intl/l10nflist.c: Allow architecture-specific pop function.
41859 * sysdeps/x86_64/l10nflist.c: New file.
41860
89edf2e9
UD
41861 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41862 classification.
41863
14d96785
AS
418642011-08-10 Andreas Schwab <schwab@redhat.com>
41865
41866 * include/dirent.h: Add libc_hidden_proto for scandirat and
41867 scandirat64. Don't declare __scandirat64.
41868 * dirent/scandirat.c: Add libc_hidden_def.
41869 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41870 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41871
6761ac04
DM
418722011-08-10 David S. Miller <davem@davemloft.net>
41873
41874 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41875 enum.
41876 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41877 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41878 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41879
c55fbd1e
UD
418802011-08-09 Ulrich Drepper <drepper@gmail.com>
41881
41882 * Versions.def [libc]: Add GLIBC_2.15.
41883 * dirent/Makefile (routines): Add scandirat and scandirat64.
41884 * dirent/Versions [libc]: Export scandirat and scandirat64 for
41885 GLIBC_2.15.
41886 * dirent/dirent.h: Declare scandirat and scandirat64.
41887 * dirent/scandirat.c: New file.
41888 * dirent/scandirat64.c: New file.
41889 * sysdeps/wordsize-64/scandirat.c: New file.
41890 * sysdeps/wordsize-64/scandirat64.c: New file.
41891 * dirent/opendir.c: Define opendirat.
41892 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
41893 using scandirat.
41894 * dirent/scandir64.c: Adjust for scandir.c change.
41895 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
41896 __scandirat64, and __scandir_cancel_handler.
41897 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
41898 additional parameter and use openat instead of open (outside of ld.so).
41899 Add new __opendir as wrapper around __opendirat.
41900 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41901 here without requiring old scandirat implementation.
41902
879165f2
UD
419032011-08-08 Ulrich Drepper <drepper@gmail.com>
41904
41905 * dirent/scandir.c (cancel_handler): Renamed to
41906 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
41907 defined. Adjust users.
41908 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41909 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41910
cb7e923b
UD
419112011-08-04 Ulrich Drepper <drepper@gmail.com>
41912
16292edd
UD
41913 * string/test-string.h (IMPL): Use __STRING to expand name and then
41914 stringify it.
41915
cb7e923b
UD
41916 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
41917 of cleanups.
41918
cff82933
LD
419192011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41920
41921 * string/Makefile: Update.
41922 (strop-tests): Append strncat.
41923 * string/test-wcscmp.c: New file.
41924 New comprehensive test for wcscmp.
41925 * string/test-strcmp.c: Update.
41926 (WIDE): New define.
41927
9be9bfcc
AS
419282011-07-22 Andreas Schwab <schwab@redhat.com>
41929
41930 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41931 line.
41932
2e96f1c7
AS
419332011-07-26 Andreas Schwab <schwab@redhat.com>
41934
41935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41936 encoding to ACE if AI_IDN.
41937
85188888
JJ
419382011-08-01 Jakub Jelinek <jakub@redhat.com>
41939
41940 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41941 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41942
5fa16e9b
LD
419432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41944
41945 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41946 Fix overflow bug in strncat.
41947 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41948
41949 * string/test-strncat.c: Update.
41950 Add new tests for checking overflow bugs.
41951
419522011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
41953
41954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41955 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41956 * sysdeps/i386/i686/multiarch/strcat.S: New file.
41957 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41958 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41959 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41960 * sysdeps/i386/i686/multiarch/strncat.S: New file.
41961 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41962 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41963
41964 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41965 (USE_AS_STRCAT): Define.
41966 Add strcat and strncat support.
41967 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41968
8c1a459f
AS
419692011-07-25 Andreas Schwab <schwab@redhat.com>
41970
41971 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41972 __n bigger than INT_MAX+1.
41973 (__strncmp_g): Likewise.
41974
bba33c28
UD
419752011-07-23 Ulrich Drepper <drepper@gmail.com>
41976
798be72d
UD
41977 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41978 * libio/stido.h: Likewise.
41979
8accd4dc
UD
41980 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41981 (AF_NFC): Define.
41982 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41983 (AF_NFC): Define.
41984
cbff0d96
UD
41985 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41986 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41987 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41988 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41989 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41990
9191c04a
UD
41991 [BZ #13021]
41992 * scripts/test-installation.pl: Don't expect libnss_test1 to be
41993 installed.
41994
bba33c28
UD
41995 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41996 typo.
41997 (_dl_x86_64_save_sse): Likewise.
41998
90f139dd
UD
419992011-07-22 Ulrich Drepper <drepper@gmail.com>
42000
1aae088a
UD
42001 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42002 OSXSAVE.
42003 (_dl_x86_64_save_sse): Likewise.
42004
8e2045f5
UD
42005 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42006
90f139dd
UD
42007 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42008
1d002f25
AS
420092011-07-21 Andreas Schwab <schwab@redhat.com>
42010
42011 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42012 change.
42013 (_dl_x86_64_save_sse): Use correct AVX check.
42014
21137f89
UD
420152011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42016
42017 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42018 bug in strncpy/strncat.
42019 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42020
a65c0b7a
UD
420212011-07-21 Ulrich Drepper <drepper@gmail.com>
42022
42023 * string/tester.c (test_strcat): Add tests for different alignments
42024 of source and destination.
42025 (test_strncat): Likewise.
42026
6986b98a
UD
420272011-07-20 Ulrich Drepper <drepper@gmail.com>
42028
90bb2039
UD
42029 [BZ #12852]
42030 * posix/glob.c (glob): Check passed in values before using them in
42031 expressions to avoid some overflows.
42032 (glob_in_dir): Likewise.
42033
5644ef54
UD
42034 [BZ #13007]
42035 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42036 check for AVX enablement so that we don't crash with old kernels and
42037 new hardware.
42038 * elf/tst-audit4.c: Add same checks here.
42039 * elf/tst-audit6.c: Likewise.
42040
42041 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 42042
bfc9dc9b
AS
420432011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42044
42045 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42046
702e64bb
UD
420472011-07-20 Ulrich Drepper <drepper@gmail.com>
42048
42049 * po/cs.po: Update from translation team.
42050 * po/bg.po: Likewise.
42051
295e904f
MP
420522011-07-12 Marek Polacek <mpolacek@redhat.com>
42053
42054 * misc/sys/cdefs.h: Add support for const attribute.
42055 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42056 to gnu_dev_{major,minor,makedev} functions.
42057
3ff94596
MP
420582011-07-20 Marek Polacek <mpolacek@redhat.com>
42059
42060 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42061
28b59fca
AS
420622011-07-20 Andreas Schwab <schwab@redhat.com>
42063
42064 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42065 strlen results.
42066
19df733e
AK
420672011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42068
42069 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42070 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42071 register in order to avoid conflicts with the soft frame pointer
42072 being held in r11 when necessary.
42073 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42074 (INTERNAL_VSYSCALL_NCS): Likewise.
42075
c8835729
MP
420762011-07-14 Marek Polacek <mpolacek@redhat.com>
42077
42078 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42079 * elf/dl-fini.c (_dl_fini): Adjust caller.
42080 * elf/dl-close.c (_dl_close_worker): Likewise.
42081 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42082
b902330c
MP
420832011-07-15 Marek Polacek <mpolacek@redhat.com>
42084
8991e135
MP
42085 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42086 "aux_cache->nlibs < 0".
42087
b902330c
MP
42088 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42089 in the reload-count case.
42090
99710781
LD
420912011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42092
42093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42094 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42095 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42096 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42097 * sysdeps/x86_64/multiarch/strcat.S: New file.
42098 * sysdeps/x86_64/multiarch/strncat.S: New file.
42099 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42100 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42101 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42102 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42103 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42104 (USE_AS_STRCAT): Define.
42105 Add strcat and strncat support.
42106 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42107 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42108 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42109 * string/strncat.c: Update.
42110 (USE_AS_STRNCAT): Define.
42111 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42112 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42113 and i7.
42114 * sysdeps/x86_64/multiarch/init-arch.h
42115 (bit_Prefer_PMINUB_for_stringop): New.
42116 (index_Prefer_PMINUB_for_stringop): Likewise.
42117 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42118 bit_Prefer_PMINUB_for_stringop.
42119
7dc6bd90
UD
421202011-07-19 Ulrich Drepper <drepper@gmail.com>
42121
42122 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42123 buffer64.
42124 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42125 of casting of buffer.
42126 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42127 buffer32 and buffer64.
42128 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42129 writes instead of casting of buffer.
42130 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42131 buffer32.
42132 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42133 casting of buffer.
42134
e0e72284
AS
421352011-07-19 Andreas Schwab <schwab@redhat.com>
42136
42137 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42138
feb1eb0b
UD
421392011-07-19 Ulrich Drepper <drepper@gmail.com>
42140
42141 * nscd/nscd.c (termination_handler): Don't do anything for a database
42142 if it has not yet been initialized.
42143
298711ff
UD
421442011-07-18 Ulrich Drepper <drepper@gmail.com>
42145
42146 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42147
421482011-07-15 Marek Polacek <mpolacek@redhat.com>
42149
42150 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42151
f9d68389
UD
421522011-07-18 Ulrich Drepper <drepper@gmail.com>
42153
42154 * po/nl.po: Update from translation team.
42155 * po/sv.po: Likewise.
42156
db290cf5
RM
421572011-07-16 Roland McGrath <roland@hack.frob.com>
42158
42159 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42160 now disallowed by GCC.
5c550700 42161
fd5e21c7
RM
42162 * configure.in (use-default-link): Default to yes if a test -shared
42163 link meets our qualifications.
42164 * configure: Regenerated.
42165
5c550700
RM
42166 * config.make.in (output-format): New variable.
42167 * configure.in: Check for ld --print-output-format support.
42168 * configure: Regenerated.
42169 * Makerules ($(common-objpfx)format.lds)
42170 [$(output-format) != unknown]: Just use $(output-format),
42171 instead of the linker-script munging.
42172
9fa2c032
RM
421732011-07-14 Roland McGrath <roland@hack.frob.com>
42174
a6928d51
RM
42175 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42176 of $(common-objpfx)shlib.lds.
42177 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42178
661607b3
RM
42179 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42180 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42181
9fa2c032
RM
42182 * configure.in (-z relro check): Adjust test code to add a large
42183 writable data section after it.
42184 * configure: Regenerated.
42185
defe9061
RM
421862011-07-11 Roland McGrath <roland@hack.frob.com>
42187
42188 * configure.in (-z relro check): Fix test code to make the variable
42189 truly const.
42190 * configure: Regenerated.
42191
319b9ad4
UD
421922011-07-11 Ulrich Drepper <drepper@gmail.com>
42193
42194 * nscd/nscd.h (struct traced_file): Define.
42195 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42196 elements. Add traced_files.
42197 (inotify_fd): Declare.
42198 (register_traced_file): Declare.
42199 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42200 (inotify_fd): Export.
42201 (resolv_conf_descr): Remove.
42202 (nscd_init): Move inotify descriptor creation to main.
42203 Don't register files for notification here.
42204 (register_traced_file): New function.
42205 (invalidate_cache): Don't use reset_res to determine whether to call
42206 res_init, go through the list of registered files.
42207 (main_loop_poll): The inotify descriptors are now stored in the
42208 structures for the traced files.
42209 (main_loop_epoll): Likewise
42210 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42211 to __nss_disable_nscd.
42212 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42213 for a database anymore. Check the records for all the registered
42214 files instead.
42215 * nss/Makefile (libnss_files-routines): Add files-init.
42216 (libnss_db-routines): Add db-init.
42217 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42218 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42219 * nss/nss_db/db-init.c: New file.
42220 * nss/nss_files/files-init.c: New file.
42221 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42222 __nss_lookup_function.
42223 (__nss_lookup_function): Call nss_load_library.
42224 (nss_load_all_libraries): New function.
42225 (__nss_disable_nscd): Take parameter with callback function for files
42226 to register. Set is_nscd. Load all the DSOs for the NSS modules
42227 used for the cached services.
42228 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42229 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42230 options for features to all the files in nscd.
42231
42232 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42233
23bee3e8
RM
422342011-07-10 Roland McGrath <roland@hack.frob.com>
42235
42236 * csu/elf-init.c (__libc_csu_init): Comment typo.
42237
46a5b7f0
UD
422382011-07-09 Ulrich Drepper <drepper@gmail.com>
42239
42240 * po/pl.po: Update from translation team.
42241 * po/ja.po: Likewise.
42242 * po/ru.po: Likewise.
42243 * po/ko.po: Likewise.
42244 * po/fr.po: Likewise.
42245
d30cf5bb
RM
422462011-07-09 Roland McGrath <roland@hack.frob.com>
42247
113ddea4
RM
42248 * configure.in (.ctors/.dtors header and trailer check):
42249 Use an empirical test on a built program.
42250 * configure: Regenerated.
42251
574920b4
RM
42252 * configure.in (-z relro check): Use an empirical test on a built DSO.
42253 Detect, but do not require, on ia64.
42254 * configure: Regenerated.
42255
d30cf5bb
RM
42256 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42257 Update tests that use readelf to use $READELF instead.
42258 * configure: Regenerated.
42259
8538fdb3
UD
422602011-07-08 Ulrich Drepper <drepper@gmail.com>
42261
42262 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42263 if the result is not used.
42264
04d08991
AJ
422652011-07-05 Andreas Jaeger <aj@suse.de>
42266
42267 [BZ#9696]
42268 * stdlib/tst-strtod.c: Add testcase.
42269
de283087
AD
422702011-07-07 Ulrich Drepper <drepper@gmail.com>
42271
4e5f31c8 42272 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 42273 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
42274 The latter has a higher limit. Take additional parameter to pass to
42275 the new function.
42276 (__pathconf): Pass file to __statfs_link_max.
42277 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42278 __statfs_link_max.
42279 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42280 __statfs_link_max.
42281
de283087
AD
42282 [BZ #12868]
42283 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42284 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42285 Handle Lustre.
42286 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42287 (__statfs_filesize_max): Likewise.
42288 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42289
c75fa153
AJ
422902011-07-05 Andreas Jaeger <aj@suse.de>
42291
42292 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42293
1a544854
UD
422942011-07-06 Marek Polacek <mpolacek@redhat.com>
42295
42296 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42297 `status' variable.
42298 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42299 Likewise.
42300
6f0eec67
UD
423012011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42302
42303 * Makefile (strop-tests): Add strncat.
42304 * string/test-strncat.c: New file.
42305
aae30307
UD
423062011-06-30 Marek Polacek <mpolacek@redhat.com>
42307
42308 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42309
c0cfb5eb
UD
423102011-06-21 Andreas Jaeger <aj@suse.de>
42311
42312 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42313 Copy rule from iconvdata/Makefile.
42314
01636b21
UD
423152011-07-06 Ulrich Drepper <drepper@gmail.com>
42316
42317 [BZ #12922]
42318 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42319 but no long options are defined, just return 'W'.
42320
9895c8bc
UD
423212011-06-22 Marek Polacek <mpolacek@redhat.com>
42322
42323 [BZ #9696]
42324 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42325
5d4cf042
UD
423262011-07-06 Ulrich Drepper <drepper@gmail.com>
42327
42328 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42329 netgroups to read.
960e5535 42330 (innetgr): Likewise.
5d4cf042 42331
751eb97e
RM
423322011-07-05 Roland McGrath <roland@hack.frob.com>
42333
42334 * config.make.in (install_root): Default to $(DESTDIR).
42335
f15f1e45
UD
423362011-07-05 Ulrich Drepper <drepper@gmail.com>
42337
42338 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42339
4e34ac6a
RM
423402011-07-02 Roland McGrath <roland@hack.frob.com>
42341
5e9b6af4
RM
42342 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42343
84f9ea0f
RM
42344 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42345 containing directory rather than embedding absolute directory names.
42346
ea5ee9f7
RM
42347 * scripts/check-local-headers.sh: Rewritten using awk.
42348 Match by word, not by line. Print error messages for matches.
42349 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42350
1b74661a
RM
42351 * Makerules [shlib-lds-flags empty]:
42352 ($(common-objpfx)libc_pic.opts): New target.
42353 ($(common-objpfx)libc_pic.os.clean): New target.
42354 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42355
42356 * config.make.in (OBJCOPY): New variable.
42357 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42358 * configure: Regenerated.
42359
f781ef40
RM
42360 * config.make.in (use-default-link): New variable.
42361 * configure.in (use_default_link): Grok --with-default-link to set it.
42362 * configure: Regenerated.
42363 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42364 (shlib-lds, shlib-lds-flags): Define to empty.
42365
2d4fa81e
RM
42366 * Makerules (shlib-lds): New variable.
42367 (shlib-lds-flags): New variable.
42368 (build-shlib, build-moduile, build-module-asneeded): Use it.
42369 ($(common-objpfx)libc.so): Use $(shlib-lds).
42370 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42371 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42372
31fffa6b
RM
42373 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42374 DT_FLAGS/DT_FLAGS_1 with zero flags.
42375
4e34ac6a
RM
42376 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42377 linker script munging.
42378
fcfc776b
UD
423792011-07-02 Ulrich Drepper <drepper@gmail.com>
42380
42381 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42382 as 128-bit value.
42383 * crypt/sha512.c (sha512_process_block): Perform total addition using
42384 128-bit if possible.
42385 (__sha512_finish_ctx): Likewise.
42386 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42387 as 64-bit value.
42388 * crypt/sha256.c (SWAP64): Define.
42389 (sha256_process_block): Perform total addition using 64-bit if
42390 possible.
42391 (__sha256_finish_ctx): Likewise.
42392
99231d9a
UD
423932011-07-01 Ulrich Drepper <drepper@gmail.com>
42394
42395 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42396 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42397 * nscd/hstcache.c (cache_addhst): Likewise.
42398 * nscd/grpcache.c (cache_addgr): Likewise.
42399 * nscd/aicache.c (addhstaiX): Likewise
42400 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42401
445b4a53
TK
424022011-07-01 Thorsten Kukuk <kukuk@suse.de>
42403
42404 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42405 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42406 * nscd/hstcache.c (cache_addhst): Likewise.
42407 * nscd/grpcache.c (cache_addgr): Likewise.
42408 * nscd/aicache.c (addhstaiX): Likewise
42409
6d4d8e8e
AS
424102011-07-01 Andreas Schwab <schwab@redhat.com>
42411
42412 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42413 domain only when needed.
42414
89f654c5
AS
424152011-06-30 Andreas Schwab <schwab@redhat.com>
42416
42417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42418 is always restored.
42419
cf3b23ff
UD
424202011-06-29 Ulrich Drepper <drepper@gmail.com>
42421
42422 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42423 are re-adding the entry.
42424 * nscd/servicescache.c (cache_addserv): Likewise.
42425
751626f9
AJ
424262011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42427
42428 * sysdeps/generic/dl-irel.h: fix protection against multiple
42429 inclusions.
42430 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42431
9113ea1f
UD
424322011-06-28 Ulrich Drepper <drepper@gmail.com>
42433
5c0b8d90
UD
42434 [BZ #12935]
42435 * malloc/memusage.sh: Fix quoting in message.
42436 * debug/xtrace.sh: Likewise.
42437
9113ea1f
UD
42438 * configure.in: Remove support for --experimental-malloc option, make
42439 it the default.
42440 * config.make.in: Likewise.
42441 * malloc/Makefile: Likewise.
42442
a4172181
AS
424432011-06-27 Andreas Schwab <schwab@redhat.com>
42444
42445 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42446 two-byte characters.
42447
78a7eee7
RM
424482011-06-27 Roland McGrath <roland@hack.frob.com>
42449
62bede13
RM
42450 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42451 AC_CACHE_CHECK invocation.
42452 * configure: Regenerated.
42453
78a7eee7
RM
42454 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42455
5ce33a62
UD
424562011-06-27 Ulrich Drepper <drepper@gmail.com>
42457
034807a9
UD
42458 [BZ #12350]
42459 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42460 bit from old_res_options.
42461
4902da17
UD
42462 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42463
5ce33a62
UD
42464 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42465 value type for setfct.
42466
c2344f56
L
424672011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42468
42469 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42470 __gettimeofday instead of gettimeofday.
42471
68468076
UD
424722011-06-26 Ulrich Drepper <drepper@gmail.com>
42473
42474 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42475
acb0d739
L
424762011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42477
42478 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42479
42480 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42481 info.
42482
8912479f
L
424832011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42484
42485 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42486 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42487 strcpy-sse2-unaligned strncpy-sse2-unaligned
42488 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42489 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42490 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42491 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42492 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42493 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42494 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42495 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42496 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
42497 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
42498 (STRCPY): Support SSE2 and SSSE3 versions.
42499
d5495a11
UD
425002011-06-24 Ulrich Drepper <drepper@gmail.com>
42501
42502 [BZ #12874]
42503 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
42504 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
42505 kernels which artificially limit size of requests.
42506
0b1cbaae
L
425072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42508
42509 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42510 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42511 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
42512 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
42513 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
42514 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
42515 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
42516 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
42517 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
42518 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
42519 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
42520 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
42521 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
42522 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
42523 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
42524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42525 Enable unaligned load optimization for Intel Core i3, i5 and i7
42526 processors.
42527 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
42528 Define.
42529 (index_Fast_Unaligned_Load): Define.
42530 (HAS_FAST_UNALIGNED_LOAD): Define.
42531
07f494a0
MP
425322011-06-23 Marek Polacek <mpolacek@redhat.com>
42533
42534 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
42535
fa3fc0fe
UD
425362011-06-22 Ulrich Drepper <drepper@gmail.com>
42537
42538 [BZ #12907]
42539 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
42540 until it is clear that the information is realy needed.
42541 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
42542
e12df166
AS
425432011-06-22 Andreas Schwab <schwab@redhat.com>
42544
42545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
42546
852eb34d
UD
425472011-06-22 Ulrich Drepper <drepper@gmail.com>
42548
84e2a551
UD
42549 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42550 /sys/devices/system/cpu/online if it is usable.
42551
852eb34d
UD
42552 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
42553 reading the information from the /proc filesystem to once a second.
42554
6e502e19
UD
425552011-06-21 Andreas Jaeger <aj@suse.de>
42556
42557 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
42558 NULL after inclusion of kernel headers.
42559
75d39ff2
UD
425602011-06-21 Ulrich Drepper <drepper@gmail.com>
42561
51f9aa6a
UD
42562 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
42563 calls to internal_setent.
42564
c0244a9d
UD
42565 [BZ #12885]
42566 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
42567 addresses using gethostbyname4_r ignore IPv4 addresses.
42568
c5e3c2ae
UD
42569 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
42570 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
42571
75d39ff2
UD
42572 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
42573
42675c6f
DM
425742011-06-20 David S. Miller <davem@davemloft.net>
42575
42576 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
42577 inclusions.
42578 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
42579
42580 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
42581 (elf_irel): Use it.
42582 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
42583 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
42584 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
42585 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
42586 * sysdeps/x86_64/dl-irel.h: Likewise.
42587
42588 * elf/dl-runtime.c: Use elf_ifunc_invoke.
42589 * elf/dl-sym.c: Likewise.
42590
57912a71
UD
425912011-06-15 Ulrich Drepper <drepper@gmail.com>
42592
42593 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
42594 need to dereference resplen2.
42595
ee22793d
AS
425962011-06-14 Andreas Schwab <schwab@redhat.com>
42597
42598 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
42599
a9e836b0
UD
426002011-06-15 Ulrich Drepper <drepper@gmail.com>
42601
77fb9117
UD
42602 * Makeconfig: Define vardbdir and inst_vardbdir.
42603 * nss/Makefile: Add rules to install db-Makefile.
42604
40c1b22c
UD
42605 * nss/nss_db/db-XXX.c: Cleanup.
42606
9f2da732
UD
42607 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
42608 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
42609 GLIBC_PRIVATE.
42610 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
42611 * nss/makedb.c: Implement -g option to specify that value strings
42612 are generated and should not be added to table iterated over for
42613 get*ent calls.
42614 * nss/nss_db/db-initgroups.c: New file.
42615
82e9a1f7
UD
42616 * nss/getent.c: Add support for initgroups lookups through getgrouplist
42617 interface.
42618
c41af17e
UD
42619 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
42620 (internal_getgrouplist): Adjust to name change.
42621 Update use_initgroups_entry if this is not the first call.
42622 * nss/databases.def: Add initgroups entry.
42623
a9e836b0
UD
42624 * nss/makedb.c (compute_tables): Check result of multiple hash table
42625 sizes to minimize maximum chain length.
42626
2666d441
UD
426272011-06-14 Ulrich Drepper <drepper@gmail.com>
42628
42629 * Versions.def: Add entry for libnss_db.
42630 * shlib-versions: Likewise.
42631 * nss/Makefile: Add rules to build libnss_db.
42632 * nss/Versions: Add libnss_db information. Organize libnss_files
42633 entries better.
42634 * nss/db-Makefile: Add gshadow support. Change rules for the new
42635 makedb progra. Some minor improvements to generate smaller files.
42636 * nss/nss_db/nss_db.h: Move NSS database header data structures to
42637 here from...
42638 * nss/makedb.c: ...here.
42639 Improve database format to be smaller and require less memory at
42640 runtime.
42641 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
42642 db anymore.
42643 * nss/nss_db/db-netgrp.c: Likewise.
42644 * nss/nss_db/db-open.c: Likewise.
42645 * nss/nss_files/flies-XXX.x: Adjust comments.
42646 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
42647 * nss/nss_files/files-grp.c: Likewise.
42648 * nss/nss_files/files-hosts.c: Likewise.
42649 * nss/nss_files/files-network.c: Likewise.
42650 * nss/nss_files/files-proto.c: Likewise.
42651 * nss/nss_files/files-pwd.c: Likewise.
42652 * nss/nss_files/files-rpc.c: Likewise.
42653 * nss/nss_files/files-service.c: Likewise.
42654 * nss/nss_files/files-sgrp.c: Likewise.
42655 * nss/nss_files/files-spwd.c: Likewise.
42656 * nss/nss_db/db-alias.c: Removed.
42657 * nss/nss_db/dummy-db.h: Removed.
42658
9ee76b5a
UD
426592011-06-02 Ulrich Drepper <drepper@gmail.com>
42660
42661 * nss/makedb.c: Rewritten to not use database library.
42662 * nss/Makefile: Update to build new makedb program.
42663
c71ca1f8
AJ
426642011-06-14 Andreas Jaeger <aj@suse.de>
42665
42666 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
42667 memset declaration.
42668
3154bfb8
UD
426692011-06-10 Andreas Schwab <schwab@redhat.com>
42670
42671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
42672 tmpbuf.
42673
b350afab
RM
426742011-06-10 Roland McGrath <roland@hack.frob.com>
42675
decd4e50
RM
42676 * Makerules (shlib.lds): Fail if the linker script comes out empty.
42677 * elf/Makefile ($(objpfx)ld.so): Likewise.
42678
5615eaf2
RM
42679 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
42680 Don't list ld.so twice in dependencies.
42681
42682 * posix/bug-regex31.c: Include <stdlib.h>.
42683
42684 * nscd/hstcache.c (cache_addhst): Remove unused variable.
42685
42686 * nis/nss_compat/compat-spwd.c
42687 (getspent_next_nss_netgr): Remove unused variable.
42688 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
42689
42690 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
42691 nonmembers" output to use the right array.
42692
42693 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
42694
42695 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
42696
42697 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
42698 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
42699 * catgets/gencat.c (read_input_file): Likewise.
42700 * locale/programs/locarchive.c (enlarge_archive): Likewise.
42701
42702 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
42703 variable definition inside #if's controlling its use.
42704
42705 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
42706
42707 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
42708
42709 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42710
42711 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42712 unreachable code.
42713
42714 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42715
b68e08db
RM
42716 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42717 * configure: Regenerated.
42718
b350afab
RM
42719 * Makerules: Revert last change.
42720 * elf/Makefile: Likewise.
42721
28368601
RM
427222011-06-09 Roland McGrath <roland@hack.frob.com>
42723
42724 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42725 * elf/Makefile ($(objpfx)librtld.os): Likewise.
42726 (reloc-link): Likewise.
42727
11988f8f
UD
427282011-06-09 Ulrich Drepper <drepper@gmail.com>
42729
42730 * elf/Makefile: Add rules to build pldd.
42731 * elf/pldd.c: New file.
42732 * elf/pldd-xx.c: New file.
42733
e80fab37
UD
427342011-06-07 Ulrich Drepper <drepper@gmail.com>
42735
42736 * version.h: Update for 2.15 development version.
42737
9b849836
DM
427382011-06-07 David S. Miller <davem@davemloft.net>
42739
42740 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42741 ifuncs.
42742 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42743 elf_machine_lazy_rel): Likewise.
42744 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42745 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42746 elf_machine_lazy_rel): Likewise.
42747 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42748 dl_hwcap via passed in argument.
42749 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42750 Likewise.
42751
5a31b283
AK
427522011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42753
42754 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
42755
069e52f8
RM
427562011-06-06 Roland McGrath <roland@hack.frob.com>
42757
42758 [BZ #12849]
42759 * manual/fdl-1.1.texi: New file, verbatim from:
42760 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42761 * manual/lgpl-2.1.texi: New file, verbatim from:
42762 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42763 * manual/Makefile (licenses): New variable, list those new file names.
42764 (texis): Use it.
42765 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42766
42767 * manual/fdl.texi: File removed.
42768 * manual/lesser.texi: File removed.
42769 * manual/libc.texinfo (Copying, Documentation License):
42770 Use new @include file names, put @appendix directive before @include.
42771
f16846a5
JJ
427722011-06-04 Jakub Jelinek <jakub@redhat.com>
42773
42774 [BZ #12841]
42775 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42776 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42777 (mq_open): Add __NTH.
42778
3d29045b
L
427792011-06-02 H.J. Lu <hongjiu.lu@intel.com>
42780
42781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42782 Assume Intel Core i3/i5/i7 processor if AVX is available.
42783
8c297311
UD
427842011-05-31 Ulrich Drepper <drepper@gmail.com>
42785
42786 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42787 typo.
42788
c8fc0c91
UD
427892011-05-31 Andreas Schwab <schwab@redhat.com>
42790
42791 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42792 memory. Use alloca_account. Fix memory leak when retrying.
42793
5b27a807
UD
427942011-05-31 Ulrich Drepper <drepper@gmail.com>
42795
356f8bc6
UD
42796 * version.h (RELEASE): Bump for 2.14 release.
42797 * include/features.h (__GLIBC_MINOR__): Bump to 14.
42798
5b27a807
UD
42799 * config.make.in (RANLIB): Remove entry.
42800
01f16ab0
UD
428012011-05-30 Ulrich Drepper <drepper@gmail.com>
42802
41fce8bd
UD
42803 * po/Makefile (po-sed-cmd): Add ksh to extensions.
42804 (libc.pot): Work around missing support for .ksh extension in xgettext.
42805
4769ae77
UD
42806 [BZ #12684]
42807 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42808 if both request failed.
42809 (send_dg): In case of server errors clear resplen or *resplen2.
42810
6b1e7d19
UD
42811 [BZ #12454]
42812 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42813 when there are multiple maps.
42814 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42815 (_dl_fini): Remove test here.
42816
01f16ab0
UD
42817 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42818
b1ebd700
UD
428192011-05-29 Ulrich Drepper <drepper@gmail.com>
42820
7ae22829
UD
42821 [BZ #12350]
42822 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42823 bit from old_res_options.
42824 (gaih_inet): Likewise.
42825
553149f6 42826 [BZ #11099]
18a84741 42827 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
42828 as signed.
42829
652ffab1
UD
42830 * resolv/res_init.c (res_setoptions): Make the code more compact.
42831
16985fd0
UD
42832 [BZ #11558]
42833 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42834 set RES_USEVC.
42835
0464f746
UD
42836 [BZ #11634]
42837 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42838
7d17596c
UD
42839 * malloc/malloc.h: Mark malloc hook variables as deprecated.
42840
cf6bbbd7
UD
42841 [BZ #11781]
42842 * malloc/malloc.h: Declare malloc hook variables as volatile.
42843
13f1ab36
UD
42844 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42845 in last patch.
42846
b1ebd700
UD
42847 [BZ #11799]
42848 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 42849 raise in the comment.
80e2212d
UD
42850 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42851 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42852 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 42853
ce67228d
UD
428542011-05-28 Ulrich Drepper <drepper@gmail.com>
42855
8887a920
UD
42856 [BZ #12811]
42857 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42858 grow the buffers more if it already has to be sufficient.
42859 (build_wcs_upper_buffer): Likewise.
42860 * posix/regexec.c (check_matching): Likewise.
42861 (clean_state_log_if_needed): Likewise.
42862 (extend_buffers): Don't enlarge buffers beyond size of the input
42863 buffer.
42864 Patches mostly by Emil Wojak <emil@wojak.eu>.
42865 * posix/bug-regex32.c: New file.
42866 * posix/Makefile (tests): Add bug-regex32.
42867
4f031072
UD
42868 * locale/findlocale.c (_nl_find_locale): Return right away if
42869 _nl_explode_name failed.
42870 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42871
d0478f0c
UD
42872 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42873
de81b246
UD
42874 * debug/xtrace.sh: Unify messages.
42875 * malloc/memusage.sh: Likewise.
42876
c738465a
UD
42877 [BZ #12813]
42878 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42879 time symbol from vDSO. Substitute with vsyscall if not available.
42880 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42881 __vdso_time.
42882
f1f929d7
UD
42883 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42884 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42885 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42886 Add sendmmsg and internal_sendmmsg.
42887 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42888 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42889 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42890
ce67228d
UD
42891 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42892 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42893 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42894
e57420c6
UD
428952011-05-27 Ulrich Drepper <drepper@gmail.com>
42896
a8509ca5
UD
42897 [BZ #12813]
42898 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42899 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
42900 available.
42901 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42902 __vdso_getcpu.
42903
e57420c6
UD
42904 [BZ #12814]
42905 * iconvdata/Makefile (tests): Add bug-iconv9.
42906 * iconvdata/bug-iconv9.c: New file.
42907
4d07db15
AS
429082011-05-27 Andreas Schwab <schwab@redhat.com>
42909
42910 [BZ #12814]
42911 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42912
ea486f69
JJ
429132011-05-25 Jakub Jelinek <jakub@redhat.com>
42914
42915 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42916 (struct user_regs_struct): Change intcs field back to cs.
42917
6f038433
UD
429182011-05-25 Ulrich Drepper <drepper@gmail.com>
42919
42920 * po/ja.po: Update from translation team.
42921
67f86a25
UD
429222011-05-23 Ulrich Drepper <drepper@gmail.com>
42923
42924 [BZ #12795]
42925 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42926 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42927
def7fbd6
AS
429282011-05-20 Andreas Schwab <schwab@redhat.com>
42929
42930 * stdlib/longlong.h: Update from GCC.
42931
f50ef8f1
AS
429322011-05-23 Andreas Schwab <schwab@redhat.com>
42933
42934 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42935 parameter name.
42936 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42937 Add parameter name.
42938 (__sysconf): Pass it down.
42939
de7ce8f1
UD
429402011-05-22 Ulrich Drepper <drepper@gmail.com>
42941
f2962a71
UD
42942 [BZ #12671]
42943 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42944 some situations.
42945 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42946 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42947 add in in __libc_use_alloca calls. Adjust callers.
42948 (glob): Use malloc in some situations.
42949
de7ce8f1
UD
42950 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42951 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42952 pltexit.
42953
aec84f53
UD
429542011-05-21 Ulrich Drepper <drepper@gmail.com>
42955
05bb4a68
UD
42956 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42957 and CLOCK_BOOTTIME_ALARM.
42958
7ea72f99
UD
42959 [BZ #12782]
42960 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42961 is returned.
42962
7e4afad5
UD
42963 * string/_strerror.c (__strerror_r): Print negative errors as signed
42964 numbers.
42965
8e211fec
UD
42966 [BZ #12777]
42967 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42968 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42969 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42970
f7d82dc9
UD
42971 * configure.in: Fix typo in redirection and correct removal of test
42972 files in two cases.
42973
cc9e536d
UD
42974 [BZ #12788]
42975 * locale/setlocale.c (new_composite_name): Fix test to check for
42976 identical name of all categories.
42977
aec84f53
UD
42978 [BZ #12792]
42979 * libio/filedoalloc.c (local_isatty): New function.
42980 (_IO_file_doallocate): Use local_isatty.
42981 * stdio-common/perror.c (perror): In case a new stream is used
42982 forward the stream error.
42983 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42984 error flag.
42985
78e64fdc
RT
429862011-05-20 Ulrich Drepper <drepper@gmail.com>
42987
34a9094f
UD
42988 [BZ #11869]
42989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42990 alloca.
42991 * include/alloca.h (extend_alloca_account): Define.
42992
78e64fdc
RT
42993 [BZ #11857]
42994 * posix/regex.h: Fix comments with documentation of user-accessible
42995 fields after compilation and describe correct free'ing of pattern
42996 after re_compile_pattern.
42997 Patch by Reuben Thomas <rrt@sc3d.org>.
42998
457bddfc
RA
429992011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43000
43001 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43002 and -mno-altivec to prevent the compiler from using Altivec and/or
43003 VSX instructions when the corresponding registers are not available.
43004
a4527b51
AS
430052011-05-19 Andreas Schwab <schwab@redhat.com>
43006
43007 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43008
ed690b2f
UD
430092011-05-19 Ulrich Drepper <drepper@gmail.com>
43010
43011 * libio/freopen.c (freopen): Use __dup2, not dup2.
43012 * libio/freopen64.c (freopen64): Likewise.
43013
8db73634
L
430142011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43015
43016 [BZ #12775]
43017 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43018 * math/Makefile (tests): Add test-powl.
43019 (CFLAGS-test-powl.c): Define.
43020 * math/test-powl.c: New file.
43021
0a197a9d
L
430222011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43023
43024 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43025
ee30c380
UD
430262011-05-17 Ulrich Drepper <drepper@gmail.com>
43027
43028 [BZ #11837]
43029 * iconvdata/gb18030.c: Update to GB18020-2005.
43030
6ce75379
UD
430312011-05-16 Ulrich Drepper <drepper@gmail.com>
43032
a4b89fd8
AR
43033 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43034 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43035 Patch by Aharon Robbins <arnold@skeeve.com>.
43036
ea389b12
UD
43037 [BZ #11892]
43038 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43039 on the stack.
43040
68a3f91f
UD
43041 [BZ #11895]
43042 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43043 through underflows.
43044
15cc7dd1
UD
43045 [BZ #12766]
43046 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43047 point to strings before performing equality test for error_one_per_line
43048 mode.
43049
f3799213
UD
43050 [BZ #11697]
43051 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43052
d79a9c94
UD
43053 [BZ #11820]
43054 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43055 (struct user_fpregs_struct): Avoid __uint*_t types.
43056
56e5eb46
UD
43057 [BZ #6420]
43058 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43059 symbol info. Use it instead of calling _dl_addr locally.
43060 (lock_and_info): New function.
43061 (tr_freehook): Call lock_and_info and pass symbol info as additional
43062 parameter to tr_where.
43063 (tr_mallochook): Likewise.
43064 (tr_reallochook): Likewise.
43065 (tr_memalignhook): Likewise.
43066
6ce75379
UD
43067 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43068 used and couldn't be at all thread-safe.
43069
f8a3b5bf
UD
430702011-05-15 Ulrich Drepper <drepper@gmail.com>
43071
94b7cc37
UD
43072 * libio/freopen.c (freopen): Don't close old file descriptor
43073 before the new one is opened. Instead dup the new file descriptor
43074 to the old one after the new stream is created.
43075 * libio/freopen64.c (freopen64): Likewise.
43076 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43077 * libio/fileops.c (_IO_new_file_close_it): Handle new
43078 _IO_FLAGS2_NOCLOSE flag.
43079 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43080 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43081 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43082 _IO_FLAGS2_NOCLOSE flag.
43083 * include/unistd.h: Add hidden_proto for dup3.
43084 Define __have_dup3.
43085 * io/dup3.c: Define hidden symbol.
43086 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43087
bd25564e
UD
43088 [BZ #7101]
43089 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43090 when an incomplete long option is used.
43091 * posix/tst-getopt_long1.c: New file.
43092 * posix/Makefile (tests): Add tst-getopt_long1.
43093
c84cfef4
UD
43094 [BZ #10138]
43095 * scripts/config.guess: Update from autoconf-2.68.
43096 * scripts/config.sub: Likewise.
43097
3b85df27
UD
43098 [BZ #10157]
43099 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43100 tests into ...
43101 (has_cpuclock): ...this. New function.
43102 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43103 macro here based on has_cpuclock code.
43104
15a856b1
UD
43105 [BZ #10149]
43106 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43107 First byte (not low byte) is now always NUL.
43108 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43109
05f399e6
UD
43110 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43111 Use non-cancelable interfaces.
43112
10a52685 43113 [BZ #9809]
94ecc67d
UD
43114 * locale/iso-639.def: Add entry for Sorani.
43115
f8a3b5bf
UD
43116 [BZ #11901]
43117 * include/stdlib.h: Move include protection to the right place.
43118 Define abort_msg_s. Declare __abort_msg with it.
43119 * stdlib/abort.c (__abort_msg): Adjust type.
43120 * assert/assert.c (__assert_fail_base): New function. Majority
43121 of code from __assert_fail. Allocate memory for __abort_msg with
43122 mmap.
43123 (__assert_fail): Now call __assert_fail_base.
43124 * assert/assert-perr.c: Remove bulk of implementation. Use
43125 __assert_fail_base.
43126 * include/assert.hL Declare __assert_fail_base.
43127 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43128 mmap.
43129 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43130
1af4e298
UD
431312011-05-14 Ulrich Drepper <drepper@gmail.com>
43132
f8a3b5bf 43133 [BZ #11952]
d26dfc60
MG
43134 [BZ #12453]
43135 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43136 until all modules are registered in the DTV.
43137 * elf/Makefile: Add rules to build and run tst-tls19.
43138 * elf/tst-tls19.c: New file.
43139 * elf/tst-tls19mod1.c: New file.
43140 * elf/tst-tls19mod2.c: New file.
43141 * elf/tst-tls19mod3.c: New file.
43142 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43143
2fc54d6f
UD
43144 [BZ #12083]
43145 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43146 correctly.
43147
98d76b46
UD
43148 [BZ #12601]
43149 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43150 two-byte sequence errors.
43151 * iconvdata/Makefile (tests): Add bug-iconv8.
43152 * iconvdata/bug-iconv8.c: New file.
43153
da3c19ef
UD
43154 [BZ #12626]
43155 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43156 buf2 definition.
43157
ca408c15
UD
43158 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43159
d6f67f7d
UD
43160 [BZ #12432]
43161 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43162 (dummy_getcfa): New function.
43163 (init): Get _Unwind_GetCFA address, use dummy if not found.
43164 (backtrace_helper): In recursion check, also check whether CFA changes.
43165 (__backtrace): Completely initialize arg.
43166
1af4e298 43167 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
43168 storing incomplete byte sequence in state object. Avoid testing for
43169 guaranteed too small input if we know there is enough data available.
1af4e298 43170
da62f81b
AS
431712011-05-11 Andreas Schwab <schwab@redhat.com>
43172
43173 * Makeconfig (+link-pie): Indent.
43174 * Rules (binaries-pie): Define if $(have-fpie) and
43175 $(build-shared).
43176 (binaries-shared): Also filter out $(binaries-pie).
43177 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43178 * nscd/Makefile (others-pie): Add nscd.
43179 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43180 ($(objpfx)nscd): Remove command override.
43181 * login/Makefile (others-pie): Add pt_chown.
43182 ($(objpfx)pt_chown): Remove command override.
43183 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43184 remove command overrides.
43185
fcabc0f8
UD
431862011-05-13 Ulrich Drepper <drepper@gmail.com>
43187
20030ae6
UD
43188 * libio/tst_putwc.c: Fix error messages.
43189
fcabc0f8
UD
43190 [BZ #12724]
43191 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43192 currently writing and seek to current position when not.
43193 * libio/Makefile (tests): Add bug-fclose1.
43194 * libio/bug-fclose1.c: New file.
43195
320a5dc0
PB
431962011-05-12 Ulrich Drepper <drepper@gmail.com>
43197
43198 [BZ #12511]
43199 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43200 don't set DF_1_NODELETE here.
43201 (do_lookup_x): When entering new entry test for copy relocation
43202 and if necessary set DF_1_NODELETE flag.
43203 * elf/tst-unique4.cc: New file.
43204 * elf/tst-unique4.h: New file.
43205 * elf/tst-unique4lib.cc: New file.
43206 * elf/Makefile: Add rules to build and run tst-unique4.
43207 Patch by Piotr Bury <pbury@goahead.com>.
43208
22836f52
UD
432092011-05-11 Ulrich Drepper <drepper@gmail.com>
43210
f574184a
UD
43211 [BZ #12052]
43212 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43213
e1fb097f
UD
43214 [BZ #12625]
43215 * misc/mntent_r.c (addmntent): Flush the stream after the output
43216
22836f52
UD
43217 [BZ #12393]
43218 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43219 (is_trusted_path_normalize): Skip initial colon. Append slash
43220 to empty buffer. Duplicate is_trusted_path code but allow
43221 constructed patch to be prefix.
43222 (is_dst): Allow $ORIGIN followed by /.
43223 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43224 Correct testing of result of is_trusted_path_normalize
43225 (decompose_rpath): Fix warning.
43226
7b3b0b2a
UD
432272011-05-10 Ulrich Drepper <drepper@gmail.com>
43228
43229 [BZ #11257]
43230 * grp/initgroups.c (internal_getgrouplist): When we found the service
43231 list through the initgroups entry in nsswitch.conf do not always
43232 continue on a successful lookup. Don't always use the
eac80ce2 43233 __nss_group_database value if it is set.
7b3b0b2a
UD
43234 * nss/nsswitch.conf (initgroups): Change action for successful db
43235 lookup to continue for compatibility.
43236
2a81eaa5
UD
432372011-05-09 Ulrich Drepper <drepper@gmail.com>
43238
be97a69e
UD
43239 [BZ #11532]
43240 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43241 and CP774 modules.
43242 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43243 and CP774 modules.
43244 * iconvdata/tst-tables.sh: Likewise.
43245 * iconvdata/cp770.c: New file.
43246 * iconvdata/cp771.c: New file.
43247 * iconvdata/cp772.c: New file.
43248 * iconvdata/cp773.c: New file.
43249 * iconvdata/cp774.c: New file.
43250 * iconvdata/testdata/CP770: New file.
43251 * iconvdata/testdata/CP770..UTF8: New file.
43252 * iconvdata/testdata/CP771: New file.
43253 * iconvdata/testdata/CP771..UTF8: New file.
43254 * iconvdata/testdata/CP772: New file.
43255 * iconvdata/testdata/CP772..UTF8: New file.
43256 * iconvdata/testdata/CP773: New file.
43257 * iconvdata/testdata/CP773..UTF8: New file.
43258 * iconvdata/testdata/CP774: New file.
43259 * iconvdata/testdata/CP774..UTF8: New file.
43260
43261 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43262 END CHARMAP line.
43263 * iconvdata/gen-8bit-gap.sh: Likewise.
43264 * iconvdata/gen-8bit.sh: Likewise.
43265
c1e9e399
UD
43266 * locale/iso-639.def: Add ary entry.
43267
24c55fb3 43268 [BZ #11258]
96b4b1b0
UD
43269 * locale/C-translit.h.in: Add U20A1 transliteration.
43270
bdc2f971
KB
43271 [BZ #12178]
43272 * locale/iso-639.def: Add wae entry.
43273 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43274
2952b117
UD
43275 [BZ #12545]
43276 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43277 for n.
43278
2a81eaa5
UD
43279 [BZ #12711]
43280 * locale/C-translit.h.in: Add entry for U20B9.
43281 Patch by pravin.d.s@gmail.com.
43282
28377d1b
UD
432832011-05-08 Ulrich Drepper <drepper@gmail.com>
43284
7fb90fb8
UD
43285 [BZ #12713]
43286 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43287 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
43288 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43289 in rtld. Use *stat64.
7fb90fb8 43290 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 43291 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 43292 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
43293 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43294 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43295 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43296 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43297 __fstatat64 macros.
7fb90fb8
UD
43298 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43299 * dirent/rewinddir.c: Add libc_hidden_def.
43300 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 43301 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 43302
28377d1b
UD
43303 * include/dirent.h (__alloc_dir): Add flags parameter.
43304 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43305 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43306 __alloc_dir.
43307 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43308 from fdopendir if O_CLOEXEC is already set.
43309
66bdbaa4
AM
433102011-03-15 Alan Modra <amodra@gmail.com>
43311
43312 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43313 l_tls_firstbyte_offset non-zero. Save padding offset in
43314 l_tls_firstbyte_offset for later use.
43315 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43316 freeing static tls block.
43317
95721191
JN
433182011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43319
43320 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43321 where #ifdef was intended. The intent is to prevent ARG_MAX from
43322 being defined by the kernel headers.
43323
f87dfb1f
UD
433242011-05-07 Ulrich Drepper <drepper@gmail.com>
43325
43326 [BZ #12734]
43327 * resolv/resolv.h: Define RES_NOTLDQUERY.
43328 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43329 no-tld-query and set RES_NOTLDQUERY.
43330 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43331 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43332 modern BIND to search name as TLD unless forbidden.
43333
47c3cd7a
UD
433342011-05-07 Petr Baudis <pasky@suse.cz>
43335 Ulrich Drepper <drepper@gmail.com>
43336
43337 [BZ #12393]
43338 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43339 (is_trusted_path): ...to here.
c1e9ea35 43340 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 43341 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 43342 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 43343
8a35c912
PP
433442011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43345
43346 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43347 __BEGIN/__END_DECLS.
43348
acd41f47
UD
433492011-05-06 Ulrich Drepper <drepper@gmail.com>
43350
43351 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43352 NSS_STATUS_NOTFOUND if no record was found.
43353
597df647
AS
433542011-05-05 Andreas Schwab <schwab@redhat.com>
43355
43356 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43357 (headers-not-in-tirpc): Remove rpc/netdb.h
43358 * resolv/netdb.h: Revert last change.
43359
b9af1301
PP
433602011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43361
43362 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43363 circular dependency between libgcc.a and libc.a.
43364
4e34d5f5
AS
433652011-05-05 Andreas Schwab <schwab@redhat.com>
43366
43367 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43368 * nis/Makefile: Don't install rpcsvc/*.
43369 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43370 instead of <rpc/types.h>.
43371 (MAXHOSTNAMELEN): Define.
43372
00ee369c
AS
433732011-05-03 Andreas Schwab <schwab@redhat.com>
43374
43375 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43376
0b592a30
MB
433772011-04-28 Maciej Babinski <mbabinski@google.com>
43378
43379 [BZ #12714]
43380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43381 gethostbyname4_r when IPv6 results are possible.
43382
6e04cbbe
UD
433832011-05-02 Ulrich Drepper <drepper@gmail.com>
43384
43385 [BZ #12723]
43386 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43387 _PC_PIPE_BUF handling.
43388
e4ecafe0
BH
433892011-04-30 Bruno Haible <bruno@clisp.org>
43390
43391 [BZ #12717]
43392 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43393 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43394 to 'int'.
43395 * inet/getnameinfo.c (getnameinfo): Likewise.
43396
125ee683
UD
433972011-04-29 Ulrich Drepper <drepper@gmail.com>
43398
43399 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43400 to groups setting in database lookup.
43401 * nss/nsswitch.conf: Add initgroups entry.
43402
b722481a
EB
434032011-04-22 Ulrich Drepper <drepper@gmail.com>
43404
43405 [BZ #12685]
43406 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43407 mode string.
43408 Patch by Eric Blake <eblake@redhat.com>.
43409
4df46dbd
L
434102011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43411
43412 * sunrpc/Makefile (need-export-routines): Add svc_run.
43413 (routines): Remove svc_run.
43414 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43415 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43416 * sunrpc/svc_run.c (svc_run): Likewise.
43417 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43418
e84142d2
UD
434192011-04-21 Ulrich Drepper <drepper@gmail.com>
43420
43421 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43422 problem in reallocation in last patch.
43423
877175d8
UD
434242011-04-20 Ulrich Drepper <drepper@gmail.com>
43425
43426 * sunrpc/Makefile: Move inclusion of Rules.
43427
ab8eed78
UD
434282011-04-19 Ulrich Drepper <drepper@gmail.com>
43429
43430 * nss/nss_files/files-initgroups.c: New file.
43431 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43432 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43433 _nss_files_initgroups_dyn.
43434
e3d8f584
RS
434352011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43436
43437 * elf/elf.h (R_ARM_IRELATIVE): Define.
43438
af190f45
UD
434392011-04-19 Ulrich Drepper <drepper@gmail.com>
43440
43441 * po/ru.po: Update from translation team.
43442
53cf59ef
UD
434432011-04-17 Ulrich Drepper <drepper@gmail.com>
43444
43445 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43446 dependencies.
43447
4c559bcd
MF
434482011-02-06 Mike Frysinger <vapier@gentoo.org>
43449
43450 [BZ #12653]
43451 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43452 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43453 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43454 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43455 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43456
4420675c
AS
434572011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43458
43459 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43460 differing bytes.
43461 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43462 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43463 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43464
75ea32ab
UD
434652011-04-17 Ulrich Drepper <drepper@gmail.com>
43466
43467 [BZ #12420]
43468 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43469 storing it.
43470 * stdlib/bug-getcontext.c: New file.
43471 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43472
27390476
AK
434732011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43474
43475 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43476 instructions into .machine "z9-109".
43477 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43478 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43479
10442705
AK
434802011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43481
43482 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43483 between environment variables and auxiliary vector.
43484
7b57bfe5
UD
434852011-04-16 Ulrich Drepper <drepper@gmail.com>
43486
43487 * Makefile: Add rules to build linkobj/libc.so.
43488 * include/libc-symbols.h: Define libc_hidden_nolink.
43489 * include/rpc/auth.h: Mark functions which are to be hidden.
43490 * include/rpc/auth_des.h: Likewise.
43491 * include/rpc/auth_unix.h: Likewise.
43492 * include/rpc/clnt.h: Likewise.
43493 * include/rpc/des_crypt.h: Likewise.
43494 * include/rpc/key_prot.h: Likewise.
43495 * include/rpc/pmap_clnt.h: Likewise.
43496 * include/rpc/pmap_prot.h: Likewise.
43497 * include/rpc/pmap_rmt.h: Likewise.
43498 * include/rpc/rpc_msg.h: Likewise.
43499 * include/rpc/svc.h: Likewise.
43500 * include/rpc/svc_auth.h: Likewise.
43501 * include/rpc/xdr.h: Likewise.
43502 * nis/Makefile: Link all DSOs against linkobj/libc.so.
43503 * nss/Makefile: Likewise.
43504 * sunrpc/Makefile: Don't install headers. Build library with normal
43505 entry points. Don't build rpcinfo. Link RPC tests appropriately.
43506 * sunrpc/auth_des.c: Hide exported symbols by default, export some
43507 for the compat linking library. Remove use of INTDEF/INTUSE.
43508 * sunrpc/auth_none.c: Likewise.
43509 * sunrpc/auth_unix.c: Likewise.
43510 * sunrpc/authdes_prot.c: Likewise.
43511 * sunrpc/authuxprot.c: Likewise.
43512 * sunrpc/clnt_gen.c: Likewise.
43513 * sunrpc/clnt_perr.c: Likewise.
43514 * sunrpc/clnt_raw.c: Likewise.
43515 * sunrpc/clnt_simp.c: Likewise.
43516 * sunrpc/clnt_tcp.c: Likewise.
43517 * sunrpc/clnt_udp.c: Likewise.
43518 * sunrpc/clnt_unix.c: Likewise.
43519 * sunrpc/des_crypt.c: Likewise.
43520 * sunrpc/des_soft.c: Likewise.
43521 * sunrpc/get_myaddr.c: Likewise.
43522 * sunrpc/key_call.c: Likewise.
43523 * sunrpc/key_prot.c: Likewise.
43524 * sunrpc/netname.c: Likewise.
43525 * sunrpc/pm_getmaps.c: Likewise.
43526 * sunrpc/pm_getport.c: Likewise.
43527 * sunrpc/pmap_clnt.c: Likewise.
43528 * sunrpc/pmap_prot.c: Likewise.
43529 * sunrpc/pmap_prot2.c: Likewise.
43530 * sunrpc/pmap_rmt.c: Likewise.
43531 * sunrpc/publickey.c: Likewise.
43532 * sunrpc/rpc_cmsg.c: Likewise.
43533 * sunrpc/rpc_common.c: Likewise.
43534 * sunrpc/rpc_dtable.c: Likewise.
43535 * sunrpc/rpc_prot.c: Likewise.
43536 * sunrpc/rpc_thread.c: Likewise.
43537 * sunrpc/rtime.c: Likewise.
43538 * sunrpc/svc.c: Likewise.
43539 * sunrpc/svc_auth.c: Likewise.
43540 * sunrpc/svc_authux.c: Likewise.
43541 * sunrpc/svc_raw.c: Likewise.
43542 * sunrpc/svc_run.c: Likewise.
43543 * sunrpc/svc_simple.c: Likewise.
43544 * sunrpc/svc_tcp.c: Likewise.
43545 * sunrpc/svc_udp.c: Likewise.
43546 * sunrpc/svc_unix.c: Likewise.
43547 * sunrpc/svcauth_des.c: Likewise.
43548 * sunrpc/xcrypt.c: Likewise.
43549 * sunrpc/xdr.c: Likewise.
43550 * sunrpc/xdr_array.c: Likewise.
43551 * sunrpc/xdr_float.c: Likewise.
43552 * sunrpc/xdr_intXX_t.c: Likewise.
43553 * sunrpc/xdr_mem.c: Likewise.
43554 * sunrpc/xdr_rec.c: Likewise.
43555 * sunrpc/xdr_ref.c: Likewise.
43556 * sunrpc/xdr_sizeof.c: Likewise.
43557 * sunrpc/xdr_stdio.c: Likewise.
43558
e6c61494
UD
435592011-04-10 Ulrich Drepper <drepper@gmail.com>
43560
43561 [BZ #12650]
43562 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
43563 * sysdeps/ia64/dl-tls.h: Likewise.
43564 * sysdeps/powerpc/dl-tls.h: Likewise.
43565 * sysdeps/s390/dl-tls.h: Likewise.
43566 * sysdeps/sh/dl-tls.h: Likewise.
43567 * sysdeps/sparc/dl-tls.h: Likewise.
43568 * sysdeps/x86_64/dl-tls.h: Likewise.
43569 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
43570
34fe483e
AS
435712011-03-14 Andreas Schwab <schwab@redhat.com>
43572
43573 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
43574 rpath element also skip the following colon.
43575 (expand_dynamic_string_token): Add is_path parameter and pass
43576 down to DL_DST_REQUIRED and _dl_dst_substitute.
43577 (decompose_rpath): Call expand_dynamic_string_token with
43578 non-zero is_path. Ignore empty rpaths.
43579 (_dl_map_object_from_fd): Call expand_dynamic_string_token
43580 with zero is_path.
43581
f12a32e6
AS
435822011-04-08 Andreas Schwab <schwab@linux-m68k.org>
43583
43584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43585 Make cancelable.
43586
38a7d692
UD
435872011-04-09 Ulrich Drepper <drepper@gmail.com>
43588
43589 [BZ #12655]
43590 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
43591 Patch by Filipe David Manana <fdmanana@apache.org>.
43592
e451d22b
AS
435932011-04-07 Andreas Schwab <schwab@redhat.com>
43594
43595 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
43596 Maintain aligned stack.
43597 (CHECK_RSP): Remove unused macro.
43598
dedc7c7b
UD
435992011-04-03 Ulrich Drepper <drepper@gmail.com>
43600
43601 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
43602 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
43603
94521213
UD
436042011-04-02 Ulrich Drepper <drepper@gmail.com>
43605
43606 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
43607
8cb700c0 43608 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 43609
0354e355
L
436102011-03-26 H.J. Lu <hongjiu.lu@intel.com>
43611
43612 [BZ #12518]
43613 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
43614 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
43615 * sysdeps/x86_64/memmove.c: New file.
43616 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
43617 (memcpy): Renamed to ...
43618 (__new_memcpy): This.
43619 (memcpy): Provide GLIBC_2_14 memcpy.
43620 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
43621 (memcpy): Provide GLIBC_2_2_5 memcpy.
43622
8593482f
UD
436232011-04-01 Ulrich Drepper <drepper@gmail.com>
43624
43625 [BZ #12631]
43626 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
43627
81a5726b
AS
436282011-03-30 Andreas Schwab <schwab@redhat.com>
43629
43630 * misc/syncfs.c: New file.
43631 * misc/Makefile (routines): Add syncfs.
43632 * posix/unistd.h: Declare syncfs.
43633 * sysdeps/unix/syscalls.list: Add syncfs.
43634
00e5419f
AS
436352011-04-01 Andreas Schwab <schwab@redhat.com>
43636
43637 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
43638 open_by_handle_at.
43639 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43640 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43641 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43642 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43643 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43644 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
43645 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43646
748876bf
UD
436472011-04-01 Ulrich Drepper <drepper@gmail.com>
43648
658e451d
UD
43649 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
43650 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43651 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
43652 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43653 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43654 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43655 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43656
748876bf
UD
43657 * io/Makefile: Compile fallocate.c, fallocate64.c, and
43658 sync_file_range.c with -fexceptions.
43659 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
43660 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
43661 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
43662 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
43663 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
43664 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43665 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
43666 sync_file_range as cancellation point
43667 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
43668 now a wrapper around __call_sync_file_range with cancellation handling.
43669 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
43670 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
43671 function name to __call_sync_file_range.
43672 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
43673 Add call_sync_file_range.
748876bf 43674
6e63d5e1
AS
436752011-04-01 Andreas Schwab <schwab@redhat.com>
43676
43677 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 43678 bits/timex.h.
6e63d5e1 43679
46998f74
UD
436802011-04-01 Ulrich Drepper <drepper@gmail.com>
43681
4c1423ed
UD
43682 * iconv/iconv.h: Fix typo in comment.
43683 * io/fcntl.h: Likewise.
43684 * libio/stdio.h: Likewise.
43685 * posix/spawn.h: Likewise.
43686 * posix/unistd.h: Likewise.
43687 * stdlib/stdlib.h: Likewise.
43688 * time/time.h: Likewise.
43689 * wcsmbs/wchar.h: Likewise.
43690
158648c0
UD
43691 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
43692 open_by_handle): Add.
43693 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
43694 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
43695 Augment a few comments.
43696 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
43697 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43698 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43700 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43701 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
43702 open_by_handle.
43703
46998f74
UD
43704 * io/fcntl.h (AT_EMPTY_PATH): Define.
43705
83fe108b
UD
437062011-03-30 Ulrich Drepper <drepper@gmail.com>
43707
43708 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
43709 * sysdeps/unix/sysv/linux/bits/time.h: New file.
43710 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43711 to...
43712 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
43713 * Versions.def: Add GLIBC_2.14.
43714 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43715 Export.
83fe108b 43716
bb242059
UD
437172011-03-22 Ulrich Drepper <drepper@gmail.com>
43718
43719 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43720 round counter.
43721 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43722
c97a1282
L
437232011-03-20 H.J. Lu <hongjiu.lu@intel.com>
43724
43725 [BZ #12597]
43726 * string/test-strncmp.c (do_page_test): New function.
43727 (check2): Likewise.
43728 (test_main): Call check2.
43729 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43730
2a115601
UD
437312011-03-20 Ulrich Drepper <drepper@gmail.com>
43732
43733 [BZ #12587]
43734 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43735 Handle cache information in CPU leaf 4.
43736 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43737
8126d904
UD
437382011-03-18 Ulrich Drepper <drepper@gmail.com>
43739
042c49c6 43740 [BZ #12583]
8126d904
UD
43741 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43742 character representation.
43743 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43744
ccfe366e
RA
437452011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
43746
43747 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43748 END(__isnan) to END(__isnanf) to match function entry point/label
43749 EALIGN(__isnanf,...).
43750
c6e13027
JJ
437512011-03-10 Jakub Jelinek <jakub@redhat.com>
43752
43753 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43754
33f85a3f
UD
437552011-03-10 Ulrich Drepper <drepper@gmail.com>
43756
028478fa
UD
43757 [BZ #12510]
43758 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43759 copy from the symbol referenced in the relocation to initialize the
43760 used variable.
43761 Patch by Piotr Bury <pbury@goahead.com>.
43762 * elf/Makefile: Add rules to build and tst-unique3.
43763 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43764 * elf/tst-unique3.cc: New file.
43765 * elf/tst-unique3.h: New file.
43766 * elf/tst-unique3lib.cc: New file.
43767 * elf/tst-unique3lib2.cc: New file.
43768
33f85a3f
UD
43769 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43770
03592fc7
MF
437712011-03-10 Mike Frysinger <vapier@gentoo.org>
43772
43773 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43774 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
43775 to _start.
03592fc7 43776
6a5ee102
UD
437772011-03-06 Ulrich Drepper <drepper@gmail.com>
43778
43779 * elf/dl-load.c (_dl_map_object): If we are looking for the first
43780 to-be-loaded object along a path to loader is ld.so.
43781
7e4ba49c
HJ
437822011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43783 Ulrich Drepper <drepper@gmail.com>
43784
43785 * sysdeps/x86_64/memset.S: After aligning destination, code
43786 branches to different locations depending on the value of
43787 misalignment, when multiarch is enabled. Fix this.
43788
437892011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
43790
43791 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43792 Set _x86_64_preferred_memory_instruction for AMD processsors.
43793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43794 Set bit_Prefer_SSE_for_memop for AMD processors.
43795
13a804de
UD
437962011-03-04 Ulrich Drepper <drepper@gmail.com>
43797
43798 * libio/fmemopen.c (fmemopen): Optimize a bit.
43799
9d25c392
AS
438002011-03-03 Andreas Schwab <schwab@redhat.com>
43801
43802 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43803
a5543c6a
RM
438042011-03-03 Roland McGrath <roland@redhat.com>
43805
43806 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43807
012d35f7
DM
438082011-02-28 Aurelien Jarno <aurelien@aurel32.net>
43809
7e4ba49c 43810 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
43811 __bzero_ultra1 instead of __memset_ultra1.
43812
4bff6e01
AS
438132011-02-23 Andreas Schwab <schwab@redhat.com>
43814 Ulrich Drepper <drepper@gmail.com>
43815
43816 [BZ #12509]
43817 * include/link.h (struct link_map): Add l_orig_initfini.
43818 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43819 returning unsuccessfully.
43820 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43821 close of a file loaded at startup, restore the original l_initfini
43822 list.
43823 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43824 list, store the pointer.
43825 * elf/Makefile ($(objpfx)noload-mem): New rule.
43826 (noload-ENV): Define.
43827 (tests): Add $(objpfx)noload-mem.
43828 * elf/noload.c: Include <memcheck.h>.
43829 (main): Call mtrace. Close all opened handles.
43830
f2092faf
AS
438312011-02-17 Andreas Schwab <schwab@redhat.com>
43832
43833 [BZ #12454]
43834 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43835 dependencies are missing.
43836
6c8a2e88
ST
438372011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
43838
f2092faf 43839 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
43840 Hurd needs munmap.
43841 * sysdeps/mach/hurd/ifreq.h: New file.
43842
84a42118
PB
438432011-01-27 Petr Baudis <pasky@suse.cz>
43844 Ulrich Drepper <drepper@gmail.com>
43845
071f805e 43846 [BZ 12445]#
84a42118
PB
43847 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43848 to extend_alloca().
43849 * stdio-common/bug23.c: New file.
43850 * stdio-common/Makefile (tests): Add bug23.
43851
e23fe25b
AS
438522010-09-28 Andreas Schwab <schwab@redhat.com>
43853 Ulrich Drepper <drepper@gmail.com>
43854
43855 [BZ #12489]
43856 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43857 before performing relro protection. At old place add assertion
43858 to make sure nothing changed.
43859
d3f02e10
NS
438602011-02-17 Nathan Sidwell <nathan@codesourcery.com>
43861 Glauber de Oliveira Costa <glommer@gmail.com>
43862
43863 * elf/elf.h: Add new ARM TLS relocs.
43864
d55fd7a5
RA
438652011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
43866
43867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43868 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43869 cast from r3.
43870 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
43871 'tests' variable.
43872 * sysdeps/wordsize-64/tst-writev.c: New file.
43873
2206397e
RA
438742011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
43875
43876 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43877 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43878 insns in _dl_start to prevent a TOC reference before relocs are
43879 resolved.
43880
e9433893
UD
438812011-02-15 Ulrich Drepper <drepper@gmail.com>
43882
43883 [BZ #12469]
43884 * Makeconfig: Remove RANLIB definition.
43885 * Makerules: Don't use RANLIB.
43886 * aclocal.m4: Remove ranlib test.
43887 * configure.in: No need to check for ranlib.
43888 * elf/rtld-Rules: Don't use RANLIB.
43889
f75286c6
ST
438902011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43891
8e31c82d
ST
43892 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43893 protection macro.
43894 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43895 inclusion protection macro.
43896
f75286c6
ST
43897 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43898 SIGRTMIN and SIGRTMAX and print information in that case only when
43899 SIGRTMIN is defined.
43900
c1d0e639
JJ
439012011-02-11 Jakub Jelinek <jakub@redhat.com>
43902
43903 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43904 arginfo fn returning -1.
43905
43906 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43907 and thousands string is zero terminated.
43908
edf9294e
AS
439092011-02-03 Andreas Schwab <schwab@redhat.com>
43910
43911 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43912 sysdeps/unix/sysv/linux/bits/socket.h.
43913
2b7e92df
ST
439142011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
43915
edf9294e
AS
43916 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43917 (__CPU_COUNT): Remove old macros.
43918 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43919 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43920 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
43921 (__sched_cpualloc, __sched_cpufree): Add declarations.
43922
a4c7ea7b
UD
439232011-02-05 Ulrich Drepper <drepper@gmail.com>
43924
43925 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43926 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43927 * nscd/aicache.c (addhstaiX): Return timeout of added value.
43928 (readdhstai): Return value of addhstaiX call.
43929 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43930 (addgrbyX): Return value returned by cache_addgr.
43931 (readdgrbyname): Return value returned by addgrbyX.
43932 (readdgrbygid): Likewise.
43933 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43934 (addpwbyX): Return value returned by cache_addpw.
43935 (readdpwbyname): Return value returned by addhstbyX.
43936 (readdpwbyuid): Likewise.
43937 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43938 (addservbyX): Return value returned by cache_addserv.
43939 (readdservbyname): Return value returned by addservbyX:
43940 (readdservbyport): Likewise.
43941 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43942 (addhstbyX): Return value returned by cache_addhst.
43943 (readdhstbyname): Return value returned by addhstbyX.
43944 (readdhstbyaddr): Likewise.
43945 (readdhstbynamev6): Likewise.
43946 (readdhstbyaddrv6): Likewise.
43947 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43948 (readdinitgroups): Return value returned by addinitgroupsX.
43949 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43950 (prune_cache): Keep track of timeout value of re-added entries.
43951 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43952 * nscd/nscd.h: Adjust prototypes of readd* functions.
43953
a0bf67cc
RM
439542011-02-04 Roland McGrath <roland@redhat.com>
43955
43956 * nis/nis_server.c (nis_servstate): Use the right name for 0.
43957 (nis_stats): Likewise.
43958 * nis/nis_modify.c (nis_modify): Likewise.
43959 * nis/nis_remove.c (nis_remove): Likewise.
43960 * nis/nis_add.c (nis_add): Likewise.
43961
43962 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43963
43964 * posix/fnmatch_loop.c: Add some consts.
43965
43966 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43967
435b95eb
L
439682011-02-02 H.J. Lu <hongjiu.lu@intel.com>
43969
43970 [BZ #12460]
43971 * config.make.in (config-cflags-novzeroupper): Define.
43972 * configure.in: Substitute libc_cv_cc_novzeroupper.
43973 * elf/Makefile (AVX-CFLAGS): Define.
43974 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43975 (CFLAGS-tst-auditmod4a.c): Likewise.
43976 (CFLAGS-tst-auditmod4b.c): Likewise.
43977 (CFLAGS-tst-auditmod6b.c): Likewise.
43978 (CFLAGS-tst-auditmod6c.c): Likewise.
43979 (CFLAGS-tst-auditmod7b.c): Likewise.
43980 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43981
8517b15e
UD
439822011-02-02 Ulrich Drepper <drepper@gmail.com>
43983
43984 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43985 function to the callback.
43986 Patch partly by Jiri Olsa <jolsa@redhat.com>.
43987
10a656fe
AS
439882011-02-02 Andreas Schwab <schwab@redhat.com>
43989
43990 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43991 of errno.
43992
968dad0a
UD
439932011-01-19 Ulrich Drepper <drepper@gmail.com>
43994
9f94d2ea 43995 [BZ #11724]
968dad0a
UD
43996 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43997 of constructors.
43998 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43999 of destructors.
44000 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44001
44002 [BZ #11724]
44003 * elf/Makefile: Add rules to build and run new test.
44004 * elf/tst-initorder.c: New file.
44005 * elf/tst-initorder.exp: New file.
44006 * elf/tst-initordera1.c: New file.
44007 * elf/tst-initordera2.c: New file.
44008 * elf/tst-initordera3.c: New file.
44009 * elf/tst-initordera4.c: New file.
44010 * elf/tst-initorderb1.c: New file.
44011 * elf/tst-initorderb2.c: New file.
44012 * elf/tst-order-a1.c: New file.
44013 * elf/tst-order-a2.c: New file.
44014 * elf/tst-order-a3.c: New file.
44015 * elf/tst-order-a4.c: New file.
44016 * elf/tst-order-b1.c: New file.
44017 * elf/tst-order-b2.c: New file.
44018 * elf/tst-order-main.c: New file.
44019 New test case by George Gensure <werkt0@gmail.com>.
44020
86e92359
UD
440212010-10-01 Andreas Schwab <schwab@redhat.com>
44022
44023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44024 decoding ACE if AI_CANONIDN.
44025
5d5732b0
UD
440262011-01-18 Ulrich Drepper <drepper@gmail.com>
44027
44028 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44029
a77e8cbc
UD
440302011-01-17 Ulrich Drepper <drepper@gmail.com>
44031
6392473f
UD
44032 * version.h (RELEASE): Bump for 2.13 release.
44033 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44034
620a0529
UD
44035 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44036
18ba70a5
UD
44037 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44038 MADV_NOHUGEPAGE.
32465c3e
UD
44039 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44040 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44041 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44042 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44043 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44044 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44045
c0dafcf1
UD
44046 * posix/getconf.c: Update copyright year.
44047 * catgets/gencat.c: Likewise.
44048 * csu/version.c: Likewise.
44049 * debug/catchsegv.sh: Likewise.
44050 * debug/xtrace.sh: Likewise.
44051 * elf/ldconfig.c: Likewise.
44052 * elf/ldd.bash.in: Likewise.
44053 * elf/sprof.c (print_version): Likewise.
44054 * iconv/iconv_prog.c: Likewise.
44055 * iconv/iconvconfig.c: Likewise.
44056 * locale/programs/locale.c: Likewise.
44057 * locale/programs/localedef.c: Likewise.
44058 * malloc/memusage.sh: Likewise.
44059 * malloc/mtrace.pl: Likewise.
44060 * nscd/nscd.c (print_version): Likewise.
44061 * nss/getent.c: Likewise.
44062
a77e8cbc
UD
44063 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44064 PF_CAIF, and PF_ALG.
44065 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44066
77e8bddf
AS
440672011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44068
1f20b93a
AS
44069 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44070 (modules-names): Use them.
44071 (ifunc-test-modules, ifunc-pie-tests): Define.
44072 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44073 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44074 (test-extras): Likewise.
44075 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44076 $(compile-command.c).
44077 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44078 (all-built-dso): Define.
44079 (check-textrel.out, check-execstack.out): Depend on it.
44080
77e8bddf
AS
44081 * configure.in: Don't override --enable-multi-arch.
44082
bc425b33
UD
440832011-01-15 Ulrich Drepper <drepper@gmail.com>
44084
44085 [BZ #6812]
44086 * nscd/hstcache.c (tryagain): Define.
44087 (cache_addhst): Return tryagain not notfound for temporary errors.
44088 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44089 failed.
44090
794c3ad3
UD
440912011-01-14 Ulrich Drepper <drepper@gmail.com>
44092
70181fdd
UD
44093 [BZ #10563]
44094 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44095 to make the syscall.
44096 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44097
794c3ad3
UD
44098 [BZ #12378]
44099 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44100 and fall back to matching as normal character if the string ends before
44101 the matching ']' is found. This is what POSIX requires.
44102 * posix/testfnm.c: Adjust test result.
44103 * posix/globtest.sh: Adjust test result. Add new test.
44104 * posix/tst-fnmatch.input: Likewise.
44105 * posix/tst-fnmatch2.c: Add new test.
44106
68dc9497
AS
441072010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44108
44109 * elf/Makefile (check-execstack): Revert last change. Depend on
44110 check-execstack.h.
44111 (check-execstack.h): New target.
44112 (generated): Add check-execstack.h.
44113 * elf/check-execstack.c: Include "check-execstack.h".
44114 (main): Revert last change.
44115 (handle_file): Return zero if GNU_STACK is absent and
44116 DEFAULT_STACK_PERMS doesn't include PF_X.
44117
451f001b
UD
441182011-01-13 Ulrich Drepper <drepper@gmail.com>
44119
cfa28e56
UD
44120 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44121 in child fails because the descriptor is already closed.
8cf8ce17
UD
44122 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44123 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44124 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 44125
1086d70d
UD
44126 [BZ #12397]
44127 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44128 syscall.
44129
451f001b
UD
44130 [BZ #10484]
44131 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44132 temporary buffer used to handle multi lookups locally.
a85b5cb4 44133 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 44134
08769175
UD
441352011-01-12 Ulrich Drepper <drepper@gmail.com>
44136
44137 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44138 loader is ld.so.
44139
5e49c52e
UD
441402011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44141
44142 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44143 alignment for SSE2.
44144
60522a5f
UD
441452011-01-12 Ulrich Drepper <drepper@gmail.com>
44146
44147 [BZ #12394]
44148 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44149 characters. When rounding increased number of integer digits recompute
44150 number of groups.
44151 * stdio-common/tst-grouping.c: New file.
44152 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44153
f257bbd7
UD
441542011-01-09 Ulrich Drepper <drepper@gmail.com>
44155
44156 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44157 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44158
44159 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44160 void.
44161 * bits/select.h: Likewise.
44162
fa9c15cb
UD
441632011-01-08 Ulrich Drepper <drepper@gmail.com>
44164
44165 * po/ja.po: Update from translation team.
44166
16c2895f
DM
441672011-01-04 David S. Miller <davem@sunset.davemloft.net>
44168
44169 [BZ #11155]
44170 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44171 implementation just like for lxstat, fxstatat, et al.
44172
2543fef2
JM
441732010-12-27 Jim Meyering <meyering@redhat.com>
44174
44175 [BZ #12348]
44176 * posix/regexec.c (build_trtable): Return failure indication upon
44177 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44178
98727dbe
UD
441792010-12-25 Ulrich Drepper <drepper@gmail.com>
44180
5bd6dc5c
UD
44181 [BZ #12201]
44182 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44183 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44184 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44185 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44186
97983464
UD
44187 [BZ #12207]
44188 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44189
98727dbe
UD
44190 [BZ #12204]
44191 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44192 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44193
4a531bb0
L
441942010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44195
44196 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44197 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44198 script has SORT_BY_INIT_PRIORITY.
44199 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44200 NO_CTORS_DTORS_SECTIONS is defined.
44201 * elf/soinit.c: Likewise.
44202 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44203 NO_CTORS_DTORS_SECTIONS is defined.
44204 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44205 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44206 * sysdeps/sh/init-first.c: Likewise.
44207 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44208
07eb4b71
UD
442092010-12-24 Ulrich Drepper <drepper@gmail.com>
44210
44211 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44212 always use the slow path.
44213
30950a5f
RA
442142010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44215
44216 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44217 similar rule which adds the sysdep directories to the header search in
44218 order to pick up the correct platform stackinfo.h.
44219 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44220 perform test if it is, otherwise return successfully without testing.
44221 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44222 DEFAULT_STACK_PERMS define in stackinfo.h.
44223 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44224 defined in stackinfo.h.
44225 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44226 DEFAULT_STACK_PERMS defined in stackinfo.h.
44227 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44228 * sysdeps/ia64/stackinfo.h: Likewise.
44229 * sysdeps/s390/stackinfo.h: Likewise.
44230 * sysdeps/sh/stackinfo.h: Likewise.
44231 * sysdeps/sparc/stackinfo.h: Likewise.
44232 * sysdeps/x86_64/stackinfo.h: Likewise.
44233 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44234 PF_X for powerpc64. Retain PF_X for powerpc32.
44235
db753e2c
UD
442362010-12-19 Ulrich Drepper <drepper@gmail.com>
44237
14b697f7
UD
44238 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44239 accurately.
db753e2c
UD
44240 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44241 GETDENTS_64BIT_ALIGNED.
44242
28300719
UD
442432010-12-14 Ulrich Drepper <dreper@gmail.com>
44244
14b697f7 44245 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 44246
4f197237
AS
442472010-12-10 Andreas Schwab <schwab@redhat.com>
44248
dbb0472f
AS
44249 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44250 _GNU_SOURCE.
44251
4f197237
AS
44252 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44253 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44254 Remove __restrict.
44255 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44256 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44257
fb88ac72
UD
442582010-12-09 Ulrich Drepper <drepper@gmail.com>
44259
44260 [BZ #11655]
44261 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44262 are initialized.
44263
42acbb92
JJ
442642010-12-09 Jakub Jelinek <jakub@redhat.com>
44265
44266 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44267
c038d98d
UD
442682010-12-03 Ulrich Drepper <drepper@gmail.com>
44269
44270 * po/it.po: Update from translation team.
44271
3a4a2499
L
442722010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44273
44274 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44275 unused codes.
44276
1e24cf6e
UD
442772010-11-30 Ulrich Drepper <drepper@gmail.com>
44278
44279 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44280
a7690819
AS
442812010-11-24 Andreas Schwab <schwab@redhat.com>
44282
44283 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44284 specially.
44285 (gaih_getanswer_slice): Likewise.
44286
3bf8d1b1
JJ
442872010-10-20 Jakub Jelinek <jakub@redhat.com>
44288
44289 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44290
6db52fbb
PB
442912010-05-31 Petr Baudis <pasky@suse.cz>
44292
44293 [BZ #11149]
44294 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44295 silently even in the chroot mode.
44296
eaca7569
UD
442972010-11-22 Ulrich Drepper <drepper@gmail.com>
44298
44299 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44300 last patch a bit. Pretty printing
44301
3056dcdb
UD
443022010-05-31 Petr Baudis <pasky@suse.cz>
44303
44304 [BZ #10085]
44305 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44306 initialization of skip_initgroups_dyn.
44307
cf7c9078
UD
443082010-11-19 Ulrich Drepper <drepper@gmail.com>
44309
44310 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44311 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44312
a1fb5e3e
UD
443132010-11-16 Ulrich Drepper <drepper@gmail.com>
44314
44315 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44316
3540d66b
AS
443172010-11-11 Andreas Schwab <schwab@redhat.com>
44318
44319 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44320 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44321 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44322 ($(objpfx)tst-fnmatch-mem): New rule.
44323 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44324 * posix/tst-fnmatch.c (main): Call mtrace.
44325
13b69574
L
443262010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44327
44328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44329 Support Intel processor model 6 and model 0x2c.
44330
da93d214
LM
443312010-11-10 Luis Machado <luisgpm@br.ibm.com>
44332
44333 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44334 signed comparison.
44335
8ca52c6e
L
443362010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44337
44338 [BZ #12205]
44339 * string/test-strncasecmp.c (check_result): New function.
44340 (do_one_test): Use it.
44341 (check1): New function.
44342 (test_main): Use it.
44343 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44344 Support strcasecmp and strncasecmp.
44345
69da074d
UD
443462010-11-08 Ulrich Drepper <drepper@gmail.com>
44347
44348 [BZ #12194]
44349 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44350 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44351
ff02d528
L
443522010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44353
44354 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44355 IFUNC support.
44356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44357 memset-x86-64.
44358 * sysdeps/x86_64/multiarch/bzero.S: New file.
44359 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44360 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44361 * sysdeps/x86_64/multiarch/memset.S: New file.
44362 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44363 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44364 Set bit_Prefer_SSE_for_memop for Intel processors.
44365 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44366 Define.
44367 (index_Prefer_SSE_for_memop): Define.
44368 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44369
344d0b54
LM
443702010-11-04 Luis Machado <luisgpm@br.ibm.com>
44371
44372 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44373 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44374
c0dde15b
UD
443752010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44376
44377 [BZ #12191]
44378 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44379 (__x86_64_raw_data_cache_size_half): Likewise.
44380 (__x86_64_raw_shared_cache_size): Likewise.
44381 (__x86_64_raw_shared_cache_size_half): Likewise.
44382
44383 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44384 (__x86_64_raw_data_cache_size_half): Likewise.
44385 (__x86_64_raw_shared_cache_size): Likewise.
44386 (__x86_64_raw_shared_cache_size_half): Likewise.
44387 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44388 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44389 and __x86_64_raw_shared_cache_size_half. Round
44390 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44391 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44392 to multiple of 256 bytes.
44393
0e516e0e
MS
443942010-11-03 Ulrich Drepper <drepper@gmail.com>
44395
44396 [BZ #12167]
44397 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44398 of inacessible symlinks. Verify result of symlink before returning it.
44399 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44400 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44401
0e012e87
ER
444022010-10-28 Erich Ritz <erichritz@gmail.com>
44403
44404 * math/math.h (isinf): Fix typo in comment.
44405
de0ff7bc
UD
444062010-11-01 Ulrich Drepper <drepper@gmail.com>
44407
44408 * po/da.po: Update from translation team.
44409
fa41c84d
UD
444102010-10-26 Ulrich Drepper <drepper@gmail.com>
44411
44412 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44413 is added to the list.
44414
f0967738
AK
444152010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44416 Ulrich Drepper <drepper@gmail.com>
44417
44418 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44419 the global list here. Move code to...
44420 (_dl_add_to_namespace_list): ...here. New function.
44421 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44422 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44423 * elf/dl-load.c (lose): Don't remove the element from the list.
44424 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44425 (_dl_map_object): Likewise.
44426
444272010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
44428
44429 [BZ #12159]
44430 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44431 into all bytes of SSE register.
44432 Patch by Richard Li <richardpku@gmail.com>.
44433
f0967738 444342010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
44435
44436 [BZ #12140]
44437 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44438 perturbing.
44439
d0b9e94f
MB
444402010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44441
44442 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44443 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44444 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44445 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44447 submachine.
44448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44449
8e9f92e9
AS
444502010-10-22 Andreas Schwab <schwab@redhat.com>
44451
44452 * include/dlfcn.h (__RTLD_SECURE): Define.
44453 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44454 mode & __RTLD_SECURE instead.
44455 (open_path): Rename preloaded parameter to secure.
44456 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44457 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44458 * elf/dl-deps.c (openaux): Likewise.
44459 * elf/rtld.c (struct map_args): Remove is_preloaded.
44460 (map_doit): Don't use it.
44461 (dl_main): Likewise.
44462 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44463 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44464
bc96fbda
AS
444652010-09-09 Andreas Schwab <schwab@redhat.com>
44466
44467 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44468 (sysd-rules-targets): Remove duplicates.
44469 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44470 rtld-%.$o dependency.
44471
22cd1c9b
AS
444722010-10-18 Andreas Schwab <schwab@redhat.com>
44473
44474 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44475 _dl_map_object do it.
44476
18edac48
UD
444772010-10-19 Ulrich Drepper <drepper@gmail.com>
44478
44479 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44480 fast fma builtins, define the macros in the C99 standard.
44481 (FP_FAST_FMAF): Likewise.
44482 (FP_FAST_FMAL): Likewise.
44483 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44484
44485 * bits/mathdef.h: Update copyright year.
44486 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44487
d2050124
MM
444882010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44489
44490 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44491 builtins, define the macros in the C99 standard.
44492 (FP_FAST_FMAF): Likewise.
44493 (FP_FAST_FMAL): Likewise.
44494 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44495 multiply/add.
44496 (FP_FAST_FMAF): Likewise.
44497
475facd1
JJ
444982010-10-15 Jakub Jelinek <jakub@redhat.com>
44499
44500 [BZ #3268]
44501 * math/libm-test.inc (fma_test): Some new testcases.
44502 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
44503 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
44504 y and infinite z. Do multiplication by C already in long double.
44505 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
44506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
44507 y and infinite z. Do bitwise or of inexact bit into u.d.
44508 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
44509 * sysdeps/i386/fpu/s_fmaf.S: Removed.
44510 * sysdeps/i386/fpu/s_fma.S: Removed.
44511 * sysdeps/i386/fpu/s_fmal.S: Removed.
44512
7c08a05c
JJ
445132010-10-16 Jakub Jelinek <jakub@redhat.com>
44514
44515 [BZ #3268]
44516 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
44517 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
44518 computation is not scheduled after fetestexcept. Fix value
44519 of minimum denormal long double.
44520
f3f7372d
JJ
445212010-10-14 Jakub Jelinek <jakub@redhat.com>
44522
44523 [BZ #3268]
44524 * math/libm-test.inc (fma_test): Add some more tests.
44525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
44526 correctly.
44527
14d43591
AS
445282010-10-15 Andreas Schwab <schwab@redhat.com>
44529
44530 * scripts/data/localplt-s390-linux-gnu.data: New file.
44531 * scripts/data/localplt-s390x-linux-gnu.data: New file.
44532
5e908464
JJ
445332010-10-13 Jakub Jelinek <jakub@redhat.com>
44534
44535 [BZ #3268]
44536 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
44537 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
44538 instead of dbl-64.
44539 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
44540 inlines.
44541 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
44542 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
44543 if one of x and y is very large and the other is subnormal.
44544 * sysdeps/s390/fpu/s_fmaf.c: New file.
44545 * sysdeps/s390/fpu/s_fma.c: New file.
44546 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
44547 * sysdeps/powerpc/fpu/s_fma.S: New file.
44548 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
44549 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
44550 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
44551
445522010-10-12 Jakub Jelinek <jakub@redhat.com>
44553
44554 [BZ #3268]
44555 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
44556 fma tests.
44557 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
44558 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
44559 * sysdeps/i386/i686/multiarch/s_fma.c: Include
44560 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
44561 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
44562 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
44563 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
44564
b833d51f
UD
445652010-10-12 Ulrich Drepper <drepper@redhat.com>
44566
44567 [BZ #12078]
44568 * posix/regcomp.c (parse_branch): One more memory leak plugged.
44569 * posix/bug-regex31.input: Add test case.
44570
1751705d
UD
445712010-10-11 Ulrich Drepper <drepper@gmail.com>
44572
e9b9cbf5
UD
44573 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
44574 * posix/bug-regex31.input: New file.
44575
44576 [BZ #12078]
44577 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
44578 (parse_sub_exp): Fix last change, use postorder.
44579
ef06edbe
UD
44580 * posix/bug-regex31.c: New file.
44581 * posix/Makefile: Add rules to build and run bug-regex31.
44582
a129c80d
UD
44583 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
44584
44585 [BZ #12078]
44586 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
44587
b76b818e
UD
44588 [BZ #12108]
44589 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
44590 to have entries in sys_siglist.
44591
1751705d
UD
44592 [BZ #12093]
44593 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
44594 be NULL.
44595
9ff8d36f
JJ
445962010-10-07 Jakub Jelinek <jakub@redhat.com>
44597
44598 [BZ #3268]
44599 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
44600 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
44601 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
44602 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
44603 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44604 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
44605 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
44606 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
44607 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
44608 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
44609 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
44610 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
44611 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
44612 * math/ftestexcept.c (fetestexcept): Likewise.
44613 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
44614 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
44615 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
44616 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
44617 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
44618 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
44619 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44620
af325969
UD
446212010-10-11 Ulrich Drepper <drepper@gmail.com>
44622
c579b202 44623 [BZ #12107]
af325969
UD
44624 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
44625 newline.
44626
67a67b95
UD
446272010-10-06 Ulrich Drepper <drepper@gmail.com>
44628
44629 * string/bug-strstr1.c: New file.
44630 * string/Makefile: Add rules to build and run bug-strstr1.
44631
5fb308bc
EB
446322010-10-05 Eric Blake <eblake@redhat.com>
44633
44634 [BZ #12092]
44635 * string/str-two-way.h (two_way_long_needle): Always clear memory
44636 when skipping input due to the shift table.
44637
45db99c7
UD
446382010-10-03 Ulrich Drepper <drepper@gmail.com>
44639
3b111893
UD
44640 [BZ #12005]
44641 * malloc/mcheck.c: Handle large requests.
44642
45db99c7
UD
44643 [BZ #12077]
44644 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
44645 for strncmp and strncasecmp.
44646 * string/stratcliff.c: Add tests for strcmp and strncmp.
44647 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
44648
cf7a1eb8
NI
446492010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44650
44651 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
44652 __set_fpscr.
44653
6484ba5e
AJ
446542010-09-30 Andreas Jaeger <aj@suse.de>
44655
44656 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
44657 (CGROUP_SUPER_MAGIC): Define.
44658 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44659 Handle btrfs and cgroup file systems.
44660 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44661 Likewise.
44662
91c42559
LM
446632010-09-27 Luis Machado <luisgpm@br.ibm.com>
44664
44665 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
44666 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
44667
87a97932
AK
446682010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44669
44670 [BZ #12067]
44671 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
44672 trying to locate the ELF header.
44673
c21cc9bc
AS
446742010-09-27 Andreas Schwab <schwab@redhat.com>
44675
44676 [BZ #11611]
44677 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
44678 Mask out sign-bit copies when constructing f_fsid.
44679
315970f6
PB
446802010-09-24 Petr Baudis <pasky@suse.cz>
44681
44682 * debug/stack_chk_fail_local.c: Add missing licence exception.
44683 * debug/warning-nop.c: Likewise.
44684
1ac7a2c7
JM
446852010-09-15 Joseph Myers <joseph@codesourcery.com>
44686
44687 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
44688 implementing getdents64 using getdents syscall, set d_type if
44689 __ASSUME_GETDENTS32_D_TYPE.
44690
56801c50
AS
446912010-09-16 Andreas Schwab <schwab@redhat.com>
44692
44693 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
44694 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
44695
dda51327
UD
446962010-09-21 Ulrich Drepper <drepper@redhat.com>
44697
44698 [BZ #12037]
44699 * posix/unistd.h: Undo change of feature selection for ftruncate from
44700 2010-01-11.
44701
8ffcee4a
UD
447022010-09-20 Ulrich Drepper <drepper@redhat.com>
44703
a545ecd9 44704 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
44705 detection.
44706
e24f0a8b
AS
447072010-09-20 Andreas Schwab <schwab@redhat.com>
44708
44709 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44710 fanotify_mark.
44711 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44712
7291c56f
AS
447132010-09-14 Andreas Schwab <schwab@redhat.com>
44714
44715 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44716 variables after CHECK_SP call.
44717 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44718
bc5fb037
AS
447192010-09-13 Andreas Schwab <schwab@redhat.com>
44720 Ulrich Drepper <drepper@redhat.com>
44721
44722 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44723 re-relocationg ld.so.
44724 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44725 _dl_init_paths call.
44726 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
44727 here anymore.
44728
e66e7419
UD
447292010-09-14 Ulrich Drepper <drepper@redhat.com>
44730
44731 * resolv/res_init.c (__res_vinit): Count the default server we added.
44732
c044aa75
CLT
447332010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
44734 Ulrich Drepper <drepper@redhat.com>
44735
44736 [BZ #11968]
44737 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44738 (____longjmp_chk): Use %ebx for saving value across system call.
44739 Add unwind info.
44740
32cf4069
AS
447412010-09-06 Andreas Schwab <schwab@redhat.com>
44742
44743 * manual/Makefile: Don't mix pattern rules with normal rules.
44744
817328ee
AS
447452010-09-05 Andreas Schwab <schwab@linux-m68k.org>
44746
44747 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44748 operation.
44749 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44750 * libio/iofopncook.c (_IO_cookie_init): Likewise.
44751 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44752 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44753 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44754 Likewise.
44755
29fddf61
UD
447562010-09-04 Ulrich Drepper <drepper@redhat.com>
44757
44758 [BZ #11979]
44759 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44760 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44761
0959ffc9
UD
447622010-09-02 Ulrich Drepper <drepper@redhat.com>
44763
44764 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44765 * sysdeps/x86_64/addmul_1.S: Likewise.
44766 * sysdeps/x86_64/lshift.S: Likewise.
44767 * sysdeps/x86_64/mul_1.S: Likewise.
44768 * sysdeps/x86_64/rshift.S: Likewise.
44769 * sysdeps/x86_64/sub_n.S: Likewise.
44770 * sysdeps/x86_64/submul_1.S: Likewise.
44771
ece29840
ST
447722010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
44773
0959ffc9
UD
44774 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44775 Define __sched_param instead of SCHED_* and sched_param when
ece29840 44776 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 44777 * bits/sched.h [__need_schedparam]
ece29840 44778 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
44779 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44780 (__defined_schedparam): Define to 1.
ece29840
ST
44781 (__sched_param): New structure, identical to sched_param.
44782 (__need_schedparam): Undefine.
44783
e53a31fe
MF
447842010-08-31 Mike Frysinger <vapier@gentoo.org>
44785
fdc0c10d
MF
44786 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44787 (epoll_create1): Declare.
44788
e53a31fe
MF
44789 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44790
a726d796
AS
447912010-08-31 Andreas Schwab <schwab@redhat.com>
44792
44793 [BZ #7066]
44794 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44795 shifting retval into place.
44796
2f3e3dc7
UD
447972010-09-01 Ulrich Drepper <drepper@redhat.com>
44798
f2933da9
UD
44799 * nis/rpcsvc/nis.h: Update copyright notice.
44800 * nis/rpcsvc/nis.x: Likewise.
44801 * nis/rpcsvc/nis_callback.h: Likewise.
44802 * nis/rpcsvc/nis_callback.x: Likewise.
44803 * nis/rpcsvc/nis_object.x: Likewise.
44804 * nis/rpcsvc/nis_tags.h: Likewise.
44805 * nis/rpcsvc/yp.h: Likewise.
44806 * nis/rpcsvc/yp.x: Likewise.
44807 * nis/rpcsvc/ypupd.h: Likewise.
44808 * nis/yp_xdr.c: Likewise.
44809 * nis/ypupdate_xdr.c: Likewise.
44810
2f3e3dc7
UD
44811 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
44812 mainly the body of pmap_getport. Add parameters to specify timeouts.
44813 (pmap_getport): Use __libc_rpc_getport.
44814 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44815 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44816 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44817
f3dcc2f9
AS
448182010-08-31 Andreas Schwab <schwab@linux-m68k.org>
44819
44820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44821 fanotify_mark.
44822
6d34eb5b
RM
448232010-08-27 Roland McGrath <roland@redhat.com>
44824
44825 * sysdeps/i386/i686/multiarch/Makefile
44826 (CFLAGS-varshift.c): New variable.
44827
9ea3de11
UD
448282010-08-27 Ulrich Drepper <drepper@redhat.com>
44829
c96d23fc
UD
44830 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44831 * sysdeps/i386/i686/multiarch/varshift.c: New file.
44832
9ea3de11
UD
44833 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44834
44835 * sysdeps/x86_64/strlen.S: Minimal code improvement.
44836
623aac7f
L
448372010-08-26 H.J. Lu <hongjiu.lu@intel.com>
44838
44839 * sysdeps/x86_64/strlen.S: Unroll the loop.
44840 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44841 strlen-sse2 strlen-sse2-bsf.
44842 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44843 __strlen_no_bsf if bit_Slow_BSF is set.
44844 (__strlen_sse42): Removed.
44845 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44846 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44847
8b2b7715
RM
448482010-08-25 Roland McGrath <roland@redhat.com>
44849
44850 * sysdeps/x86_64/multiarch/varshift.S: File removed.
44851 * sysdeps/x86_64/multiarch/varshift.c: New file.
44852 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44853 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44854 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44855 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44856
e73015f2
L
448572010-08-25 H.J. Lu <hongjiu.lu@intel.com>
44858
44859 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44860 strlen-sse2 strlen-sse2-bsf.
44861 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44862 __strlen_sse2_bsf if bit_Slow_BSF is unset.
44863 (__strlen_sse2): Removed.
44864 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44865 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44867 bit_Slow_BSF for Atom.
44868 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44869 (index_Slow_BSF): Define.
44870 (HAS_SLOW_BSF): Define.
44871
df24a73e
UD
448722010-08-25 Ulrich Drepper <drepper@redhat.com>
44873
44874 [BZ #10851]
44875 * resolv/res_init.c (__res_vinit): When no server address at all
44876 is given default to loopback.
44877
f2ac4868
RM
448782010-08-24 Roland McGrath <roland@redhat.com>
44879
09055553
RM
44880 * configure.in: Remove config-name.h generation.
44881 * configure: Regenerated.
44882 * config-name.in: File removed.
44883 * scripts/config-uname.sh: New file.
44884 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44885 ($(objdir)config-name.h): New target.
44886
f2ac4868
RM
44887 * sunrpc/rpc_parse.h: Avoid nested comment.
44888
73f27d5e
RH
448892010-08-24 Richard Henderson <rth@redhat.com>
44890 Ulrich Drepper <drepper@redhat.com>
44891 H.J. Lu <hongjiu.lu@intel.com>
44892
44893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44894 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44895 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44896 Replace _mm_srli_si128 with __m128i_shift_right. Replace
44897 _mm_alignr_epi8 with _mm_loadu_si128.
44898 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44899 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44900 (__m128i_shift_right): Removed.
44901 * sysdeps/i386/i686/multiarch/varshift.h: New file.
44902 * sysdeps/i386/i686/multiarch/varshift.S: New file.
44903 * sysdeps/x86_64/multiarch/varshift.h: New file.
44904 * sysdeps/x86_64/multiarch/varshift.S: New file.
44905
84b9230c
MF
449062010-08-21 Mike Frysinger <vapier@gentoo.org>
44907
44908 * configure.in: Move assembler checks to before sysdep dir checking.
44909
9bbd0ddc
PB
449102010-08-20 Petr Baudis <pasky@suse.cz>
44911
44912 * LICENSES: Sync the sunrpc license.
44913
9da4bb31
UD
449142010-08-19 Ulrich Drepper <drepper@redhat.com>
44915
a7ab6ec8
UD
44916 * sunrpc/auth_des.c: Update copyright notice once again.
44917 * sunrpc/auth_none.c: Likewise.
44918 * sunrpc/auth_unix.c: Likewise.
44919 * sunrpc/authdes_prot.c: Likewise.
44920 * sunrpc/authuxprot.c: Likewise.
44921 * sunrpc/bindrsvprt.c: Likewise.
44922 * sunrpc/clnt_gen.c: Likewise.
44923 * sunrpc/clnt_perr.c: Likewise.
44924 * sunrpc/clnt_raw.c: Likewise.
44925 * sunrpc/clnt_simp.c: Likewise.
44926 * sunrpc/clnt_tcp.c: Likewise.
44927 * sunrpc/clnt_udp.c: Likewise.
44928 * sunrpc/clnt_unix.c: Likewise.
44929 * sunrpc/des_crypt.c: Likewise.
44930 * sunrpc/des_soft.c: Likewise.
44931 * sunrpc/get_myaddr.c: Likewise.
44932 * sunrpc/getrpcport.c: Likewise.
44933 * sunrpc/key_call.c: Likewise.
44934 * sunrpc/key_prot.c: Likewise.
44935 * sunrpc/openchild.c: Likewise.
44936 * sunrpc/pm_getmaps.c: Likewise.
44937 * sunrpc/pm_getport.c: Likewise.
44938 * sunrpc/pmap_clnt.c: Likewise.
44939 * sunrpc/pmap_prot.c: Likewise.
44940 * sunrpc/pmap_prot2.c: Likewise.
44941 * sunrpc/pmap_rmt.c: Likewise.
44942 * sunrpc/rpc/auth.h: Likewise.
44943 * sunrpc/rpc/auth_unix.h: Likewise.
44944 * sunrpc/rpc/clnt.h: Likewise.
44945 * sunrpc/rpc/des_crypt.h: Likewise.
44946 * sunrpc/rpc/key_prot.h: Likewise.
44947 * sunrpc/rpc/netdb.h: Likewise.
44948 * sunrpc/rpc/pmap_clnt.h: Likewise.
44949 * sunrpc/rpc/pmap_prot.h: Likewise.
44950 * sunrpc/rpc/pmap_rmt.h: Likewise.
44951 * sunrpc/rpc/rpc.h: Likewise.
44952 * sunrpc/rpc/rpc_des.h: Likewise.
44953 * sunrpc/rpc/rpc_msg.h: Likewise.
44954 * sunrpc/rpc/svc.h: Likewise.
44955 * sunrpc/rpc/svc_auth.h: Likewise.
44956 * sunrpc/rpc/types.h: Likewise.
44957 * sunrpc/rpc/xdr.h: Likewise.
44958 * sunrpc/rpc_clntout.c: Likewise.
44959 * sunrpc/rpc_cmsg.c: Likewise.
44960 * sunrpc/rpc_common.c: Likewise.
44961 * sunrpc/rpc_cout.c: Likewise.
44962 * sunrpc/rpc_dtable.c: Likewise.
44963 * sunrpc/rpc_hout.c: Likewise.
44964 * sunrpc/rpc_main.c: Likewise.
44965 * sunrpc/rpc_parse.c: Likewise.
44966 * sunrpc/rpc_parse.h: Likewise.
44967 * sunrpc/rpc_prot.c: Likewise.
44968 * sunrpc/rpc_sample.c: Likewise.
44969 * sunrpc/rpc_scan.c: Likewise.
44970 * sunrpc/rpc_scan.h: Likewise.
44971 * sunrpc/rpc_svcout.c: Likewise.
44972 * sunrpc/rpc_tblout.c: Likewise.
44973 * sunrpc/rpc_util.c: Likewise.
44974 * sunrpc/rpc_util.h: Likewise.
44975 * sunrpc/rpcinfo.c: Likewise.
44976 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44977 * sunrpc/rpcsvc/key_prot.x: Likewise.
44978 * sunrpc/rpcsvc/klm_prot.x: Likewise.
44979 * sunrpc/rpcsvc/mount.x: Likewise.
44980 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44981 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44982 * sunrpc/rpcsvc/rex.x: Likewise.
44983 * sunrpc/rpcsvc/rstat.x: Likewise.
44984 * sunrpc/rpcsvc/rusers.x: Likewise.
44985 * sunrpc/rpcsvc/sm_inter.x: Likewise.
44986 * sunrpc/rpcsvc/spray.x: Likewise.
44987 * sunrpc/rpcsvc/yppasswd.x: Likewise.
44988 * sunrpc/rtime.c: Likewise.
44989 * sunrpc/svc.c: Likewise.
44990 * sunrpc/svc_auth.c: Likewise.
44991 * sunrpc/svc_authux.c: Likewise.
44992 * sunrpc/svc_raw.c: Likewise.
44993 * sunrpc/svc_run.c: Likewise.
44994 * sunrpc/svc_simple.c: Likewise.
44995 * sunrpc/svc_tcp.c: Likewise.
44996 * sunrpc/svc_udp.c: Likewise.
44997 * sunrpc/svc_unix.c: Likewise.
44998 * sunrpc/svcauth_des.c: Likewise.
44999 * sunrpc/xcrypt.c: Likewise.
45000 * sunrpc/xdr.c: Likewise.
45001 * sunrpc/xdr_array.c: Likewise.
45002 * sunrpc/xdr_float.c: Likewise.
45003 * sunrpc/xdr_mem.c: Likewise.
45004 * sunrpc/xdr_rec.c: Likewise.
45005 * sunrpc/xdr_ref.c: Likewise.
45006 * sunrpc/xdr_sizeof.c: Likewise.
45007 * sunrpc/xdr_stdio.c: Likewise.
45008
9da4bb31
UD
45009 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45010 handling.
45011
bdaa77bc
AS
450122010-08-19 Andreas Schwab <schwab@redhat.com>
45013
45014 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45015
fe2f79db
LM
450162010-08-19 Luis Machado <luisgpm@br.ibm.com>
45017
45018 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45019 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45020 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45021 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45022 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45023 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45024 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45025 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45026 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45027 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45028 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45029 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45030 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45031 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45032
b9b42ee0
AB
450332010-07-26 Anton Blanchard <anton@samba.org>
45034
45035 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45036 * malloc/arena.c (heap_trim): Likewise.
45037
1c06ba31
UD
450382010-08-16 Ulrich Drepper <drepper@redhat.com>
45039
45040 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45041 here. Not...
45042 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45043 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45044
f8392f40
L
450452010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45046
45047 * sysdeps/i386/elf/Makefile: New file.
45048
3162f12e
AS
450492010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45050
45051 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45052 from fanotify_init.
45053 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45054 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45055
28c90b2c
UD
450562010-08-15 Ulrich Drepper <drepper@redhat.com>
45057
45058 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45059 of strncasecmp_l.
1feccb6c 45060 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 45061
ca6bb004
UD
450622010-08-14 Ulrich Drepper <drepper@redhat.com>
45063
e9f82e0d
UD
45064 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45065 strncase_l-nonascii.
45066 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45067 Add strncase_l-ssse3.
45068 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45069 * sysdeps/x86_64/strcmp.S: Likewise.
45070 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45071 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45072 * sysdeps/x86_64/strncase.S: New file.
45073 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45074 * sysdeps/x86_64/strncase_l.S: New file.
45075 * string/Makefile (strop-tests): Add strncasecmp.
45076 * string/test-strncasecmp.c: New file.
45077
45078 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45079 warning.
45080
ca6bb004
UD
45081 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45082 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45083
052fa7b3
AS
450842010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45085
45086 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45087
962dba78
UD
450882010-08-12 Ulrich Drepper <drepper@redhat.com>
45089
45090 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45091 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45092 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45093
bebff237
AM
450942010-05-01 Alan Modra <amodra@gmail.com>
45095
45096 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45097 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45098 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45099 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45100 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45101 tidying. Don't tail-call __sigjmp_save for static lib.
45102 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45103 save location.
45104 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45105 (CALL_MCOUNT): Add eh info, and nop after bl.
45106 (TAIL_CALL_SYSCALL_ERROR): New macro.
45107 (PSEUDO_RET): Use it.
45108 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45109 Correct save location of integer regs and cr.
45110 (_dl_profile_resolve): Correct cr save location. Delete nops
45111 after bl when SHARED. Reduce cfi size a little by better
45112 placement of cfi directives.
45113 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45114 make a stack frame. Instead use parm save area as a temp.
45115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45116 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45118 Don't make a stack frame for parent, use parm save area.
45119 Increase child stack frame to 112 bytes. Don't save unused reg,
45120 and adjust reg usage. Set up cfi on error recovery and
45121 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45123 (__makecontext): Add dummy nop after jump to exit.
45124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45125 Use correct parm save area and cr save, reduce stack frame.
45126 Correct cfi for possible PSEUDO_RET frame setup.
45127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45128 Branch to local label emitted by PSEUDO_RET rather than
45129 __syscall_error.
45130
02637374
AS
451312010-08-12 Andreas Schwab <schwab@redhat.com>
45132
45133 [BZ #11904]
45134 * locale/programs/locale.c (print_assignment): New function.
45135 (show_locale_vars): Use it.
45136
c3e2f19b
UD
451372010-08-11 Ulrich Drepper <drepper@redhat.com>
45138
3cdaa6ad
UD
45139 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45140 field.
45141 (struct statfs64): Likewise.
45142 (_STATFS_F_FLAGS): Define.
45143 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45144 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45145 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45146 (ST_VALID): Define locally.
45147 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45148 __statvfs_getflags, use the provided value.
45149 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45150 __ASSUME_STATFS_F_FLAGS.
45151
754f7da3
UD
45152 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45153
10b3bedc
UD
45154 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45155 Add sys/fanotify.h.
45156 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45157 fanotify_mask for GLIBC_2.13.
45158 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45159 fanotify_init and fanotify_mark.
45160 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45161 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45162
c08fb0d7
UD
45163 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45164 Add prlimit.
45165 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45166 prlimit64 for GLIBC_2.13.
45167 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45168 prlimit64.
45169 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45170 syscall.
45171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45172 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45173 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45174 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45175 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45176 add prlimit alias.
45177 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45178
15bac72b
UD
45179 [BZ #11903]
45180 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45181 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45182
c3e2f19b
UD
45183 * nss/Makefile: Add rules to build and run tst-nss-test1.
45184 * shlib-versions: Add entry for libnss_test1.
45185 * nss/nss_test1.c: New file.
45186 * nss/tst-nss-test1.c: New file.
45187
45188 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45189 (__nss_configure_lookup): Set appropriate entry in
45190 __nss_configure_lookup to true.
45191 * nss/nsswitch.h: Define enum with indeces of databases in
45192 databases and __nss_database_custom arrays. Declare
45193 __nss_database_custom.
45194 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45195 to avoid using nscd when custom rules are installed.
45196 * nss/getXXbyYY_r.c: Likewise.
45197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45198
45199 * nss/nss_files/files-parse.c: Whitespace fixes.
45200
f15ce4d8
UD
452012010-08-09 Ulrich Drepper <drepper@redhat.com>
45202
45203 [BZ #11883]
45204 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45205 * posix/fnmatch_loop.c: Likewise.
45206
d22e4cc9
AK
452072010-07-17 Andi Kleen <ak@linux.intel.com>
45208
45209 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45210 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45211 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45212 * Versions.def [GLIBC_2.13]: Add.
45213
805bc17d
UD
452142010-08-06 Ulrich Drepper <drepper@redhat.com>
45215
45216 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45217 Also fail if tpwd after pwuid call is NULL.
45218
5a42321d
ST
452192010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45220
45221 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45222 when converting to ms.
45223
fd3ebeda
ST
452242010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45225
45226 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45227 EOPNOTSUPP errors with ENOTTY.
45228 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45229 EOPNOTSUPP errors with ENOTTY.
45230
73507d3a
UD
452312010-07-31 Ulrich Drepper <drepper@redhat.com>
45232
45233 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45234 Add strcasecmp_l-ssse3.
45235 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45236 strcasecmp.
45237 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45238 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45239 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45240
fe36dd02
UD
452412010-07-30 Ulrich Drepper <drepper@redhat.com>
45242
66f6765a
UD
45243 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45244
42e08a54
UD
45245 * string/Makefile (strop-tests): Add strcasecmp.
45246 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45247 strcasecmp_l-nonascii.
45248 (gen-as-const-headers): Add locale-defines.sym.
45249 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45250 * sysdeps/x86_64/strcasecmp.S: New file.
45251 * sysdeps/x86_64/strcasecmp_l.S: New file.
45252 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45253 * sysdeps/x86_64/locale-defines.sym: New file.
45254 * string/test-strcasecmp.c: New file.
45255
fe36dd02
UD
45256 * string/test-strcasestr.c: Test both ends of the range of characters.
45257 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45258
48cbc0d6
RM
452592010-07-29 Roland McGrath <roland@redhat.com>
45260
76e6d6bc 45261 [BZ #11856]
48cbc0d6
RM
45262 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45263
880113d9
UD
452642010-07-27 Ulrich Drepper <drepper@redhat.com>
45265
45266 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45267 for ld.so.
45268
deb9cabb
AS
452692010-07-27 Andreas Schwab <schwab@redhat.com>
45270
45271 * manual/memory.texi (Malloc Tunable Parameters): Document
45272 M_PERTURB.
45273
1c7570ff
RM
452742010-07-26 Roland McGrath <roland@redhat.com>
45275
45276 [BZ #11840]
45277 * configure.in (-fgnu89-inline check): Set and substitute
45278 gnu89_inline, not libc_cv_gnu89_inline.
45279 * configure: Regenerated.
45280 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45281
24fb0f88
UD
452822010-07-26 Ulrich Drepper <drepper@redhat.com>
45283
45284 * string/test-strnlen.c: New file.
45285 * string/Makefile (strop-tests): Add strnlen.
45286 * string/tester.c (test_strnlen): Add a few more test cases.
45287 * string/tst-strlen.c: Better error reporting.
45288
45289 * sysdeps/x86_64/strnlen.S: New file.
45290
8e96b93a
UD
452912010-07-24 Ulrich Drepper <drepper@redhat.com>
45292
45293 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45294 lower-latency instructions.
45295
dbc676d4
UD
452962010-07-23 Ulrich Drepper <drepper@redhat.com>
45297
45298 * string/test-strcasestr.c: New file.
45299 * string/test-strstr.c: New file.
45300 * string/Makefile (strop-tests): Add strstr and strcasestr.
45301 * string/str-two-way.h: Don't undefine MAX.
45302 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45303
f6a31e0e
AS
453042010-07-21 Andreas Schwab <schwab@redhat.com>
45305
45306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45307 strcasestr-nonascii.
45308 (CFLAGS-strcasestr-nonascii.c): Define.
45309 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45310 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45311 Remove unused attribute.
45312
5dbc3b6c
RM
453132010-07-20 Roland McGrath <roland@redhat.com>
45314
45315 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45316 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45317 ld.so.cache was broken. With it, there is no way to disable dsocaps
45318 like LD_HWCAP_MASK can disable hwcaps.
45319
23d101d8
EPM
453202010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45321
45322 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45323
cc9f2e47
UD
453242010-07-16 Ulrich Drepper <drepper@redhat.com>
45325
45326 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45327 call in strcasestr.
45328 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45329 __strcasestr_sse42_nonascii.
45330 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45331 strcasestr-nonascii.c.
45332 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45333
77c1b069
LM
453342010-06-15 Luis Machado <luisgpm@br.ibm.com>
45335
45336 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45337 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45338 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45339 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45340
440566c3
UD
453412010-07-09 Ulrich Drepper <drepper@redhat.com>
45342
45343 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45344 fcntl.
45345
5be9d05d
AS
453462010-07-06 Andreas Schwab <schwab@redhat.com>
45347
c30b7ee2 45348 [BZ #11577]
5be9d05d
AS
45349 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45350 dl_signal_cerror.
45351
8a492a67
UD
453522010-07-06 Ulrich Drepper <drepper@redhat.com>
45353
45354 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45355 _PC_PIPE_BUF using F_GETPIPE_SZ.
45356
713df3d5
RM
453572010-07-05 Roland McGrath <roland@redhat.com>
45358
45359 * manual/arith.texi (Rounding Functions): Fix rint description
45360 implicit in round description.
45361
702e8f14
UD
453622010-07-02 Ulrich Drepper <drepper@redhat.com>
45363
45364 * elf/Makefile: Fix linking for a few tests to make recent linker
45365 happy.
45366
52ed8be9
AS
453672010-06-30 Andreas Schwab <schwab@redhat.com>
45368
45369 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45370 $(common-objpfx)libc_nonshared.a.
45371
f47c9a11
LM
453722010-06-21 Luis Machado <luisgpm@br.ibm.com>
45373
45374 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45375 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45376 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45377 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45378 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45379 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45380 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45381 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45396 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45397 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45398 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45399 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45400 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45401 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45402 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45403 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45404 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45405 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45406 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45407 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45422
6fb8cbcb
L
454232010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45424
45425 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45426 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45427 * string/memmove.c (memmove): Renamed to ...
45428 (MEMMOVE): ...this. Default to memmove.
45429 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45430 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45431 (END_CHK): Define.
45432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45433 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45434 mempcpy-ssse3-back memmove-ssse3-back.
45435 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45436 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45437 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45438 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45439 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45440 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45441 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45442 * sysdeps/x86_64/multiarch/memmove.c: New file.
45443 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45444 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45445 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45446 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45447 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45448 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45449 Define.
45450 (index_Fast_Copy_Backward): Define.
45451 (HAS_ARCH_FEATURE): Define.
45452 (HAS_FAST_REP_STRING): Define.
45453 (HAS_FAST_COPY_BACKWARD): Define.
45454
4e733bac 454552010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
45456
45457 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45458 Restore proper fallback handling.
45459
63c4ed22
UD
454602010-06-19 Ulrich Drepper <drepper@redhat.com>
45461
ac2b484c
UD
45462 [BZ #11701]
45463 * posix/group_member.c (__group_member): Correct checking loop.
45464
63c4ed22
UD
45465 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45466 OOM in getpwuid_r correctly. Return error number when the caller
45467 should return, otherwise -1.
45468 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45469 call returning > 0 value.
45470 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45471
765ade4b
AS
454722010-06-07 Andreas Schwab <schwab@redhat.com>
45473
45474 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45475 libc_nonshared.a from targets in modules-names.
45476
80da2e09
KS
454772010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45478
45479 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45480 requires it.
45481
158db122
LM
454822010-06-10 Luis Machado <luisgpm@br.ibm.com>
45483
45484 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45485 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45486 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45487 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45488
caa78cf8
AS
454892010-06-02 Andreas Schwab <schwab@redhat.com>
45490
45491 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45492
b2ef2c01
UD
454932010-06-14 Ulrich Drepper <drepper@redhat.com>
45494
45495 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
45496 and F_GETPIPE_SZ.
45497 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45498 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45499 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45500 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45501 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45502 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
45503
fbd643b6
RM
455042010-06-14 Roland McGrath <roland@redhat.com>
45505
45506 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
45507
f32f2869
JJ
455082010-06-07 Jakub Jelinek <jakub@redhat.com>
45509
45510 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
45511 __REDIRECT followed by __THROW.
45512 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
45513 * posix/getopt.h (getopt): Likewise.
45514
2a50c078
EPM
455152010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45516
45517 * hurd/lookup-at.c (__file_name_lookup_at): Accept
45518 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
45519 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
45520 in AT_FLAGS.
45521 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
45522 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
45523
eb5ad2eb
LM
455242010-05-28 Luis Machado <luisgpm@br.ibm.com>
45525
45526 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
45527
3c88fe1e
L
455282010-05-26 H.J. Lu <hongjiu.lu@intel.com>
45529
45530 [BZ #11640]
45531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45532 Properly check family and model.
45533
d2f73151
TY
455342010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
45535
45536 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
45537
ebd2e13d
LM
455382010-05-24 Luis Machado <luisgpm@br.ibm.com>
45539
45540 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
45541
b32b8b45
UD
455422010-05-21 Ulrich Drepper <drepper@redhat.com>
45543
45544 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
45545 symbol reference.
45546
9acbe24d
AS
455472010-05-19 Andreas Schwab <schwab@redhat.com>
45548
45549 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
45550 symbol reference.
45551
f0ccf6ea
AS
455522010-05-21 Andreas Schwab <schwab@redhat.com>
45553
3d04ff3a
AS
45554 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
45555 and internal_recvmmsg.
45556 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
45557 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
45558 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
45559 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
45560
f0ccf6ea
AS
45561 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
45562 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
45563 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
45564
5b08ac57
AS
455652010-05-20 Andreas Schwab <schwab@redhat.com>
45566
45567 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
45568
4828935d
LM
455692010-05-17 Luis Machado <luisgpm@br.ibm.com>
45570
45571 POWER7 optimizations.
45572 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
45573 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
45574
373d545e
UD
455752010-05-19 Ulrich Drepper <drepper@redhat.com>
45576
45577 * version.h: Update for 2.13 development version.
45578
21a2b1ae
AS
455792010-05-12 Andrew Stubbs <ams@codesourcery.com>
45580
45581 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
45582 exceptions. Return 0.
45583
3f7dcb2b
RM
455842010-05-07 Roland McGrath <roland@redhat.com>
45585
45586 * elf/ldconfig.c (main): Add a const.
45587
5f24d53a 455882010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 45589
a160f8d8
UD
45590 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
45591 (args_options): Add no-idn option.
45592 (ahosts_keys_int): Add idn_flags to ai_flags.
45593 (parse_option): Handle 'i' option to clear idn_flags.
45594
5f24d53a
UD
45595 * malloc/malloc.c (_int_free): Possible race in the most recently
45596 added check. Only act on the data if no current modification
45597 happened.
265bb1ce
UD
45598
45599See ChangeLog.17 for earlier changes.