]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Preserve bound registers in _dl_runtime_resolve
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b97eb2bd
L
12015-03-16 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #18134]
4 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
5
cb219290
PE
62015-03-15 Paul Eggert <eggert@cs.ucla.edu>
7
8 * stdlib/setenv.c (__add_to_environ): Revert previous change.
9
a3905fd9
AS
102015-03-14 Andreas Schwab <schwab@linux-m68k.org>
11
12 [BZ #18128]
13 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
14 (atomic_add, atomic_increment_and_test)
15 (atomic_decrement_and_test): Fix 64-bit arithmetic.
16
2ecccaed
PE
172015-03-13 Paul Eggert <eggert@cs.ucla.edu>
18
19 * stdlib/setenv.c (__add_to_environ):
20 Dump core quickly if setenv (..., NULL, ...) is called.
21
cdaf79d0
RM
222015-03-13 Roland McGrath <roland@hack.frob.com>
23
24 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
25 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
26 all the necessary asm magic in one place.
27 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
28 using those.
29
cf9313e7
CD
302015-03-13 Carlos O'Donell <carlos@redhat.com>
31
32 [BZ #14906]
33 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
34 traced file mtime. Use consistent log message.
35 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
36 (register_traced_file): Call install_watches. Always set mtime.
37 (invalidate_cache): Iterate over all trace files. Call install_watches.
38 (inotify_check_files): Don't inline. Handle watching parent
39 directories and configuration file movement in and out.
40 (handle_inotify_events): New function.
41 (main_loop_poll): Call handle_inotify_events.
42 (main_loop_epoll): Likewise.
43 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
44 (struct traced_file): Use array of inotify fds. Add parent directory,
45 and basename.
46 (struct database_dyn): Remove unused file_mtime.
47 (init_traced_file): New inline function.
48 (define_traced_file): New macro.
49 * nss/nss_db/db-init.c: Use define_traced_file.
50 (_nss_db_init): Use init_traced_file.
51 * nss/nss_files/files-init.c: Use define_traced_file.
52 (_nss_files_init): Use init_traced_file.
53
7d67a196
JM
542015-03-12 Joseph Myers <joseph@codesourcery.com>
55
56 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
57 [_LIBC]: Do not include <stdlib.h>.
58 [!_LIBC] (abort): Remove declaration.
59 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
60 _FP_STATIC_ASSERT instead of conditionally calling abort.
61 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
62 (_FP_EXTEND_CNAN): Likewise.
63 (FP_TRUNC): Likewise.
64 (__FP_CLZ): Likewise.
65 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
66
af85ebcd
YS
672015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
68
69 * manual/string.texi (XPG basename): Fix prototype.
70
2e807f29
SL
712015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
72
73 [BZ #18080]
74 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
75 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
76 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
77 (__setcontext): Likewise.
78 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
79 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
80 Call rt_sigprocmask syscall one time to set new signal mask
81 and retrieve the current signal mask instead of two calls.
82 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
83 (__swapcontext): Likewise.
84 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
85 * stdlib/tst-setcontext2.c: New file.
86
1b2bebe6
SL
872015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
88
89 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
90
6a1cf708
AJ
912015-03-11 Aurelien Jarno <aurelien@aurel32.net>
92
93 [BZ #18093]
94 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
95 the wrong size.
96
a2d4cf72
PP
972015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
98
99 [BZ #18043]
100 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
101
5ca10a0c
AZ
1022015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
103
104 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
105 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
106 Remove define.
107 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
108 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
109 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
110 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
111 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
112 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
113 define.
114 * nptl_db/td_symbol_list.c (td_lookup): Remove
115 HAVE_ASM_GLOBAL_DOT_NAME code.
116 * sysdeps/powerpc/powerpc64/configure.ac: Remove
117 HAVE_ASM_GLOBAL_DOT_NAME check.
118 * sysdeps/powerpc/powerpc64/configure: Regenerate.
119 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
120 (DOT_LABEL): Remove define.
121 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
122 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
123 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
124 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
125 (__TLS_GET_ADDR): Likewise.
126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
127 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
128
e4363cfb
CD
1292015-03-11 Carlos O'Donell <carlos@redhat.com>
130
131 [BZ #18111]
132 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
133 (_FPU_SETCW): Initialize cw from fpsr before storing.
134 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
135 (fesetexceptflag): Rewrite using fpu_control.h.
136 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
137
fae1aa8d
JDA
1382015-03-11 John David Anglin <danglin@gcc.gnu.org>
139
140 [BZ #18110]
141 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
142 asms.
143 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
144
068a6274
JM
1452015-03-11 Joseph Myers <joseph@codesourcery.com>
146
147 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
148 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
149 abort.
150 (_FP_FMA): Likewise.
151 (_FP_DIV): Likewise.
152
d3821ab0
RM
1532015-03-10 Roland McGrath <roland@hack.frob.com>
154
44a6213c
RM
155 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
156 with 0 in that case.
157 * Makefile (summarize-tests): New canned sequence, factored out of
158 commands for targets tests and xtests. Display summary lines that
159 don't start with PASS: or XFAIL: rather than ones that do start with
160 ERROR: or FAIL:. Make the commands fail if any summary lines fail
161 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
162 do start with ERROR: or FAIL:.
163 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
164 (except for [$(build-shared) = yes]).
165 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
166 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
167 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
168 * nptl/Makefile: Revert 2015-03-04 changes.
169 [$(CXX) empty] (tests-unsupported): New variable.
170 * debug/Makefile: Likewise.
171
d3821ab0
RM
172 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
173 gnulib file. Replace __attribute with __attribute__ throughout.
174
85ca85ae
CD
1752015-03-10 Carlos O'Donell <carlos@redhat.com>
176
177 * sysdeps/hppa/fpu/libm-test-ulps: Update.
178
6411f81d
JM
1792015-03-10 Joseph Myers <joseph@codesourcery.com>
180
181 [BZ #18104]
182 * math/auto-libm-test-in: Add another test of pow.
183 * math/auto-libm-test-out: Regenerated.
184
d421868b
AZ
1852015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
186
187 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
188 $(config-cflags-nofma).
189
a2f8be9c
JM
1902015-03-10 Joseph Myers <joseph@codesourcery.com>
191
192 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
193 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
194 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
195 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
196 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
197 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
198 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
199 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
200 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
201 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
202 Add comment on closing #endif.
203
01d032e0
PP
2042015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
205
206 * posix/wordexp.c (CHAR_IN_SET): New macro.
207 (parse_param): Use it.
208
d439bc56
AZ
2092015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
210
211 * sysdeps/powerpc/fpu/libm-test-ulps: update.
212
5f85a4bf
PP
2132015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
214
215 [BZ #18043]
216 * posix/wordexp.c (parse_param): Fix buffer overflow.
217 * posix/wordexp-test.c (test_case): Add test case.
218
f8ba70e9
PP
2192015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
220
221 [BZ #18042]
222 * posix/wordexp.c (parse_backtick): Fix off-by-one.
223 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
224
36103ba2
PP
2252015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
226
227 [BZ #18043]
228 * posix/wordexp-test.c (test_case): Add test for BZ #18043
229 (do_bz18043): Delete.
230 (at_page_end): New.
231 (testit): Refactor to have words at the edge of unreadable page.
232
18d26750
PP
2332015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
234
235 [BZ #16734]
236 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
237 Cleanup read-only streams as well.
238 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
239
9f95dc5d
ST
2402015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
241
242 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
243 <bits/libc-lockP.h>
244
b838844b
JM
2452015-03-07 Joseph Myers <joseph@codesourcery.com>
246
247 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
248 on [__KERNEL__].
249 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
250 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
251 * soft-fp/op-common.h (_FP_DECL): Likewise.
252
e0ed2fb4
L
2532015-03-06 H.J. Lu <hongjiu.lu@intel.com>
254
255 * elf/ifuncdep2.c (global): Replace
256 __attribute__((visibility("protected"))) with
257 asm (".protected global").
258 * elf/ifuncmod1.c (global): Likewise.
259 * elf/ifuncmod5.c (global): Likewise.
260
fa9dda64
JM
2612015-03-06 Joseph Myers <joseph@codesourcery.com>
262
263 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
264 <asm/sfp-machine.h> instead of <sfp-machine.h>.
265
4acc27ed
RM
2662015-03-06 Roland McGrath <roland@hack.frob.com>
267
268 * manual/install.texi (Configuring and compiling):
269 Document test-wrapper-env-only.
270 * INSTALL: Regenerated.
271
895c30cb
PP
2722015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
273
274 [BZ #18043]
275 * posix/wordexp.c (parse_param): Fix buffer overflow.
276 * posix/wordexp-test.c (do_bz18043): Add test case.
277
5df56c7e
VB
2782015-03-06 Vincent Bernat <vincent@bernat.im>
279
280 * time/tst-strptime2.c (do_test): Ensure failing tests are
281 reported correctly.
282 * time/tst-strptime3.c (do_test): Likewise.
283
1cdf2ea1
ST
2842015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
285
286 Fix aio_error thread-safety.
1cdf2ea1
ST
287 * sysdeps/pthread/aio_error.c: New file
288 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
289 synchronization.
290
d176a41a
FW
2912015-03-06 Florian Weimer <fweimer@redhat.com>
292
293 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
294 (group_number, vfprintf): Use it.
1597b744
FW
295 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
296 (JUMP, REF): Use it.
297 (WORK_BUFFER_SIZE): New enum constant.
298 (process_arg, vfprintf): Use it.
d176a41a 299
7e7af349
RJ
3002015-03-06 Rical Jasan <ricaljasan@pacific.net>
301
302 * manual/errno.texi (Error Messages): Complete example function
303 by adding missing #define.
304 (program_invocation_name): Add statement indicating GNU
305 extension and reference which header file declares the variable.
306 (program_invocation_short_name): Likewise.
307
4ca8ddfb
MF
3082015-03-06 Mike Frysinger <vapier@gentoo.org>
309
310 * manual/errno.texi (Error Messages): Delete strerror ISO C89
311 compatibility note.
312
9162c01d
RM
3132015-03-05 Roland McGrath <roland@hack.frob.com>
314
315 * Makeconfig (test-wrapper-env-only): New variable.
316 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
317 then use that with $(test-wrapper-env-only) rather than using
318 $(test-wrapper-env) $(run-program-env) $($*-ENV).
319
209826bc
L
3202015-03-05 H.J. Lu <hongjiu.lu@intel.com>
321
322 [BZ #18082]
323 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
324 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
325 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
326 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
327 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
328 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
329 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
330 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
331 Likewise.
332 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
333 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
334 Likewise.
335 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
336 Likewise.
337 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
338 Likewise.
339 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
340 Likewise.
341 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
342 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
343 Likewise.
344 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
345 Likewise.
346 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
347 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
348
2cfe32bc
RM
3492015-03-04 Roland McGrath <roland@hack.frob.com>
350
8bff5aab
RM
351 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
352 (ETH_ALEN): New macro.
353 (struct ether_addr): Use it for length of ether_addr_octet.
354
2752f338
RM
355 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
356 (setdb): Don't call __nss_configure_lookup for "rpc".
357 (do_test): Don't call test_rpc.
358 (output_rpcent, test_rpc): Functions moved ...
359 * sunrpc/test-rpcent.c: ... to this new file.
360 * sunrpc/Makefile (tests): Add it.
361
2cfe32bc
RM
362 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
363 __xpg_sigpause.
364 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
365 * nptl/tst-signal6.c: Likewise.
366 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
367 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
368
e4693aa7
RM
369 * configure.ac (libc_cv_cxx_link_ok): New check.
370 Reset CXX to empty if it fails to link.
371 * configure: Regenerated.
372 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
373 bug-atexit3-lib only if $(CXX) is nonempty.
374 * nptl/Makefile (tests): Likewise for tst-cancel24.
375 (tests, tests-static): Likewise for tst-cancel24-static.
376 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
377 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
378 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
379 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 380
8e2e833a
AS
3812015-03-04 Andreas Schwab <schwab@suse.de>
382
383 [BZ #17631]
384 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
385 for non-GCC compilers.
386 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
387 Likewise.
388
85b29045
AZ
3892015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
390
391 [BZ #17776]
392 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
393 integer before bitwise and assembly operations.
394 (feclearexcept): Likewise.
395 * math/test-fenvinline.c: New file.
396 * math/Makefile: Add test-fenvinline test.
397
a0af371c
AM
3982015-03-03 Alan Modra <amodra@gmail.com>
399
400 [BZ #16512]
401 * scripts/localplt.awk: Strip off symbol version.
402 * NEWS: Mention bug fix.
403
47465629
RM
4042015-03-02 Roland McGrath <roland@hack.frob.com>
405
406 * sysdeps/pthread/timer_routines.c
407 (timer_free_list, thread_free_list, thread_active_list): Make static.
408
6d08b022
JM
4092015-03-02 Joseph Myers <joseph@codesourcery.com>
410
411 [BZ #17779]
412 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
413 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
414 Undefine.
415 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
416 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
417 Likewise.
418 * sysdeps/unix/sysv/linux/sh/kernel-features.h
419 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
420 Likewise.
421
c2c6d39f
PP
4222015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
423
424 [BZ #18036]
425 * posix/fnmatch_loop.c (END): Detect invalid pattern.
426 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
427
e8b6be00
AS
4282015-03-02 Andreas Schwab <schwab@suse.de>
429
430 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
431 variable name.
432
1a2d98af
FW
4332015-03-02 Florian Weimer <fweimer@redhat.com>
434
435 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
436 Return error status.
437
e7f07af5
AO
4382015-02-27 Alexandre Oliva <aoliva@redhat.com>
439
440 [BZ #15969]
441 * locale/findlocale.c (_nl_find_locale): Introduce const
442 version of loc_name and drop unsafe type casts.
443
c7b19ca9
RM
4442015-02-27 Roland McGrath <roland@hack.frob.com>
445
446 * dlfcn/tststatic2.c (main): Converted to ...
447 (do_test): ... this.
448 (TEST_FUNCTION): New macro.
449 Include test-skeleton.c.
450
ef4ad06f
L
4512015-02-27 H.J. Lu <hongjiu.lu@intel.com>
452
453 [BZ #17711]
454 * elf/Makefile (tests): Add vismain only if PIE is enabled.
455 (tests-pie): Add vismain.
456 (CFLAGS-vismain.c): New.
457 * elf/vismain.c: Add comments for PIE requirement.
458
2ca725c5
JM
4592015-02-27 Joseph Myers <joseph@codesourcery.com>
460
461 [BZ #18046]
462 [BZ #18047]
463 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
464 0x1p-56L as threshold for just returning the argument.
465 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
466 0x1p-32L as threshold for just returning the argument.
467 * math/auto-libm-test-in: Add more tests of atanh.
468 * math/auto-libm-test-out: Regenerated.
469 * sysdeps/i386/fpu/libm-test-ulps: Update.
470 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
471
af96be34
WD
4722015-02-27 Wilco Dijkstra wdijkstr@arm.com
473
474 * string/bcopy.c (bcopy): Call memmove for performance.
475
ddcf6798
WD
4762015-02-27 Wilco Dijkstra wdijkstr@arm.com
477
478 * string/bzero.c (__bzero): Call memset for performance.
479
49f476f4
JDA
4802015-02-27 John David Anglin <dave.anglin@bell.net>
481
b42e14ff 482 [BZ #18068]
49f476f4
JDA
483 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
484 to 00100000.
485
f8ab5d38
JM
4862015-02-27 Joseph Myers <joseph@codesourcery.com>
487
488 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
489
380bd0fd
JM
4902015-02-26 Joseph Myers <joseph@codesourcery.com>
491
31331a07
JM
492 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
493 (__kernel_standard): Use CSTR macro when setting exc.name.
494 * sysdeps/ieee754/Makefile [$(subdir) = math]
495 (CFLAGS-k_standard.c): Remove variable.
496
09220e66
JM
497 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
498 setting p and q from "else if" to "else".
499 (qzero): Likewise.
500 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
501 (qone): Likewise.
502 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
503 (qzerof): Likewise.
504 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
505 (qonef): Likewise.
506 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
507 (qzero): Likewise.
508 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
509 (qone): Likewise.
510
1d9ab20c
JM
511 [BZ #18038]
512 [BZ #18039]
513 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
514 return pi/2 for arguments below 0x1p-113L.
515 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
516 return pi/2 for arguments below 0x1p-106L.
517 * math/auto-libm-test-in: Add more tests of acos.
518 * math/auto-libm-test-out: Regenerated.
519
ec0ce0d3
JM
520 [BZ #16351]
521 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
522 (MO): New macro.
523 (__ieee754_asin): Force underflow exception for results with small
524 absolute value.
525 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
526 (MO): New macro.
527 (__ieee754_asinf): Force underflow exception for results with
528 small absolute value.
529 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
530 (__ieee754_asin): Force underflow exception for results with small
531 absolute value.
532 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
533 (__ieee754_asinf): Force underflow exception for results with
534 small absolute value.
535 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
536 (__ieee754_asinl): Force underflow exception for results with
537 small absolute value.
538 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
539 (__ieee754_asinl): Force underflow exception for results with
540 small absolute value.
541 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
542 (__ieee754_asinl): Force underflow exception for results with
543 small absolute value.
544 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
545 Include <math.h>.
546 * math/auto-libm-test-in: Do not mark underflow exceptions as
547 possibly missing for bug 16351.
548 * math/auto-libm-test-out: Regenerated.
549
380bd0fd
JM
550 [BZ #18030]
551 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
552 of power of 2 down when low part has opposite sign.
553 * math/libm-test.inc (logb_test_data): Add more tests.
554
4a28f4d5
AS
5552015-02-26 Andreas Schwab <schwab@suse.de>
556
557 [BZ #18032]
558 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
559 over collating symbol inside a bracket expression. Minor cleanup.
560 * posix/tst-fnmatch3.c (do_test): Add test case.
561
524ae9ea
JM
5622015-02-26 Joseph Myers <joseph@codesourcery.com>
563
564 [BZ #18029]
565 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
566 Adjust exponent of power of 2 down when low part has opposite
567 sign.
568 * math/libm-test.inc (ilogb_test_data): Add more tests.
569
23d43090
AO
5702015-02-26 Alexandre Oliva <aoliva@redhat.com>
571
572 [BZ #15969]
573 * locale/findlocale.c (_nl_find_locale): Fix constness error in
574 the previous change.
0d822a01
AO
575
576 [BZ #15969]
577 * locale/findlocale.c (_nl_find_locale): Retry archive search
578 after alias expansion.
579
d19df6ac
RM
5802015-02-25 Roland McGrath <roland@hack.frob.com>
581
ca681b7b
RM
582 * iconv/tst-iconv3.c (main): Converted to ...
583 (do_test): ... this.
584 (TEST_FUNCTION): New macro.
585 Include test-skeleton.c.
586
fd1f2f1c
RM
587 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
588 (convert): Make function static.
589 (test_unalign): Likewise. Add const to argument pointee types.
590 (main): Replace with static function do_test.
591 Print "Succeeded." only if RET is zero.
592 (TEST_FUNCTION): New macro.
593 Include test-skeleton.c.
594
d19df6ac
RM
595 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
596 returns a null pointer.
597
115e0de7
AZ
5982015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
599
600 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
601 to __memcpy_ppc only for static builds.
602
137cef7d
JM
6032015-02-25 Joseph Myers <joseph@codesourcery.com>
604
605 [BZ #18020]
606 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
607 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
608 * math/auto-libm-test-in: Add more tests of asinh.
609 * math/auto-libm-test-out: Regenerated.
610 * sysdeps/i386/fpu/libm-test-ulps: Update.
611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
612
cb43bb0d
CW
6132015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
614
615 [BZ #15850]
616 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
617 and ip6_mtuinfo definitions here.
618 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
619 in this define too. Update comment.
620
9be1052b
BS
6212015-02-24 Benno Schulenberg <bensberg@justemail.net>
622
623 * elf/sprof.c (load_shobj): Tweak error message to match others.
624
6807b1db
KE
6252015-02-24 Kevin Easton <kevin@guarana.org>
626
627 [BZ #16145] (partial fix)
628 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
629 to reduce lock contention.
630
b433df00
ML
6312015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
632
633 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
634 (struct timex): Update time comment.
635 (ADJ_SETOFFSET): Define.
636
440169d6
JM
6372015-02-24 Joseph Myers <joseph@codesourcery.com>
638
639 [BZ #18019]
640 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
641 2**56 not 2**28 as threshold for log (2x) formula.
642 * math/auto-libm-test-in: Add more tests of acosh.
643 * math/auto-libm-test-out: Regenerated.
644 * sysdeps/i386/fpu/libm-test-ulps: Update.
645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
646
ba7d2c54
MF
6472015-02-24 Mike Frysinger <vapier@gentoo.org>
648
649 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
650 parenthesis around the buf assignment.
651 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
652
9438b237
JM
6532015-02-24 Joseph Myers <joseph@codesourcery.com>
654
655 [BZ #16783]
656 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
657 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
658 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
659 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
660 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
661 * math/libm-test.inc (scalb_test_data): Add more tests.
662
6909d276
PP
6632015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
664
665 [BZ #17916]
666 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
667 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
668
65f6f938
ER
6692015-02-24 Eric Rannaud <e@nanocritical.com>
670
671 [BZ #17523]
672 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
673 * io/bits/fcntl2.h (open): Use it.
674 (openat): Likewise.
675 * io/open.c (__libc_open): Likewise.
676 * io/open64.c (__libc_open64): Likewise.
677 * io/open64_2.c (__open64_2): Likewise.
678 * io/open_2.c (__open_2): Likewise.
679 * io/openat.c (__openat): Likewise.
680 * io/openat64.c (__openat64): Likewise.
681 * io/openat64_2.c (__openat64_2): Likewise.
682 * io/openat_2.c (__openat_2): Likewise.
683 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
684 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
685 * sysdeps/posix/open64.c (__libc_open64): Likewise.
686 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
687 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
688 (__open_nocancel): Likewise.
689 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
690 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
691 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
692
3e3002ff
SP
6932015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
694
695 [BZ #14841]
696 * resolv/gethnamaddr.c (getanswer): Skip logging if
697 RES_USE_DNSSEC is set.
698 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
699
9813dd58
MF
7002015-02-24 Mike Frysinger <vapier@gentoo.org>
701
702 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
703
7b1ec6a0
AO
7042015-02-23 Alexandre Oliva <aoliva@redhat.com>
705
706 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
707 201304L, for Unicode 7.
708
d49499c1
L
7092015-02-23 H.J. Lu <hongjiu.lu@intel.com>
710
711 [BZ #17836]
712 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
713 shared library. Add gmon-start.os otherwise.
714 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
715 $(objpfx)gmon-start.os if builing shared library.
716 ($(objpfx)g$(static-start-installed-name)): Likewise.
717
51225803
AS
7182015-02-23 Andreas Schwab <schwab@suse.de>
719
720 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
721
bdf1ff05
PP
7222015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
723
724 [BZ #17269]
725 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
726 (enlarge_userbuf): Likewise.
727
95296112
CLT
7282015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
729
730 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
731 * math/atest-exp.c (TIMEOUT): Adjust to 200.
732 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
733 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
734
e4a399dc
JM
7352015-02-20 Joseph Myers <joseph@codesourcery.com>
736
737 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
738 expression inside statement expression.
739
7133957f
SL
7402015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
741
742 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
743 <sysdeps/nptl/lowlevellock.h> and remove macros and
744 functions that are now defined there.
745 (SYS_futex): Remove.
746 (lll_compare_and_swap): Remove.
747 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
748
40176158
JM
7492015-02-19 Joseph Myers <joseph@codesourcery.com>
750
751 [BZ #17999]
752 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
753 instead of scandirat.
754 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
755 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
756 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
757 __scandirat.
758 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
759 (__scandirat): Declare. Use libc_hidden_proto.
760 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
761 Remove variable.
762 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
763
4629c866
JM
7642015-02-18 Joseph Myers <joseph@codesourcery.com>
765
766 [BZ #15319]
767 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
768 (MO): New macro.
769 (__ieee754_atan2): For results with small absolute value, force
770 underflow exception and remove excess range and precision from
771 return value.
772 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
773 (MO): New macro.
774 (__ieee754_atan2f): For results with small absolute value, force
775 underflow exception and remove excess range and precision from
776 return value.
777 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
778 (MO): New macro.
779 (__atan): For results with small absolute value, force underflow
780 exception and remove excess range and precision from return value.
781 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
782 (MO): New macro.
783 (__atanf): For results with small absolute value, force underflow
784 exception and remove excess range and precision from return value.
785 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
786 <math.h>.
787 (__ieee754_atan2): Force underflow exception for results with
788 small absolute value.
789 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
790 <math_private.h>.
791 (atan): Force underflow exception for results with small absolute
792 value.
793 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
794 (__atanf): Force underflow exception for results with small
795 absolute value.
796 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
797 <math.h>.
798 (__atanl): Force underflow exception for results with small
799 absolute value.
800 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
801 (__atanl): Force underflow exception for results with small
802 absolute value.
803 * sysdeps/x86/fpu/bits/mathinline.h
804 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
805 (__ieee754_atan2): Only define inline for long double.
806 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
807 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
808 * math/auto-libm-test-in: Do not mark underflow exceptions as
809 possibly missing for bug 15319. Add more tests of atan2.
810 * math/auto-libm-test-out: Regenerated.
811 * math/libm-test.inc (casin_test_data): Do not mark underflow
812 exceptions as possibly missing for bug 15319.
813 (casinh_test_data): Likewise.
814 * sysdeps/i386/fpu/libm-test-ulps: Update.
815
9ee16d8b
SE
8162015-02-18 Steve Ellcey <sellcey@imgtec.com>
817
818 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
819 * sysdeps/mips/bits/endian.h: Fix comments.
820
4ffb1771
JM
8212015-02-18 Joseph Myers <joseph@codesourcery.com>
822
823 [BZ #17996]
824 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
825 (hdestroy_r): Likewise.
826 (hsearch_r): Likewise.
827 (__hcreate_r): Declare and use libc_hidden_proto.
828 (__hdestroy_r): Likewise.
829 (__hsearch_r): Likewise.
830 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
831 (hcreate): Call __hcreate_r instead of hcreate_r.
832 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
833 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
834 as weak alias of __hcreate_r.
835 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
836 __hdestroy_r.
837 (hsearch_r): Rename to __hsearch_r and define as weak alias of
838 __hsearch_r.
839 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
840 Remove variable.
841 (test-xfail-XPG4/search.h/linknamespace): Likewise.
842 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
843 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
844 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
845
94c5a52a
SP
8462015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
847
848 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
849 arena_lock into a single arena_get.
850
8a35c3fe
CD
8512015-02-17 Carlos O'Donell <carlos@redhat.com>
852
853 * dl-reloc.c: Inlucde libc-internal.h.
854 (_dl_try_allocate_static_tls): Call ALIGN_UP.
855 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
856 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
857 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
858 (grow_heap): Likewise.
859 * malloc/malloc.c: Include libc-internal.h.
860 (do_check_malloc): Call powerof2.
861 (sysmalloc): Use pagesize. Call ALIGN_UP.
862 (systrim): Use pagesize.
863 (mremap_chunk): Use pagesize. Call ALIGN_UP.
864 (__libc_valloc): Use pagesize.
865 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
866
1a2325c0
JM
8672015-02-17 Joseph Myers <joseph@codesourcery.com>
868
869 [BZ #17991]
870 * include/sys/resource.h (__getrlimit64): Declare. Use
871 libc_hidden_proto.
872 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
873 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
874 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
875 getrlimit64.
876 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
877 __getrlimit64.
878 [!getrlimit64] (getrlimit64): Define as weak alias of
879 __getrlimit64. Use libc_hidden_weak.
880 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
881 using __getrlimit64 not __new_getrlimit64.
882 (__GI_getrlimit64): Likewise.
883 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
884 Likewise.
885 (__GI_getrlimit64): Likewise.
886 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
888 (getrlimit): Add __getrlimit64 alias.
889 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
890 Likewise.
891 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
892 Remove variable.
893 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
894 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
895
8ae4bb5a
PP
8962015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
897
898 * libio/fileops.c: Add missing sys/mman.h
899 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
900
18a218b7
JM
9012015-02-17 Joseph Myers <joseph@codesourcery.com>
902
903 * manual/math.texi (Errors in Math Functions): Clarify goals
904 regarding inexact and underflow exceptions.
905
e72ad0ef
SE
9062015-02-17 Steve Ellcey <sellcey@imgtec.com>
907
908 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
909 * sysdeps/mips/memset.S: Ditto.
910
2caa4099
SE
9112015-02-17 Steve Ellcey <sellcey@imgtec.com>
912
913 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
914
f20bfc9b
SL
9152015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
916
917 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
918 (__v1longjmp): Remove versioned symbol.
919 (__v1siglongjmp): Remove alias and versioned symbol.
920 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
921 (__v2siglongjmp): Likewise.
922
71c06b69
TR
9232015-02-16 Torvald Riegel <triegel@redhat.com>
924
925 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
926
a9a05adb
MF
9272015-02-16 Mike Frysinger <vapier@gentoo.org>
928
929 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
930
ce8fc784
JM
9312015-02-16 Joseph Myers <joseph@codesourcery.com>
932
933 [BZ #17987]
934 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
935 zero result does not depend on the sign resulting from
936 subtraction.
937 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
938 Likewise.
939 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
940 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
941 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
942 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
943 * math/libm-test.inc (remquo_test_data): Add more tests.
944
0d7036bd
PE
9452015-02-16 Paul Eggert <eggert@cs.ucla.edu>
946
947 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
948 Problem reported by J William Piggott.
949
86c56b16
JM
9502015-02-16 Joseph Myers <joseph@codesourcery.com>
951
a820f9b3
JM
952 [BZ #17978]
953 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
954 products 4 * y and 2 * y where those would overflow.
955 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
956 Likewise.
957 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
958 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
959 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
960 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
961 * math/libm-test.inc (remquo_test_data): Add more tests.
962
be802953
JM
963 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
964
e5e72fe9
JM
965 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
966 [defined _COMPILING_NEWLIB].
967 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
968 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
969
86c56b16
JM
970 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
971 [!defined __mips_isa_rev || __mips_isa_rev < 6].
972
35264d14
TR
9732015-02-16 Torvald Riegel <triegel@redhat.com>
974
975 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
976 acquired.
977
6f49e32a
MF
9782015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
979
980 [BZ #17792]
981 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
982 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
983 HOST_STACK_END_ADDR): Likewise.
984
e525154e
SE
9852015-02-13 Steve Ellcey <sellcey@imgtec.com>
986
987 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
988 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
989 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
990
4ab770b7
RM
9912015-02-13 Roland McGrath <roland@hack.frob.com>
992
993 * sysdeps/generic/c++-types.data: New file.
994 * sysdeps/generic/ld.abilist: New file.
995 * sysdeps/generic/libBrokenLocale.abilist: New file.
996 * sysdeps/generic/libanl.abilist: New file.
997 * sysdeps/generic/libc.abilist: New file.
998 * sysdeps/generic/libcrypt.abilist: New file.
999 * sysdeps/generic/libdl.abilist: New file.
1000 * sysdeps/generic/libm.abilist: New file.
1001 * sysdeps/generic/libpthread.abilist: New file.
1002 * sysdeps/generic/libresolv.abilist: New file.
1003 * sysdeps/generic/librt.abilist: New file.
1004
d9afe48d
JM
10052015-02-13 Joseph Myers <joseph@codesourcery.com>
1006
1007 [BZ #17569]
1008 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1009 Compute absolute value of x as modified by fmod, not original
1010 value of x.
1011 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1012 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1013 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1014 RUN_TEST_ffI_f1_mod8.
1015 (remquo_test_data): Add more tests.
1016
3846188b
RM
10172015-02-13 Roland McGrath <roland@hack.frob.com>
1018
1019 * sysdeps/init_array/pt-crti.S: New file.
1020
95c26233
JM
10212015-02-13 Joseph Myers <joseph@codesourcery.com>
1022
1023 [BZ #17967]
1024 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1025 __builtin_fmaf instead of relying on contraction of a * b + c.
1026
3f293d61
WP
10272015-02-12 J William Piggott <elseifthen@gmx.com>
1028
1029 [BZ #17969]
1030 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1031 node.
1032
e8bd5286
JM
10332015-02-12 Joseph Myers <joseph@codesourcery.com>
1034
1035 [BZ #17964]
1036 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1037 __builtin_fma instead of relying on contraction of a * b + c.
1038
04f5a636
RM
10392015-02-12 Roland McGrath <roland@hack.frob.com>
1040
96a15749
RM
1041 * Makeconfig (ASFLAGS): Add -Werror=undef.
1042 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1043 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1044 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1045
04f5a636
RM
1046 * Makeconfig (after-link): New variable.
1047 (+link-pie, +link-pie-tests): Use it.
1048 (+link-static, +link-static-tests): Likewise.
1049 (+link, +link-tests): Likewise.
1050 * Makerules (build-module, build-module-asneeded): Likewise.
1051 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1052 Likewise.
1053 * elf/Makefile ($(objpfx)ld.so): Likewise.
1054
87a629c5
RS
10552015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1056
1057 [BZ #17965]
1058 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1059 both struct timeval and struct timespec.
1060
03d95bd4
JM
10612015-02-12 Joseph Myers <joseph@codesourcery.com>
1062
1063 [BZ #16560]
1064 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1065 and redefine.
1066 (__ieee754_exp2l): Do not multiply small fractional parts by
1067 M_LN2l.
1068 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1069 small argument.
1070 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1071 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1072 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1073 * math/auto-libm-test-in: Add more tests of exp2.
1074 * math/auto-libm-test-out: Regenerated.
1075
98408b95
RS
10762015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1077
1078 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1079 unaligned path.
1080
6f741503
AZ
10812015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1082
1083 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1084 little endian.
1085
2868e070
AS
10862015-02-12 Andreas Schwab <schwab@suse.de>
1087
1088 [BZ #15790]
1089 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1090 Filter out elision flags from value returned in kind.
1091 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1092 * nptl/tst-pthread-mutexattr.c: New file.
1093
ebf27d12
ST
10942015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1095
1096 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1097 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1098 into gnu-gnu, and update comment to refer to abi-tags.
1099
d435569c
JM
11002015-02-11 Joseph Myers <joseph@codesourcery.com>
1101
1102 [BZ #15467]
1103 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1104 (__sincos): Set errno to EDOM for infinite argument.
1105 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1106 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1107 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1108 (__sincosl): Set errno to EDOM for infinite argument.
1109 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1110 (__sincosl): Set errno to EDOM for infinite argument.
1111 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1112 (__sincosl): Set errno to EDOM for infinite argument.
1113 * math/libm-test.inc (sincos_test_data): Test errno setting.
1114
d35273f2
LH
11152015-02-11 Leonhard Holz <leonhard.holz@web.de>
1116
1117 * string/strxfrm_l.c: Remove #define STRCMP.
1118 * string/strcoll_l.c: Remove #define STRLEN.
1119 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1120 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1121
306bc0d1
JM
11222015-02-10 Joseph Myers <joseph@codesourcery.com>
1123
1124 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1125 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1126 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1127 * sysdeps/mips/mips64/Makefile: ... here.
1128 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1129 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1130 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1131 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1132 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1133 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1134 * sysdeps/mips/mips64/n64/Implies: Likewise.
1135
92b67e8d
RM
11362015-02-10 Roland McGrath <roland@hack.frob.com>
1137
1138 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1139 <sys/time.h>, <string.h>, and <errno.h>.
1140 (dest_offset, dest_address, value, zero): Remove unused variables.
1141 (ldouble): Remove typedef.
1142 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1143 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1144 1). Fix code style.
1145 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1146 (check): Function removed.
1147 (CHECK): New macro.
1148 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1149 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1150 Don't call set_sigaction_FP and remove_sigaction_FP here.
1151 (ldouble_test): Just use 'long double' as macro argument, no need for
1152 the 'ldouble' typedef.
1153 (do_test): Set up SIGFPE handler at start, using plain signal rather
1154 than sigaction. Fix code style.
1155
132a1328
EF
11562015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1157
1158 [BZ #17949]
1159 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1160 jump label.
1161
3001e54c
AZ
11622015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1163
bc0cdc49
AZ
1164 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1165 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1166
83658961
AZ
1167 * sysdeps/powerpc/configure.ac: Remove file.
1168 * sysdeps/powerpc/configure: Likewise.
1169
10169938
AZ
1170 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1171 [sysdep_routines]: Remove wordcopy-power6 object.
1172 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1173 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1174 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1175 (__memmove_ppc32): Likewise.
1176 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1177 file.
1178 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1179 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1180 Remove preprocessor.
1181
8548a53d
AZ
1182 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1183 [sysdep_routines]: Remove wide chars objects.
1184 [wcsmbs]: New rule for wide char objects.
1185
b2692114
AZ
1186 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1187 Remove wordcopy-power6 obejct.
1188 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1189 Use local call for wordcopy and memcpy symbols.
1190 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1191 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1192 implementation for loader.
1193 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1194
18e270aa
AZ
1195 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1196 Remove wordcopy-power7 object.
1197 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1198 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1199 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1200 (_wordcopy_fwd_dest_aligned): Likewise.
1201 (_wordcopy_bwd_aligned): Likewise.
1202 (_wordcopy_bwd_dest_aligned): Likewise.
1203
6f0993a6
AZ
1204 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1205 Rewrite to call __memmove_ppc instead of include default
1206 implementation.
1207
3001e54c
AZ
1208 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1209 Remove wide chars objects.
1210 [wcsmbs]: New rule for wide char objects.
1211
59b61c82
AS
12122015-02-09 Andreas Schwab <schwab@suse.de>
1213
1214 [BZ #17912]
1215 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1216 in terms of __O_DIRECTORY.
1217
ebd7aede
ST
12182015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1219
1220 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
1221 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1222 call PTR_MANGLE.
1223 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1224 PTR_DEMANGLE.
ebd7aede 1225
3999d26e
PE
12262015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1227
1228 Add ersatz _Static_assert on older C hosts
1229 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1230 pre-C11 C platform that is not known to support _Static_assert.
1231
e9a5bc1c
ST
12322015-02-07 Richard Braun <rbraun@sceen.net>
1233
1234 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1235 sigstate.
e86c5b64 1236 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 1237
e2049d17
ST
12382015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1239
1240 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1241 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
1242 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1243 instead of int.
1244 * misc/fchflags.c (fchflags): Likewise.
1245 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1246 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1247 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1248 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1249 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1250 Declare macros.
1251 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
1252 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1253 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
1254 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1255 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1256 45.
a9a002fb
ST
1257 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1258 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
1259 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1260 MACH_RCV_TIMED_OUT.
f96ec27a
ST
1261 * hurd/hurd/signal.h (_hurd_self_sigstate,
1262 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1263 Explicit casts from void *.
4fc81a77 1264 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 1265 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 1266
f05826f0
ST
1267 [BZ #4719]
1268 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1269 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1270 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1271 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1272 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1273 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1274
a5eb23de
ST
1275 [BZ #17944]
1276 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1277 duplicates ADDR->sun_path with sockaddr LEN limitation.
1278 * sysdeps/mach/hurd/connect.c: Include <string.h>
1279 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1280 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1281 * sysdeps/mach/hurd/sendto.c: Likewise.
1282 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1283 implementing it by hand.
1284
ac9e0e5e
RM
12852015-02-06 Roland McGrath <roland@hack.frob.com>
1286
f8d1bb4c
RM
1287 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1288 Use sfi_breg on ldr.
1289 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1290 Likewise.
1291
022f4812
RM
1292 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1293 it's defined.
1294 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1295 Test SIGSETXID only if it's defined.
1296
1ac074e6
RM
1297 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1298
f50ad78b
RM
1299 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1300 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1301
9e7265f4
RM
1302 * nptl/tst-align2.c: Moved ...
1303 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1304 * nptl/Makefile (tests): Remove tst-align2.
1305 * sysdeps/unix/sysv/linux/Makefile
1306 [$(subdir) = nptl] (tests): Add tst-align-clone.
1307 * nptl/tst-getpid1.c: Moved ...
1308 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1309 * nptl/tst-getpid2.c: Moved ...
1310 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1311 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1312 * sysdeps/unix/sysv/linux/Makefile
1313 [$(subdir) = nptl] (tests): ... here.
1314 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1315 * sysdeps/unix/sysv/linux/Makefile
1316 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1317
62ad2abc
RM
1318 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1319 Drop trailing \n from perror argument. Use return rather than exit.
1320
cfa69b0b
RM
1321 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1322 on [SA_SIGINFO].
1323 * nptl/tst-cancel21.c (do_test): Likewise.
1324 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1325 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1326 [!SA_SIGINFO]: Make it a stub test.
1327
82727806
RM
1328 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1329 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1330
da3a1594
RM
1331 * posix/tst-getlogin.c: Move to ...
1332 * login/tst-getlogin.c: ... here.
1333 * posix/Makefile (tests): Move tst-getlogin to ...
1334 * login/Makefile (tests): ... here.
1335
b65c0ff9
RM
1336 * libio/tst-atime.c (do_test): Move local variables SV and E
1337 inside [ST_NOATIME] conditional.
1338
56606ab3
RM
1339 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1340
ebf7d6ee
RM
1341 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1342
ca0e0675
RM
1343 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1344 (wait_code): New function replaces macro.
1345 Call nanosleep rather than syscall.
1346
8c28bbc6
RM
1347 * nptl/pt-system.c: Rewritten. Put everything under
1348 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1349 Use IFUNC to redirect when possible.
1350
ec2a88b3
RM
1351 * nptl/pt-longjmp.c: Rewritten. Put everything under
1352 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1353 Use IFUNC to redirect when possible.
1354
beff1d13
RM
1355 * nptl/pt-fork.c: Rewritten. Put everything under
1356 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1357 Use IFUNC to redirect when possible.
1358 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1359
ea02c6b8
RM
1360 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1361 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1362 unconditionally nowadays. This included the only reference to
1363 __vdso_clock_gettime that appears outside libc proper.
1364 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1365 Remove version set (containing only __vdso_clock_gettime).
1366 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1367 Add attribute_hidden.
1368 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1369 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1370 libc_hidden_data_def.
1371 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1372 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1373
a1309c2b
RM
1374 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1375 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1376 setrpcent, and getrpcport to ...
1377 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1378 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1379 getrpcbynumber_r, and getrpcent_r to ...
1380 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1381 * inet/getrpcbyname.c: Moved ...
1382 * sunrpc/getrpcbyname.c: ... here.
1383 * inet/getrpcbyname_r.c: Moved ...
1384 * sunrpc/getrpcbyname_r.c: ... here.
1385 * inet/getrpcbynumber.c: Moved ...
1386 * sunrpc/getrpcbynumber.c: ... here.
1387 * inet/getrpcbynumber_r.c: Moved ...
1388 * sunrpc/getrpcbynumber_r.c: ... here.
1389 * inet/getrpcent.c: Moved ...
1390 * sunrpc/getrpcent.c: ... here.
1391 * inet/getrpcent_r.c: Moved ...
1392 * sunrpc/getrpcent_r.c: ... here.
1393 * inet/Makefile (routines): Move those to ...
1394 * sunrpc/Makefile (routines): ... here.
1395 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1396 the $(subdirs) list.
1397 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1398 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1399 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1400 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1401
ac9e0e5e
RM
1402 * elf/Makefile (routines): Include $(all-dl-routines), not just
1403 $(dl-routines).
1404 (rtld-routines): Likewise. Use = rather than :=.
1405 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1406 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1407 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1408 * sysdeps/arm/Makefile: Likewise.
1409 * sysdeps/i386/Makefile: Likewise.
1410 * sysdeps/x86_64/Makefile: Likewise.
1411 * sysdeps/hppa/Makefile [$(subdir) = elf]
1412 (sysdep_routines, sysdep-rtld-routines): Don't add
1413 $(sysdep-dl-routines) to these.
1414 * sysdeps/ia64/Makefile: Likewise.
1415 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1416 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1417 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1418 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1419 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1420 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1421 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1422 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1423 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1424 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1425 these; sysdep-dl-routines alone is enough.
1426
639e42eb
JM
14272015-02-06 Joseph Myers <joseph@codesourcery.com>
1428
1c7a4a51
JM
1429 [BZ #17932]
1430 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1431 where multiplication results in zero and third argument is finite
1432 and nonzero.
1433 * math/auto-libm-test-in: Add more tests of fma.
1434 * math/auto-libm-test-out: Regenerated.
1435
61f006c1
JM
1436 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1437 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1438 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1439 (_FP_CMP_EQ): Likewise.
1440 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1441
639e42eb
JM
1442 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1443 extra argument CHECK_NAN. Redefine as wrapper around
1444 _FP_EXTEND_CNAN.
1445
3c0c543b
CD
14462015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1447
4e42b5b8
CD
1448 * version.h (RELEASE): Set to "stable".
1449 (VERSION): Set to "2.21"
1450 * include/features.h (__GLIBC_MINOR__): Set to 21.
1451
3c0c543b
CD
1452 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1453
5bd80bfe 14542015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 1455 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
1456
1457 [BZ #16618]
1458 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1459 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1460 size in bytes. Store needed elements in wpmax. Use needed size
1461 in bytes for extend_alloca.
1462
3f823f48
CD
14632015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1464
04cb913d
CD
1465 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1466 binutls 2.25, and texinfo 5.2.
1467 * INSTALL: Regenerate.
1468 * sysdeps/nios2/configure: Regenerate.
1469 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1470 * manual/contrib.texi: Update.
1471 * po/be.po: Update.
1472 * po/bg.po: Update.
1473 * po/ca.po: Update.
1474 * po/cs.po: Update.
1475 * po/da.po: Update.
1476 * po/de.po: Update.
1477 * po/el.po: Update.
1478 * po/eo.po: Update.
1479 * po/es.po: Update.
1480 * po/fi.po: Update.
1481 * po/fr.po: Update.
1482 * po/gl.po: Update.
1483 * po/hr.po: Update.
1484 * po/hu.po: Update.
1485 * po/ia.po: Update.
1486 * po/id.po: Update.
1487 * po/it.po: Update.
1488 * po/ja.po: Update.
1489 * po/ko.po: Update.
1490 * po/lt.po: Update.
1491 * po/nb.po: Update.
1492 * po/nl.po: Update.
1493 * po/pl.po: Update.
1494 * po/pt_BR.po: Update.
1495 * po/ru.po: Update.
1496 * po/rw.po: Update.
1497 * po/sk.po: Update.
1498 * po/sl.po: Update.
1499 * po/sv.po: Update.
1500 * po/tr.po: Update.
1501 * po/uk.po: Update.
1502 * po/vi.po: Update.
1503 * po/zh_CN.po: Update.
1504 * po/zh_TW.po: Update.
1505
3f823f48
CD
1506 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1507 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1508 * sysdeps/hppa/dl-irel.h: Remove #warning.
1509 * sysdeps/hppa/entry.h: Provide prototype for
1510 __canonicalize_funcptr_for_compare and cast argument.
1511 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1512 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1513 * sysdeps/hppa/sotruss-lib.c: New file.
1514 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1515 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1516 (atomic_compare_and_exchange_bool_acq): Likewise.
1517 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1518 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1519
1520 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1521 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1522 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1523
34c56048
CLT
15242015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1525
1526 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1527 called function in non-PIC case.
1528
d4abeca5
DM
15292015-01-31 David S. Miller <davem@davemloft.net>
1530
edac0a60
DM
1531 * sysdeps/sparc/sparc32/bits/atomic.h
1532 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1533 unlock not after it.
1534 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1535 volatile register usage warnings from the compiler.
1536
d4abeca5
DM
1537 * sysdeps/sparc/nptl/sem_init.c: Delete.
1538 * sysdeps/sparc/nptl/sem_post.c: Delete.
1539 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1540 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1541 * sysdeps/sparc/sparc32/sem_init.c: New file.
1542 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1543 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1544 padding explicitly initialized.
1545 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1546 padding for in-semaphore spinlock.
1547 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1548 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1549 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1550 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1551 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1552 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1553 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1554 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1555 version.
1556 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1557 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1558
5f3d0b78
L
15592015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1560
1561 [BZ #17801]
1562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1563 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1564 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1565 New.
1566 (index_AVX_Fast_Unaligned_Load): Likewise.
1567 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1568 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1569 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1570 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1571 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1572 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1573 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1574 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1575 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1576
b658fdd8
AS
15772015-01-29 Andreas Schwab <schwab@suse.de>
1578
1579 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1580
3cb26316
SP
15812015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1582
1583 [BZ #17892]
1584 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1585
527de9e4
MS
15862015-01-28 Martin Sebor <msebor@redhat.com>
1587
1588 * math/README.libm-test: Clarify. Add "How to read the test output."
1589
06991eb8
CM
15902015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1591
1592 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1593 Define to 0.
1594
df341342
JM
15952015-01-28 Joseph Myers <joseph@codesourcery.com>
1596
1597 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1598 (__HAVE_64B_ATOMICS): Define to 0.
1599
08cee2a4
AZ
16002015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1601
d4d0ecb2
AZ
1602 [BZ #17885]
1603 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1604 value to set as new flag.
1605
08cee2a4
AZ
1606 [BZ #16576]
1607 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1608 and use _ARCH_PPCSQ instead.
1609 (__ieee754_sqrt): Likewise.
1610 (__ieee754_sqrtf): Likewise.
1611 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1612 _ARCH_PPCSQ is defined.
1613 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1614 fsqrt instruction.
1615 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1616 _ARCH_PPCSQ is defined.
1617 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1618 fsqrts instruction.
1619 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1620
5fe8e359
AK
16212015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1622
1623 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1624 bug (GCC BZ #64739).
1625
24bb7432
AS
16262015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1627
fa20da31
AS
1628 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1629 Mark _retval as used.
1630 (lll_futex_wake_unlock): Likewise.
1631 (lll_futex_timed_wait_requeue_pi): Likewise.
1632
45819cbc
AS
1633 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1634 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1635 register variables.
1636
403cc231
AS
1637 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1638 libm_hidden_def.
1639
24bb7432
AS
1640 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1641 (__bswap_64): Mark as __always_inline.
1642
9317ea65
B
16432015-01-25 Bram <bug_rh@spam.wizbit.be>
1644
1645 [BZ #15378]
1646 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1647 when none of the search directories exist.
1648
0e87343e
AZ
16492015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1650
bea58013
AZ
1651 [BZ #17869]
1652 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1653 power8 in .machine directive.
1654
0e87343e
AZ
1655 [BZ #17868]
1656 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1657 set dependency from opd value.
1658
ede0236c
L
16592015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1660
1661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
1662 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1663 architecture.
ede0236c 1664
22971c35
L
16652015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1666
1667 [BZ #17870]
1668 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1669 with uint64_t.
1670 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1671 (uint64_t) 1.
e0da28a1 1672 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
1673 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1674 Replace 1UL with (uint64_t) 1.
1675 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1676 int with uint64_t.
1677
da5bf245
RM
16782015-01-23 Roland McGrath <roland@hack.frob.com>
1679
2ec2d703
RM
1680 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1681 (if_freenameindex): Likewise.
1682
da5bf245
RM
1683 * resource/getrlimit64.c: Add missing libc_hidden_def.
1684
d7423856
JM
16852015-01-22 Joseph Myers <joseph@codesourcery.com>
1686
1687 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1688 __label__.
1689 (_FP_FMA): Likewise.
1690 (_FP_TO_INT_ROUND): Likewise.
1691 (_FP_FROM_INT): Likewise.
1692
6b2ba95b
AZ
16932015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1694
1695 [BZ #16418]
1696 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1697 Make code racy and cancel safe.
1698
ccdb048d
CD
16992015-01-21 Carlos O'Donell <carlos@redhat.com>
1700
191220b3
CD
1701 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1702 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1703 attribution.
1704
0897c551
CD
1705 * pwd/tst-getpw.c: Rewrite.
1706
ccdb048d
CD
1707 [BZ #17702]
1708 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1709 (modules-names): Add moddummy1 and moddummy2.
1710 ($(objpfx)tst-rec-dlopen): Define.
1711 * dlfcn/moddummy1.c: New file.
1712 * dlfcn/moddummy2.c: New file.
1713 * dlfcn/tst-rec-dlopen.c: New file.
1714 * elf/dl-cache.c (_dl_load_cache_lookup):
1715 Return char*. Copy result with alloca/strcpy/strdup.
1716 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1717 returns char*. Free cached. If not saving realname
1718 free cached.
1719 * elf/dl-open.c (dl_open_worker): Do not assert that
1720 _r_debug->r_state is RT_CONSISTENT.
1721 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1722 returns char*.
1723
042e1521
CD
17242015-01-21 Torvald Riegel <triegel@redhat.com>
1725 Carlos O'Donell <carlos@redhat.com>
1726
1727 [BZ #12674]
1728 * nptl/sem_waitcommon.c: New file.
1729 * nptl/sem_wait.c: Include sem_waitcommon.c.
1730 (__sem_wait_cleanup, do_futex_wait): Remove.
1731 (__new_sem_wait): Adapt.
1732 (__new_sem_trywait): New function.
1733 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1734 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1735 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1736 (sem_timedwait): Adapt.
1737 * nptl/sem_post.c (__new_sem_post): Adapt.
1738 (futex_wake): New function.
1739 (__old_sem_post): Add release MO fence.
1740 * nptl/sem_open.c (sem_open): Adapt.
1741 * nptl/sem_init.c (__new_sem_init): Adapt.
1742 (futex_private_if_supported): New function.
1743 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1744 (__old_sem_getvalue): Add using previous code.
1745 * sysdeps/nptl/internaltypes.h: Adapt.
1746 * nptl/tst-sem13.c (do_test): Adapt.
1747 * nptl/tst-sem11.c (main): Adapt.
1748 * nptl/sem_trywait.c: Remove.
1749 * nptl/DESIGN-sem.txt: Remove.
1750 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1751 (gen-as-const-headers): Remove structsem.sym.
1752 * nptl/structsem.sym: Remove.
1753 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1754 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1755 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1756 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1757 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1758 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1759 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1760 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1761 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1762 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1763 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1764 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1765 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1766 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1767 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1768 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1769 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1770 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1771 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1772 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1773 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1774 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1775
fe0e85af
CD
17762015-01-20 Carlos O'Donell <carlos@redhat.com>
1777
a8db092e
CD
1778 * INSTALL: Regenerated.
1779
fe0e85af
CD
1780 * po/libc.pot: Regenerated.
1781
522e6ee3
CLT
17822015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1783 Sandra Loosemore <sandra@codesourcery.com>
1784 Andrew Jenner <andrew@codesourcery.com>
1785 Joseph Myers <joseph@codesourcery.com>
1786 Nathan Sidwell <nathan@codesourcery.com>
1787
1788 * NEWS: Mention new Nios II port.
1789 * sysdeps/nios2/Implies: New file.
1790 * sysdeps/nios2/Makefile: New file.
1791 * sysdeps/nios2/Subdirs: New file.
1792 * sysdeps/nios2/Versions: New file.
1793 * sysdeps/nios2/__longjmp.S: New file.
1794 * sysdeps/nios2/abort-instr.h: New file.
1795 * sysdeps/nios2/backtrace.c: New file.
1796 * sysdeps/nios2/bits/endian.h: New file.
1797 * sysdeps/nios2/bits/fenv.h: New file.
1798 * sysdeps/nios2/bits/link.h: New file.
1799 * sysdeps/nios2/bits/setjmp.h: New file.
1800 * sysdeps/nios2/bsd-_setjmp.S: New file.
1801 * sysdeps/nios2/bsd-setjmp.S: New file.
1802 * sysdeps/nios2/configure: New generated file.
1803 * sysdeps/nios2/configure.ac: New file.
1804 * sysdeps/nios2/crti.S: New file.
1805 * sysdeps/nios2/crtn.S: New file.
1806 * sysdeps/nios2/dl-init.c: New file.
1807 * sysdeps/nios2/dl-machine.h: New file.
1808 * sysdeps/nios2/dl-sysdep.h: New file.
1809 * sysdeps/nios2/dl-tls.h: New file.
1810 * sysdeps/nios2/dl-trampoline.S: New file.
1811 * sysdeps/nios2/gccframe.h: New file.
1812 * sysdeps/nios2/gmp-mparam.h: New file.
1813 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1814 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1815 * sysdeps/nios2/ldsodefs.h: New file.
1816 * sysdeps/nios2/libc-tls.c: New file.
1817 * sysdeps/nios2/libm-test-ulps: New file.
1818 * sysdeps/nios2/machine-gmon.h: New file.
1819 * sysdeps/nios2/math-tests.h: New file.
1820 * sysdeps/nios2/math_private.h: New file.
1821 * sysdeps/nios2/memusage.h: New file.
1822 * sysdeps/nios2/nptl/Makefile: New file.
1823 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1824 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1825 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1826 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1827 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1828 * sysdeps/nios2/nptl/tls.h: New file.
1829 * sysdeps/nios2/preconfigure: New file.
1830 * sysdeps/nios2/s_fma.c: New file.
1831 * sysdeps/nios2/s_fmaf.c: New file.
1832 * sysdeps/nios2/setjmp.S: New file.
1833 * sysdeps/nios2/sfp-machine.h: New file.
1834 * sysdeps/nios2/sotruss-lib.c: New file.
1835 * sysdeps/nios2/stackguard-macros.h: New file.
1836 * sysdeps/nios2/stackinfo.h: New file.
1837 * sysdeps/nios2/start.S: New file.
1838 * sysdeps/nios2/sysdep.h: New file.
1839 * sysdeps/nios2/tls-macros.h: New file.
1840 * sysdeps/nios2/tst-audit.h: New file.
1841 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1842 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1843 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1844 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1845 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1846 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1847 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1848 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1849 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1850 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1851 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1852 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1853 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1854 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1855 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1856 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1857 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1858 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1859 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1860 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1861 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1862 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1863 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1864 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1865 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1866 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1867 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1868 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1869 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1870 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1871 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1872 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1873 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1874 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1875 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1876 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1877 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1878 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1879 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1880 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1881 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1882 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1883 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1884 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1885
026eb207
SL
18862015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1887
1888 [BZ #17844]
1889 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1890 (getutent): Use weak_alias in non SHARED case
1891 and default_symbol_version in SHARED case.
1892 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1893 (getutent_r, pututline): Likewise.
1894 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1895 (getutid): Likewise.
1896 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1897 (getutid_r): Likewise.
1898 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1899 (getutline): Likewise.
1900 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1901 (getutline_r): Likewise.
1902 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1903 (updwtmp): Likewise.
1904
1d532483
SL
19052015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1906
1907 [BZ #17848]
1908 * sysdeps/s390/s390-32/memcmp.S
1909 (memcmp_g5): Rename to __memcmp_g5.
1910 * sysdeps/s390/s390-32/memcpy.S
1911 (memcpy_g5): Rename to __memcpy_g5.
1912 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1913 (memcpy_mvcle) Rename to __memcpy_mvcle.
1914 * sysdeps/s390/s390-32/memset.S
1915 (memset_g5): Rename to __memset_g5.
1916 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1917 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1918 and use prefixed functions.
1919 * sysdeps/s390/s390-32/multiarch/memcmp.S
1920 (memcmp_z196): Rename to __memcmp_z196.
1921 (memcmp_z10): Rename to __memcmp_z10.
1922 (memcmp): Set alias to __memcmp_g5.
1923 (bcmp): Set alias to __memcmp_g5.
1924 * sysdeps/s390/s390-32/multiarch/memcpy.S
1925 (memcpy_z196): Rename to __memcpy_z196.
1926 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1927 (memcpy_z10): Rename to __memcpy_z10.
1928 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1929 (memcpy): Set alias to __memcpy_g5.
1930 * sysdeps/s390/s390-32/multiarch/memset.S
1931 (memset_z196): Rename to __memset_z196.
1932 Jump to __memset_mvcle instead of memset_mvcle.
1933 (memset_z10): Rename to __memset_z10.
1934 Jump to __memset_mvcle instead of memset_mvcle.
1935 (memset_mvcle) Rename to __memset_mvcle.
1936 (memset): Set alias to __memset_g5.
1937 * sysdeps/s390/s390-64/memcmp.S
1938 (memcmp_z900): Rename to __memcmp_z900.
1939 * sysdeps/s390/s390-64/memcpy.S
1940 (memcpy_z900): Rename to __memcpy_z900.
1941 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1942 (memcpy_mvcle) Rename to __memcpy_mvcle.
1943 * sysdeps/s390/s390-64/memset.S
1944 (memset_z900): Rename to __memset_z900.
1945 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1946 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1947 and use prefixed functions.
1948 * sysdeps/s390/s390-64/multiarch/memcmp.S
1949 (memcmp_z196): Rename to __memcmp_z196.
1950 (memcmp_z10): Rename to __memcmp_z10.
1951 (memcmp): Set alias to __memcmp_z900.
1952 (bcmp): Set alias to __memcmp_z900.
1953 * sysdeps/s390/s390-64/multiarch/memcpy.S
1954 (memcpy_z196): Rename to __memcpy_z196.
1955 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1956 (memcpy_z10): Rename to __memcpy_z10.
1957 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1958 (memcpy): Set alias to __memcpy_z900.
1959 * sysdeps/s390/s390-64/multiarch/memset.S
1960 (memset_z196): Rename to __memset_z196.
1961 Jump to __memset_mvcle instead of memset_mvcle.
1962 (memset_z10): Rename to __memset_z10.
1963 Jump to __memset_mvcle instead of memset_mvcle.
1964 (memset_mvcle) Rename to __memset_mvcle.
1965 (memset): Set alias to __memset_z900.
1966
53fbd169
JM
19672015-01-14 Joseph Myers <joseph@codesourcery.com>
1968
1969 [BZ #17748]
1970 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1971 __fesetenv instead of fesetenv.
1972
d639a363
SP
19732015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1974
1975 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1976 macro.
1977
d3b00f46
AZ
19782015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1979
ce6615c9
AZ
1980 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1981 regression on LE.
1982
d3b00f46
AZ
1983 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1984 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1985 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1986 strncmp-power8 object.
1987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1988 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1989 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1990 * NEWS: Update.
1991
72607db0
RS
19922015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1993 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1994
1995 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1996 trailing byte check.
1997
54dc5461
DM
19982015-01-13 David S. Miller <davem@davemloft.net>
1999
2000 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2001
1c6e6f23
RM
20022015-01-13 Roland McGrath <roland@hack.frob.com>
2003
2004 * login/logout.c (logout): Use memset rather than bzero.
2005 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2006 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2007 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2008 (_gethtbyaddr): Likewise.
2009 * locale/programs/simple-hash.c (bcopy): Macro removed.
2010
96d6fd6c
AZ
20112015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2012
8bedcb5f
AZ
2013 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2014 Add strcmp-power8 object.
2015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2016 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2017 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2018 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2019 __strcmp_power8 implementation.
2020 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2021 * NEWS: Update.
2022
f06a4faf
AZ
2023 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2024 Add strncpy-power8 and stpncpy-power8 objects.
2025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2026 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2027 implementations.
2028 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2029 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2030 __stpncpy_power8 implementation.
2031 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2032 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2033 __strncpy_power8 implementation.
2034 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2035 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2036 * NEWS: Update.
2037
9f2f36e5
AZ
2038 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2039 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2040 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2041
96d6fd6c 2042 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
2043 strncat-power8 object.
2044 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2045 __strcat_power8 implementation.
2046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2047 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2048 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2049 optimized strcat for power8.
2050
2051 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
2052 strcpy-power8 and stpcpy-power8 objects.
2053 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2054 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2055 implementations.
2056 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2057 multiarch stpcpy implementation for POWER8.
2058 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2059 multiarch strcpy implementation for POWER8.
2060 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2061 __strcpy_power8 function.
2062 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2063 stpcpy for POWER8.
2064 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2065 strcpy for POWER8.
2066 * NEWS: Update.
2067
0f9e5854
LH
20682015-01-13 Leonhard Holz <leonhard.holz@web.de>
2069
2070 [BZ #16009]
2071 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2072 weights and rules. Use do_xfrm_cached if data fits in cache,
2073 do_xfrm otherwise. Moved former main loop to...
2074 * (do_xfrm_cached): New function.
2075 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2076 find_idx, find_position and stack_push.
2077 * (find_idx): New function.
2078 * (find_position): Likewise.
2079 * localedata/sort-test.sh: Added test run for do_xfrm.
2080 * localedata/xfrm-test.c (main): Added command line option
2081 -nocache to run the test with strings that are too large for
2082 the STRXFRM cache.
2083
c60ec0e0
TR
20842015-01-13 Torvald Riegel <triegel@redhat.com>
2085
2086 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2087 variable to lll_futex_wake call, not the value itself.
2088
34e93d6c
JM
20892015-01-12 Joseph Myers <joseph@codesourcery.com>
2090
5a9e4c09
JM
2091 [BZ #17803]
2092 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2093 twom64. Adjust value to 0x1p-64L.
2094 (__scalblnl): Only return standard underflowing result for K <=
2095 -64 not K <= -63; adjust exponent for underflowing result by 64
2096 not 63.
2097 * math/libm-test.inc (scalbn_test_data): Add more tests.
2098 (scalbln_test_data): Likewise.
2099
34e93d6c
JM
2100 [BZ #17834]
2101 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2102 0x1p63L.
2103 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2104 not HX.
2105 * math/libm-test.inc (scalbn_test_data): Add more tests.
2106 (scalbln_test_data): Likewise.
2107
ca677d3c
AZ
21082015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2109 Stefani Seibold <stefani@seibold.net>
2110
2111 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2112 (sysdep_routines): Add dl-vdso here, ...
2113 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2114 (sysdep_routines): ... not here.
2115 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2116 fallback when vDSO is not presented.
2117 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2118 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2119 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2120 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2121 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2122 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2123 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2124 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2125 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2126 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2127 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2128 fallback configurable symbol when vDSO is not available.
2129 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2130 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2131 be able to redefine fallback symbol when vDSO is not available.
2132 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2133 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2134
49a9f6ab 21352015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 2136
56cf2763
AZ
2137 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2138 (TLS_INIT_TP): Add tm_capable initialization.
2139 (TLS_DEFINE_INIT_TP): Likewise.
2140 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2141 TCB.
2142 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2143 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2144 calculation.
2145 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2146 transactoion is lock elision is built and TCB tm_capable is set.
2147 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2149 (INTERNAL_SYSCALL_NCS): Likewise.
2150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2151 (INTERNAL_SYSCALL_NCS): Likewise.
2152 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2153
4b45943a
AZ
2154 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2155 for powerpc.
2156 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2157 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2158 and remove it for 32 bits case.
2159 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2160 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2161 initialization.
2162 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2163 Disable lock elision with rdlocks if elision is not available.
2164
8d2c0a59
AZ
2165 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2166 (sysdep_routines): Add lock elision objects.
2167 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2168 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2169 [pthread_mutex_t] (__elision): Add field.
2170 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2171 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2172 elision definitions for powerpc.
2173 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2174 implementation of lock elision for powerpc.
2175 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2176 implementation of timed lock elision for powerpc.
2177 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2178 implementation of trylock with lock elision for powerpc.
2179 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2180 implementaion of unlock for lock elision for powerpc.
2181 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2182 automatic enable lock elision for mutexes.
2183 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2184 transaction execution definitions for powerpc.
2185 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2186 definitions.
2187 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2188 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2189 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2190 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2191 * NEWS: Update.
2192
bc0ed9f7
RM
21932015-01-09 Roland McGrath <roland@hack.frob.com>
2194
2195 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2196 for #include of <shm-directory.h>.
2197
585d9c18
CLT
21982015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2199
2200 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2201 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2202
aee6626c
MF
22032015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2204
2205 [BZ #17791]
2206 * NEWS: Mention bug fix.
2207 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2208 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2209 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2210
9e560f48
TR
22112015-01-09 Torvald Riegel <triegel@redhat.com>
2212
2213 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2214
e1cfbd0c
TR
22152015-01-09 Torvald Riegel <triegel@redhat.com>
2216
2217 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2218
cf71e44f
DH
22192015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2220
2221 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2222 pointer and cast to uintptr_t.
2223
b360ee62
DH
22242015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2225
2226 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2227 removed.
2228 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2229
caff764e
DH
22302015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2231
2232 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2233 of 0.
2234
59ff172f
RM
22352015-01-08 Roland McGrath <roland@hack.frob.com>
2236
c97d27f1
RM
2237 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2238 <nptl/pthreadP.h> instead.
2239 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2240
08734ccd
RM
2241 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2242 already defined.
2243 [__SIGRTMIN] (init): Function removed.
2244 [__SIGRTMIN] (initialized): Variable removed.
2245 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2246 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2247 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2248 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2249 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2250 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2251 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2252 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2253 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2254 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2255 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2256 * sysdeps/nptl/allocrtsig.c: New file.
2257 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2258 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2259 * sysdeps/generic/testrtsig.h: File removed.
2260
7b052e33
RM
2261 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2262 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2263
cc40d25e
RM
2264 * nptl/nptl-init.c (pthread_functions): Conditionalize
2265 .ptr__nptl_setxid initialization on [SIGSETXID].
2266
9287adf0
RM
2267 * sysdeps/nptl/sys/procfs.h: New file.
2268 * nptl_db/Makefile (headers): Add it.
2269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2270
59ff172f
RM
2271 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2272 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2273 * nptl/pthread_attr_setaffinity.c: Include it.
2274 * nptl/pthread_setattr_default_np.c: Likewise.
2275 * nptl/check-cpuset.h: New file.
2276
b9205857
RH
22772015-01-08 Richard Henderson <rth@redhat.com>
2278
2279 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2280 (CFLAGS-tst-execstack-prog.c): Likewise.
2281 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2282
1a0a8d15
CLT
22832015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2284 Sandra Loosemore <sandra@codesourcery.com>
2285 Andrew Jenner <andrew@codesourcery.com>
2286 Joseph Myers <joseph@codesourcery.com>
2287 Nathan Sidwell <nathan@codesourcery.com>
2288
2289 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2290 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2291 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2292 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2293 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2294 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2295 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
2296 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2297 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2298 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2299 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2300 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2301 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
2302 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2303 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2304 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2305 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2306
dd6e8af6
AZ
23072015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2308
2309 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2310 timespec struct member in syscall macro.
2311 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2312 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2313 first timeval struct member in syscall macro.
2314 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2315
8116321f
JM
23162015-01-07 Joseph Myers <joseph@codesourcery.com>
2317
2318 [BZ #17748]
2319 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2320 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2321 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2322 __feupdateenv and define as weak alias of __feupdateenv. Use
2323 libm_hidden_weak.
2324 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2325 libm_hidden_def.
2326 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2327 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2328 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2329 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2330 libm_hidden_def.
2331 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2332 __feupdateenv and define as weak alias of __feupdateenv. Use
2333 libm_hidden_weak.
2334 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2335 libm_hidden_def.
2336 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2337 __feupdateenv and define as weak alias of __feupdateenv. Use
2338 libm_hidden_weak.
2339 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2340 libm_hidden_def.
2341 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2342 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2343 (__feupdateenv): Likewise.
2344 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2345 __feupdateenv and define as weak alias of __feupdateenv. Use
2346 libm_hidden_weak.
2347 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2348 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2349 libm_hidden_def.
2350 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2351 function.
2352 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2353 libm_hidden_def.
2354 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2355 __feupdateenv instead of feupdateenv.
2356 (default_libc_feupdateenv_test): Likewise.
2357 (libc_feresetround_ctx): Likewise.
2358
882dfe18
AZ
23592015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2360
2361 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2362 prototype.
2363
39a12f8d
CM
23642015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2365
2366 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2367 COLL_SYM in a couple of places to avoid uninitialized variable
2368 wanings on tilegx gcc 4.8.2.
2369
dc400d7b
RE
23702015-01-07 Richard Earnshaw <rearnsha@arm.com>
2371
2372 * sysdeps/aarch64/strcpy.S: New file.
2373 * sysdeps/aarch64/stpcpy.S: New file.
2374 * NEWS: Updated.
2375
ec582ca0
RE
23762015-01-07 Richard Earnshaw <rearnsha@arm.com>
2377
2378 * sysdeps/aarch64/strrchr.S: New file.
2379 * NEWS: Updated.
2380
d5b1c5ed
EB
23812015-01-07 Eric Biggers <ebiggers3@gmail.com>
2382
2383 [BZ #17658]
2384 * stdlib/setenv.c: Fix memory leak when setting large,
2385 duplicate string.
2386
fb87ee96
VN
23872015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2388
60f046a8 2389 [BZ #17273]
fb87ee96
VN
2390 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2391 and tabs from buffer before parsing fstab entry.
2392 * misc/tst-mntent.c (main): Add test for mount entry with
2393 trailing spaces and tabs.
2394
cd42798a
JM
23952015-01-06 Joseph Myers <joseph@codesourcery.com>
2396
01238691
JM
2397 [BZ #17748]
2398 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2399 * math/fesetround.c (fesetround): Rename to __fesetround and
2400 define as weak alias of __fesetround. Use libm_hidden_weak.
2401 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2402 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2403 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2404 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2405 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2406 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2407 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2408 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2409 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2410 __fesetround_inline.
2411 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2412 __fesetround_inline instead of __fesetround.
2413 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2414 __fesetround and define as weak alias of __fesetround. Use
2415 libm_hidden_weak. Call __fesetround_inline instead of
2416 __fesetround.
2417 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2418 __fesetround and define as weak alias of __fesetround. Use
2419 libm_hidden_weak.
2420 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2421 Likewise.
2422 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2423 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2424 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2425 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2426 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2427 __fesetround and define as weak alias of __fesetround. Use
2428 libm_hidden_weak.
2429 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2430 __fesetround instead of fesetround.
2431 (default_libc_feholdexcept_setround): Likewise.
2432 (libc_feholdsetround_ctx): Likewise.
2433 (libc_feholdsetround_noex_ctx): Likewise.
2434
cd42798a
JM
2435 [BZ #17748]
2436 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2437 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2438 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2439 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2440 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2441 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2442 define as weak alias of __fesetenv. Use libm_hidden_weak.
2443 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2444 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2445 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2446 define as weak alias of __fesetenv. Use libm_hidden_weak.
2447 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2448 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2449 define as weak alias of __fesetenv. Use libm_hidden_weak.
2450 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2451 libm_hidden_def.
2452 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2453 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2454 Likewise.
2455 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2456 define as weak alias of __fesetenv. Use libm_hidden_weak.
2457 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2458 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2459 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2460 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2461 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2462 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2463 __fesetenv instead of fesetenv.
2464 (libc_feresetround_noex_ctx): Likewise.
2465 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2466 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2467 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2468 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2469 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2470 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2471 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2472 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2473 (__feupdateenv): Likewise.
2474 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2475 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2476 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2477 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2478
38949026
AJ
24792015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2480
1cf98e27 2481 [BZ #17806]
38949026
AJ
2482 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2483 addresses have been freed.
2484
5fe55e9c
AJ
24852015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2486
2487 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2488 and nservall.
2489
dc8ab018
OB
24902015-01-06 Ondřej Bílka <neleai@seznam.cz>
2491
2492 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2493 Clean up check_pf allocation pattern. addresses
2494
14bb4e57
AZ
24952015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2496
2497 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2498 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2499 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2500 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2501 * nptl/pthread_join.c (pthread_join): Likewise.
2502 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2503 * sysdeps/posix/waitid.c (__waitid): Likewise.
2504 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2505 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2506 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2507 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2508 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2509 Likewise.
2510 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2511 (__libc_pread64): Likewise.
2512 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2513 (__libc_pwrite): Likewise.
2514 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2515 (__libc_pwrite64): Likewsie.
2516 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2517 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2518 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2519 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2520 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2521 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2522 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2524 Likewise.
2525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2526 (__libc_pread64): Likewise.
2527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2528 Likewise.
2529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2530 (__libc_pwrite64): Likewise.
2531 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2532 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2533 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2534 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2535 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2536 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2537 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2538 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2539 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2540 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2541 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2542 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2543 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2544 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2545 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2546 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2547 Likewise.
2548
10a5e112
AS
25492015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2550
2551 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2552 (CFLAGS-test-double.c): Likewise.
2553 (CFLAGS-test-ldouble.c): Likewise.
2554 (CPPFLAGS-test-ifloat.c): Likewise.
2555 (CPPFLAGS-test-idouble.c): Likewise.
2556 (CPPFLAGS-test-ildoubl.c): Likewise.
2557 (CFLAGS-test-test-fenv.c): Remove variable.
2558 (CFLAGS-test-misc.c): Likewise.
2559
57ada0e7
L
25602015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2561
2562 [BZ #17797]
2563 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2564 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2565 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2566 CLOCKS_PER_SEC == 1000000.
2567 * time/clocktest.c (main): Replace %ld with %jd and cast to
2568 intmax_t.
2569
46abb64d
RM
25702015-01-05 Roland McGrath <roland@hack.frob.com>
2571
2572 * sysdeps/generic/unwind-resume.h: New file.
2573 * sysdeps/gnu/unwind-resume.c: Include it.
2574 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2575 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2576 argument list.
2577 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2578 global rather than static.
2579 (_Unwind_Resume): Update user.
2580 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2581 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2582 rather than static. Add __attribute__ ((cold)).
2583 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2584 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2585 * sysdeps/arm/arm-unwind-resume.S: New file.
2586 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2587 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2588 * sysdeps/arm/Makefile [$(subdir) = csu]
2589 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2590 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2591 Add rt-arm-unwind-resume.
2592 [$(subdir) = nptl]
2593 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2594 Add pt-arm-unwind-resume.
2595 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2596 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2597
ef9faf13
JM
25982015-01-05 Joseph Myers <joseph@codesourcery.com>
2599
2600 [BZ #17748]
2601 * include/fenv.h (__feholdexcept): Declare. Use
2602 libm_hidden_proto.
2603 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2604 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2605 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2606 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2607 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2608 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2609 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2610 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2611 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2612 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2613 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2614 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2615 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2616 (feholdexcept): Likewise.
2617 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2618 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2619 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2620 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2621 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2622 __feholdexcept instead of feholdexcept.
2623 (default_libc_feholdexcept_setround): Likewise.
2624
295a453e
SE
26252015-01-05 Steve Ellcey <sellcey@imgtec.com>
2626
2627 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2628 to avoid using stl/str to align destination.
2629
882c4b9f
SE
26302015-01-05 Steve Ellcey <sellcey@imgtec.com>
2631
2632 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2633
ac4c11f5
JM
26342015-01-05 Joseph Myers <joseph@codesourcery.com>
2635
2636 [BZ #17796]
2637 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2638 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2639 Define as weak alias not strong alias.
2640
03403e30
SE
26412015-01-05 Steve Ellcey <sellcey@imgtec.com>
2642
2643 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2644 bltzal with addiupc.
2645 (RTLD_START): Ditto.
2646
1dca195e
CM
26472015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2648
00b8b9ba
SP
2649 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2650 for __vdso_* functions in declarations.
2651 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2652 definitions.
2653 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2654 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 2655
1dca195e
CM
2656 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2657 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2658 function with cast from llround().
2659 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2660 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2661 Define.
2662
a287953a
JM
26632015-01-05 Joseph Myers <joseph@codesourcery.com>
2664
ab70da77
JM
2665 [BZ #17793]
2666 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2667 Define as weak alias not strong alias.
2668
b8986484
JM
2669 [BZ #17635]
2670 * ctype/ctype-c99.c: New file. isblank implementation moved from
2671 ...
2672 * ctype/ctype-extn.c: ... here.
2673 (__isblank_l): Move to ...
2674 * ctype/ctype-c99_l.c: ... here. New file.
2675 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2676 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2677 Remove variable.
2678 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2679 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2680 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2681 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2682 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2683
a287953a
JM
2684 [BZ #17777]
2685 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2686 (posix_fadvise64): Define as weak alias not strong alias.
2687 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2688 (posix_fallocate64): Likewise.
2689 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2690 Remove variable.
2691 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2692 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2693 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2694 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2695 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2696
b1efe3bb
MF
26972015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2698
2699 [BZ #16191]
2700 * NEWS: Mention bug fix.
2701 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2702 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2703 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2704 (HOST_STACK_END_ADDR): Likewise.
2705
9706dc5f
JM
27062015-01-02 Joseph Myers <joseph@codesourcery.com>
2707
b93c2205
JM
2708 [BZ #17748]
2709 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2710 * math/fegetround.c (fegetround): Rename to __fegetround and
2711 define as weak alias of __fegetround. Use libm_hidden_weak.
2712 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2713 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2714 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2715 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2716 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2717 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2718 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2719 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2720 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2721 Undefine after rather than before function definition; use
2722 parentheses around function name in definition.
2723 (__fegetround): Also undefine macro after function definition.
2724 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2725 __fegetround and define as weak alias of __fegetround. Use
2726 libm_hidden_weak. Do not undefine as macro.
2727 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2728 Likewise.
2729 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2730 __fegetround and define as weak alias of __fegetround. Use
2731 libm_hidden_weak.
2732 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2733 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2734 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2735 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2736 __fegetround and define as weak alias of __fegetround. Use
2737 libm_hidden_weak.
2738 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2739 __fegetround instead of fegetround.
2740
253a59cc
JM
2741 [BZ #17782]
2742 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2743 Condition macro definition on [__USE_MISC].
2744
27dae011
JM
2745 [BZ #17781]
2746 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2747 (struct sigaction): Change type of sa_flags field to int.
2748
172019c0
JM
2749 [BZ #17780]
2750 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2751 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2752 __glibc_reserved0.
2753
522ad1d6
JM
2754 * nptl/version.c (banner): Use single year in copyright notice.
2755
9706dc5f
JM
2756 * NEWS: Update copyright dates.
2757 * catgets/gencat.c (print_version): Likewise.
2758 * csu/version.c (banner): Likewise.
2759 * debug/catchsegv.sh: Likewise.
2760 * debug/pcprofiledump.c (print_version): Likewise.
2761 * debug/xtrace.sh (do_version): Likewise.
2762 * elf/ldconfig.c (print_version): Likewise.
2763 * elf/ldd.bash.in: Likewise.
2764 * elf/pldd.c (print_version): Likewise.
2765 * elf/sotruss.sh: Likewise.
2766 * elf/sprof.c (print_version): Likewise.
2767 * iconv/iconv_prog.c (print_version): Likewise.
2768 * iconv/iconvconfig.c (print_version): Likewise.
2769 * locale/programs/locale.c (print_version): Likewise.
2770 * locale/programs/localedef.c (print_version): Likewise.
2771 * login/programs/pt_chown.c (print_version): Likewise.
2772 * malloc/memusage.sh (do_version): Likewise.
2773 * malloc/memusagestat.c (print_version): Likewise.
2774 * malloc/mtrace.pl: Likewise.
2775 * manual/libc.texinfo: Likewise.
2776 * nptl/version.c (banner): Likewise.
2777 * nscd/nscd.c (print_version): Likewise.
2778 * nss/getent.c (print_version): Likewise.
2779 * nss/makedb.c (print_version): Likewise.
2780 * posix/getconf.c (main): Likewise.
2781 * scripts/test-installation.pl: Likewise.
2782 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2783
b8607aac
WN
27842015-01-02 Will Newton <will.newton@linaro.org>
2785
2786 * sysdeps/arm/armv7/configure: Removed.
2787 * sysdeps/arm/armv7/configure.ac: Likewise.
2788
b168057a
JM
27892015-01-02 Joseph Myers <joseph@codesourcery.com>
2790
2791 * All files with FSF copyright notices: Update copyright dates
2792 using scripts/update-copyrights.
2793 * intl/plural.c: Regenerated.
2794 * locale/programs/charmap-kw.h: Likewise.
2795 * locale/programs/locfile-kw.h: Likewise.
2796
b217c15f
SP
27972015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2798
2799 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2800
73a268c7
JM
28012014-12-31 Joseph Myers <joseph@codesourcery.com>
2802
2803 [BZ #17748]
2804 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2805 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2806 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2807 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2808 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2809 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2810 define as weak alias of __fegetenv. Use libm_hidden_weak.
2811 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2812 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2813 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2814 define as weak alias of __fegetenv. Use libm_hidden_weak.
2815 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2816 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2817 define as weak alias of __fegetenv. Use libm_hidden_weak.
2818 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2819 libm_hidden_def.
2820 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2821 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2822 Likewise.
2823 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2824 define as weak alias of __fegetenv. Use libm_hidden_weak.
2825 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2826 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2827 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2828 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2829 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2830 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2831 __fegetenv instead of fegetenv.
2832 (libc_feholdsetround_noex_ctx): Likewise.
2833
0bd95672
MF
28342014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2835
2836 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2837 (Elf_MIPS_ABIFlags_v0): New structure.
2838 (EF_MIPS_FP64): Define.
2839 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2840 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2841 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2842 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2843 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2844 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2845 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2846 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2847 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2848 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2849 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2850 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2851 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2852 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2853 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2854 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2855 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2856 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2857 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2858 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2859 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2860 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2861 field.
2862 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2863 EF_MIPS_FP64.
2864 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2865 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2866 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2867 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2868 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2869 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2870 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2871 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2872 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2873 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2874 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2875 record the current FP ABI extension.
2876 (mips-mode-switch): Define to show if kernel headers support mode
2877 switching.
2878 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2879 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2880 supported SYSV ABI version to 3.
2881 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2882 feature.
2883
f59ad976
RS
28842014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2885 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2886
2887 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2888 path.
2889 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2890
4a3d3999
JM
28912014-12-31 Joseph Myers <joseph@codesourcery.com>
2892
2893 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2894 __fegetround and redefine to call __fegetround. Remove condition
2895 on [!__NO_MATH_INLINES].
2896 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2897 function.
2898 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2899 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2900 Remove macro.
2901 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2902 instead of <fenv_libc.h>.
2903 (__llrintl): Call fegetround instead of __fegetround.
2904 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2905 instead of <fenv_libc.h>.
2906 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2907 (__lrintl): Call fegetround instead of __fegetround.
2908 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2909 instead of <fenv_libc.h>.
2910 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2911 (__rintl): Call fegetround instead of __fegetround.
2912
195f3afc
SP
29132014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2914
2915 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2916 arrays.
2917
7062bd42
L
29182014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2919
2920 [BZ #17775]
2921 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2922 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2923 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2924
07256e18
AS
29252014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2926
2927 * sysdeps/i386/tls-macros.h: Include <features.h>.
2928 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2929 (TLS_IE): Likewise.
2930 (TLS_LD): Likewise.
2931 (TLS_GD): Likewise.
2932 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2933 define for GCC >= 5.0.
2934
1ff950ad
CM
29352014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2936
2937 * math/test-fenv.c (test_single_exception, set_single_exc,
2938 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2939 feexcp_mask_test, feenable_test, fe_single_test): Add
2940 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2941 case where they are not used.
2942 * math/libm-test.inc: Likewise.
2943 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2944 unused in the absence of FP rounding/exception support.
2945 * stdio-common/tst-printf-round.c: Likewise.
2946 * stdlib/tst-strtod-round.c: Likewise.
2947 * stdlib/tst-strtod-underflow.c: Likewise.
2948
0747f818
JM
29492014-12-30 Joseph Myers <joseph@codesourcery.com>
2950
2951 [BZ #17723]
2952 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2953 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2954 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2955 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2956 libm_hidden_weak.
2957 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2958 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2959 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2960 libm_hidden_def.
2961 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2962 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2963 libm_hidden_weak.
2964 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2965 Likewise.
2966 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2967 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2968 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2969 libm_hidden_weak.
2970 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2971 libm_hidden_def.
2972 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2973 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2974 (__feraiseexcept): Likewise.
2975 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2976 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2977 libm_hidden_weak.
2978 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2979 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2980 libm_hidden_def.
2981 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2982 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2983 Use libm_hidden_def.
2984 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2985 libm_hidden_def.
2986 (feraiseexcept): Define as weak not strong alias. Use
2987 libm_hidden_weak.
2988 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2989 New inline function. Factored out of ...
2990 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2991 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2992 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2993 feraiseexcept.
2994 * math/w_acos.c (__acos): Likewise.
2995 * math/w_asin.c (__asin): Likewise.
2996 * math/w_ilogb.c (__ilogb): Likewise.
2997 * math/w_j0.c (y0): Likewise.
2998 * math/w_j1.c (y1): Likewise.
2999 * math/w_jn.c (yn): Likewise.
3000 * math/w_log.c (__log): Likewise.
3001 * math/w_log10.c (__log10): Likewise.
3002 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3003 * sysdeps/aarch64/fpu/math_private.h
3004 (libc_feupdateenv_test_aarch64): Likewise.
3005 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3006 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3007 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3008 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3009 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3010 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3011 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3012 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3013 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3014 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3015
8d2b2763
L
30162014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3017
3018 [BZ #17732]
3019 * io/test-utime.c (main): Replace %ld with %jd and cast to
3020 intmax_t.
41fad830 3021 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
3022 * nptl/tst-mutex5.c: Include <stdint.h>.
3023 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
3024 * posix/tst-regex.c (run_test): Likewise.
3025 (run_test_backwards): Likewise.
5d619de4
L
3026 * rt/tst-clock.c: Include <stdint.h>.
3027 (clock_test): Replace %ld with %jd and cast to intmax_t.
3028 * rt/tst-cpuclock1.c: Include <stdint.h>.
3029 (do_test): Replace %lu with %ju and cast to uintmax_t.
3030 * rt/tst-cpuclock2.c: Include <stdint.h>.
3031 (do_test): Replace %lu with %ju and cast to uintmax_t.
3032 * rt/tst-mqueue1.c: Include <stdint.h>.
3033 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3034 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3035 intmax_t.
3036 * rt/tst-mqueue4.c (do_test): Likewise.
3037 * rt/tst-timer4.c: Include <stdint.h>.
3038 (check_ts): Replace %ld with %jd and cast to intmax_t.
3039 (do_test): Likewise.
ad86fbc3
L
3040 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3041 and cast to intmax_t.
37f46900 3042 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
3043 * time/clocktest.c (main): Likewise.
3044 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 3045 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 3046
8b4416d8
AS
30472014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3048 H.J. Lu <hongjiu.lu@intel.com>
3049
3050 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3051 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3052 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3053 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3054 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3055 version if bit_Fast_Unaligned_Load is set.
3056 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3057 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3058 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3059 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3060 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3061 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3063 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3064 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3065 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3066 to 4.
3067 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3068 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3069 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3070 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3071
e47b8d3b
CM
30722014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3073
6d6d7fde
CM
3074 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3075 instead of #if to avoid a Wundef warning.
3076 * stdlib/tst-limits.c (do_test): Likewise.
3077
cd2c37c9
CM
3078 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3079 parallel other exception macros.
3080 (fegetenv): Convert from macro to extern inline so that it applies
3081 retroactively to inline functions already seen by the compiler.
3082 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3083
e47b8d3b
CM
3084 * posix/Makefile (before-compile): Use $(objpfx) for
3085 posix-conf-vars-def.h.
3086
4a6aca7b
SP
30872014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3088
7910c2ae
SP
3089 * posix/getconf.c (main): Use size_t for type of I.
3090 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3091 NSPEC.
3092
50cbbaa9
SP
3093 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3094 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3095 * posix/posix-envs.def: Likewise.
3096 * sysdeps/posix/sysconf.c: Likewise.
3097 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3098 (specs): Remove array.
3099 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3100 array.
3101
3b566046
SP
3102 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3103 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3104 (__sysconf): Use CONF_IS_* macros.
3105
4a6aca7b
SP
3106 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3107 ($(objpfx)posix-conf-vars-def.h): New target.
3108 * posix/posix-conf-vars.list: New file.
3109 * posix/posix-conf-vars.h: New file.
3110 * posix/confstr.c: Include posix-conf-vars.h.
3111 (confstr): Use CONF_IS_* macros.
3112 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3113 CONF_IS_* macros.
3114 * scripts/gen-posix-conf-vars.awk: New file.
3115
7c1395a7
CM
31162014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3117
0025b4cc
CM
3118 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3119 fegetround): Add no-op macros to avoid linknamespace issues.
3120
d8aaf74b
CM
3121 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3122 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3123
5d24aa60
CM
3124 * sysdeps/unix/sysv/linux/tile/sysdep.h
3125 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3126 assembly-specific section to avoid a redefinition warning.
3127
7c1395a7
CM
3128 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3129 long before casting to pointer to avoid a cast warning.
3130
3c87c616
CM
31312014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3132
3133 * sysdeps/tile/tilegx/Implies: New file.
3134
f559d8cf
RE
31352014-12-23 Richard Earnshaw <rearnsha@arm.com>
3136
3137 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3138
7d81e8d6
FW
31392014-12-23 Florian Weimer <fweimer@redhat.com>
3140
3141 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3142
90aa3d09
JM
31432014-12-22 Joseph Myers <joseph@codesourcery.com>
3144
3145 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3146 not define.
3147 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3148 <kernel-features.h>.
3149 (__utimes) [__NR_utimes]: Make code unconditional.
3150 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3151 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3152 (__ASSUME_UTIMES): Do not undefine.
3153 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3154 (__ASSUME_UTIMES): Likewise.
3155 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3156 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3157 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3158 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3159
4c0c0e2a
SE
31602014-12-22 Steve Ellcey <sellcey@imgtec.com>
3161
3162 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3163
0dacd7a3
CM
31642014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3165
b638f96a
CM
3166 [BZ #17747]
3167 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3168 alias to weak alias for j0l, y0l.
3169 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3170 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3171
0dacd7a3
CM
3172 [BZ #17746]
3173 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3174 conversion.
3175
528479c4
SE
31762014-12-22 Steve Ellcey <sellcey@imgtec.com>
3177
3178 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3179 to zero if not already defined.
3180
f56f9124
JM
31812014-12-22 Joseph Myers <joseph@codesourcery.com>
3182
3183 [BZ #17724]
3184 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3185 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3186 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3187 (char *) casts added.
3188 * sysdeps/ieee754/k_standardf.c: New file.
3189 * sysdeps/ieee754/k_standardl.c: Likewise.
3190 * math/Makefile (libm-support): Remove k_standard.
3191 (libm-calls): Add k_standard.
3192
8622d556
WD
31932014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3194
3195 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3196 Optimize to avoid an unnecessary FPCR read.
3197
f3806bdb
WD
31982014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3199
3200 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3201 Optimize to reduce FPCR/FPSR accesses.
3202
9b47df58
WD
32032014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3204
3205 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3206 Call libc_fetestexcept_aarch64.
3207
97be3cac
WD
32082014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3209
3210 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3211 Call libc_fesetround_aarch64.
3212
935ab817
JM
32132014-12-22 Joseph Myers <joseph@codesourcery.com>
3214
3215 [BZ #17733]
3216 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3217 (__bind): Do not define as weak alias.
3218 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3219 define.
3220 (__getsockname): Do not define as weak alias.
3221
cc8623f1
WN
32222014-12-22 Will Newton <will.newton@linaro.org>
3223
3224 * manual/install.texi: Document that we require bison 2.7
3225 or above.
3226 * INSTALL: Regenerate.
3227 * configure.ac: Use AC_CHECK_PROG_VER instead of
3228 AC_PATH_PROG when checking for bison and check for
3229 version 2.7 or above.
3230 * configure: Regenerate.
3231
a19ca65a
CM
32322014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3233
92901170 3234 [BZ #17745]
e969965a
CM
3235 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3236 * sysdeps/tile/ffsll.c (ffsll): To here.
3237
a19ca65a
CM
3238 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3239
050f7298
L
32402014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3241
3242 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3243 if not defined.
3244 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3245 definition.
3246 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3247 hidden ___tls_get_addr.
3248 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3249 hidden __tls_get_addr.
3250 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3251 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3252 Likewise.
3253
6df5547e
AS
32542014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3255
3256 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3257 _dl_init call.
3258
7432d613
L
32592014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3260
3261 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3262 from "call _dl_init@PLT".
3263 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 3264
98fe149e
AK
32652014-12-21 Anders Kaseorg <andersk@mit.edu>
3266
3267 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3268 guarantees.
3269
d12455f5
CM
32702014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3271
3272 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3273
95dee05f
CM
32742014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3275
92901170 3276 [BZ #17744]
95dee05f
CM
3277 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3278 strnlen.
3279
2ef4b74a
SE
32802014-12-19 Steve Ellcey <sellcey@imgtec.com>
3281
3282 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3283 of multu on MIPSr6.
3284 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3285 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3286 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3287 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3288 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3289
32902014-12-19 Steve Ellcey <sellcey@imgtec.com>
3291
3292 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3293 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3294 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3295 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 3296 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
3297 mips32r6/mips64r6.
3298 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3299
3eb38795
OB
33002014-12-19 Ondřej Bílka <neleai@seznam.cz>
3301
3302 * string/strncat.c (STRNCAT): Simplify implementation.
3303
6d4188dd
DM
33042014-12-19 David S. Miller <davem@davemloft.net>
3305
0d4ba8be
DM
3306 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3307 access the quad as both a long double and as a series of 4 words.
3308
6d4188dd
DM
3309 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3310 link_map->l_info array access.
3311
4ef91cdc
CM
33122014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3313
804c54f7
CM
3314 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3315
4ef91cdc
CM
3316 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3317 * math/atest-exp2.c (TIMEOUT): Likewise.
3318 * math/atest-sincos.c (TIMEOUT): Likewise.
3319
afd176d6
L
33202014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3321
3322 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3323 -Wno-error with -fno-builtin-lround.
3324
a4a43a90
TR
33252014-12-19 Torvald Riegel <triegel@redhat.com>
3326
3327 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3328 Contains futex constants and functions moved over from ...
3329 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3330 <lowlevellock-futex.h>.
3331 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3332 (lll_timedwait_tid): Add comments and parentheses around macro
3333 arguments.
3334
76f71081
TR
33352014-12-19 Torvald Riegel <triegel@redhat.com>
3336
3337 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3338 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3339 (__lll_private_flag): Remove.
3340 (lll_futex_wait): Likewise.
3341 (lll_futex_timed_wait): Likewise.
3342 (lll_futex_wake): Likewise.
3343 (lll_futex_requeue): Likewise.
3344 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3345 (__lll_timedwait_tid): Spell out argument names.
3346 (lll_timedwait_tid): Add comments and parentheses around macro
3347 arguments.
3348 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3349 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3350
6b814909
TR
33512014-12-19 Torvald Riegel <triegel@redhat.com>
3352
3353 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3354 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3355 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3356 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3357 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3358 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3359 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3360 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3361 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3362 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3363 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3364 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3365 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3366 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3367 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3368 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3369 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3370 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3371 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3372
9cd4d4ab
L
33732014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3374
3375 * sysdeps/x86_64/x32/Makefile: New file.
3376
c9c1a2d0
L
33772014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3378
3379 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3380 1L with (mp_limb_t) 1.
3381
af102d95
RM
33822014-12-17 Roland McGrath <roland@hack.frob.com>
3383
dd690454
RM
3384 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3385 * nptl/libc_pthread_init.c: ... here.
3386 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3387 * nptl/register-atfork.c: ... here.
3388
74eb826c
RM
3389 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3390 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3391 Use assert_perror to check its return value.
3392 (__gai_create_helper_thread): Likewise.
3393
c9ce306b
RM
3394 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3395
af102d95
RM
3396 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3397
8ac5a76a
JM
33982014-12-17 Joseph Myers <joseph@codesourcery.com>
3399
ea41469b
JM
3400 [BZ #17725]
3401 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3402 __profil_counter.
3403 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3404 Likewise.
3405 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3406 Likewise.
3407 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3408 Likewise.
3409 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3410 (profil_counter): Likewise.
3411 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3412 (profil_counter): Likewise.
3413 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3414 Likewise.
3415 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3416 Likewise.
3417 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3418 (profil_counter): Likewise.
3419 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3420 Likewise.
3421 [!__profil_counter] (profil_counter): Define as weak alias of
3422 __profil_counter.
3423 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3424 (profil_counter): Rename to __profil_counter.
3425 [!__profil_counter] (profil_counter): Define as weak alias of
3426 __profil_counter.
3427 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3428 (profil_counter): Rename to __profil_counter.
3429 [!__profil_counter] (profil_counter): Define as weak alias of
3430 __profil_counter.
3431 * sysdeps/posix/profil.c: Update comment referring to
3432 profil_counter.
3433 (__profil): Use __profil_counter instead of profil_counter.
3434 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3435 __profil_counter. Use __profil_counter_ushort and
3436 __profil_counter_uint in definitions.
3437 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3438 instead of profil_counter_uint and profil_counter_ushort.
3439
8ac5a76a
JM
3440 [BZ #17722]
3441 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3442 define as weak alias of __inet_makeaddr.
3443 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3444 as weak alias of __inet_addr.
3445 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3446 as weak alias of __inet_pton. Use libc_hidden_weak.
3447 * include/arpa/inet.h (__inet_pton): Declare. Use
3448 libc_hidden_proto.
3449 (inet_makeaddr): Don't use libc_hidden_proto.
3450 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3451 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3452 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3453 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3454 Remove variable.
3455 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3456 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3457
66ce3cb1
SE
34582014-12-17 Steve Ellcey <sellcey@imgtec.com>
3459
3460 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3461
d22ce01b
SL
34622014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3463
3464 * stdio-common/bug-vfprintf-nargs.c (do_test):
3465 Cast value to intptr_t to avoid format warning
3466 for usage with PRIdPTR printing macro.
3467
eca2772b
SL
34682014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3469
3470 * libio/tst-widetext.c (do_test):
3471 Use format type %td instead of %Zd for ptrdiff_t
3472 in order to avoid format warning.
3473
bdf079da
AS
34742014-12-17 Andreas Schwab <schwab@suse.de>
3475
3476 * nscd/mem.c (gc): Add size_t cast to match printf format.
3477
3eb5d2fc
RM
34782014-12-16 Roland McGrath <roland@hack.frob.com>
3479
3480 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3481 (init): Apply PTR_MANGLE to pointers before storing them.
3482 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3483 before using them.
3484
d003ada2
JM
34852014-12-16 Joseph Myers <joseph@codesourcery.com>
3486
380292ba
JM
3487 [BZ #17719]
3488 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3489 define as weak alias of __memrchr.
3490 (__memrchr): Do not define as strong alias of memrchr.
3491 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3492 Remove variable.
3493 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3494 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3495 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3496
9a44d530
JM
3497 [BZ #17717]
3498 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3499 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3500 (if_indextoname): Rename to __if_indextoname and define as weak
3501 alias of __if_indextoname. Use libc_hidden_weak.
3502 (if_freenameindex): Rename to __if_freenameindex and define as
3503 weak alias of __if_freenameindex.
3504 (if_nameindex): Rename to __if_nameindex and define as weak alias
3505 of __if_nameindex.
3506 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3507 __if_nametoindex and define as weak alias of __if_nametoindex.
3508 Use libc_hidden_weak.
3509 (if_freenameindex): Rename to __if_freenameindex and define as
3510 weak alias of __if_freenameindex.
3511 (if_nameindex): Rename to __if_nameindex and define as weak alias
3512 of __if_nameindex.
3513 (if_indextoname): Rename to __if_indextoname and define as weak
3514 alias of __if_indextoname. Use libc_hidden_weak.
3515 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3516 __if_nametoindex and define as weak alias of __if_nametoindex.
3517 Use libc_hidden_weak.
3518 (if_freenameindex): Rename to __if_freenameindex and define as
3519 weak alias of __if_freenameindex. Use libc_hidden_weak.
3520 (if_nameindex_netlink): Use __if_freenameindex instead of
3521 if_freenameindex.
3522 (if_nameindex): Rename to __if_nameindex and define as weak alias
3523 of __if_nameindex. Use libc_hidden_weak.
3524 (if_indextoname): Rename to __if_indextoname and define as weak
3525 alias of __if_indextoname. Use libc_hidden_weak.
3526 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3527 libc_hidden_proto.
3528 [!_ISOMAC] (__if_freenameindex): Likewise.
3529 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3530 if_nametoindex.
3531 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3532 variable.
3533 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3534 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3535 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3536 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3537 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3538 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3539 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3540
d003ada2
JM
3541 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3542 Remove variable.
3543 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3544 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3545
a0d424ef
SP
35462014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3547
0cd85520
SP
3548 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3549 subscript above bounds'
3550
a0d424ef
SP
3551 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3552 bounds.
3553
0e426475
AS
35542014-12-16 Arjun Shankar <arjun.is@lostca.se>
3555
8b460906
AS
3556 * libio/tst-fopenloc.c: Use test-skeleton.c.
3557
fa13e15b
AS
3558 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3559 (entry): Rename to ITEM.
3560 (do_test, comp): Adjust.
3561
0e426475
AS
3562 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3563
4f646bce
TR
35642014-12-16 Torvald Riegel <triegel@redhat.com>
3565
3566 * string/tester.c: Include <libc-internal.h>.
3567 (test_memset): Ignore -Wmemset-transposed-args.
3568
a07c4427
TR
35692014-12-16 Torvald Riegel <triegel@redhat.com>
3570
3571 * misc/tst-mntent2.c (do_test): Fix warning.
3572
1469f466
TR
35732014-12-16 Torvald Riegel <triegel@redhat.com>
3574
3575 * elf/tst-unique4lib.cc(a): Mark as used.
3576
11e3417a
FW
35772014-12-16 Florian Weimer <fweimer@redhat.com>
3578
3579 [BZ #17630]
3580 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3581 names.
3582
ae61fc7b
AM
35832014-12-16 Allan McRae <allan@archlinux.org>
3584
3585 * stdio-common/Makefile (tests): Re-add bug26.
3586
363a9899
OB
35872014-12-15 Ondřej Bílka <neleai@seznam.cz>
3588
3589 [BZ #17657]
3590 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3591 static array.
3592
d52c62df
TR
35932014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3594
3595 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3596 (__lll_lock_wait): Likewise.
3597 (__lll_timedlock_wait): Likewise.
3598 (__lll_timedwait_tid): Likewise.
3599 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3600 (__lll_robust_timedlock_wait): Likewise.
3601 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3602 (lll_cond_trylock): Likewise.
3603 (__lll_lock): Likewise.
3604 (__lll_robust_lock): Likewise.
3605 (__lll_cond_lock): Likewise.
3606 (lll_robust_cond_lock): Likewise.
3607 (__lll_timedlock): Likewise.
3608 (__lll_robust_timedlock): Likewise.
3609 (__lll_unlock): Likewise.
3610 (__lll_robust_unlock): Likewise.
3611 (lll_wait_tid): Likewise.
3612 (lll_timedwait_tid): Likewise.
3613
045a6bcd
TR
36142014-12-15 Torvald Riegel <triegel@redhat.com>
3615
3616 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3617
7f786dc1
TR
36182014-12-15 Torvald Riegel <triegel@redhat.com>
3619
3620 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3621
e7e21cba
AZ
36222014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3623
3624 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3625 * stdio-common/tst-sprintf.c: Likewise.
3626
bc89c0fc
TR
36272014-12-15 Torvald Riegel <triegel@redhat.com>
3628
3629 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3630
a5357b7c
JL
36312014-12-15 Jeff Law <law@redhat.com>
3632
3633 [BZ #16617]
3634 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3635 on the heap. (CVE-2012-3406)
3636 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3637 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3638 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3639
3a12c70f
WN
36402014-12-15 Will Newton <will.newton@linaro.org>
3641
3642 * manual/install.texi: Bump required version of texinfo
3643 to 4.7 from 4.5.
3644 * INSTALL: Regenerated.
3645 * configure.ac: Check for makeinfo version 4.7 and above.
3646 * configure: Regenerated.
3647
e4f639e4
RM
36482014-12-12 Roland McGrath <roland@hack.frob.com>
3649
3650 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3651 PREFIX, string constant to insert between directory and name.
3652 * sysdeps/posix/shm_open.c: Update caller.
3653 * sysdeps/posix/shm_unlink.c: Likewise.
3654 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3655 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3656 (SEM_SHM_PREFIX): New macro.
3657 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3658 [$(have-thread-library) = no].
3659 * nptl/Makefile (libpthread-routines): Add shm-directory.
3660 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3661 * sysdeps/nptl/shm-directory.h: New file.
3662 * sysdeps/posix/shm-directory.c
3663 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3664 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3665 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3666 INTERNAL_SYSCALL.
3667 (__where_is_shmfs): Function removed.
3668 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3669 Variables removed.
3670 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3671 Use SHM_GET_NAME.
3672 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3673
3674 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3675 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3676 unconditional for use inside libpthread.
3677 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3678
439c43f6
RM
36792014-12-12 Roland McGrath <roland@hack.frob.com>
3680
c76d1ff5
RM
3681 * nptl/pthread_getaffinity.c: New file.
3682 * nptl/pthread_setaffinity.c: New file.
3683 * nptl/pthread_getname.c: New file.
3684 * nptl/pthread_setname.c: New file.
3685
439c43f6
RM
3686 * nptl/pthread_create.c (START_THREAD_DEFN)
3687 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3688
48e435cd
SL
36892014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3690 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3691
3692 * resolv/res_send.c (send_vc): Disable warning resplen may
3693 be used uninitialized.
3694
9d9c0019
SL
36952014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3696
3697 * nptl/tst-mutex6.c
3698 (ATTR_NULL): New define checks ATTR against NULL.
3699 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3700 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3701
9173840b
JL
37022014-12-11 James Lemke <jwlemke@codesourcery.com>
3703
3704 [BZ #17581]
3705 * malloc/hooks.c
3706 (mem2mem_check): Revert my previous change.
3707 (malloc_check_get_size): Revert my previous change.
3708 (mem2chunk_check): Revert my previous change.
3709
78e21c5d
RM
37102014-12-11 Roland McGrath <roland@hack.frob.com>
3711
3712 * sysdeps/posix/shm-directory.c: New file.
3713 * sysdeps/posix/shm-directory.h: New file.
3714 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3715 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3716 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3717 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3718 Transmute EPERM to EACCES.
3719 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3720 from ...
3721 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3722 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3723
f82c43af
KK
37242014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3725
3726 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3727 pointer and cast to uintptr_t.
3728 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3729 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3730 Add cast to avoid warning.
3731 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3732
fc00cf7b
JM
37332014-12-11 Joseph Myers <joseph@codesourcery.com>
3734
3735 * nptl/semaphore.h: Move to ...
3736 * sysdeps/pthread/semaphore.h: ... here.
3737 * Makefile (installed-headers): Change nptl/semaphore.h to
3738 sysdeps/pthread/semaphore.h.
3739
1c4053db
RM
37402014-12-11 Roland McGrath <roland@hack.frob.com>
3741
73b0c1a1
RM
3742 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3743 generated error format strings.
3744
1c4053db
RM
3745 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3746 -Wformat-extra-args warnings for scanf formats.
3747 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3748 test of zero-length format (duh).
3749 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3750 corner-case scanf format test.
3751 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3752 generated fprintf format string.
3753 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3754 corner-case sprintf format tests.
3755 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3756 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3757 -Wformat-extra-args warnings throughout.
3758 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3759 (CFLAGS-scanf4.c): Likewise.
3760 (CFLAGS-scanf7.c): Likewise.
3761 (CFLAGS-tst-sprintf.c): Likewise.
3762 (CFLAGS-tst-printf.c): Likewise.
3763 (CFLAGS-tst-printfsz.c): Likewise.
3764
47d51f4f
JM
37652014-12-11 Joseph Myers <joseph@codesourcery.com>
3766
a1edbf3c
JM
3767 * include/cpio.h: New file.
3768 * include/fmtmsg.h: Likewise.
3769
47d51f4f
JM
3770 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3771 corresponding format argument to size_t.
3772 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3773 arguments.
3774 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3775 corresponding format argument to size_t.
3776 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3777 arguments.
3778 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3779 corresponding format argument to size_t.
3780 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3781 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3782 (CFLAGS-tst-mbswcs2.c): Likewise.
3783 (CFLAGS-tst-mbswcs3.c): Likewise.
3784 (CFLAGS-tst-mbswcs4.c): Likewise.
3785 (CFLAGS-tst-mbswcs5.c): Likewise.
3786 (CFLAGS-tst-trans.c): Likewise
3787
e9813cfb
RM
37882014-12-11 Roland McGrath <roland@hack.frob.com>
3789
3790 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3791 rather than assuming they won't contain any '%'s.
3792
f627ca82
CM
37932014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3794
3795 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3796 inhibit_loop_to_libcall to avoid recursive calls.
3797 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3798 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3799
7f296942
AZ
38002014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3801
3802 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3803 prototype.
3804
d0276e18
SE
38052014-12-11 Steve Ellcey <sellcey@imgtec.com>
3806
3807 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3808 integer value instead of boolean.
3809
fc56e970
SE
38102014-12-11 Steve Ellcey <sellcey@imgtec.com>
3811
3812 * malloc/malloc.c: Fix powerof2 check.
3813
40e53917
SL
38142014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3815
3816 * locale/programs/locfile.h (maybe_swap_uint32):
3817 Remove inline and add unused attribute.
3818
1ea166df
SL
38192014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3820
9d9c0019 3821 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
3822 Truncating assembler expression to a .long expression.
3823
acf869f4
AS
38242014-12-11 Andreas Schwab <schwab@suse.de>
3825
3826 * elf/rtld.c (struct map_args): Constify str member.
3827 (do_preload): Constify fname argument.
3828
9d969099
AZ
38292014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3830
3831 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3832 constants definition.
3833
da5bcaa4
AS
38342014-12-11 Andreas Schwab <schwab@suse.de>
3835
b0a3c164
AS
3836 [BZ #16657]
3837 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3838 FORCE_ELISION instead of DO_ELISION.
3839 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3840 Remove.
3841 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3842 Likewise.
3843
da5bcaa4
AS
3844 * iconvdata/gconv-modules: Remove duplicate entry.
3845
6d248857
WN
38462014-12-11 Will Newton <will.newton@linaro.org>
3847
3848 Merge gettext 0.19.3 into intl/.
3849
3850 This involves a number of cosmetic changes to comments
3851 and ANSI function definitions and prototypes throughout
3852 all the files. The gettext copyright header is used but
3853 with the date ranges taken from the glibc copy.
3854
3855 * NEWS: Add gettext merge to 2.21.
3856 * intl/bindtextdom.c: Switch to gettext copyright.
3857 Use ANSI definitions and prototypes.
3858 Use gl_* locking primitives rather than __libc_* ones.
3859 Use __builtin_expect rather than __glibc_likely/unlikely.
3860 * intl/dcgettext.c: Switch to gettext copyright.
3861 Use ANSI definitions and prototypes.
3862 * intl/dcigettext.c: Switch to gettext copyright.
3863 Use ANSI definitions and prototypes.
3864 (INTDIV0_RAISES_SIGFPE): New define.
3865 Use gl_* locking primitives rather than __libc_* ones.
3866 Include eval-plural.h instead of plural-eval.c.
3867 Use __builtin_expect rather than __glibc_likely/unlikely.
3868 * intl/dcngettext.c: Switch to gettext copyright.
3869 Use ANSI definitions and prototypes.
3870 * intl/dgettext.c: Likewise.
3871 * intl/dngettext.c: Likewise.
3872 * intl/plural-eval.c: Renamed to...
3873 * intl/eval-plural.h: ...this.
3874 * intl/explodename.c: Switch to gettext copyright.
3875 Use ANSI definitions and prototypes.
3876 (_nl_explode_name): Use strchr instead of __rawmemchr.
3877 * intl/finddomain.c: Switch to gettext copyright.
3878 Use ANSI definitions and prototypes.
3879 Use gl_* locking primitives rather than __libc_* ones.
3880 (_nl_find_domain): Use malloc rather than alloca for
3881 allocation of temporary locale name.
3882 * intl/gettext.c: Switch to gettext copyright.
3883 Use ANSI definitions and prototypes.
3884 * intl/gettextP.h: Switch to gettext copyright.
3885 Use ANSI definitions and prototypes.
3886 Use gl_* locking primitives rather than __libc_* ones.
3887 * intl/gmo.h: Switch to gettext copyright.
3888 (struct sysdep_string): Move struct segment_pair outside of
3889 struct definition.
3890 * intl/hash-string.c: Use ANSI definitions and prototypes.
3891 * intl/hash-string.h: Switch to gettext copyright.
3892 Use ANSI definitions and prototypes.
3893 * intl/l10nflist.c: Switch to gettext copyright.
3894 Use ANSI definitions and prototypes.
3895 (_nl_normalize_codeset): Avoid integer overflow.
3896 * intl/loadinfo.h: Switch to gettext copyright.
3897 Use ANSI definitions and prototypes.
3898 (LIBINTL_DLL_EXPORTED): New define.
3899 (PATH_SEPARATOR): New define.
3900 * intl/loadmsgcat.c: Switch to gettext copyright.
3901 * intl/localealias.c: Switch to gettext copyright.
3902 Use ANSI definitions and prototypes.
3903 (_nl_expand_alias): Use PATH_SEPARATOR.
3904 * intl/ngettext.c: Switch to gettext copyright.
3905 Use ANSI definitions and prototypes.
3906 * intl/plural-exp.c: Likewise.
3907 * intl/plural-exp.h: Switch to gettext copyright.
3908 Use ANSI definitions and prototypes.
3909 (struct expression): Move definition of enum operator outside
3910 of struct definition.
3911 * intl/plural.c: Regenerate.
3912 * intl/plural.y: Switch to gettext copyright.
3913 Use ANSI definitions and prototypes.
3914 Port to bison 3.0.
3915 * intl/textdomain.c: Switch to gettext copyright.
3916 Use ANSI definitions and prototypes.
3917 Use gl_* locking primitives rather than __libc_* ones.
3918
48c43298
SE
39192014-12-10 Steve Ellcey <sellcey@imgtec.com>
3920
3921 * debug/warning-nop.c: Add used atrribute.
3922
2b89bce9
JM
39232014-12-10 Joseph Myers <joseph@codesourcery.com>
3924
c153ac9f
JM
3925 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3926
2b89bce9
JM
3927 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3928 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3929 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3930
2cfbdb9a
JM
39312014-12-10 Joseph Myers <joseph@codesourcery.com>
3932 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3933
3934 [BZ #17634]
3935 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3936 Undefine after defining function. Define as weak alias of
3937 __wcschr. Use libc_hidden_weak.
3938 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3939 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3940 (libc_hidden_def): Also define __GI___wcschr alias.
3941 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3942 __wcschr and define as weak alias of __wcschr.
3943 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3944 __wcschr.
3945 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3946 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3947 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3948 libc_hidden_weak. Do not use libc_hidden_def.
3949 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3950 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3951 __GI___wcschr alias.
3952 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3953 [IS_IN (libc)] (wcschr): Define as macro expanding to
3954 __redirect_wcschr.
3955 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3956 [IS_IN (libc)] (__wcschr_power6): Likewise.
3957 [IS_IN (libc)] (__wcschr_power7): Likewise.
3958 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3959 instead of wcschr.
3960 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3961 __libc_wcschr.
3962 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3963 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3964 __wcschr and define as weak alias of __wcschr. Use
3965 libc_hidden_builtin_def.
3966 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3967 as weak alias of __wcschr. Use libc_hidden_weak.
3968 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3969 wcschr.
3970 * time/era.c (_nl_init_era_entries): Likewise.
3971 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3972 variable.
3973 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3974 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3975
1b8bf351
JM
39762014-12-10 Joseph Myers <joseph@codesourcery.com>
3977
3978 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3979 format for long int variable.
3980
f5f46d51
AK
39812014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3982
3983 [BZ #10672]
07008f7d 3984 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
3985 qsort stable.
3986
217a74a8
AS
39872014-12-10 Andreas Schwab <schwab@suse.de>
3988
3989 [BZ #12847]
3990 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3991 user-controlled locks.
3992
aa76a5c7
RE
39932014-12-10 Richard Earnshaw <rearnsha@arm.com>
3994
3995 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3996 register.
3997
2084e7ca
JM
39982014-12-10 Joseph Myers <joseph@codesourcery.com>
3999
a4ecc9eb
JM
4000 * configure.ac (--disable-werror): New configure option.
4001 (enable_werror): New AC_SUBST.
4002 * configure: Regenerated.
4003 * config.make.in (enable-werror): New variable.
4004 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4005 -Wno-error=undef.
4006 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4007 * manual/install.texi (Configuring and compiling): Document
4008 --disable-werror.
4009 * INSTALL: Regenerated.
4010 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4011 (CFLAGS-tst-chk2.c): Likewise.
4012 (CFLAGS-tst-chk3.c): Likewise.
4013 (CFLAGS-tst-chk4.cc): Likewise.
4014 (CFLAGS-tst-chk5.cc): Likewise.
4015 (CFLAGS-tst-chk6.cc): Likewise.
4016 (CFLAGS-tst-lfschk1.c): Likewise.
4017 (CFLAGS-tst-lfschk2.c): Likewise.
4018 (CFLAGS-tst-lfschk3.c): Likewise.
4019 (CFLAGS-tst-lfschk4.cc): Likewise.
4020 (CFLAGS-tst-lfschk5.cc): Likewise.
4021 (CFLAGS-tst-lfschk6.cc): Likewise.
4022
0f88636c
JM
4023 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4024 (main): Disable -Wdeprecated-declarations around calls to
4025 register_printf_function.
4026
c81e9deb
JM
4027 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4028 (do_test): Disable -Wdiv-by-zero around some calls to
4029 fwrite_unlocked and fread_unlocked.
4030
2084e7ca
JM
4031 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4032 (DIAG_POP_NEEDS_COMMENT): Likewise.
4033 (_DIAG_STR1): Likewise.
4034 (_DIAG_STR): Likewise.
4035 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4036 * stdio-common/bug21.c: Include <libc-internal.h>.
4037 (do_test): Disable -Wformat around call to sscanf.
4038 * stdio-common/scanf14.c: Include <libc-internal.h>.
4039 (main): Disable -Wformat around some calls to scanf functions.
4040
df7ecc6b
TR
40412014-12-09 Torvald Riegel <triegel@redhat.com>
4042
4043 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4044
2aa3862e
AZ
40452014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4046
4047 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4048 stack variable alignment.
4049
c5c2b7c3
JM
40502014-12-06 Joseph Myers <joseph@codesourcery.com>
4051
4052 [BZ #17682]
4053 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4054 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4055 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4056 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4057 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4058 __getrlimit instead of getrlimit.
4059 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4060 __gettimeofday instead of gettimeofday.
4061 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4062 Likewise.
4063 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4064 Likewise.
4065 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4066 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4067 Remove variable.
4068 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4069 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4070
9752c3cd
AZ
40712014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4072
4073 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4074 for wide-character tests.
4075
4bee4cd9
RM
40762014-12-04 Roland McGrath <roland@hack.frob.com>
4077
4078 * io/openat64.c: #include <libc-internal.h>
4079 (__openat64): Prototypify. Use ignore_value on MODE.
4080 * io/openat.c: Likewise.
4081 * misc/reboot.c: #include <libc-internal.h>
4082 (reboot): Prototypify. Use ignore_value on HOWTO.
4083 * misc/ptrace.c: #include <libc-internal.h>
4084 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4085
84dbedb6
JM
40862014-12-04 Joseph Myers <joseph@codesourcery.com>
4087
4088 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4089 XPG4, UNIX98 and XOPEN2K.
4090 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4091 Remove variable.
4092 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4093
b7a3e1c4 40942014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 4095
af50dfc1 4096 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
4097 * libio/iofopen.c: Likewise.
4098 * libio/wfileops.c: Likewise.
4099
fe8b4d98
SP
4100 [BZ #17653]
4101 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4102 offset on EOF.
4103 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4104 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4105 (fgets_func): Function pointer to fgets and fgetws.
4106 (do_ftell_test): Add test to verify ftell value after read
4107 EOF.
4108 (do_test): Set fgets_func.
4109
61b4f792
SP
4110 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4111 O_TRUNC flag for w and w+ modes.
4112 (do_rewind_test): Likewise.
4113 (do_ftell_test): Likewise.
4114 (do_write_test): Likewise.
4115
be349d70
SP
4116 [BZ #17647]
4117 * libio/fileops.c (do_ftell): Seek only when there are
4118 unflushed writes.
4119 * libio/wfileops.c (do_ftell_wide): Likewise.
4120 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4121 test case.
4122 (do_one_test): Call it.
4123
e3d6dba5
JM
41242014-12-03 Joseph Myers <joseph@codesourcery.com>
4125
4126 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4127 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4128 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4129 Remove variable.
4130 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4131 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4132 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4133
7f994279
JM
41342014-12-02 Joseph Myers <joseph@codesourcery.com>
4135
28a91e8f
JM
4136 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4137 Remove variable.
4138 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4139
7f994279
JM
4140 [BZ #17668]
4141 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4142 as weak alias of __getifaddrs. Use libc_hidden_weak.
4143 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4144 __freeifaddrs. Use libc_hidden_weak.
4145 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4146 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4147 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4148 __freeifaddrs. Use libc_hidden_weak.
4149 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4150 __getifaddrs and define as weak alias of __getifaddrs. Use
4151 libc_hidden_weak.
4152 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4153 __freeifaddrs. Use libc_hidden_weak.
4154 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4155 Remove variable.
4156 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4157 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4158
bbe4c142
PJ
41592014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4160
4161 [BZ #17601]
4162 * sysdeps/mips/start.S (__start): Use indirect jump to call
4163 __libc_start_main.
4164
66cadc05
JM
41652014-12-02 Joseph Myers <joseph@codesourcery.com>
4166
909e16d9
JM
4167 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4168
4e0b9016
JM
4169 * nptl/tst-mutex1.c: Include <stdbool.h>.
4170 [!ATTR] (ATTR_NULL): New macro.
4171 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4172 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4173 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4174
b1aff6a4
JM
4175 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4176 to char *.
4177
266865c0
JM
4178 [BZ #17665]
4179 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4180 Change conditional to [__USE_MISC].
4181
84e5e756
JM
4182 [BZ #17664]
4183 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4184 fgets_unlocked.
4185 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4186 __fgets_unlocked.
4187 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4188 fgets_unlocked.
4189 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4190 Remove variable.
4191 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4192 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4193 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4194 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4195 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4196 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4197 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4198 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4199 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4200
66cadc05
JM
4201 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4202
2e8a2de2 42032014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
4204
4205 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4206 Remove strpbrk objects.
4207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4208 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4209 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4210 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4211 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4212 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4213
bb2542e0
AZ
4214 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4215 Remove strcspn objects.
4216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4217 (__libc_ifunc_impl_list): Remove strcspn implementation.
4218 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4219 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4220 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4221 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
4222
4223 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4224 Remove strspn objetcs.
4225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4226 (__libc_ifunc_impl_list): Remove strspn implementation.
4227 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4228 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4229 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4230 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4231
08f1e1d2
JL
42322014-12-01 James Lemke <jwlemke@codesourcery.com>
4233
4234 [BZ #17581]
4235 * malloc/hooks.c
4236 (mem2mem_check): Add a terminator to the chain of checking blocks.
4237 (malloc_check_get_size): Use it here.
4238 (mem2chunk_check): Ditto.
4239
a8a7d7d2
RS
42402014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4241
4242 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4243 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4244
97114a38
CD
42452014-11-29 Carlos O'Donell <carlos@redhat.com>
4246
c8dc1727
CD
4247 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4248
6d03458e
CD
4249 * nptl/nptl-init.c: Include libc-internal.h.
4250 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4251
97114a38
CD
4252 * elf/ldconfig.c (search_dir): Expand comment.
4253
0e7e69ba
JM
42542014-11-29 Joseph Myers <joseph@codesourcery.com>
4255
4256 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4257 variable.
4258 (linknamespace-symlist-stdlibs-tests): Likewise.
4259 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4260 instead of $(objpfx)symlist-stdlibs.
4261 (linknamespace-libs-isoc): New variable.
4262 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4263 (linknamespace-libs-ISO): New variable.
4264 (linknamespace-libs-ISO99): Likewise.
4265 (linknamespace-libs-ISO11): Likewise.
4266 (linknamespace-libs-XPG3): Likewise.
4267 (linknamespace-libs-XPG4): Likewise.
4268 (linknamespace-libs-POSIX): Likewise.
4269 (linknamespace-libs-UNIX98): Likewise.
4270 (linknamespace-libs-XOPEN2K): Likewise.
4271 (linknamespace-libs-POSIX2008): Likewise.
4272 (linknamespace-libs-XOPEN2K8): Likewise.
4273 ($(objpfx)symlist-stdlibs): Replace by
4274 $(linknamespace-symlist-stdlibs-tests). Use
4275 $(linknamespace-libs-$*) as set of libraries.
4276 ($(linknamespace-header-tests)): Update dependencies. Use
4277 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4278 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4279 * conform/linknamespace.pl: Remove comment about considering
4280 definitions of symbols from irrelevant libraries.
4281
d8dd0080
L
42822014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4283
4284 [BZ #13862]
4285 * elf/dl-tls.c: Include <atomic.h>.
4286 (oom): Remove #ifdef SHARED/#endif.
4287 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4288 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4289 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4290 big enough.
4291 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4292 * nptl/Makefile (tests): Add tst-stack4.
4293 (modules-names): Add tst-stack4mod.
4294 ($(objpfx)tst-stack4): New.
4295 (tst-stack4mod.sos): Likewise.
4296 ($(objpfx)tst-stack4.out): Likewise.
4297 ($(tst-stack4mod.sos)): Likewise.
4298 (clean): Likewise.
4299 * nptl/tst-stack4.c: New file.
4300 * nptl/tst-stack4mod.c: Likewise.
4301
167da422
B
43022014-11-27 J. Brown <jb999@gmx.de>
4303
4304 * sysdeps/x86/bits/string.h: Add recent CPUs.
4305
9114625b
JM
43062014-11-27 Joseph Myers <joseph@codesourcery.com>
4307
6b5189eb
JM
4308 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4309 sigblock.
4310
49051f8e
JM
4311 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4312 feof.
4313
9114625b
JM
4314 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4315 variable.
4316
e7300fef
SL
43172014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4318
4319 * nscd/connections.c: Include libc-internal.h because of macro
4320 usage ignore_value.
4321
1721f0a4
SP
43222014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4323
4324 * string/bits/string3.h (__warn_memset_zero_len): Don't
4325 declare for gcc newer than 5.0.
4326 (memset): Don't test for zero-length __LEN for gcc newer than
4327 5.0.
4328
be970916
JM
43292014-11-27 Joseph Myers <joseph@codesourcery.com>
4330
d88548f4
JM
4331 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4332 size_t for %zu format.
4333
be970916
JM
4334 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4335 difference, not %ju.
4336
3b20fd5c
JM
43372014-11-26 Joseph Myers <joseph@codesourcery.com>
4338
8915eace
JM
4339 * include/libc-internal.h (ignore_value): New macro.
4340 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4341 with ignore_value.
4342
f1a5a0e3
JM
4343 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4344 definition.
4345
59ef1715
JM
4346 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4347 pthread_cleanup_push to void *.
4348
a6f3079b
JM
4349 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4350 Undefine.
4351
706688aa
JM
4352 [BZ #16619]
4353 [BZ #16740]
4354 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4355 instead of 1L << 52.
4356
12da14a5
JM
4357 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4358 * libio/bug-rewind2.c (do_test): Likewise.
4359
bd5dadac
JM
4360 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4361 * debug/test-strcpy_chk-ifunc.c: Likewise.
4362 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4363 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4364 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4365 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4366 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4367 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4368 * Rules [$(multi-arch) = no] (tests): Do not filter out
4369 $(tests-ifunc).
4370 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4371 * debug/Makefile (tests-ifunc): Remove variable.
4372 (tests): Do not add $(tests-ifunc).
4373 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4374 (tests): Do not add $(tests-ifunc).
4375 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4376 [TEST_IFUNC]: Remove conditionals.
4377 * string/test-string.h (TEST_IFUNC): Remove macro.
4378 [TEST_IFUNC]: Remove conditionals.
4379
3b20fd5c
JM
4380 * string/test-strchr.c [!WIDE] (L): New macro.
4381 [WIDE] (L): Likewise.
4382 (check1): Use CHAR instead of char. Use L on string and character
4383 constants.
4384
704f7947
AZ
43852014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4386
4387 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4388 tests.
4389 * sysdeps/powerpc/bits/atomic.h
4390 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4391 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4392 (atomic_exchange_and_add_acq): Likewise.
4393 (atomic_exchange_and_add_rel): Likewise.
4394 * sysdeps/powerpc/powerpc32/bits/atomic.h
4395 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4396 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4397 * sysdeps/powerpc/powerpc64/bits/atomic.h
4398 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4399 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4400
cdcb42d7
TR
44012014-11-26 Torvald Riegel <triegel@redhat.com>
4402
4403 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4404 Change synchronization of __sched_fifo_min_prio and
4405 __sched_fifo_max_prio.
4406 * nptl/pthread_mutexattr_getprioceiling.c
4407 (pthread_mutexattr_getprioceiling): Likewise.
4408 * nptl/pthread_mutexattr_setprioceiling.c
4409 (pthread_mutexattr_setprioceiling): Likewise.
4410 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4411 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4412 Likewise.
4413
c82f5c0c
JM
44142014-11-26 Joseph Myers <joseph@codesourcery.com>
4415
4416 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4417 void.
4418
439e1ad6
JM
44192014-11-25 Joseph Myers <joseph@codesourcery.com>
4420
4421 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4422 third argument const.
4423
b1eda10e
PE
44242014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4425
4426 fnmatch: work around GCC compiler warning bug with uninit var
4427 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4428 This works around a bug with x86-64 GCC 4.9.2 and earlier
4429 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4430 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4431 used uninitialized in this function [-Wmaybe-uninitialized]".
4432
bde2667a
JM
44332014-11-25 Joseph Myers <joseph@codesourcery.com>
4434
4435 * posix/bug-regex31.c (main): Return RES not 0.
4436
5fbb5691
AB
44372014-11-25 Anton Blanchard <anton@samba.org>
4438
4439 * sysdeps/powerpc/bits/atomic.h
4440 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4441
467fec0b
BM
44422014-11-24 Sterling Augustine <saugustine@google.com>
4443
4444 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4445
e9ff8efb
RC
44462014-11-24 Ryan Cumming <etaoins@gmail.com>
4447
4448 [BZ #17608]
4449 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4450
9744496f
JM
44512014-11-24 Joseph Myers <joseph@codesourcery.com>
4452
4453 [BZ #17633]
4454 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4455 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4456 variable.
4457 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4458 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4459
6423d475
WD
44602014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4461
4462 * string/strncpy.c (strncpy): Improve performance by using memset.
4463
44642014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
4465
4466 * string/strcpy.c (strcpy):
4467 Improve performance by using strlen and memcpy.
4468
5d178c37
LH
44692014-11-24 Leonhard Holz <leonhard.holz@web.de>
4470
4471 * string/strcoll_l.c (get_next_seq): __always_inline.
4472 * string/strcoll_l.c (do_compare): __always_inline.
4473
279bc5b3
SP
44742014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4475
7a9ebfa1
SP
4476 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4477 defined.
4478 * include/mqueue.h: Likewise.
4479 * include/stdlib.h: Likewise.
4480
4f41c682
SP
4481 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4482 (get_null_defines): Adjust.
4483 * sunrpc/Makefile: Adjust comment.
4484 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4485 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4486 (CFLAGS-interp.c): Likewise.
4487 (CFLAGS-ldconfig.c): Likewise.
4488 (CPPFLAGS-.os): Likewise.
4489 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4490 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4491 * extra-modules.mk (extra-modules.mk): Likewise.
4492 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4493 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4494 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4495 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4496 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4497 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4498 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4499 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4500 * iconvdata/Makefile (CPPFLAGS): Likewise.
4501 (cpp-srcs-left): Add libof for all iconvdata routines.
4502 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4503 * include/assert.h: Likewise.
4504 * include/ctype.h: Likewise.
4505 * include/errno.h: Likewise.
4506 * include/libc-symbols.h: Likewise.
4507 * include/math.h: Likewise.
4508 * include/netdb.h: Likewise.
4509 * include/resolv.h: Likewise.
4510 * include/stdio.h: Likewise.
4511 * include/stdlib.h: Likewise.
4512 * include/string.h: Likewise.
4513 * include/sys/stat.h: Likewise.
4514 * include/wctype.h: Likewise.
4515 * intl/l10nflist.c: Likewise.
4516 * libidn/idn-stub.c: Likewise.
4517 * libio/libioP.h: Likewise.
4518 * nptl/libc_multiple_threads.c: Likewise.
4519 * nptl/pthreadP.h: Likewise.
4520 * posix/regex_internal.h: Likewise.
4521 * resolv/res_hconf.c: Likewise.
4522 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4523 * sysdeps/arm/memmove.S: Likewise.
4524 * sysdeps/arm/sysdep.h: Likewise.
4525 * sysdeps/generic/_itoa.h: Likewise.
4526 * sysdeps/generic/symbol-hacks.h: Likewise.
4527 * sysdeps/gnu/errlist.awk: Likewise.
4528 * sysdeps/gnu/errlist.c: Likewise.
4529 * sysdeps/i386/i586/memcpy.S: Likewise.
4530 * sysdeps/i386/i586/memset.S: Likewise.
4531 * sysdeps/i386/i686/memcpy.S: Likewise.
4532 * sysdeps/i386/i686/memmove.S: Likewise.
4533 * sysdeps/i386/i686/mempcpy.S: Likewise.
4534 * sysdeps/i386/i686/memset.S: Likewise.
4535 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4536 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4537 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4538 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4539 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4540 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4541 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4542 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4543 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4544 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4545 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4546 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4547 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4548 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4549 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4550 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4551 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4552 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4553 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4554 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4555 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4556 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4557 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4558 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4559 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4560 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4561 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4562 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4563 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4564 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4565 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4566 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4567 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4568 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4569 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4570 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4571 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4572 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4573 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4574 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4575 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4576 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4577 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4578 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4579 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4580 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4581 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4582 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4583 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4584 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4585 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4586 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4587 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4588 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4589 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4590 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4591 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4592 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4593 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4594 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4595 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4596 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4597 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4598 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4599 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4600 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4601 * sysdeps/posix/closedir.c: Likewise.
4602 * sysdeps/posix/opendir.c: Likewise.
4603 * sysdeps/posix/readdir.c: Likewise.
4604 * sysdeps/posix/rewinddir.c: Likewise.
4605 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4606 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4607 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4608 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4609 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4610 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4611 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4612 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4613 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4614 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4615 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4616 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4617 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4618 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4619 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4620 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4621 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4622 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4623 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4624 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4625 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4626 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4627 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4628 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4629 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4630 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4631 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4632 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4633 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4634 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4635 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4636 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4637 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4638 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4639 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4640 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4641 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4642 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4643 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4644 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4645 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4646 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4647 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4648 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4649 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4650 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4651 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4652 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4653 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4654 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4655 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4656 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4657 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4658 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4659 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4660 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4661 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4662 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4663 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4664 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4665 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4666 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4667 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4668 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4669 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4670 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4671 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4672 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4673 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4674 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4675 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4676 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4677 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4678 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4679 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4680 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4681 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4682 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4683 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4684 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4685 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4686 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4687 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4688 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4689 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4690 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4691 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4692 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4693 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4694 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4695 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4696 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4697 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4698 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4699 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4700 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4701 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4702 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4703 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4704 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4705 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4706 * sysdeps/unix/alpha/sysdep.S: Likewise.
4707 * sysdeps/unix/alpha/sysdep.h: Likewise.
4708 * sysdeps/unix/make-syscalls.sh: Likewise.
4709 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4710 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4711 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4712 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4713 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4714 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4715 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4716 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4717 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4718 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4719 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4720 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4721 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4722 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4723 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4724 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4725 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4726 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4727 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4728 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4729 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4730 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4731 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4732 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4733 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4734 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4735 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4738 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4739 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4740 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4741 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4742 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4743 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4744 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4745 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4746 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4747 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4748 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4749 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4750 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4751 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4752 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4753 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4754 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4755 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4756 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4757 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4758 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4759 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4760 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4761 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4762 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4763 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4764 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4765 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4766 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4767 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4768 * sysdeps/x86_64/memcpy.S: Likewise.
4769 * sysdeps/x86_64/memmove.c: Likewise.
4770 * sysdeps/x86_64/memset.S: Likewise.
4771 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4772 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4773 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4774 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4775 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4776 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4777 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4778 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4779 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4780 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4781 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4782 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4783 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4784 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4785 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4786 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4787 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4788 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4789 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4790 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4791 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4792 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4793 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4794 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4795 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4796 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4797 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4798 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4799 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4800 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4801 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4802 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4803 * sysdeps/x86_64/strcmp.S: Likewise.
4804
76ca86a5
SP
4805 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4806
a3848485
SP
4807 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4808 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4809 * elf/rtld-Rules: Likewise.
4810 * elf/setup-vdso.h: Likewise.
4811 * include/assert.h: Likewise.
4812 * include/bits/stdlib-float.h: Likewise.
4813 * include/errno.h: Likewise.
4814 * include/sys/stat.h: Likewise.
4815 * include/unistd.h: Likewise.
4816 * sysdeps/aarch64/setjmp.S: Likewise.
4817 * sysdeps/alpha/setjmp.S: Likewise.
4818 * sysdeps/arm/__longjmp.S: Likewise.
4819 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4820 * sysdeps/arm/setjmp.S: Likewise.
4821 * sysdeps/arm/sysdep.h: Likewise.
4822 * sysdeps/generic/_itoa.h: Likewise.
4823 * sysdeps/generic/dl-sysdep.h: Likewise.
4824 * sysdeps/generic/ldsodefs.h: Likewise.
4825 * sysdeps/i386/dl-tls.h: Likewise.
4826 * sysdeps/i386/setjmp.S: Likewise.
4827 * sysdeps/m68k/setjmp.c: Likewise.
4828 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4829 * sysdeps/mach/hurd/opendir.c: Likewise.
4830 * sysdeps/posix/getcwd.c: Likewise.
4831 * sysdeps/posix/opendir.c: Likewise.
4832 * sysdeps/posix/profil.c: Likewise.
4833 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4834 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4835 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4836 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4837 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4838 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4839 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4840 * sysdeps/s390/dl-tls.h: Likewise.
4841 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4842 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4843 * sysdeps/sh/sh3/setjmp.S: Likewise.
4844 * sysdeps/sh/sh4/setjmp.S: Likewise.
4845 * sysdeps/unix/alpha/sysdep.h: Likewise.
4846 * sysdeps/unix/arm/sysdep.S: Likewise.
4847 * sysdeps/unix/i386/sysdep.S: Likewise.
4848 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4849 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4850 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4851 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4852 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4853 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4854 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4855 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4856 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4857 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4858 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4859 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4860 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4863 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4864 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4865 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4866 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4867 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4868 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4869 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4870 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4871 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4872 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4873 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4874 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4875 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4876 * sysdeps/x86_64/setjmp.S: Likewise.
4877
a109996e
SP
4878 * include/math.h: Use IS_IN instead of IS_IN_libm.
4879 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4880 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4881 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4882 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4883 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4884 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4885 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4886 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4887 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4888 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4889 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4890 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4891 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4892 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4893 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4894 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4895 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4896 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4897 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4898 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4899 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4900 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4901 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4902 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4903 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4904 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4905 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4906 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4907 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4908 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4909 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4910 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4911 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4913 Likewise.
4914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4915 Likewise.
4916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4917 Likewise.
4918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4919 Likewise.
4920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4921 Likewise.
4922 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4923 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4924 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4925 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4926 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4927 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4933 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4934 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4935 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4936 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4937 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4938 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4939 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4940 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4941 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4942 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4943 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4944 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4945 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4946 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4948 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4949
ce9f10f7
SP
4950 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4951 * nptl/pthreadP.h: Likewise.
4952 * nptl_db/structs.def: Likewise.
4953 * sysdeps/arm/sysdep.h: Likewise.
4954 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4955 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4956 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4957 * sysdeps/unix/alpha/sysdep.h: Likewise.
4958 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4959 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4960 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4961 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4962 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4963 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4964 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4965 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4966 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4967 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4968 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4969 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4970 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4971 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4974 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4975 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4976 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4977 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4978 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4979 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4980 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4981 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4982 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4983 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4984
016afc75
SP
4985 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4986 * nptl/pthreadP.h: Likewise.
4987 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4988 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4989 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4990 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4991 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4992 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4993 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4994 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4995 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4996 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4997 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4998 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5000 Likewise.
5001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5002 Likewise.
5003 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5004 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5005 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5006 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5007 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5008 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5009 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5010 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5011
9b42a0b3
SP
5012 * dlfcn/dladdr.c: Use IS_IN.
5013 * dlfcn/dladdr1.c: Likewise.
5014 * dlfcn/dlclose.c: Likewise.
5015 * dlfcn/dlerror.c: Likewise.
5016 * dlfcn/dlinfo.c: Likewise.
5017 * dlfcn/dlmopen.c: Likewise.
5018 * dlfcn/dlopen.c: Likewise.
5019 * dlfcn/dlsym.c: Likewise.
5020 * dlfcn/dlvsym.c: Likewise.
5021
85f36372
SP
5022 * include/ifaddrs.h: Use IS_IN.
5023 * inet/check_pf.c: Likewise.
5024 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5025 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5026
fb6784e3
SP
5027 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5028 IS_IN_ldconfig.
5029 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5030 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5031
2886d2d1
SP
5032 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5033 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5034 IS_IN (libc).
5035
9a484857
SP
5036 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5037
a10178bd
SP
5038 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5039 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5040 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5041 * include/libc-symbols.h (IS_IN_LIB): New macro.
5042 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5043 * include/netdb.h: Likewise.
5044 * include/stap-probe.h: Remove all uses of IN_LIB.
5045
279bc5b3
SP
5046 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5047 instead of IN_MODULE.
5048 * include/libc-symbols.h (IN_MODULE): Define using
5049 MODULE_NAME.
5050 (PASTE_NAME, PASTE_NAME1): New macros.
5051 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5052 of IN_LIB.
5053 (STAP_PROBE_ASM): Likewise.
5054
e0cfa510
ST
50552014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5056
5057 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5058 __mach_init in dlopened libc.
5059
34d97d87
MF
50602014-11-22 Mike Frysinger <vapier@gentoo.org>
5061
5062 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5063 * sysdeps/arm/preconfigure: Regenerate.
5064
33cd1f74
RM
50652014-11-21 Roland McGrath <roland@hack.frob.com>
5066
5067 * nptl/pthread_create.c (__pthread_create_2_1): Set
5068 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5069 when copying values from IATTR into PD.
5070
8c230039
WN
50712014-11-21 Will Newton <will.newton@linaro.org>
5072 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5073
6d3db89b
AP
5074 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5075 Refactor inline-asm. Also add comment.
5076
01194ba1
WN
5077 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5078 ElfW macro instead of hardcoded Elf64 types.
5079 (la_aarch64_gnu_pltenter): Likewise.
5080 * sysdeps/aarch64/dl-machine.h
5081 (elf_machine_runtime_setup): Use ElfW(Addr).
5082
8c230039
WN
5083 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5084 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5085 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5086 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5087 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5088 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5089 (R_AARCH64_TLS_DTPMOD): This.
5090 (R_AARCH64_TLS_DTPREL64): Rename to ...
5091 (R_AARCH64_TLS_DTPREL): This.
5092 (R_AARCH64_TLS_TPREL64): Rename to ...
5093 (R_AARCH64_TLS_TPREL): This.
5094 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5095 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5096 R_AARCH64_TLS_TPREL64.
5097 (elf_machine_rela): Likewise.
5098
0d79fa53
TR
50992014-11-21 Torvald Riegel <triegel@redhat.com>
5100
5101 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5102 by setting it to 0. 64b atomics are not supported currently.
5103
b59d114b
AO
51042014-11-21 Alexandre Oliva <aoliva@redhat.com>
5105
5106 [BZ #16469]
5107 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5108 search domain names.
5109
f3d945d5
AO
51102014-11-21 Alexandre Oliva <aoliva@redhat.com>
5111
5112 [BZ #16469]
5113 * NEWS: Update.
5114 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5115 trailing dot.
5116 * posix/tst-getaddrinfo5.c: New.
5117 * posix/Makefile (tests): Add it.
5118
49698902
AO
51192014-11-21 Alexandre Oliva <aoliva@redhat.com>
5120
5121 [BZ #14498]
5122 * NEWS: Fixed.
5123 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5124 after parsing line but before break_if_match.
5125 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5126 if there is a protocol mismatch.
5127
81959214
MS
51282014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5129
5130 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5131 because the potential race is on the user-supplied stream.
5132
7729e0e9
AO
51332014-11-21 Alexandre Oliva <aoliva@redhat.com>
5134
5135 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5136 string literal if not passed a buffer.
5137 * manual/job.texi (ctermid): Update reasoning, note deviation
5138 from posix, suggest mtasurace when not passed a buffer, for
5139 future non-preliminary safety notes.
5140
a4ea5e28
AO
51412014-11-21 Alexandre Oliva <aoliva@redhat.com>
5142
5143 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5144 of not passing it a buffer.
5145 Reported by Peng Haitao.
5146
a2b581cb
AO
51472014-11-21 Alexandre Oliva <aoliva@redhat.com>
5148
5149 * manual/Makefile ($(objpfx)stamp-summary): Require
5150 check-safety.sh to pass.
5151 * manual/check-safety.sh: Wish for verification that every
5152 @deftypefn and @deftypefun is followed by a @safety remark.
5153
f214ff74
RM
51542014-11-20 Roland McGrath <roland@hack.frob.com>
5155
7f0dfae0
RM
5156 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5157
2f531bbb
RM
5158 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5159 PTHREAD_CANCEL_ASYNCHRONOUS.
5160 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5161 send SIGCANCEL.
5162
f214ff74
RM
5163 * nptl/default-sched.h: New file.
5164 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5165 * nptl/pthread_create.c: Include it.
5166 (__pthread_create_2_1): Use collect_default_sched instead of making
5167 Linux syscalls here directly.
5168
e37c91d4
TR
51692014-11-20 Torvald Riegel <triegel@redhat.com>
5170
5171 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5172 __pthread_once): Use C11 atomics.
5173
1eccfecd
TR
51742014-11-20 Torvald Riegel <triegel@redhat.com>
5175
5176 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5177
ff871426
TR
51782014-11-20 Torvald Riegel <triegel@redhat.com>
5179
5180 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5181 atomic_thread_fence_acquire, atomic_thread_fence_release,
5182 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5183 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5184 atomic_compare_exchange_weak_relaxed,
5185 atomic_compare_exchange_weak_acquire,
5186 atomic_compare_exchange_weak_release,
5187 atomic_exchange_acquire, atomic_exchange_release,
5188 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5189 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5190 atomic_fetch_and_acquire,
5191 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5192
1ea339b6
TR
51932014-11-20 Torvald Riegel <triegel@redhat.com>
5194
5195 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5196 USE_ATOMIC_COMPILER_BUILTINS): Define.
5197 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5198 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5199 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5200 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5201 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5202 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5203 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5204 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5205 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5206 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5207 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5208 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5209 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5210 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5211 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5212 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5213 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5214 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5215 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5216 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5217 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5218 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5219 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5220 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5221 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5222 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5223 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5224 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5225 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5226 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5227 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5228 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5229 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5230 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5231 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5232 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5233 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5234 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5235 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5236 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5237
cbd463e2
RM
52382014-11-19 Roland McGrath <roland@hack.frob.com>
5239
d960211f
RM
5240 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5241 the sched_priority value here. It was already checked when the user
5242 called pthread_attr_setschedparam.
5243
cbd463e2
RM
5244 * nptl/tst-bad-schedattr.c: New file.
5245 * nptl/Makefile (tests): Add it.
5246
a39208bd
CD
52472014-11-19 Carlos O'Donell <carlos@redhat.com>
5248 Florian Weimer <fweimer@redhat.com>
5249 Joseph Myers <joseph@codesourcery.com>
5250 Adam Conrad <adconrad@0c3.net>
5251 Andreas Schwab <schwab@suse.de>
5252 Brooks <bmoses@google.com>
5253
5254 [BZ #17625]
5255 * wordexp-test.c (__dso_handle): Add prototype.
5256 (__register_atfork): Likewise.
5257 (__app_register_atfork): New function.
5258 (registered_forks): New global.
5259 (register_fork): New function.
5260 (test_case): Add 3 new tests for WRDE_CMDSUB.
5261 (main): Call __app_register_atfork.
5262 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5263 fork count is non-zero fail the test.
5264 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5265 is set.
5266 (parse_dollars): Remove check for WRDE_NOCMD.
5267 (parse_dquote): Likewise.
5268
9cd47470
SP
52692014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5270
130ac68c
SP
5271 * Makeconfig (built-modules): List non-library modules to be
5272 built.
5273 (module-cppflags): Include libc-modules.h for
5274 everything except shlib-versions.v.i.
5275 (CPPFLAGS): Use it.
5276 (before-compile): Add libc-modules.h.
5277 ($(common-objpfx)libc-modules.h,
5278 $(common-objpfx)libc-modules.stmp): New targets.
5279 (common-generated): Add libc-modules.h and libc-modules.stmp.
5280 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5281 * include/libc-symbols.h: Don't include libc-modules.h.
5282 * include/libc-modules.h: Remove file.
5283 * scripts/gen-libc-modules.awk: New script to generate
5284 libc-modules.h.
5285 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5286 Depend on libc-modules.stmp.
5287
286663c3
SP
5288 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5289
9cd47470
SP
5290 * Makeconfig (in-module): Get value of libof set for the
5291 translation unit.
5292 (CPPFLAGS): Use $(in-module).
5293 * Makerules: Don't suffix routine names for nonlib.
5294 * include/libc-modules.h: New file.
5295 * include/libc-symbols.h: Include libc-modules.h
5296 (IS_IN): New macro to replace IS_IN_* macros.
5297 * elf/Makefile: Set libof-* for each routine.
5298 * elf/rtld-Rules: Likewise.
5299 * extra-modules.mk: Likewise.
5300 * iconv/Makefile: Likewise.
5301 * iconvdata/Makefile: Likewise.
5302 * locale/Makefile: Likewise.
5303 * malloc/Makefile: Likewise.
5304 * nss/Makefile: Likewise.
5305 * sysdeps/gnu/Makefile: Likewise.
5306 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5307 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5308 * sysdeps/s390/s390-64/Makefile: Likewise.
5309 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5310 CPPFLAGS for nscd instead of nonlib.
5311
32fed10f
RM
53122014-11-18 Roland McGrath <roland@hack.frob.com>
5313
d71035bd
RM
5314 * nptl/createthread.c: New file.
5315
6540b991
RM
5316 * nptl/createthread.c: Moved ...
5317 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5318
32fed10f
RM
5319 * nptl/createthread.c: Add proper top-line comment.
5320 (do_clone): Folded into ...
5321 (create_thread): ... here. Take new arguments STOPPED_START and
5322 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5323 increment __nptl_threads, do event-reporting logic, do
5324 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5325 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5326 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5327 just send SIGCANCEL.
5328 * nptl/pthread_create.c: Forward-declare create_thread before
5329 including createthread.c.
5330 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5331 declaration, and new macro START_THREAD_SELF to replace argument.
5332 Remove return statement.
5333 (report_thread_creation): New function.
5334 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5335 synchronization logic, and __nptl_nthreads increment here, around
5336 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5337 PD->parent_cancelhandling here, before create_thread. When
5338 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5339 __deallocate_stack, and ENOMEM translation here.
5340
107a5bf0
JM
53412014-11-18 Joseph Myers <joseph@codesourcery.com>
5342
5343 [BZ #17616]
5344 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5345 (mptwo): Rename to __mptwo.
5346 (__inv): Use __mptwo instead of mptwo.
5347 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5348 (mptwo): Rename to __mptwo.
5349 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5350 of mpone and __mptwo instead of mptwo.
5351 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5352 instead of mpone.
5353 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5354 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5355 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5356 of mpone and __mptwo instead of mptwo.
5357 (__mpranred): Use __mpone instead of mpone.
5358 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5359 variable.
5360 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5361 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5362 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5363 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5364 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5365 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5366 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5367 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5368 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5369 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5370 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5371 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5372 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5373 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5374 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5375 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5376 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5377 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5378 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5379
3b679ab3
TV
53802014-11-18 Tom de Vries <tom@codesoucery.com>
5381
5382 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5383 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
5384
53852014-11-17 Richard Henderson <rth@redhat.com>
5386
5387 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5388 (_FP_PACK_RAW_2): Remove.
5389 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5390 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5391 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5392 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5393 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5394 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5395 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5396 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5397 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5398 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5399 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5400 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5401 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5402 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5403 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5404 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5405
0781a777
RM
54062014-11-14 Roland McGrath <roland@hack.frob.com>
5407
5408 * signal/signal.h [__USE_MISC]
5409 (struct sigvec): Remove type.
5410 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5411 (sigvec): Remove declaration.
5412 * sysdeps/posix/sigvec.c: Moved ...
5413 * signal/sigvec.c: ... here, replacing old file.
5414 (struct sigvec): New type, copied from old signal.h definition.
5415 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5416 (__sigvec): Convert definition to prototype.
5417 (sigvec): Replace weak_alias with compat_symbol.
5418 * signal/Versions (libc: GLIBC_2.21): New version set.
5419 * include/signal.h: Remove __sigvec declaration.
5420 * sysdeps/unix/bsd/sigvec.c: Remove file.
5421 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5422 * manual/signal.texi (BSD Handler): Remove subsection.
5423 Move siginterrupt up to ...
5424 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5425 (Blocking in BSD): Fold subsection into its parent.
5426 * NEWS: Mention sigvec removal.
5427
a4733812
JM
54282014-11-14 Joseph Myers <joseph@codesourcery.com>
5429
5ae4fe60
JM
5430 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5431 (DLA_FMS): Make definition conditional only on [__FMA4__].
5432 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5433 definition.
5434
6a0dd472
JM
5435 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5436 Make definition conditional only on [PROF].
5437 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5438 definition.
5439 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5440 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5441
a4733812
JM
5442 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5443 !__GNUC__].
5444 * include/signal.h (__sigpause): Move declaration above call to
5445 libc_hidden_proto.
5446 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5447 variable.
5448 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5449 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5450
cf7246dd
DM
54512014-11-14 David S. Miller <davem@davemloft.net>
5452
5453 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5454 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5455
c1b0aadc
JM
54562014-11-14 Joseph Myers <joseph@codesourcery.com>
5457
4863355a
JM
5458 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5459 * configure: Regenerated.
5460 * manual/install.texi (Tools for Compilation): Document a
5461 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5462 compiler verified to work.
5463 * INSTALL: Regenerated.
5464
c1b0aadc
JM
5465 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5466 redeclare with asm name.
5467 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5468 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5469 including <string.h>.
5470 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5471 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5472 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5473 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5474 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5475 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5476 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5477
2a1cfd94
JM
54782014-11-13 Joseph Myers <joseph@codesourcery.com>
5479
bf438382
JM
5480 * stdlib/strtol.c (__strtol): Use prototype definition.
5481
2a1cfd94
JM
5482 [BZ #17594]
5483 * stdlib/strtol.c (SYM__): New macro.
5484 (SYM__1): Likewise.
5485 (__strtol): Likewise.
5486 (strtol): Rename to __strtol and define as weak alias of
5487 __strtol. Use libc_hidden_weak.
5488
20ed0d26
SL
54892014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5490
5491 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5492 Use numbered labels in inline assembly.
5493
53244a4e
SL
54942014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5495
5496 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5497 Add setjmp LIBC_PROBE.
5498 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5499 Likewise.
5500 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5501 Add longjmp, longjmp_target LIBC_PROBE.
5502 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5503 Likewise.
5504
47df8251
SL
55052014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5506
5507 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5508 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5509 to get rid of unused variable warning.
5510
618cebef
SL
55112014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5512
5513 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5514 Check for unwind_backtrace == NULL only in SHARED case.
5515 (__backchain_backtrace): Compile only in SHARED case.
5516 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5517 Likewise.
5518 (__backchain_backtrace): Declare as static.
5519
c6aab2cb
RM
55202014-11-12 Roland McGrath <roland@hack.frob.com>
5521
5522 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5523 (__libc_multiple_threads_ptr): Variable moved ...
5524 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5525
5a6fa4d7
JM
55262014-11-12 Joseph Myers <joseph@codesourcery.com>
5527
24f4f825
JM
5528 * conform/GlibcConform.pm: New file.
5529 * conform/conformtest.pl: Use GlibcConform module.
5530 * conform/linknamespace.pl: New file.
5531 * conform/list-header-symbols.pl: Likewise.
5532 * conform/Makefile (linknamespace-symlists-base): New variable.
5533 (linknamespace-symlists-tests): Likewise.
5534 (linknamespace-header-base): Likewise.
5535 (linknamespace-header-tests): Likewise.
5536 (tests-special): Add new tests.
5537 ($(linknamespace-symlists-tests)): New rule.
5538 (linknamespace-libs): New variable.
5539 ($(objpfx)symlist-stdlibs): New rule.
5540 ($(linknamespace-header-tests)): Likewise.
5541 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5542 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5543 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5544 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5545 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5546 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5547 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5548 (test-xfail-ISO/math.h/linknamespace): Likewise.
5549 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5550 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5551 (test-xfail-ISO/time.h/linknamespace): Likewise.
5552 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5553 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5554 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5555 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5556 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5557 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5558 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5559 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5560 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5561 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5562 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5563 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5564 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5565 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5566 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5567 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5568 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5569 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5570 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5571 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5572 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5573 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5574 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5575 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5576 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5577 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5578 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5579 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5580 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5581 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5582 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5583 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5584 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5585 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5586 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5587 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5588 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5589 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5590 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5591 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5592 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5593 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5594 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5595 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5596 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5597 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5598 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5599 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5600 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5601 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5602 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5603 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5604 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5605 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5606 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5607 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5608 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5609 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5610 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5611 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5612 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5613 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5614 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5615 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5616 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5617 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5618 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5619 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5620 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5621 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5622 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5623 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5624 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5625 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5626 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5627 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5628 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5629 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5630 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5631 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5632 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5633 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5634 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5635 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5636 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5637 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5638 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5639 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5640 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5641 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5642 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5643 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5644 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5645 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5646 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5647 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5648 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5649 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5650 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5651 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5652 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5653 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5654 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5655 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5656 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5657 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5658 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5659 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5660 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5661 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5662 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5663 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5664 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5665 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5666 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5667 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5668 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5669 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5670 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5671 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5672 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5673 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5674 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5675 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5676 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5677 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5678 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5679 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5680 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5681 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5682 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5683 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5684 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5685 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5686 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5687 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5688 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5689 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5690 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5691 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5692 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5693 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5694 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5695 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5696 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5697 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5698 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5699 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5700 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5701 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5702
cc67478e
JM
5703 [BZ #17589]
5704 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5705 of fgets_unlocked.
5706
9975e3d3
JM
5707 [BZ #17585]
5708 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5709 (memmem): Rename to __memmem and define as weak alias of
5710 __memmem. Use libc_hidden_weak.
5711 (__memmem): Use libc_hidden_def.
5712 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5713 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5714 memmem.
5715
c4eae752
JM
5716 [BZ #17582]
5717 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5718 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5719 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5720 and define as weak alias of __fgets_unlocked. Use
5721 libc_hidden_weak.
5722 (__fgets_unlocked): Use libc_hidden_def.
5723 * include/stdio.h (__fgets_unlocked): Declare. Use
5724 libc_hidden_proto.
5725 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5726 __fgets_unlocked instead of fgets_unlocked.
5727 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5728 (GET_NPROCS_CONF_PARSER): Likewise.
5729 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5730 (GET_NPROCS_CONF_PARSER): Likewise.
5731
01cad84e
JM
5732 [BZ #17574]
5733 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5734 weak alias of __wmemset. Use libc_hidden_weak.
5735 (__wmemset): Use libc_hidden_def.
5736 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5737 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5738 of wmemset.
5739
939da411
JM
5740 [BZ #17573]
5741 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5742 with asm name __mempcpy.
5743 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5744
293d9a41
JM
5745 [BZ #17572]
5746 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5747 and define as weak alias of __rawmemchr.
5748 (__rawmemchr): Do not define as strong alias of rawmemchr.
5749
bef8fd60
JM
5750 [BZ #17571]
5751 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5752 alias of __qsort_r.
5753 (qsort): Call __qsort_r instead of qsort_r.
5754 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5755 (__qsort_r): Declare. Call libc_hidden_proto.
5756 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5757 instead of qsort_r.
5758 * nscd/gai.c (__qsort_r): Define to qsort_r.
5759 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5760 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5761 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5762
c52ff39e
JM
5763 [BZ #17570]
5764 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5765 define as weak alias of __malloc_info.
5766
2f5c1b00
JM
5767 [BZ #17584]
5768 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5769 as weak alias of __rewinddir. Don't use libc_hidden_def.
5770 (__rewinddir): Use libc_hidden_def.
5771 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5772 as weak alias of __rewinddir. Don't use libc_hidden_def.
5773 (__rewinddir): Use libc_hidden_def.
5774 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5775 weak alias of __rewinddir. Don't use libc_hidden_def.
5776 (__rewinddir): Use libc_hidden_def.
5777 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5778 (__rewinddir): Use libc_hidden_proto.
5779 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5780 rewinddir.
5781 (__getcwd): Use __rewinddir instead of rewinddir.
5782
5a6fa4d7
JM
5783 [BZ #17583]
5784 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5785 alias of __fileno. Use libc_hidden_weak.
5786 (__fileno): Use libc_hidden_def.
5787 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5788 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5789 alias of __ftello.
5790 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5791 __ftello.
5792 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5793 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5794 libc_hidden_def.
5795 (fread_unlocked): Don't use libc_hidden_ver.
5796 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5797 and define as weak alias of __fread_unlocked. Don't use
5798 libc_hidden_def.
5799 (__fread_unlocked): Use libc_hidden_def.
5800 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5801 (ftello): Don't use libc_hidden_proto.
5802 (__ftello): Declare. Use libc_hidden_proto.
5803 (fread_unlocked): Don't use libc_hidden_proto.
5804 (__fread_unlocked): Declare. Use libc_hidden_proto.
5805 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5806 and __ftello instead of fileno, fread_unlocked and ftello.
5807
2581b98e
SP
58082012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5809
5810 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5811 GOT12.
5812 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5813 Likewise.
5814 (_dl_start_user): Likewise.
5815 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5816
533bb7c2
SP
58172014-11-12 Carlos O'Donell <carlos@redhat.com>
5818 Siddhesh Poyarekar <siddhesh@redhat.com>
5819
5820 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5821 Move argv and envp down instead of moving argc up.
5822 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5823
fffa1cf8
LH
58242014-11-12 Leonhard Holz <leonhard.holz@web.de>
5825
5826 [BZ #17506]
5827 * test-skeleton.c (main): Return successful if one of
5828 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5829 * string/tst-strcoll-overflow.c: Define expected status.
5830
fb89b46d
TU
58312014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5832
5833 [BZ #17475]
5834 * locale/iso-639.def: Define Bhili and Tulu language codes.
5835
5c40c3ba
AH
58362014-11-11 Alan Hayward <alan.hayward@arm.com>
5837
5838 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5839
b17fe01b 58402014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
5841
5842 [BZ #17555]
5843 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5844
bd805071
AS
58452014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5846
5847 * configure.ac: Updated check of minimal required version to
5848 2.22.
5849 * manual/install.texi (Tools for Compilation): Updated version
5850 number.
5851 * configure: Regenerated.
5852 * INSTALL: Likewise.
5853
1400983e
AS
58542014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5855
5856 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5857 __tls_get_addr.
5858
2c46a66a
JM
58592014-11-07 Joseph Myers <joseph@codesourcery.com>
5860
5861 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5862 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5863 (__waitpid): Don't define as alias. Use libc_hidden_def not
5864 libc_hidden_weak.
5865 (waitpid): Define as alias of __waitpid.
5866 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5867 __waitpid.
5868 (__waitpid): Don't define as alias. Use libc_hidden_def not
5869 libc_hidden_weak.
5870 (waitpid): Define as alias of __waitpid.
5871 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5872 __libc_waitpid alias.
5873 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5874 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5875 Likewise.
5876 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5877 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5878 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5879 alias.
5880 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5881 __waitpid.
5882 (__waitpid): Don't define as alias. Use libc_hidden_def not
5883 libc_hidden_weak.
5884 (waitpid): Define as alias of __waitpid.
5885
da53d6db
CD
58862014-11-06 Carlos O'Donell <carlos@redhat.com>
5887
a2887bdb
CD
5888 * manual/llio.texi: Add comment that write safety has been
5889 fixed in Linux.
5890
da53d6db
CD
5891 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5892 (localplt-build-dso): Add elf/ld.so.
5893 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5894 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5895 and free for ld.so.
5896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5897 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5899 Likewise.
5900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5901 Likewise.
5902 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5903 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5904 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5905 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5906 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5907 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5908 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5909 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5910 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5911 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5912 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5913
9cf27b8d
JM
59142014-11-05 Joseph Myers <joseph@codesourcery.com>
5915
5916 [BZ #14132]
5917 * include/libc-symbols.h (INTUSE): Remove macro.
5918 (INTDEF): Likewise.
5919 (INTVARDEF): Likewise.
5920 (_INTVARDEF): Likewise.
5921 (INTDEF2): Likewise.
5922 (INTVARDEF2): Likewise.
5923 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5924 rtld_hidden_def instead of INTVARDEF.
5925 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5926 (_dl_starting_up_internal): Remove declaration.
5927 (_dl_starting_up): Use rtld_hidden_proto.
5928 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5929 declaration.
5930 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5931 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5932 _dl_starting_up.
5933 * elf/dl-writev.h (_dl_writev): Likewise.
5934 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5935 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5936 _dl_starting_up_internal.
5937
af83568d
AZ
59382014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5939
5940 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5941 test-skeleton.c.
5942
b01ee67c
WN
59432014-11-05 Will Newton <will.newton@linaro.org>
5944
5945 * benchtests/Makefile: (bench-malloc): Add malloc thread
5946 scalability benchmark.
5947 * benchtests/bench-malloc-threads.c: New file.
5948
be9d4ccc
RE
59492014-11-05 Richard Earnshaw <rearnsha@arm.com>
5950
5951 * sysdeps/aarch64/strchrnul.S: New file.
5952
7110166d
AZ
59532014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5954
5955 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5956 definition.
5957 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5958 Likwise.
5959 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5960 Likewise.
5961 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5962 Likewise.
5963 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5964 Likewise.
5965 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5966 Likewise.
5967
59682014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
5969
5970 * catgets/test-gencat.c: Use test-skeleton.c.
5971 * catgets/tst-catgets.c: Likewise.
5972 * csu/tst-empty.c: Likewise.
5973 * elf/tst-audit2.c: Likewise.
5974 * elf/tst-global1.c: Likewise.
5975 * elf/tst-pathopt.c: Likewise.
5976 * elf/tst-piemod1.c: Likewise.
5977 * elf/tst-tls10.c: Likewise.
5978 * elf/tst-tls11.c: Likewise.
5979 * elf/tst-tls12.c: Likewise.
5980 * gnulib/tst-gcc.c: Likewise.
5981 * iconvdata/tst-e2big.c: Likewise.
5982 * iconvdata/tst-loading.c: Likewise.
5983 * iconv/tst-iconv1.c: Likewise.
5984 * iconv/tst-iconv2.c: Likewise.
5985 * inet/test-inet6_opt.c: Likewise.
5986 * inet/tst-gethnm.c: Likewise.
5987 * inet/tst-network.c: Likewise.
5988 * inet/tst-ntoa.c: Likewise.
5989 * intl/tst-codeset.c: Likewise.
5990 * intl/tst-gettext2.c: Likewise.
5991 * intl/tst-gettext3.c: Likewise.
5992 * intl/tst-ngettext.c: Likewise.
5993 * intl/tst-translit.c: Likewise.
5994 * io/test-stat.c: Likewise.
5995 * libio/test-fmemopen.c: Likewise.
5996 * libio/tst-freopen.c: Likewise.
5997 * libio/tst-sscanf.c: Likewise.
5998 * libio/tst-ungetwc1.c: Likewise.
5999 * libio/tst-ungetwc2.c: Likewise.
6000 * libio/tst-widetext.c: Likewise.
6001 * localedata/tst-ctype.c: Likewise.
6002 * localedata/tst-digits.c: Likewise.
6003 * localedata/tst-leaks.c: Likewise.
6004 * localedata/tst-mbswcs1.c: Likewise.
6005 * localedata/tst-mbswcs2.c: Likewise.
6006 * localedata/tst-mbswcs3.c: Likewise.
6007 * localedata/tst-mbswcs4.c: Likewise.
6008 * localedata/tst-mbswcs5.c: Likewise.
6009 * localedata/tst-setlocale.c: Likewise.
6010 * localedata/tst-trans.c: Likewise.
6011 * localedata/tst-wctype.c: Likewise.
6012 * localedata/tst-xlocale1.c: Likewise.
6013 * login/tst-grantpt.c: Likewise.
6014 * malloc/tst-calloc.c: Likewise.
6015 * malloc/tst-malloc.c: Likewise.
6016 * malloc/tst-mallocstate.c: Likewise.
6017 * malloc/tst-mcheck.c: Likewise.
6018 * malloc/tst-mtrace.c: Likewise.
6019 * malloc/tst-obstack.c: Likewise.
6020 * math/atest-exp2.c: Likewise.
6021 * math/atest-exp.c: Likewise.
6022 * math/atest-sincos.c: Likewise.
6023 * math/test-matherr.c: Likewise.
6024 * math/test-misc.c: Likewise.
6025 * math/test-powl.c: Likewise.
6026 * math/tst-definitions.c: Likewise.
6027 * misc/tst-dirname.c: Likewise.
6028 * misc/tst-efgcvt.c: Likewise.
6029 * misc/tst-fdset.c: Likewise.
6030 * misc/tst-hsearch.c: Likewise.
6031 * misc/tst-mntent2.c: Likewise.
6032 * nptl/tst-sem7.c: Likewise.
6033 * nptl/tst-sem8.c: Likewise.
6034 * nptl/tst-sem9.c: Likewise.
6035 * nss/test-netdb.c: Likewise.
6036 * posix/tst-fnmatch.c: Likewise.
6037 * posix/tst-getlogin.c: Likewise.
6038 * posix/tst-gnuglob.c: Likewise.
6039 * posix/tst-mmap.c: Likewise.
6040 * pwd/tst-getpw.c: Likewise.
6041 * resolv/tst-inet_ntop.c: Likewise.
6042 * rt/tst-timer.c: Likewise.
6043 * stdio-common/test-fseek.c: Likewise.
6044 * stdio-common/test-popen.c: Likewise.
6045 * stdio-common/test-vfprintf.c: Likewise.
6046 * stdio-common/tst-cookie.c: Likewise.
6047 * stdio-common/tst-fileno.c: Likewise.
6048 * stdio-common/tst-gets.c: Likewise.
6049 * stdio-common/tst-obprintf.c: Likewise.
6050 * stdio-common/tst-perror.c: Likewise.
6051 * stdio-common/tst-sprintf2.c: Likewise.
6052 * stdio-common/tst-sprintf3.c: Likewise.
6053 * stdio-common/tst-sprintf.c: Likewise.
6054 * stdio-common/tst-swprintf.c: Likewise.
6055 * stdio-common/tst-tmpnam.c: Likewise.
6056 * stdio-common/tst-unbputc.c: Likewise.
6057 * stdio-common/tst-wc-printf.c: Likewise.
6058 * stdlib/tst-environ.c: Likewise.
6059 * stdlib/tst-fmtmsg.c: Likewise.
6060 * stdlib/tst-limits.c: Likewise.
6061 * stdlib/tst-rand48-2.c: Likewise.
6062 * stdlib/tst-rand48.c: Likewise.
6063 * stdlib/tst-random2.c: Likewise.
6064 * stdlib/tst-random.c: Likewise.
6065 * stdlib/tst-strtol.c: Likewise.
6066 * stdlib/tst-strtoll.c: Likewise.
6067 * stdlib/tst-tls-atexit.c: Likewise.
6068 * stdlib/tst-xpg-basename.c: Likewise.
6069 * string/test-ffs.c: Likewise.
6070 * string/tst-bswap.c: Likewise.
6071 * string/tst-inlcall.c: Likewise.
6072 * string/tst-strtok.c: Likewise.
6073 * string/tst-strxfrm.c: Likewise.
6074 * sysdeps/x86_64/tst-audit10.c: Likewise.
6075 * sysdeps/x86_64/tst-audit3.c: Likewise.
6076 * sysdeps/x86_64/tst-audit4.c: Likewise.
6077 * sysdeps/x86_64/tst-audit5.c: Likewise.
6078 * time/tst-ftime_l.c: Likewise.
6079 * time/tst-getdate.c: Likewise.
6080 * time/tst-mktime3.c: Likewise.
6081 * time/tst-mktime.c: Likewise.
6082 * time/tst-posixtz.c: Likewise.
6083 * time/tst-strptime2.c: Likewise.
6084 * time/tst-strptime3.c: Likewise.
6085 * wcsmbs/tst-btowc.c: Likewise.
6086 * wcsmbs/tst-mbrtowc.c: Likewise.
6087 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6088 * wcsmbs/tst-wchar-h.c: Likewise.
6089 * wcsmbs/tst-wcpncpy.c: Likewise.
6090 * wcsmbs/tst-wcrtomb.c: Likewise.
6091 * wcsmbs/tst-wcsnlen.c: Likewise.
6092 * wcsmbs/tst-wcstof.c: Likewise.
6093
2004e7fb
JM
60942014-11-04 Joseph Myers <joseph@codesourcery.com>
6095
ab97ee8f
JM
6096 [BZ #14132]
6097 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6098 INTDEF.
6099 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6100 declaration.
6101 (_dl_mcount): Use rtld_hidden_proto.
6102 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6103 _dl_mcount.
6104 * elf/rtld.c (_rtld_global_ro): Likewise.
6105
c5684fdb
JM
6106 [BZ #14132]
6107 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6108 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6109 of _dl_init_internal.
6110 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6111 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6112 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6113 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6114 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6115 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6116 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6117 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6118 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6119 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6120 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6121 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6122 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6123 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6124 * sysdeps/tile/dl-start.S (_start): Likewise.
6125 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6126 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6127
4243cbea
JM
6128 [BZ #14132]
6129 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6130 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6131 (rtld_progname): Make macro definition unconditional.
6132 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6133 INTDEF.
6134 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6135 (dl_main): Likewise.
6136 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6137 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6138 instead of _dl_argv_internal.
6139 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6140 __GI__dl_argv instead of INTUSE(_dl_argv).
6141 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6142 __GI__dl_argv instead of _dl_argv_internal.
6143
2004e7fb
JM
6144 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6145 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6146 macro.
6147 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6148 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6149 New macro.
6150 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6151 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6152 macro.
6153 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6154 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6155
97827bfc
AS
61562014-11-04 Andreas Schwab <schwab@suse.de>
6157
6158 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6159
5e4df284
AZ
61602014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6161
6162 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6163 mtvsrd instruction in binary form.
6164
04b76b5a
AS
61652014-11-03 Andreas Schwab <schwab@suse.de>
6166
6167 [BZ #17522]
6168 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6169 for less than MB_LEN_MAX use a local buffer of that size.
6170 * libio/tst-fputws.c: New file.
6171 * libio/Makefile (tests): Add tst-fputws.
6172
4c6da7da
JM
61732014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6174
6175 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6176 the size of the fpu_fr.fpu_dregs[] array.
6177
1679ba8e
JM
61782014-11-01 Joseph Myers <joseph@codesourcery.com>
6179
6180 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6181 (__nanosleep): Do not define as alias.
6182 (nanosleep): Define as alias of __nanosleep.
6183 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6184 __libc_nanosleep name.
6185
2626c183
JM
61862014-10-31 Joseph Myers <joseph@codesourcery.com>
6187
6188 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6189 install.texi in comment.
6190
7f981fc2
TR
61912014-10-31 Torvald Riegel <triegel@redhat.com>
6192
6193 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6194 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6195 ... add here and use lwsync or sync ...
6196 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6197 ... and add here using lwsync.
6198
d6f373d2
MF
61992014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6200
6201 * elf/dl-machine-reject-phdr.h: New file.
6202 * elf/dl-load.c: #include that.
6203 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6204 if that returned true.
6205
67c37987
RM
62062014-10-31 Roland McGrath <roland@hack.frob.com>
6207
6208 [BZ #17496]
6209 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6210 gen-as-const-headers chunk. Add a big scare comment after the last
6211 safe place to touch before-compile.
6212
94a42455 62132014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 6214
f3f5d895
JM
6215 * manual/install.texi (Tools for Compilation): Update autoconf
6216 version requirements.
6217 * INSTALL: Regenerated.
6218
f62ff286
JM
6219 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6220 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6221 (__libc_pselect): Likewise.
94a42455
JM
6222
6223 [BZ #14138]
6224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6228
ff9dbdc0
TR
62292014-10-31 Torvald Riegel <triegel@redhat.com>
6230
6231 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6232 correct barrier instruction.
6233 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6234 Likewise.
6235 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6236 Likewise.
6237
b4f66884
RM
62382014-10-30 Roland McGrath <roland@hack.frob.com>
6239
6240 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6241 after defining inlines. Instead, just use parens to defeat macro
6242 expansion of __isctype in its declaration.
6243
e19c95fd
JM
62442014-10-30 Joseph Myers <joseph@codesourcery.com>
6245
6246 * include/sys/uio.h (__libc_readv): Remove declaration.
6247 (__libc_writev): Likewise.
6248 * misc/readv.c (__libc_readv): Rename to __readv.
6249 (__readv): Do not define as alias.
6250 (readv): Define as alias of __readv.
6251 * misc/writev.c (__libc_writev): Rename to __writev.
6252 (__writev): Do not define as alias.
6253 (writev): Define as alias of __writev.
6254 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6255 (__readv): Do not define as alias.
6256 (readv): Define unconditionally as alias of __readv.
6257 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6258 (__writev): Do not define as alias.
6259 (writev): Define unconditionally as alias of __writev.
6260 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6261 name.
6262 (writev): Do not define __libc_writev name.
6263
65b00b6c
RM
62642014-10-30 Roland McGrath <roland@hack.frob.com>
6265
6266 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6267 (convert_charseq): New function, broken out of ...
6268 (use_from_charmap): ... here. Call it.
6269 (use_to_charmap): Use convert_charseq and free instead of duplicating
6270 its code with a variable-length stack struct.
6271
d4e157aa
JM
62722014-10-30 Joseph Myers <joseph@codesourcery.com>
6273
6274 * include/fcntl.h (__libc_creat): Remove declaration.
6275 * io/creat.c (__libc_creat): Rename to creat.
6276 (creat): Do not define as alias.
6277 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6278 of creat instead of __libc_creat.
6279 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6280 to creat.
6281 (creat): Do not define as alias.
6282 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6283 __libc_creat.
6284 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6285 __libc_creat name.
6286 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6287 Likewise.
6288
0c6891a0
CD
62892014-10-29 Carlos O'Donell <carlos@redhat.com>
6290
6291 * manual/llio.texi: Add comments discussing why write() may be
6292 considered MT-unsafe on Linux.
6293
cc00cece
CD
62942014-10-28 Carlos O'Donell <carlos@redhat.com>
6295
6296 * dl-load.c (local_strdup): Remove.
6297 (expand_dynamic_string_token): Use __strdup.
6298 (decompose_rpath): Likewise.
6299 (_dl_map_object): Likewise.
6300
51e623f2
JM
63012014-10-28 Joseph Myers <joseph@codesourcery.com>
6302
6303 [BZ #14132]
6304 * sysdeps/generic/unwind-dw2-fde.c
6305 (__register_frame_info_bases_internal): Do not declare.
6306 (__register_frame_info_table_bases_internal): Likewise.
6307 (__deregister_frame_info_bases_internal): Likewise.
6308 (__register_frame_info_bases): Declare and use hidden_proto before
6309 definition. Use hidden_def instead of INTDEF.
6310 (__register_frame_info_table_bases): Likewise.
6311 (__deregister_frame_info_bases): Likewise.
6312 (__register_frame_info): Do not use INTUSE.
6313 (__register_frame): Likewise.
6314 (__register_frame_info_table): Likewise.
6315 (__register_frame_table): Likewise.
6316 (__deregister_frame_info): Likewise.
6317 (__deregister_frame): Likewise.
6318
03d41216
GC
63192014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6320
6321 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6322 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6323 not undefine.
6324 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6325 Likewise.
6326 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6327 Likewise.
6328
a4b3624d
JM
63292014-10-27 Joseph Myers <joseph@codesourcery.com>
6330
6331 [BZ #14138]
6332 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6333 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6334 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6335 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6336 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6337 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6338 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6339 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6340 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6341 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6342 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6343 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6344 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6345 syscall.
6346 (setfsuid): Likewise.
6347 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6348 (setfsuid): Likewise.
6349 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6350 (setfsuid): Likewise.
6351 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6352 Likewise.
6353 (setfsuid): Likewise.
6354 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6355 (setfsuid): Likewise.
6356 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6357 Likewise.
6358 (setfsuid): Likewise.
6359
3574f2fd
AS
63602014-10-27 Andreas Schwab <schwab@suse.de>
6361
6362 [BZ #17501]
6363 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6364 check for Slow_SSE4_2 feature bit.
6365 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6366 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6367 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6368 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6369
70996a37
RM
63702014-10-24 Roland McGrath <roland@hack.frob.com>
6371
461a7b1e
RM
6372 * configure.ac: Validate compiler version with a empirical test of
6373 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6374 $CC -v output.
6375 * configure: Regenerated.
6376
70996a37
RM
6377 * inet/htons.c (htons): Prototypify.
6378 * inet/htonl.c (htonl): Likewise.
6379
e80514b5
WD
63802014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6381
6382 * string/strncat.c (strncat): Improve performance by using strlen.
6383
6e46de42
WD
63842014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6385
6386 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6387
6a9ad2fa
WD
63882014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6389
6390 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6391 Call libc_fetestexcept_aarch64.
6392
1c8810ed
WD
63932014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6394
6395 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6396 Call libc_feholdexcept_aarch64.
6397
8b1af712
WD
63982014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6399
6400 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6401 Call get_rounding_mode.
6402
a7b00c11
WD
64032014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6404
6405 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6406 Simplify logic.
6407
3a84f1a6
WD
64082014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6409
6410 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6411 Simplify logic.
6412
48eb7a94
JM
64132014-10-24 Joseph Myers <joseph@codesourcery.com>
6414
c8bc4038
JM
6415 [BZ #14138]
6416 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6417 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6418 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6419 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6420 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6421 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6422 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6423 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6424 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6425 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6426 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6427 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6428 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6429 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6430 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6431 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6432 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6433 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6434 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6435 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6436 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6437 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6438 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6439 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6440 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6441 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6442 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6443 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6444 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6445 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6446 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6447 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6448 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6449 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6450 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6451 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6452 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6453 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6454 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6455 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6456 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6457 syscall.
6458 (geteuid): Likewise.
6459 (getgid): Likewise.
6460 (getuid): Likewise.
6461 (getresgid): Likewise.
6462 (getresuid): Likewise.
6463 (getgroups): Likewise.
6464 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6465 (geteuid): Likewise.
6466 (getgid): Likewise.
6467 (getuid): Likewise.
6468 (getresgid): Likewise.
6469 (getresuid): Likewise.
6470 (getgroups): Likewise.
6471 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6472 (geteuid): Likewise.
6473 (getgid): Likewise.
6474 (getuid): Likewise.
6475 (getresgid): Likewise.
6476 (getresuid): Likewise.
6477 (getgroups): Likewise.
6478 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6479 Likewise.
6480 (geteuid): Likewise.
6481 (getgid): Likewise.
6482 (getuid): Likewise.
6483 (getresgid): Likewise.
6484 (getresuid): Likewise.
6485 (getgroups): Likewise.
6486 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6487 (geteuid): Likewise.
6488 (getgid): Likewise.
6489 (getuid): Likewise.
6490 (getresgid): Likewise.
6491 (getresuid): Likewise.
6492 (getgroups): Likewise.
6493 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6494 Likewise.
6495 (geteuid): Likewise.
6496 (getgid): Likewise.
6497 (getuid): Likewise.
6498 (getgroups): Likewise.
6499
48eb7a94
JM
6500 [BZ #14138]
6501 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6502 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6503 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6504 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6505 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6506 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6507 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6508 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6509 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6510 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6511 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6512 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6513 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6514 __chown.
6515 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6516 (lchown): Likewise.
6517 (fchown): Likewise.
6518 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6519 Likewise.
6520 (lchown): Likewise.
6521 (fchown): Likewise.
6522 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6523 (lchown): Likewise.
6524 (fchown): Likewise.
6525 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6526 Likewise.
6527 (lchown): Likewise.
6528 (fchown): Likewise.
6529
ea9a7c8b
WD
65302014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6531
6532 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6533 Simplify logic.
6534
e226de33
WD
65352014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6536
6537 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6538 Cleanup logic.
6539
6e3d8ed3
WD
65402014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6541
6542 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6543 Remove unused include.
6544
eb04247d
WD
65452014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6546
6547 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6548 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6549 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6550 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6551
13d84554
CD
65522014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6553 Helge Deller <deller@gmx.de>
6554
6555 [BZ #17508]
6556 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6557 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6558 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6559
15f9c5df
JM
65602014-10-23 Joseph Myers <joseph@codesourcery.com>
6561
6562 [BZ #14132]
6563 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6564 Remove macro definition.
6565 (__ashrdi3_v_glibc20): Likewise.
6566 (__lshrdi3_v_glibc20): Likewise.
6567 (__cmpdi2_v_glibc20): Likewise.
6568 (__ucmpdi2_v_glibc20): Likewise.
6569 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6570 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6571 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6572 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6573 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6574 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6575
c6dfed24
RM
65762014-10-22 Roland McGrath <roland@hack.frob.com>
6577
6578 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6579 old GNU extension [0] syntax.
6580 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6581 alloca rather than an array member with variable length.
6582 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6583 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6584 (parse_opt): ... here. Likewise use alloca there.
6585 Validate the -i argument before checking for rootness.
6586 (send_shutdown): New function, broken out of ...
6587 (parse_opt): ... here.
6588
8c2b1ed8
RM
65892014-10-22 Roland McGrath <roland@hack.frob.com>
6590
6591 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6592 macro to get at the _rt_local_ro field.
6593 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6594 ([PIC] case) or _dl_hwcap ([!PIC] case).
6595 * sysdeps/arm/setjmp.S: Likewise.
6596
6597 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6598 * sysdeps/arm/configure.ac: New check to define it.
6599 * sysdeps/arm/configure: Regenerated.
6600 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6601 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6602 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6603 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6604 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6605 Use move/movt pair instead of a load.
6606 (LDST_GLOBAL): Macro removed.
6607 (LDR_GLOBAL): New macro replaces it.
6608 (LDR_HIDDEN): New macro.
6609 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6610 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6611
6612 * setjmp/tst-setjmp-static.c: New file.
6613 * setjmp/Makefile (tests): Add it.
6614 (tests-static): New variable.
6615
b5af9297
MR
66162014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6617
6618 [BZ #17485]
6619 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6620
a13d0d74
JM
66212014-10-21 Joseph Myers <joseph@codesourcery.com>
6622
6623 [BZ #14132]
6624 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6625
f05e73f6
RM
66262014-10-21 Roland McGrath <roland@hack.frob.com>
6627
6628 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6629
6ab1d1ea
RM
66302014-10-20 Roland McGrath <roland@hack.frob.com>
6631
6632 * io/fts.c (dirent_not_directory): New function.
6633 (fts_build): Call it.
6634
ab49e763
RM
66352014-10-20 Roland McGrath <roland@hack.frob.com>
6636
e436eb79
RM
6637 * nptl/version.c (__nptl_main): Use normal __write rather than
6638 INTERNAL_SYSCALL.
6639 (banner): Update copyright years.
6640
6af246cf
RM
6641 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6642 gettimeofday.
6643 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6644 * nptl/pthread_cond_timedwait.c: Likewise.
6645 * nptl/pthread_mutex_timedlock.c: Likewise.
6646 * nptl/sem_timedwait.c: Likewise.
6647
ab49e763
RM
6648 * sysdeps/nptl/bits/libc-lock.h
6649 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6650 (__libc_lock_init_recursive): Return void, not 0.
6651 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6652 (__libc_rwlock_init): Likewise.
6653 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6654
f50277c1
TR
66552014-10-20 Torvald Riegel <triegel@redhat.com>
6656
6657 [BZ #15215]
6658 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6659 (__pthread_once_slow): ... here.
6660 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6661 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6662
63668b70
TR
66632014-10-20 Torvald Riegel <triegel@redhat.com>
6664
6665 [BZ #15215]
6666 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6667 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6668 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6669 * nptl/pthread_once.c (__pthread_once): Likewise.
6670 Update comments.
6671
42b7f5d4
JM
66722014-10-20 Joseph Myers <joseph@codesourcery.com>
6673
6674 [BZ #14138]
6675 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6676 name.
6677 (writev): Use __libc_writev as strong name.
6678 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6679 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6680
b0643088
RM
66812014-10-17 Roland McGrath <roland@hack.frob.com>
6682
114c4e09
RM
6683 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6684
674b8978
RM
6685 * sysdeps/i386/nptl/tls.h
6686 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6687 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6688 New macros.
6689 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6690 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6691 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6692 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6693 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6694 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6695
184ee940
RM
6696 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6697 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6698 on [__NR_futex].
6699 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6700 broken out of ...
6701 (__pthread_mutex_init): ... here. Call it.
6702 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6703 Conditionalize PI cases on [__NR_futex].
6704 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6705 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6706 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6707
327ae257
RM
6708 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6709 conditional on [SIGSETXID].
6710 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6711 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6712 is defined. Likewise for SIGSETXID.
6713 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6714 Conditionalize definitions on [SIGSETXID].
6715 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6716 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6717 unblocking on [SIGCANCEL].
6718
b0643088
RM
6719 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6720 [__NR_set_robust_list].
6721
33cc770b
SP
67222014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6723
6724 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6725 (do_compare): Likewise.
6726
0742aef6
LH
67272014-10-17 Leonhard Holz <leonhard.holz@web.de>
6728
6729 [BZ #15884]
6730 * string/strcoll_l.c: Don't include stdio.h.
6731 (coll_seq): Remove members idxarr and rulearr.
6732 (get_next_seq_cached): Remove function.
6733 (get_next_seq): Likewise.
6734 (get_next_seq_nocache): Rename to get_next_seq.
6735 (do_compare): Remove function.
6736 (do_compare_nocache): Rename to do_compare.
6737 (STRCOLL): Remove weight and rules cache.
6738
ee54ce44
RM
67392014-10-16 Roland McGrath <roland@hack.frob.com>
6740
6741 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6742 * sysdeps/arm/sfp-machine.h: ... to here.
6743 * sysdeps/arm/Implies: Remove arm/soft-fp.
6744
a75d3b02
JM
67452014-10-14 Joseph Myers <joseph@codesourcery.com>
6746
6747 * conform/data/sys/utsname.h-data (*_t): Allow.
6748 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6749 [POSIX] (WEXITED): Do not expect constant.
6750 [POSIX] (WSTOPPED): Likewise.
6751 [POSIX] (WNOHANG): Likewise.
6752 [POSIX] (WNOWAIT): Likewise.
6753 [POSIX] (siginfo_t): Do not expect type or elements.
6754 [POSIX] (pid_t): Do not expect type.
6755 [POSIX] (signal.h): Do not allow header.
6756 [POSIX] (sys/resource.h): Likewise.
6757 [POSIX] (si_*): Do not allow pattern.
6758 [POSIX] (W*): Likewise.
6759 [POSIX] (P_*): Likewise.
6760 [POSIX] (BUS_*): Likewise.
6761 [POSIX] (CLD_*): Likewise.
6762 [POSIX] (FPE_*): Likewise.
6763 [POSIX] (ILL_*): Likewise.
6764 [POSIX] (POLL_*): Likewise.
6765 [POSIX] (SEGV_*): Likewise.
6766 [POSIX] (SI_*): Likewise.
6767 [POSIX] (TRAP_*): Likewise.
6768 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6769 variable.
6770
fda389c8
SP
67712014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6772
6773 [BZ #12926]
6774 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6775 infinite loop when __recvmsg returns 0.
6776
6bc6bd3b
JM
67772014-10-10 Joseph Myers <joseph@codesourcery.com>
6778
fcb32af1
JM
6779 * CANCEL-FCT-WAIVE: Remove file.
6780 * CANCEL-FILE-WAIVE: Likewise.
6781
6bc6bd3b
JM
6782 [BZ #14132]
6783 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6784 instead of INTVARDEF.
6785 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6786 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6787 rtld_hidden_data_def instead of INTVARDEF.
6788 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6789 * elf/dl-deps.c (expand_dst): Likewise.
6790 * elf/dl-load.c (_dl_dst_count): Likewise.
6791 (_dl_dst_substitute): Likewise.
6792 (decompose_rpath): Likewise.
6793 (_dl_init_paths): Likewise.
6794 (open_path): Likewise.
6795 (_dl_map_object): Likewise.
6796 * elf/rtld.c (dl_main): Likewise.
6797 (process_dl_audit): Likewise.
6798 (process_envvars): Likewise.
6799 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6800 Remove declaration.
6801 (__libc_enable_secure): Use rtld_hidden_proto.
6802
b8c80a7e
KS
68032014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6804
6805 * elf/dl-load.c
6806 (add_path): New function broken out of _dl_rtld_di_serinfo.
6807 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6808
ff12c11f
JM
68092014-10-09 Joseph Myers <joseph@codesourcery.com>
6810
5c0508a3
JM
6811 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6812 parentheses around macro arguments.
6813 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6814 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6815 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6816 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6817 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6818 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6819 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6820 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6821 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6822 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6823 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6824 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6825 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6826 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6827 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6828 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6829 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6830 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6831 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6832 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6833 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6834 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6835 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6836 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6837 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6838 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6839 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6840 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6841 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6842 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6843 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6844 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6845 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6846 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6847 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6848 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6849 Likewise.
6850 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6851 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6852 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6853 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6854 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6855 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6856 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6857 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6858 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6859 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6860 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6861 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6862 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6863 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6864 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6865 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6866 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6867 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6868 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6869 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6870 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6871 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6872 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6873 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6874 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6875 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6876 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6877 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6878 (_FP_FRAC_SRS_1): Likewise.
6879 (_FP_FRAC_CLZ_1): Likewise.
6880 (_FP_MUL_MEAT_1_imm): Likewise.
6881 (_FP_MUL_MEAT_1_wide): Likewise.
6882 (_FP_MUL_MEAT_1_hard): Likewise.
6883 (_FP_SQRT_MEAT_1): Likewise.
6884 (_FP_FRAC_ASSEMBLE_1): Likewise.
6885 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6886 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6887 (__FP_CLZ_2): Likewise.
6888 (_FP_MUL_MEAT_2_wide): Likewise.
6889 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6890 (_FP_MUL_MEAT_2_gmp): Likewise.
6891 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6892 (_FP_SQRT_MEAT_2): Likewise.
6893 (_FP_FRAC_ASSEMBLE_2): Likewise.
6894 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6895 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6896 (_FP_FRAC_CLZ_4): Likewise.
6897 (_FP_MUL_MEAT_4_wide): Likewise.
6898 (_FP_MUL_MEAT_4_gmp): Likewise.
6899 (_FP_SQRT_MEAT_4): Likewise.
6900 (_FP_FRAC_ASSEMBLE_4): Likewise.
6901 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6902 * soft-fp/op-common.h (_FP_CMP): Likewise.
6903 (_FP_CMP_EQ): Likewise.
6904 (_FP_CMP_UNORD): Likewise.
6905 (_FP_TO_INT): Likewise.
6906 (_FP_FROM_INT): Likewise.
6907 [!__FP_CLZ] (__FP_CLZ): Likewise.
6908 (_FP_DIV_HELP_imm): Likewise.
6909 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6910 Likewise.
6911 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6912 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6913 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6914 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6915 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6916 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6917 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6918 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6919 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6920 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6921 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6922 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6923 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6924 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6925 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6926 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6927 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6928 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6929 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6930 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6931 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6932 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6933 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6934 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6935 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6936 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6937 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6938 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6939 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6940 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6941 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6942 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6943 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6944 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6945 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6946 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6947 (FP_UNPACK_RAW_SP): Likewise.
6948 (FP_PACK_RAW_S): Likewise.
6949 (FP_PACK_RAW_SP): Likewise.
6950 (FP_UNPACK_S): Likewise.
6951 (FP_UNPACK_SP): Likewise.
6952 (FP_UNPACK_SEMIRAW_S): Likewise.
6953 (FP_UNPACK_SEMIRAW_SP): Likewise.
6954 (FP_PACK_S): Likewise.
6955 (FP_PACK_SP): Likewise.
6956 (FP_PACK_SEMIRAW_S): Likewise.
6957 (FP_PACK_SEMIRAW_SP): Likewise.
6958 (_FP_SQRT_MEAT_S): Likewise.
6959 (FP_CMP_S): Likewise.
6960 (FP_CMP_EQ_S): Likewise.
6961 (FP_CMP_UNORD_S): Likewise.
6962 (FP_TO_INT_S): Likewise.
6963 (FP_FROM_INT_S): Likewise.
6964
a736ec37
JM
6965 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6966
ff12c11f
JM
6967 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6968 (FP_EX_INVALID_IMZ): Likewise.
6969 (FP_EX_INVALID_IMZ_FMA): Likewise.
6970 (FP_EX_INVALID_ISI): Likewise.
6971 (FP_EX_INVALID_ZDZ): Likewise.
6972 (FP_EX_INVALID_IDI): Likewise.
6973 (FP_EX_INVALID_SQRT): Likewise.
6974 (FP_EX_INVALID_CVI): Likewise.
6975 (FP_EX_INVALID_VC): Likewise.
6976 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6977 "invalid" exceptions.
6978 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6979 (_FP_ADD_INTERNAL): Likewise.
6980 (_FP_MUL): Likewise.
6981 (_FP_FMA): Likewise.
6982 (_FP_DIV): Likewise.
6983 (_FP_CMP_CHECK_NAN): Likewise.
6984 (_FP_SQRT): Likewise.
6985 (_FP_TO_INT): Likewise.
6986 (FP_EXTEND): Likewise.
6987
b6dcfe8c
AM
69882014-10-09 Allan McRae <allan@archlinux.org>
6989
6990 * po/fr.po: Update French translation from translation project.
6991
2d6a47ba
JM
69922014-10-09 Joseph Myers <joseph@codesourcery.com>
6993
cb831245
JM
6994 [BZ #14132]
6995 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6996 of INTDEF.
6997 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6998 (__cxa_atexit): Use libc_hidden_proto.
6999 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7000
5deeb190
JM
7001 [BZ #14132]
7002 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7003 declaration.
7004 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7005 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7006 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7007 [!_ISOMAC] (__iswctype_internal): Likewise.
7008 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7009 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7010 alias.
7011 (fcntl): Remove __fcntl_internal alias.
7012 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7013 __connect_internal alias.
7014 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7015 Likewise.
7016
454ac701
JM
7017 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7018 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7019 FP_DENORM_ZERO.
7020 (_FP_CHECK_FLUSH_ZERO): New macro.
7021 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7022 (_FP_CMP): Likewise.
7023 (_FP_CMP_EQ): Likewise.
7024 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7025 FP_DENORM_ZERO.
7026 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7027 (FP_TRUNC): Likewise.
7028
0022e688
JM
7029 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7030 treated as invalid conversion, not as normal exponent.
7031
73e28d9c
JM
7032 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7033 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7034 (_FP_CMP_EQ): Likewise.
7035 (_FP_CMP_UNORD): Likewise.
7036 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7037 (FP_CMP_EQ_D): Likewise.
7038 (FP_CMP_UNORD_D): Likewise.
7039 * soft-fp/extended.h (FP_CMP_E): Likewise.
7040 (FP_CMP_EQ_E): Likewise.
7041 (FP_CMP_UNORD_E): Likewise.
7042 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7043 (FP_CMP_EQ_Q): Likewise.
7044 (FP_CMP_UNORD_Q): Likewise.
7045 * soft-fp/single.h (FP_CMP_S): Likewise.
7046 (FP_CMP_EQ_S): Likewise.
7047 (FP_CMP_UNORD_S): Likewise.
7048 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7049 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7050 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7051 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7052 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7053 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7054 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7055 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7056 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7057 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7058 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7059 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7060 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7061 to FP_CMP_Q.
7062 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7063 FP_CMP_Q.
7064 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7065 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7066 FP_CMP_EQ_Q.
7067 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7068 FP_CMP_Q.
7069 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7070 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7071 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7072 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7073 FP_CMP_EQ_Q.
7074 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7075 FP_CMP_Q.
7076 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7077 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7078 FP_CMP_EQ_Q.
7079 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7080 FP_CMP_Q.
7081 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7082 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7083 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7084 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7085 FP_CMP_EQ_Q.
7086
43059f42
JM
7087 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7088 a subnormal result, set the underflow exception if trapping on
7089 underflow is enabled.
7090 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7091 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7092 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7093 redefine to 0.
7094 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7095 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7096 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7097 * soft-fp/extendxftf2.c (__extendxftf2): Use
7098 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7099
2d6a47ba
JM
7100 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7101 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7102 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7103 FP_HANDLE_EXCEPTIONS.
7104 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7105 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7106 FP_HANDLE_EXCEPTIONS.
7107 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7108 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7109 FP_HANDLE_EXCEPTIONS.
7110 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7111 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7112 FP_HANDLE_EXCEPTIONS.
7113
620f462e
JM
71142014-10-08 Joseph Myers <joseph@codesourcery.com>
7115
7116 [BZ #14132]
7117 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7118 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7119 use INTUSE.
7120 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7121 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7122 Remove alias.
7123 (__adjtimex): Define using libc_hidden_ver.
7124 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7125 Remove declaration.
7126 (ntp_gettime): Call __adjtimex directly.
7127 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7128 Remove declaration.
7129 (ntp_gettimex): Call __adjtimex directly.
7130 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7131 __adjtimex_internal alias.
7132
c763c5d2
RM
71332014-10-08 Roland McGrath <roland@hack.frob.com>
7134
7135 [BZ #17460]
7136 * nscd/nscd.c (more_help): Rewrite list of tables collection
7137 using xstrdup and asprintf.
7138
7139 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7140
7b8fb2b8
RM
71412014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7142 Roland McGrath <roland@hack.frob.com>
7143
7144 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7145 (do_lookup_unique): ... local function 'enter' here; update callers.
7146
abb280f7
JM
71472014-10-06 Joseph Myers <joseph@codesourcery.com>
7148
f7b42517
JM
7149 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7150 compat_symbol calls on [SHARED].
7151 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7152 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7153 Remove.
7154 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7155 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7156 (oldsetrlimit): Remove.
7157 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7159 (lchown): New syscall entry.
7160 (oldsetrlimit): Remove.
7161 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7162 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7163 (oldsetrlimit): Remove.
7164 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7165
abb280f7
JM
7166 [BZ #14138]
7167 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7168 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7169 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7170 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7171 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7172 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7173 (fchown): Likewise.
7174 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7175 (fchown): Likewise.
7176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7177 Likewise.
7178
47d46237
AZ
71792014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7180
7181 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7182 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7183 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7184 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7185 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7186 Likewise.
7187 (__old_sem_post): Likewise.
7188
71892014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 7190
845a7343
CM
7191 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7192 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7193 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7194 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7195 Use INLINE_VSYSCALL macro.
7196 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7197 __vdso_clock_gettime.
7198 * sysdeps/unix/sysv/linux/tile/init-first.c
7199 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7200 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7201 __vdso_clock_gettime.
7202
83d641ef
CM
7203 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7204 to set up frame more cleanly.
7205
d9cd52e6
CM
7206 * sysdeps/tile/memcmp.c: New file.
7207
4b68ea11
CM
7208 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7209
c86f7b80
CM
7210 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7211 * sysdeps/tile/tilegx/strcasestr.c: New file.
7212 * sysdeps/tile/tilegx/strnlen.c: New file.
7213 * sysdeps/tile/tilegx/strstr.c: New file.
7214
1c4c1a6f
CM
7215 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7216
99d86ea3
AS
72172014-10-06 Arjun Shankar <arjun.is@lostca.se>
7218
7219 * nptl/tst-setuid3.c: Write errors to stdout.
7220
06210a44
KS
72212014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7222
7223 * elf/dl-deps.c
7224 (preload): New functions broken out of _dl_map_object_deps.
7225 (_dl_map_object_deps): Remove a nested function. Update call sites.
7226
6268f532
JM
72272014-10-01 Joseph Myers <joseph@codesourcery.com>
7228
7229 [BZ #14138]
7230 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7231 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7232
b925285f
SE
72332014-10-01 Steve Ellcey <sellcey@mips.com>
7234
7235 * sysdeps/mips/strcmp.S: New.
7236
754a15c6
JM
72372014-09-30 Joseph Myers <joseph@codesourcery.com>
7238
7239 [BZ #14138]
7240 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7241 (linkat): Likewise.
7242 (mkdirat): Likewise.
7243 (readlinkat): Likewise.
7244 (renameat): Likewise.
7245 (symlinkat): Likewise.
7246 (unlinkat): Likewise.
7247 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7248 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7249 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7250 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7251 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7252 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7253 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7254
85bb81c9
WN
72552014-09-30 Will Newton <will.newton@linaro.org>
7256
dc6fe23b
WN
7257 * math/math.h: Define long double math functions if
7258 _LIBC_TEST is defined.
7259 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7260
85bb81c9
WN
7261 * localedata/Makefile: Move assignment to tests-special
7262 into an ifdef testing run-built-tests.
7263 * timezone/Makefile: Likewise.
7264
b7e02da4
JM
72652014-09-29 Joseph Myers <joseph@codesourcery.com>
7266
7267 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7268 with $(BASH) not $(SHELL).
7269
62058ce6
CD
72702014-09-29 Carlos O'Donell <carlos@redhat.com>
7271 Matthew LeGendre <legendre1@llnl.gov>
7272
7273 [BZ #17411]
7274 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7275 l_reloc_result.
7276
8e257a29
KS
72772014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7278
7279 * stdio-common/printf_fp.c
7280 (hack_digit): New function, broken out of ...
7281 (__printf_fp): ... local function here. Update call sites.
7282 hack_digit now takes an additional parameter that is a pointer
7283 to a struct of the referenced locals. Those locals moved inside
7284 the struct and references updated.
7285
f4a58f0d
L
72862014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7287
7288 * aclocal.m4: Require autoconf 2.69.
7289 * configure: Regenerated.
7290 * sysdeps/aarch64/configure: Likewise.
7291 * sysdeps/alpha/configure: Likewise.
7292 * sysdeps/arm/armv7/configure: Likewise.
7293 * sysdeps/arm/configure: Likewise.
7294 * sysdeps/ia64/configure: Likewise.
7295 * sysdeps/mach/configure: Likewise.
7296 * sysdeps/mips/configure: Likewise.
7297 * sysdeps/s390/configure: Likewise.
7298 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7300
7301 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7302 file.
7303 * sysdeps/ia64/configure.ac: Likewise.
7304
93ae1eba
JM
73052014-09-26 Joseph Myers <joseph@codesourcery.com>
7306
1810d3ab
JM
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7308 specify symbol version for ld.so. Do not include entry for
7309 libpthread.
7310 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7311 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7312 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7313
93ae1eba
JM
7314 [BZ #14171]
7315 * Makeconfig [$(build-shared) = yes]
7316 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7317 makefiles.
7318 [$(build-shared) = yes && $(soversions.mk-done) = t]
7319 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7320 [$(build-shared) = yes && $(soversions.mk-done) = t]
7321 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7322 to Makerules.
7323 [$(build-shared) = yes && $(soversions.mk-done) = t]
7324 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7325 here.
7326 [$(build-shared) = yes && $(soversions.mk-done) = t]
7327 (common-generated): Don't append gnu/lib-names.h and
7328 gnu/lib-names.stmp here.
7329 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7330 (lib-names-h-abi): New variable.
7331 [$(build-shared) = yes && $(soversions.mk-done) = t]
7332 (lib-names-stmp-abi): Likewise.
7333 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7334 abi-variants] (before-compile): Append
7335 $(common-objpfx)$(lib-names-h-abi).
7336 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7337 abi-variants] (common-generated): Append gnu/lib-names.h.
7338 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7339 abi-variants] (install-others-nosubdir): Depend on
7340 $(inst_includedir)/$(lib-names-h-abi).
7341 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7342 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7343 [$(build-shared) = yes && $(soversions.mk-done) = t]
7344 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7345 [$(build-shared) = yes && $(soversions.mk-done) = t]
7346 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7347 [$(build-shared) = yes && $(soversions.mk-done) = t]
7348 (common-generated): Append $(lib-names-h-abi) and
7349 $(lib-names-stmp-abi).
7350 * scripts/lib-names.awk: Do not handle multi being set.
7351 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7352 Remove variable.
7353 (abi-lp64_be-ld-soname): Likewise.
7354 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7355 Likewise.
7356 (abi-hard-ld-soname): Likewise.
7357 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7358 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7359 Remove variable.
7360 (abi-o32_hard-ld-soname): Likewise.
7361 (abi-o32_soft_2008-ld-soname): Likewise.
7362 (abi-o32_hard_2008-ld-soname): Likewise.
7363 (abi-n32_soft-ld-soname): Likewise.
7364 (abi-n32_hard-ld-soname): Likewise.
7365 (abi-n32_soft_2008-ld-soname): Likewise.
7366 (abi-n32_hard_2008-ld-soname): Likewise.
7367 (abi-n64_soft-ld-soname): Likewise.
7368 (abi-n64_hard-ld-soname): Likewise.
7369 (abi-n64_soft_2008-ld-soname): Likewise.
7370 (abi-n64_hard_2008-ld-soname): Likewise.
7371 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7372 Likewise.
7373 (abi-64-v2-ld-soname): Likewise.
7374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7375 ld.so entries.
7376 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7377 variable.
7378 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7379 entry.
7380 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7381 variable.
7382 (abi-64-ld-soname): Likewise.
7383 (abi-x32-ld-soname): Likewise.
7384 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7385 entry.
7386 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7387
68870f12
JM
73882014-09-23 Joseph Myers <joseph@codesourcery.com>
7389
7390 [BZ #14138]
7391 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7392 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7393 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7394 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7395 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7396 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7397 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7398 syscall entry for GLIBC_2.2 symbol version.
7399 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7400 Likewise.
7401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7402 (setrlimit): Likewise.
7403 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7404 Likewise.
7405
ea58f202
WN
74062014-09-23 Will Newton <will.newton@linaro.org>
7407
7408 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7409 _LINUX_ARM_SYSDEP_H include guard too.
7410 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7411 define.
7412
69eb9a18
RV
74132014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7414
7415 * sysdeps/unix/sysv/linux/eventfd.c:
7416 Make first argument unsigned.
7417 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7418 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7419
20e5a5f7
OB
74202014-09-20 Ondřej Bílka <neleai@seznam.cz>
7421
7422 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7423 * socket/sys/socket.h: Likewise
7424 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7425
d3c827e7
AK
74262014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7427
7428 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7429
fe1cc35a
AS
74302014-09-17 Arjun Shankar <arjun.is@lostca.se>
7431
7432 * time/tst-ftime.c: New test.
7433 * time/Makefile (tests): Add tst-ftime.
7434
4e8afe69
JM
74352014-09-17 Joseph Myers <joseph@codesourcery.com>
7436
c4fe3ea7
JM
7437 * soft-fp/extended.h: Fix comment formatting.
7438 * soft-fp/op-1.h: Likewise.
7439 * soft-fp/op-2.h: Likewise.
7440 * soft-fp/op-4.h: Likewise.
7441 * soft-fp/op-8.h: Likewise.
7442 * soft-fp/op-common.h: Likewise.
7443 * soft-fp/soft-fp.h: Likewise.
7444
4e8afe69
JM
7445 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7446
af296fcd
JM
74472014-09-16 Joseph Myers <joseph@codesourcery.com>
7448
7449 [BZ #6652]
7450 * Makeconfig (soversions-default-setname): Remove variable.
7451 ($(common-objpfx)soversions.i): Don't pass default_setname to
7452 soversions.awk.
7453 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7454 oldest_abi to abi-versions.awk.
7455 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7456 * config.make.in (oldest-abi): Remove variable.
7457 * configure.ac (--enable-oldest-abi): Remove configure option.
7458 * configure: Regenerated.
7459 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7460 text.
7461 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7462 * scripts/soversions.awk: Do not handle default_setname variable.
7463 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7464 variable.
7465 * sysdeps/mach/hurd/configure: Regenerated.
7466 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7467 variable.
7468 * sysdeps/unix/sysv/linux/configure: Regenerated.
7469
545583d6
SP
74702014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7471
d330b980
SP
7472 * elf/Makefile (CFLAGS-interp.c): Remove.
7473 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7474 path string.
7475 * elf/interp.c: Include generated runtime-linker.h
7476
02657da2
SP
7477 * Makerules (lib%.so): Don't include $(+interp) in
7478 prerequisites.
7479 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7480 * dlfcn/eval.c: Remove file.
7481
653b1080
SP
7482 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7483 macros.
7484
602f80ec
SP
7485 [BZ #17266]
7486 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7487 4.2 and newer.
7488
545583d6
SP
7489 [BZ #17370]
7490 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7491
884ddc50
SP
74922014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7493 Jakub Jelinek <jakub@redhat.com>
7494
7495 [BZ #17266]
7496 * libio/stdio.h: Check definition of __fortify_function
7497 instead of __extern_always_inline to include bits/stdio2.h.
7498 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7499 check if __extern_always_inline is defined.
7500 [__USE_MISC || __USE_XOPEN]: Likewise.
7501 [__USE_ISOC99] Likewise.
7502 * misc/sys/cdefs.h (__fortify_function): Define only if
7503 __extern_always_inline is defined.
7504 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7505 __extern_always_inline and __extern_inline only for g++-4.3
7506 and newer or a compatible gcc.
7507
a7b87268
AS
75082014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7509
7510 [BZ #17371]
7511 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7512 last change to handle zero prefix length.
7513
3f41521d
SP
75142014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7515
61fe374a
SP
7516 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7517 _SC_REGEX_VERSION.
7518
3f41521d
SP
7519 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7520 _POSIX_RAW_SOCKETS.
7521
d8f879ee
AM
75222014-09-13 Allan McRae <allan@archlinux.org>
7523
7524 * po/ru.po: Update Russian translation from translation project.
7525
c079afb7
RM
75262014-09-12 Roland McGrath <roland@hack.frob.com>
7527
a62b3c15
RM
7528 * locale/programs/locale.c (show_locale_vars): Inline local function
7529 into its sole call site. Clean up some style nits.
7530 (print_item): New function, broken out of ...
7531 (show_info): ... local function here. Clean up style nits.
7532
d7e49b19
RM
7533 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7534 out of ...
7535 (set_class_defaults): ... local function set_default here.
7536 Define set_default as a macro locally to pass constant parameters.
7537 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7538 rather than a shared local.
7539
c079afb7
RM
7540 * stdlib/rpmatch.c (try): New function, broken out of ...
7541 (rpmatch): ... local function here. Also, prototypify definition.
7542
0bd72468
JM
75432014-09-12 Joseph Myers <joseph@codesourcery.com>
7544
ba90e050
JM
7545 * scripts/soversions.awk: Do not handle configuration names.
7546 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7547 vendor and os variables to soversions.awk.
7548 * configure.ac: Do not modify gnu-* host_os.
7549 * configure: Regenerated
7550 * shlib-versions: Remove first column with configuration names.
7551 * nptl/shlib-versions: Likewise.
7552 * nptl_db/shlib-versions: Likewise.
7553 * sysdeps/hppa/shlib-versions: Likewise.
7554 * sysdeps/m68k/shlib-versions: Likewise.
7555 * sysdeps/mach/hurd/shlib-versions: Likewise.
7556 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7557 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7558 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7559 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7560 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7561 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7562 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7563 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7565 Likewise.
7566 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7567 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7568 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7569 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7570 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7571 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7572 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7573 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7574
73a39112
JM
7575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7576 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7578 Regenerated.
7579 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7581 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7582
c729e7c1
JM
7583 * shlib-versions: Remove OS-specific entries. Moved to files in
7584 sysdeps.
7585 * sysdeps/mach/hurd/shlib-versions: New file.
7586 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7587
dc932a24
JM
7588 * nptl/shlib-versions: Remove architecture-specific entries.
7589 Moved to files in sysdeps.
7590 * shlib-versions: Likewise.
7591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7592 file.
7593 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7594 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7595 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7596 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7597
0bd72468
JM
7598 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7599 (UDP_NO_CHECK6_RX): Likewise.
7600
920238e0
SP
76012014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7602
7603 * sysdeps/posix/sysconf.c (__sysconf): Spell
7604 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7605
ba7b4d29
FW
76062014-08-12 Florian Weimer <fweimer@redhat.com>
7607
7608 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7609 loading.
7610 * iconv/Versions (__gconv_transliterate): Export for use from
7611 gconv modules.
7612 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7613 (struct __gconv_trans_data, __gconv_trans_fct,
7614 __gconv_trans_context_fct, __gconv_trans_query_fct,
7615 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7616 definitions.
7617 (struct __gconv_step_data): Remove __trans member.
7618 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7619 longer hidden. Remove unused trans_data argument.
7620 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7621 (__gconv_translit_find): Remove declaration.
7622 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7623 prototype.
7624 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7625 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7626 trans_data argument. Add hidden definition.
7627 (__gconv_translit_find): Remove.
7628 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7629 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7630 * iconv/skeleton.c: Remove transliteration initialization.
7631 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7632 __gconv_step_data initialization.
7633 * libio/iofwide.c (__libio_translit_): Remove.
7634 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7635 * wcsmbs/btowc.c (__btowc): Likewise.
7636 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7637 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7638 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7639 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7640 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7641 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7642 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7643 * wcsmbs/wctob.c (wctob): Likewise.
7644
5379aebd
SP
76452014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7646
7647 [BZ #16194]
7648 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7649 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7650 register usage.
7651 * sysdeps/x86/Makefile: Adjust.
7652
8c0ab919
RM
76532014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7654 Roland McGrath <roland@hack.frob.com>
7655
7656 * locale/weight.h: Add include guard.
7657 (findidx): Make static rather than auto; take new parameters
7658 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7659 * locale/weightwc.h: Likewise.
7660 * posix/fnmatch_loop.c
7661 (FCT): Change type of EXTRA from int32_t to wint_t.
7662 Don't include either header inside the function.
7663 Call FINDIDX rather than findidx, and pass new arguments.
7664 #undef FINDIDX at the end of the file.
7665 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7666 FINDIDX before including fnmatch_loop.c for the non-wide version.
7667 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7668 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7669 for the wide version.
7670 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7671 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7672 Pass new arguments to findidx.
7673 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7674 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7675 Don't #include it inside the function. Pass new arguments to findidx.
7676 * posix/regex_internal.h
7677 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7678 (re_string_elem_size_at): Don't #include it inside the function.
7679 Pass new arguments to findidx.
7680 * string/strcoll_l.c: #include WEIGHT_H at top level.
7681 (get_next_seq): Don't #include it inside the function.
7682 Pass new arguments to findidx.
7683 (get_next_seq_nocache): Likewise.
7684 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7685 (STRXFRM): Don't #include it inside the function.
7686 Pass new arguments to findidx.
7687
52ffbdf2
FW
76882014-09-11 Florian Weimer <fweimer@redhat.com>
7689
7690 [BZ #17344]
7691 * malloc/malloc.c (unlink): Turn asserts into a call to
7692 malloc_printerr.
7693
984c0ea9
TL
76942014-09-11 Tim Lammens <tim.lammens@gmail.com>
7695
7696 [BZ #17370]
7697 * libio/wfileops (do_ftell_wide): Free OUT.
7698
3daee107
CM
76992014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7700
7701 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7702
58b930ae
SP
77032014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7704
7705 [BZ #17363]
7706 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7707 group if the current group is empty.
7708
3b473fec
AZ
77092014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7710
71ae8647
AZ
7711 * benchtests/bench-memset.c (test_main): Add more test from size
7712 from 32 to 512 bytes.
7713 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7714 Add POWER8 memset object.
7715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7716 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7717 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7718 implementation.
7719 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7720 Likewise.
7721 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7722 multiarch POWER8 memset optimization.
7723 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7724 POWER8 memset optimization.
7725
3b473fec
AZ
7726 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7727 Remove bzero multiarch objects.
7728 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7729 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7730 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7731 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7732 Remove define.
7733 [__bzero]: Redefine to specific name.
7734 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7735 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7736 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7737 define.
7738 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7739 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7740
e6fb9587
FW
77412014-09-10 Florian Weimer <fweimer@redhat.com>
7742
7743 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7744 warnings into errors.
7745
7746 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7747 __cxa_thread_atexit_impl prototype.
7748
9d3a350b
SE
77492014-09-09 Steve Ellcey <sellcey@mips.com>
7750
7751 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7752 Fix capitalization of error message.
7753
0febba23
SE
77542014-09-09 Steve Ellcey <sellcey@mips.com>
7755
7756 * sysdeps/mips/preconfigure: Modify ABI tests.
7757
645a0e9c
CD
77582014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7759
7760 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7761
d83f0734
CD
77622014-09-07 Roland McGrath <roland@hack.frob.com>
7763 Carlos O'Donell <carlos@systemhalted.org>
7764
7765 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7766 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7767 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7768 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7769 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7770 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7771 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7772 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7773 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7774 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7775 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7776 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7777 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7778 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7779 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7780 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7781 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7782 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7783 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7784 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7785 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7786 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7787 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7788 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7789 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7790 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7791 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7792 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7793 Deconditionalize the code that was previously under [RESET_PID].
7794 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7795 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7796 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7797 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7798 include sysdep.h.
7799
21c83793
AM
78002014-09-08 Allan McRae <allan@archlinux.org>
7801
7802 * version.h (RELEASE): Set to "development".
7803 (VERSION): Set to "2.20.90"
7804
1cd9b65c
AM
78052014-09-07 Allan McRae <allan@archlinux.org
7806
b8079dd0
AM
7807 * version.h (RELEASE): Set to "stable".
7808 (VERSION): Set to "2.20"
7809 * include/features.h (__GLIBC_MINOR__): Set to 20.
7810
c46303ef
AM
7811 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7812 Liebler.
7813
1cd9b65c
AM
7814 * po/ko.po: Update Korean translation from translation project.
7815
8622092d
CM
78162014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7817
7818 [BZ #17354]
7819 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7820 macro for handling signed relocations.
7821
41488498
FW
78222014-09-03 Florian Weimer <fweimer@redhat.com>
7823
7824 [BZ #17325]
7825 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7826 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7827 assert.
7828 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7829 * iconvdata/ibm935.c (BODY): Likewise.
7830 * iconvdata/ibm937.c (BODY): Likewise.
7831 * iconvdata/ibm939.c (BODY): Likewise.
7832 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7833 assert.
7834 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7835 script.
7836 * iconvdata/run-iconv-test.sh: New test loop for checking for
7837 decoder crashers.
7838
a78b712d
KR
78392014-09-02 Khem Raj <raj.khem@gmail.com>
7840
7841 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7842 libm_hidden_ver.
7843
cb08abc6
AM
78442014-09-01 Allan McRae <allan@archlinux.org>
7845
2c31e102
AM
7846 * po/eo.po: Update Esperanto translation from translation project.
7847
cb08abc6
AM
7848 * po/ca.po: Update Catalan translation from translation project.
7849
17a62de1
ST
78502014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7851
7852 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7853 __proc_dostop call.
7854
9570bc53
MW
78552014-08-27 Mark Wielaard <mjw@redhat.com>
7856
7857 [BZ #17319]
7858 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7859 to call set_thread_area instead of hand written asm.
7860 (__NR_set_thread_area): Removed define.
7861 (TLS_FLAG_WRITABLE): Likewise.
7862 (__ASSUME_SET_THREAD_AREA): Remove check.
7863 (TLS_EBX_ARG): Remove define.
7864 (TLS_LOAD_EBX): Likewise.
7865
b0f955c9
ST
78662014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7867
7868 Simplify atomicity of socket creation in bind.
7869
7870 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7871 looking up the name after linking the file.
7872
529bf515
AM
78732014-08-27 Allan McRae <allan@archlinux.org>
7874
7875 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7876
a1a6a401
FW
78772014-08-26 Florian Weimer <fweimer@redhat.com>
7878
7879 [BZ #17187]
7880 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7881 trans_compare, open_translit, __gconv_translit_find):
7882 Remove module loading code.
7883
686ab290
AM
78842014-08-26 Allan McRae <allan@archlinux.org>
7885
e4e7cfd2
AM
7886 * po/vi.po: Update Vietnamese translation from translation project.
7887
6aa09f71
AM
7888 * po/uk.po: Update Ukrainian translation from translation project.
7889
edc0660e
AM
7890 * po/fr.po: Update French translation from translation project.
7891
7eea72ac
AM
7892 * po/ru.po: Update Russian translation from translation project.
7893
93c49eff
AM
7894 * po/pl.po: Update Polish translation from translation project.
7895
46acaf63
AM
7896 * po/cs.po: Update Czech translation from translation project.
7897
a9f5ce98
AM
7898 * po/de.po: Update German translation from translation project.
7899
373f2b78
AM
7900 * po/bg.po: Update Bulgarian translation from translation project.
7901
e7548bd8
AM
7902 * po/sv.po: Update Sweedish translation from translation project.
7903
c526bf4d
AM
7904 * po/nl.po: Update Dutch translation from translation project.
7905
686ab290
AM
7906 * po/es.po: Update Spanish translation from translation project.
7907
eb72478a
SP
79082014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7909
dd763fdb
SP
7910 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7911
318c7a58
SP
7912 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7913 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7914 (CPPFLAGS-iconvconfig): Likewise.
7915 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7916
eb72478a
SP
7917 * include/libc-symbols.h: Remove unnecessary check for
7918 NOT_IN_libc.
7919 * nptl/pthreadP.h: Likewise.
7920 * sysdeps/aarch64/setjmp.S: Likewise.
7921 * sysdeps/alpha/setjmp.S: Likewise.
7922 * sysdeps/arm/sysdep.h: Likewise.
7923 * sysdeps/i386/setjmp.S: Likewise.
7924 * sysdeps/m68k/setjmp.c: Likewise.
7925 * sysdeps/posix/getcwd.c: Likewise.
7926 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7927 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7928 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7929 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7930 * sysdeps/sh/sh3/setjmp.S: Likewise.
7931 * sysdeps/sh/sh4/setjmp.S: Likewise.
7932 * sysdeps/unix/alpha/sysdep.h: Likewise.
7933 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7934 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7935 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7936 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7939 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7940 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7941 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7942 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7943 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7944 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7946 * sysdeps/x86_64/setjmp.S: Likewise.
7947
d44a052c
JM
79482014-08-13 Joseph Myers <joseph@codesourcery.com>
7949
7950 [BZ #17263]
7951 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7952 <stdint.h>.
7953 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7954 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7955
508ce3ac
SP
79562014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7957
e44c8b0e
SP
7958 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7959
508ce3ac
SP
7960 [BZ #17262]
7961 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7962 and __x86_64__ when disabling x87 inline functions.
7963
b4acef1f
L
79642014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7965
7966 [BZ #17259]
7967 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7968 asm statement with __cpuid_count.
7969
61b1ef6e
MF
79702014-08-12 Mike Frysinger <vapier@gentoo.org>
7971
7972 * configure.ac: Change __ehdr_start code to dereference the struct.
7973 Run readelf on the output to look for relocations.
7974 * configure: Regenerated.
7975
898c62f4
JM
79762014-08-12 Joseph Myers <joseph@codesourcery.com>
7977
7978 [BZ #17261]
7979 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7980 value to 0.
7981 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7982
9a8a5720
RM
79832014-08-12 Roland McGrath <roland@hack.frob.com>
7984
7985 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7986
4e75751c
BO
79872014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7988
7989 [BZ #16892]
7990 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7991 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7992
bb2ce416
SA
79932014-08-12 Sean Anderson <seanga2@gmail.com>
7994
7995 * malloc/malloc.c: Fix typo in comment.
7996
7950a4ee
AM
79972014-08-09 Allan McRae <allan@archlinux.org>
7998
7999 * Regenerate libc.po.
8000
f469c49f
MF
80012014-08-08 Mike Frysinger <vapier@gentoo.org>
8002
8003 * intl/tst-gettext2.sh: Check every lang file for creation.
8004
656b84c2
WD
80052014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8006
8007 * sysdeps/aarch64/fpu/math_private.h
8008 (libc_feholdsetround_noex_aarch64_ctx): New function.
8009
538e9e45
W
80102014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8011
8012 * sysdeps/arm/armv6/strcpy.S (strcpy):
8013 Fix performance issue in misaligned cases.
8014
d4795e4a
AZ
80152014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8016
8017 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8018 Move definition from termios.h.
8019 (struct termio): Likewise.
8020 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8021 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8022 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8023 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8024 Likewise.
8025 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8026 Move definition to ioctl-types.h
8027 (struct termio): Likewise.
8028 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8029 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8030 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8031 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8032 Likewise.
8033
64accb62
RH
80342014-08-05 Richard Henderson <rth@redhat.com>
8035
27bb6dc0
RH
8036 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8037 exceptions.
8038 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8039 Add fraiseexcpt.
8040 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8041 Use __feraiseexcept.
8042 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8043 Protect libm symbols with IS_IN_libm.
8044
64accb62
RH
8045 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8046
e5292691
BO
80472014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8048
8049 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8050
5b4bd2d4
WN
80512014-08-04 Will Newton <will.newton@linaro.org>
8052
8053 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8054 file.
8055
fcadaeef
MF
80562014-08-04 Mike Frysinger <vapier@gentoo.org>
8057
8058 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8059 variants for each function.
8060
43a94c64
RM
80612014-08-04 Roland McGrath <roland@hack.frob.com>
8062
8063 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8064 appended ...
8065 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8066 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8067 appended ...
8068 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8069 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8070 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8071 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8072 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8073 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8074 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8075 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8076 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8077 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8078 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8079 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8080 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8081 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8082 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8083 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8084 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8085 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8086 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8087 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8088 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8089 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8090 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8091 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8092 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8093 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8094 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8095 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8096 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8097 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8098 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8099 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8100 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8101 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8102 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8103 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8104 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8105 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8106 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8107 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8108 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8109 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8110 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8111 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8112 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8113 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8114 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8115 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8116 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8117 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8118 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8119 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8120 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8121 Update #include.
8122 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8123 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8124
8f3c1fa4
RM
81252014-08-04 Roland McGrath <roland@hack.frob.com>
8126
8127 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8128 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8129 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8130 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8131 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8132 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8133
ca08746f
RM
81342014-08-04 Roland McGrath <roland@hack.frob.com>
8135
8136 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8137 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8138 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8139 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8140
9c925ff9
RM
81412014-08-04 Roland McGrath <roland@hack.frob.com>
8142
8143 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8144 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8145 (__libc_vfork): Define function under this name.
8146 (__vfork): Define as an alias.
8147 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8148 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8149
e641054c
RM
81502014-08-04 Roland McGrath <roland@hack.frob.com>
8151
8152 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8153 that was previously under [RESET_PID].
8154 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8155
dacdc867
AS
81562014-08-04 Andreas Schwab <schwab@suse.de>
8157
8158 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8159
41f725ff
MF
81602014-08-03 Mike Frysinger <vapier@gentoo.org>
8161
8162 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8163 (main): Likewise.
8164
277cfb31
RM
81652014-08-01 Roland McGrath <roland@hack.frob.com>
8166
8167 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8168
4896f049
RH
81692014-08-01 Richard Henderon <rth@redhat.com>
8170
8171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8172 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8173 typo in exact zero test.
8174 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8175 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8176 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8177
6f64e7d7
RM
81782014-08-01 Roland McGrath <roland@hack.frob.com>
8179
8180 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8181 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8182 * sysdeps/arm/sysdep.h: ... here.
8183 [!__ASSEMBLER__]: Include <stdint.h>.
8184
3f3dd810
SP
81852014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8186
a476ac4b
SP
8187 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8188 (HAVE_WCTYPE_H): Likewise.
8189 (HAVE_ISWCTYPE): Likewise.
8190 (ENABLE_NLS): Likewise.
8191 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8192 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8193
78dd658a
SP
8194 * posix/regex_internal.c: Check if DEBUG is defined and is
8195 set.
8196
3f3dd810
SP
8197 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8198 (HAVE_MBSRTOWCS): Likewise.
8199 * posix/fnmatch.c: Include string.h unconditionally.
8200
95ee7fb1
SL
82012014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8202
8203 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8204 reversal.
8205
23fe486b
RM
82062014-07-31 Roland McGrath <roland@hack.frob.com>
8207
f61a113f
RM
8208 * sysdeps/generic/safe-fatal.h: New file.
8209 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8210 * nptl/forward.c: Include it.
8211 (__pthread_unwind): Use __safe_fatal as default action, rather
8212 than a bogus use of INTERNAL_SYSCALL that could never work.
8213
9fe7e787
RM
8214 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8215 * configure.ac (libc_cv_builtin_trap): New test.
8216 * configure: Regenerated.
8217 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8218 (ABORT_INSTRUCTION): Define using __builtin_trap.
8219
23fe486b
RM
8220 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8221 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8222 * sysdeps/nptl/nptl-signals.h: New file.
8223 * nptl/pthreadP.h: Include <nptl-signals.h>.
8224
f349489e
SL
82252014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8226
8227 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8228 (ONE_DIRECTION): Define.
8229 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8230 (ONE_DIRECTION): Define.
8231 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8232 (ONE_DIRECTION): Define.
8233
2f438e20
SL
82342014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8235
8236 * sysdeps/s390/Makefile: Delete file.
8237 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8238 * sysdeps/s390/__longjmp.c: Delete file.
8239 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8240 Remove fields __flags and __reserved.
8241 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8242 and add versioning.
8243 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8244 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8245 * sysdeps/s390/rtld-setjmp.S: Likewise.
8246 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8247 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8248 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8249 * sysdeps/s390/s390-32/setjmp.S: ... here.
8250 Add versioning.
8251 (__sigsetjmp): Remove setting __flags field.
8252 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8253 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8254 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8255 * sysdeps/s390/s390-64/setjmp.S: ... here.
8256 Add versioning.
8257 (__sigsetjmp): Remove setting __flags field.
8258 * sysdeps/s390/setjmp.S: Delete file.
8259 * sysdeps/s390/sigjmp.c: Likewise.
8260 * sysdeps/s390/v1-longjmp.c: Likewise.
8261 * sysdeps/s390/v1-setjmp.h: Likewise.
8262 * sysdeps/s390/v1-sigjmp.c: Likewise.
8263 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8264 Remove v1-longjmp_chk.
8265 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8266 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8267 Include debug/longjmp_chk.c and add versioning.
8268 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8269 Include nptl/pt-longjmp.c and add versioning.
8270 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8271 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8272 Include __longjmp.c.
8273 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8274 Move to ...
8275 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8276 (__getcontext): Remove setting __flags field.
8277 Add versioning.
8278 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8279 Don't restore upper high grps.
8280 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8281 Likewise.
8282 (__swapcontext): Remove setting uc_flags field.
8283 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8284 Delete file.
8285 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8286 Include __longjmp.c.
8287 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8288 Move to ...
8289 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8290 (__getcontext): Remove setting __flags field.
8291 Add versioning.
8292 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8293 (__swapcontext): Remove setting uc_flags field.
8294 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8295 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8296 Remove fields uc_high_gprs and __reserved.
8297 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8298 New file with reverted content.
8299 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8300 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8301 Regenerated.
8302 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8303 Regenerated.
8304
6c9578a2
AS
83052014-07-31 Andreas Schwab <schwab@suse.de>
8306
8307 * config.h.in (HAVE_IFUNC): Define to 0.
8308 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8309 definedness.
8310
05f3633d
LM
83112014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8312
8313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8314 memmove-avx-unaligned, memcpy-avx-unaligned and
8315 mempcpy-avx-unaligned.
8316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8317 Add tests for AVX memcpy functions.
8318 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8319 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8320 memcpy_chk.
8321 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8322 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8323 memmove_chk.
8324 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8325 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8326 mempcpy_chk.
8327 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8328 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8329 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8330
a53fbd8e
AZ
83312013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8332
8333 [BZ #17213]
8334 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8335 powerpc64le.
8336
0961f7e1
JL
83372014-07-29 Jeff Layton <jlayton@poochiereds.net>
8338
8339 [BZ #16839]
8340 * manual/llio.texi: Add section about open file description locks.
8341 * manual/examples/ofdlocks.c: Example of open file description
8342 lock usage.
8343 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8344 F_OFD_SETLK, and F_OFD_SETLKW.
8345
cc5fb300
AM
83462014-07-23 Allan McRae <allan@archlinux.org>
8347
8348 * po/es.po: Update Spanish translation from translation project.
8349
23329dca
AS
83502014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8351
8352 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8353
9c82da17
MR
83542014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8355
8356 [BZ #17078]
8357 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8358 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8359 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8360
29c4f53e
JM
83612014-07-17 Joseph Myers <joseph@codesourcery.com>
8362
831b9896
JM
8363 [BZ #17088]
8364 * math/fesetenv.c (__fesetenv)
8365 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8366 * math/feupdateenv.c (__feupdateenv)
8367 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8368
b21c2d50
JM
8369 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8370 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8371 (__ASSUME_SOCKETCALL): Do not define.
8372
067764ef
JM
8373 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8374 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8375 (__ASSUME_SOCKETCALL): Do not define.
8376 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8377 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8378 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8379 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8380 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8381 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8382 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8383 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8384
642530c1
JM
8385 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8386 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8387 (__ASSUME_SOCKETCALL): Do not define.
8388 (__ASSUME_IPC64): Define unconditionally.
8389 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8390 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8391 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8392 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8393 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8394 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8395 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8396 Likewise.
8397
03f77315
JM
8398 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8399 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8400 (__ASSUME_SOCKETCALL): Do not define.
8401 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8402 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8403 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8404 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8405 (__ASSUME_REQUEUE_PI): Define unconditionally.
8406 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8407 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8408 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8409 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8410 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8411 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8412
083b1f7c
JM
8413 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8414 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8415 (__ASSUME_SOCKETCALL): Do not define.
8416 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8417 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8418 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8419 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8420 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8421 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8422
5be44ea6
JM
8423 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8424 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8425 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8426 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8427 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8428 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8429 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8430 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8431 (__ASSUME_GETCPU_SYSCALL): Likewise.
8432
d95ffd4c
JM
8433 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8434 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8435 cases for individual architectures.
8436 * sysdeps/gnu/configure: Regenerated.
8437 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8438 LIBC_SLIBDIR_RTLDDIR.
8439 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8440 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8441 LIBC_SLIBDIR_RTLDDIR.
8442 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8444 LIBC_SLIBDIR_RTLDDIR.
8445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8446 Regenerated.
8447 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8448 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8449 file.
8450 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8451 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8452 file.
8453 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8454 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8455 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8456 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8457
29c4f53e
JM
8458 * sysdeps/aarch64/shlib-versions: Move to ...
8459 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8460 * sysdeps/alpha/shlib-versions: Move to ...
8461 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8462 * sysdeps/arm/shlib-versions: Move to ...
8463 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8464 * sysdeps/hppa/shlib-versions: Move all contents except for
8465 libgcc_s entry to ...
8466 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8467 entry from ...
8468 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8469 * sysdeps/ia64/shlib-versions: Move to ...
8470 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8471 entry from ...
8472 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8473 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8474 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8475 * sysdeps/microblaze/shlib-versions: Move to ...
8476 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8477 * sysdeps/mips/shlib-versions: Move to ...
8478 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8479 entry from ...
8480 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8481 * sysdeps/tile/shlib-versions: Move to ...
8482 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8483 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8484 from ...
8485 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8486 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8487 entry from ...
8488 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8489
32bead5b
WN
84902014-07-17 Will Newton <will.newton@linaro.org>
8491
57977c4b
WN
8492 * sysdeps/arm/bits/atomic.h
8493 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8494 (__arch_compare_and_exchange_bool_16_int): Likewise.
8495 (__arch_compare_and_exchange_bool_64_int): Likewise.
8496
32bead5b
WN
8497 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8498 into an #else block.
8499
37fccd41
RM
85002014-07-16 Roland McGrath <roland@hack.frob.com>
8501
8502 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8503 just Linux configurations. Test empirically that the compiler sets
8504 __ARM_EABI__, rather than using the tuple to decide.
8505 * sysdeps/arm/preconfigure: Regenerated.
8506 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8507 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8508 contents appended ...
8509 * sysdeps/arm/configure.ac: ... here.
8510 * sysdeps/arm/configure: Regenerated.
8511
b365f3ec
RM
85122014-07-15 Roland McGrath <roland@hack.frob.com>
8513
8badf496
RM
8514 * nptl/pthread_kill.c: New file.
8515 * nptl/pthread_sigmask.c: New file.
8516 * nptl/pthread_sigqueue.c: New file.
8517
3df6f22e
RM
8518 * sysdeps/nptl/lowlevellock.h: New file.
8519 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8520 * sysdeps/nptl/lowlevellock-futex.h: New file.
8521
b365f3ec
RM
8522 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8523 Remove dead declarations.
8524
f2fef657
L
85252014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8526
8527 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8528 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8529 config-cflags-avx2.
8530 * sysdeps/x86_64/configure.ac: Likewise.
8531 * sysdeps/i386/configure: Regenerated.
8532 * sysdeps/x86_64/configure: Likewise.
8533 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8534 memset-avx2 only if config-cflags-avx2 is yes.
8535 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8536 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8537 defined.
8538 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8539 only if HAVE_AVX2_SUPPORT is defined.
8540 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8541
f6c44d47
AM
85422014-07-14 Alan Modra <amodra@gmail.com>
8543
8544 [BZ #17153]
8545 * elf/elf.h (DT_PPC64_NUM): Correct value.
8546 * NEWS: Add to fixed bug list.
8547
7ee03f00
JM
85482014-07-13 Jim Meyering <meyering@fb.com>
8549
8550 [BZ 17150]
8551 regex: don't deref NULL upon heap allocation failure
8552 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8553 failure in one more place.
8554 To trigger the segfault, configure grep -with-included-regex,
8555 build it, and run these commands:
8556 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8557
9d39d517
AS
85582014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8559
8560 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8561
a75b89b7
RH
85622014-07-11 Richard Henderson <rth@redhat.com>
8563
8564 * sysdeps/aarch64/libm-test-ulps: Update.
8565
771eb141
FW
85662014-07-10 Florian Weimer <fweimer@redhat.com>
8567
8568 [BZ #17135]
8569 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8570 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8571 (__nptl_setxid): Initialize error member. Call
8572 __nptl_setxid_error.
8573 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8574 * nptl/descr.h (struct xid_command): Add error member.
8575 * nptl/tst-setuid3.c: New file.
8576 * nptl/Makefile (tests): Add it.
8577
bc1da176
AZ
85782014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8579
8580 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8581 New define.
8582 (__lll_trylock): Use __lll_base_trylock.
8583 (__lll_cond_trylock): Likewise.
8584
887865fc
RM
85852014-07-10 Roland McGrath <roland@hack.frob.com>
8586
c0c6bac9
RM
8587 * nptl/pthread_create.c (start_thread): Use atomic_or and
8588 lll_futex_wake directly rather than lll_robust_dead.
8589 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8590 (lll_robust_dead): Macro removed.
6a42be57 8591 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
8592 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8593 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8594 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8595 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8596 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8597 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8598 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8599 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8600 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8601 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8602 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8603 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8604 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8605 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8606
887865fc
RM
8607 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8608 Use atomic_compare_and_exchange_val_acq directly rather than
8609 lll_robust_trylock.
8610 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8611 (__lll_robust_trylock, lll_robust_trylock): Removed.
8612 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8613 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8614 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8615 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8616 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8617 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8618 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8619 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8620 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8621 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8622 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8623 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8624 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8625 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8626
58536726
FW
86272014-07-02 Florian Weimer <fweimer@redhat.com>
8628
8629 * manual/locale.texi (Locale Names): New section documenting
8630 locale name syntax. Adjust menu and node chaining accordingly.
8631 (Choosing Locale): Reference Locale Names, Locale Categories.
8632 Mention setting LC_ALL=C. Reflect that name syntax is now
8633 documented.
8634 (Locale Categories): New section title. Reference Locale Names.
8635 LC_ALL is an environment variable, but not a category.
8636 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8637 description, now in Locale Name. Reference that section. Locale
8638 name syntax is now documented.
8639
4e8f95a0
FW
86402014-07-02 Florian Weimer <fweimer@redhat.com>
8641
8642 [BZ #17137]
8643 * locale/findlocale.c (name_present, valid_locale_name): New
8644 functions.
8645 (_nl_find_locale): Use the loc_name variable to store name
8646 candidates. Call name_present and valid_locale_name to check and
8647 validate locale names. Return an error if the locale is invalid.
8648
d1836456
FW
86492014-07-02 Florian Weimer <fweimer@redhat.com>
8650
8651 * locale/setlocale.c (setlocale): Use strdup for allocating
8652 composite name copy.
8653
d69b7f5a
SP
86542014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8655
888c679b
SP
8656 Sync up with gnulib.
8657 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8658 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8659 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8660 and _GL_ARG_NONNULL.
8661 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8662 [!_LIBC]: Include code for Windows and Cygwin.
8663 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8664 Include prototype for int strerror_r.
8665 [!_LIBC] (is_open): New function.
8666 (flush_stdout): New function.
8667 (print_errno_message): Use it.
8668 (error): Likewise.
8669 (error_at_line): Likewise.
8670 (error_tail) Add function attribute macros. Use
8671 __builtin_expect.
8672
180e0e4b
SP
8673 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8674
d22f1fe2
SP
8675 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8676
12f2254b
SP
8677 * io/ftw.c: Include sys/param.h unconditionally.
8678
c3c7c360
SP
8679 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8680
d62aa75a
SP
8681 [BZ #17125]
8682 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8683 libc_freeres_ptr.
8684 (freecache): New function to free CACHE on exit.
8685
d69b7f5a
SP
8686 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8687 initialization.
8688
5efe06a1
DM
86892014-07-09 David S. Miller <davem@davemloft.net>
8690
8691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8692
7000d82e
DM
8693 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8694 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8695 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8696 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8697 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8698 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8699 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8700 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8701 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8702 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8703 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8704 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8705 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8706
c213442d
AS
87072014-07-09 Andreas Schwab <schwab@suse.de>
8708
4a2552c3
AS
8709 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8710 output.
8711 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8712 (do_test): Likewise.
8713
c213442d
AS
8714 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8715
82374e65
WN
87162014-07-09 Will Newton <will.newton@linaro.org>
8717
8718 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8719 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8720 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8721 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8722 * sysdeps/hppa/start.S (_start): Likewise.
8723
6680738a
SP
87242014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8725
6ee3eab4
SP
8726 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8727
6680738a
SP
8728 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8729 defined.
8730
80b5c505
SP
87312014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8732
e35c53e3
SP
8733 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8734 after checking that it is non-NULL.
8735
80b5c505
SP
8736 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8737
91f4b564
AZ
87382014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8739
27b75f56
AZ
8740 * sysdeps/powerpc/memmove.c: Remove file.
8741 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8742 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8743 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8744 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8745 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8746 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8747 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8748 string memmove instead of removed powerpc one.
8749
e7f95bb5
AZ
8750 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8751 [weak_alias]: Fix compiler warning due trailing data.
8752 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8753 [weak_alias]: Likewise.
8754 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8755 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8756
91f4b564
AZ
8757 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8758 (__libc_ifunc_impl_list): Add memmove functions.
8759
7c33f1e5
SP
87602014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8761
8762 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8763 Remove code.
8764 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8765 Likewise
8766 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8767 Likewise
8768 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8769 Likewise
8770 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8771 Likewise
8772 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8773 Likewise
8774 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8775 Likewise
8776 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8777 Likewise
8778 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8779 Likewise
8780 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8781 Likewise
8782 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8783 Likewise
8784 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8785 Likewise
8786 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8787 Likewise
8788 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8789 Likewise
8790 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8791 Likewise
8792 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8793 Likewise
8794 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8795 Likewise
8796
3f17b03b
AZ
87972014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8798
87868c24
AZ
8799 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8800 to avoid alignment traps in non-cacheable memory.
8801 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8802
07aedd78
AZ
8803 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8804 multiarch objects.
8805 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8806 file: multiarch power7 memmove.
8807 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8808 multiarch default memmove.
8809 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8810 multiarch memove for powerpc32/power4.
8811
17762f66
AZ
8812 * string/bcopy.c: Use full path to include memmove.c.
8813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8814 multiarch objects.
8815 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8816 bcopy for powerpc64.
8817 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8818 bcopy for powerpc64.
8819 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8820 and memmove implementations.
8821 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8822 optimized multiarch memmove for POWER7/powerpc64.
8823 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8824 default multiarch memmove for powerpc64.
8825 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8826 multiarch for powerpc64.
8827 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8828 for POWER7/powerpc64.
8829 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8830 memmove for POWER7/powerpc64.
8831
d6f68bbe
AZ
8832 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8833 glibc default one.
8834
3f17b03b
AZ
8835 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8836 __ELF_NATIVE_CLASS equal to 64.
8837
08192659
RM
88382014-07-07 Roland McGrath <roland@hack.frob.com>
8839
f4c4021b
RM
8840 * sysdeps/nptl/lowlevellock.h: File removed.
8841
f083450f
RM
8842 * NEWS: NPTL is no longer an add-on!
8843 * nptl/internaltypes.h: Moved ...
8844 * sysdeps/nptl/internaltypes.h: ... here.
8845 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8846 * sysdeps/nptl/fork.c: Likewise.
8847 * sysdeps/nptl/gai_misc.h: Likewise.
8848 * sysdeps/nptl/librt-cancellation.c: Likewise.
8849 * sysdeps/nptl/jmp-unwind.c: Likewise.
8850 * sysdeps/nptl/setxid.h: Likewise.
8851 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8852 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8853 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8854 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8855 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8856 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8857 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8858 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8859 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8860 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8861 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8862 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8863 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8864 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8865 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8866 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8867 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8868 * nptl/Makeconfig: Moved ...
8869 * sysdeps/nptl/Makeconfig: ... here.
8870 * nptl/configure: File removed.
8871 * nptl/ANNOUNCE: File removed.
8872 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8873 * sysdeps/unix/sysv/linux/configure: Regenerated.
8874
08192659
RM
8875 * nptl/Makefile (routines): Add libc_pthread_init,
8876 libc_multiple_threads, register-atfork and unregister-atfork.
8877 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8878 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8879 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8880 pthread-pi-defines.sym, structsem.sym.
8881 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8882 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8883 [$(subdir) = nptl] (tests): Add tst-setgetname.
8884 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8885 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8886 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8887 [!LIBC_SIGACTION]: Remove aliases.
8888 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8889 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8890 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8891 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8892 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8893 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8894 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8895 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8896 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8897 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8898 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8899 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8900 __libc_allocate_rtsig_private.
8901 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8902 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8903 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8904 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8905 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8906 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8907 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8908 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8909 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8910 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8911 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8912 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8913 * nptl/internaltypes.h: ... here.
8914 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8915 * sysdeps/nptl/jmp-unwind.c: ... here.
8916 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8917 * nptl/libc-lowlevellock.c: ... here.
8918 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8919 * nptl/libc_multiple_threads.c: ... here.
8920 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8921 * nptl/libc_pthread_init.c: ... here.
8922 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8923 * nptl/lowlevelbarrier.sym: ... here.
8924 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8925 * nptl/lowlevelcond.sym: ... here.
8926 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8927 * nptl/lowlevellock.c: ... here.
8928 * nptl/lowlevellock.h: Moved ...
8929 * sysdeps/nptl/lowlevellock.h: ... here.
8930 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8931 * nptl/lowlevelrobustlock.c: ... here.
8932 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8933 * nptl/lowlevelrobustlock.sym: ... here.
8934 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8935 * nptl/lowlevelrwlock.sym: ... here.
8936 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8937 * nptl/pt-fork.c: ... here.
8938 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8939 * nptl/pthread-pi-defines.sym: ... here.
8940 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8941 * nptl/pthread_attr_getaffinity.c: ... here.
8942 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8943 * nptl/pthread_attr_setaffinity.c: ... here.
8944 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8945 * nptl/pthread_mutex_cond_lock.c: ... here.
8946 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8947 Update #include.
8948 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8949 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8950 * nptl/pthread_once.c: ... here, replacing old file.
8951 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8952 * nptl/pthread_yield.c: ... here.
8953 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8954 * nptl/register-atfork.c: ... here.
8955 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8956 * nptl/sem_post.c: ... here.
8957 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8958 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8959 * nptl/sem_timedwait.c: ... here.
8960 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8961 * nptl/sem_trywait.c: ... here.
8962 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8963 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8964 * nptl/sem_wait.c: ... here.
8965 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8966 * nptl/structsem.sym: ... here.
8967 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8968 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8969 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8970 * nptl/unregister-atfork.c: ... here.
8971 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8972 * nptl/unwindbuf.sym: ... here.
8973 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8974 * sysdeps/nptl/fork.c: ... here.
8975 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8976 * sysdeps/nptl/fork.h: ... here.
8977 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8978 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8979 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8980 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8981 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8982 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8983 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8984 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8985 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8986 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8987 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8988 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8989 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8990 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8991 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8992 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8993 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8994 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8995 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8996 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8997 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8998 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8999 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9000 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9001 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9002 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9003 * sysdeps/unix/sysv/linux/raise.c: ... here.
9004 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9005 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9006 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9007 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9008 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9009 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9010 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9011 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9012 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9013 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9014 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9015 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9016 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9017 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9018 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9019
96baf6ff
SP
90202014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9021
9022 * sysdeps/generic/memcopy.h: Add comment for
9023 MEMCPY_OK_FOR_FWD_MEMMOVE.
9024
6b7b14b2
WN
90252014-07-04 Will Newton <will.newton@linaro.org>
9026
1570a72b
WN
9027 * string/memchr.c: Merge from gnulib.
9028 [_LIBC]: Remove conditionals.
9029 (__ptr_t): Remove define.
9030 (LONG_MAX_32_BITS): Likewise.
9031 (LONG_MAX): Likewise.
9032 (MEMCHR): Use ANSI prototype and optimize algorithm.
9033
6b7b14b2
WN
9034 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9035
38851324
SP
90362014-07-03 Roland McGrath <roland@hack.frob.com>
9037
3d9eb57c
RM
9038 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9039 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9040
78b984ae
RM
9041 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9042 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9043 in a bare environment with no <stdlib.h> installed.
9044 * sysdeps/nptl/configure: Regenerated.
9045
2d5976a5
RM
9046 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9047
c1f5acd4
RM
9048 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9049 AC_EGREP_CPP for kernel header checks, so they only succeed if
9050 including <linux/version.h> actually works right.
9051 * sysdeps/unix/sysv/linux/configure: Regenerated.
9052
4d614fe5
RM
9053 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9054 value so it's not diagnosed as unused.
9055
38851324
SP
9056 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9057 thing) with "ifeq ($(subdir),rt)".
9058
b3ec00e5
RH
90592014-07-03 Richard Henderson <rth@redhat.com>
9060
69862e25
RH
9061 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9062 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9063 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9064
d5e16ade
RH
9065 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9066 (math_force_eval): New.
9067
ca7b945c
RH
9068 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9069 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9070
cd1175a3
RH
9071 * sysdeps/alpha/fpu/s_round.c: Remove file.
9072 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9073
b3ec00e5
RH
9074 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9075 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9076 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9077 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9078 (_dl_start, print_statistics): Likewise.
9079 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9080 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9081
9082 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9083 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9084 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9085 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9086 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9087 (HP_SMALL_TIMING_AVAIL): Define.
9088 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9089 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9090 (HP_SMALL_TIMING_AVAIL): Define.
9091 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9092 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9093
9094 * sysdeps/aarch64/hp-timing.h: New file.
9095
9096 * sysdeps/generic/hp-timing.h: Remove dead comment.
9097 * sysdeps/generic/hp-timing-common.h: New file.
9098 * sysdeps/alpha/hp-timing.h: Include it.
9099 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9100 * sysdeps/i386/i686/hp-timing.h: Likewise.
9101 * sysdeps/ia64/hp-timing.h: Likewise.
9102 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9103 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9104 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9105 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9106 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9107 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9108 (hp_timing_t): New.
9109
9110 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9111 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9112 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9113 * elf/rtld.c (_dl_start_final): Likewise.
9114 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9115 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9116 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9117 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9118 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9119 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9120 (HP_TIMING_DIFF_INIT): Remove.
9121 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9122 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9123 (HP_TIMING_DIFF_INIT): Remove.
9124 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9125 * sysdeps/i386/i686/hp-timing.c: Remove file.
9126 * sysdeps/x86_64/hp-timing.c: Remove file.
9127 * sysdeps/ia64/hp-timing.c: Remove file.
9128 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9129 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9130 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9131 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9132
9133 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9134 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9135 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9136 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9137 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9138 (HP_TIMING_ACCUM): Remove.
9139 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9140 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9141 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9142
9143 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9144 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9145 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9146 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9147 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9148 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9149 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9150 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9151
9152 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9153
225f410f
MR
91542014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9155
9156 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9157
3247f285
SP
91582014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9159
9160 Sync up with gettext.
9161 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9162 [_MSC_VER]: Include malloc.h
9163 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9164 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9165 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9166 TEMP_FAILURE_RETRY. Cast return of alloca.
9167 [!_LIBC] Call gl_rwlock_init.
9168 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9169
d12704c7
SP
91702014-07-02 Roland McGrath <roland@hack.frob.com>
9171
9172 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9173 before checking its value.
9174
99f8dc92
SP
91752014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9176
05fdac77
SP
9177 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9178
99f8dc92
SP
9179 * debug/memcpy_chk.c: Don't include pagecopy.h.
9180 * debug/mempcpy_chk.c: Likewise.
9181 * string/memcpy.c: Likewise.
9182 * string/memmove.c: Likewise.
9183 * sysdeps/powerpc/memmove.c: Likewise.
9184 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9185 definition of PAGE_COPY_FWD_MAYBE here...
9186 * sysdeps/generic/pagecopy.h: ... from here.
9187 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9188
bc8ea385
VR
91892014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9190 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9191
9192 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9194 optimizations.
9195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9196 (__libc_ifunc_impl_list): Likewise.
9197 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9198 multiarch strcat for PPC64.
9199 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9200 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9201
fe5f34e4
RM
92022014-07-02 Roland McGrath <roland@hack.frob.com>
9203
9204 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9205
256aa665
SP
92062014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9207
d4eb8195
SP
9208 * intl/loadmsgcat.c: Remove declaration of
9209 get_sysdep_segment_value.
9210 (get_sysdep_segment_value): Use ISO C style.
9211 (_nl_load_domain): Use ISO C style. Get rid of redundant
9212 semicolon. Fix typo and formatting in comment.
9213 (_nl_unload_domain): Use ISO C style.
9214
256aa665
SP
9215 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9216
b100f9aa
WN
92172014-07-02 Will Newton <will.newton@linaro.org>
9218
9219 * malloc/obstack.c: Merge from gnulib master.
9220 [HAVE_CONFIG_H]: Remove conditional code.
9221 [!_LIBC]: Include config.h.
9222 [!ELIDE_CODE]: Don't include inttypes.h, include
9223 stdint.h unconditionally.
9224 (print_and_abort): Mark as _Noreturn.
9225 (_obstack_allocated_p): Mark as __attribute_pure__.
9226 (obstack_free): Rename to __obstack_free.
9227 [!__attribute__]: Remove conditional code.
9228 * malloc/obstack.h: Merge from gnulib master.
9229 [__cplusplus]: Move conditional down.
9230 [!__attribute_pure__]: Define __attribute_pure__ here
9231 if it is not already defined.
9232 (_obstack_memory_used): Mark as __attribute_pure__.
9233 [!__obstack_free]: Define as obstack_free.
9234 [__GNUC__]: Remove check for ancient NeXT gcc.
9235
c4c41244
PE
92362014-07-02 Will Newton <will.newton@linaro.org>
9237 Paul Eggert <eggert@cs.ucla.edu>
9238
9239 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9240
e1e041c4
SP
92412014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9242
9243 * resolv/gethnamaddr.c: Add comment warning that the file is
9244 not maintained.
9245
ccf431ff
CD
92462014-07-01 Carlos O'Donell <carlos@redhat.com>
9247
d34570a6
CD
9248 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9249 entries.
9250
ccf431ff
CD
9251 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9252 entry for aio_cancel and aio_cancel64.
9253 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9254 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9255 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9256 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9257 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9258 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9259 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9260 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9261 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9262 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9263 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9264 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9265 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9266
ca06321d
RM
92672014-07-01 Roland McGrath <roland@hack.frob.com>
9268
9269 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9270 * nptl/pthread_mutex_lock.c: Likewise.
9271 * nptl/pthread_mutex_timedlock.c: Likewise.
9272 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9273
a1ac3184
RH
92742014-07-01 Richard henderson <rth@redhat.com>
9275
631021e0
RH
9276 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9277 (__isnan, __isnanl): Remove.
9278 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9279
a1ac3184
RH
9280 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9281
0c1d731f
SL
92822014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9283
9284 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9285
76985d3e
SP
92862014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9287
9288 * resolv/nss_dns/dns-host.c (getanswer_r)
9289 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9290
b0cb3096
JM
92912014-07-01 Joseph Myers <joseph@codesourcery.com>
9292
9293 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9294 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9295 undefine.
9296 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9297 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9298
4d76cb39
RM
92992014-07-01 Roland McGrath <roland@hack.frob.com>
9300
9301 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9302 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9303
9304 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9305 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9306
9307 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9308 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9309 ... here.
9310 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9311 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9312
9313 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9314 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9315 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9316 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9317
9318 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9319 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9320 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9321 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9322 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9323 Moved ...
9324 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9325 ... here.
9326 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9327 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9328 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9329 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9330 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9331 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9332 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9333 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9334 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9335 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9336 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9337 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9338 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9339 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9340 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9341 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9342 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9343 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9344 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9345 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9346 ... here.
9347 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9348 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9349 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9350 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9351 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9352 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9353 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9354 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9355
0cdcad17
DH
93562014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9357
9358 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9359 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9360 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9361 Add sysdep.
9362
9b71d0e3
AZ
93632014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9364
9365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9366
665390c2
JM
93672014-06-30 Joseph Myers <joseph@codesourcery.com>
9368
ae05a9d7
JM
9369 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9370 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9371
a7672a2f
JM
9372 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9373
665390c2
JM
9374 * sysdeps/arm/libm-test-ulps: Regenerated.
9375
d7a05d07
MR
93762014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9377 Roland McGrath <roland@hack.frob.com>
9378
9379 * test-skeleton.c (signal_handler): Kill the whole process group
9380 before killing the child individually.
9381 (main): Report any failure on `setpgid'.
9382
46f1d8a6
RM
93832014-06-30 Roland McGrath <roland@hack.frob.com>
9384
9385 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9386 from _TLS_H to _ARM_NPTL_TLS_H.
9387 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9388 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9389
9c37ec0b
JM
93902014-06-30 Joseph Myers <joseph@codesourcery.com>
9391
ce9c5b3e
JM
9392 [BZ #16539]
9393 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9394 (__expm1l): Return argument unchanged when small but not
9395 subnormal.
9396
3a6e9887
JM
9397 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9398 include macro name.
9399 (_FP_UNPACK_RAW_1_P): Likewise.
9400 (_FP_PACK_RAW_1): Likewise.
9401 (_FP_PACK_RAW_1_P): Likewise.
9402 (_FP_MUL_MEAT_1_wide): Likewise.
9403 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9404 (_FP_MUL_MEAT_1_hard): Likewise.
9405 (_FP_DIV_MEAT_1_imm): Likewise.
9406 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9407 (_FP_DIV_MEAT_1_udiv): Likewise.
9408 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9409 (_FP_UNPACK_RAW_2): Likewise.
9410 (_FP_UNPACK_RAW_2_P): Likewise.
9411 (_FP_PACK_RAW_2): Likewise.
9412 (_FP_PACK_RAW_2_P): Likewise.
9413 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9414 (_FP_MUL_MEAT_2_wide): Likewise.
9415 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9416 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9417 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9418 (_FP_MUL_MEAT_2_gmp): Likewise.
9419 (_FP_DIV_MEAT_2_udiv): Likewise.
9420 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9421 (_FP_FRAC_SRL_4): Likewise.
9422 (_FP_FRAC_SRST_4): Likewise.
9423 (_FP_FRAC_SRS_4): Likewise.
9424 (_FP_UNPACK_RAW_4): Likewise.
9425 (_FP_UNPACK_RAW_4_P): Likewise.
9426 (_FP_PACK_RAW_4): Likewise.
9427 (_FP_PACK_RAW_4_P): Likewise.
9428 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9429 (_FP_MUL_MEAT_4_wide): Likewise.
9430 (_FP_MUL_MEAT_4_gmp): Likewise.
9431 (umul_ppppmnnn): Likewise.
9432 (_FP_DIV_MEAT_4_udiv): Likewise.
9433 (__FP_FRAC_ADD_4): Likewise.
9434 (__FP_FRAC_SUB_3): Likewise.
9435 (__FP_FRAC_SUB_4): Likewise.
9436 (__FP_FRAC_DEC_3): Likewise.
9437 (__FP_FRAC_DEC_4): Likewise.
9438 (__FP_FRAC_ADDI_4): Likewise.
9439 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9440 (_FP_FRAC_SRL_8): Likewise.
9441 (_FP_FRAC_SRS_8): Likewise.
9442
9c37ec0b
JM
9443 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9444 include macro name.
9445 (FP_UNPACK_RAW_EP): Likewise.
9446 (FP_PACK_RAW_E): Likewise.
9447 (FP_PACK_RAW_EP): Likewise.
9448 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9449 (_FP_ISSIGNAN): Likewise.
9450 (_FP_ADD_INTERNAL): Likewise.
9451 (_FP_FMA): Likewise.
9452 (_FP_CMP): Likewise.
9453 (_FP_SQRT): Likewise.
9454 (_FP_TO_INT): Likewise.
9455 (_FP_FROM_INT): Likewise.
9456 (FP_EXTEND): Likewise.
9457 (_FP_DIV_MEAT_N_loop): Likewise.
9458
2125f674
MR
94592014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9460
9461 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9462 throughout.
9463
edea4028
JM
94642014-06-29 Joseph Myers <joseph@codesourcery.com>
9465
9466 [BZ #17097]
9467 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9468 result with correct sign in case of exponents that produce
9469 overflow except for X very close to 1.
9470
dd0ba018
PE
94712014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9472
9473 mktime: merge #if/#ifdef usage from glibc
9474 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9475 as that works with both Glibc's and Gnulib's style.
9476 See thread starting at Siddhesh Poyarekar's bug report at:
9477 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9478
64df73c2
SP
94792014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9480
9481 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9482 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9483 * sysdeps/tile/tilegx/memmove.c: Remove file.
9484
f1eafb41
JM
94852014-06-27 Joseph Myers <joseph@codesourcery.com>
9486
9487 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9488 abi-name definition.
9489 * scripts/soversions.awk: Do not handle or generate ABI lines.
9490 * shlib-versions: Remove ABI entries.
9491 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9492 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9493
58eb0862
RM
94942014-06-27 Roland McGrath <roland@hack.frob.com>
9495
37caf178
RM
9496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9497 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9498 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9499 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9500 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9501 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9502 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9503 Moved ...
9504 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9505 ... here.
9506 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9507 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9508 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9509 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9510 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9511 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9512 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9513 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9514 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9515 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9516 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9517 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9518 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9519 Moved ...
9520 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9521 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9522 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9523 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9524 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9525 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9526 Moved ...
9527 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9528 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9529 Moved ...
9530 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9531 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9532 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9533 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9534 Moved ...
9535 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9536 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9537 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9538 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9539 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9540 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9541 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9542 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9543 Moved ...
9544 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9545 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9546 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9547 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9548 Moved ...
9549 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9550 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9551 Moved ...
9552 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9553 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9554 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9555 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9556 Moved ...
9557 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9558 ... here.
9559 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9560 Identical file removed.
9561 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9562 Moved ...
9563 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9564 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9565 Identical file removed.
9566 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9567 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9568 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9569 Moved ...
9570 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9571 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9572 Identical file removed.
9573 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9574 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9575 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9576 Identical file removed.
9577 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9578 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9579 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9580 Identical file removed.
9581 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9582 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9583 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9584 Identical file removed.
9585 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9586 Moved ...
9587 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9588 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9589 Identical file removed.
9590 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9591 Moved ...
9592 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9593 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9594 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9595 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9596 Identical file removed.
9597 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9598 Moved ...
9599 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9600 ... here.
9601 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9602 Identical file removed.
9603 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9604 Moved ...
9605 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9606 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9607 Identical file removed.
9608 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9609 Moved ...
9610 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9611 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9612 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9613 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9614 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9615 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9616 Moved ...
9617 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9618 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9619 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9620
58eb0862
RM
9621 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9622 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9623 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9624 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9625 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9626
6f12d062
AS
96272014-06-27 Arjun Shankar <arjun.is@lostca.se>
9628
9629 [BZ #17092]
9630 * nscd/nscd.c (monitor_child): Return exit status of child
9631 instead of return value from wait syscall.
9632
be254932
JM
96332014-06-27 Joseph Myers <joseph@codesourcery.com>
9634
cb403c34
JM
9635 * configure.ac (libc_commonpagesize): Remove variable.
9636 (libc_relro_required): Likewise.
9637 (libc_cv_z_relro): Remove configure test.
9638 * configure: Regenerated.
9639 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9640 variable.
9641 (libc_relro_required): Likewise.
9642 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9643 (libc_relro_required): Likewise.
9644 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9645 (libc_relro_required): Likewise.
9646 * sysdeps/arm/preconfigure: Regenerated.
9647 * sysdeps/ia64/preconfigure: Remove file.
9648 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9649 variable.
9650 (libc_relro_required): Likewise.
9651
be254932
JM
9652 [BZ #16561]
9653 [BZ #16562]
9654 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9655 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9656 recompute overflowing results in original rounding mode.
9657 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9658 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9659 recompute overflowing results in original rounding mode.
9660 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9661 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9662 recompute overflowing results in original rounding mode.
9663 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9664 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9665 recompute overflowing results in original rounding mode.
9666 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9667 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9668 recompute overflowing results in original rounding mode.
9669 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9670 (libc_feholdsetround_ctx): New macro.
9671 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9672 * sysdeps/i386/fpu/libm-test-ulps: Update.
9673 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9674
b351d85a
JM
96752014-06-26 Joseph Myers <joseph@codesourcery.com>
9676
9677 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9678 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9679 corresponding .cpsetup call.
9680
3cb4de47
RM
96812014-06-26 Roland McGrath <roland@hack.frob.com>
9682
9683 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9684 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9685 * sysdeps/arm/Makefile [$(subdir) = csu]
9686 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9687 (static-only-routines): Add aeabi_read_tp here.
9688 (shared-only-routines): Add libc-aeabi_read_tp here.
9689 (CFLAGS-libc-start.c): Add -fexceptions here.
9690 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9691 (sysdep_routines, static-only-routines, shared-only-routines):
9692 Don't add to these here.
9693 (CFLAGS-libc-start.c): Likewise.
9694
9695 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9696 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9697 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9698 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9699 * sysdeps/arm/Makefile [$(subdir) = rt]
9700 (librt-sysdep_routines, librt-shared-only-routines):
9701 Append rt-aeabi_unwind_cpp_pr1 here.
9702 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9703 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9704 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9705 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9706 Append nptl-aeabi_unwind_cpp_pr1 here.
9707 (tests): Filter out tst-cleanupx4 here.
9708 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9709 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9710 Don't do those here.
9711
354426bb
JM
97122014-06-26 Joseph Myers <joseph@codesourcery.com>
9713
9714 * scripts/list-sources.sh: Do not handle ports specially.
9715
28b0a8c9
RM
97162014-06-26 Roland McGrath <roland@hack.frob.com>
9717
a3dd035d
RM
9718 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9719 * sysdeps/arm/feupdateenv.c: Likewise.
9720
28b0a8c9
RM
9721 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9722
e66a8203
JM
97232014-06-26 Joseph Myers <joseph@codesourcery.com>
9724
9725 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9726 trailing whitespace removed.
9727 * scripts/config.guess: Update to version 2014-03-23.
9728 * scripts/config.sub: Update to version 2014-05-01
9729 * scripts/install-sh: Update to version 2013-12-25.23.
9730 * scripts/move-if-change: Update from gnulib.
9731
74171115
SP
97322014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9733
b97c9ce5
SP
9734 * debug/memmove_chk.c: Remove pagecopy.h include.
9735
4000f892
SP
97362014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9737
74171115
SP
9738 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9739 identical to gnulib mktime.
9740
a8779c28
JM
97412014-06-26 Joseph Myers <joseph@codesourcery.com>
9742
e64708de
JM
9743 * configure.ac: Do not test for machine being rs6000. Do not test
9744 for powerpc*-*soft.
9745 * configure: Regenerated.
9746
a8779c28
JM
9747 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9748 test.
9749 * configure: Regenerated.
9750 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9751 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9752 Remove configure test.
9753 * sysdeps/arm/configure: Regenerated.
9754 * sysdeps/nptl/configure.ac: Do not check
9755 libc_cv_asm_cfi_directives.
9756 * sysdeps/nptl/configure: Regenerated.
9757 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9758 * sysdeps/x86_64/nptl/configure: Remove generated file.
9759 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9760 unconditional.
9761 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9762
2aac0a86
SP
97632014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9764
059bf913
SP
9765 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9766 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9767 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9768 it is defined.
9769
4cf5b6d0
SP
9770 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9771 instead of whether it is defined.
9772 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9773 * sysdeps/hppa/dl-machine.h: Likewise.
9774 * sysdeps/ia64/dl-machine.h: Likewise.
9775 * sysdeps/m68k/dl-machine.h: Likewise.
9776 * sysdeps/microblaze/dl-machine.h: Likewise.
9777 * sysdeps/mips/dl-machine.: Likewise.
9778 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9779 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9780 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9781 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9782 * sysdeps/sh/dl-machine.h: Likewise.
9783 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9784 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9785 * sysdeps/tile/dl-machine.h: Likewise.
9786 * sysdeps/x86_64/dl-machine.h: Likewise.
9787
2aac0a86
SP
9788 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9789 code.
9790 (verify_persistent_db): Likewise.
9791
6ad2df0b
RM
97922014-06-26 Roland McGrath <roland@hack.frob.com>
9793
d8a483f3
RM
9794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9795 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9797 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9799 Moved ...
9800 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9801 ... here.
9802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9803 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9805 Identical file removed.
9806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9807 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9809 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9811 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9813 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9815 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9817 Moved ...
9818 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9820 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9822 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9824 Moved ...
9825 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9827 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9829 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9831 Identical file removed.
9832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9833 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9835 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9837 Moved ...
9838 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9839 ... here.
9840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9841 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9843 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9845 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9847 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9849 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9851 Moved ...
9852 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9854 Moved ...
9855 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9857 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9859 Moved ...
9860 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9862 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9863
52ae23b4
RM
9864 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9865 folded into ...
9866 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9867 * sysdeps/unix/sysv/linux/s390/Versions
9868 (libpthread: GLIBC_2.19): New version set.
9869 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9870 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9871 (librt: GLIBC_2.3.3): New version set.
9872 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9873 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9874 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9875 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9876 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9877 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9878 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9879 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9880 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9881 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9882 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9883 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9884 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9885 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9886 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9887 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9888 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9889 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9890 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9891 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9892 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9893 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9894 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9895 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9896 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9897 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9898 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9899 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9900 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9901 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9902 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9903 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9904 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9905 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9906 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9907 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9908 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9909 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9910 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9911 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9912 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9913 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9914 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9915 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9916 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9917
39507e4a
RM
9918 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9919 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9920 (__libc_vfork): Define the function under this name.
9921 [!NOT_IN_libc] (__vfork): Make this an alias.
9922 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9923 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9924 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9925 (__libc_vfork): Define the function under this name.
9926 [!NOT_IN_libc] (__vfork): Make this an alias.
9927 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9928 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9929 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9930 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9931 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9932 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9933
e549ee56
RM
9934 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9935 code that was previously under [RESET_PID].
9936 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9937 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9938 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9939
6ad2df0b
RM
9940 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9941 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9942 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9943 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9944 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9945 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9946 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9947 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9948 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9949 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9950 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9951 Moved ...
9952 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9953 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9954 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9955 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9956 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9957 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9958 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9959 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9960 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9961 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9962 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9963 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9964 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9965 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9966 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9967 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9968 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9969 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9970 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9971 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9972 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9973 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9974 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9975 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9976 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9977 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9978 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9979 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9980 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9981
7c1c1d8e
RM
99822014-06-25 Roland McGrath <roland@hack.frob.com>
9983
9984 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9985 that was previously under [RESET_PID].
9986 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9987
3e239be6
JM
99882014-06-25 Joseph Myers <joseph@codesourcery.com>
9989
74385da5
JM
9990 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9991 not undefine and redefine.
9992 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9993 [O_CLOEXEC]: Make code unconditional.
9994 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9995 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9996 <kernel-features.h>.
9997 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9998 conditional variable definition.
9999 (shm_open) [O_CLOEXEC]: Make code unconditional.
10000 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10001 code.
10002
c2570a0b
JM
10003 * configure.ac (USE_REGPARMS): Don't define here.
10004 * configure: Regenerated.
10005 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10006 * sysdeps/i386/configure: Regenerated.
10007
11b076bb
JM
10008 * nptl/createthread.c: Don't include kernel-features.h.
10009 * nptl/pthread_cancel.c: Likewise.
10010 * nptl/pthread_condattr_setclock.c: Likewise.
10011 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10012 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10013 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10014 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10015 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10016 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10017 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10018 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10019 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10020 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10021 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10022 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10023 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10024 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10025 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10026 * nscd/gai.c: Likewise.
10027 * nss/nss_db/db-open.c: Likewise.
10028 * sysdeps/generic/ldsodefs.h: Likewise.
10029 * sysdeps/sh/nptl/tls.h: Likewise.
10030 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10031 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10032 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10033 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10034 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10035 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10036 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10037 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10038 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10039 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10040 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10041 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10042 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10043 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10044 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10045 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10046 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10047 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10048 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10049 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10050 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10051 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10052 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10053 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10054 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10055 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10056 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10057 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10058 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10059 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10060 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10061 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10062 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10063 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10064 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10065 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10066 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10067 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10068 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10069 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10070 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10071 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10072 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10073 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10074 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10075 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10076 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10077 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10078 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10079 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10080 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10081 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10082 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10083 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10084 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10085 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10086 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10087 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10110 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10111 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10112 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10113 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10114 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10115 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10116 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10117 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10118 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10119 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10120 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10121 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10122 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10123 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10124 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10125 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10126 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10127 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10128 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10129 * sysdeps/unix/sysv/linux/system.c: Likewise.
10130 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10131 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10132 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10133 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10134 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10135 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10136 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10137
92072d57
JM
10138 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10139 * configure: Regenerated.
10140 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10141
3e239be6
JM
10142 * configure.ac (base_machine): Do not set specially for particular
10143 machines here.
10144 * configure: Regenerated.
10145 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10146 settings from configure.ac.
10147 * sysdeps/i386/preconfigure: New file.
10148 * sysdeps/s390/preconfigure: Likewise.
10149 * sysdeps/sh/preconfigure: Likewise.
10150 * sysdeps/sparc/preconfigure: Likewise.
10151
06d50baa
RM
101522014-06-25 Roland McGrath <roland@hack.frob.com>
10153
74836003
RM
10154 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10155 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10156 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10157 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10158 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10159 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10160 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10161 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10162 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10163 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10164 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10165 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10166 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10167 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10168 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10169 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10170 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10171 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10172 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10173
10174 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10175 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10176 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10177 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10178 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10179 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10180 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10181 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10182 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10183 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10184 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10185 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10186 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10187 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10188 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10189 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10190 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10191 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10192 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10193 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10194 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10195 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10196 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10197 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10198 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10199 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10200 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10201 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10202 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10203 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10204 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10205 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10206 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10207 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10208 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10209 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10210 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10211 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10212
06d50baa
RM
10213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10214 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10216 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10218 Moved ...
10219 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10220 ... here.
10221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10222 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10224 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10226 Moved ...
10227 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10229 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10231 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10233 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10235 Moved ...
10236 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10238 Moved ...
10239 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10241 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10243 Moved ...
10244 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10246 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10248 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10250 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10252 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10254 Moved ...
10255 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10256 ... here.
10257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10258 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10260 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10262 Moved ...
10263 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10265 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10267 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10269 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10271 Moved ...
10272 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10274 Moved ...
10275 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10277 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10279 Moved ...
10280 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10282 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10284 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10285
a4ccbc9b
JM
102862014-06-25 Joseph Myers <joseph@codesourcery.com>
10287
0828edbf
JM
10288 * timezone/checktab.awk: Update from tzcode 2014e.
10289 * timezone/private.h: Likewise.
10290 * timezone/tzfile.h: Likewise.
10291 * timezone/zdump.c: Likewise.
10292 * timezone/zic.c: Likewise.
10293
a4ccbc9b
JM
10294 * sysdeps/unix/sysv/linux/kernel-features.h
10295 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10296 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10297 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10298 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10299 Remove conditional code.
10300
9aea0cb8
WN
103012014-06-25 Will Newton <will.newton@linaro.org>
10302
10303 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10304 (_dl_arm_cap_flags): Add HWCAP2 values.
10305 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10306 (_DL_HWCAP_COUNT): Increase to 37.
10307 (_DL_HWCAP_LAST): New define.
10308 (_DL_HWCAP2_LAST): New define.
10309 (_dl_procinfo): Add support for printing
10310 AT_HWCAP2 entries.
10311 (_dl_string_hwcap): Use _dl_hwcap_string.
10312
6eaa65ce
AZ
103132014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10314
10315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10316
0f5b7185
JM
103172014-06-25 Joseph Myers <joseph@codesourcery.com>
10318
cfd2ea50
JM
10319 * README: Do not mention ports directory.
10320
cecf2ed4
JM
10321 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10322 Remove macro.
10323 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10324 <kernel-features.h>.
10325 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10326 conditional variable definition.
10327 (__futimes): Update comment.
10328 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10329 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10330
a638de82
JM
10331 [BZ #16560]
10332 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10333 arguments close to 0.
10334 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10335 Likewise.
10336 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10337 Likewise.
10338 * math/auto-libm-test-in: Add more tests of exp10.
10339 * math/auto-libm-test-out: Regenerated.
10340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10341
0f5b7185
JM
10342 * sysdeps/unix/sysv/linux/kernel-features.h
10343 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10344 * sysdeps/unix/sysv/linux/readv.c: Do not include
10345 <kernel-features.h>.
10346 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10347 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10348 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10349 unconditional.
10350 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10351 conditional code.
10352 * sysdeps/unix/sysv/linux/writev.c: Do not include
10353 <kernel-features.h>.
10354 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10355 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10356 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10357 unconditional.
10358 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10359 conditional code.
10360
c7aec4be
WN
103612014-06-25 Will Newton <will.newton@linaro.org>
10362
10363 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10364 comment changes throughout the file. Remove checks
10365 for HAVE_*_H definitions that are not required.
10366 (__gen_tempname): Call abort if an unknown kind value is
10367 passed.
10368
c5241f95
AS
103692014-06-25 Andreas Schwab <schwab@suse.de>
10370
10371 [BZ #17086]
10372 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10373 scalbln, scalblnf, scalblnl in libc.
10374
911422da
SP
103752014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10376
10377 [BZ #17086]
10378 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10379 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10380 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10381
0d749bbe
RM
103822014-06-24 Roland McGrath <roland@hack.frob.com>
10383
10384 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10385 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10386 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10387 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10388 Update #include.
10389 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10390 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10391 Update #include.
10392 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10393 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10394 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10395 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10396 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10397 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10398 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10399 * sysdeps/x86/bits/semaphore.h: ... here.
10400 * sysdeps/x86/nptl/elide.h: Moved ...
10401 * sysdeps/x86/elide.h: ... here.
10402 * sysdeps/x86_64/nptl/Implies: File removed.
10403 * sysdeps/i386/nptl/Implies: File removed.
10404
0ea5d373
JM
104052014-06-24 Joseph Myers <joseph@codesourcery.com>
10406
4060283d
JM
10407 [BZ #16539]
10408 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10409 return the argument for normal arguments with exponent below -64.
10410 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10411 Likewise.
10412 * math/auto-libm-test-in: Add another test of expm1.
10413 * math/auto-libm-test-out: Regenerated.
10414
e7dd3c8c
JM
10415 [BZ #16287]
10416 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10417 calling __erfcl for arguments at least 16.
10418 * math/auto-libm-test-in: Add more tests of erf.
10419 * math/auto-libm-test-out: Regenerated.
10420
0ea5d373
JM
10421 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10422 individual architectures.
10423 * sysdeps/unix/sysv/linux/configure: Regenerated.
10424 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10425 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10426 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10427 (ldd_rewrite_script): Define variable.
10428 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10430 file.
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10432 generated file.
10433 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10434 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10435 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10436 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10437 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10438 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10439 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10440 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10441
2307e126
SP
104422014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10443
10444 [BZ #17084]
10445 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10446 Rename member __data.d to __data.__elision_data.
10447
c0a4ed77
W
104482014-06-24 Wilco <wdijkstr@arm.com>
10449
10450 * NEWS: Add 16918 to fixed bug list.
10451
b8c00573
W
104522014-06-24 Wilco <wdijkstr@arm.com>
10453
10454 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10455
b5570d92
W
104562014-06-24 Wilco <wdijkstr@arm.com>
10457
10458 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10459 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10460 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10461 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10462 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10463 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10464 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10465 Use _FPU_MASK_RM.
10466
947bdca2
W
104672014-06-24 Wilco <wdijkstr@arm.com>
10468
10469 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10470
00f669ed
W
104712014-06-24 Wilco <wdijkstr@arm.com>
10472
10473 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10474 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10475 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10476 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10477
db59bad3
W
104782014-06-24 Wilco <wdijkstr@arm.com>
10479
10480 [BZ #16918]
10481 * sysdeps/arm/feupdateenv.c (feupdateenv):
10482 Rewrite to reduce FPSCR accesses and fix return value.
10483
001f7b77
W
104842014-06-24 Wilco <wdijkstr@arm.com>
10485
10486 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10487 Optimize to avoid unnecessary FPSCR writes.
10488 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10489 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10490 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10491 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10492
4841e6a6
W
104932014-06-24 Wilco <wdijkstr@arm.com>
10494
10495 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10496 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10497 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10498 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10499 Call libc_fetestexcept_vfp.
10500 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10501 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10502 __SOFTFP__ ifdef so that they can be built for softfp.
10503
0813022c
SP
105042014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10505
08e5862f
SP
10506 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10507 argument type signed char.
10508
0813022c
SP
10509 * Makerules (check-abi): Dump diff of symlist if the test
10510 fails.
10511
3fc7236a
RM
105122014-06-23 Roland McGrath <roland@hack.frob.com>
10513
aba8ef95
RM
10514 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10515 using abort.
10516
3fc7236a
RM
10517 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10518 Remove unused variable ST.
10519
4da6db51
JM
105202014-06-23 Joseph Myers <joseph@codesourcery.com>
10521
4648909d
JM
10522 [BZ #16354]
10523 [BZ #17061]
10524 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10525 small arguments before calling __expm1.
10526 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10527 small arguments before calling __expm1f.
10528 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10529 small arguments before calling __expm1l.
10530 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10531 Likewise.
10532 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10533 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10534 spurious underflow for some cosh tests.
10535 * math/auto-libm-test-out: Regenerated.
10536 * sysdeps/i386/fpu/libm-test-ulps: Update.
10537
46a3d3c7
JM
10538 [BZ #17050]
10539 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10540 (__ieee754_y1): Set errno if return value overflows.
10541 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10542 (__ieee754_y1f): Set errno if return value overflows.
10543 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10544 (__ieee754_y1l): Set errno if return value overflows.
10545 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10546 (__ieee754_y1l): Set errno if return value overflows.
10547 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10548 * math/auto-libm-test-out: Regenerated.
10549
863893ec
JM
10550 * math/gen-auto-libm-tests.c: Document use of
10551 ignore-zero-inf-sign.
10552 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10553 (input_flags): Add ignore-zero-inf-sign.
10554 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10555 * math/gen-libm-test.pl (generate_testfile): Handle
10556 ignore-zero-inf-sign.
10557 * math/auto-libm-test-in: Mark some cpow tests with
10558 ignore-zero-inf-sign and some with xfail-rounding.
10559 * math/auto-libm-test-out: Regenerated.
10560 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10561 * sysdeps/i386/fpu/libm-test-ulps: Update.
10562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10563
4da6db51
JM
10564 [BZ #16315]
10565 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10566 overflowing or underflowing operations take place with sign of
10567 result.
10568 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10569 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10570 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10571 (__ieee754_pow): Recompute overflowing and underflowing results in
10572 original rounding mode.
10573 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10574 (__powl_helper): Allow negative argument X and scale negated value
10575 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10576 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10577 overflowing or underflowing operations take place with sign of
10578 result.
10579 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10580 Include <math.h>.
10581 * math/auto-libm-test-in: Add more tests of pow.
10582 * math/auto-libm-test-out: Regenerated.
10583 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10584 (pow_tonearest_test_data): Remove.
10585 (pow_test_tonearest): Likewise.
10586 (pow_towardzero_test_data): Likewise.
10587 (pow_test_towardzero): Likewise.
10588 (pow_downward_test_data): Likewise.
10589 (pow_test_downward): Likewise.
10590 (pow_upward_test_data): Likewise.
10591 (pow_test_upward): Likewise.
10592 (main): Don't call removed functions.
10593 * sysdeps/i386/fpu/libm-test-ulps: Update.
10594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10595
5686b236
RM
105962014-06-23 Roland McGrath <roland@hack.frob.com>
10597
10598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10599 Moved ...
10600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10602 Moved ...
10603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10605 Moved ...
10606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10608 Moved ...
10609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10611 File removed.
10612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10613 File removed.
10614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10615 File removed.
10616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10617 File removed.
10618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10619 File removed.
10620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10621 File removed.
10622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10623 File removed.
10624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10625 File removed.
10626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10627 File removed.
10628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10629 File removed.
10630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10631 File removed.
10632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10633 File removed.
10634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10635 Moved ...
10636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10638 Moved ...
10639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10640 ... here.
10641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10642 Moved ...
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10645 Moved ...
10646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10648 Moved ...
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10651 Moved ...
10652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10654 Moved ...
10655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10657 Moved ...
10658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10660 Moved ...
10661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10664 ... here.
10665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10666 Moved ...
10667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10669 Moved ...
10670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10671 ... here.
10672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10673 Moved ...
10674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10675 ... here.
10676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10677 Moved ...
10678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10679 ... here.
10680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10681 Moved ...
10682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10684 Moved ...
10685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10689 Moved ...
10690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10691 ... here.
10692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10693 Moved ...
10694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10695 ... here.
10696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10697 Moved ...
10698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10700 Moved ...
10701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10703 Moved ...
10704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10706 Moved ...
10707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10709 Moved ...
10710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10711 ... here.
10712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10713 Moved ...
10714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10716 Moved ...
10717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10719 Moved ...
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10722 Moved ...
10723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10727 Moved ...
10728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10730 Moved ...
10731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10733 Moved ...
10734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10735 ... here.
10736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10737 Moved ...
10738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10739 ... here.
10740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10741 Moved ...
10742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10743 ... here.
10744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10745 Moved ...
10746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10748 Moved ...
10749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10751 Moved ...
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10754 Moved ...
10755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10756 ... here.
10757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10758 Moved ...
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10760 ... here.
10761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10762 Moved ...
10763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10764 ... here.
10765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10766 Moved ...
10767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10769 Moved ...
10770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10771
e6d90d67
WD
107722014-06-23 Will Newton <will.newton@linaro.org>
10773 Wilco <wdijkstr@arm.com>
10774
10775 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10776 implementation. Include get-rounding-mode.h.
10777 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10778 [!libc_feholdsetround_noex_ctx]: Define
10779 libc_feholdsetround_noex_ctx.
10780 [!libc_feholdsetround_noexf_ctx]: Define
10781 libc_feholdsetround_noexf_ctx.
10782 [!libc_feholdsetround_noexl_ctx]: Define
10783 libc_feholdsetround_noexl_ctx.
10784 (libc_feholdsetround_ctx): New function.
10785 (libc_feresetround_ctx): New function.
10786 (libc_feholdsetround_noex_ctx): New function.
10787 (libc_feresetround_noex_ctx): New function.
10788
d42df555
RM
107892014-06-23 Roland McGrath <roland@hack.frob.com>
10790
88a46474
RM
10791 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10792 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10793 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10794 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10795 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10796 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10797
15bed472
RM
10798 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10799 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10800 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10801 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10802 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10803 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10804 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10805 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10806 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10807 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10808 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10809 Moved ...
10810 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10811 ... here.
10812 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10813 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10814 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10815 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10816 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10817 Moved ...
10818 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10819 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10820 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10821 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10822 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10823 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10824 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10825 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10826 Moved ...
10827 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10828 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10829 Moved ...
10830 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10831 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10832 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10833 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10834 Moved ...
10835 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10836 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10837 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10838 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10839 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10840 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10841 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10842 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10843 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10844 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10845 Moved ...
10846 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10847 ... here.
10848 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10849 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10850 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10851 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10852 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10853 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10854 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10855 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10856 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10857 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10858 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10859 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10860 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10861 Moved ...
10862 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10863 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10864 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10865 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10866 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10867 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10868 Moved ...
10869 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10870 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10871 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10872 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10873 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10874
d42df555
RM
10875 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10876 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10877 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10878 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10879 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10880 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10881 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10882 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10883 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10884 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10885 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10886 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10887 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10888 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10889 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10890 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10891 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10892 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10893 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10894 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10895 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10896 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10897 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10898 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10899 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10900 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10901 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10902 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10903
76e5216e
JM
109042014-06-23 Joseph Myers <joseph@codesourcery.com>
10905
10906 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10907 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10908 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10909 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10910 (IPV6_PMTUDISC_INTERFACE): Likewise.
10911 (IPV6_PMTUDISC_OMIT): Likewise.
10912
7a81cbcc
AS
109132014-06-23 Andreas Schwab <schwab@suse.de>
10914
10915 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10916 Remove unused errout label.
10917
db224009
AZ
109182014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10919
10920 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10921 macro: hardware supports Vector Crypto instructions.
10922
f393b4aa
WN
109232014-06-23 Will Newton <will.newton@linaro.org>
10924
cc7d0447
WN
10925 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10926 rather than __builtin_expect.
10927
d6d06225
WN
10928 * elf/dl-lookup.c (undefined_msg): Remove variable.
10929 (_dl_lookup_symbol_x): Replace undefined_msg with string
10930 literal.
10931
f393b4aa
WN
10932 * elf/dl-lookup.c (do_lookup_unique): New function.
10933 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10934 to a separate function.
10935
ac60763e
AS
109362014-06-23 Andreas Schwab <schwab@suse.de>
10937
10938 [BZ #17079]
10939 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10940 before reading the next line.
10941
c5c13355
WN
109422014-06-23 Will Newton <will.newton@linaro.org>
10943
10944 * test-skeleton.c (signal_handler): Use printf and %m
10945 rather than perror. Use printf rather than fprintf to
10946 stderr. Use puts rather than fputs to stderr.
10947 (main): Likewise.
10948
bd3675f9
LC
109492014-06-22 Ludovic Courtès <ludo@gnu.org>
10950
10951 * nscd/nscd.c (thread_info_t): Remove typedef.
10952 (thread_info): Remove variable.
10953
d03efb2f
AM
109542014-06-21 Allan McRae <allan@archlinux.org>
10955
10956 * NEWS: Mention CVE-2014-4043.
10957
bc4a86fa
RM
109582014-06-20 Roland McGrath <roland@hack.frob.com>
10959
dc9a54f8
RM
10960 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10961 * nptl/smp.h: ... here.
10962
bd7022c4
RM
10963 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10964
26ffd5e6
RM
10965 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10966 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10967 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10968 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10969
93a6d082
RM
10970 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10971 * nptl/stack-aliasing.h: New file.
10972 * sysdeps/i386/i686/stack-aliasing.h: New file.
10973 * sysdeps/i386/i686/nptl/Makefile: File removed.
10974 * sysdeps/x86_64/stack-aliasing.h: New file.
10975 * sysdeps/x86_64/nptl/Makefile
10976 (CFLAGS-pthread_create.c): Variable removed.
10977
bc4a86fa
RM
10978 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10979 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10980 old file.
10981 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10982 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10983 old file.
10984
2272ffc1
JM
109852014-06-21 Joseph Myers <joseph@codesourcery.com>
10986
10987 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10988 (__ASSUME_SIGFRAME_V2): Remove macro.
10989 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10990 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10991 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10992 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10993 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10994 Declare as function. Remove conditional macro definitions.
10995 (__default_rt_sa_restorer): Likewise.
10996 (__default_sa_restorer_v1): Remove declaration.
10997 (__default_sa_restorer_v2): Likewise.
10998 (__default_rt_sa_restorer_v1): Likewise.
10999 (__default_rt_sa_restorer_v2): Likewise.
11000 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11001 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11002 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11003
4b88139b
RM
110042014-06-20 Roland McGrath <roland@hack.frob.com>
11005
11006 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11007 (libpthread-routines): Add sysdep.
11008 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11009 * sysdeps/unix/sysv/linux/sparc/Versions
11010 (libpthread: GLIBC_2.3.3): New version set.
11011 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11012 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11013 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11014 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11015 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11016 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11017 Moved ...
11018 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11019 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11020 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11021 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11022 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11023 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11024 * sysdeps/sparc/nptl/sem_init.c: ... here.
11025 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11026 * sysdeps/sparc/nptl/sem_post.c: ... here.
11027 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11028 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11029 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11030 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11031 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11032 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11033 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11034 (libpthread-routines): Add cpu_relax.
11035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11036 File removed.
11037 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11038 (librt: GLIBC_2.3.3): New version set.
11039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11040 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11041 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11042 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11043 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11045 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11047 Moved ...
11048 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11049 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11050 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11052 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11054 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11055 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11056 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11058 Moved ...
11059 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11060 Update #include.
11061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11062 Moved ...
11063 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11064 Update #include.
11065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11066 Moved ...
11067 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11068 Update #include.
11069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11070 Moved ...
11071 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11072 Update #include.
11073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11074 Moved ...
11075 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11076 Update #include.
11077 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11078 Moved ...
11079 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11080 Update #include.
11081 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11082 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11083 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11084 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11085 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11086 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11088 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11089 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11090 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11092 Moved ...
11093 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11094 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11095 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11096 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11097 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11098
d7109027
JM
110992014-06-20 Joseph Myers <joseph@codesourcery.com>
11100
9bc6103d
JM
11101 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11102 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11103 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11104 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11105 * nscd/nscd.c: Likewise.
11106 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11107 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11108 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11109 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11110
d7109027
JM
11111 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11112 <kernel-features.h>.
11113 (init_mq_netlink): Remove conditional have_sock_cloexec
11114 definitions. Remove code conditional on have_sock_cloexec < 0.
11115 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11116 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11117 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11118 <kernel-features.h>.
11119 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11120 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11121
d92d8f8a
L
111222014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11123
11124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11125 Add tests for memset_chk and memset.
11126
11127 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11128 with AVX2_Usable.
11129
4e6d2347
MR
111302014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11131
257ce712
MR
11132 [BZ #16046]
11133 * elf/tst-dl-iter-static.c: New file.
11134 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11135
4e6d2347
MR
11136 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11137 error.
11138
a2a76afe
JM
111392014-06-20 Joseph Myers <joseph@codesourcery.com>
11140
7fd00f99
JM
11141 * sysdeps/unix/sysv/linux/kernel-features.h
11142 (__ASSUME_F_GETOWN_EX): Remove macro.
11143 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11144 <kernel-features.h>.
11145 (miss_F_GETOWN_EX): Remove variable or macro.
11146 (do_fcntl): Do not check miss_F_GETOWN_EX.
11147 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11148
4a103975
JM
11149 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11150 Remove macro.
11151 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11152 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11153 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11154
a2a76afe
JM
11155 * sysdeps/unix/sysv/linux/kernel-features.h
11156 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11157 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11158 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11159 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11160
90e5dd48
MR
111612014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11162
11163 [BZ #17075]
11164 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11165 Fix calculation of the symbol's value.
11166 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11167 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11168 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11169 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11170 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11171 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11172 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11173 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11174 (modules-names): Add `tst-armtlsdescmod',
11175 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11176 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11177 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11178 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11179 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11180 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11181 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11182 ($(objpfx)tst-armtlsdescloc): New dependency.
11183 ($(objpfx)tst-armtlsdescextnow): Likewise.
11184 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11185 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11186 TLS scheme support.
11187 * sysdeps/arm/configure: Regenerate.
11188
809fdf0d
JM
111892014-06-20 Joseph Myers <joseph@codesourcery.com>
11190
11191 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11192 (__atfct_seterrno_2): Likewise.
11193 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11194 <kernel-features.h>.
11195 (__ASSUME_ATFCTS): Do not undefine and redefine.
11196 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11197 (__have_atfcts): Remove conditional definition.
11198 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11199 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11200 unreachable if [__ASSUME_ATFCTS].
11201 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11202 not undefine and redefine.
11203 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11204 <kernel-features.h>.
11205 (faccessat) [__NR_faccessat]: Make code unconditional.
11206 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11207 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11208 <kernel-features.h>.
11209 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11210 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11211 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11212 <kernel-features.h>.
11213 (fchownat) [__NR_fchownat]: Make code unconditional.
11214 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11215 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11216 <kernel-features.h>.
11217 (futimesat) [__NR_futimesat]: Make code unconditional.
11218 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11219 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11220 <kernel-features.h>.
11221 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11222 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11223 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11224 <kernel-features.h>.
11225 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11226 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11227 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11228 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11229 <kernel-features.h>.
11230 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11231 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11232 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11233 <kernel-features.h>.
11234 (linkat) [__NR_linkat]: Make code unconditional.
11235 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11236 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11237 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11238 <kernel-features.h>.
11239 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11240 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11241 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11242 <kernel-features.h>.
11243 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11244 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11245 * sysdeps/unix/sysv/linux/openat.c: Do not include
11246 <kernel-features.h>.
11247 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11248 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11249 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11250 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11251 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11252 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11253 <kernel-features.h>.
11254 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11255 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11256 result of INLINE_SYSCALL directly, not via int variable.
11257 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11258 <kernel-features.h>.
11259 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11260 (renameat) [__NR_renameat]: Make code unconditional.
11261 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11262 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11263 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11264 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11265 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11266 (__ASSUME_ATFCTS): Do not undefine and redefine.
11267 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11268 <kernel-features.h>.
11269 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11270 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11271 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11272 <kernel-features.h>.
11273 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11274 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11275 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11276 (__ASSUME_ATFCTS): Do not undefine and redefine.
11277 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11278 <kernel-features.h>.
11279 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11280 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11281 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11282 <kernel-features.h>.
11283 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11284 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11285
224c6c51
L
112862014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11287
11288 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11289
aa6ec754
AS
112902014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11291
11292 [BZ #17069]
11293 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11294 constructed tree before returning error.
11295 * posix/bug-regexp36.c: Expand test case.
11296
d8c2869d
SL
112972014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11298
3ef6b850
SL
11299 [BZ #6803]
11300 * math/libm-test.inc (scalbln_test_date):
11301 Add errno expectations.
11302 * math/w_scalblnf.c: New File.
11303 Add wrapper which checks for setting errno to ERANGE.
11304 Add weak_alias for corresponding scalbln function.
11305 * math/w_scalbln.c: Likewise.
11306 * math/w_scalblnl.c: Likewise.
11307 * math/Makefile (libm-calls): Add w_scalbln.
11308 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11309 Remove weak_alias for corresponding scalbln function.
11310 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11311 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11312 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11313 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11314 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11315 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11316 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11317 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11318 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11319 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11320 Remove long_double_symbol for scalblnl function in libm, libc.
11321 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11322 Add wrapper which checks for setting errno to ERANGE.
11323 Add long_double_symbol for scalblnl function in libm, libc.
11324 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11325 Remove long_double_symbol for scalblnl in libm.
11326 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11327 Add wrapper which checks for setting errno to ERANGE.
11328 Add long_double_symbol for scalblnl function in libm.
11329 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11330 Do not use wrapper because of own implementation.
11331
c8daec5c
L
113322014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11333
11334 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11335 3 bytes for __pad1 for x32.
11336 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11337
5c74e47c
LM
113382014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11339 H.J. Lu <hongjiu.lu@intel.com>
11340
11341 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11342 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11343 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11344 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11345 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11346
4d43ef1e
AS
113472014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11348
11349 [BZ #17069]
11350 * posix/regcomp.c (parse_expression): Deallocate partially
11351 constructed tree before returning error.
11352 * posix/Makefile.c (tests): Add bug-regex36.
11353 (generated): Add bug-regex36.mtrace.
11354 (tests-special): Add $(objpfx)bug-regex36-mem.out
11355 (bug-regex36-ENV): New variable.
11356 ($(objpfx)bug-regex36-mem.out): New rule.
11357 * posix/bug-regex36.c: New file.
11358
51a7380b
WN
113592014-06-19 Will Newton <will.newton@linaro.org>
11360
11361 * malloc/malloc.c (systrim): If extra is zero then return
11362 early.
11363
91b84fe5
SP
113642014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11365
11366 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11367
f940b965
RE
113682014-06-19 Richard Earnshaw <rearnsha@arm.com>
11369
11370 * sysdeps/aarch64/strchr.S: New file.
11371
4ba7a00f
JM
113722014-06-18 Joseph Myers <joseph@codesourcery.com>
11373
11374 [BZ #17022]
11375 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11376 from arguments -2 or below.
11377 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11378 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11379
b3a9f56b
AS
113802014-06-18 Andreas Schwab <schwab@suse.de>
11381
11382 [BZ #17062]
11383 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11384 of a bracket expr not to run off the end of the string.
11385 * posix/Makefile (tests): Add tst-fnmatch3.
11386 * posix/tst-fnmatch3.c: New file.
11387
85d89278
JM
113882014-06-18 Joseph Myers <joseph@codesourcery.com>
11389
11390 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11391 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11392 [$(cross-compiling) = no]: Likewise.
11393 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11394 [$(cross-compiling) = no]: Likewise.
11395
754c5a08
RS
113962014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11397
11398 [BZ #17031]
11399 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11400 double, adjusted for any remainder from the high double.
11401 * math/libm-test.inc (nearbyint): Add tests.
11402 (rint): Likewise.
11403
556f529d
AZ
114042014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11405
11406 * nptl/sysdeps/powerpc/Makefile: Moved ...
11407 * sysdeps/powerpc/nptl/Makefile: ... here.
11408 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11409 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11410 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11411 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11412 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11413 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11414 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11415 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11416 * nptl/sysdeps/powerpc/tls.h: Moved ...
11417 * sysdeps/powerpc/nptl/tls.h: ... here.
11418
91c03c53
JM
114192014-06-16 Joseph Myers <joseph@codesourcery.com>
11420
11421 [BZ #16681]
11422 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11423 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11424 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11425 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11426 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11427 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11428 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11429 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11430 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11431
a76e63c5
AS
114322014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11433
11434 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11435
f2f6d82f
AS
114362014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11437
ea8a15f6
AS
11438 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11439 defined operator.
11440
f2f6d82f
AS
11441 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11442 $TIMEOUTFACTOR.
11443
a7291117
FW
114442014-06-16 Florian Weimer <fweimer@redhat.com>
11445
11446 [BZ #17058]
11447 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11448 non-executed part of the test.
11449
3d7c00e3
AS
114502014-06-16 Andreas Schwab <schwab@suse.de>
11451
11452 * string/bits/string2.h (strdup, strndup): Update feature guard.
11453
6957fb31
DM
114542014-06-14 David S. Miller <davem@davemloft.net>
11455
11456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11457
11b9e55b
AS
114582014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11459
1d2a0492
AS
11460 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11461 that was previously under [RESET_PID].
11462 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11463
11b9e55b
AS
11464 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11465 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11466 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11467 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11468 (__libc_vfork): New strong alias.
11469 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11470
0f6901d0
AK
114712014-06-14 Andi Kleen <ak@linux.intel.com>
11472
11473 * sysdeps/generic/elide.h: New file.
11474
38bbbb9f
SL
114752014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11476
11477 * Makefile (installed-headers): Adjust path of pthread.h header.
11478
45193bb8
RM
114792014-06-13 Roland McGrath <roland@hack.frob.com>
11480
9a25fd1e
RM
11481 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11482 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11483 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11484 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11485
4004f7e4
RM
11486 * nptl/sysdeps/s390/Makefile: Moved ...
11487 * sysdeps/s390/nptl/Makefile: ... here.
11488 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11489 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11490 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11491 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11492 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11493 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11494 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11495 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11496 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11497 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11498 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11499 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11500 * nptl/sysdeps/s390/tls.h: Moved ...
11501 * sysdeps/s390/nptl/tls.h: ... here.
11502
45193bb8
RM
11503 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11504 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11505
f6fdf533
DM
115062014-06-13 David S. Miller <davem@davemloft.net>
11507
11508 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11510 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11511 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11512 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11513 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11514 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11515 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11516 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11517 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11518 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11519 Remove RESET_PID cpp guards.
11520 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11521 Remove RESET_PID cpp guards.
11522 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11523
f5d71e14
AS
115242014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11525
11526 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11527 __sp to uintptr_t.
11528
b7aa8caa
AK
115292014-06-13 Andi Kleen <ak@linux.intel.com>
11530
4b266200
AZ
11531 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11532 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11533 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11534 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11535 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11536 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11537 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11538 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11539 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11540 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11541 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11542 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11543 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11544 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11545 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11546 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11547 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11548 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11549 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11550 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
11551
11552 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
11553 (pthread_rwlock_rdlock): Add elision.
11554 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11555 (pthread_rwlock_wrlock): Add elision.
11556 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11557 (pthread_rwlock_trywrlock): Add elision.
11558 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11559 (pthread_rwlock_tryrdlock): Add elision.
11560 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11561 (pthread_rwlock_tryrdlock): Add elision unlock.
11562 * nptl/sysdeps/pthread/pthread.h:
11563 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11564 (PTHREAD_RWLOCK_INITIALIZER,
11565 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11566 Handle new elision field.
11567 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11568 * sysdeps/arm/nptl/bits/pthreadtypes.h
11569 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11570 * sysdeps/sh/nptl/bits/pthreadtypes.h
11571 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11572 * sysdeps/tile/nptl/bits/pthreadtypes.h
11573 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11574 * sysdeps/a/nptl/bits/pthreadtypes.h
11575 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11576 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11577 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11578 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11579 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11580 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11581 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11582 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11583 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11584 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11585 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11586 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11587 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11588 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11589 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11590 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11591 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11592 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11593 (elision_init): Set try_xbegin to zero when no RTM.
11594 * sysdeps/x86/nptl/bits/pthreadtypes.h
11595 (pthread_rwlock_t): Change __pad1 to __rwelision.
11596 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 11597
a832bdd3
AK
115982014-06-13 Andi Kleen <ak@linux.intel.com>
11599
11600 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11601 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11602 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11603 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11604
995a46bb
MI
116052014-06-13 Meador Inge <meadori@codesourcery.com>
11606
11607 [BZ #16996]
03ed7738 11608 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
11609 that the cached result has been set before returning it.
11610
45262aee
RM
116112014-06-12 Roland McGrath <roland@hack.frob.com>
11612
febf6cc5
RM
11613 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11614 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11615 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11616 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11617 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11618 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11619
e2682246
RM
11620 * nptl/sysdeps/sparc/Makefile: Moved ...
11621 * sysdeps/sparc/nptl/Makefile: ... here.
11622 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11623 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11624 * nptl/sysdeps/sparc/tls.h: Moved ...
11625 * sysdeps/sparc/nptl/tls.h: ... here.
11626 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11627 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11628 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11629 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11630 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11631 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11632 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11633 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11634 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11635 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11636 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11637 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11638 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11639 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11640 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11641 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11642 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11643 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11644 Update #include.
11645 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11646 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11647 Update #include.
11648 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11649 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11650 Update #include.
11651 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11652 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11653 Update #include.
11654
b0725f43
RM
11655 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11656
b14368b8
RM
11657 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11658 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11659
c5620eb3
RM
11660 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11661 (struct list_links): Type removed.
11662 (struct thread_node, struct timer_node): Replace struct list_links
11663 with struct list_head.
11664 (list_unlink_ip): Likewise.
11665 * sysdeps/pthread/timer_routines.c
11666 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11667 (list_append, list_insbefore): Likewise.
11668 (list_init): Function removed.
11669 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
11670 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11671 * sysdeps/pthread/Makefile: ... here, new file.
11672
11673 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11674 * sysdeps/nptl/Implies: ... here.
11675 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11676 * nptl/sysdeps/pthread/list.h: Moved ...
11677 * include/list.h: ... here.
11678 * nptl/sysdeps/pthread/createthread.c: Moved ...
11679 * nptl/createthread.c: ... here.
11680 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11681 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11682 * nptl/pt-longjmp.c: ... here.
11683 * nptl/sysdeps/pthread/Makefile: Moved ...
11684 * sysdeps/nptl/Makefile: ... here.
11685 * nptl/sysdeps/pthread/Subdirs: Moved ...
11686 * sysdeps/nptl/Subdirs: ... here.
11687 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11688 * sysdeps/nptl/aio_misc.h: ... here.
11689 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11690 * sysdeps/nptl/bits/libc-lock.h: ... here.
11691 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11692 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11693 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11694 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11695 * nptl/sysdeps/pthread/configure: Moved ...
11696 * sysdeps/nptl/configure: ... here.
11697 * nptl/sysdeps/pthread/configure.ac: Moved ...
11698 * sysdeps/nptl/configure.ac: ... here.
11699 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11700 * sysdeps/nptl/gai_misc.h: ... here.
11701 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11702 * sysdeps/nptl/librt-cancellation.c: ... here.
11703 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11704 * sysdeps/nptl/malloc-machine.h: ... here.
11705 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11706 * sysdeps/nptl/pthread-functions.h: ... here.
11707 * nptl/sysdeps/pthread/pthread.h: Moved ...
11708 * sysdeps/nptl/pthread.h: ... here.
11709 * nptl/sysdeps/pthread/setxid.h: Moved ...
11710 * sysdeps/nptl/setxid.h: ... here.
11711 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11712 * sysdeps/nptl/sigfillset.c: ... here.
11713 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11714 * sysdeps/nptl/tcb-offsets.h: ... here.
11715 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11716 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11717 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11718 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11719 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11720 * sysdeps/pthread/allocalim.h: ... here.
11721 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11722 * sysdeps/pthread/bits/sigthread.h: ... here.
11723 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11724 * sysdeps/pthread/flockfile.c: ... here.
11725 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11726 * sysdeps/pthread/ftrylockfile.c: ... here.
11727 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11728 * sysdeps/pthread/funlockfile.c: ... here.
11729 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11730 * sysdeps/pthread/posix-timer.h: ... here.
11731 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11732 * sysdeps/pthread/timer_create.c: ... here.
11733 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11734 * sysdeps/pthread/timer_delete.c: ... here.
11735 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11736 * sysdeps/pthread/timer_getoverr.c: ... here.
11737 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11738 * sysdeps/pthread/timer_gettime.c: ... here.
11739 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11740 * sysdeps/pthread/timer_routines.c: ... here.
11741 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11742 * sysdeps/pthread/timer_settime.c: ... here.
11743 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11744 * sysdeps/pthread/tst-timer.c: ... here.
11745 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11746 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11747
e876b090
RM
11748 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11749 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11750
f6b07b3d
RM
11751 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11752 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11753 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11754 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11755 Update #include target.
11756 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11757 * sysdeps/i386/i686/nptl/Makefile: ... here.
11758 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11759 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11760 Update #include target.
11761 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11762 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11763 * nptl/sysdeps/i386/Makefile: Moved ...
11764 * sysdeps/i386/nptl/Makefile: ... here.
11765 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11766 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11767 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11768 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11769 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11770 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11771 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11772 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11773 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11774 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11775 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11776 * nptl/sysdeps/i386/tls.h: Moved ...
11777 * sysdeps/i386/nptl/tls.h: ... here.
11778
45262aee
RM
11779 * sysdeps/sh/Makefile [$(subdir) = csu]
11780 (gen-as-const-headers): Add tcb-offsets.sym.
11781 * nptl/sysdeps/sh/Makefile: File removed.
11782 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11783 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11784 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11785 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11786 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11787 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11788 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11789 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11790 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11791 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11792 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11793 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11794 * nptl/sysdeps/sh/tls.h: Moved ...
11795 * sysdeps/sh/nptl/tls.h: ... here.
11796 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11797 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11798 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11799 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11800 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11801 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11802 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11803 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11804 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11805 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11806 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11807 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11808 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11809 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11810 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11811 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11812 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11813 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11814 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11815 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11816 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11817 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11818 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11819 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11820 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11821 Moved ...
11822 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11823 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11824 Moved ...
11825 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11826 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11827 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11828 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11829 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11830 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11831 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11832 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11833 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11834 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11835 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11836 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11837 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11838 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11839 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11840 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11841 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11842 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11843 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11844
35a5e3e3
SL
118452014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11846
11847 * posix/spawn_faction_addopen.c: Include string.h.
11848
14642b85
RM
118492014-06-11 Roland McGrath <roland@hack.frob.com>
11850
11851 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11852 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11853 * nptl/sysdeps/x86_64/Makefile: Moved ...
11854 * sysdeps/x86_64/nptl/Makefile: ... here.
11855 * nptl/sysdeps/x86_64/configure: Moved ...
11856 * sysdeps/x86_64/nptl/configure: ... here.
11857 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11858 * sysdeps/x86_64/nptl/configure.ac: ... here.
11859 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11860 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11861 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11862 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11863 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11864 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11865 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11866 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11867 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11868 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11869 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11870 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11871 * nptl/sysdeps/x86_64/tls.h: Moved ...
11872 * sysdeps/x86_64/nptl/tls.h: ... here.
11873 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11874 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11875 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11876 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11877
11878 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11879
31c44fea
AZ
118802014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11881
11882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11883
e81a4f9a
JM
118842014-06-11 Joseph Myers <joseph@codesourcery.com>
11885
11886 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11887 type.
11888 [POSIX] (off_t): Likewise.
11889 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11890 [POSIX] (S_ISBLK): Require macro.
11891 [POSIX] (S_ISCHR): Likewise.
11892 [POSIX] (S_ISDIR): Likewise.
11893 [POSIX] (S_ISFIFO): Likewise.
11894 [POSIX] (S_ISREG): Likewise.
11895 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11896 optional-macro.
11897 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11898 type.
11899 [POSIX] (time_t): Likewise.
11900 [POSIX] (timer_t): Likewise.
11901
89e435f3
FW
119022014-06-11 Florian Weimer <fweimer@redhat.com>
11903
11904 [BZ #17048]
11905 * posix/spawn_int.h (struct __spawn_action): Make the path string
11906 non-const to support deallocation.
11907 * posix/spawn_faction_addopen.c
11908 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11909 * posix/spawn_faction_destroy.c
11910 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11911 path in all spawn_do_open actions.
11912 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11913 posix_spawn_file_actions_addopen.
11914
c3a2ebe1
CM
119152014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11916
11917 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11918 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11919 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11920 conditional code always true.
11921 (__libc_vfork): New alias.
11922
9503784a
RM
119232014-06-11 Roland McGrath <roland@hack.frob.com>
11924
c9cab3d2
RM
11925 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11926 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11927
d3996c79
RM
11928 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11929
ba5ec611
RM
11930 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11931 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11932
f12b4814
RM
11933 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11934 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11935
9503784a
RM
11936 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11937 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11938
e23d3d26
VR
119392014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11940
11941 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11942 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11943 multiarch strcmp for PPC64.
11944 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11945 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11947 multiarch optimizations.
11948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11949 (__libc_ifunc_impl_list): Likewise.
11950
42b1161e
SP
119512014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11952
11953 * benchtests/scripts/validate_benchout.py: New script.
11954 * benchtests/Makefile (bench-func): Call it.
11955 * benchtests/scripts/benchout.schema.json: New file.
11956
2d0fc4dc
CM
119572014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11958
4a594c34
AZ
11959 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11960 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11961 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11962 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11963 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11964 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11965 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11966 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11967 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11968 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11969 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11970 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11971 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11972 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11973 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11974 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 11976 Moved ...
4a594c34 11977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 11978 ... here.
4a594c34 11979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 11980 Moved ...
4a594c34
AZ
11981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 11983 Moved ...
4a594c34 11984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 11985 ... here.
4a594c34 11986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 11987 Moved ...
4a594c34 11988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 11989 ... here.
4a594c34 11990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 11991 Moved ...
4a594c34
AZ
11992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 11994 Moved ...
4a594c34 11995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 11996 ... here.
4a594c34 11997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 11998 Moved ...
4a594c34 11999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 12000 ... here.
4a594c34 12001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 12002 Moved ...
4a594c34
AZ
12003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 12005 Moved ...
4a594c34 12006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 12007 ... here.
4a594c34 12008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 12009 Moved ...
4a594c34 12010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 12011 ... here.
4a594c34 12012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 12013 Moved ...
4a594c34 12014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 12015 ... here.
4a594c34 12016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 12017 Moved ...
4a594c34
AZ
12018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 12020 Moved ...
4a594c34 12021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 12022 ... here.
4a594c34 12023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 12024 Moved ...
4a594c34 12025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 12026 ... here.
4a594c34 12027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 12028 Moved ...
4a594c34 12029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 12030 ... here.
4a594c34 12031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 12032 Moved ...
4a594c34
AZ
12033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 12035 Moved ...
4a594c34 12036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 12037 ... here.
4a594c34 12038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 12039 Moved ...
4a594c34 12040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 12041 ... here.
4a594c34 12042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 12043 Moved ...
4a594c34
AZ
12044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 12046 Moved ...
4a594c34 12047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 12048 ... here.
4a594c34 12049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 12050 Moved ...
4a594c34
AZ
12051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 12053 Moved ...
4a594c34
AZ
12054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 12056 Moved ...
4a594c34 12057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 12058 ... here.
4a594c34 12059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 12060 Moved ...
4a594c34 12061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 12062 ... here.
4a594c34 12063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 12064 Moved ...
4a594c34 12065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 12066 ... here.
4a594c34 12067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 12068 Moved ...
4a594c34
AZ
12069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 12071 Moved ...
4a594c34 12072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 12073 ... here.
4a594c34 12074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 12075 Moved ...
4a594c34 12076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 12077 ... here.
4a594c34
AZ
12078 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12079 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12080 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12081 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12082 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 12083 Moved ...
4a594c34 12084 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 12085 ... here.
4a594c34
AZ
12086 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12087 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12088 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12089 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12090 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12091 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12092 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12093 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12094 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12095 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12096 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12097 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12098 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 12099 Moved ...
4a594c34
AZ
12100 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12101 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 12102 Moved ...
4a594c34
AZ
12103 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12104 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12105 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12106 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 12107 Moved ...
4a594c34
AZ
12108 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12109 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12110 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12111 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12112 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12113 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12114 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 12115
0570cfed
W
121162014-06-10 Wilco <wdijkstr@arm.com>
12117
12118 * math/test-fenv-return.c: New file.
12119 * math/Makefile: Add new test test-fenv-return.
12120
f8ba1b56
JM
121212014-06-10 Joseph Myers <joseph@codesourcery.com>
12122
12123 [BZ #17042]
12124 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12125 when x - 1 is zero.
12126 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12127 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12128 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12129 0.0L for an argument of 1.0L.
12130 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12131 Likewise.
12132 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12133 value when x - 1 is zero.
12134 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12135 * sysdeps/i386/fpu/libm-test-ulps: Update.
12136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12137
2c3520d9
BO
121382014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12139
12140 [BZ #15119]
12141 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12142
acaa4d24
RM
121432014-06-09 Roland McGrath <roland@hack.frob.com>
12144
12145 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12146 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12147
962b744d
RM
121482014-06-09 Roland McGrath <roland@hack.frob.com>
12149
d752f0cc
RM
12150 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12151 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12152
34eda6d1
RM
12153 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12154 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12155
50f0a637
RM
12156 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12157 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12158
08f41f04
RM
12159 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12160 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12161
962b744d
RM
12162 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12163 if not already defined.
12164 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12165 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12166 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12167 (TLS_INIT_TP): Use it.
12168 (TLS_DEFINE_INIT_TP): New macro.
12169 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12170
09f19b05
JM
121712014-06-09 Joseph Myers <joseph@codesourcery.com>
12172
12173 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12174 constant.
12175 [POSIX] (IXANY): Likewise.
12176 [POSIX] (OLCUC): Likewise.
12177 [POSIX || POSIX2008] (CBAUD): Do not allow.
12178 [POSIX || POSIX2008] (DEFECHO): Likewise.
12179 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12180 [POSIX || POSIX2008] (ECHOKE): Likewise.
12181 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12182 [POSIX || POSIX2008] (EXTA): Likewise.
12183 [POSIX || POSIX2008] (EXTB): Likewise.
12184 [POSIX || POSIX2008] (FLUSHO): Likewise.
12185 [POSIX || POSIX2008] (LOBLK): Likewise.
12186 [POSIX || POSIX2008] (PENDIN): Likewise.
12187 [POSIX || POSIX2008] (SWTCH): Likewise.
12188 [POSIX || POSIX2008] (VDISCARD): Likewise.
12189 [POSIX || POSIX2008] (VDSUSP): Likewise.
12190 [POSIX || POSIX2008] (VLNEXT): Likewise.
12191 [POSIX || POSIX2008] (VREPRINT): Likewise.
12192 [POSIX || POSIX2008] (VSTATUS): Likewise.
12193 [POSIX || POSIX2008] (VWERASE): Likewise.
12194 (B*): Change to B[0123456789]*.
12195 * conform/data/time.h-data [POSIX || UNIX98]
12196 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12197 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12198 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12199 [POSIX] (tm_*): Do not allow.
12200
686554bf
JM
122012014-06-07 Joseph Myers <joseph@codesourcery.com>
12202
12203 * Makefile (install): Don't set LANGUAGE.
12204 * Makefile.in (install): Likewise.
12205 * assert/Makefile (test-assert-ENV): Remove variable.
12206 (test-assert-perr-ENV): Likewise.
12207 * elf/Makefile (neededtest4-ENV): Likewise.
12208 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12209 [$(cross-compiling) = no]: Don't set LANGUAGE.
12210 * io/ftwtest-sh (LANG): Remove variable.
12211 * libio/Makefile (tst-widetext-ENV): Likewise.
12212 * manual/install.texi (Running make install): Don't refer to
12213 environment settings for make install.
12214 * INSTALL: Regenerated.
12215 * nptl/tst-tls6.sh: Don't set LANG.
12216 * posix/globtest.sh (LANG): Remove variable.
12217 * string/Makefile (tester-ENV): Likewise.
12218 (inl-tester-ENV): Likewise.
12219 (noinl-tester-ENV): Likewise.
12220 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12221 [$(cross-compiling) = no]: Don't set LANGUAGE.
12222 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12223 without explicit environment settings.
12224
68e6b6b1
RM
122252014-06-06 Roland McGrath <roland@hack.frob.com>
12226
12227 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12228 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12229 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12230 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12231
4d3ae034
CM
122322014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12233
12234 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12235 other files in the crypt directory.
12236 * crypt/crypt.c: Remove duplicate includes.
12237 * crypt/crypt-entry.c: Likewise.
12238 * crypt/crypt_util.c: Likewise.
12239
8540f6d2
JM
122402014-06-06 Joseph Myers <joseph@codesourcery.com>
12241
12242 * Makeconfig (run-program-env): New variable.
12243 (run-program-prefix-before-env): Likewise.
12244 (run-program-prefix-after-env): Likewise.
12245 (run-program-prefix): Define in terms of new variables.
12246 (built-program-cmd-before-env): New variable.
12247 (built-program-cmd-after-env): Likewise.
12248 (built-program-cmd): Define in terms of new variables.
12249 (test-program-prefix-before-env): New variable.
12250 (test-program-prefix-after-env): Likewise.
12251 (test-program-prefix): Define in terms of new variables.
12252 (test-program-cmd-before-env): New variable.
12253 (test-program-cmd-after-env): Likewise.
12254 (test-program-cmd): Define in terms of new variables.
12255 * Rules (make-test-out): Use $(run-program-env).
12256 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12257 (help): Do not mention environment variables. Mention
12258 --timeoutfactor option.
12259 (timeoutfactor): New variable.
12260 (blacklist_exports): Remove function.
12261 (exports): Remove variable.
12262 (command): Do not include ${exports}.
12263 * manual/install.texi (Configuring and compiling): Do not mention
12264 test wrappers preserving environment variables. Mention that last
12265 assignment to a variable must take precedence.
12266 * INSTALL: Regenerated.
12267 * benchtests/Makefile (run-bench): Use $(run-program-env).
12268 * catgets/Makefile ($(objpfx)test1.cat): Use
12269 $(built-program-cmd-before-env), $(run-program-env) and
12270 $(built-program-cmd-after-env).
12271 ($(objpfx)test2.cat): Do not specify environment variables
12272 explicitly.
12273 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12274 $(run-program-env) and $(built-program-cmd-after-env).
12275 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12276 $(run-program-env) and $(test-program-cmd-after-env).
12277 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12278 explicitly.
12279 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12280 run_program_env and test_program_cmd_after_env arguments.
12281 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12282 * elf/tst-pathopt.sh: Use run_program_env argument.
12283 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12284 $(test-wrapper-env) and $(run-program-env).
12285 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12286 run_program_env arguments.
12287 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12288 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12289 $(test-program-prefix-before-env), $(run-program-env) and
12290 $(test-program-prefix-after-env).
12291 ($(objpfx)tst-gettext2.out): Likewise.
12292 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12293 run_program_env and test_program_prefix_after_env arguments.
12294 * intl/tst-gettext2.sh: Likewise.
12295 * intl/tst-gettext4.sh: Do not set environment variables
12296 explicitly.
12297 * intl/tst-gettext6.sh: Likewise.
12298 * intl/tst-translit.sh: Likewise.
12299 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12300 $(test-program-prefix-before-env), $(run-program-env) and
12301 $(test-program-prefix-after-env).
12302 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12303 run_program_env and test_program_prefix_after_env arguments.
12304 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12305 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12306 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12307 explicitly with each use of ${test_wrapper_env}.
12308 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12309 $(test-program-prefix-before-env), $(run-program-env) and
12310 $(test-program-prefix-after-env).
12311 * posix/tst-getconf.sh: Do not set environment variables
12312 explicitly.
12313 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12314 run_program_env and test_program_prefix_after_env arguments.
12315 * stdio-common/tst-printf.sh: Do not set environment variables
12316 explicitly.
12317 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12318 $(test-program-prefix-before-env), $(run-program-env) and
12319 $(test-program-prefix-after-env).
12320 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12321 run_program_env and test_program_prefix_after_env arguments.
12322 Split $test calls into $test_pre and $test.
12323 * timezone/Makefile (build-testdata): Use
12324 $(built-program-cmd-before-env), $(run-program-env) and
12325 $(built-program-cmd-after-env).
12326
ed36bfa1
AZ
123272014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12328
12329 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12330 strlen for non SHARED builds.
12331
fc75bf46
SP
123322014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12333
12334 * nptl/allocatestack.c (check_list): Inlined function...
12335 (__reclaim_stacks): ... here.
12336
d89b3d80
OB
123372014-06-05 Ondřej Bílka <neleai@seznam.cz>
12338
12339 [BZ #15698]
12340 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12341 memory overrun.
12342
2bf18041
JM
123432014-06-05 Joseph Myers <joseph@codesourcery.com>
12344
12345 * Rules (make-test-out): Include
12346 LOCPATH=$(common-objpfx)localedata in default environment.
12347 * debug/Makefile (tst-chk1-ENV): Remove variable.
12348 (tst-chk2-ENV): Likewise.
12349 (tst-chk3-ENV): Likewise.
12350 (tst-chk4-ENV): Likewise.
12351 (tst-chk5-ENV): Likewise.
12352 (tst-chk6-ENV): Likewise.
12353 (tst-lfschk1-ENV): Likewise.
12354 (tst-lfschk2-ENV): Likewise.
12355 (tst-lfschk3-ENV): Likewise.
12356 (tst-lfschk4-ENV): Likewise.
12357 (tst-lfschk5-ENV): Likewise.
12358 (tst-lfschk6-ENV): Likewise.
12359 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12360 (tst-iconv7-ENV): Likewise.
12361 * intl/Makefile (LOCPATH-ENV): Likewise.
12362 (tst-codeset-ENV): Likewise.
12363 (tst-gettext3-ENV): Likewise.
12364 (tst-gettext5-ENV): Likewise.
12365 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12366 (tst-fopenloc-ENV): Likewise.
12367 (tst-fgetws-ENV): Remove variable.
12368 (tst-ungetwc1-ENV): Likewise.
12369 (tst-ungetwc2-ENV): Likewise.
12370 (bug-ungetwc2-ENV): Likewise.
12371 (tst-swscanf-ENV): Likewise.
12372 (bug-ftell-ENV): Likewise.
12373 (tst-fgetwc-ENV): Likewise.
12374 (tst-fseek-ENV): Likewise.
12375 (tst-ftell-partial-wide-ENV): Likewise.
12376 (tst-ftell-active-handler-ENV): Likewise.
12377 (tst-ftell-append-ENV): Likewise.
12378 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12379 (tst-regexloc-ENV): Likewise.
12380 (bug-regex1-ENV): Likewise.
12381 (tst-regex-ENV): Likewise.
12382 (tst-regex2-ENV): Likewise.
12383 (bug-regex5-ENV): Likewise.
12384 (bug-regex6-ENV): Likewise.
12385 (bug-regex17-ENV): Likewise.
12386 (bug-regex18-ENV): Likewise.
12387 (bug-regex19-ENV): Likewise.
12388 (bug-regex20-ENV): Likewise.
12389 (bug-regex22-ENV): Likewise.
12390 (bug-regex23-ENV): Likewise.
12391 (bug-regex25-ENV): Likewise.
12392 (bug-regex26-ENV): Likewise.
12393 (bug-regex30-ENV): Likewise.
12394 (bug-regex32-ENV): Likewise.
12395 (bug-regex33-ENV): Likewise.
12396 (bug-regex34-ENV): Likewise.
12397 (bug-regex35-ENV): Likewise.
12398 (tst-rxspencer-ENV): Likewise.
12399 (tst-rxspencer-no-utf8-ENV): Likewise.
12400 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12401 (tst-sscanf-ENV): Likewise.
12402 (tst-swprintf-ENV): Likewise.
12403 (tst-swscanf-ENV): Likewise.
12404 (test-vfprintf-ENV): Likewise.
12405 (scanf13-ENV): Likewise.
12406 (bug14-ENV): Likewise.
12407 (tst-grouping-ENV): Likewise.
12408 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12409 (tst-strtod3-ENV): Likewise.
12410 (tst-strtod4-ENV): Likewise.
12411 (tst-strtod5-ENV): Likewise.
12412 (testmb2-ENV): Likewise./
12413 * string/Makefile (tst-strxfrm-ENV): Likewise.
12414 (tst-strxfrm2-ENV): Likewise.
12415 (bug-strcoll1-ENV): Likewise.
12416 (test-strcasecmp-ENV): Likewise.
12417 (test-strncasecmp-ENV): Likewise.
12418 * time/Makefile (tst-strptime-ENV): Likewise.
12419 (tst-ftime_l-ENV): Likewise.
12420 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12421 (tst-mbrtowc-ENV): Likewise.
12422 (tst-wcrtomb-ENV): Likewise.
12423 (tst-mbrtowc2-ENV): Likewise.
12424 (tst-c16c32-1-ENV): Likewise.
12425 (tst-mbsnrtowcs-ENV): Likewise.
12426
cd1fb604
OB
124272014-06-05 Ondřej Bílka <neleai@seznam.cz>
12428
12429 * manual/resource.texi (How to get information about the memory
12430 subsystem?): Fix typo.
12431 Reported by Peon de la Parra Ivan <peon@keba.com>
12432
b42eca7d
GY
124332014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12434
12435 [BZ #16882]
12436 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12437 (pthread_spin_lock): Branch out of spin loop to proper location.
12438 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12439 (pthread_spin_lock): Likewise.
12440
902b71f9
DM
12441 * nptl/tst-spin4.c: New test.
12442 * nptl/Makefile (tests): Add tst-spin4.
12443
f9d2d032
AS
124442014-06-03 Andreas Schwab <schwab@suse.de>
12445
12446 [BZ #15946]
12447 * resolv/res_send.c (send_dg): Reload file descriptor after
12448 calling reopen.
12449
cf7bfd28
SL
124502014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12451
12452 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12453
111cc714
RH
124542014-06-03 Richard Henderson <rth@redhat.com>
12455
89b4bd6b
RH
12456 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12457 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12458 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12459 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12460 in the SAVE_PID block.
12461 (__libc_vfork): New alias.
71840409 12462 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 12463
111cc714
RH
12464 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12465 child in registers, not on the stack. Remove RESET_PID conditionals.
12466 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12467
ccc39911
MS
124682014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12469
12470 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12471
693096cc
W
124722014-06-03 Wilco <wdijkstr@arm.com>
12473
12474 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12475 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12476 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12477 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12478 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12479 Likewise.
12480
0b4366bc
W
124812014-06-03 Wilco <wdijkstr@arm.com>
12482
12483 * sysdeps/aarch64/fpu/math_private.h
12484 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12485 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12486 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12487 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12488 Fix declarations.
12489
8747cd03
KS
124902014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12491
12492 * crypt/crypt-private.h: Include ufc-crypt.h.
12493 (__b64_from_24bit): Declare extern.
12494 * crypt/crypt_util.c(__b64_from_24bit): New function.
12495 (b64t): New static const variable.
12496 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12497 (b64t): Remove variable.
12498 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12499 * crypt/sha256-crypt.c: Include crypt-private.h.
12500 (b64t): Remove variable.
12501 (__sha256_crypt_r): Remove b64_from_24bit and replace
12502 with __b64_from_24bit.
12503 * crypt/sha512-crypt.c: Likewise.
12504
d936d379
RM
125052014-06-02 Roland McGrath <roland@hack.frob.com>
12506
12507 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12508 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12509 Label the code __libc_vfork rather than __vfork.
12510 [!NOT_IN_libc] (vfork): Define as weak alias.
12511 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12512 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12513 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12514
9fa76613
SP
125152014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12516
12517 * malloc/malloc.c (malloc_info): Fix format specifier for
12518 n_mmaps.
12519
a88dadbe
W
125202014-06-02 Wilco <wdijkstr@arm.com>
12521
12522 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12523 FPCR write.
12524
c95b3011
W
125252014-06-02 Wilco <wdijkstr@arm.com>
12526
12527 [BZ #17009]
12528 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12529 Rewrite to reduce FPCR/FPSR accesses.
12530
6b4d7a90
DM
125312014-06-01 David S. Miller <davem@davemloft.net>
12532
12533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12534
30f3d07c
DM
125352014-05-31 David S. Miller <davem@davemloft.net>
12536
12537 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12538 to occur in round to nearest mode when |x| >= 2.0
12539
74f31c18
RH
125402014-05-30 Richard Henderson <rth@twiddle.net>
12541
f0712b54
RH
12542 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12543 (PSEUDO_RET_NOERRNO): Remove.
12544 (ret): Don't redefine.
12545 (ret_NOERRNO): Define in terms of ret.
12546 (ret_ERRVAL): Likewise.
12547
74f31c18
RH
12548 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12549 use of PSEUDO_RET; perform the error check directly.
12550
30477995
MM
125512014-05-30 Marko Myllynen <myllynen@redhat.com>
12552
12553 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12554 with __int128_t.
12555
62a58816
SP
125562014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12557
12558 * malloc/malloc (malloc_info): Fix formatting.
12559
4d653a59
SP
125602014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12561 Roland McGrath <roland@hack.frob.com>
12562
12563 * malloc/malloc (malloc_info): Also print mmapped statistics.
12564
5190c17f
RM
125652014-05-30 Roland McGrath <roland@hack.frob.com>
12566
12567 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12568 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12569
987c0269
OB
125702014-05-30 Ondřej Bílka <neleai@seznam.cz>
12571
12572 * malloc/malloc.c (malloc_info): Inline mi_arena.
12573
af4e8ef9
RH
125742014-05-29 Richard Henderson <rth@twiddle.net>
12575
1670e207
RH
12576 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12577 Remove comma before expanding ASM_ARGS_##nr.
12578 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12579 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12580 of ASM_ARGS_##nr.
12581 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12582 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12583 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12584 (ASM_ARGS_1): Add leading comma.
12585
11a28aee
RH
12586 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12587 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12588 to __errno_location.
12589 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12590 Remove the expected plt for __errno_location.
12591
a17e5ffb 12592 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 12593 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
12594 call to __read_tp.
12595
b5be4597
RH
12596 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12597 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12598 it and break it down.
12599 (DOCARGS_0, DOCARGS_1): Do nothing.
12600 (DOCARGS_2): Update to store into the new stack frame.
12601 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12602 (UNDOCARGS_1): Update to restore from the new stack frame.
12603 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12604 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12605
645d44ab
RH
12606 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12607 (SINGLE_THREAD_P): New parameter for result regno.
12608 (PSEUDO): Update to match; use cbz instead of beq.
12609
a8b4f04a
RH
12610 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12611 Use ENTRY to define the _nocancel entry point. Share the syscall
12612 and syscall error check paths with the cancel path.
12613 (PSEUDO_END): New.
12614
af4e8ef9
RH
12615 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12616 whitespace; tabs before and after asm mnemonics.
12617
26b0d2e1
EW
126182014-05-29 Eric Wong <normalperson@yhbt.net>
12619
12620 [BZ #15132]
12621 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12622 Call fstat64 or stat64 internally, depending on arguments passed.
12623 Replace stat buffer argument with file descriptor argument.
12624 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12625 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12626 Pass fd to __internal_statvfs instead of calling fstat64.
12627 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12628 Pass fd to __internal_statvfs64 instead of calling fstat64.
12629 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12630 Pass -1 to __internal_statvfs instead of calling stat64.
12631 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12632 Pass -1 to __internal_statvfs64 instead of calling stat64.
12633
1efe2bd9
RM
126342014-05-28 Roland McGrath <roland@hack.frob.com>
12635
0d3b7a19
RM
12636 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12637 that was previously under [RESET_PID].
12638 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12639
1efe2bd9
RM
12640 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12641 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12642
a6bea3ca
RM
126432014-05-27 Roland McGrath <roland@hack.frob.com>
12644
30b6629e
RM
12645 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12646
a6bea3ca
RM
12647 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12648 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12649
3dfb9a5c
OB
126502014-05-27 Ondřej Bílka <neleai@seznam.cz>
12651
12652 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12653
774f9285
AS
126542014-05-27 Andreas Schwab <schwab@suse.de>
12655
12656 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12657 TLS_INIT_TP macro.
12658 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12659 * elf/rtld.c (init_tls, dl_main): Likewise.
12660 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12661 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12662 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12663 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12664 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12665 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12666 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12667 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12668 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12669 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12670 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12671 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12672 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12673 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12674 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12675 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12676 * sysdeps/generic/tls.h: Update description.
12677
36ffe739
WN
126782014-05-27 Will Newton <will.newton@linaro.org>
12679
12680 [BZ #16990]
12681 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12682 and restore r2 rather than just restoring.
12683
2482ae43
SP
126842014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12685
12686 [BZ #16724]
12687 * libio/tst-ftell-append.c: New test case.
12688 * libio/Makefile (tests): Add test case.
12689 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12690 append mode.
12691 * libio/wfileops.c (do_ftell_wide): Likewise.
12692
3d1024e8
AZ
126932014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12694
bab90016
AZ
12695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12696
c7a8d667
AZ
12697 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12698 ...
12699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12701 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12702 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12703 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12704 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12705 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12706 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12708 Moved ...
12709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12710 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12711 Moved ...
12712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12713 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12714 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12715 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12716 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12717 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12718 ...
12719 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12720 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12721 Moved ...
12722 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12723 here.
12724 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12725 ...
12726 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12727 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12728 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12729
daee7851
AZ
12730 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12731 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12732 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12733 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12734
50a40819
AZ
12735 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12736 merge into ...
12737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12739 ...
12740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12741 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12742 ...
12743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12744 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12745 Moved ...
12746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12747 here.
12748 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12749 Moved ...
12750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12751 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12752 Moved ...
12753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12754
8464c2a1
AZ
12755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12756 conditional [RESET_PID].
12757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12758 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12759 removed.
12760 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12761 removed.
12762
3d1024e8
AZ
12763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12764 <tcb-offsets.h>.
12765 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12766 (__libc_vfork): New strong alias.
12767 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12768 removed.
12769 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12770 Removed.
12771
12772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12773 <tcb-offsets.h>.
12774 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12775 (__libc_vfork): New strong alias.
12776 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12777 removed.
12778 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12779 removed.
12780
fdfd175d
CD
127812014-05-26 Carlos O'Donell <carlos@redhat.com>
12782
12783 * malloc/malloc.c (mi_arena): New function.
12784 (malloc_info): Remove nested function mi_arena. Call non-nosted
12785 function mi_arena.
12786
d298c416
AZ
127872014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12788
12789 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12790 by insrwi.
12791 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12792 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12793 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12794 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12795 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12796 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12797 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12798
b60ea6ff
AS
127992014-05-26 Andreas Schwab <schwab@suse.de>
12800
12801 [BZ #16984]
12802 * locale/programs/repertoire.c (repertoire_read): Add slash
12803 between I18NPATH element and file name.
12804 * locale/programs/locfile.c (locfile_read): Likewise.
12805
67365926
SL
128062014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12807
12808 * nptl/pthread_mutexattr_settype.c
12809 (__pthread_mutexattr_settype):
12810 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12811
f8bdf1f0
SL
128122014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12813
12814 * nptl/tst-mutex5 (do_test):
12815 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12816
15eaf6ff
SP
128172014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12818
12819 * benchtests/README: Document 'init' directive.
12820 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12821 BENCH_INIT.
12822 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12823 (parse_file): Recognize 'init' directive.
12824
75f11331
KM
128252014-05-26 Kyle McMartin <kyle@redhat.com>
12826
12827 [BZ #16796]
12828 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12829 alignment of struct pthread.
12830
c3ec475c
SP
128312014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12832
12833 [BZ #16878]
12834 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12835 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12836 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12837 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12838
82aab97c
RH
128392014-05-25 Richard Henderson <rth@twiddle.net>
12840
aa2f176d
RH
12841 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12842 (SINGLE_THREAD_P_PIC): Remove.
12843 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12844 (SINGLE_THREAD_P_PIC): Remove.
12845
ca3cfa40
RH
12846 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12847 branch to syscall error ...
12848 (PSEUDO): ... here.
12849 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12850 from __local_syscall_error to .Lsyscall_error.
12851 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12852 (SYSCALL_ERROR): Update label name.
12853
6e6c2d01
RH
12854 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12855 Do not use DOARGS/UNDOARGS.
12856 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12857 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12858 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12859 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12860 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12861
c69abcee
RH
12862 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12863 block comment.
12864
82aab97c
RH
12865 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12866 define if !NOT_IN_libc.
12867 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12868 define with non-default symbol versions.
12869
8820e3ac
RH
128702014-05-23 Richard Henderson <rth@twiddle.net>
12871
900e445f
RH
12872 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12873 (vfork, __vfork): Define via compat_symbol.
12874
8820e3ac
RH
12875 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12876 [!HAVE_IFUNC] (vfork_compat): Remove.
12877 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12878
e59252a5
JM
128792014-05-23 Joseph Myers <joseph@codesourcery.com>
12880
12881 [BZ #16978]
12882 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12883 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12884 variable.
12885
132c7f5f
RH
128862014-05-23 Richard Henderson <rth@twiddle.net>
12887
bc89e962
RH
12888 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12889 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12890 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12891 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12892
12893 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12894 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12895 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12896 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12897 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12898 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12899 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12900 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12901 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12902 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12903 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12904 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12905 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12906 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12907 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12908 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12909 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12910 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12911 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12912 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12913 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12914 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12915 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12916 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12917 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12918 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12919 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12920 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12921 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12922 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12923 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12924 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12925 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12926 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12927 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12928 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12929 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12930 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12931 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12932 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12933 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12934 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12935 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12936 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12937 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12938 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12939 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12940 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12941 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12942 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12943 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12944 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12945 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12946 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12947 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12948 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12949
e2fa4bc2
RH
12950 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12951 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12952 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12953 before exiting on error.
12954 (__libc_vfork): New strong alias.
12955 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12956 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12957
279b24e2
RH
12958 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12959 that was previously under [RESET_PID].
12960 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12961
132c7f5f
RH
12962 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12963
b72592e7
JM
129642014-05-23 Joseph Myers <joseph@codesourcery.com>
12965
12966 [BZ #16977]
12967 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12968 value when x - 1 is zero.
12969 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12970 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12971 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12972 0.0L for an argument of 1.0L.
12973 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12974 Likewise.
12975 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12976 value when x - 1 is zero.
12977 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12978 * sysdeps/i386/fpu/libm-test-ulps: Update.
12979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12980
2302d679
RV
129812014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12982
12983 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12984 alphasort and versionsort.
12985
32999d63
AZ
129862014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12987
12988 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12989 macro.
12990 [copysignf]: Likewise.
12991
019324d0
SP
129922014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12993
12994 * crypt/md5-crypt.c: Fix formatting.
12995
34fff5c2
KS
129962014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12997
12998 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12999 (b64_from_24bit): New function.
13000
3d2badac
AZ
130012014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13002
13003 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13004 libc_hidden_builtin_def to ifunc.
13005 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13006 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13007
f7bb179f 130082014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
13009
13010 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13011 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13012
4134b50d
JM
130132014-05-21 Joseph Myers <joseph@codesourcery.com>
13014
bb7d0337
JM
13015 * nscd/Depend (linuxthreads): Remove.
13016 (nptl): Add.
13017 * resolv/Depend (linuxthreads): Remove.
13018 * rt/Depend (linuxthreads): Remove.
13019
4134b50d
JM
13020 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13021 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13022 $(common-objpfx)elf/.
13023 (link-libc-before-gnulib): Likewise.
13024 (elfobjdir): Remove variable.
13025 * Makefile (install): Use $(elf-objpfx) instead of
13026 $(common-objpfx)elf/.
13027 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13028 $(elfobjdir)/.
13029 (link-libc-deps): Likewise.
13030 ($(common-objpfx)libc.so): Likewise.
13031 ($(common-objpfx)linkobj/libc.so): Likewise.
13032 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13033 instead of $(common-objpfx)elf/.
13034 (symbolic-link-list): Likewise.
13035 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13036 [$(cross-compiling) = no]: Likewise.
13037 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13038 $(elfobjdir)/.
13039 (static-gnulib-arch): Likewise.
13040 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13041 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13042 $(common-objpfx)elf/.
13043
3612eb8f
RH
130442014-05-21 Richard Henderson <rth@redhat.com>
13045
a6b3657b
RH
13046 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13047 (SINGLE_THREAD_P): Use the correct width load. Fold
13048 into the ldr offset.
13049
3612eb8f
RH
13050 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13051 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13052
175cef41
JM
130532014-05-20 Joseph Myers <joseph@codesourcery.com>
13054
13055 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13056 (libgcc_s_resume): Use __attribute_used__.
13057 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13058 Likewise.
13059
e13bccd3
AZ
130602014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13061
13062 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13063 optimization when used with float constants.
13064
7c112a38
AZ
13065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13066
ae75a883
AJ
130672014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13068
13069 [BZ #16915]
13070 * locale/nl_langinfo_l.c: Make direct reference to every
13071 _nl_current_CATEGORY symbol.
13072 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13073 (tests-static): Add tst-langinfo-static.
13074 (tests-special): Add tst-langinfo-static.out.
13075 ($(objpfx)tst-langinfo.out): Redirect output.
13076 ($(objpfx)tst-langinfo-static.out): New.
13077 * localedata/tst-langinfo.sh: Send output to stdout.
13078 * localedata/tst-langinfo-static.c: New file.
13079
4406c41c
AJ
13080 [BZ #16965]
13081 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13082 when the shift amount is modulo the limb size.
13083
4c0a1e63
RH
130842014-05-20 Richard Henderson <rth@redhat.com>
13085
de9d8f20
RH
13086 [BZ #16967]
13087 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13088 Change type of sa_flags from unsigned int to int.
13089
4c0a1e63
RH
13090 [BZ #16966]
13091 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
13092
13093 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13094
a60339aa
WN
130952014-05-20 Will Newton <will.newton@linaro.org>
13096
13097 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13098 Test the return value of the system call in the nocancel case.
13099
7d05a816
YR
131002014-05-20 Will Newton <will.newton@linaro.org>
13101 Yvan Roux <yvan.roux@linaro.org>
13102
13103 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13104 #include of asm/ptrace.h.
13105 (PTRACE_GET_THREAD_AREA): Remove #undef.
13106 (PTRACE_GETHBPREGS): Likewise.
13107 (PTRACE_SETHBPREGS): Likewise.
13108 (struct user_regs_struct): New structure.
13109 (struct user_fpsimd_struct): New structure.
13110 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13111 #include of asm/ptrace.h and second #include of sys/user.h.
13112 (PTRACE_GET_THREAD_AREA): Remove #undef.
13113 (PTRACE_GETHBPREGS): Likewise.
13114 (PTRACE_SETHBPREGS): Likewise.
13115 (ELF_NGREG): Use new struct user_regs_struct.
13116 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13117
af121e37
AZ
131182014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13119
13120 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13121 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13122
834caf06
JM
131232014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13124
13125 [BZ #16958]
13126 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13127 membar to avoid block loads/stores to overlap previous stores.
13128
e184a918
RH
131292014-05-17 Richard Henderson <rth@redhat.com>
13130
13131 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13132 Create the __##syscall_name##_nocancel entry point.
13133 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13134 Remove; let the sysdep-cancel.h code create it.
13135
f56c7a6a
DM
131362014-05-17 David S. Miller <davem@davemloft.net>
13137
13138 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13139 Protect with __USE_GNU.
13140 (TIOCSET_TEMPT): Likewise.
13141 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13142 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13143 these are already provided in bits/ioctl-types.h
13144
f75616b2
RM
131452014-05-16 Roland McGrath <roland@hack.frob.com>
13146
3edeca86
RM
13147 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13148 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13149
f75616b2
RM
13150 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13151 Use wait4 regardless of [__NR_waitpid].
13152
deb0f7f6
MR
131532014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13154
13155 PR libgcc/60166
13156 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13157 (_FP_NANSIGN_Q): Set the quiet bit.
13158
79520f4b
JM
131592014-05-16 Joseph Myers <joseph@codesourcery.com>
13160
13161 * benchtests/Makefile
13162 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13163 not $(common-objpfx)math/libm.so.
13164 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13165 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13166 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13167 $(common-objpfx)dlfcn/libdl.so.
13168 ($(objpfx)tst-audit8): Depend on $(libm), not
13169 $(common-objpfx)math/libm.so.
13170 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13171 not $(common-objpfx)dlfcn/libdl.so.
13172 * math/Makefile
13173 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13174 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13175 [$(build-shared) = yes].
13176 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13177 $(common-objpfx)nptl/libpthread.so.
13178 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13179 $(common-objpfx)math/libm.so$(libm.so-version) or
13180 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13181 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13182 $(common-objpfx)dlfcn/libdl.so.
13183 * setjmp/Makefile (link-libm): Remove variable.
13184 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13185 * stdio-common/Makefile (link-libm): Remove variable.
13186 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13187 * stdlib/Makefile (link-libm): Remove variable.
13188 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13189 ($(objpfx)tst-strtod-round): Likewise.
13190 ($(objpfx)tst-tininess): Likewise.
13191 ($(objpfx)tst-strtod-underflow): Likewise.
13192 ($(objpfx)tst-strtod6): Likewise.
13193 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13194 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13195 $(common-objpfx)dlfcn/libdl.so.
13196
026b0fe4
AZ
131972014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13198
13199 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13200 BSD terminal modes definitions.
13201
def4bcb2
RM
132022014-05-16 Roland McGrath <roland@hack.frob.com>
13203
fe39b021
RM
13204 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13205 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13206
1d1fc46e 13207 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
13208 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13209 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13210 Don't do #include_next.
13211 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13212 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13213 Don't do #include_next.
13214 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13215 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13216 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13217 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13218
c72399fb
AM
132192014-05-16 Allan McRae <allan@archlinux.org>
13220
d51d659d
AM
13221 * po/sv.po: Update Swedish translation from translation project.
13222
c72399fb
AM
13223 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13224 in sed expression.
13225
d0583c40
AJ
132262014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13227
13228 [BZ #16917]
13229 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13230 errno if the TIOCGPTN ioctl fails with an error different than
13231 EINVAL.
13232 * login/tst-ptsname.c: New file.
13233 * login/Makefile (tests): Add tst-ptsname.
13234
d16e6ec7
AJ
13235 [BZ #16943]
13236 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13237 and prlimit64.
13238
cf26a0cb
SP
132392014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13240
13241 [BZ #16849]
13242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13243 herrno to return EAI_AGAIN.
13244
5675da1e
RM
132452014-05-14 Roland McGrath <roland@hack.frob.com>
13246
a5d87b3d
RM
13247 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13248 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13249 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13250 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13251 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13252 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13253 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13254 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13255 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13256 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13257 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13258 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13259 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13260 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13261 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13262 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13263 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13264 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13265 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13266 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13267 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13268 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13269 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13270 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13271 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13272 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13273 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13274 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13275 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13276 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13278 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13280 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13282 Moved ...
13283 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13285 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13287 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13289 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13291 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13293 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13295 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13297 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13299 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13301 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13303 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13305 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13307 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13309 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13311 Moved ...
13312 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13314 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13316 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13318 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13320 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13322 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13324 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13326 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13328 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13330 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13332 Moved ...
13333 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13335 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13336
039890a6
RM
13337 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13338 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13339 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13340 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13341 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13342 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13343 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13344 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13345 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13346 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13347 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13348 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13349 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13350 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13351 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13352 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13353 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13354 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13355 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13356 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13357 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13358 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13359 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13360 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13361 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13362 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13363 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13364 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13365 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13366 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13367 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13368
65c89320
RM
13369 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13370 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13371
348f8e8c
RM
13372 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13373 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13374 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13375 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13376 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13377 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13378 Moved ...
13379 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13380 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13381 Moved ...
13382 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13383 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13384 Moved ...
13385 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13386 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13387 Moved ...
13388 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13389 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13390 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13391 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13392 Moved ...
13393 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13394 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13395 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13396 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13397 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13398 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13399 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13400 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13401 Moved ...
13402 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13403 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13404 Moved ...
13405 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13406 ... here.
13407 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13408 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13409 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13410 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13411 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13412 Moved ...
13413 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13414 ... here.
13415 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13416 Moved ...
13417 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13418 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13419 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13420 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13421 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13422 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13423 Moved ...
13424 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13425 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13426 Moved ...
13427 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13428 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13429 Moved ...
13430 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13431 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13432 Moved ...
13433 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13434 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13435 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13436 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13437 Moved ...
13438 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13439 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13440 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13441 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13442 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13443 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13444 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13445 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13446 Moved ...
13447 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13448 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13449 Moved ...
13450 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13451 ... here.
13452 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13453 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13454 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13455 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13456 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13457 Moved ...
13458 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13459 ... here.
13460 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13461 Moved ...
13462 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13463 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13464 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13465 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13466 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13467 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13468 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13469 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13470 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13471 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13472 Moved ...
13473 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13474 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13475 Moved ...
13476 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13477 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13478 Moved ...
13479 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13480 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13481 Moved ...
13482 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13483 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13484 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13485 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13486 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13487 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13488 Moved ...
13489 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13490 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13491 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13492 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13493 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13494 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13495 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13496 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13497 Moved ...
13498 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13499 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13500 Moved ...
13501 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13502 ... here.
13503 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13504 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13505 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13506 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13507 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13508 Moved ...
13509 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13510 ... here.
13511 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13512 Moved ...
13513 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13514 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13515 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13516 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13517 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13518 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13519 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13520 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13521 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13522 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13523 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13524
5085af05
RM
13525 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13526 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13527
708f0813
RM
13528 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13529 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13530
c96067bc
RM
13531 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13532 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13533 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13534 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13535 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13536 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13537 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13538 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13539 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13540 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13541 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13542 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13543 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13544 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13545 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13546 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13547 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13548 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13549 Moved ...
13550 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13551 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13552 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13553 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13554 Moved ...
13555 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13556 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13557 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13558 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13559 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13560 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13561 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13562 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13563 Moved ...
13564 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13565 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13566 Moved ...
13567 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13568 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13569 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13570 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13571 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13572 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13573 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13574 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13575 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13576 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13577 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13578 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13579 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13580 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13581 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13582 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13583 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13584
ec136444
RM
13585 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13586 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13587 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13588 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13589 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13590
2fbdf533
RM
13591 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13592 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13593 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13594 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13595 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13596 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13597 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13598 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13599 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13600 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13601
4c68138b
RM
13602 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13603 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13604
4eaae765
RM
13605 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13606 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
13607 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13608 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13609 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13610 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13611 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13612 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13613 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13614 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13615 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13616 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13617 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13618 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13619 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13620 Update #include.
13621 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13622 Likewise.
13623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13624 Likewise.
13625 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13626 Likewise.
13627 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13628 Likewise.
13629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13630 Likewise.
13631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13632 Likewise.
13633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13634 Likewise.
13635 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13636 Likewise.
13637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13638 Likewise.
4ef6befa
RM
13639 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13640 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13641 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13642 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13643 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
13644 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13645 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13646 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13647 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13648 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13649 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13650 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13651 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13652 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13653 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 13654
941d7dfd
RM
13655 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13656 that was previously under [RESET_PID].
13657 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13658 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13659 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13660
1b731c35
RM
13661 * sysdeps/i386/nptl/Implies: New file.
13662 * sysdeps/x86_64/nptl/Implies: New file.
13663 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13664 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13665 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13666 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13667
e2787137
RM
13668 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13669 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13670 (__libc_vfork): New strong alias.
13671 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13672 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13673
13674 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13675 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13676 (__libc_vfork): New strong alias.
13677 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13678 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13679
5675da1e
RM
13680 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13681 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13682 (__libc_vfork): New strong alias.
13683 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13684 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13685 * nptl/pt-vfork.c: New file.
13686 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13687 (libpthread: GLIBC_2.20): New version set (empty).
13688
4f02e2b8
WN
136892014-05-14 Will Newton <will.newton@linaro.org>
13690
13691 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13692 rather than #if.
13693
0bf061d3
JM
136942014-05-14 Joseph Myers <joseph@codesourcery.com>
13695
1a84c3d6
JM
13696 [BZ #16564]
13697 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13698 arguments with exponent 65 or above.
13699 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13700 arguments 0x1p113L or above.
13701 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13702 to arguments 0x1p107L or above.
13703 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13704 positive arguments with exponent 65 or above.
13705 * math/auto-libm-test-in: Add more tests of log1p.
13706 * math/auto-libm-test-out: Regenerated.
13707
01dbacd2
JM
13708 [BZ #16928]
13709 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13710 non-finite arguments is +0.
13711 * math/s_cacosf.c (__cacosf): Likewise.
13712 * math/s_cacosl.c (__cacosl): Likewise.
13713 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13714 * sysdeps/i386/fpu/libm-test-ulps: Update.
13715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13716
913d03c8
JM
13717 [BZ #16927]
13718 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13719 value.
13720 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13721 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13722 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13723 for explicit high bit of mantissa when testing for argument equal
13724 to 1.
13725 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13726 * sysdeps/i386/fpu/libm-test-ulps: Update.
13727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13728
0bf061d3
JM
13729 [BZ #16516]
13730 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13731 (__erf): Scale by 16 instead of 8 in potentially underflowing
13732 case. Ensure exception if result actually underflows.
13733 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13734 (__erff): Scale by 16 instead of 8 in potentially underflowing
13735 case. Ensure exception if result actually underflows.
13736 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13737 (efx8): Remove variable.
13738 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13739 case. Ensure exception if result actually underflows.
13740 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13741 (efx8): Remove variable.
13742 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13743 case. Ensure exception if result actually underflows.
13744 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13745 (efx8): Remove variable.
13746 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13747 case. Ensure exception if result actually underflows.
13748 * math/auto-libm-test-in: Add more tests of erf.
13749 * math/auto-libm-test-out: Regenerated.
13750
73ba67cb
AS
137512014-05-14 Andreas Schwab <schwab@suse.de>
13752
3d8c8bff
AS
13753 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13754 Remove code conditionalized on USE___THREAD.
13755
73ba67cb
AS
13756 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13757 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13758 not definedness.
13759
5c521ecd
JM
137602014-05-14 Joseph Myers <joseph@codesourcery.com>
13761
5e7698c6
JM
13762 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13763 Define unconditionally.
13764 (__ASSUME_O_CLOEXEC): Likewise.
13765 (__ASSUME_SOCK_CLOEXEC): Likewise.
13766 (__ASSUME_IN_NONBLOCK): Likewise.
13767 (__ASSUME_PIPE2): Likewise.
13768 (__ASSUME_EVENTFD2): Likewise.
13769 (__ASSUME_SIGNALFD4): Likewise.
13770 (__ASSUME_DUP3): Likewise.
13771 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13772 (__ASSUME_DUP3): Do not define.
13773 (__ASSUME_EVENTFD2): Likewise.
13774 (__ASSUME_IN_NONBLOCK): Likewise.
13775 (__ASSUME_O_CLOEXEC): Likewise.
13776 (__ASSUME_PIPE2): Likewise.
13777 (__ASSUME_SIGNALFD4): Likewise.
13778 (__ASSUME_SOCK_CLOEXEC): Likewise.
13779 (__ASSUME_UTIMES): Undefine.
13780 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13781 (__ASSUME_UTIMES): Do not define.
13782 (__ASSUME_O_CLOEXEC): Likewise.
13783 (__ASSUME_SOCK_CLOEXEC): Likewise.
13784 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13785 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13786 0x020621].
13787 (__ASSUME_PIPE2): Likewise.
13788 (__ASSUME_EVENTFD2): Likewise.
13789 (__ASSUME_SIGNALFD4): Likewise.
13790 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13791 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13792 Do not define.
13793 (__ASSUME_EVENTFD2): Likewise.
13794 (__ASSUME_SIGNALFD4): Likewise.
13795 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13796 (__ASSUME_32BITUIDS): Likewise.
13797 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13798 (__ASSUME_IPC64): Likewise.
13799 (__ASSUME_ST_INO_64_BIT): Likewise.
13800 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13801 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13802 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13803 (__ASSUME_UTIMES): Do not define.
13804 (__ASSUME_PSELECT): Likewise.
13805 (__ASSUME_PPOLL): Likewise.
13806 (__ASSUME_O_CLOEXEC): Likewise.
13807 (__ASSUME_SOCK_CLOEXEC): Likewise.
13808 (__ASSUME_IN_NONBLOCK): Likewise.
13809 (__ASSUME_PIPE2): Likewise.
13810 (__ASSUME_EVENTFD2): Likewise.
13811 (__ASSUME_SIGNALFD4): Likewise.
13812 (__ASSUME_DUP3): Likewise.
13813 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13814 (__ASSUME_UTIMES): Likewise.
13815 (__ASSUME_O_CLOEXEC): Likewise.
13816 (__ASSUME_SOCK_CLOEXEC): Likewise.
13817 (__ASSUME_IN_NONBLOCK): Likewise.
13818 (__ASSUME_PIPE2): Likewise.
13819 (__ASSUME_EVENTFD2): Likewise.
13820 (__ASSUME_SIGNALFD4): Likewise.
13821 (__ASSUME_DUP3): Likewise.
13822 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13823 (__ASSUME_UTIMES): Likewise.
13824 (__ASSUME_O_CLOEXEC): Likewise.
13825 (__ASSUME_SOCK_CLOEXEC): Likewise.
13826 (__ASSUME_IN_NONBLOCK): Likewise.
13827 (__ASSUME_PIPE2): Likewise.
13828 (__ASSUME_EVENTFD2): Likewise.
13829 (__ASSUME_SIGNALFD4): Likewise.
13830 (__ASSUME_DUP3): Likewise.
13831 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13832 Likewise.
13833 (__ASSUME_UTIMES): Likewise.
13834 (__ASSUME_EVENTFD2): Likewise.
13835 (__ASSUME_SIGNALFD4): Likewise.
13836 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13837 (__ASSUME_O_CLOEXEC): Likewise.
13838 (__ASSUME_SOCK_CLOEXEC): Likewise.
13839 (__ASSUME_IN_NONBLOCK): Likewise.
13840 (__ASSUME_PIPE2): Likewise.
13841 (__ASSUME_EVENTFD2): Likewise.
13842 (__ASSUME_SIGNALFD4): Likewise.
13843 (__ASSUME_DUP3): Likewise.
13844 (__ASSUME_UTIMES): Undefine.
13845
5c521ecd
JM
13846 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13847 feclearexcept. Remove symbol versioning code.
13848 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13849 symbol versioning code.
13850 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13851 symbol versioning code.
13852 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13853 feupdateenv. Remove symbol versioning code.
13854 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13855 fegetexceptflag. Remove symbol versioning code.
13856 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13857 fesetexceptflag. Remove symbol versioning code.
13858 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13859 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13860 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13861 (__posix_fadvise64_l32): Remove prototype.
13862 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13863 code.
13864
5da9dfad
RM
138652014-05-13 Roland McGrath <roland@hack.frob.com>
13866
13867 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13868 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13869 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13870 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13871
893b4f37
SK
138722014-05-13 Sami Kerola <kerolasa@iki.fi>
13873
13874 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13875 current working directory
13876
e0db6517
RM
138772014-05-13 Roland McGrath <roland@hack.frob.com>
13878
58aa195d
RM
13879 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13880 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13881 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13882 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13883 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13884 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13885 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13886 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13887 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13888 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13889 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13890 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13891 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13892 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13893 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13894 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13895 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13896 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13897 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13898 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13899 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13900 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13901 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13902 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13903 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13904 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13905 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13906 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13907 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13908 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13909 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13910 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13911 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13912 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13913 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13914 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13915 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13916 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13917 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13918 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13919 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13920 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13921
8c6d01f0
RM
13922 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13923 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13924
13925 * sysdeps/unix/sysv/linux/arm/Makefile
13926 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13927 Add rt-aeabi_unwind_cpp_pr1.
13928 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13929 Add nptl-aeabi_unwind_cpp_pr1.
13930 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13931 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13932 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13933 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13934 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13935 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13936
13937 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13938 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13939 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13940 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13941
bba6da4e
RM
13942 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13943 Deconditionalize the code that was previously under [RESET_PID].
13944 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13945
e0db6517
RM
13946 * sysdeps/generic/exit-thread.h: New file.
13947 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13948 * include/unistd.h (__exit_thread): Remove declaration.
13949 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13950 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13951 * csu/libc-start.c: Include <exit-thread.h>.
13952 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13953 * nptl/pthread_create.c: Include <exit-thread.h>.
13954 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13955 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13956 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13957 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13958 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13959 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13960 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13961 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13962 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13963 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13964 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13965 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13966 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13967 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13968 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13969 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13970 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13971
01eb16fd
AS
139722014-05-13 Andreas Schwab <schwab@suse.de>
13973
13974 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13975
637461d9
JM
139762014-05-12 Joseph Myers <joseph@codesourcery.com>
13977
13978 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13979 (__ASSUME_UTIMES): Do not condition on kernel version.
13980 (__ASSUME_PSELECT): Define unconditionally.
13981 (__ASSUME_PPOLL): Likewise.
13982 (__ASSUME_ATFCTS): Likewise.
13983 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13984 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13985 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13986 (__ASSUME_UTIMENSAT): Define unconditionally.
13987 (__ASSUME_PRIVATE_FUTEX): Likewise.
13988 (__ASSUME_FALLOCATE): Likewise.
13989 (__ASSUME_O_CLOEXEC): Likewise.
13990 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13991 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13992 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13993 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13994 (__ASSUME_IN_NONBLOCK): Likewise.
13995 (__ASSUME_PIPE2): Likewise.
13996 (__ASSUME_EVENTFD2): Likewise.
13997 (__ASSUME_SIGNALFD4): Likewise.
13998 (__ASSUME_DUP3): Likewise.
13999 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14000 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14001 (__ASSUME_AT_RANDOM): Likewise.
14002 (__ASSUME_PREADV): Likewise.
14003 (__ASSUME_PWRITEV): Likewise.
14004 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14005 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14006 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14007 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14008 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14009 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14010 (__ASSUME_O_CLOEXEC): Define unconditionally.
14011 (__ASSUME_PSELECT): Do not undefine conditionally.
14012 (__ASSUME_PPOLL): Likewise.
14013 (__ASSUME_ATFCTS): Likewise.
14014 (__ASSUME_SET_ROBUST_LIST): Likewise.
14015 (__ASSUME_UTIMENSAT): Likewise.
14016 (__ASSUME_FDATASYNC): Define unconditionally.
14017 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14018 (__ASSUME_SIGFRAME_V2): Likewise.
14019 )__ASSUME_EVENTFD2): Likewise.
14020 (__ASSUME_SIGNALFD4): Likewise.
14021 (__ASSUME_PSELECT): Do not undefine conditionally.
14022 (__ASSUME_PPOLL): Likewise.
14023 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14024 (__ASSUME_PSELECT): Define unconditionally.
14025 (__ASSUME_PPOLL): Likewise.
14026 (__ASSUME_O_CLOEXEC): Likewise.
14027 (__ASSUME_SOCK_CLOEXEC): Likewise.
14028 (__ASSUME_IN_NONBLOCK): Likewise.
14029 (__ASSUME_PIPE2): Likewise.
14030 (__ASSUME_EVENTFD2): Likewise.
14031 (__ASSUME_SIGNALFD4): Likewise.
14032 (__ASSUME_DUP3): Likewise.
14033 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14034 (__ASSUME_O_CLOEXEC): Likewise.
14035 (__ASSUME_SOCK_CLOEXEC): Likewise.
14036 (__ASSUME_IN_NONBLOCK): Likewise.
14037 (__ASSUME_PIPE2): Likewise.
14038 (__ASSUME_EVENTFD2): Likewise.
14039 (__ASSUME_SIGNALFD4): Likewise.
14040 (__ASSUME_DUP3): Likewise.
14041 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14042 (__ASSUME_EVENTFD2): Likewise.
14043 (__ASSUME_SIGNALFD4): Likewise.
14044 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14045
315eb1d8
AS
140462014-05-12 Andreas Schwab <schwab@suse.de>
14047
14048 [BZ #16932]
14049 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14050 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14051 than maximum RPC packet size.
14052 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14053 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14054 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14055 (_nss_nis_getservbyport_r): Likewise.
14056
91df99f7
WN
140572014-05-12 Will Newton <will.newton@linaro.org>
14058
14059 * malloc/Makefile (tests): Add tst-mallopt.
14060 * malloc/tst-mallopt.c: New file.
14061
0a982a29
RM
140622014-05-09 Roland McGrath <roland@hack.frob.com>
14063
14064 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14065 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14066
0ded08a5
AZ
140672014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14068
14069 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14070 (tst-tlsmod6.so): Likewise.
14071
55d4d550
RM
140722014-05-09 Roland McGrath <roland@hack.frob.com>
14073
14074 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14075
77d08aca
JM
140762014-05-09 Joseph Myers <joseph@codesourcery.com>
14077
14078 [BZ #16064]
14079 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14080 and <dl-procinfo.h>.
14081 (__fegetenv): Save SSE state in envp->__eip if supported.
14082 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14083 envp->__eip if supported.
14084 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14085 and <dl-procinfo.h>.
14086 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14087 __data_offset and __data_selector in environment to 0. Set SSE
14088 state if supported.
14089 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14090 test-fenv-sse.
14091 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14092 -mfpmath=sse.
14093 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14094
28162f4d
WN
140952014-05-09 Will Newton <will.newton@linaro.org>
14096
14097 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14098 and libc_relro_required for ARM.
14099 * sysdeps/arm/preconfigure: Regenerate.
14100
5a414ff7
DV
141012014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14102 Stefan Liebler <stli@linux.vnet.ibm.com>
14103
14104 * config.make.in (enable-lock-elision): New Makefile variable.
14105 * configure.ac: Likewise.
14106 * configure: Regenerate.
14107 * sysdeps/s390/configure.ac:
14108 Add check for gcc transactions support.
14109 * sysdeps/s390/configure: Regenerate.
14110 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14111 Build elision files if enabled.
14112 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14113 Add lock elision support for s390.
14114 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14115 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14116 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14117 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14118 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14119 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14120 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14121 Likewise.
14122 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14123 Likewise.
14124 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14125 Likewise.
14126 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14127 Likewise.
14128 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14129 (__lll_timedlock_elision, __lll_lock_elision)
14130 (__lll_unlock_elision, __lll_trylock_elision)
14131 (lll_timedlock_elision, lll_lock_elision)
14132 (lll_unlock_elision, lll_trylock_elision): Add.
14133 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14134 (pthread_mutex_t): Add lock elision support for s390.
14135
1a2f40e5
W
141362014-05-14 Wilco <wdijkstr@arm.com>
14137
14138 * sysdeps/arm/fclrexcpt.c: Cleanup.
14139 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14140 * sysdeps/arm/feenablxcpt.c: Cleanup.
14141 * sysdeps/arm/fegetenv.c: Cleanup.
14142 * sysdeps/arm/fegetexcept.c: Cleanup.
14143 * sysdeps/arm/fegetround.c: Cleanup.
14144 * sysdeps/arm/feholdexcpt.c: Cleanup.
14145 * sysdeps/arm/fesetenv.c: Cleanup.
14146 * sysdeps/arm/fesetround.c: Cleanup.
14147 * sysdeps/arm/feupdateenv.c: Cleanup.
14148 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14149 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14150 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14151 * sysdeps/arm/ftestexcept.c: Cleanup.
14152 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14153 * sysdeps/arm/setfpucw.c: Cleanup.
14154
f63c86fe
WN
141552014-05-09 Will Newton <will.newton@linaro.org>
14156
14157 * sysdeps/arm/armv7/strcmp.S: New file.
14158 * NEWS: Mention addition of ARMv7 optimized strcmp.
14159
7a1a51b5
RM
141602014-05-08 Roland McGrath <roland@hack.frob.com>
14161
95afbbe5
RM
14162 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14163 look for %.ac rather than %.in.
14164
14165 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14166 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14167 * sysdeps/mach/hurd/configure: Regenerated.
14168 * sysdeps/unix/sysv/linux/configure: Regenerated.
14169
7a1a51b5
RM
14170 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14171
5057ad3b
SE
141722014-05-07 Steve Ellcey <sellcey@mips.com>
14173
14174 [BZ# 16922]
14175 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14176 (LONG_SUB): Ditto.
14177 (PTR_SUB): Ditto.
14178
8dc97517
AS
141792014-05-07 Andreas Schwab <schwab@suse.de>
14180
14181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14182 when skipping over non-matching result from nscd.
14183
ce0c5b8f
OB
141842014-05-07 Ondřej Bílka <neleai@seznam.cz>
14185
14186 [BZ #16876]
14187 * nptl/sockperf.c (client): Check socket return value.
8dc97517 14188
a1189263
OB
14189 [BZ #16877]
14190 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14191 nscd security class.
ce0c5b8f 14192
0f58d252
RM
141932014-05-06 Roland McGrath <roland@hack.frob.com>
14194
14195 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14196 * sysdeps/arm/unwind.h: ... here.
14197
83df9ad0
AJ
141982014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14199
ce0c5b8f
OB
14200 [BZ# 16916]
14201 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14202 Define.
83df9ad0 14203
f360f94a
VR
142042014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14205
14206 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14207 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14208 multiarch strncpy for PPC64.
14209 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14210 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14212 multiarch optimizations.
14213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14214 (__libc_ifunc_impl_list): Likewise.
14215 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14216 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14217 multiarch stpncpy for PPC64.
14218 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14219 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14220
978a41c3
AS
142212014-05-06 Andreas Schwab <schwab@suse.de>
14222
14223 [BZ #16912]
14224 * gmon/mcount.c (_MCOUNT_DECL): Use
14225 atomic_compare_and_exchange_bool_acq instead of
14226 catomic_compare_and_exchange_bool_acq.
14227
eb1ed03d
RM
142282014-05-05 Roland McGrath <roland@hack.frob.com>
14229
fe658845
RM
14230 * elf/Makefile (others, install-bin): Remove pldd.
14231 (pldd-modules): Variable removed.
14232 ($(objpfx)pldd): Target removed.
14233 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14234 (others, install-bin): Append pldd here.
14235 ($(objpfx)pldd): New target.
14236
eb1ed03d
RM
14237 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14238 to 0, so the first #if test emitted later doesn't see it undefined.
14239 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14240 * sysdeps/gnu/errlist.c: Regenerated.
14241
19c4bec0
AZ
142422014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14243
14244 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14245 [libc_hidden_builtin_def]: Define to empty value.
14246 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14247 [libc_hidden_builtin_def]: Likewise.
14248 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14249 [libc_hidden_builtin_def]: Likewise.
14250 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14251 [libc_hidden_builtin_def]: Likewise.
14252 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14253 __redirect_memcpy and define ifunc as default hidden symbol.
14254 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14255 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14256
7776e669
AC
142572014-05-04 Adam Conrad <adconrad@0c3.net>
14258
14259 * locale/iso-4217.def: Reintroduce XDR currency.
14260
d69aeb12
AM
142612014-05-04 Allan McRae <allan@archlinux.org>
14262
14263 * po/eo.po: Update Esperanto translation from translation project.
14264
8f1df5cf
CD
142652014-05-02 Carlos O'Donell <carlos@redhat.com>
14266
14267 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14268 and FEATURE_INDEX_MAX to 1.
14269 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14270
13e402e7
SE
142712014-05-01 Steve Ellcey <sellcey@mips.com>
14272
14273 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14274 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14275 * iconvdata/big5.c (ONE_DIRECTION): Define.
14276 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14277 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14278 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14279 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14280 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14281 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14282 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14283 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14284 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14285 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14286 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14287 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14288 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14289 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14290 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14291 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14292 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14293 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14294 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14295 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14296 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14297 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14298 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14299 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14300 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14301 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14302 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14303 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14304 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14305 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14306 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14307 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14308 * iconvdata/johab.c (ONE_DIRECTION): Define.
14309 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14310 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14311 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14312 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14313 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14314 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14315 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14316 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14317 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14318 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14319
c727f032
RM
143202014-05-01 Roland McGrath <roland@hack.frob.com>
14321
8f2f08d0
RM
14322 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14323 (_IO_JUMPS_OFFSET): Define to 0.
14324
c727f032
RM
14325 * nptl/sysdeps/pthread/bits/libc-lock.h
14326 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14327 (__libc_lock_define_initialized_recursive): Always define using
14328 initializer. Modern compilers treat uninitialized (implicit zero) and
14329 explicit zero initializers the same (i.e. put the datum in bss).
14330
a849e800
AS
143312014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14332
14333 * nscd/nscd-client.h: Include <string.h>.
14334
5331255b
DM
143352014-05-01 David S. Miller <davem@davemloft.net>
14336
14337 [BZ #16885]
14338 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14339 multiple zero bytes exist at the end of a string.
14340 Reported by Aurelien Jarno <aurelien@aurel32.net>
14341
14342 * string/test-strcmp.c (check): Add explicit test for situations where
14343 there are multiple zero bytes after the first.
14344
4fdfe821
AS
143452014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14346
14347 [BZ #16890]
14348 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14349 when compiling wprintf.
14350 * stdio-common/tstdiomisc.c (t3): New function.
14351 (main): Call it.
14352
0cdddc25
SE
143532014-05-01 Steve Ellcey <sellcey@mips.com>
14354
14355 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14356 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14357 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14358 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14359
6426d77e
SE
143602014-05-01 Steve Ellcey <sellcey@mips.com>
14361
14362 * stdlib/longlong.h: Updated from GCC.
14363
6d96f5e4
WN
143642014-05-01 Will Newton <will.newton@linaro.org>
14365 Bernard Ogden <bernie.ogden@linaro.org>
14366
7470db0c
WN
14367 * NEWS: Update fixed bug list.
14368
6d96f5e4
WN
14369 [BZ #15119]
14370 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14371
211d653c
DM
143722014-04-30 David S. Miller <davem@davemloft.net>
14373
4fa262fa
DM
14374 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14375 (libc_feholdexcept_setround_sparc_ctx): New function.
14376 (libc_fesetenv_sparc_ctx): Likewise.
14377 (libc_feupdateenv_sparc_ctx): Likewise.
14378 (libc_feholdsetround_sparc_ctx): Likewise.
14379 (libc_feholdexcept_setround_ctx): Define.
14380 (libc_feholdexcept_setroundf_ctx): Likewise.
14381 (libc_feholdexcept_setroundl_ctx): Likewise.
14382 (libc_fesetenv_ctx): Likewise.
14383 (libc_fesetenvf_ctx): Likewise.
14384 (libc_fesetenvl_ctx): Likewise.
14385 (libc_feupdateenv_ctx): Likewise.
14386 (libc_feupdateenvf_ctx): Likewise.
14387 (libc_feupdateenvl_ctx): Likewise.
14388 (libc_feresetround_ctx): Likewise.
14389 (libc_feresetroundf_ctx): Likewise.
14390 (libc_feresetroundl_ctx): Likewise.
14391 (libc_feholdsetround_ctx): Likewise.
14392 (libc_feholdsetroundf_ctx): Likewise.
14393 (libc_feholdsetroundl_ctx): Likewise.
14394
1d3d93ef
DM
14395 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14396 with __USE_GNU instead of XOPEN cpp guards.
14397
8aa583c3
DM
14398 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14399 0.
14400
211d653c
DM
14401 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14402 with XOPEN cpp guards.
14403
60c8f1f6
JB
144042014-04-30 Julian Brown <julian@codesourcery.com>
14405
14406 [BZ #16888]
14407 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14408 handling.
14409
9a461d46
JM
144102014-04-30 Joseph Myers <joseph@codesourcery.com>
14411
d0f5b3f8
JM
14412 [BZ #9894]
14413 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14414 Change to 2.6.32.
14415 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14416 * sysdeps/unix/sysv/linux/configure: Regenerated.
14417 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14418 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14419 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14420 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14421 * README: Update reference to required Linux kernel version.
14422 * manual/install.texi (Linux): Update reference to required Linux
14423 kernel headers version.
14424 * INSTALL: Regenerated.
14425
9a461d46
JM
14426 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14427 header inclusion.
14428 [POSIX] (limits.h): Likewise.
14429 [POSIX] (math.h): Likewise.
14430 [POSIX] (sys/wait.h): Likewise.
14431 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14432 function.
14433 [POSIX] (stddef.h): Do not allow header inclusion.
14434
1775babf
AZ
144352014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14436
57f41c40 14437 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 14438
8f630cca
YY
144392014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14440
14441 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14442 Return immediately after lll_futex_wake.
14443
1cdeb237
SP
144442014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14445
bc8f194c
SP
14446 [BZ #16791]
14447 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14448 structure.
14449 (datahead_init_pos): Call datahead_init_common early.
14450 (datahead_init_neg): Likewise.
14451
1cdeb237
SP
14452 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14453 datahead_init_neg): New functions.
14454 * nscd/aicache.c (addhstaiX): Use them.
14455 * nscd/grpcache.c (cache_addgr): Likewise.
14456 * nscd/hstcache.c (cache_addhst): Likewise.
14457 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14458 * nscd/netgroupcache.c (do_notfound): Likewise.
14459 (addgetnetgrentX): Likewise.
14460 (addinnetgrX): Likewise.
14461 * nscd/pwdcache.c (cache_addpw): Likewise.
14462 * nscd/servicescache.c (cache_addserv): Likewise.
14463
16b293a7
SP
144642014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14465 Atsushi Onoe <atsushi@onoe.org>
14466
14467 [BZ #14308]
14468 [BZ #12994]
14469 [BZ #13651]
14470 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14471 one response is valid.
14472 * resolv/res_send.c (send_dg): Check for validity of other
14473 response if the current response is a referral.
14474
a28a9b94
SE
144752014-04-29 Steve Ellcey <sellcey@mips.com>
14476
14477 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14478
2ca180e9
SL
144792014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14480
14481 [BZ #16823]
14482 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14483 Always divide by positive zero when computing -Inf result.
14484 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14485 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14486
18f2945a
AZ
144872014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14488
14489 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14490 FPSCR if value do not change.
14491 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14492 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14493 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14494 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14495 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14496 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14497 function.
14498
5abebba4
CD
144992014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14500
14501 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14502 * sysdeps/unix/sysv/linux/hppa: Move directory from
14503 ports/systeps/unix/sysv/linux/hppa.
14504 * README: Update listing for hppa-*-linux-gnu.
14505
f7ed60c2
OB
145062014-04-28 Ondřej Bílka <neleai@seznam.cz>
14507
fff763a5
OB
14508 [BZ #16754]
14509 * manual/stdio.texi (Hook functions): Fix types of stream hook
14510 functions.
f7ed60c2
OB
14511 [BZ #16854]
14512 * socket/sys/socket.h: Fix typo in comment.
14513
df639d73
WD
145142014-04-28 Wilco <wdijkstr@arm.com>
14515
f7ed60c2 14516 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
14517 * sysdeps/arm/math_private.h: New file.
14518 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14519
48332d82
L
145202014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14521
14522 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14523 with __int128_t.
14524 (La_x86_64_retval): Likewise.
14525
e5e0d9a4
IB
145262014-04-24 Ian Bolton <ian.bolton@arm.com>
14527
14528 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14529 fpsr if value didn't change.
14530 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14531 to fpcr if value didn't change.
14532 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14533 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14534 fpsr or fpcr if value didn't change.
14535 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14536 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14537 fpcr if value didn't change.
14538 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14539 to fpsr if value didn't change.
14540
bacc75f7
SP
145412014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14542
14543 * nptl/tst-sem3.c: Use test-skeleton.c
14544 (main): Rename to do_test. Use return instead of
14545 exit.
14546 * nptl/tst-sem4.c: Use test-skeleton.c
14547 (main): Rename to do_test.
14548
a059d359
DM
145492014-04-22 David S. Miller <davem@davemloft.net>
14550
14551 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14552 (struct sigaction): New struct member __glibc_reserved0, change
14553 type of sa_flags to int.
14554
ea6c92f3
YZ
145552014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14556
14557 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14558 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14559
766c4a36
SP
145602014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14561
14562 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14563 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14564
140cc7ab
VK
145652014-04-22 Will Newton <will.newton@linaro.org>
14566 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14567
14568 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14569 (__longjmp): Add longjmp and longjmp_target SystemTap
14570 probes.
14571 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14572 (__sigsetjmp): Add setjmp SystemTap probe.
14573
c54e5cf7
CD
145742014-04-17 Carlos O'Donell <carlos@redhat.com>
14575
14576 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14577 match manual order.
14578
75ffb047
AZ
145792014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14580
14581 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14582
2cd925f7
AZ
14583 * sysdeps/powerpc/fpu/fenv_private.h
14584 (libc_feholdexcept_setroundl_ctx): Define to
14585 libc_feholdexcept_setround_ppc_ctx.
14586 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14587 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14588 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14589 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14590
39e6cd8d
IB
145912014-04-17 Ian Bolton <ian.bolton@arm.com>
14592
14593 * sysdeps/aarch64/math-tests.h: New file.
14594
f9281df9
SY
145952014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14596
14597 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14598 New.
14599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14600 Check and set bit_AVX2_Usable.
14601 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14602 macro.
14603 (bit_AVX2): Likewise.
14604 (index_AVX2_Usable): Likewise.
14605 (CPUID_AVX2): Likewise.
14606 (HAS_AVX2): Likewise.
14607
37d35007
WN
146082014-04-17 Will Newton <will.newton@linaro.org>
14609
7c677662
WN
14610 * manual/setjmp.texi (System V contexts): Add note that
14611 calling setcontext on a context created by a call to a
14612 signal handler is undefined. Update text to note that
14613 setcontext from a signal handler is possible but not
14614 recommended.
14615
37d35007 14616 [BZ #16629]
e04a4e9d
WN
14617 * stdlib/tst-setcontext.c: Include signal.h.
14618 (main): Check that the signal stack before and
14619 after swapcontext is the same.
14620
37d35007
WN
14621 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14622 Re-implement to restore registers in user code and avoid
14623 rt_sigreturn system call.
14624
423a7160
W
146252014-04-17 Wilco <wdijkstr@arm.com>
14626
14627 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14628 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14629 * math/test-fenv.c: Skip exception trap tests on targets which only
14630 support non-stop mode.
14631
bc93ab29
IB
146322014-04-17 Ian Bolton <ian.bolton@arm.com>
14633 Wilco Dijkstra <wilco.dijkstra@arm.com>
14634
14635 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14636 (libc_feholdsetround_aarch64_ctx)
14637 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14638 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14639 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14640 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14641 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14642 (libc_feresetround_noexl_ctx): Define.
14643
95fc5fa3
RH
146442014-04-16 Richard Henderson <rth@redhat.com>
14645
ddb04724
RH
14646 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14647
d77c0899
RH
14648 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14649 unwind tables.
14650
a3df56fc
RH
14651 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14652 const from the non-libc, non-ldso copy.
14653
95fc5fa3
RH
14654 * sysdeps/alpha/libm-test-ulps: Regenerate.
14655
7e0b6763
IB
146562014-04-16 Ian Bolton <ian.bolton@arm.com>
14657 Wilco Dijkstra <wilco.dijkstra@arm.com>
14658
14659 * sysdeps/aarch64/fpu/math_private.h: New file.
14660
a9ea2e0c
MS
146612014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14662
14663 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14664
ea8ba7cd
IZ
146652014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14666
7e54fd04 14667 [BZ #16275]
ea8ba7cd
IZ
14668 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14669 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14670 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14671 Intel MPX bound registers before _dl_profile_fixup.
14672 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14673 registers after _dl_profile_fixup. Save and restore bound
14674 registers bnd0/bnd1 when calling _dl_call_pltexit.
14675 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14676 (LR_BND_OFFSET): Likewise.
14677 (LRV_BND0_OFFSET): Likewise.
14678 (LRV_BND1_OFFSET): Likewise.
14679
9f2a4fbc
ST
146802014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14681
14682 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14683 to...
14684 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
14685 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14686 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14687 fields.
9f2a4fbc 14688
fd15a59b
ST
146892014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14690
14691 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14692
f19dfa0a
SL
146932014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14694
14695 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14696
4fa8bc3b
SL
146972014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14698
14699 [BZ #14770]
14700 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14701 * sysdeps/s390/configure: Regenerate.
14702
8ea587db
SL
14703 [BZ #16824]
14704 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14705 Set round-to-nearest internally to reduce error accumulation.
14706
aa5f0ff1
AM
147072014-04-16 Alan Modra <amodra@gmail.com>
14708
14709 [BZ #16740]
14710 [BZ #16619]
14711 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14712 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 14713 * NEWS: Update fixed bug list.
aa5f0ff1 14714
bb9c256f
SP
147152014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14716
14717 * benchtests/Makefile: Depend on libraries in build directory.
14718 (bench-math): Separate out math tests.
14719 (bench-pthread): Separate out pthread tests.
14720 (bench): Include math and pthread tests.
14721
f737dfd0
CD
147222014-04-14 Carlos O'Donell <carlos@redhat.com>
14723
14724 [BZ #16831]
14725 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14726 _dl_debug_initialize.
14727
0699f766
CD
14728 * configure.ac: Remove SELinux header check.
14729 * configure: Regenerate.
14730 * nscd/selinux.c (perms): Array of const char* to permission names.
14731 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14732 default policy. Call string_to_security_class and string_to_av_perm to
14733 translate strings. Enforce default policy and call avs_has_perm with
14734 results of translated strings.
14735
809bd45f
DM
147362014-04-13 David S. Miller <davem@davemloft.net>
14737
14738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14739
89e691f2
AM
147402014-04-12 Allan McRae <allan@archlinux.org>
14741
14742 [BZ #16838]
14743 * manual/string.texi (Collation Functions): Fix qsort argument
14744 order in example.
14745 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14746
9c9daaeb
CM
147472014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14748
14749 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14750 Make the test a no-op if there are no exceptions defined.
14751
95561fb9
PP
147522014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14753
fe8d072c 14754 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
14755 enable-hardcoded-path-in-tests
14756
970c602a
WN
147572014-04-11 Will Newton <will.newton@linaro.org>
14758
14759 * benchtests/Makefile (extra-objs): Add json-lib.o.
14760 (bench-func): Tidy up JSON output.
14761 * benchtests/bench-skeleton.c: Include json-lib.h.
14762 (main): Use JSON library functions to do output of
14763 benchmark results.
14764 * benchtests/bench-timing-type.c (main): Output the
14765 timing type simply, leaving formatting to the user.
14766 * benchtests/json-lib.c: New file.
14767 * benchtests/json-lib.h: Likewise.
14768
36875b06
TR
147692014-04-11 Torvald Riegel <triegel@redhat.com>
14770
14771 [BZ #15215]
14772 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14773 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14774 memory barriers. Add comments.
14775 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14776 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14777 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14778 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14779 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14780 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14781
579db35a
SL
147822014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14783
14784 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14785 * sysdeps/s390/s390-64/configure.ac: ... this ...
14786 * sysdeps/s390/configure.ac: ... to here.
14787 * sysdeps/s390/s390-32/configure: Delete file.
14788 * sysdeps/s390/s390-64/configure: Delete file.
14789 * sysdeps/s390/configure: Regenerate.
14790
c12e9f37
JAPH
147912014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14792
14793 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14794
439bda32
WN
147952014-04-11 Will Newton <will.newton@linaro.org>
14796
14797 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14798 to zero if it is not defined elsewhere. (mtrim): Test
14799 the value of MALLOC_DEBUG with #if rather than #ifdef.
14800
6a5d6ea1
TR
148012014-04-10 Torvald Riegel <triegel@redhat.com>
14802
14803 * benchtests/pthread_once-inputs: New file.
14804 * benchtests/pthread_once-source.c: New file.
14805 * benchtests/README: Update documentation.
14806
a4c75cfd
IZ
148072014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14808 H.J. Lu <hongjiu.lu@intel.com>
14809
7e54fd04 14810 [BZ #16275]
a4c75cfd
IZ
14811 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14812 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14813 * sysdeps/x86_64/configure: Regenerated.
14814 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14815 macro.
14816 (REGISTER_SAVE_RAX): Likewise.
14817 (REGISTER_SAVE_RCX): Likewise.
14818 (REGISTER_SAVE_RDX): Likewise.
14819 (REGISTER_SAVE_RSI): Likewise.
14820 (REGISTER_SAVE_RDI): Likewise.
14821 (REGISTER_SAVE_R8): Likewise.
14822 (REGISTER_SAVE_R9): Likewise.
14823 (REGISTER_SAVE_BND0): Likewise.
14824 (REGISTER_SAVE_BND1): Likewise.
14825 (REGISTER_SAVE_BND2): Likewise.
14826 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14827 bound registers when calling _dl_fixup.
14828
27822ce6
AZ
148292014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14830
14831 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
14832 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14833 of its definition.
27822ce6
AZ
14834 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14835 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14836 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14837 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14838 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14839 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14840 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14841
a88ddc90
PTB
148422014-04-09 Peter Brett <peter@peter-b.co.uk>
14843
14844 [BZ #15514]
14845 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14846 pathconf(_PC_NAME_MAX).
14847
01f8eac2
AZ
148482014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14849
14850 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14851 Remove macro usage.
14852 (__PTHREAD_SPINS): Move definition to ...
14853 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14854 (__PTHREAD_SPINS): ... here.
14855 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14856 (__PTHREAD_SPIN): Likewise.
14857 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14858 (__PTHREAD_SPIN): Likewise.
14859 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14860 (__PTHREAD_SPIN): Likewise.
14861 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14862 (__PTHREAD_SPIN): Likewise.
14863 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14864 (__PTHREAD_SPIN): Likewise.
14865 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14866 (__PTHREAD_SPIN): Likewise.
14867 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14868 (__PTHREAD_SPIN): Likewise.
14869 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14870 (__PTHREAD_SPIN): Likewise.
14871 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14872 (__PTHREAD_SPIN): Likewise.
14873 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14874 (__PTHREAD_SPIN): Likewise.
14875 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14876 (__PTHREAD_SPIN): Likewise.
14877 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14878 (__PTHREAD_SPIN): Likewise.
14879
de21c33c
AZ
14880 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14881 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14882 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14883 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14884 imply folder.
14885 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14886 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14887 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14888 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14889 correct imply path.
14890 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14891 strlen symbol for non multi-arch builds.
14892 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14893 missing hidden_def and weak_alias.
14894
862c472e
CD
148952014-04-08 Carlos O'Donell <carlos@redhat.com>
14896
14897 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14898
8667f90e
WN
148992014-04-07 Will Newton <will.newton@linaro.org>
14900
14901 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14902 and contents. [!_LIBC] Remove #ifndef and contents.
14903 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14904 * string/memccpy.c (__memccpy): Use ANSI prototype.
14905 * string/memfrob.c (memfrob): Likewise.
14906 * string/strcoll.c (STRCOLL): Likewise.
14907 * string/strlen.c (strlen): Likewise.
14908 * string/strtok.c (STRTOK): Likewise.
14909 * string/strcat.c: Remove unused #include of memcopy.h.
14910 (strcat): Use ANSI prototype.
14911 * string/strchr.c: Remove unused #include of memcopy.h.
14912 (strchr): Use ANSI prototype.
14913 * string/strcmp.c: Remove unused #include of memcopy.h.
14914 (strcmp): Use ANSI prototype.
14915 * string/strcpy.c: Remove unused #include of memcopy.h.
14916 (strcpy): Use ANSI prototype.
14917
7ffa9423
AZ
149182014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14919
14920 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14921 * config.make.in (config-extra-cppflags): Set it from
14922 libc_extra_cppflags.
14923 * configure.ac (libc_extra_cflags): Make it accumulate over
14924 configure fragments.
14925 (libc_extra_cppflags): New flag.
14926 * configure. Regenerate.
14927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
14928 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14929 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
14930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14931
8bd70862
AZ
14932 [BZ #16815]
14933 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14934 result for FE_DOWNWARD rounding mode.
14935 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14936 Likewise.
14937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14938
d42f3448
CM
149392014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14940
14941 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14942 in function argument name.
14943
1c21d115
DS
149442014-04-03 David Svoboda <svoboda@cert.org>
14945
14946 [BZ #5666]
14947 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14948 explicitly.
14949
fcccd512
RM
149502014-04-03 Roland McGrath <roland@hack.frob.com>
14951
14952 * elf/dl-unmap-segments.h: New file.
14953 * sysdeps/generic/ldsodefs.h
14954 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14955 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14956 * elf/dl-fptr.c: Likewise.
14957 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14958 * sysdeps/aarch64/tlsdesc.c: Likewise.
14959 * sysdeps/arm/tlsdesc.c: Likewise.
14960 * sysdeps/i386/tlsdesc.c: Likewise.
14961 * sysdeps/tile/dl-runtime.c: Likewise.
14962 * sysdeps/x86_64/tlsdesc.c: Likewise.
14963 * elf/dl-load.h: New file.
14964 * elf/dl-load.c: Include it.
14965 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14966 Macros moved to dl-load.h.
14967 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14968 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14969 Use _dl_unmap_segments in place of __munmap.
14970 Break out segment-mapping loop into ...
14971 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14972
f6488e2b
WN
149732014-04-03 Will Newton <will.newton@linaro.org>
14974
14975 * elf/dl-lookup.c (do_lookup_x): Remove comment
14976 referring to nested function and move variable
14977 declarations down to before first use.
14978
6f05bafe
JM
149792014-04-02 Joseph Myers <joseph@codesourcery.com>
14980
a84e78c8
JM
14981 [BZ #16799]
14982 [BZ #16800]
14983 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14984 with 0 numerator.
14985 * math/s_catanf.c (__catanf): Likewise.
14986 * math/s_catanh.c (__catanh): Likewise.
14987 * math/s_catanhf.c (__catanhf): Likewise.
14988 * math/s_catanhl.c (__catanhl): Likewise.
14989 * math/s_catanl.c (__catanl): Likewise.
14990 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14991 by positive zero when computing -Inf result.
14992 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14993 (catanh_test): Likewise.
14994 * sysdeps/i386/fpu/libm-test-ulps: Update.
14995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14996
6f05bafe
JM
14997 [BZ #16789]
14998 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14999 instead of using underflowing value in computing result.
15000 * math/s_clog10.c (__clog10): Likewise.
15001 * math/s_clog10f.c (__clog10f): Likewise.
15002 * math/s_clog10l.c (__clog10l): Likewise.
15003 * math/s_clogf.c (__clogf): Likewise.
15004 * math/s_clogl.c (__clogl): Likewise.
15005 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15006 (clog10_test): Likewise.
15007 * sysdeps/i386/fpu/libm-test-ulps: Update.
15008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15009
b0abbc21
AM
150102014-04-02 Alan Modra <amodra@gmail.com>
15011
15012 [BZ #16739]
15013 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15014 output when value is near a power of two. Use int64_t for lx and
15015 remove casts. Use decimal rather than hex exponent constants.
15016 Don't use long double multiplication when double will suffice.
15017 * math/libm-test.inc (nextafter_test_data): Add tests.
15018 * NEWS: Add 16739 and 16786 to bug list.
15019
af6b1797
AM
15020 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15021
483818d7
AM
15022 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15023
f6c55796
WN
150242014-04-01 Will Newton <will.newton@linaro.org>
15025
15026 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15027 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15028
13f7fe35
FW
150292014-04-01 Florian Weimer <fweimer@redhat.com>
15030
15031 [BZ #13347]
15032 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15033 * nptl/tst-setuid2.c: New file.
15034 * nptl/Makefile (xtests): Add tst-setuid2.
15035
c859b32e
AM
150362014-04-01 Alan Modra <amodra@gmail.com>
15037
15038 [BZ #16786]
15039 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15040
54fa2475
JM
150412014-03-31 Joseph Myers <joseph@codesourcery.com>
15042
8795b4a4
JM
15043 [BZ #6803]
15044 [BZ #6804]
15045 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15046 set errno as appropriate.
15047 * math/w_scalbf.c (__scalbf): Likewise.
15048 * math/w_scalbl.c (__scalbl): Likewise.
15049 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15050 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15051 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15052 Add more NaN tests.
15053
54fa2475
JM
15054 [BZ #16349]
15055 * math/w_atan2.c: Include <errno.h>.
15056 (__atan2): Set errno for result underflowing to zero.
15057 * math/w_atan2f.c: Include <errno.h>.
15058 (__atan2f): Set errno for result underflowing to zero.
15059 * math/w_atan2l.c: Include <errno.h>.
15060 (__atan2l): Set errno for result underflowing to zero.
15061 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15062 tests.
15063 * math/auto-libm-test-out: Regenerated.
15064
757d9dd5
AZ
150652014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15066
15067 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15068 Encode instruction correctly in little endian.
15069 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15070 Likewise.
15071 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15072 Likewise.
15073 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15074 Likewise.
15075 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15076 Likewise.
15077
d7a68734
JM
150782014-03-31 Joseph Myers <joseph@codesourcery.com>
15079
47c5adeb
JM
15080 [BZ #9894]
15081 * sysdeps/unix/sysv/linux/kernel-features.h
15082 [__sparc__ && !__arch64__ && !__sparc_v9__]
15083 (__ASSUME_SET_ROBUST_LIST): Do not define.
15084 [__sparc__ && !__arch64__ && !__sparc_v9__]
15085 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15086 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15087 Likewise.
15088 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15089 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15090 (__ASSUME_REQUEUE_PI): Likewise.
15091 (__ASSUME_SET_ROBUST_LIST): Likewise.
15092 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15093 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15094 Undefine.
15095 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15096 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15097 Likewise.
15098 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15099 Likewise.
15100 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15101 Likewise.
15102 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15103 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15104 Undefine.
15105 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15106 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15107 Likewise.
15108
d7a68734
JM
15109 [BZ #16648]
15110 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15111 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15112 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15113
c760f5c2
WN
151142014-03-31 Will Newton <will.newton@linaro.org>
15115
15116 * benchtests/Makefile (bench): Add ffs and ffsll to list
15117 of tests.
15118 * benchtests/ffs-inputs: New file.
15119 * benchtests/ffsll-inputs: Likewise.
15120
ea6029b1
JM
151212014-03-29 Joseph Myers <joseph@codesourcery.com>
15122
15123 [BZ #16770]
15124 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15125 too large before casting to int.
15126 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15127 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15128 * math/libm-test.inc (scalb_test_data): Add more tests.
15129
cf806aff
SP
151302014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15131
56737508
SP
15132 * benchtests/Makefile (DETAILED_OPT): New make option.
15133 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15134 set.
15135 * benchtests/bench-skeleton.c: Include stdbool.h.
15136 (main): Store and print timings per input.
15137 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15138 member to each argument value.
15139 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15140 (_print_arg_data): Initialize per-input timing to 0.
15141
cb5e4aad
SP
15142 * benchtests/Makefile (timing-type): New binary.
15143 (bench-clean): Also remove bench-timing-type.
15144 (bench): New target for timing-type.
15145 (bench-func): Print output in JSON format.
15146 * benchtests/bench-skeleton.c (main): Print output in JSON
15147 format.
15148 * benchtests/bench-timing-type.c: New file.
15149 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15150 (TIMING_PRINT_STATS): Remove.
15151 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15152 name separately.
15153
cf806aff
SP
15154 * benchtests/bench-modf.c: Remove.
15155 * benchtests/modf-inputs: New inputs file.
15156
289e0779
JM
151572014-03-28 Joseph Myers <joseph@codesourcery.com>
15158
15159 [BZ #16362]
15160 * math/s_clog10.c (M_PI_LOG10E): New macro.
15161 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15162 imaginary parts are 0.
15163 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15164 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15165 imaginary parts are 0.
15166 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15167 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15168 imaginary parts are 0.
15169 * math/libm-test.inc (clog10_test_data): Update expected results
15170 for when real and imaginary parts are 0.
15171
277ae3f1
PP
151722014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15173
15174 * elf/dl-load.c: Finish conversion of __builtin_expect into
15175 __glibc_{un}likely.
15176
03a7091f
JM
151772014-03-27 Joseph Myers <joseph@codesourcery.com>
15178
15179 [BZ #16348]
15180 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15181 1+x for argument with exponent below -67.
15182 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15183 Likewise.
15184 * math/auto-libm-test-in: Add more tests of exp.
15185 * math/auto-libm-test-out: Regenerated.
15186
ea7d8b95
SP
151872014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15188
dd3022d7
SP
15189 [BZ #16759]
15190 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15191 (nscd_getnetgrent): Use it.
15192
ea7d8b95
SP
15193 [BZ #16760]
15194 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15195 of stpcpy.
15196
df5b85da
AK
151972014-03-27 Andi Kleen <ak@linux.intel.com>
15198
57f41c40
AS
15199 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15200 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15201 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15202 (lll_robust_unlock): Remove out of line section. Use cfi
15203 intrinsics.
df5b85da 15204 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
15205 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15206 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15207 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15208 (lll_robust_unlock): Remove out of line section. Use cfi
15209 intrinsics.
df5b85da
AK
15210 (LLL_STUB_UNWIND_INFO*): Remove.
15211
fbd6b5a4
SP
152122014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15213
15214 [BZ #16758]
15215 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15216 blank values.
15217
1b26b855
PP
152182014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15219
15220 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15221
9be36fb8
JM
152222014-03-26 Joseph Myers <joseph@codesourcery.com>
15223
15224 [BZ #16198]
15225 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15226 fnstenv.
15227 * math/test-fenv-preserve.c: New file.
15228 * math/Makefile (tests): Add test-fenv-preserve.
15229
60a2f3c1
WN
152302014-03-26 Will Newton <will.newton@linaro.org>
15231
15232 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15233
a5e5f1e2
RM
152342014-03-25 Roland McGrath <roland@hack.frob.com>
15235
15236 * scripts/versionlist.awk: Partition the version sets and emit all
15237 GLIBC_* (sorted) before all others (sorted).
15238
00f4012a
JM
152392014-03-25 Joseph Myers <joseph@codesourcery.com>
15240
15241 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15242 GLIBC_2.2.5 version.
15243
7bc5a741
AZ
152442014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15245
15246 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15247 calls.
15248
7578473b
AZ
15249 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15250 previous change.
15251
f3f1dab3
AZ
15252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15253
6da36183
AS
152542014-03-25 Andreas Schwab <schwab@suse.de>
15255
15256 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15257 label to be used after in6ailist is initialized.
15258
f3f1dab3 152592014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 15260
7578473b 15261 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
15262 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15263
046651c1
JM
152642014-03-25 Joseph Myers <joseph@codesourcery.com>
15265
15266 [BZ #16357]
15267 [BZ #16599]
15268 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15269 min_plus_half.
15270 (fp_formats): Update initializers.
15271 (init_fp_formats): Initialize new field.
15272 (output_for_one_input_case): Allow underflow for results up to
15273 min_plus_half.
15274 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15275 * math/auto-libm-test-in: Don't mark some underflows from asin and
15276 atanh as spurious.
15277 * math/auto-libm-test-out: Regenerated.
15278 * sysdeps/i386/fpu/libm-test-ulps: Update.
15279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15280
003e49ed
AS
152812014-03-25 Andreas Schwab <schwab@suse.de>
15282
15283 * libio/Makefile (tst-ftell-partial-wide-ENV)
15284 (tst-ftell-active-handler-ENV): Define.
15285
de031874
SL
152862014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15287
15288 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15289
55a81e3b
PP
152902014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15291
15292 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15293
f3426898
JM
152942014-03-24 Joseph Myers <joseph@codesourcery.com>
15295
15296 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15297 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15298 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15299
a42faf59
PP
153002014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15301
15302 [BZ #16634]
a42faf59 15303 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
15304 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15305 (open_path): Change from boolean 'secure' to complete flag 'mode'
15306 (_dl_map_object): Adjust.
a42faf59
PP
15307 * elf/Makefile (tests): Add tst-dlopen-aout.
15308 * elf/tst-dlopen-aout.c: New test.
15309
50936127
SL
153102014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15311
15312 [BZ #16714]
15313 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15314 (struct stat): Rename member pad0 to __glibc_reserved0.
15315
26011b5c
SL
15316 [BZ #16712]
15317 * sysdeps/s390/s390-32/bits/wordsize.h
15318 (__WORDSIZE32_SIZE_ULONG): New define.
15319 * sysdeps/s390/s390-64/bits/wordsize.h
15320 (__WORDSIZE32_SIZE_ULONG): Likewise.
15321 * sysdeps/generic/stdint.h (SIZE_MAX):
15322 Define as UL if __WORDSIZE32_SIZE_ULONG.
15323
a2d86bf1
SL
15324 [BZ #16713]
15325 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15326 (__glibc_reserved0): New variable.
15327 (sa_flags): Change type to int.
15328
78b6eebc
SL
15329 * posix/Makefile (before-compile): Use += before-compile instead
15330 of a :=.
15331
f1399b5a
SL
15332 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15333 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15334
a071766e
AS
153352014-03-20 Andreas Schwab <schwab@suse.de>
15336
15337 [BZ #16743]
15338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15339 non-matching result from nscd.
15340
27c673b8
SP
153412014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15342
15343 * scripts/bench.py: Moved to ...
15344 * benchtests/scripts/bench.py: ... here.
15345 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15346
44152e4b
AS
153472014-03-24 Andreas Schwab <schwab@suse.de>
15348
15349 [BZ #16002]
15350 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15351 alloca_account and account alloca use for struct in6ailist.
15352
b376a11a
JM
153532014-03-24 Joseph Myers <joseph@codesourcery.com>
15354
15355 [BZ #16284]
15356 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15357 rounding mode to recompute results that overflow to infinity or
15358 underflow to zero.
15359 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15360 bug 16284.
15361 * math/auto-libm-test-out: Regenerated.
15362 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15363 (ccosh_test): Likewise.
15364 (csin_test_data): Use plus_oflow.
15365 (csin_test): Use ALL_RM_TEST.
15366 (csinh_test_data): Use plus_oflow.
15367 (csinh_test): Use ALL_RM_TEST.
15368 * sysdeps/i386/fpu/libm-test-ulps: Update.
15369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15370
f7be7376
JM
153712014-03-21 Joseph Myers <joseph@codesourcery.com>
15372
1ca2d03e
JM
15373 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15374 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15375 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15376
f7be7376
JM
15377 [BZ #16731]
15378 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15379 when x - 1 is zero.
15380 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15381 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15382 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15383 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15384 argument is 1.
15385 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15386 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15387 zero.
15388 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15389 * sysdeps/i386/fpu/libm-test-ulps: Update.
15390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15391
fdf4534d
SP
153922014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15393
df26ea53
SP
15394 * scripts/bench.pl: Remove file.
15395 * scripts/bench.py: New benchmark script.
15396 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15397 * benchtests/README: Mention python dependency.
15398 * scripts/pylintrc: New file.
15399 * scripts/pylint: New file.
15400
fdf4534d
SP
15401 * bits/mathdef.h: Use #ifdef instead of #if.
15402 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15403 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15404 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15405 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15406 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15407 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15408
6f23d093
AZ
154092014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15410 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15411
15412 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15413 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15414 and strpbrk-ppc64 objects.
15415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15416 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15417 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15418 multiarch strpbrk for POWER7.
15419 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15420 multiarch strpbrk for PPC64.
15421 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15422 ifunc selector.
15423 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15424 strpbrk for POWER7.
15425
8c92dfff
JM
154262014-03-20 Joseph Myers <joseph@codesourcery.com>
15427
15428 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15429 (atan_test): Likewise.
15430 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15431 (atanh_test): Use ALL_RM_TEST.
15432 (atan2_test_data): Likewise.
15433 (cabs_test): Likewise.
15434 (cacosh_test): Likewise.
15435 (carg_test): Likewise.
15436 (casin_test): Likewise.
15437 (casinh_test): Likewise.
15438 (cbrt_test): Likewise.
15439 (csqrt_test): Likewise.
15440 (erf_test): Likewise.
15441 (erfc_test): Likewise.
15442 (pow10_test): Likewise.
15443 (exp2_test): Likewise.
15444 (hypot_test): Likewise.
15445 (j0_test): Likewise.
15446 (j1_test): Likewise.
15447 (lgamma_test): Likewise.
15448 (gamma_test): Likewise.
15449 (sincos_test): Likewise.
15450 (tanh_test): Likewise.
15451 (y0_test): Likewise.
15452 (y1_test): Likewise.
15453 * sysdeps/i386/fpu/libm-test-ulps: Update.
15454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15455
6eaf95cb
AZ
154562014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15457
a387428c
SP
15458 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15459 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
15460 and strcspn-ppc64 objects.
15461 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15462 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15463 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15464 multiarch strcspn for POWER7.
15465 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15466 multiarch strcspn for PPC64.
15467 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15468 ifunc selector.
15469 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15470 strcspn for POWER7.
15471
ae3a5dff
JM
154722014-03-20 Joseph Myers <joseph@codesourcery.com>
15473
15474 * math/gen-libm-test.pl (generate_testfile): Expect only function
15475 name as argument to AUTO_TESTS_* and pass results for all rounding
15476 modes to parse_args.
15477 (parse_auto_input): Separate inputs of automatic tests from
15478 outputs before storing in %auto_tests.
15479 * math/libm-test.inc (acos_test_data): Update call to
15480 AUTO_TESTS_f_f.
15481 (acos_test): Use ALL_RM_TEST.
15482 (acos_tonearest_test_data): Remove.
15483 (acos_test_tonearest): Likewise.
15484 (acos_towardzero_test_data): Likewise.
15485 (acos_test_towardzero): Likewise.
15486 (acos_downward_test_data): Likewise.
15487 (acos_test_downward): Likewise.
15488 (acos_upward_test_data): Likewise.
15489 (acos_test_upward): Likewise.
15490 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15491 (asin_test_data): Likewise.
15492 (asin_test): Use ALL_RM_TEST.
15493 (asin_tonearest_test_data): Remove.
15494 (asin_test_tonearest): Likewise.
15495 (asin_towardzero_test_data): Likewise.
15496 (asin_test_towardzero): Likewise.
15497 (asin_downward_test_data): Likewise.
15498 (asin_test_downward): Likewise.
15499 (asin_upward_test_data): Likewise.
15500 (asin_test_upward): Likewise.
15501 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15502 (atan_test_data): Likewise.
15503 (atanh_test_data): Likewise.
15504 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15505 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15506 (carg_test_data): Likewise.
15507 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15508 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15509 (ccosh_test_data): Likewise.
15510 (cexp_test_data): Likewise.
15511 (clog_test_data): Likewise.
15512 (clog10_test_data): Likewise.
15513 (cos_test_data): Update call to AUTO_TESTS_f_f.
15514 (cos_test): Use ALL_RM_TEST.
15515 (cos_tonearest_test_data): Remove.
15516 (cos_test_tonearest): Likewise.
15517 (cos_towardzero_test_data): Likewise.
15518 (cos_test_towardzero): Likewise.
15519 (cos_downward_test_data): Likewise.
15520 (cos_test_downward): Likewise.
15521 (cos_upward_test_data): Likewise.
15522 (cos_test_upward): Likewise.
15523 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15524 (cosh_test): Use ALL_RM_TEST.
15525 (cosh_tonearest_test_data): Remove.
15526 (cosh_test_tonearest): Likewise.
15527 (cosh_towardzero_test_data): Likewise.
15528 (cosh_test_towardzero): Likewise.
15529 (cosh_downward_test_data): Likewise.
15530 (cosh_test_downward): Likewise.
15531 (cosh_upward_test_data): Likewise.
15532 (cosh_test_upward): Likewise.
15533 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15534 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15535 (ctan_test_data): Likewise.
15536 (ctan_test): Use ALL_RM_TEST.
15537 (ctan_tonearest_test_data): Remove.
15538 (ctan_test_tonearest): Likewise.
15539 (ctan_towardzero_test_data): Likewise.
15540 (ctan_test_towardzero): Likewise.
15541 (ctan_downward_test_data): Likewise.
15542 (ctan_test_downward): Likewise.
15543 (ctan_upward_test_data): Likewise.
15544 (ctan_test_upward): Likewise.
15545 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15546 (ctanh_test): Use ALL_RM_TEST.
15547 (ctanh_tonearest_test_data): Remove.
15548 (ctanh_test_tonearest): Likewise.
15549 (ctanh_towardzero_test_data): Likewise.
15550 (ctanh_test_towardzero): Likewise.
15551 (ctanh_downward_test_data): Likewise.
15552 (ctanh_test_downward): Likewise.
15553 (ctanh_upward_test_data): Likewise.
15554 (ctanh_test_upward): Likewise.
15555 (erf_test_data): Update call to AUTO_TESTS_f_f.
15556 (erfc_test_data): Likewise.
15557 (exp_test_data): Likewise.
15558 (exp_test): Use ALL_RM_TEST.
15559 (exp_tonearest_test_data): Remove.
15560 (exp_test_tonearest): Likewise.
15561 (exp_towardzero_test_data): Likewise.
15562 (exp_test_towardzero): Likewise.
15563 (exp_downward_test_data): Likewise.
15564 (exp_test_downward): Likewise.
15565 (exp_upward_test_data): Likewise.
15566 (exp_test_upward): Likewise.
15567 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15568 (exp10_test): Use ALL_RM_TEST.
15569 (exp10_tonearest_test_data): Remove.
15570 (exp10_test_tonearest): Likewise.
15571 (exp10_towardzero_test_data): Likewise.
15572 (exp10_test_towardzero): Likewise.
15573 (exp10_downward_test_data): Likewise.
15574 (exp10_test_downward): Likewise.
15575 (exp10_upward_test_data): Likewise.
15576 (exp10_test_upward): Likewise.
15577 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15578 (expm1_test_data): Likewise.
15579 (expm1_test): Use ALL_RM_TEST.
15580 (expm1_tonearest_test_data): Remove.
15581 (expm1_test_tonearest): Likewise.
15582 (expm1_towardzero_test_data): Likewise.
15583 (expm1_test_towardzero): Likewise.
15584 (expm1_downward_test_data): Likewise.
15585 (expm1_test_downward): Likewise.
15586 (expm1_upward_test_data): Likewise.
15587 (expm1_test_upward): Likewise.
15588 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15589 (fma_test): Use ALL_RM_TEST.
15590 (fma_towardzero_test_data): Remove.
15591 (fma_test_towardzero): Likewise.
15592 (fma_downward_test_data): Likewise.
15593 (fma_test_downward): Likewise.
15594 (fma_upward_test_data): Likewise.
15595 (fma_test_upward): Likewise.
15596 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15597 (j0_test_data): Update call to AUTO_TESTS_f_f.
15598 (j1_test_data): Likewise.
15599 (jn_test_data): Update call to AUTO_TESTS_if_f.
15600 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15601 (log_test_data): Update call to AUTO_TESTS_f_f.
15602 (log10_test_data): Likewise.
15603 (log1p_test_data): Likewise.
15604 (log2_test_data): Likewise.
15605 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15606 (pow_tonearest_test_data): Likewise.
15607 (sin_test_data): Update call to AUTO_TESTS_f_f.
15608 (sin_test): Use ALL_RM_TEST.
15609 (sin_tonearest_test_data): Remove.
15610 (sin_test_tonearest): Likewise.
15611 (sin_towardzero_test_data): Likewise.
15612 (sin_test_towardzero): Likewise.
15613 (sin_downward_test_data): Likewise.
15614 (sin_test_downward): Likewise.
15615 (sin_upward_test_data): Likewise.
15616 (sin_test_upward): Likewise.
15617 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15618 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15619 (sinh_test): Use ALL_RM_TEST.
15620 (sinh_tonearest_test_data): Remove.
15621 (sinh_test_tonearest): Likewise.
15622 (sinh_towardzero_test_data): Likewise.
15623 (sinh_test_towardzero): Likewise.
15624 (sinh_downward_test_data): Likewise.
15625 (sinh_test_downward): Likewise.
15626 (sinh_upward_test_data): Likewise.
15627 (sinh_test_upward): Likewise.
15628 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15629 (sqrt_test): Use ALL_RM_TEST.
15630 (sqrt_tonearest_test_data): Remove.
15631 (sqrt_test_tonearest): Likewise.
15632 (sqrt_towardzero_test_data): Likewise.
15633 (sqrt_test_towardzero): Likewise.
15634 (sqrt_downward_test_data): Likewise.
15635 (sqrt_test_downward): Likewise.
15636 (sqrt_upward_test_data): Likewise.
15637 (sqrt_test_upward): Likewise.
15638 (tan_test_data): Update call to AUTO_TESTS_f_f.
15639 (tan_test): Use ALL_RM_TEST.
15640 (tan_tonearest_test_data): Remove.
15641 (tan_test_tonearest): Likewise.
15642 (tan_towardzero_test_data): Likewise.
15643 (tan_test_towardzero): Likewise.
15644 (tan_downward_test_data): Likewise.
15645 (tan_test_downward): Likewise.
15646 (tan_upward_test_data): Likewise.
15647 (tan_test_upward): Likewise.
15648 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15649 (tgamma_test_data): Likewise.
15650 (y0_test_data): Likewise.
15651 (y1_test_data): Likewise.
15652 (yn_test_data): Update call to AUTO_TESTS_if_f.
15653 (main): Do not call removed functions.
15654
d71aeee8
JM
156552014-03-19 Joseph Myers <joseph@codesourcery.com>
15656
15657 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15658 (ldexp_test_data): Remove.
15659 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15660 scalbn_test_data.
15661 (scalb_test): Use ALL_RM_TEST.
15662
baaf1ded
AS
156632014-03-19 Andreas Schwab <schwab@suse.de>
15664
15665 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15666
b1115e91
JM
156672014-03-19 Joseph Myers <joseph@codesourcery.com>
15668
15669 [BZ #16649]
15670 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15671 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15672 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15673 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15674 (__ASSUME_PREADV): Undefine.
15675 (__ASSUME_PWRITEV): Likewise.
15676
0283ecca
RM
156772014-03-18 Roland McGrath <roland@hack.frob.com>
15678
7d375303
RM
15679 * bits/mman-linux.h: Add comment about non-Linux use.
15680 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15681 bits/mman-linux.h resting place.
15682
0283ecca
RM
15683 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15684 * bits/mman-linux.h: ... here.
15685
aebe1003
AZ
156862014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15687
15688 * conform/conformtest.pl: Add standard definition when calling C
15689 preprocessor on data files.
15690 (checknamespace): Remove unused variable.
15691
b29b6bb8
JM
156922014-03-18 Joseph Myers <joseph@codesourcery.com>
15693
15694 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15695 minus_oflow, plus_uflow and minus_uflow in expected results.
15696 * math/libm-test.inc (scalbn_test_data): Add more tests of
15697 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15698 minus_uflow.
15699 (scalbn_test): Use ALL_RM_TEST.
15700 (scalbln_test_data): Add more tests of negative arguments. Use
15701 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15702 (scalbln_test): Use ALL_RM_TEST.
15703
c8f8fa15
RM
157042014-03-18 Roland McGrath <roland@hack.frob.com>
15705
15706 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15707
fede7a5f
WN
157082014-03-18 Will Newton <will.newton@linaro.org>
15709
15710 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15711 inaccurate comment.
15712
80cf0a58
JM
157132014-03-18 Joseph Myers <joseph@codesourcery.com>
15714
15715 * Makerules [!subdir] (check-abi): Exit with error status if a
15716 test failed.
15717
b3620862
JM
157182014-03-17 Joseph Myers <joseph@codesourcery.com>
15719
15720 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15721 for rint. Include results for all rounding modes.
15722 (nearbyint_test): Use ALL_RM_TEST.
15723 (rint_test_data): Include all tests used for nearbyint.
15724
788bba36
WN
157252014-03-17 Will Newton <will.newton@linaro.org>
15726
04ec140a
WN
15727 * nptl/sysdeps/pthread/pthread.h: Revert previous
15728 change.
15729
7579d8d5
WN
15730 * sysdeps/generic/ldsodefs.h: Revert previous
15731 change.
15732
c15cf13a
WN
15733 * libio/genops.c: Revert previous change.
15734 * libio/libioP.h: Likewise.
15735 * stdio-common/vfprintf.c: Likewise.
15736
d0ac1324
WN
15737 * sysdeps/generic/math_private.h: Revert previous
15738 change.
15739
9290130a
WN
15740 * sysdeps/generic/math_private.h: Check whether
15741 HAVE_RM_CTX is defined with #ifdef rather
15742 than #if.
15743
afb466fc
WN
15744 * argp/argp-fmtstream.h: Check whether
15745 __STRICT_ANSI__ is defined with #ifdef rather
15746 than #if.
15747 * argp/argp.h: Likewise.
15748
f7efd7c3
WN
15749 * libio/genops.c: Check whether
15750 _IO_JUMPS_OFFSET is defined with #ifdef rather
15751 than #if.
15752 * libio/libioP.h: Likewise.
15753 * stdio-common/vfprintf.c: Likewise.
15754
53f1bed3
WN
15755 * sysdeps/generic/ldsodefs.h: Check whether
15756 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15757 than #if.
15758
788bba36
WN
15759 * nptl/sysdeps/pthread/pthread.h: Check
15760 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15761 its value.
15762
fcd89ebe
SP
157632014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15764
ae42bbc5
SP
15765 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15766 setting O_APPEND.
15767 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15768 test case.
15769
ea33158c
SP
15770 [BZ #16680]
15771 * libio/fileops.c (_IO_file_open): Seek to end of file but
15772 don't cache the offset.
15773 (get_file_offset): Remove function.
15774 (do_ftell): Use cached offset when available.
15775 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15776 don't cache the offset.
15777 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15778 case.
15779 (do_one_test): Call it.
15780 (do_ftell_test): Fix up expected old offset for a+ mode.
15781 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15782 available.
15783
b1dbb426
SP
15784 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15785 up test status with function return status.
15786 (do_write_test): Likewise.
15787 (do_append_test): Likewise.
15788
fcd89ebe
SP
15789 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15790 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15791 Remove.
15792
9962a2d3
JM
157932014-03-17 Joseph Myers <joseph@codesourcery.com>
15794
15795 * math/gen-libm-test.pl (parse_args): Handle results specified for
15796 each rounding mode separately.
15797 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15798 tests and results from lrint_tonearest_test_data,
15799 lrint_towardzero_test_data, lrint_downward_test_data and
15800 lrint_upward_test_data.
15801 (lrint_test): Use ALL_RM_TEST.
15802 (lrint_tonearest_test_data): Remove.
15803 (lrint_test_tonearest): Likewise.
15804 (lrint_towardzero_test_data): Likewise.
15805 (lrint_test_towardzero): Likewise.
15806 (lrint_downward_test_data): Likewise.
15807 (lrint_test_downward): Likewise.
15808 (lrint_upward_test_data): Likewise.
15809 (lrint_test_upward): Likewise.
15810 (llrint_test_data): Merge in per-rounding-mode tests and results
15811 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15812 llrint_downward_test_data and llrint_upward_test_data.
15813 (llrint_test): Use ALL_RM_TEST.
15814 (llrint_tonearest_test_data): Remove.
15815 (llrint_test_tonearest): Likewise.
15816 (llrint_towardzero_test_data): Likewise.
15817 (llrint_test_towardzero): Likewise.
15818 (llrint_downward_test_data): Likewise.
15819 (llrint_test_downward): Likewise.
15820 (llrint_upward_test_data): Likewise.
15821 (llrint_test_upward): Likewise.
15822 (rint_test_data): Merge in per-rounding-mode tests and results
15823 from rint_tonearest_test_data, rint_towardzero_test_data,
15824 rint_downward_test_data and rint_upward_test_data. Add
15825 per-rounding-mode results for tests not in those arrays.
15826 (rint_test): Use ALL_RM_TEST.
15827 (rint_tonearest_test_data): Remove.
15828 (rint_test_tonearest): Likewise.
15829 (rint_towardzero_test_data): Likewise.
15830 (rint_test_towardzero): Likewise.
15831 (rint_downward_test_data): Likewise.
15832 (rint_test_downward): Likewise.
15833 (rint_upward_test_data): Likewise.
15834 (rint_test_upward): Likewise.
15835 (main): Don't call removed functions.
15836
5006148e
RM
158372014-03-14 Roland McGrath <roland@hack.frob.com>
15838
15839 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15840 "Compiled on ..." crapola. It is anti-useful.
15841
d6fe5e58
JM
158422014-03-14 Joseph Myers <joseph@codesourcery.com>
15843
15844 * scripts/evaluate-test.sh: Handle fourth argument to determine
15845 whether test run should stop on failure.
15846 * Makeconfig (stop-on-test-failure): New variable.
15847 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15848 $(stop-on-test-failure).
15849 * Makefile (tests): Give a summary of results from testing and
15850 exit with failure status if they include an ERROR or FAIL.
15851 (xtests): Likewise.
15852 * manual/install.texi (Configuring and compiling): Mention
15853 stop-on-test-failure=y.
15854 * INSTALL: Regenerated.
15855
498a2233
RM
158562014-03-14 Roland McGrath <roland@hack.frob.com>
15857
22dbc19d
RM
15858 * scripts/versionlist.awk: New file.
15859 * Makerules [$(build-shared) = yes]
15860 (postclean-generated): Add Versions.def, not Versions.def.v and
15861 Versions.def.v.i.
15862 ($(common-objpfx)Versions.def.v.i): Target removed.
15863 ($(common-objpfx)Versions.def): New target.
15864 ($(common-objpfx)Versions.all): Depend on that rather that
15865 $(common-objpfx)Versions.def.v.
15866 * Versions.def: File removed.
15867
498a2233
RM
15868 * Makeconfig (+gccwarn): Add -Wundef.
15869 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15870 a dl-sysdep.h breaking its contract.
15871 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15872 * include/stackinfo.h: New file.
15873 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15874 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15875 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15876 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15877 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15878 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15879 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15880 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15881 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15882 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15883 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15884 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15885 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15886 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15887 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15888
c7de5025
AZ
158892014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15890
15891 [BZ #16707]
15892 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15893 implementation.
15894 * math/libm-test.inc (round_test_data): Add more tests.
15895
98fb27a3
AZ
15896 [BZ #16706]
15897 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15898 implementation.
15899 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15900
374f7f61
AZ
15901 [BZ #16701]
15902 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15903 implementation.
15904 * math/libm-test.inc (ceil_test_data): Add more tests.
15905
4655c291
AZ
15906 * math/libm-test.inc (trunc_test_data): Add more tests related to
15907 BZ#16414.
15908
d7329d4b
RM
159092014-03-14 Roland McGrath <roland@hack.frob.com>
15910
15911 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15912 with #if rather than #ifdef.
15913 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15914
aa4de9ce
L
159152014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15916
15917 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15918 first. Disable AVX-512 GCC support if assembler doesn't support
15919 it.
15920 * sysdeps/x86_64/configure: Regenerated.
15921
2e03fae7
CD
159222014-03-13 Carlos O'Donell <carlos@redhat.com>
15923
15924 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15925 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15926 (__old_pthread_attr_setstack): Likewise.
15927 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15928 [!_STACK_GROWS_DOWN]: Likewise.
15929
43ca83ec
MF
159302014-03-13 Mike Frysinger <vapier@gentoo.org>
15931
15932 * config.make.in (have-bash2): Delete.
15933 * configure.ac (libc_cv_have_bash2): Delete.
15934 * configure: Regenerate.
15935 * elf/Makefile (common-ldd-rewrite): Rename to ...
15936 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15937 (sh-ldd-rewrite): Delete.
15938 (bash-ldd-rewrite): Delete.
15939 (have-bash2): Delete checks.
57f41c40
AS
15940 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15941 ldd-rewrite.
c66e48b4
MF
15942
15943 * config.make.in (have-ksh): Delete.
15944 (KSH): Delete.
15945 * configure.ac (libc_cv_have_ksh): Delete.
15946 * configure: Regenerate.
15947
b93834ef
MF
15948 * elf/Makefile: Delete $(have-ksh) check.
15949 ($(objpfx)sotruss): Change KSH to BASH.
15950 * elf/sotruss.ksh: Rename to ...
15951 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15952 function style to match POSIX. Drop ksh vim mode setting.
15953
f3a4632a
MF
15954 * manual/time.texi (Specifying the Time Zone with TZ): Change
15955 Tuesday to Thursday.
15956
5896c8bd
MF
15957 * debug/tst-longjmp_chk2.c: Update header comment.
15958 (stackoverflow_handler): Add comment. Call assert on pass value.
15959
2d63a517
IZ
159602014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15961
7e54fd04 15962 [BZ #16194]
2d63a517
IZ
15963 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15964 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15965 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15966 (La_x86_64_vector): Add zmm.
15967 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15968 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15969 ($(objpfx)tst-audit10): New target.
15970 ($(objpfx)tst-audit10.out): Likewise.
15971 (tst-audit10-ENV): New.
15972 (AVX512-CFLAGS): Likewise.
15973 (CFLAGS-tst-audit10.c): Likewise.
15974 (CFLAGS-tst-auditmod10a.c): Likewise.
15975 (CFLAGS-tst-auditmod10b.c): Likewise.
15976 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15977 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15978 * sysdeps/x86_64/configure: Regenerated.
15979 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15980 AVX-512 zmm register support.
15981 (_dl_x86_64_save_sse): Likewise.
15982 (_dl_x86_64_restore_sse): Likewise.
15983 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15984 size vector registers.
15985 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15986 (ZMM_SIZE): Likewise.
15987 * sysdeps/x86_64/tst-audit10.c: New file.
15988 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15989 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15990
44c4e5d5
RM
159912014-03-13 Roland McGrath <roland@hack.frob.com>
15992
15993 * configure.ac (HAVE_EHDR_START): New check.
15994 * configure: Regenerated.
15995 * config.h.in (HAVE_EHDR_START): New #undef.
15996 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15997 assuming the lowest-addressed segment maps the start of the file.
15998
acd6e389
JM
159992014-03-13 Joseph Myers <joseph@codesourcery.com>
16000
16001 * INSTALL: Regenerated.
16002
6f918f36
WN
160032014-03-13 Will Newton <will.newton@linaro.org>
16004
16005 * manual/setjmp.texi (System V contexts): Improve
16006 clarity and grammar of documentation.
16007
798212a0
PP
160082014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16009
16010 [BZ #16381]
798212a0 16011 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 16012 (tests-pie): Add tst-pie2.
798212a0
PP
16013 * elf/tst-pie2.c: New file.
16014 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16015 for ET_EXEC.
16016 * elf/rtld.c (map_doit): Load executable as lt_executable.
16017 (dl_main): Likewise.
16018
abe6d90c
JM
160192014-03-12 Joseph Myers <joseph@codesourcery.com>
16020
16021 [BZ #16642]
16022 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16023 (__ASSUME_PSELECT): Undefine.
16024
dd3946c6
AZ
160252014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16026
16027 [BZ #16689]
16028 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16029 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16030 static build.
16031 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16032 selector for static builds.
16033
c44496df
SP
160342014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16035
16036 [BZ #16695]
16037 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16038 key in the buffer.
16039
27c7220a
AZ
160402014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16041
57f41c40
AS
16042 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16043 IFUNC selector for static builds.
27c7220a 16044
600fa361
JM
160452014-03-11 Joseph Myers <joseph@codesourcery.com>
16046
76c96cf7
JM
16047 * sysdeps/mips/math_private.h [__mips_hard_float]
16048 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16049 libc_feresetround_mips_ctx.
16050 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16051 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16052 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16053
600fa361
JM
16054 [BZ #16677]
16055 * math/s_nextafter.c (__nextafter): Do not return value from
16056 overflowing computation.
16057 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16058 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16059 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16060 Likewise.
16061 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16062 Likewise.
16063 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16064 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16065
d7706c32
RM
160662014-03-11 Roland McGrath <roland@hack.frob.com>
16067
16068 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16069 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16070 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16071 the new mov targetting sp.
16072
4facea47
AZ
160732014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16074
16075 [BZ #16683]
16076 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16077 Define it for static builds as well.
16078 (NO_BZERO_IMPL): Likewise.
16079
e65caf1f
VR
160802014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16081
16082 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16083 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16084 multiarch strspn for PPC64.
16085 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16086 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16087 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16088 (__libc_ifunc_impl_list): Likewise.
16089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16090 multiarch optimizations
16091 * string/strspn.c (strspn): Using macro to redefine symbol name.
16092
ba9cc071
AZ
160932014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16094 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16095
16096 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16097 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16098 multiarch strncat for PPC64.
16099 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16100 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16101 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16102 (__libc_ifunc_impl_list): Likewise.
16103 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16104 multiarch optimizations
16105
8b4ff974
SP
161062014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16107
16108 [BZ #16639]
16109 * nscd/nscd.service: Make service type forking.
16110
54b46a4b
AZ
161112014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16112
16113 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16114 sign in non default rounding modes.
16115 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16116
e9996ef7
JM
161172014-03-08 Joseph Myers <joseph@codesourcery.com>
16118
16119 * math/libm-test.inc (ALL_RM_TEST): New macro.
16120 (ceil_test): Use ALL_RM_TEST.
16121 (cimag_test): Likewise.
16122 (conj_test): Likewise.
16123 (copysign_test): Likewise.
16124 (cproj_test): Likewise.
16125 (creal_test): Likewise.
16126 (fabs_test): Likewise.
16127 (floor_test): Likewise.
16128 (fmax_test): Likewise.
16129 (fmin_test): Likewise.
16130 (fmod_test): Likewise.
16131 (fpclassify_test): Likewise.
16132 (frexp_test): Likewise.
16133 (ilogb_test): Likewise.
16134 (isfinite_test): Likewise.
16135 (finite_test): Likewise.
16136 (isgreater_test): Likewise.
16137 (isgreaterequal_test): Likewise.
16138 (isinf_test): Likewise.
16139 (isless_test): Likewise.
16140 (islessequal_test): Likewise.
16141 (islessgreater_test): Likewise.
16142 (isnan_test): Likewise.
16143 (isnormal_test): Likewise.
16144 (issignaling_test): Likewise.
16145 (isunordered_test): Likewise.
16146 (logb_test): Likewise.
16147 (logb_downward_test_data): Remove.
16148 (logb_test_downward): Likewise.
16149 (lround_test): Use ALL_RM_TEST.
16150 (llround_test): Likewise.
16151 (modf_test): Likewise.
16152 (nexttoward_test): Likewise.
16153 (remainder_test): Likewise.
16154 (drem_test): Likewise.
16155 (remainder_tonearest_test_data): Likewise.
16156 (remainder_test_tonearest): Likewise.
16157 (drem_test_tonearest): Likewise.
16158 (remainder_towardzero_test_data): Likewise.
16159 (remainder_test_towardzero): Likewise.
16160 (drem_test_towardzero): Likewise.
16161 (remainder_downward_test_data): Likewise.
16162 (remainder_test_downward): Likewise.
16163 (drem_test_downward): Likewise.
16164 (remainder_upward_test_data): Likewise.
16165 (remainder_test_upward): Likewise.
16166 (drem_test_upward): Likewise.
16167 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16168 (round_test): Use ALL_RM_TEST.
16169 (signbit_test): Likewise.
16170 (trunc_test): Likewise.
16171 (significand_test): Likewise.
16172 (main): Don't call removed functions.
16173
bc61d27c
JM
161742014-03-07 Joseph Myers <joseph@codesourcery.com>
16175
5c780849
JM
16176 [BZ #16674]
16177 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16178 || __USE_XOPEN2K8].
16179 (ILL_ILLOPN): Likewise.
16180 (ILL_ILLADR): Likewise.
16181 (ILL_ILLTRP): Likewise.
16182 (ILL_PRVOPC): Likewise.
16183 (ILL_PRVREG): Likewise.
16184 (ILL_COPROC): Likewise.
16185 (ILL_BADSTK): Likewise.
16186 (FPE_INTDIV): Likewise.
16187 (FPE_INTOVF): Likewise.
16188 (FPE_FLTDIV): Likewise.
16189 (FPE_FLTOVF): Likewise.
16190 (FPE_FLTUND): Likewise.
16191 (FPE_FLTRES): Likewise.
16192 (FPE_FLTINV): Likewise.
16193 (FPE_FLTSUB): Likewise.
16194 (SEGV_MAPERR): Likewise.
16195 (SEGV_ACCERR): Likewise.
16196 (BUS_ADRALN): Likewise.
16197 (BUS_ADRERR): Likewise.
16198 (BUS_OBJERR): Likewise.
16199 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16200 (TRAP_TRACE): Likewise.
16201 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16202 __USE_XOPEN2K8].
16203 (CLD_KILLED): Likewise.
16204 (CLD_DUMPED): Likewise.
16205 (CLD_TRAPPED): Likewise.
16206 (CLD_STOPPED): Likewise.
16207 (CLD_CONTINUED): Likewise.
16208 (POLL_IN): Likewise.
16209 (POLL_OUT): Likewise.
16210 (POLL_MSG): Likewise.
16211 (POLL_ERR): Likewise.
16212 (POLL_PRI): Likewise.
16213 (POLL_HUP): Likewise.
16214 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16215 Likewise.
16216 (ILL_ILLOPN): Likewise.
16217 (ILL_ILLADR): Likewise.
16218 (ILL_ILLTRP): Likewise.
16219 (ILL_PRVOPC): Likewise.
16220 (ILL_PRVREG): Likewise.
16221 (ILL_COPROC): Likewise.
16222 (ILL_BADSTK): Likewise.
16223 (FPE_INTDIV): Likewise.
16224 (FPE_INTOVF): Likewise.
16225 (FPE_FLTDIV): Likewise.
16226 (FPE_FLTOVF): Likewise.
16227 (FPE_FLTUND): Likewise.
16228 (FPE_FLTRES): Likewise.
16229 (FPE_FLTINV): Likewise.
16230 (FPE_FLTSUB): Likewise.
16231 (SEGV_MAPERR): Likewise.
16232 (SEGV_ACCERR): Likewise.
16233 (BUS_ADRALN): Likewise.
16234 (BUS_ADRERR): Likewise.
16235 (BUS_OBJERR): Likewise.
16236 (BUS_MCEERR_AR): Likewise.
16237 (BUS_MCEERR_AO): Likewise.
16238 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16239 (TRAP_TRACE): Likewise.
16240 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16241 __USE_XOPEN2K8].
16242 (CLD_KILLED): Likewise.
16243 (CLD_DUMPED): Likewise.
16244 (CLD_TRAPPED): Likewise.
16245 (CLD_STOPPED): Likewise.
16246 (CLD_CONTINUED): Likewise.
16247 (POLL_IN): Likewise.
16248 (POLL_OUT): Likewise.
16249 (POLL_MSG): Likewise.
16250 (POLL_ERR): Likewise.
16251 (POLL_PRI): Likewise.
16252 (POLL_HUP): Likewise.
16253 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16254 (ILL_ILLOPN): Likewise.
16255 (ILL_ILLADR): Likewise.
16256 (ILL_ILLTRP): Likewise.
16257 (ILL_PRVOPC): Likewise.
16258 (ILL_PRVREG): Likewise.
16259 (ILL_COPROC): Likewise.
16260 (ILL_BADSTK): Likewise.
16261 (FPE_INTDIV): Likewise.
16262 (FPE_INTOVF): Likewise.
16263 (FPE_FLTDIV): Likewise.
16264 (FPE_FLTOVF): Likewise.
16265 (FPE_FLTUND): Likewise.
16266 (FPE_FLTRES): Likewise.
16267 (FPE_FLTINV): Likewise.
16268 (FPE_FLTSUB): Likewise.
16269 (SEGV_MAPERR): Likewise.
16270 (SEGV_ACCERR): Likewise.
16271 (BUS_ADRALN): Likewise.
16272 (BUS_ADRERR): Likewise.
16273 (BUS_OBJERR): Likewise.
16274 (BUS_MCEERR_AR): Likewise.
16275 (BUS_MCEERR_AO): Likewise.
16276 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16277 (TRAP_TRACE): Likewise.
16278 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16279 __USE_XOPEN2K8].
16280 (CLD_KILLED): Likewise.
16281 (CLD_DUMPED): Likewise.
16282 (CLD_TRAPPED): Likewise.
16283 (CLD_STOPPED): Likewise.
16284 (CLD_CONTINUED): Likewise.
16285 (POLL_IN): Likewise.
16286 (POLL_OUT): Likewise.
16287 (POLL_MSG): Likewise.
16288 (POLL_ERR): Likewise.
16289 (POLL_PRI): Likewise.
16290 (POLL_HUP): Likewise.
16291 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16292 Likewise.
16293 (ILL_ILLOPN): Likewise.
16294 (ILL_ILLADR): Likewise.
16295 (ILL_ILLTRP): Likewise.
16296 (ILL_PRVOPC): Likewise.
16297 (ILL_PRVREG): Likewise.
16298 (ILL_COPROC): Likewise.
16299 (ILL_BADSTK): Likewise.
16300 (ILL_BADIADDR): Likewise.
16301 (ILL_BREAK): Likewise.
16302 (FPE_INTDIV): Likewise.
16303 (FPE_INTOVF): Likewise.
16304 (FPE_FLTDIV): Likewise.
16305 (FPE_FLTOVF): Likewise.
16306 (FPE_FLTUND): Likewise.
16307 (FPE_FLTRES): Likewise.
16308 (FPE_FLTINV): Likewise.
16309 (FPE_FLTSUB): Likewise.
16310 (FPE_DECOVF): Likewise.
16311 (FPE_DECDIV): Likewise.
16312 (FPE_DECERR): Likewise.
16313 (FPE_INVASC): Likewise.
16314 (FPE_INVDEC): Likewise.
16315 (SEGV_MAPERR): Likewise.
16316 (SEGV_ACCERR): Likewise.
16317 (SEGV_PSTKOVF): Likewise.
16318 (BUS_ADRALN): Likewise.
16319 (BUS_ADRERR): Likewise.
16320 (BUS_OBJERR): Likewise.
16321 (BUS_MCEERR_AR): Likewise.
16322 (BUS_MCEERR_AO): Likewise.
16323 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16324 (TRAP_TRACE): Likewise.
16325 (TRAP_BRANCH): Likewise.
16326 (TRAP_HWBKPT): Likewise.
16327 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16328 __USE_XOPEN2K8].
16329 (CLD_KILLED): Likewise.
16330 (CLD_DUMPED): Likewise.
16331 (CLD_TRAPPED): Likewise.
16332 (CLD_STOPPED): Likewise.
16333 (CLD_CONTINUED): Likewise.
16334 (POLL_IN): Likewise.
16335 (POLL_OUT): Likewise.
16336 (POLL_MSG): Likewise.
16337 (POLL_ERR): Likewise.
16338 (POLL_PRI): Likewise.
16339 (POLL_HUP): Likewise.
16340 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16341 (ILL_ILLOPN): Likewise.
16342 (ILL_ILLADR): Likewise.
16343 (ILL_ILLTRP): Likewise.
16344 (ILL_PRVOPC): Likewise.
16345 (ILL_PRVREG): Likewise.
16346 (ILL_COPROC): Likewise.
16347 (ILL_BADSTK): Likewise.
16348 (FPE_INTDIV): Likewise.
16349 (FPE_INTOVF): Likewise.
16350 (FPE_FLTDIV): Likewise.
16351 (FPE_FLTOVF): Likewise.
16352 (FPE_FLTUND): Likewise.
16353 (FPE_FLTRES): Likewise.
16354 (FPE_FLTINV): Likewise.
16355 (FPE_FLTSUB): Likewise.
16356 (SEGV_MAPERR): Likewise.
16357 (SEGV_ACCERR): Likewise.
16358 (BUS_ADRALN): Likewise.
16359 (BUS_ADRERR): Likewise.
16360 (BUS_OBJERR): Likewise.
16361 (BUS_MCEERR_AR): Likewise.
16362 (BUS_MCEERR_AO): Likewise.
16363 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16364 (TRAP_TRACE): Likewise.
16365 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16366 __USE_XOPEN2K8].
16367 (CLD_KILLED): Likewise.
16368 (CLD_DUMPED): Likewise.
16369 (CLD_TRAPPED): Likewise.
16370 (CLD_STOPPED): Likewise.
16371 (CLD_CONTINUED): Likewise.
16372 (POLL_IN): Likewise.
16373 (POLL_OUT): Likewise.
16374 (POLL_MSG): Likewise.
16375 (POLL_ERR): Likewise.
16376 (POLL_PRI): Likewise.
16377 (POLL_HUP): Likewise.
16378 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16379 (ILL_ILLOPN): Likewise.
16380 (ILL_ILLADR): Likewise.
16381 (ILL_ILLTRP): Likewise.
16382 (ILL_PRVOPC): Likewise.
16383 (ILL_PRVREG): Likewise.
16384 (ILL_COPROC): Likewise.
16385 (ILL_BADSTK): Likewise.
16386 (FPE_INTDIV): Likewise.
16387 (FPE_INTOVF): Likewise.
16388 (FPE_FLTDIV): Likewise.
16389 (FPE_FLTOVF): Likewise.
16390 (FPE_FLTUND): Likewise.
16391 (FPE_FLTRES): Likewise.
16392 (FPE_FLTINV): Likewise.
16393 (FPE_FLTSUB): Likewise.
16394 (SEGV_MAPERR): Likewise.
16395 (SEGV_ACCERR): Likewise.
16396 (BUS_ADRALN): Likewise.
16397 (BUS_ADRERR): Likewise.
16398 (BUS_OBJERR): Likewise.
16399 (BUS_MCEERR_AR): Likewise.
16400 (BUS_MCEERR_AO): Likewise.
16401 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16402 (TRAP_TRACE): Likewise.
16403 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16404 __USE_XOPEN2K8].
16405 (CLD_KILLED): Likewise.
16406 (CLD_DUMPED): Likewise.
16407 (CLD_TRAPPED): Likewise.
16408 (CLD_STOPPED): Likewise.
16409 (CLD_CONTINUED): Likewise.
16410 (POLL_IN): Likewise.
16411 (POLL_OUT): Likewise.
16412 (POLL_MSG): Likewise.
16413 (POLL_ERR): Likewise.
16414 (POLL_PRI): Likewise.
16415 (POLL_HUP): Likewise.
16416 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16417 (ILL_ILLOPN): Likewise.
16418 (ILL_ILLADR): Likewise.
16419 (ILL_ILLTRP): Likewise.
16420 (ILL_PRVOPC): Likewise.
16421 (ILL_PRVREG): Likewise.
16422 (ILL_COPROC): Likewise.
16423 (ILL_BADSTK): Likewise.
16424 (FPE_INTDIV): Likewise.
16425 (FPE_INTOVF): Likewise.
16426 (FPE_FLTDIV): Likewise.
16427 (FPE_FLTOVF): Likewise.
16428 (FPE_FLTUND): Likewise.
16429 (FPE_FLTRES): Likewise.
16430 (FPE_FLTINV): Likewise.
16431 (FPE_FLTSUB): Likewise.
16432 (SEGV_MAPERR): Likewise.
16433 (SEGV_ACCERR): Likewise.
16434 (BUS_ADRALN): Likewise.
16435 (BUS_ADRERR): Likewise.
16436 (BUS_OBJERR): Likewise.
16437 (BUS_MCEERR_AR): Likewise.
16438 (BUS_MCEERR_AO): Likewise.
16439 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16440 (TRAP_TRACE): Likewise.
16441 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16442 __USE_XOPEN2K8].
16443 (CLD_KILLED): Likewise.
16444 (CLD_DUMPED): Likewise.
16445 (CLD_TRAPPED): Likewise.
16446 (CLD_STOPPED): Likewise.
16447 (CLD_CONTINUED): Likewise.
16448 (POLL_IN): Likewise.
16449 (POLL_OUT): Likewise.
16450 (POLL_MSG): Likewise.
16451 (POLL_ERR): Likewise.
16452 (POLL_PRI): Likewise.
16453 (POLL_HUP): Likewise.
16454 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16455 (ILL_ILLOPN): Likewise.
16456 (ILL_ILLADR): Likewise.
16457 (ILL_ILLTRP): Likewise.
16458 (ILL_PRVOPC): Likewise.
16459 (ILL_PRVREG): Likewise.
16460 (ILL_COPROC): Likewise.
16461 (ILL_BADSTK): Likewise.
16462 (ILL_DBLFLT): Likewise.
16463 (ILL_HARDWALL): Likewise.
16464 (FPE_INTDIV): Likewise.
16465 (FPE_INTOVF): Likewise.
16466 (FPE_FLTDIV): Likewise.
16467 (FPE_FLTOVF): Likewise.
16468 (FPE_FLTUND): Likewise.
16469 (FPE_FLTRES): Likewise.
16470 (FPE_FLTINV): Likewise.
16471 (FPE_FLTSUB): Likewise.
16472 (SEGV_MAPERR): Likewise.
16473 (SEGV_ACCERR): Likewise.
16474 (BUS_ADRALN): Likewise.
16475 (BUS_ADRERR): Likewise.
16476 (BUS_OBJERR): Likewise.
16477 (BUS_MCEERR_AR): Likewise.
16478 (BUS_MCEERR_AO): Likewise.
16479 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16480 (TRAP_TRACE): Likewise.
16481 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16482 __USE_XOPEN2K8].
16483 (CLD_KILLED): Likewise.
16484 (CLD_DUMPED): Likewise.
16485 (CLD_TRAPPED): Likewise.
16486 (CLD_STOPPED): Likewise.
16487 (CLD_CONTINUED): Likewise.
16488 (POLL_IN): Likewise.
16489 (POLL_OUT): Likewise.
16490 (POLL_MSG): Likewise.
16491 (POLL_ERR): Likewise.
16492 (POLL_PRI): Likewise.
16493 (POLL_HUP): Likewise.
16494 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16495 (ILL_ILLOPN): Likewise.
16496 (ILL_ILLADR): Likewise.
16497 (ILL_ILLTRP): Likewise.
16498 (ILL_PRVOPC): Likewise.
16499 (ILL_PRVREG): Likewise.
16500 (ILL_COPROC): Likewise.
16501 (ILL_BADSTK): Likewise.
16502 (FPE_INTDIV): Likewise.
16503 (FPE_INTOVF): Likewise.
16504 (FPE_FLTDIV): Likewise.
16505 (FPE_FLTOVF): Likewise.
16506 (FPE_FLTUND): Likewise.
16507 (FPE_FLTRES): Likewise.
16508 (FPE_FLTINV): Likewise.
16509 (FPE_FLTSUB): Likewise.
16510 (SEGV_MAPERR): Likewise.
16511 (SEGV_ACCERR): Likewise.
16512 (BUS_ADRALN): Likewise.
16513 (BUS_ADRERR): Likewise.
16514 (BUS_OBJERR): Likewise.
16515 (BUS_MCEERR_AR): Likewise.
16516 (BUS_MCEERR_AO): Likewise.
16517 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16518 (TRAP_TRACE): Likewise.
16519 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16520 __USE_XOPEN2K8].
16521 (CLD_KILLED): Likewise.
16522 (CLD_DUMPED): Likewise.
16523 (CLD_TRAPPED): Likewise.
16524 (CLD_STOPPED): Likewise.
16525 (CLD_CONTINUED): Likewise.
16526 (POLL_IN): Likewise.
16527 (POLL_OUT): Likewise.
16528 (POLL_MSG): Likewise.
16529 (POLL_ERR): Likewise.
16530 (POLL_PRI): Likewise.
16531 (POLL_HUP): Likewise.
16532 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16533 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16534
bc61d27c
JM
16535 [BZ #16670]
16536 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16537 before #include of <time.h>.
16538 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16539 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16540 (test-xfail-UNIX98/sched.h/conform): Likewise.
16541
302949e2
MS
165422014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16543
16544 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16545 error absence of trapping exception support.
16546 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16547
a00f522a
JM
165482014-03-07 Joseph Myers <joseph@codesourcery.com>
16549
6f99f280
JM
16550 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16551 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16552 * timezone/Makefile (testdata): Move definition above include of
16553 Rules.
16554 (test-zones): New variable.
16555 (tests-special): Add zone files.
16556 (build-testdata): Use $(evaluate-test).
16557
0b20a9e8
JM
16558 * elf/Makefile (tests-special): Rename tests to end with .out.
16559 ($(objpfx)noload-mem): Likewise.
16560 ($(objpfx)tst-leaks1-mem): Likewise.
16561 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16562 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16563 $(objpfx)test-iconvconfig.out.
16564 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16565 set -e inside subshell and redirect output to file.
16566 * iconvdata/Makefile (generated): Rename tests to end with .out.
16567 Correct type.
16568 (tests-special): Rename tests to end with .out.
16569 ($(objpfx)mtrace-tst-loading): Likewise.
16570 * intl/Makefile (generated): Likewise.
16571 (tests-special): Likewise.
16572 ($(objpfx)mtrace-tst-gettext): Likewise.
16573 * misc/Makefile (generated): Likewise.
16574 (tests-special): Likewise.
16575 ($(objpfx)tst-error1-mem): Likewise.
16576 * nptl/Makefile (tests-special): Likewise.
16577 ($(objpfx)tst-stack3-mem): Likewise.
16578 (generated): Likewise.
16579 * posix/Makefile (generated): Likewise.
16580 (tests-special): Likewise.
16581 (xtests-special): Likewise.
16582 ($(objpfx)tst-fnmatch-mem): Likewise.
16583 ($(objpfx)bug-regex2-mem): Likewise.
16584 ($(objpfx)bug-regex14-mem): Likewise.
16585 ($(objpfx)bug-regex21-mem): Likewise.
16586 ($(objpfx)bug-regex31-mem): Likewise.
16587 ($(objpfx)tst-vfork3-mem): Likewise.
16588 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16589 ($(objpfx)tst-pcre-mem): Likewise.
16590 ($(objpfx)tst-boost-mem): Likewise.
16591 ($(objpfx)bug-ga2-mem): Likewise.
16592 ($(objpfx)bug-glob2-mem): Likewise.
16593 * resolv/Makefile (generate): Likewise.
16594 (tests-special): Likewise.
16595 (xtests-special): Likewise.
16596 (generated): Likewise.
16597 ($(objpfx)mtrace-tst-leaks): Likewise.
16598 ($(objpfx)mtrace-tst-leaks2): Likewise.
16599
265d52ab
JM
16600 * scripts/merge-test-results.sh: New file.
16601 * Makefile (tests-special-notdir): New variable.
16602 (tests): Run merge-test-results.sh.
16603 (xtests): Likewise.
16604 * Rules (tests-special-notdir): New variable.
16605 (xtests-special-notdir): Likewise.
16606 (tests): Run merge-test-results.sh
16607 (xtests): Likewise.
16608
54ee292d
JM
16609 * Makeconfig (test-xfail-name): New variable.
16610 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16611 compute variable name for expected failures.
16612 * conform/Makefile (conformtest-headers-data): New variable.
16613 (conformtest-standards): Likewise.
16614 (conformtest-headers-ISO): Likewise.
16615 (conformtest-headers-ISO99): Likewise.
16616 (conformtest-headers-ISO11): Likewise.
16617 (conformtest-headers-POSIX): Likewise.
16618 (conformtest-headers-XPG3): Likewise.
16619 (conformtest-headers-XPG4): Likewise.
16620 (conformtest-headers-UNIX98): Likewise.
16621 (conformtest-headers-XOPEN2K): Likewise.
16622 (conformtest-headers-POSIX2008): Likewise.
16623 (conformtest-headers-XOPEN2K8): Likewise.
16624 (conformtest-header-list-base): Likewise.
16625 (conformtest-header-list-tests): Likewise.
16626 (conformtest-header-base): Likewise.
16627 (conformtest-header-tests): Likewise.
16628 (tests-special): Add $(conformtest-header-list-tests). If
16629 [$(fast-check) && !$(cross-compiling)], add
16630 $(conformtest-header-tests) instead of
16631 $(objpfx)run-conformtest.out.
16632 (generated): Add $(conformtest-header-list-base). If
16633 [$(fast-check) && !$(cross-compiling)], add
16634 $(conformtest-header-base). Remove previous setting.
16635 ($(conformtest-header-list-tests)): New target.
16636 (test-xfail-run-conformtest): Remove variable.
16637 ($(objpfx)run-conformtest.out): Remove target.
16638 (test-xfail-ISO11/complex.h/conform): New variable.
16639 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16640 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16641 (test-xfail-XPG3/varargs.h/conform): Likewise.
16642 (test-xfail-XPG4/varargs.h/conform): Likewise.
16643 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16644 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16645 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16646 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16647 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16648 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16649 (test-xfail-XPG3/ftw.h/conform): Likewise.
16650 (test-xfail-XPG3/grp.h/conform): Likewise.
16651 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16652 (test-xfail-XPG3/limits.h/conform): Likewise.
16653 (test-xfail-XPG3/pwd.h/conform): Likewise.
16654 (test-xfail-XPG3/search.h/conform): Likewise.
16655 (test-xfail-XPG3/signal.h/conform): Likewise.
16656 (test-xfail-XPG3/stdio.h/conform): Likewise.
16657 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16658 (test-xfail-XPG3/string.h/conform): Likewise.
16659 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16660 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16661 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16662 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16663 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16664 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16665 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16666 (test-xfail-XPG3/termios.h/conform): Likewise.
16667 (test-xfail-XPG3/time.h/conform): Likewise.
16668 (test-xfail-XPG3/unistd.h/conform): Likewise.
16669 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16670 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16671 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16672 (test-xfail-XPG4/netdb.h/conform): Likewise.
16673 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16674 (test-xfail-XPG4/signal.h/conform): Likewise.
16675 (test-xfail-XPG4/stdio.h/conform): Likewise.
16676 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16677 (test-xfail-XPG4/stropts.h/conform): Likewise.
16678 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16679 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16680 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16681 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16682 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16683 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16684 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16685 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16686 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16687 (test-xfail-XPG4/termios.h/conform): Likewise.
16688 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16689 (test-xfail-XPG4/unistd.h/conform): Likewise.
16690 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16691 (test-xfail-POSIX/sched.h/conform): Likewise.
16692 (test-xfail-POSIX/signal.h/conform): Likewise.
16693 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16694 (test-xfail-POSIX/tar.h/conform): Likewise.
16695 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16696 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16697 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16698 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16699 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16700 (test-xfail-UNIX98/sched.h/conform): Likewise.
16701 (test-xfail-UNIX98/signal.h/conform): Likewise.
16702 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16703 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16704 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16705 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16706 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16707 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16708 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16709 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16710 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16711 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16712 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16713 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16714 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16715 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16716 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16717 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16718 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16719 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16720 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16721 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16722 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16723 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16724 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16725 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16726 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16727 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16728 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16729 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16730 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16731 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16732 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16733 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16734 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16735 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16736 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16737 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16738 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16739 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16740 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16741 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16742 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16743 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16744 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16745 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16746 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16747 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16748 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16749 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16750 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16751 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16752 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16753 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16754 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16755 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16756 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16757 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16758 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16759 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16760 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16761 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16762 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16763 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16764 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16765 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16766 (conformtest-cc-flags): Likewise.
16767 ($(conformtest-header-tests): New target.
16768 * conform/check-header-lists.sh: New file.
16769 * conform/run-conformtest.sh: Remove.
16770
a00f522a
JM
16771 * conform/conformtest.pl: Allow ' and \ in values given for
16772 constants.
16773 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16774 inclusion.
16775 [POSIX] (sys/types.h): Likewise.
16776 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16777 inclusion.
16778 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16779 inclusion.
16780 * conform/data/signal.h-data (SIGIO): Remove expectation.
16781 [XPG3] (SIGBUS): Do not expect.
16782 [POSIX || XPG3] (SIGPOLL): Likewise.
16783 [POSIX || XPG3] (SIGPROF): Likewise.
16784 [POSIX || XPG3] (SIGSYS): Likewise.
16785 [XPG3] (SIGTRAP): Likewise.
16786 [POSIX || XPG3] (SIGURG): Likewise.
16787 [POSIX || XPG3] (SIGVTALRM): Likewise.
16788 [POSIX || XPG3] (SIGXCPU): Likewise.
16789 [POSIX || XPG3] (SIGXFSZ): Likewise.
16790 [POSIX] (SA_SIGINFO): Expect.
16791 [XPG3] (siginfo_t): Do not expect type or contents.
16792 [POSIX] (si_pid): Do not expect element.
16793 [POSIX] (si_uid): Likewise.
16794 [POSIX] (si_addr): Likewise.
16795 [POSIX] (si_status): Likewise.
16796 [POSIX] (si_band): Likewise.
16797 [XPG4] (si_value): Likewise.
16798 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16799 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16800 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16801 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16802 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16803 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16804 [POSIX || XPG3] (ILL_COPROC): Likewise.
16805 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16806 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16807 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16808 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16809 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16810 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16811 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16812 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16813 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16814 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16815 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16816 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16817 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16818 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16819 [POSIX || XPG3] (CLD_EXITED): Likewise.
16820 [POSIX || XPG3] (CLD_KILLED): Likewise.
16821 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16822 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16823 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16824 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16825 [POSIX || XPG3] (POLL_IN): Likewise.
16826 [POSIX || XPG3] (POLL_OUT): Likewise.
16827 [POSIX || XPG3] (POLL_MSG): Likewise.
16828 [POSIX || XPG3] (POLL_ERR): Likewise.
16829 [POSIX || XPG3] (POLL_PRI): Likewise.
16830 [POSIX || XPG3] (POLL_HUP): Likewise.
16831 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16832 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16833 (SIG*): Do not allow.
16834 [XPG3] (si_*): Likewise.
16835 [XPG3] (SI_*): Likewise.
16836 [XPG3 || XPG4] (sigev_*): Likewise.
16837 [XPG3 || XPG4] (SIGEV_*): Likewise.
16838 [XPG3 || XPG4] (sival_*): Likewise.
16839 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16840 [POSIX || XPG3] (BUS_*): Likewise.
16841 [POSIX || XPG3] (CLD_*): Likewise.
16842 [POSIX || XPG3] (FPE_*): Likewise.
16843 [POSIX || XPG3] (ILL_*): Likewise.
16844 [POSIX || XPG3] (POLL_*): Likewise.
16845 [POSIX || XPG3] (SEGV_*): Likewise.
16846 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16847 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16848 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16849 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16850 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16851 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16852 Specify type and value.
16853 (TVERSLEN): Likewise.
16854 (REGTYPE): Likewise.
16855 (AREGTYPE): Likewise.
16856 (LNKTYPE): Likewise.
16857 (SYMTYPE): Likewise.
16858 (CHRTYPE): Likewise.
16859 (BLKTYPE): Likewise.
16860 (DIRTYPE): Likewise.
16861 (FIFOTYPE): Likewise.
16862 (CONTTYPE): Likewise.
16863 (TSUID): Likewise.
16864 (TSGID): Likewise.
16865 (TSVTX): Likewise.
16866 (TUREAD): Likewise.
16867 (TUWRITE): Likewise.
16868 (TUEXEC): Likewise.
16869 (TGREAD): Likewise.
16870 (TGWRITE): Likewise.
16871 (TGEXEC): Likewise.
16872 (TOREAD): Likewise.
16873 (TOWRITE): Likewise.
16874 (TOEXEC): Likewise.
16875 [POSIX] (TSVTX): Expect constant.
16876
aa97dee1
JM
168772014-03-06 Joseph Myers <joseph@codesourcery.com>
16878
f214606a
JM
16879 * Makefile (tests): Change dependencies to ....
16880 (tests-special): ... additions to this variable.
16881 (tests): Depend on $(tests-special).
16882 * Makerules (check-abi-list): New variable.
16883 (check-abi): Depend on $(check-abi-list).
16884 [$(subdir) = elf] (tests-special): Add
16885 $(objpfx)check-abi-libc.out.
16886 [$(build-shared) = yes && subdir] (tests-special): Add
16887 $(check-abi-list).
16888 [$(build-shared) = yes && subdir] (tests): Do not depend on
16889 check-abi.
16890 * Rules (tests): Depend on $(tests-special).
16891 (xtests): Depend on $(xtests-special).
16892 * catgets/Makefile (tests): Change dependencies to ....
16893 (tests-special): ... additions to this variable.
16894 * conform/Makefile (tests): Change dependencies to ....
16895 (tests-special): ... additions to this variable.
16896 * elf/Makefile (tests): Change dependencies to ....
16897 (tests-special): ... additions to this variable.
16898 * grp/Makefile (tests): Change dependencies to ....
16899 (tests-special): ... additions to this variable.
16900 * iconv/Makefile (xtests): Change dependencies to ....
16901 (xtests-special): ... additions to this variable.
16902 * iconvdata/Makefile (tests): Change dependencies to ....
16903 (tests-special): ... additions to this variable.
16904 * intl/Makefile (tests): Change dependencies to ....
16905 (tests-special): ... additions to this variable. Also add
16906 $(objpfx)tst-gettext.out.
16907 * io/Makefile (tests): Change dependencies to ....
16908 (tests-special): ... additions to this variable.
16909 * libio/Makefile (tests): Change dependencies to ....
16910 (tests-special): ... additions to this variable.
16911 * malloc/Makefile (tests): Change dependencies to ....
16912 (tests-special): ... additions to this variable.
16913 * misc/Makefile (tests): Change dependencies to ....
16914 (tests-special): ... additions to this variable.
16915 * nptl/Makefile (tests): Change dependencies to ....
16916 (tests-special): ... additions to this variable.
16917 * nptl_db/Makefile (tests): Change dependencies to ....
16918 (tests-special): ... additions to this variable.
16919 * posix/Makefile (tests): Change dependencies to ....
16920 (tests-special): ... additions to this variable.
16921 (xtests): Change dependencies to ....
16922 (xtests-special): ... additions to this variable.
16923 * resolv/Makefile (tests): Change dependencies to ....
16924 (tests-special): ... additions to this variable.
16925 (xtests): Change dependencies to ....
16926 (xtests-special): ... additions to this variable.
16927 * stdio-common/Makefile (tests): Change dependencies to ....
16928 (tests-special): ... additions to this variable.
16929 (do-tst-unbputc): Remove target.
16930 (do-tst-printf): Likewise.
16931 * stdlib/Makefile (tests): Change dependencies to ....
16932 (tests-special): ... additions to this variable.
16933 * string/Makefile (tests): Change dependencies to ....
16934 (tests-special): ... additions to this variable.
16935 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16936 (tests-special): ... additions to this variable.
16937
81700b53
JM
16938 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16939 whole file.
16940 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16941 whole file.
16942 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16943 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16944
2ea18461
JM
16945 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16946 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16947 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16948 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16949 * conform/data/libgen.h-data [XPG3]: Likewise.
16950 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16951 * conform/data/ndbm.h-data [XPG3]: Likewise.
16952 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16953 * conform/data/netdb.h-data [XPG3]: Likewise.
16954 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16955 * conform/data/poll.h-data [XPG3]: Likewise.
16956 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16957 * conform/data/strings.h-data [XPG3]: Likewise.
16958 * conform/data/stropts.h-data [XPG3]: Likewise.
16959 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16960 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16961 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16962 Likewise.
16963 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16964 * conform/data/sys/time.h-data [XPG3]: Likewise.
16965 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16966 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16967 * conform/data/sys/un.h-data [XPG3]: Likewise.
16968 * conform/data/syslog.h-data [XPG3]: Likewise.
16969 * conform/data/ucontext.h-data [XPG3]: Likewise.
16970 * conform/data/utmpx.h-data [XPG3]: Likewise.
16971 * conform/data/varargs.h-data [UNIX98]: Enable file.
16972
355bc986
JM
16973 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16974
215db402
JM
16975 * math/libm-test.inc (struct test_f_f_data): Move expected results
16976 into structure for each rounding mode.
16977 (struct test_ff_f_data): Likewise.
16978 (struct test_ff_f_data_nexttoward): Likewise.
16979 (struct test_fi_f_data): Likewise.
16980 (struct test_fl_f_data): Likewise.
16981 (struct test_if_f_data): Likewise.
16982 (struct test_fff_f_data): Likewise.
16983 (struct test_c_f_data): Likewise.
16984 (struct test_f_f1_data): Likewise.
16985 (struct test_fF_f1_data): Likewise.
16986 (struct test_ffI_f1_data): Likewise.
16987 (struct test_c_c_data): Likewise.
16988 (struct test_cc_c_data): Likewise.
16989 (struct test_f_i_data): Likewise.
16990 (struct test_ff_i_data): Likewise.
16991 (struct test_f_l_data): Likewise.
16992 (struct test_f_L_data): Likewise.
16993 (struct test_fFF_11_data): Likewise.
16994 (RM_): New macro.
16995 (RM_FE_DOWNWARD): Likewise.
16996 (RM_FE_TONEAREST): Likewise.
16997 (RM_FE_TOWARDZERO): Likewise.
16998 (RM_FE_UPWARD): Likewise.
16999 (RUN_TEST_LOOP_f_f): Update references to expected results.
17000 (RUN_TEST_LOOP_2_f): Likewise.
17001 (RUN_TEST_LOOP_fff_f): Likewise.
17002 (RUN_TEST_LOOP_c_f): Likewise.
17003 (RUN_TEST_LOOP_f_f1): Likewise.
17004 (RUN_TEST_LOOP_fF_f1): Likewise.
17005 (RUN_TEST_LOOP_fI_f1): Likewise.
17006 (RUN_TEST_LOOP_ffI_f1): Likewise.
17007 (RUN_TEST_LOOP_c_c): Likewise.
17008 (RUN_TEST_LOOP_cc_c): Likewise.
17009 (RUN_TEST_LOOP_f_i): Likewise.
17010 (RUN_TEST_LOOP_f_i_tg): Likewise.
17011 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17012 (RUN_TEST_LOOP_f_b): Likewise.
17013 (RUN_TEST_LOOP_f_b_tg): Likewise.
17014 (RUN_TEST_LOOP_f_l): Likewise.
17015 (RUN_TEST_LOOP_f_L): Likewise.
17016 (RUN_TEST_LOOP_fFF_11): Likewise.
17017 * math/gen-libm-test.pl (parse_args): Output four copies of
17018 expected results for each test.
17019
67737b8f
JM
17020 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17021 (__ASSUME_UTIMES): Remove.
17022 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17023 (__ASSUME_UTIMES): Likewise.
17024
aa97dee1
JM
17025 * math/gen-auto-libm-tests.c: Update comment on output format.
17026 (output_for_one_input_case): Generate before-rounding and
17027 after-rounding information as conditions on output flags not
17028 floating-point format.
17029 * math/auto-libm-test-out: Regenerated.
17030 * math/gen-libm-test.pl (cond_value): New function.
17031 (or_cond_value): Use cond_value.
17032 (generate_testfile): Handle conditional exceptions.
17033
e6b6a857
JM
170342014-03-05 Joseph Myers <joseph@codesourcery.com>
17035
2f0a0f44
JM
17036 * math/libm-test.inc (max_valid_error): New variable.
17037 (init_max_error): Take new argument specifying whether function
17038 results are exactly determined. Set max_valid_error and bound
17039 other variables for errors based on this argument.
17040 (set_max_error): Do not record results above max_valid_error.
17041 (check_float_internal): Only accept errors of up to 0.5ulps if
17042 also at most max_valid_error.
17043 (START): Take new argument EXACT and pass it to init_max_error.
17044 (acos_test): Update call to START.
17045 (acos_test_tonearest): Likewise.
17046 (acos_test_towardzero): Likewise.
17047 (acos_test_downward): Likewise.
17048 (acos_test_upward): Likewise.
17049 (acosh_test): Likewise.
17050 (asin_test): Likewise.
17051 (asin_test_tonearest): Likewise.
17052 (asin_test_towardzero): Likewise.
17053 (asin_test_downward): Likewise.
17054 (asin_test_upward): Likewise.
17055 (asinh_test): Likewise.
17056 (atan_test): Likewise.
17057 (atanh_test): Likewise.
17058 (atan2_test): Likewise.
17059 (cabs_test): Likewise.
17060 (cacos_test): Likewise.
17061 (cacosh_test): Likewise.
17062 (carg_test): Likewise.
17063 (casin_test): Likewise.
17064 (casinh_test): Likewise.
17065 (catan_test): Likewise.
17066 (catanh_test): Likewise.
17067 (cbrt_test): Likewise.
17068 (ccos_test): Likewise.
17069 (ccosh_test): Likewise.
17070 (ceil_test): Likewise.
17071 (cexp_test): Likewise.
17072 (cimag_test): Likewise.
17073 (clog_test): Likewise.
17074 (clog10_test): Likewise.
17075 (conj_test): Likewise.
17076 (copysign_test): Likewise.
17077 (cos_test): Likewise.
17078 (cos_test_tonearest): Likewise.
17079 (cos_test_towardzero): Likewise.
17080 (cos_test_downward): Likewise.
17081 (cos_test_upward): Likewise.
17082 (cosh_test): Likewise.
17083 (cosh_test_tonearest): Likewise.
17084 (cosh_test_towardzero): Likewise.
17085 (cosh_test_downward): Likewise.
17086 (cosh_test_upward): Likewise.
17087 (cpow_test): Likewise.
17088 (cproj_test): Likewise.
17089 (creal_test): Likewise.
17090 (csin_test): Likewise.
17091 (csinh_test): Likewise.
17092 (csqrt_test): Likewise.
17093 (ctan_test): Likewise.
17094 (ctan_test_tonearest): Likewise.
17095 (ctan_test_towardzero): Likewise.
17096 (ctan_test_downward): Likewise.
17097 (ctan_test_upward): Likewise.
17098 (ctanh_test): Likewise.
17099 (ctanh_test_tonearest): Likewise.
17100 (ctanh_test_towardzero): Likewise.
17101 (ctanh_test_downward): Likewise.
17102 (ctanh_test_upward): Likewise.
17103 (erf_test): Likewise.
17104 (erfc_test): Likewise.
17105 (exp_test): Likewise.
17106 (exp_test_tonearest): Likewise.
17107 (exp_test_towardzero): Likewise.
17108 (exp_test_downward): Likewise.
17109 (exp_test_upward): Likewise.
17110 (exp10_test): Likewise.
17111 (exp10_test_tonearest): Likewise.
17112 (exp10_test_towardzero): Likewise.
17113 (exp10_test_downward): Likewise.
17114 (exp10_test_upward): Likewise.
17115 (pow10_test): Likewise.
17116 (exp2_test): Likewise.
17117 (expm1_test): Likewise.
17118 (expm1_test_tonearest): Likewise.
17119 (expm1_test_towardzero): Likewise.
17120 (expm1_test_downward): Likewise.
17121 (expm1_test_upward): Likewise.
17122 (fabs_test): Likewise.
17123 (fdim_test): Likewise.
17124 (floor_test): Likewise.
17125 (fma_test): Likewise.
17126 (fma_test_towardzero): Likewise.
17127 (fma_test_downward): Likewise.
17128 (fma_test_upward): Likewise.
17129 (fmax_test): Likewise.
17130 (fmin_test): Likewise.
17131 (fmod_test): Likewise.
17132 (fpclassify_test): Likewise.
17133 (frexp_test): Likewise.
17134 (hypot_test): Likewise.
17135 (ilogb_test): Likewise.
17136 (isfinite_test): Likewise.
17137 (finite_test): Likewise.
17138 (isgreater_test): Likewise.
17139 (isgreaterequal_test): Likewise.
17140 (isinf_test): Likewise.
17141 (isless_test): Likewise.
17142 (islessequal_test): Likewise.
17143 (islessgreater_test): Likewise.
17144 (isnan_test): Likewise.
17145 (isnormal_test): Likewise.
17146 (issignaling_test): Likewise.
17147 (isunordered_test): Likewise.
17148 (j0_test): Likewise.
17149 (j1_test): Likewise.
17150 (jn_test): Likewise.
17151 (ldexp_test): Likewise.
17152 (lgamma_test): Likewise.
17153 (gamma_test): Likewise.
17154 (lrint_test): Likewise.
17155 (lrint_test_tonearest): Likewise.
17156 (lrint_test_towardzero): Likewise.
17157 (lrint_test_downward): Likewise.
17158 (lrint_test_upward): Likewise.
17159 (llrint_test): Likewise.
17160 (llrint_test_tonearest): Likewise.
17161 (llrint_test_towardzero): Likewise.
17162 (llrint_test_downward): Likewise.
17163 (llrint_test_upward): Likewise.
17164 (log_test): Likewise.
17165 (log10_test): Likewise.
17166 (log1p_test): Likewise.
17167 (log2_test): Likewise.
17168 (logb_test): Likewise.
17169 (logb_test_downward): Likewise.
17170 (lround_test): Likewise.
17171 (llround_test): Likewise.
17172 (modf_test): Likewise.
17173 (nearbyint_test): Likewise.
17174 (nextafter_test): Likewise.
17175 (nexttoward_test): Likewise.
17176 (pow_test): Likewise.
17177 (pow_test_tonearest): Likewise.
17178 (pow_test_towardzero): Likewise.
17179 (pow_test_downward): Likewise.
17180 (pow_test_upward): Likewise.
17181 (remainder_test): Likewise.
17182 (drem_test): Likewise.
17183 (remainder_test_tonearest): Likewise.
17184 (drem_test_tonearest): Likewise.
17185 (remainder_test_towardzero): Likewise.
17186 (drem_test_towardzero): Likewise.
17187 (remainder_test_downward): Likewise.
17188 (drem_test_downward): Likewise.
17189 (remainder_test_upward): Likewise.
17190 (drem_test_upward): Likewise.
17191 (remquo_test): Likewise.
17192 (rint_test): Likewise.
17193 (rint_test_tonearest): Likewise.
17194 (rint_test_towardzero): Likewise.
17195 (rint_test_downward): Likewise.
17196 (rint_test_upward): Likewise.
17197 (round_test): Likewise.
17198 (scalb_test): Likewise.
17199 (scalbn_test): Likewise.
17200 (scalbln_test): Likewise.
17201 (signbit_test): Likewise.
17202 (sin_test): Likewise.
17203 (sin_test_tonearest): Likewise.
17204 (sin_test_towardzero): Likewise.
17205 (sin_test_downward): Likewise.
17206 (sin_test_upward): Likewise.
17207 (sincos_test): Likewise.
17208 (sinh_test): Likewise.
17209 (sinh_test_tonearest): Likewise.
17210 (sinh_test_towardzero): Likewise.
17211 (sinh_test_downward): Likewise.
17212 (sinh_test_upward): Likewise.
17213 (sqrt_test): Likewise.
17214 (sqrt_test_tonearest): Likewise.
17215 (sqrt_test_towardzero): Likewise.
17216 (sqrt_test_downward): Likewise.
17217 (sqrt_test_upward): Likewise.
17218 (tan_test): Likewise.
17219 (tan_test_tonearest): Likewise.
17220 (tan_test_towardzero): Likewise.
17221 (tan_test_downward): Likewise.
17222 (tan_test_upward): Likewise.
17223 (tanh_test): Likewise.
17224 (tgamma_test): Likewise.
17225 (trunc_test): Likewise.
17226 (y0_test): Likewise.
17227 (y1_test): Likewise.
17228 (yn_test): Likewise.
17229 (significand_test): Likewise.
17230
e6b6a857
JM
17231 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17232 individual tests in comment.
17233 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17234 (prev_max_error): New variable.
17235 (prev_real_max_error): Likewise.
17236 (prev_imag_max_error): Likewise.
17237 (compare_ulp_data): Don't refer to test names in comment.
17238 (find_test_ulps): Remove function.
17239 (find_function_ulps): Likewise.
17240 (find_complex_function_ulps): Likewise.
17241 (init_max_error): Take function name as argument. Look up ulps
17242 for that function.
17243 (print_ulps): Remove function.
17244 (print_max_error): Use prev_max_error instead of calling
17245 find_function_ulps.
17246 (print_complex_max_error): Use prev_real_max_error and
17247 prev_imag_max_error instead of calling find_complex_function_ulps.
17248 (check_float_internal): Take max_ulp parameter instead of calling
17249 find_test_ulps. Don't call print_ulps.
17250 (check_float): Update call to check_float_internal.
17251 (check_complex): Update calls to check_float_internal.
17252 (START): Pass argument to init_max_error.
17253 * math/gen-libm-test.pl (%results): Don't include "kind"
17254 information.
17255 (parse_ulps): Don't handle ulps of individual tests.
17256 (print_ulps_file): Likewise.
17257 (output_ulps): Likewise.
17258 * math/README.libm-test: Update.
17259 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17260 individual tests.
17261 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17262 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17263 * sysdeps/arm/libm-test-ulps: Likewise.
17264 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17265 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17266 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17267 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17268 * sysdeps/microblaze/libm-test-ulps: Likewise.
17269 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17270 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17271 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17272 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17273 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17274 * sysdeps/sh/libm-test-ulps: Likewise.
17275 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17276 * sysdeps/tile/libm-test-ulps: Likewise.
17277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17278
45adef3c
JM
172792014-03-04 Joseph Myers <joseph@codesourcery.com>
17280
17281 * math/libm-test.inc (print_complex_max_error): Check separately
17282 whether real and imaginary errors are within allowed range and
17283 pass 0 to print_complex_function_ulps instead of value within
17284 allowed range.
17285
000232b9
SP
172862014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17287
d4b17258
SP
17288 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17289 formatting.
17290 (get_handles_fopen): Likewise.
17291 (do_write_test): Likewise.
17292
091eff71
SP
17293 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17294
fa3cd248
SP
17295 * libio/fileops.c (do_ftell): Use cached offset when
17296 available.
17297 * libio/iofwide.c (do_ftell_wide): Likewise.
17298 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17299 _IO_file_attach.
17300 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17301
000232b9
SP
17302 [BZ #16532]
17303 * libio/libioP.h (get_file_offset): New function.
17304 * libio/fileops.c (get_file_offset): Likewise.
17305 (do_ftell): Likewise.
17306 (_IO_new_file_seekoff): Split out ftell logic.
17307 * libio/wfileops.c (do_ftell_wide): Likewise.
17308 (_IO_wfile_seekoff): Split out ftell logic.
17309 * libio/tst-ftell-active-handler.c: New test case.
17310 * libio/Makefile (tests): Add it.
17311
116f4d1a
RM
173122014-03-03 Roland McGrath <roland@hack.frob.com>
17313
17314 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17315 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17316
532a6035
SP
173172014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17318
17319 [BZ #16639]
17320 * nscd/connections.c (nscd_init): Call do_exit.
17321 (start_threads): Call do_exit and notify_parent.
17322 (begin_drop_privileges): Call do_exit.
17323 (finish_drop_privileges): Likewise.
17324 * nscd/selinux.c (preserve_capabilities): Likewise.
17325 (install_real_capabilities): Likewise.
17326 (nscd_selinux_enabled): Likewise.
17327 (avc_create_thread): Likewise.
17328 (avc_alloc_lock): Likewise.
17329 (nscd_avc_init): Likewise.
17330 * nscd/nscd.c (parent_fd): New static variable.
17331 (main): Create a pipe between parent and child processes.
17332 Skip closing parent_fd.
17333 (monitor_child): New function.
17334 (do_exit): Likewise.
17335 (notify_parent): Likewise.
17336 * nscd/nscd.h (notify_parent): Likewise.
17337 (do_exit): Likewise.
17338
d6285c9f
CD
173392014-03-03 Carlos O'Donell <carlos@redhat.com>
17340
17341 * malloc/malloc.c (__libc_calloc): Revert last change.
17342
2b85d2a0
AZ
173432014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17344
17345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17346
c7debbdf
RS
173472014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17348
17349 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17351 implementation.
17352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17353 (__libc_ifunc_impl_list): Likewise.
17354 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17355 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17356 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17357 * string/strrchr.c: Define STRRCHR.
17358
235eed86
OB
173592014-02-28 Ondřej Bílka <neleai@seznam.cz>
17360
17361 * benchtest/bench-strtok.c (simple_strtok): Delete.
17362 (strtok_string): Use as benchmark.
17363 * string/strtok (STRTOK): New macro.
17364
8e25d1e7
CD
173652014-02-28 Carlos O'Donell <carlos@redhat.com>
17366
ef563f92
CD
17367 * manual/threads.texi: Add header and standard comments to all
17368 functions.
17369
8e25d1e7
CD
17370 * elf/dl-lookup.c (check_match): New function.
17371 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17372 (do_lookup_x): Remove nested function check_match. Use non-nested
17373 function check_match.
17374
ff71cc37
RM
173752014-02-28 Roland McGrath <roland@hack.frob.com>
17376
f08e9a26
RM
17377 * csu/Makefile (generated, before-compile): Use += rather than =.
17378 * catgets/Makefile (generated, generated-dirs): Likewise.
17379 * debug/Makefile (generated): Likewise.
17380 * dlfcn/Makefile (generated): Likewise.
17381 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17382 * iconvdata/Makefile (before-compile, generated): Likewise.
17383 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17384 * libio/Makefile (generated): Likewise.
17385 * malloc/Makefile (generated): Likewise.
17386 * manual/Makefile (generated, generated-dirs): Likewise.
17387 * misc/Makefile (generated): Likewise.
17388 * posix/Makefile (generated): Likewise.
17389 * resolv/Makefile (generated): Likewise.
17390 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17391 * timezone/Makefile (generated, generated-dirs): Likewise.
17392
ff71cc37
RM
17393 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17394
fe13a20c
AZ
173952014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17396
57f41c40
AS
17397 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17398 power8 implementation.
17399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17400 file: POWER8 llround ifunc implementation.
17401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17402 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
17403 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17404 POWER8 llround implementation.
17405
57f41c40
AS
17406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17407 power8 implementation.
17408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17409 file: POWER8 llrint ifunc implementation.
17410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17411 Add POWER8 implementation.
1ad8950a
AZ
17412 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17413 POWER8 llrint implementation.
17414
57f41c40
AS
17415 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17416 power8 implementation.
17417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17418 file: POWER8 finite ifunc implementation.
17419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17420 Add POWER8 implementation.
cac626d6
AZ
17421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17422 Likewise.
17423 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17424 POWER8 finite implementation.
17425 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17426
57f41c40
AS
17427 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17428 power8 implementation.
17429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17430 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
17431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17432 POWER8 implementation.
17433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17434 Likewise.
57f41c40
AS
17435 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17436 isinf implementation.
4393fc11
AZ
17437 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17438
57f41c40
AS
17439 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17440 (INIT_ARCH): Add hwcap2 initialization.
17441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17442 power8 implementation.
17443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17444 file: POWER8 isnan ifunc implementation.
487972ae
AZ
17445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17446 POWER8 implementation.
17447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17448 Likewise.
57f41c40
AS
17449 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17450 isnan implementation.
487972ae
AZ
17451 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17452
7d92b787
JY
174532014-02-27 Joey Ye <joey.ye@arm.com>
17454
17455 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17456 (_FP_NANFRAC_Q): Set to zero.
17457
1cadc858
SP
174582014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17459
17460 [BZ #16623]
17461 * math/auto-libm-test-in: New test inputs.
17462 * math/auto-libm-test-out: Regenerate.
17463 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17464 and DA.
17465 (__cos): Likewise.
17466 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17467
f8c17e79
JM
174682014-02-27 Joseph Myers <joseph@codesourcery.com>
17469
17470 * scripts/evaluate-test.sh: Take new argument indicating whether
17471 failure is expected.
17472 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17473 indicating whether failure is expected.
17474 * conform/Makefile (test-xfail-run-conformtest): New variable.
17475 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17476 level.
17477 * posix/Makefile (test-xfail-annexc): New variable.
17478 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17479
a5f891ac
JM
174802014-02-26 Joseph Myers <joseph@codesourcery.com>
17481
17482 * argp/Makefile: Include Makeconfig immediately after defining
17483 subdir.
17484 * assert/Makefile: Likewise.
17485 * benchtests/Makefile: Likewise.
17486 * catgets/Makefile: Likewise.
17487 * conform/Makefile: Likewise.
17488 * crypt/Makefile: Likewise.
17489 * csu/Makefile: Likewise.
17490 (all): Remove target.
17491 * ctype/Makefile: Include Makeconfig immediately after defining
17492 subdir.
17493 * debug/Makefile: Likewise.
17494 * dirent/Makefile: Likewise.
17495 * dlfcn/Makefile: Likewise.
17496 * gmon/Makefile: Likewise.
17497 * gnulib/Makefile: Likewise.
17498 * grp/Makefile: Likewise.
17499 * gshadow/Makefile: Likewise.
17500 * hesiod/Makefile: Likewise.
17501 * hurd/Makefile: Likewise.
17502 (all): Remove target.
17503 * iconvdata/Makefile: Include Makeconfig immediately after
17504 defining subdir.
17505 * inet/Makefile: Likewise.
17506 * intl/Makefile: Likewise.
17507 * io/Makefile: Likewise.
17508 * libio/Makefile: Likewise.
17509 (all): Remove target.
17510 * locale/Makefile: Include Makeconfig immediately after defining
17511 subdir.
17512 * login/Makefile: Likewise.
17513 * mach/Makefile: Likewise.
17514 (all): Remove target.
17515 * malloc/Makefile: Include Makeconfig immediately after defining
17516 subdir.
17517 (all): Remove target.
17518 * manual/Makefile: Include Makeconfig immediately after defining
17519 subdir.
17520 * math/Makefile: Likewise.
17521 * misc/Makefile: Likewise.
17522 * nis/Makefile: Likewise.
17523 * nss/Makefile: Likewise.
17524 * po/Makefile: Likewise.
17525 (all): Remove target.
17526 * posix/Makefile: Include Makeconfig immediately after defining
17527 subdir.
17528 * pwd/Makefile: Likewise.
17529 * resolv/Makefile: Likewise.
17530 * resource/Makefile: Likewise.
17531 * rt/Makefile: Likewise.
17532 * setjmp/Makefile: Likewise.
17533 * shadow/Makefile: Likewise.
17534 * signal/Makefile: Likewise.
17535 * socket/Makefile: Likewise.
17536 * soft-fp/Makefile: Likewise.
17537 * stdio-common/Makefile: Likewise.
17538 * stdlib/Makefile: Likewise.
17539 * streams/Makefile: Likewise.
17540 * string/Makefile: Likewise.
17541 * sunrpc/Makefile: Likewise.
17542 (all): Remove target.
17543 * sysvipc/Makefile: Include Makeconfig immediately after defining
17544 subdir.
17545 * termios/Makefile: Likewise.
17546 * time/Makefile: Likewise.
17547 * timezone/Makefile: Likewise.
17548 (all): Remove target.
17549 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17550 subdir.
17551 * wctype/Makefile: Likewise.
17552
5b456e9d
SE
175532014-02-26 Steve Ellcey <sellcey@mips.com>
17554
17555 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17556 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17557 (libc_feholdexcept_setround_mips): Ditto.
17558 (libc_feholdsetround): New.
17559 (libc_feholdsetroundf): New.
17560 (libc_feholdsetroundl): New.
17561 (libc_feupdateenv_test_mips): New.
17562 (libc_feupdateenv_test): New.
17563 (libc_feupdateenv_testf): New.
17564 (libc_feupdateenv_testl): New.
17565 (libc_feresetround): New.
17566 (libc_feresetroundf): New.
17567 (libc_feresetroundl): New.
17568 (libc_fetestexcept_mips): New.
17569 (libc_fetestexcept): New.
17570 (libc_fetestexceptf): New.
17571 (libc_fetestexceptl): New.
17572 (HAVE_RM_CTX): New.
17573 (libc_feholdexcept_setround_mips_ctx): New.
17574 (libc_feholdexcept_setround_ctx): New.
17575 (libc_feholdexcept_setroundf_ctx): New.
17576 (libc_feholdexcept_setroundl_ctx): New.
17577 (libc_fesetenv_mips_ctx): New.
17578 (libc_fesetenv_ctx): New.
17579 (libc_fesetenv_ctxf): New.
17580 (libc_fesetenv_ctxl): New.
17581 (libc_feupdateenv_mips_ctx): New.
17582 (libc_feupdateenv_ctx): New.
17583 (libc_feupdateenvf_ctx): New.
17584 (libc_feupdateenvl_ctx): New.
17585 (libc_feholdsetround_mips_ctx): New.
17586 (libc_feholdsetround_ctx): New.
17587 (libc_feholdsetroundf_ctx): New.
17588 (libc_feholdsetroundl_ctx): New.
17589 (libc_feresetround_mips_ctx): New.
17590 (libc_feresetround_ctx): New.
17591 (libc_feresetroundf_ctx): New.
17592 (libc_feresetroundl_ctx): New.
17593
085d0e35
CD
175942014-02-26 Carlos O'Donell <carlos@redhat.com>
17595
f067bf1f
CD
17596 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17597
085d0e35
CD
17598 * manual/ipc.texi: New file.
17599 * manual/Makefile (chapters): Add ipc.
17600 * manual/job.texi: Add "Inter-Process Communication" to next.
17601 * manual/process.texi: Add "Inter-Process Communication" to prev.
17602
86e58c08
AZ
176032014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17604
17605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17606
4248f0da
OB
176072014-02-26 Ondřej Bílka <neleai@seznam.cz>
17608
17609 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17610
cf822e3c
OB
17611 * manual/arith.texi: Fix spaces after sentences.
17612 * manual/charset.texi: Likewise.
17613 * manual/errno.texi: Likewise.
17614 * manual/install.texi: Likewise.
17615 * manual/llio.texi: Likewise.
17616 * manual/locale.texi: Likewise.
17617 * manual/maint.texi: Likewise.
17618 * manual/math.texi: Likewise.
17619 * manual/memory.texi: Likewise.
17620 * manual/message.texi: Likewise.
17621 * manual/probes.texi: Likewise.
17622 * manual/resource.texi: Likewise.
17623 * manual/signal.texi: Likewise.
17624 * manual/socket.texi: Likewise.
17625 * manual/stdio.texi: Likewise.
17626 * manual/string.texi: Likewise.
17627 * manual/time.texi: Likewise.
17628 * manual/users.texi: Likewise.
17629
ade40b10
CD
176302014-02-25 Carlos O'Donell <carlos@redhat.com>
17631
17632 [BZ #16632]
17633 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17634 _DEFAULT_SOURCE is defined.
17635
d0503676
CD
176362014-02-25 Ulrich Drepper <drepper@gmail.com>
17637 Carlos O'Donell <carlos@redhat.com>
17638
17639 [BZ #16613]
17640 * elf/dl-tls.c (_dl_count_modids): New function.
17641 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17642 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17643 audit library and increment generation counter.
17644 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17645 * elf/tst-audit9.c: New file.
17646 * elf/tst-auditmod9a.c: New file.
17647 * elf/tst-auditmod9b.c: New file.
17648 * elf/Makefile: Add rules to build and run tst-audit9.
17649
4cbf380c
FW
176502014-02-25 Florian Weimer <fweimer@redhat.com>
17651
17652 [BZ #15347]
17653 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17654
80a56cc3
WN
176552014-02-25 Will Newton <will.newton@linaro.org>
17656
17657 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17658 (__longjmp): Restore sp and lr before restoring callee
17659 saved registers. Add longjmp and longjmp_target
17660 SystemTap probe point.
17661 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17662 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17663 Define to zero to match jmpbuf layout.
17664 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17665 (__sigsetjmp): Save sp and lr before saving callee
17666 saved registers. Add setjmp SystemTap probe point.
17667
3ea0f74e
SL
176682014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17669
17670 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17671
b04acb26
AS
176722014-02-24 Andreas Schwab <schwab@suse.de>
17673
17674 [BZ #15804]
17675 * elf/pldd.c (wait_for_ptrace_stop): New function.
17676 (main): Call it after attaching.
17677
098ad55c
RM
176782014-02-22 Roland McGrath <roland@hack.frob.com>
17679
d4ec6ae1
RM
17680 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17681 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17682 Versions files is now verboten.
17683 * hurd/Versions (libc: GLIBC_2.0):
17684 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17685 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17686 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17687 * mach/Versions: Likewise.
17688
098ad55c
RM
17689 * csu/Versions: Remove unused %include.
17690 * resolv/Versions: Likewise.
17691
acd7f096
JM
176922014-02-21 Joseph Myers <joseph@codesourcery.com>
17693
f0881698
JM
17694 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17695 ($(objpfx)check-local-headers.out): Likewise.
17696 ($(objpfx)begin-end-check.out): Likewise.
17697 * Makerules (check-abi-%.out): Likewise.
17698 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17699 ($(objpfx)test2.cat): Likewise.
17700 ($(objpfx)de/libc.cat): Likewise.
17701 ($(objpfx)test-gencat.out): Likewise.
17702 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17703 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17704 ($(objpfx)noload-mem): Likewise.
17705 ($(objpfx)tst-pathopt.out): Likewise.
17706 ($(objpfx)tst-rtld-load-self.out): Likewise.
17707 ($(objpfx)tst-array1-cmp.out): Likewise.
17708 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17709 ($(objpfx)tst-array2-cmp.out): Likewise.
17710 ($(objpfx)tst-array3-cmp.out): Likewise.
17711 ($(objpfx)tst-array4-cmp.out): Likewise.
17712 ($(objpfx)tst-array5-cmp.out): Likewise.
17713 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17714 ($(objpfx)check-textrel.out): Likewise.
17715 ($(objpfx)check-execstack.out): Likewise.
17716 ($(objpfx)check-localplt.out): Likewise.
17717 ($(objpfx)order2-cmp.out): Likewise.
17718 ($(objpfx)tst-leaks1-mem): Likewise.
17719 ($(objpfx)tst-leaks1-static-mem): Likewise.
17720 ($(objpfx)tst-initorder-cmp.out): Likewise.
17721 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17722 ($(objpfx)tst-unused-dep.out): Likewise.
17723 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17724 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17725 * iconv/Makefile (test-iconvconfig): Likewise.
17726 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17727 ($(objpfx)iconv-test.out): Likewise.
17728 ($(objpfx)tst-tables.out): Likewise.
17729 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17730 ($(objpfx)tst-gettext.out): Likewise.
17731 ($(objpfx)tst-translit.out): Likewise.
17732 ($(objpfx)tst-gettext2.out): Likewise.
17733 ($(objpfx)tst-gettext4.out): Likewise.
17734 ($(objpfx)tst-gettext6.out): Likewise.
17735 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17736 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17737 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17738 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17739 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17740 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17741 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17742 ($(objpfx)wordexp-tst.out): Likewise.
17743 ($(objpfx)annexc.out): Likewise.
17744 ($(objpfx)tst-fnmatch-mem): Likewise.
17745 ($(objpfx)bug-regex2-mem): Likewise.
17746 ($(objpfx)bug-regex14-mem): Likewise.
17747 ($(objpfx)bug-regex21-mem): Likewise.
17748 ($(objpfx)bug-regex31-mem): Likewise.
17749 ($(objpfx)tst-vfork3-mem): Likewise.
17750 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17751 ($(objpfx)tst-pcre-mem): Likewise.
17752 ($(objpfx)tst-boost-mem): Likewise.
17753 ($(objpfx)tst-getconf.out): Likewise.
17754 ($(objpfx)bug-ga2-mem): Likewise.
17755 ($(objpfx)bug-glob2-mem): Likewise.
17756 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17757 ($(objpfx)mtrace-tst-leaks2): Likewise.
17758 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17759 ($(objpfx)tst-printf.out): Likewise.
17760 ($(objpfx)tst-setvbuf1.out): Likewise.
17761 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17762 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17763 ($(objpfx)tst-fmtmsg.out): Likewise.
17764 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17765 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17766
acd7f096
JM
17767 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17768 * bits/sigaction.h [__USE_MISC]: Likewise.
17769 * bits/waitstatus.h: Update #endif comments.
17770 * ctype/ctype.h: Likewise.
17771 * dirent/dirent.h: Likewise.
17772 [__USE_MISC]: Remove redundant conditionals.
17773 * grp/grp.h: Update #endif comments.
17774 [__USE_GNU]: Remove redundant conditionals.
17775 [__USE_MISC]: Likewise.
17776 * inet/netinet/in.h [__USE_GNU]: Likewise.
17777 * io/sys/stat.h [__USE_MISC]: Likewise.
17778 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17779 * libio/bits/stdio.h: Update #endif comments.
17780 [__USE_MISC]: Remove redundant conditionals.
17781 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17782 * libio/stdio.h: Update #endif comments.
17783 [__USE_MISC]: Remove redundant conditionals.
17784 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17785 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17786 * math/math.h: Update #else and #endif comments.
17787 [__USE_MISC]: Remove redundant conditionals.
17788 * misc/sys/uio.h: Update #endif comments.
17789 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17790 * posix/glob.h [__USE_MISC]: Likewise.
17791 * posix/sys/types.h: Update #endif comments.
17792 [__USE_MISC]: Remove redundant conditionals.
17793 * posix/sys/wait.h: Update #endif comments.
17794 [__USE_MISC]: Remove redundant conditionals.
17795 * posix/unistd.h: Update #endif comments.
17796 [__USE_MISC]: Remove redundant conditionals.
17797 * pwd/pwd.h [__USE_GNU]: Likewise.
17798 [__USE_MISC]: Likewise.
17799 * resolv/netdb.h [__USE_GNU]: Likewise.
17800 * signal/signal.h: Update #endif comments.
17801 [__USE_MISC]: Remove redundant conditionals.
17802 * stdlib/stdlib.h: Update #else and #endif comments.
17803 [__USE_MISC]: Remove redundant conditionals.
17804 [__USE_GNU]: Likewise.
17805 * string/bits/string2.h [__USE_MISC]: Likewise.
17806 * string/string.h: Update #endif comments.
17807 [__USE_MISC]: Remove redundant conditionals.
17808 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17809 Likewise.
17810 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17811 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17812 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17813 Likewise.
17814 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17815 Likewise.
17816 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17817 comments.
17818 [__USE_MISC]: Remove redundant conditionals.
17819 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17820 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17821 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17822 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17823 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17824 Likewise.
17825 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17826 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17827 Likewise.
17828 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17829 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17830 Likewise.
17831 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17832 Likewise.
17833 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17834 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17835 Likewise.
17836 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17837 Likewise.
17838 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17839 * sysdeps/x86/bits/string.h: Update #endif comments.
17840 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17841 conditionals.
17842 * time/sys/time.h: Update #endif comments.
17843 * time/time.h: Likewise.
17844 [__USE_MISC]: Remove redundant conditionals.
17845
a5d82e4e
YG
178462014-02-21 Yury Gribov <y.gribov@samsung.com>
17847
17848 [BZ #16600]
17849 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17850
9a80491d
AS
178512014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17852
17853 * Versions.def (librt): Add GLIBC_2.17.
17854
105fa381
AC
178552014-02-21 Adam Conrad <adconrad@0c3.net>
17856
17857 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17858 synonym for _SYS_AUXV_H to allow direct inclusion.
17859 * sysdeps/sparc/bits/hwcap.h: Likewise.
17860 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17861 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17862 * sysdeps/sparc/sysdep.h: Likewise.
17863
b8cd1c4e
SP
178642014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17865
17866 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17867
bd939d23
RS
178682014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17869
17870 * benchtests/bench-strrchr.c: Print length instead of position.
17871
5d7b57ca
JM
178722014-02-20 Joseph Myers <joseph@codesourcery.com>
17873
bc688c10
JM
17874 [BZ #16611]
17875 * sysdeps/unix/sysv/linux/kernel-features.h
17876 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17877 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17878 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17879 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17880 Likewise.
17881 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17882 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17883 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17884 (__ASSUME_SENDMMSG): Define instead of using previous
17885 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17886 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17887 (__ASSUME_SENDMMSG_SYSCALL): Define.
17888 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17889 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17890 Likewise.
17891 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17892 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17893 Likewise.
17894 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17895 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17896 Likewise.
17897 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17898 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17899 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17900 [__ASSUME_SENDMMSG]: Change conditionals to
17901 [__ASSUME_SENDMMSG_SOCKETCALL].
17902 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17903 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17904 Define.
17905 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17906 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17907 Likewise.
17908 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17909 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17910 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17911 [!__ASSUME_SENDMMSG]: Change conditional to
17912 [!__ASSUME_SENDMMSG_SOCKETCALL].
17913 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17914 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17915 Define.
17916
0e31b18c
JM
17917 [BZ #16610]
17918 * sysdeps/unix/sysv/linux/kernel-features.h
17919 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17920 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17921 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17922 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17923 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17924 [__i386__ || __sparc__]
17925 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17926 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17927 (__ASSUME_RECVMMSG): Define instead of using previous
17928 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17929 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17930 (__ASSUME_RECVMMSG_SYSCALL): Define.
17931 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17932 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17933 Likewise.
17934 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17935 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17936 Likewise.
17937 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17938 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17939 Likewise.
17940 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17941 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17942 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17943 [__ASSUME_RECVMMSG]: Change condition to
17944 [__ASSUME_RECVMMSG_SOCKETCALL].
17945 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17946 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17947 Define.
17948 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17949 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17950 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17951 Likewise.
17952 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17953 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17954 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17955 [!__ASSUME_RECVMMSG]: Change condition to
17956 [!__ASSUME_RECVMMSG_SOCKETCALL].
17957 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17958 (__ASSUME_RECVMMSG_SYSCALL): Define.
17959
dd481ccf
JM
17960 [BZ #16609]
17961 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17962 __powerpc__ || __s390__ || __sh__ || __sparc__]
17963 (__ASSUME_SOCKETCALL): Define.
17964 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17965 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17966 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17967 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17968 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17969 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17970 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17971 (__ASSUME_ACCEPT4): Define instead of using previous
17972 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17973 __powerpc__ || __sparc__ || __s390__)] condition.
17974 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17975 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17976 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17977 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17978 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17979 [!__ASSUME_ACCEPT4]: Change condition to
17980 [!__ASSUME_ACCEPT4_SOCKETCALL].
17981 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17982 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17983 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17984 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17985 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17986 __ASSUME_ACCEPT4_SYSCALL.
17987 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17988 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17989 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17990 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17991 __ASSUME_ACCEPT4_SYSCALL.
17992 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17993 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17994 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17995 [__ASSUME_ACCEPT4]: Change condition to
17996 [__ASSUME_ACCEPT4_SOCKETCALL].
17997 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17998 (__ASSUME_SOCKETCALL): Define.
17999 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18000 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18001 (__ASSUME_SOCKETCALL): Define.
18002 (__ASSUME_ACCEPT4): Remove.
18003 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18004 Define.
18005 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18006 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18007 Likewise.
18008 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18009 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18010
5d7b57ca
JM
18011 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18012 macro.
18013 (HWCAP_ARM_LPAE): Likewise.
18014 (HWCAP_ARM_EVTSTRM): Likewise.
18015 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18016 Add vpfd32, lpae and evtstrm.
18017 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18018 Increase to 22.
18019
63689d61
JM
180202014-02-19 Joseph Myers <joseph@codesourcery.com>
18021
18022 * math/auto-libm-test-in: Add tests of clog10.
18023 * math/auto-libm-test-out: Regenerated.
18024 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18025 * sysdeps/i386/fpu/libm-test-ulps: Update.
18026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18027
ab09bf61
AS
180282014-02-18 Andreas Schwab <schwab@suse.de>
18029
18030 [BZ #16574]
18031 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18032 Store non-zero if the second buffer was newly allocated.
18033 (send_dg): Likewise.
18034 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18035 to send_vc and send_dg.
18036 (res_nsend): Pass NULL for ansp2_malloced.
18037 * resolv/res_query.c (__libc_res_nquery): Add parameter
18038 answerp2_malloced and pass it down to __libc_res_nsend.
18039 (res_nquery): Pass additional NULL to __libc_res_nquery.
18040 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18041 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18042 second answer buffer if answerp2_malloced was set.
18043 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18044 (__libc_res_nquerydomain): Add parameter
18045 answerp2_malloced and pass it down to __libc_res_nquery.
18046 (res_nquerydomain): Pass additional NULL to
18047 __libc_res_nquerydomain.
18048 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18049 additional NULL to __libc_res_nsend and __libc_res_nquery.
18050 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18051 additional NULL to __libc_res_nsearch.
18052 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18053 parameter of __libc_res_nsearch to check for separately allocated
18054 second buffer.
18055 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18056 __libc_res_nquery.
18057 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18058 additional NULL to __libc_res_nquery.
18059 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18060 __libc_res_nsearch.
18061 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18062 * include/resolv.h: Update prototypes of __libc_res_nquery,
18063 __libc_res_nsearch, __libc_res_nsend.
18064
a4fb7861
JM
180652014-02-18 Joseph Myers <joseph@codesourcery.com>
18066
c6af2d89
JM
18067 * math/auto-libm-test-in: Add tests of fma.
18068 * math/auto-libm-test-out: Regenerated.
18069 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18070 (fma_towardzero_test_data): Likewise.
18071 (fma_downward_test_data): Likewise.
18072 (fma_upward_test_data): Likewise.
18073 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18074 mpc_mode.
18075 (rounding_modes): Add values for new field.
18076 (func_calc_method): Add value mpfr_fff_f.
18077 (func_calc_desc): Add mpfr_fff_f union field.
18078 (test_function): Add field exact_args.
18079 (FUNC): Add macro argument EXACT_ARGS.
18080 (FUNC_mpfr_f_f): Update call to FUNC.
18081 (FUNC_mpfr_f_f): Likewise.
18082 (FUNC_mpfr_ff_f): Likewise.
18083 (FUNC_mpfr_if_f): Likewise.
18084 (FUNC_mpc_c_f): Likewise.
18085 (FUNC_mpc_c_c): Likewise.
18086 (test_functions): Add fma. Update calls to FUNC.
18087 (handle_input_arg): Add argument exact_args.
18088 (add_test): Update call to handle_input_arg.
18089 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18090 (output_for_one_input_case): Update call to calc_generic_results.
18091 Recalculate exact zero results in each rounding mode.
18092
a4fb7861
JM
18093 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18094 non-negative before setting low bit.
18095 * math/auto-libm-test-in: Mark one asin test possibly having
18096 spurious underflow.
18097 * math/auto-libm-test-out: Regenerated.
18098 * sysdeps/i386/fpu/libm-test-ulps: Update.
18099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18100
ef114eaf
DH
181012014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18102
2b7f4f2c
SP
18103 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18104 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18105 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
18106 * README: Add missing listing for microblaze*-*-linux-gnu.
18107
8125aedc
AM
181082014-02-16 Ondřej Bílka <neleai@seznam.cz>
18109
18110 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18111 duplicate code
18112
c70a4b1d
MF
181132014-02-16 Mike Frysinger <vapier@gentoo.org>
18114
18115 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18116 * sysdeps/unix/sysv/linux/ia64: Move directory from
18117 ports/sysdeps/unix/sysv/linux/ia64.
18118 * README: Update listing for ia64-*-linux-gnu.
18119
591aeaf7
TD
181202014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18121 Joseph Myers <joseph@codesourcery.com>
18122
18123 * Makeconfig (test-name): New variable.
18124 (evaluate-test): Likewise.
18125 * Makerules (do-test-clean): Remove .test-result files.
18126 (common-mostlyclean): Likewise.
18127 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18128 * scripts/evaluate-test.sh: New file.
18129
6e89caf1
JM
181302014-02-14 Joseph Myers <joseph@codesourcery.com>
18131
7f98f180
JM
18132 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18133 separate $(objpfx)tst-fopenloc-cmp.out and
18134 $(objpfx)tst-fopenloc-mem.out targets.
18135 (tests): Update dependencies.
18136 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18137 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18138 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18139 (tst-rxspencer-no-utf8-ARGS): New variable.
18140 (tst-rxspencer-no-utf8-ENV): Likewise.
18141 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18142 instead of $(objpfx)tst-rxspencer-mem.
18143 ($(objpfx)tst-rxspencer-mem): Change target to
18144 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18145 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18146 * posix/tst-rxspencer-no-utf8.c: New file.
18147
6e89caf1
JM
18148 * elf/Makefile ($(objpfx)order.out): Remove rule.
18149 [$(run-built-tests) = yes] (tests): Depend on
18150 $(objpfx)order-cmp.out.
18151 ($(objpfx)order-cmp.out): New rule.
18152 [$(run-built-tests) = yes] (tests): Depend on
18153 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18154 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18155 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18156 $(objpfx)tst-array5-static-cmp.out.
18157 ($(objpfx)tst-array1.out): Remove rule.
18158 ($(objpfx)tst-array1-cmp.out): New rule.
18159 ($(objpfx)tst-array1-static.out): Remove rule.
18160 ($(objpfx)tst-array1-static-cmp.out): New rule.
18161 ($(objpfx)tst-array2.out): Remove rule.
18162 ($(objpfx)tst-array2-cmp.out): New rule.
18163 ($(objpfx)tst-array3.out): Remove rule.
18164 ($(objpfx)tst-array3-cmp.out): New rule.
18165 ($(objpfx)tst-array4.out): Remove rule.
18166 ($(objpfx)tst-array4-cmp.out): New rule.
18167 ($(objpfx)tst-array5.out): Remove rule.
18168 ($(objpfx)tst-array5-cmp.out): New rule.
18169 ($(objpfx)tst-array5-static.out): Remove rule.
18170 ($(objpfx)tst-array5-static-cmp.out): New rule.
18171 [$(run-built-tests) = yes] (tests): Depend on
18172 $(objpfx)order2-cmp.out.
18173 ($(objpfx)order2.out): Remove rule.
18174 ($(objpfx)order2-cmp.out): New rule.
18175 ($(objpfx)tst-initorder.out): Remove rule.
18176 [$(run-built-tests) = yes] (tests): Depend on
18177 $(objpfx)tst-initorder-cmp.out.
18178 ($(objpfx)tst-initorder-cmp.out): New rule.
18179 ($(objpfx)tst-initorder2.out): Remove rule.
18180 [$(run-built-tests) = yes] (tests): Depend on
18181 $(objpfx)tst-initorder2-cmp.out.
18182 ($(objpfx)tst-initorder2-cmp.out): New rule.
18183 [$(run-built-tests) = yes] (tests): Depend on
18184 $(objpfx)tst-unused-dep-cmp.out.
18185 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18186 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18187 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18188 on $(objpfx)tst-setvbuf1-cmp.out.
18189 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18190 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18191 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18192 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18193 ($(objpfx)tst-svc.out): Remove rule.
18194 ($(objpfx)tst-svc-cmp.out): New rule.
18195
ed9a38e2
JM
181962014-02-13 Joseph Myers <joseph@codesourcery.com>
18197
18198 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18199 * ctype/ctype.h [__USE_MISC]: Likewise.
18200 * dirent/dirent.h [__USE_MISC]: Likewise.
18201 * grp/grp.h [__USE_MISC]: Likewise.
18202 * io/fcntl.h [__USE_MISC]: Likewise.
18203 * io/sys/stat.h [__USE_MISC]: Likewise.
18204 * libio/stdio.h [__USE_MISC]: Likewise.
18205 * posix/unistd.h [__USE_MISC]: Likewise.
18206 * pwd/pwd.h [__USE_MISC]: Likewise.
18207 * stdlib.h [__USE_MISC]: Likewise.
18208 * string/bits/string2.h [__USE_MISC]: Likewise.
18209 * string/string.h [__USE_MISC]: Likewise.
18210 * time/time.h [__USE_MISC]: Likewise.
18211
d6680619
AS
182122014-02-13 Andreas Schwab <schwab@suse.de>
18213
18214 [BZ #16574]
18215 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18216 second answer buffer if it was separately allocated.
18217
ace614b8
JM
182182014-02-12 Joseph Myers <joseph@codesourcery.com>
18219
743151ae
JM
18220 * sysdeps/mips/math-tests.h: Include <features.h>.
18221 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18222 (ROUNDING_TESTS_long_double): Do not define.
18223 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18224 (EXCEPTION_TESTS_long_double): Likewise.
18225 * sysdeps/mips/mips64/libm-test-ulps: Update.
18226
498afc54
JM
18227 * include/features.h (__USE_BSD): Remove macro definitions.
18228 (__USE_SVID): Likewise.
18229 (_BSD_SOURCE): Likewise.
18230 (_SVID_SOURCE): Likewise.
18231 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18232 from definition of _DEFAULT_SOURCE.
18233 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18234 [_DEFAULT_SOURCE].
18235 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18236 * bits/mman.h [__USE_BSD]: Likewise.
18237 * bits/termios.h [__USE_BSD]: Likewise.
18238 * bits/waitstatus.h [__USE_BSD]: Likewise.
18239 * ctype/ctype.h [__USE_SVID]: Likewise.
18240 * dirent/dirent.h [__USE_BSD]: Likewise.
18241 * grp/grp.h [__USE_SVID]: Likewise.
18242 [__USE_BSD]: Likewise.
18243 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18244 * io/fcntl.h [__USE_BSD]: Likewise.
18245 * io/ftw.h [__USE_BSD]: Likewise.
18246 * io/sys/stat.h [__USE_BSD]: Likewise.
18247 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18248 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18249 * libio/stdio.h [__USE_SVID]: Likewise.
18250 [__USE_BSD]: Likewise.
18251 * math/math.h [__USE_SVID]: Likewise.
18252 [__USE_BSD]: Likewise.
18253 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18254 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18255 * misc/search.h [__USE_SVID]: Likewise.
18256 * misc/sys/mman.h [__USE_BSD]: Likewise.
18257 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18258 * misc/sys/uio.h [__USE_BSD]: Likewise.
18259 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18260 * posix/glob.h [__USE_BSD]: Likewise.
18261 * posix/regex.h [__USE_BSD]: Likewise.
18262 * posix/sys/types.h [__USE_BSD]: Likewise.
18263 [__USE_SVID]: Likewise.
18264 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18265 * posix/sys/wait.h [__USE_BSD]: Likewise.
18266 [__USE_SVID]: Likewise.
18267 * posix/unistd.h [__USE_BSD]: Likewise.
18268 [__USE_SVID]: Likewise.
18269 * pwd/pwd.h [__USE_SVID]: Likewise.
18270 * resolv/netdb.h [__USE_BSD]: Likewise.
18271 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18272 * signal/signal.h [__USE_BSD]: Likewise.
18273 [__USE_SVID]: Likewise.
18274 * socket/sys/socket.h [__USE_BSD]: Likewise.
18275 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18276 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18277 [__USE_SVID]: Likewise.
18278 * string/bits/string2.h [__USE_BSD]: Likewise.
18279 [__USE_SVID]: Likewise.
18280 * string/bits/string3.h [__USE_BSD]: Likewise.
18281 * string/endian.h [__USE_BSD]: Likewise.
18282 * string/string.h [__USE_SVID]: Likewise.
18283 [__USE_BSD]: Likewise.
18284 * string/strings.h [__USE_BSD]: Likewise.
18285 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18286 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18287 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18288 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18289 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18290 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18291 Likewise.
18292 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18293 Likewise.
18294 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18295 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18296 Likewise.
18297 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18298 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18299 Likewise.
18300 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18301 Likewise.
18302 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18303 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18304 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18305 Likewise.
18306 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18307 Likewise.
18308 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18309 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18310 * termios/termios.h [__USE_BSD]: Likewise.
18311 * time/sys/time.h [__USE_BSD]: Likewise.
18312 * time/time.h [__USE_BSD]: Likewise.
18313 [__USE_SVID]: Likewise.
18314
dd7b064c
JM
18315 * Makefile (subdir_targets): Remove subdir_lint.out.
18316
a2c4c199
JM
18317 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18318 (do-tst-printf): Likewise.
18319 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18320 $(objpfx)tst-printf.out.
18321
8756f740
JM
18322 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18323
1b6dd3f1
JM
18324 * Makerules (check-abi-%): Change target to
18325 $(objpfx)check-abi-%.out.
18326 (check-abi target): Update dependencies.
18327 (check-abi-pattern variable): Redirect output of diff to $@.
18328 (check-abi variable): Likewise.
18329 * elf/Makefile (check-abi): Update dependencies.
18330
ace614b8
JM
18331 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18332 unused.
18333 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18334 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18335 subnormal range.
18336 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18337 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18338 value has largest subnormal exponent.
18339 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18340 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18341 * sysdeps/aarch64/soft-fp/sfp-machine.h
18342 (_FP_TININESS_AFTER_ROUNDING): New macro.
18343 * sysdeps/alpha/soft-fp/sfp-machine.h
18344 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18345 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18346 Likewise.
18347 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18348 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18349 * sysdeps/mips/soft-fp/sfp-machine.h
18350 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18351 * sysdeps/powerpc/soft-fp/sfp-machine.h
18352 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18353 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18354 Likewise.
18355 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18356 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18357 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18358 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18359 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18360 Likewise.
18361
fbfdf9cb
DAS
183622014-02-12 Dylan Alex Simon <dylan@dylex.net>
18363
18364 [BZ #16545]
18365 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18366 model 1.
18367
68b7efaa
RH
183682014-02-12 Richard Henderson <rth@redhat.com>
18369
c70a4b1d 18370 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
18371 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18372 * sysdeps/unix/sysv/linux/alpha: Move directory from
18373 ports/sysdeps/unix/sysv/linux/alpha.
18374 * README: Update listing for alpha-*-linux-gnu.
18375
cb4a2928
JM
183762014-02-11 Joseph Myers <joseph@codesourcery.com>
18377
c941736c
JM
18378 * include/features.h: Update comment documenting feature test
18379 macros.
18380 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18381 _DEFAULT_SOURCE.
18382 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18383 (_SVID_SOURCE): Likewise.
18384 (_DEFAULT_SOURCE): Update description of default features.
18385 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18386 with _GNU_SOURCE.
18387 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18388 (S_ISVTX): Likewise.
18389 * manual/math.texi (Mathematical Constants): Likewise.
18390 * manual/signal.texi (Interrupted Primitives): Likewise.
18391 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18392 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18393 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18394 Don't refer to _SVID_SOURCE in warning text.
18395
e8d8d7ec
JM
18396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18397
cb4a2928
JM
18398 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18399 already defined.
18400 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18401 * sysdeps/mips/dl-lookup.c: Remove.
18402 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18403
7e6424e3
AK
184042014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18405
18406 [BZ #16447]
18407 * math/auto-libm-test-in: Add testcase for expl.
18408 * math/auto-libm-test-out: Regenerate.
18409 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18410 calculation of unsafe.
18411 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18412
75eff3fe
MS
184132014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18414
18415 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18416 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18417 ports/sysdeps/unix/sysv/linux/aarch64.
18418 * README: Update listing for aarch64*-*-linux-gnu.
18419
d35f1e80
WN
184202014-02-11 Will Newton <will.newton@linaro.org>
18421
18422 * manual/probes.texi (Mathematical Function Probes): Use
18423 "triggered" instead of "hit".
18424
7b3436d4
WN
18425 * manual/probes.texi (Internal Probes): Add documentation
18426 of setjmp, longjmp and longjmp_target probes.
18427
b4f12ca3
WN
18428 * include/stap-probe.h: Add comment about probe argument
18429 format.
18430
c13a72b7
WN
18431 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18432 definition. (tr_where, tr_freehook, tr_mallochook,
18433 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18434
195b8165
DM
184352014-02-11 David S. Miller <davem@davemloft.net>
18436
18437 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18438 processing int_tests.
18439
2ad7600b
JM
184402014-02-10 Joseph Myers <joseph@codesourcery.com>
18441
18442 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18443 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18444 * sysdeps/unix/sysv/linux/mips: Move directory from
18445 ports/sysdeps/unix/sysv/linux/mips.
18446 * README: Update listing for mips-*-linux-gnu and
18447 mips64-*-linux-gnu.
18448
73588a72
AS
184492014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18450
18451 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18452 * sysdeps/unix/sysv/linux/m68k: Move directory from
18453 ports/sysdeps/unix/sysv/linux/m68k.
18454 * README: Update listing for m68k-*-linux-gnu.
18455
4372980f
CM
184562014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18457
18458 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18459 * sysdeps/unix/sysv/linux/generic: Move directory from
18460 ports/sysdeps/unix/sysv/linux/generic.
18461 * sysdeps/unix/sysv/linux/tile: Move directory from
18462 ports/sysdeps/unix/sysv/linux/tile.
18463 * README: Update listing for tile*-*-linux-gnu.
18464
a1ffb40e
OB
184652014-02-10 Ondřej Bílka <neleai@seznam.cz>
18466
57f41c40
AS
18467 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18468 __builtin_expect.
a1ffb40e
OB
18469 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18470 * catgets/open_catalog.c (__open_catalog): Likewise.
18471 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18472 * debug/confstr_chk.c: Likewise.
18473 * debug/fread_chk.c (__fread_chk): Likewise.
18474 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18475 * debug/getgroups_chk.c: Likewise.
18476 * debug/mbsnrtowcs_chk.c: Likewise.
18477 * debug/mbsrtowcs_chk.c: Likewise.
18478 * debug/mbstowcs_chk.c: Likewise.
18479 * debug/memcpy_chk.c: Likewise.
18480 * debug/memmove_chk.c: Likewise.
18481 * debug/mempcpy_chk.c: Likewise.
18482 * debug/memset_chk.c: Likewise.
18483 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18484 * debug/strcat_chk.c (__strcat_chk): Likewise.
18485 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18486 * debug/strncat_chk.c (__strncat_chk): Likewise.
18487 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18488 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18489 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18490 * debug/wcpncpy_chk.c: Likewise.
18491 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18492 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18493 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18494 * debug/wcsncpy_chk.c: Likewise.
18495 * debug/wcsnrtombs_chk.c: Likewise.
18496 * debug/wcsrtombs_chk.c: Likewise.
18497 * debug/wcstombs_chk.c: Likewise.
18498 * debug/wmemcpy_chk.c: Likewise.
18499 * debug/wmemmove_chk.c: Likewise.
18500 * debug/wmempcpy_chk.c: Likewise.
18501 * debug/wmemset_chk.c: Likewise.
18502 * dirent/scandirat.c (SCANDIRAT): Likewise.
18503 * dlfcn/dladdr1.c (dladdr1): Likewise.
18504 * dlfcn/dladdr.c (dladdr): Likewise.
18505 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18506 * dlfcn/dlerror.c (__dlerror): Likewise.
18507 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18508 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18509 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18510 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18511 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18512 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18513 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18514 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18515 Likewise.
18516 * elf/dl-conflict.c: Likewise.
18517 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18518 * elf/dl-dst.h: Likewise.
18519 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18520 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18521 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18522 * elf/dl-init.c (call_init, _dl_init): Likewise.
18523 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
18524 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18525 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18526 Likewise.
a1ffb40e
OB
18527 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18528 Likewise.
18529 * elf/dl-minimal.c (__libc_memalign): Likewise.
18530 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18531 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18532 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18533 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
18534 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18535 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
18536 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18537 * elf/dl-writev.h (_dl_writev): Likewise.
18538 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
18539 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18540 (dl_main): Likewise.
a1ffb40e
OB
18541 * elf/setup-vdso.h (setup_vdso): Likewise.
18542 * grp/compat-initgroups.c (compat_call): Likewise.
18543 * grp/fgetgrent.c (fgetgrent): Likewise.
18544 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18545 * grp/putgrent.c (putgrent): Likewise.
18546 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18547 Likewise.
18548 * hurd/hurdinit.c: Likewise.
18549 * iconvdata/8bit-gap.c (struct): Likewise.
18550 * iconvdata/ansi_x3.110.c : Likewise.
18551 * iconvdata/big5.c : Likewise.
18552 * iconvdata/big5hkscs.c : Likewise.
18553 * iconvdata/cp1255.c: Likewise.
18554 * iconvdata/cp1258.c : Likewise.
18555 * iconvdata/cp932.c : Likewise.
18556 * iconvdata/euc-cn.c: Likewise.
18557 * iconvdata/euc-jisx0213.c : Likewise.
18558 * iconvdata/euc-jp.c: Likewise.
18559 * iconvdata/euc-jp-ms.c : Likewise.
18560 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18561 * iconvdata/gb18030.c : Likewise.
18562 * iconvdata/gbbig5.c (const): Likewise.
18563 * iconvdata/gbgbk.c: Likewise.
18564 * iconvdata/gbk.c : Likewise.
18565 * iconvdata/ibm1364.c : Likewise.
18566 * iconvdata/ibm930.c : Likewise.
18567 * iconvdata/ibm932.c: Likewise.
18568 * iconvdata/ibm933.c : Likewise.
18569 * iconvdata/ibm935.c : Likewise.
18570 * iconvdata/ibm937.c : Likewise.
18571 * iconvdata/ibm939.c : Likewise.
18572 * iconvdata/ibm943.c: Likewise.
18573 * iconvdata/iso_11548-1.c: Likewise.
18574 * iconvdata/iso-2022-cn.c : Likewise.
18575 * iconvdata/iso-2022-cn-ext.c : Likewise.
18576 * iconvdata/iso-2022-jp-3.c: Likewise.
18577 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18578 * iconvdata/iso-2022-kr.c : Likewise.
18579 * iconvdata/iso646.c (gconv_end): Likewise.
18580 * iconvdata/iso_6937-2.c : Likewise.
18581 * iconvdata/iso_6937.c : Likewise.
18582 * iconvdata/iso8859-1.c: Likewise.
18583 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18584 * iconvdata/shift_jisx0213.c : Likewise.
18585 * iconvdata/sjis.c : Likewise.
18586 * iconvdata/t.61.c : Likewise.
18587 * iconvdata/tcvn5712-1.c : Likewise.
18588 * iconvdata/tscii.c: Likewise.
18589 * iconvdata/uhc.c : Likewise.
18590 * iconvdata/unicode.c (gconv_end): Likewise.
18591 * iconvdata/utf-16.c (gconv_end): Likewise.
18592 * iconvdata/utf-32.c (gconv_end): Likewise.
18593 * iconvdata/utf-7.c (base64): Likewise.
18594 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18595 * iconv/gconv_close.c (__gconv_close): Likewise.
18596 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
18597 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18598 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18599 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18600 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18601 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
18602 * iconv/iconv.c (iconv): Likewise.
18603 * iconv/iconv_close.c: Likewise.
18604 * iconv/loop.c (SINGLE): Likewise.
18605 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18606 * include/atomic.h: Likewise.
18607 * inet/inet6_option.c (option_alloc): Likewise.
18608 * intl/bindtextdom.c (set_binding_values): Likewise.
18609 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18610 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18611 * intl/localealias.c (read_alias_file): Likewise.
18612 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
18613 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18614 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
18615 * libio/fmemopen.c (fmemopen): Likewise.
18616 * libio/iofgets.c (_IO_fgets): Likewise.
18617 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18618 * libio/iofgetws.c (fgetws): Likewise.
18619 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18620 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
18621 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18622 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
18623 * locale/findlocale.c (_nl_find_locale): Likewise.
18624 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18625 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18626 Likewise.
18627 * locale/setlocale.c (setlocale): Likewise.
18628 * login/programs/pt_chown.c (main): Likewise.
18629 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18630 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
18631 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18632 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
18633 * math/e_exp2l.c: Likewise.
18634 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18635 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18636 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18637 * math/s_catan.c (__catan): Likewise.
18638 * math/s_catanf.c (__catanf): Likewise.
18639 * math/s_catanh.c (__catanh): Likewise.
18640 * math/s_catanhf.c (__catanhf): Likewise.
18641 * math/s_catanhl.c (__catanhl): Likewise.
18642 * math/s_catanl.c (__catanl): Likewise.
18643 * math/s_ccosh.c (__ccosh): Likewise.
18644 * math/s_ccoshf.c (__ccoshf): Likewise.
18645 * math/s_ccoshl.c (__ccoshl): Likewise.
18646 * math/s_cexp.c (__cexp): Likewise.
18647 * math/s_cexpf.c (__cexpf): Likewise.
18648 * math/s_cexpl.c (__cexpl): Likewise.
18649 * math/s_clog10.c (__clog10): Likewise.
18650 * math/s_clog10f.c (__clog10f): Likewise.
18651 * math/s_clog10l.c (__clog10l): Likewise.
18652 * math/s_clog.c (__clog): Likewise.
18653 * math/s_clogf.c (__clogf): Likewise.
18654 * math/s_clogl.c (__clogl): Likewise.
18655 * math/s_csin.c (__csin): Likewise.
18656 * math/s_csinf.c (__csinf): Likewise.
18657 * math/s_csinh.c (__csinh): Likewise.
18658 * math/s_csinhf.c (__csinhf): Likewise.
18659 * math/s_csinhl.c (__csinhl): Likewise.
18660 * math/s_csinl.c (__csinl): Likewise.
18661 * math/s_csqrt.c (__csqrt): Likewise.
18662 * math/s_csqrtf.c (__csqrtf): Likewise.
18663 * math/s_csqrtl.c (__csqrtl): Likewise.
18664 * math/s_ctan.c (__ctan): Likewise.
18665 * math/s_ctanf.c (__ctanf): Likewise.
18666 * math/s_ctanh.c (__ctanh): Likewise.
18667 * math/s_ctanhf.c (__ctanhf): Likewise.
18668 * math/s_ctanhl.c (__ctanhl): Likewise.
18669 * math/s_ctanl.c (__ctanl): Likewise.
18670 * math/w_pow.c: Likewise.
18671 * math/w_powf.c: Likewise.
18672 * math/w_powl.c: Likewise.
18673 * math/w_scalb.c (sysv_scalb): Likewise.
18674 * math/w_scalbf.c (sysv_scalbf): Likewise.
18675 * math/w_scalbl.c (sysv_scalbl): Likewise.
18676 * misc/error.c (error_tail): Likewise.
18677 * misc/pselect.c (__pselect): Likewise.
18678 * nis/nis_callback.c (__nis_create_callback): Likewise.
18679 * nis/nis_call.c (__nisfind_server): Likewise.
18680 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18681 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18682 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18683 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18684 * nis/nis_lookup.c (nis_lookup): Likewise.
18685 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
18686 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18687 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 18688 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
18689 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18690 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18691 * nis/nss_compat/compat-initgroups.c (add_group)
18692 (internal_getgrent_r): Likewise.
18693 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18694 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18695 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18696 (internal_getspnam_r): Likewise.
18697 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18698 (_nss_nis_getaliasbyname_r): Likewise.
18699 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18700 (_nss_nis_getntohost_r): Likewise.
18701 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18702 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18703 (_nss_nis_getgrgid_r): Likewise.
18704 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18705 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18706 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18707 (_nss_nis_gethostbyname4_r): Likewise.
18708 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18709 (initgroups_netid): Likewise.
a1ffb40e 18710 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
18711 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18712 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18713 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18714 (_nss_nis_getprotobynumber_r): Likewise.
18715 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18716 (_nss_nis_getsecretkey): Likewise.
18717 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18718 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18719 (_nss_nis_getpwuid_r): Likewise.
18720 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18721 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18722 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18723 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18724 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18725 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
18726 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18727 Likewise.
57f41c40
AS
18728 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18729 (_nss_nisplus_getntohost_r): Likewise.
18730 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18731 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18732 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18733 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 18734 Likewise.
57f41c40
AS
18735 * nis/nss_nisplus/nisplus-initgroups.c
18736 (_nss_nisplus_initgroups_dyn): Likewise.
18737 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18738 (_nss_nisplus_getnetbyaddr_r): Likewise.
18739 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18740 (_nss_nisplus_getprotobynumber_r): Likewise.
18741 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18742 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
18743 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18744 Likewise.
57f41c40
AS
18745 * nis/nss_nisplus/nisplus-service.c
18746 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18747 (_nss_nisplus_getservbyport_r): Likewise.
18748 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18749 (_nss_nisplus_getspnam_r): Likewise.
18750 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18751 Likewise.
a1ffb40e
OB
18752 * nscd/aicache.c (addhstaiX): Likewise.
18753 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
18754 * nscd/connections.c (register_traced_file, send_ro_fd)
18755 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18756 (main_loop_epoll): Likewise.
a1ffb40e
OB
18757 * nscd/grpcache.c (addgrbyX): Likewise.
18758 * nscd/hstcache.c (addhstbyX): Likewise.
18759 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18760 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
18761 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18762 (addinnetgrX): Likewise.
18763 * nscd/nscd-client.h (__nscd_acquire_maplock)
18764 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
18765 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18766 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18767 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18768 Likewise.
18769 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18770 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
18771 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18772 (__nscd_get_map_ref): Likewise.
a1ffb40e 18773 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
18774 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18775 Likewise.
a1ffb40e
OB
18776 * nscd/pwdcache.c (addpwbyX): Likewise.
18777 * nscd/selinux.c (preserve_capabilities): Likewise.
18778 * nscd/servicescache.c (addservbyX): Likewise.
18779 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18780 * posix/fnmatch.c (fnmatch): Likewise.
18781 * posix/getopt.c (_getopt_internal_r): Likewise.
18782 * posix/glob.c (glob, glob_in_dir): Likewise.
18783 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
18784 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18785 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
18786 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18787 * resolv/res_init.c: Likewise.
18788 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18789 * resolv/res_query.c (__libc_res_nquery): Likewise.
18790 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18791 Likewise.
18792 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18793 * stdio-common/perror.c (perror): Likewise.
18794 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18795 * stdio-common/tmpnam.c (tmpnam): Likewise.
18796 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18797 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
18798 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18799 Likewise.
a1ffb40e
OB
18800 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18801 * stdlib/putenv.c (putenv): Likewise.
18802 * stdlib/setenv.c (__add_to_environ): Likewise.
18803 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18804 * stdlib/strtol_l.c (INTERNAL): Likewise.
18805 * string/memmem.c (memmem): Likewise.
18806 * string/strerror.c (strerror): Likewise.
18807 * string/strnlen.c (__strnlen): Likewise.
18808 * string/test-memmem.c (simple_memmem): Likewise.
18809 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18810 * sunrpc/pm_getport.c (__get_socket): Likewise.
18811 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18812 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
18813 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18814 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
18815 Likewise.
18816 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18817 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18818 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18819 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18820 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
18821 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18822 Likewise.
18823 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18824 Likewise.
a1ffb40e
OB
18825 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18826 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18827 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18828 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18829 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18831 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18832 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18833 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18834 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18835 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18836 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18837 Likewise.
18838 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18839 Likewise.
18840 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18841 Likewise.
18842 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18843 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18844 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18845 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18846 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18847 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18848 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18849 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18850 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18851 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18852 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18853 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18854 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18855 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18856 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
18857 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18858 Likewise.
a1ffb40e
OB
18859 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18860 Likewise.
18861 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18862 Likewise.
18863 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18864 Likewise.
18865 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18866 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18867 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18868 Likewise.
18869 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18870 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18871 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18872 * sysdeps/posix/sleep.c: Likewise.
18873 * sysdeps/posix/tempname.c: Likewise.
18874 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18875 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18876 Likewise.
57f41c40
AS
18877 * sysdeps/powerpc/powerpc32/dl-machine.h
18878 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
18879 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18880 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18881 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18882 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18883 Likewise.
18884 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18885 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18886 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18887 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18888 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18889 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18890 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18891 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18892 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18893 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18894 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18895 (elf_machine_lazy_rel): Likewise.
a1ffb40e 18896 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18897 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18898 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18899 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18900 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18901 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18902 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18903 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18904 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18905 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18906 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18907 Likewise.
18908 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18909 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18910 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18911 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18912 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18913 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18914 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18915 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18916 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18917 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18918 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18919 Likewise.
18920 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18921 (__posix_fallocate64_l64): Likewise.
18922 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18923 (posix_fallocate): Likewise.
57f41c40
AS
18924 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18925 Likewise.
a1ffb40e 18926 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
18927 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18928 (getifaddrs_internal): Likewise.
a1ffb40e
OB
18929 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18930 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18931 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18932 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18933 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18934 (__posix_fallocate64_l64): Likewise.
18935 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18936 Likewise.
18937 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
18938 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18939 (__get_clockfreq): Likewise.
a1ffb40e
OB
18940 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18941 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18942 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18943 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18944 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18945 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18946 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18947 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18948 Likewise.
18949 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18950 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18951 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18952 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18953 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18954 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18955 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18956 Likewise.
18957 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18958 (posix_fallocate): Likewise.
18959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18960 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18961 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18962 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18963 (elf_machine_rela, elf_machine_rela_relative)
18964 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18965 * time/asctime.c (asctime_internal): Likewise.
18966 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18967 * time/tzset.c (__tzset_parse_tz): Likewise.
18968 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18969 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18970 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18971 * wcsmbs/wcsmbsload.h: Likewise.
18972
f3d338c9
OB
18973 [BZ #15894]
18974 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18975
57f41c40
AS
18976 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18977 (arena_get2): Remove THREAD_STATS conditionals.
18978 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18979 (__malloc_stats, int): Likewise.
bdfe308a 18980
d674667c
MF
189812014-02-08 Mike Frysinger <vapier@gentoo.org>
18982
18983 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18984 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18985
6349768c
MF
18986 * manual/setjmp.texi: Fix typos/grammar errors.
18987
0b7c7473
MF
18988 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18989 Only return early when n is <= 0. Delete unused return statement.
18990
ac8cc9e3
MF
18991 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18992 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18993 * debug/tst-longjmp_chk3.c: New file.
18994
c5bb8e23
MF
18995 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18996 (test_main): Replace code with set_fortify_handler call.
18997 * debug/test-strcpy_chk.c: Likewise.
18998 * debug/tst-chk1.c: Likewise.
18999 * debug/tst-longjmp_chk.c: Likewise.
19000 * test-skeleton.c: Include fcntl.h & paths.h
19001 (set_fortify_handler): Define.
19002
10444e42
MF
19003 * debug/tst-longjmp_chk.c: Add header comment and include
19004 ../test-skeleton.c.
19005 (do_test): Mark static.
19006 (TEST_FUNCTION): Define.
19007
1e805e8d
MF
19008 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19009 (IP_PMTUDISC_INTERFACE): Likewise.
19010 (IP_MULTICAST_IF): Likewise.
19011 (IP_MULTICAST_TTL): Likewise.
19012 (IP_MULTICAST_LOOP): Likewise.
19013 (IP_ADD_MEMBERSHIP): Likewise.
19014 (IP_DROP_MEMBERSHIP): Likewise.
19015 (IP_UNBLOCK_SOURCE): Likewise.
19016 (IP_BLOCK_SOURCE): Likewise.
19017 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19018 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19019 (IP_MSFILTER): Likewise.
19020 (MCAST_JOIN_GROUP): Likewise.
19021 (MCAST_BLOCK_SOURCE): Likewise.
19022 (MCAST_UNBLOCK_SOURCE): Likewise.
19023 (MCAST_LEAVE_GROUP): Likewise.
19024 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19025 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19026 (MCAST_MSFILTER): Likewise.
19027 (IP_MULTICAST_ALL): Likewise.
19028 (IP_UNICAST_IF): Likewise.
19029
73f79bb7
MF
19030 * timezone/Makefile: Delete $(have-ksh) check.
19031 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19032 * timezone/tzselect.ksh: Add +x mode bits.
19033
8da79b60
MF
19034 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19035 (ANON_INODE_FS_MAGIC): Likewise.
19036 (BDEVFS_MAGIC): Likewise.
19037 (BINFMTFS_MAGIC): Likewise.
19038 (BTRFS_TEST_MAGIC): Likewise.
19039 (CRAMFS_MAGIC_WEND): Likewise.
19040 (DEBUGFS_MAGIC): Likewise.
19041 (ECRYPTFS_SUPER_MAGIC): Likewise.
19042 (EXT3_SUPER_MAGIC): Likewise.
19043 (EXT4_SUPER_MAGIC): Likewise.
19044 (FUTEXFS_SUPER_MAGIC): Likewise.
19045 (HOSTFS_SUPER_MAGIC): Likewise.
19046 (HUGETLBFS_MAGIC): Likewise.
19047 (MINIX3_SUPER_MAGIC): Likewise.
19048 (MTD_INODE_FS_MAGIC): Likewise.
19049 (NILFS_SUPER_MAGIC): Likewise.
19050 (OPENPROM_SUPER_MAGIC): Likewise.
19051 (PIPEFS_MAGIC): Likewise.
19052 (PSTOREFS_MAGIC): Likewise.
19053 (QNX6_SUPER_MAGIC): Likewise.
19054 (RAMFS_MAGIC): Likewise.
19055 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19056 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19057 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19058 (SECURITYFS_MAGIC): Likewise.
19059 (SELINUX_MAGIC): Likewise.
19060 (SMACK_MAGIC): Likewise.
19061 (SOCKFS_MAGIC): Likewise.
19062 (SQUASHFS_MAGIC): Likewise.
19063 (STACK_END_MAGIC): Likewise.
19064 (TMPFS_MAGIC): Likewise.
19065 (USBDEVICE_SUPER_MAGIC): Likewise.
19066 (V9FS_MAGIC): Likewise.
19067 (XENFS_SUPER_MAGIC): Likewise.
19068 (CRAMFS_MAGIC): Fix typo in comment.
19069 (EXT2_SUPER_MAGIC): Update comment.
19070 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19071
464263cc
JM
190722014-02-08 Joseph Myers <joseph@codesourcery.com>
19073
c6bfe5c4
JM
19074 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19075 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19076 * sysdeps/unix/sysv/linux/arm: Move directory from
19077 ports/sysdeps/unix/sysv/linux/arm.
19078 * README: Update listing for arm-*-linux-gnueabi.
19079
464263cc
JM
19080 * README: Remove mention of am33.
19081
32749f6c
RM
190822014-02-07 Roland McGrath <roland@hack.frob.com>
19083
19084 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19085 than the comma operator, to avoid "rhs of comma has no effect"
19086 compiler warnings.
19087 (__sigfillset, __sigandset, __sigorset): Likewise.
19088 * include/signal.h (__sigemptyset): Likewise.
19089 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19090
d5b396c1
AM
190912014-02-07 Allan McRae <allan@archlinux.org>
19092
19093 * version.h (RELEASE): Set to "development".
19094 (VERSION): Set to "2.19.90"
19095 * NEWS: Add 2.20 section.
19096
3bfff2ed
CD
190972014-02-06 Carlos O'Donell <carlos@redhat.com>
19098
19099 [BZ #16529]
19100 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19101
ee7cc385
SP
191022014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19103
19104 * manual/contrib.texi: Update entry for Carlos O'Donell,
19105 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19106
f877c4f2
CD
191072014-02-05 Carlos O'Donell <carlos@rehdat.com>
19108
27e839f6
CD
19109 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19110
f877c4f2
CD
19111 * sysdeps/unix/sysv/linux/kernel-features.h
19112 [__LINUX_KERNEL_VERSION >= 0x020621]
19113 (__ASSUME_PROC_PID_TASK_COMM): Define.
19114
68159946
SP
191152014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19116
ba17cdbd
SP
19117 [BZ #16398]
19118 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19119 conversion when destination buffer does not have enough space.
19120 * libio/tst-ftell-partial-wide.c: New test case.
19121 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19122
68159946
SP
19123 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19124 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19125 Leonard and Allan McRae.
19126
2b528732
DM
191272014-02-04 David S. Miller <davem@davemloft.net>
19128
19129 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19130 32-bit.
19131
0ff82463
AZ
191322014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19133
57f41c40
AS
19134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19135 New file
c01603f7
AZ
19136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19137 New file
57f41c40
AS
19138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19139 New file.
19140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19141 New file.
c01603f7
AZ
19142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19143 New file.
57f41c40
AS
19144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19145 New file.
19146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19147 New file.
c01603f7
AZ
19148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19149 New file.
19150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19151 New file.
19152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19153 New file.
19154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19155 New file.
19156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19157 New file.
19158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19159 New file.
19160
191612014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19162
0ff82463
AZ
19163 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19164 * shlib-versions: Likewise.
19165
1695c773
AZ
191662014-02-04 Roland McGrath <roland@hack.frob.com>
19167 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19168
19169 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19170 (abilist-pattern): New variable, set to %-le.abilist.
19171
19172 * Makerules (abilist-pattern): New variable.
19173 (vpath): Use $(abilist-pattern) in place of %.abilist.
19174 (check-abi-% pattern rule): Likewise.
19175 (check-abi, update-abi): Likewise.
19176
6c0ce4b4
EW
191772014-02-04 Eric Wong <normalperson@yhbt.net>
19178
19179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19180
481e3524
CD
191812014-02-03 Carlos O'Donell <carlos@redhat.com>
19182
19183 * manual/startup.texi: Add next, previous, and top entries for
19184 the `Program Arguments' and `Environment Variables' nodes.
19185
375592d3
AO
191862014-02-03 Alexandre Oliva <aoliva@redhat.com>
19187
19188 * manual/macros.texi: Add comments before MTASC-safety macros.
19189
f54838ba
AO
19190 * manual/users.texi: Document MTASC-safety properties.
19191
57f41c40
AS
19192 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19193 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
19194 @deftypefun, and add @safety note.
19195 * manual/signal.texi: Move comments that analyze the above
19196 functions to their home place.
19197
fd3daba4
AM
191982014-02-03 Allan McRae <allan@archlinux.org>
19199
19200 * po/sl.po: Update Slovenian translation from translation project.
19201
597636d7
AO
192022014-02-02 Alexandre Oliva <aoliva@redhat.com>
19203
19204 * manual/time.texi (timegm): Add missing blank after @c.
19205 Reported by Joseph Myers <joseph@codesourcery.com>.
19206
ee196e3c
AO
192072014-02-01 Alexandre Oliva <aoliva@redhat.com>
19208
19209 * manual/check-safety.sh: New.
19210 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19211
f8d529d5
AO
19212 * manual/terminal.texi: Document MTASC-safety properties.
19213
de55fdf4
AO
19214 * manual/filesys.texi: Document MTASC-safety properties.
19215
c3299c08
AO
19216 * manual/errno.texi: Document MTASC-safety properties.
19217
06e90b14
AO
19218 * manual/intro.texi: Document safety identifiers and
19219 conditionals.
19220
1acd4371
AO
19221 * manual/string.texi (wcstok): Fix prototype.
19222 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19223
23e5b8cb
AO
19224 * manual/time.texi: Document MTASC-safety properties.
19225
11087373
AO
19226 * manual/string.texi: Document MTASC-safety properties.
19227
5da2c93d
AO
19228 * manual/threads.texi: Document MTASC-safety properties.
19229
171e9210
AO
19230 * manual/stdio.texi: Document MTASC-safety properties.
19231
d9e02532
AO
19232 * manual/syslog.texi: Document MTASC-safety properties.
19233
6af8bab7
AO
19234 * manual/sysinfo.texi: Document MTASC-safety properties.
19235
663b02d7
AO
19236 * manual/startup.texi: Document MTASC-safety properties.
19237
973f180b
AO
19238 * manual/socket.texi: Document MTASC-safety properties.
19239
8f3c25c8
AO
19240 * manual/signal.texi: Document MTASC-safety properties.
19241
542210fb
AO
192422014-01-31 Alexandre Oliva <aoliva@redhat.com>
19243
19244 * manual/setjmp.texi: Document MTASC-safety properties.
19245
433c45a2
AO
19246 * manual/search.texi: Document MTASC-safety properties.
19247
c8ce789c
AO
19248 * manual/resource.texi: Document MTASC-safety properties.
19249
19f5d29c
AO
19250 * manual/process.texi: Document MTASC-safety properties.
19251
e2dfb7f4
AO
19252 * manual/platform.texi: Document MTASC-safety properties.
19253
8c1413f5
AO
19254 * manual/pipe.texi: Document MTASC-safety properties.
19255
03483ada
AO
19256 * manual/pattern.texi: Document MTASC-safety properties.
19257
29e7e2df
AO
19258 * manual/message.texi: Document MTASC-safety properties.
19259
9f529d7c
AO
19260 [BZ #12751]
19261 * manual/memory.texi: Document MTASC-safety properties.
19262
27aaa791
AO
19263 * manual/math.texi: Document MTASC-safety properties.
19264
f2d58726
AO
19265 * manual/locale.texi: Document MTASC-safety properties.
19266
2cc3615c
AO
19267 * manual/llio.texi: Document MTASC-safety properties.
19268
d9f0ec97
AO
19269 * manual/libdl.texi: New.
19270
e7c4409a
AO
19271 * manual/lang.texi: Document MTASC-safety properties.
19272
27bdc63c
AO
19273 * manual/job.texi: Document MTASC-safety properties.
19274
a7b90ea9
AO
19275 * manual/getopt.texi: Document MTASC-safety properties.
19276
c49130e3
AO
19277 * manual/ctype.texi: Document MTASC-safety properties.
19278
0d23a5c1
MR
192792014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19280
19281 [BZ #16046]
19282 * csu/libc-tls.c (static_map): Remove variable.
19283 (__libc_setup_tls): Use main executable's link map for TLS data.
19284 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19285 casing for LM_ID_BASE and GL(dl_nns).
19286 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19287 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19288 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19289 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19290 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19291 member.
19292 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19293 l_phnum members.
19294
0037bb60
AO
192952014-01-30 Alexandre Oliva <aoliva@redhat.com>
19296
19297 * manual/debug.texi: Document MTASC-safety properties.
19298
409e00bd
L
192992014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19300
19301 [BZ #16510]
19302 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19303 of __x86_64__ when disabling x87 inline functions.
19304
86e60666
AO
193052014-01-29 Alexandre Oliva <aoliva@redhat.com>
19306
19307 * manual/charset.texi: Document MTASC-safety properties.
19308
76167637
AO
19309 * manual/crypt.texi: Document MTASC-safety properties.
19310
e567f2a0
AO
19311 * manual/conf.texi: Document MTASC-safety properties.
19312
b719dafd
AO
19313 * manual/arith.texi: Document MTASC-safety properties.
19314
4a16c662
AO
19315 * manual/argp.texi: Document MTASC-safety properties.
19316
0a57b83e
AO
19317 * manual/macros.texi: Introduce macros to document multi
19318 thread, asynchronous signal and asynchronous cancellation
19319 safety properties.
19320 * manual/intro.texi: Introduce the properties themselves.
19321
feab2397
KK
193222014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19323
19324 * sysdeps/sh/sh4/Makefile: New file.
19325
1c0d11bc
AS
193262014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19327
19328 * math/gen-libm-test.pl ($srcdir): New variable.
19329 ($auto_input): Use it.
19330
af37a8a3
SP
193312014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19332
d7b00f98
SP
19333 [BZ #16506]
19334 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19335 access beyond array bounds when parsing netgroups file.
19336
af37a8a3
SP
19337 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19338 the old buffer before realloc.
19339
0c00f062
AM
193402014-01-27 Allan McRae <allan@archlinux.org>
19341
19342 * po/fr.po: Update French translation from translation project.
19343
7d69a1b0
KK
193442014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19345
19346 * sysdeps/sh/libm-test-ulps: Regenerate.
19347
6e697ff7
DM
193482014-01-24 David S. Miller <davem@davemloft.net>
19349
19350 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19351
9cadb35c
KK
193522014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19353
19354 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19355 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19356
5d41dadf
SP
193572013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19358
19359 [BZ #16474]
19360 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19361 string pointers after reallocation.
19362
0bad441c
KK
193632014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19364
19365 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19366 __SH4A__ instead of __SH_FPU_ANY__.
19367
7007c661
KK
193682014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19369
19370 * sysdeps/sh/fpu_control.h: New file.
19371 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19372 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19373 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19374 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19375 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19376 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19377 * sysdeps/sh/sys/ucontext.h: Remove.
19378 * sysdeps/sh/sys: Remove directory.
19379
0f0c35e4
AK
193802014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19381
19382 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19383 s390/sys/ucontext.h.
19384 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19385 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19386
4959e284
L
193872014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19388
19389 [BZ #15605]
19390 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19391
d98720e0
AZ
193922014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19393
19394 [BZ#16431]
19395 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19396 Adjust the vDSO correctly for internal calls.
19397 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19398
91cbd0bc
AM
193992014-01-20 Allan McRae <allan@archlinux.org>
19400
19401 * po/ca.po: Update Catalan translation from translation project.
19402
7a02cfad
MF
194032014-01-16 Mike Frysinger <vapier@gentoo.org>
19404
19405 * sysdeps/s390/sotruss-lib.c: New file.
19406
736c304a
AZ
194072014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19408
19409 [BZ#16430]
6e077ee5 19410 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
19411 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19412 local calls issues by not having a PLT stub required for IFUNC calls.
19413 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19414
94d0cea0
JM
194152014-01-16 Joseph Myers <joseph@codesourcery.com>
19416
19417 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19418 * math/test-fpucw-static.c: Likewise.
19419
980cb518
SP
194202013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19421
19422 [BZ #16453]
19423 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19424
2393fc01
AZ
194252014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19426
19427 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19428 implementation for powerpc.
19429
d359bcc2
OB
194302014-01-15 Ondřej Bílka <neleai@seznam.cz>
19431
19432 [BZ #14782]
19433 * sysdeps/posix/system.c (__libc_system): Do not enable
19434 asynchronous cancellation.
19435
7beb48cb
AK
194362014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19437
19438 [BZ #16427]
19439 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19440 handling only for numbers special also in the IEEE case.
19441
c20d5bf5
AK
194422014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19443
19444 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19445
e83bd4ee
AM
194462014-01-11 Allan McRae <allan@archlinux.org>
19447
76d0ea69
AM
19448 * po/bg.po: Update Bulgarian translation from translation project.
19449
e83bd4ee
AM
19450 * po/de.po: Update German translation from translation project.
19451
bc2ba20a
RM
194522014-01-10 Roland McGrath <roland@hack.frob.com>
19453
19454 * sysdeps/generic/gcc-compat.h: New file.
19455
649ecea2
SP
194562014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19457
19458 * benchtests/asin-inputs: Correct slow inputs.
19459 * benchtests/acos-inputs: Likewise.
19460
1b19c006
AM
194612014-01-10 Allan McRae <allan@archlinux.org>
19462
a46dab08
AM
19463 * po:sv.po: Update Swedish translation from translation project.
19464
421df74a
AM
19465 * po/vi.po: Update Vietnamese translation from translation project.
19466
d61c51a7
AM
19467 * po/eo.po: Update Esperanto translation from translation project.
19468
0339a319
AM
19469 * po/cs.po: Update Czech translation from translation project.
19470
94ad3e99
AM
19471 * po/nl.po: Update Dutch translation from translation project.
19472
e349ca71
AM
19473 * po/pl.po: Update Polish translation from translation project.
19474
ddf930c1
AM
19475 * po/ru.po: Update Russian translation from translation project.
19476
1b19c006
AM
19477 * po/uk.po: Update Ukrainian translation from translation project.
19478
9f236c49
BM
194792014-01-08 Brooks Moses <bmoses@google.com>
19480
19481 * elf/dl-load.c: Fix comment typo.
19482
cd6701cf
CD
194832014-01-08 Carlos O'Donell <carlos@redhat.com>
19484
19485 * po/header.pot: Rename to...
19486 * po/pot.header: ... this.
19487 * po/Makefile: Use pot.header.
19488
66671c84
YK
194892014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19490 Maxim Kuvyrkov <maxim@kugelworks.com>
19491
19492 [BZ #16394]
cd6701cf
CD
19493 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19494 SRC and DEST against LEN.
66671c84 19495
38f34581
AZ
194962014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19497
19498 [BZ #16414]
19499 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19500 implementation.
19501 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19502
195032014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
19504
19505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19506
4c327f2a
JM
195072014-01-08 Joseph Myers <joseph@codesourcery.com>
19508
19509 [BZ #16408]
19510 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19511 for large positive arguments.
19512
b821f414
JM
195132014-01-07 Joseph Myers <joseph@codesourcery.com>
19514
1f0f2067
JM
19515 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19516
a5a326f6
JM
19517 * math/auto-libm-test-in: Mark various tests with
19518 xfail-rounding:ldbl-128ibm.
19519 * math/auto-libm-test-out: Regenerated.
19520
b821f414
JM
19521 [BZ #16407]
19522 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19523 Increase overflow threshold.
19524
94c8a4bc
OB
195252014-01-07 Ondřej Bílka <neleai@seznam.cz>
19526
19527 [BZ #14286]
19528 * stdio-common/vfprintf.c: Check for integer overflow.
19529
87ded0c3
AK
195302014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19531
19532 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19533 the first argument and return value of __tls_get_addr_internal.
19534
c5eebdd0
AK
195352014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19536
19537 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19538 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19539
05d138ef
AK
195402014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19541
19542 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19543 * sysdeps/s390/rtld-global-offsets.sym: New file.
19544 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19545 GLIBC_2.19 symbol.
19546 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19547 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19548 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19549 ... this.
19550 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19551 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19552 ... this.
19553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19554 Regenerate.
19555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19556 Regenerate.
19557 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19558 halfs of GPRs for high_gprs contexts.
19559 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19560 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19561 field.
19562 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19563 uc_flags field.
19564 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19565 64 bit versions:
19566 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19567 for high GPRs (uc_high_gprs) and for future extensions
19568 (__reserved).
19569 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19570 for future extensions (__reserved).
19571 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19572 64 bit versions:
19573 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19574 SC_HIGHGPRS offset definition.
19575 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19576 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19577
93a45ff1
AK
19578 * Versions.def: Add GLIBC_2.19 for libpthread.
19579 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19580 siglongjmp for libpthread with GLIBC_2.19 symver.
19581 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19582 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19583 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19584 * sysdeps/s390/__longjmp.c: New file.
19585 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19586 * sysdeps/s390/longjmp.c: New file.
19587 * sysdeps/s390/setjmp.S: New file.
19588 * sysdeps/s390/sigjmp.S: New file.
19589 * sysdeps/s390/v1-longjmp.c: New file.
19590 * sysdeps/s390/v1-setjmp.h: New file.
19591 * sysdeps/s390/v1-sigjmp.c: New file.
19592 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19593 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19594 GLIBC_2.19 version.
19595 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19596 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19597 versioned symbols for ____longjmp_chk.
19598 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19599 Likewise.
19600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19601 Regenerate.
19602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19603 Regenerate.
19604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19605 Regenerate.
19606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19607 Regenerate.
19608 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19609 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19610 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19611 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19612 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19613 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19614 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19615 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19616 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19617 * sysdeps/s390/rtld-__longjmp.c: New file.
19618 * sysdeps/s390/rtld-setjmp.S: New file.
19619
eb3fc44b
JM
196202014-01-06 Joseph Myers <joseph@codesourcery.com>
19621
19622 [BZ #16400]
19623 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19624 Return -__logl (x) for small positive arguments without evaluating
19625 a polynomial.
19626
9341dde4
MF
196272014-01-06 Mike Frysinger <vapier@gentoo.org>
19628
19629 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19630 Rename to ...
19631 (__ptrace_peeksiginfo_args): ... this.
19632 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19633 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19634 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19635
4cff0293
AM
196362014-01-06 Allan McRae <allan@archlinux.org>
19637
19638 * inet/netinet/in.h: Fix typo in comment.
19639
75595dcf
AJ
196402014-01-05 Andreas Jaeger <aj@suse.de>
19641
19642 * sysdeps/i386/fpu/libm-test-ulps: Update.
19643
79c1e109
AM
196442014-01-05 Allan McRae <allan@archlinux.org>
19645
dd804818
AM
19646 * po/libc.pot: Regenerated.
19647
79c1e109
AM
19648 * malloc/memusagestat.c: Fix gettext call formatting.
19649
0c813d1f
SK
196502014-01-04 Sami Kerola <kerolasa@iki.fi>
19651
19652 * nscd/nscd.c: Improve usage() output.
19653
20f4a8d9
MF
196542014-01-04 Mike Frysinger <vapier@gentoo.org>
19655
19656 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19657 * sysdeps/unix/sysv/linux/configure: Regenerated.
19658 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19659 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19660
22562bb2
JM
196612014-01-03 Joseph Myers <joseph@codesourcery.com>
19662
19663 [BZ #16390]
19664 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19665 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19666
d7ad2d9b
AZ
196672014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19668
19669 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19670 extra tokens at end of #undef directive.
19671 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19672 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19673 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19674
7dd009d8
JM
196752014-01-03 Joseph Myers <joseph@codesourcery.com>
19676
24db925a
JM
19677 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19678
7dd009d8
JM
19679 * math/auto-libm-test-in: Mark various tests with
19680 xfail-rounding:ldbl-128ibm.
19681 * math/auto-libm-test-out: Regenerated.
19682
396e3ecf
JM
196832014-01-02 Joseph Myers <joseph@codesourcery.com>
19684
819e5d50
JM
19685 [BZ #16386]
19686 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19687 numbers with subnormal high part when calculating exponent.
19688
90b6a1e5
JM
19689 [BZ #16385]
19690 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19691 fabs.
19692
396e3ecf
JM
19693 [BZ #16384]
19694 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19695 M_LN2l.
19696 (__ieee754_acoshl): Use __log1pl not __log1p.
19697
6c8dbf00
OB
196982013-01-02 Ondřej Bílka <neleai@seznam.cz>
19699
57f41c40
AS
19700 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19701 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19702 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19703 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19704 (reused_arena, arena_get2): Convert to GNU style.
19705 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19706 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19707 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 19708 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
19709 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19710 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19711 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19712 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19713 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19714 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 19715 * malloc/malloc.h: Likewise.
57f41c40
AS
19716 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19717 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 19718 * malloc/mcheck.h: Likewise.
57f41c40
AS
19719 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19720 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
19721 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19722 * malloc/morecore.c (__default_morecore): Likewise.
19723 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
19724 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19725 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19726 (print_and_abort): Likewise.
6c8dbf00
OB
19727 * malloc/obstack.h: Likewise.
19728 * malloc/set-freeres.c (__libc_freeres): Likewise.
19729 * malloc/tst-mallocstate.c (main): Likewise.
19730 * malloc/tst-mtrace.c (main): Likewise.
19731 * malloc/tst-realloc.c (do_test): Likewise.
19732
d4124212
SP
197332013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19734
9a3c6a6f
SP
19735 [BZ #16366]
19736 * nscd/netgroupcache.c (do_notfound): New function.
19737 (addgetnetgrentX): Use it.
19738
d4124212
SP
19739 [BZ # 16365]
19740 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19741 NSS_STATUS_NOTFOUND.
19742
97b9a009
JM
197432014-01-01 Joseph Myers <joseph@codesourcery.com>
19744
19745 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19747
d4697bc9
AM
197482014-01-01 Allan McRae <allan@archlinux.org>
19749
ddb3687f
AM
19750 * scripts/update-copyrights: Update configure input file suffix.
19751
88726d48
AM
19752 * NEWS: Update copyright year.
19753 * catgets/gencat.c: Likewise.
19754 * csu/version.c: Likewise.
19755 * debug/catchsegv.sh: Likewise.
19756 * debug/pcprofiledump.c: Likewise.
19757 * debug/xtrace.sh: Likewise.
19758 * elf/ldconfig.c: Likewise.
19759 * elf/ldd.bash.in: Likewise.
19760 * elf/pldd.c: Likewise.
19761 * elf/sotruss.ksh: Likewise.
19762 * elf/sprof.c: Likewise.
19763 * iconv/iconv_prog.c: Likewise.
19764 * iconv/iconvconfig.c: Likewise.
19765 * locale/programs/locale.c: Likewise.
19766 * locale/programs/localedef.c: Likewise.
19767 * login/programs/pt_chown.c: Likewise.
19768 * malloc/memusage.sh: Likewise.
19769 * malloc/memusagestat.c: Likewise.
19770 * malloc/mtrace.pl: Likewise.
19771 * manual/libc.texinfo: Likewise.
19772 * nscd/nscd.c: Likewise.
19773 * nss/getent.c: Likewise.
19774 * nss/makedb.c: Likewise.
19775 * posix/getconf.c: Likewise.
19776 * scripts/test-installation.pl: Likewise.
19777
d4697bc9
AM
19778 * All files with FSF copyright notices: Update copyright dates
19779 using scripts/update-copyrights.
19780 * intl/plural.c: Regenerated.
19781 * locale/programs/charmap-kw.h: Likewise.
19782 * locale/programs/locfile-kw.h: Likewise.
19783
c8590f9d
MF
197842013-12-31 Mike Frysinger <vapier@gentoo.org>
19785
19786 * sysdeps/unix/sysv/linux/configure: Regenerated.
19787 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19788 the linux/fanotify.h header.
19789 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19790 HAVE_LINUX_FANOTIFY_H is defined.
19791
b19221b9
SP
197922013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19793
dd1d85e5
SP
19794 * benchtests/cos-inputs: New inputs.
19795 * benchtests/sin-inputs: Likewise.
19796
1acbb90f
SP
19797 * benchtests/atan-inputs: New inputs. Fix name of multiple
19798 precision fallback inputs.
19799
4c012ed3
SP
19800 * benchtests/atanh-inputs: New inputs.
19801 * benchtests/tanh-inputs: Likewise.
19802
eff98324
SP
19803 * benchtests/acosh-inputs: New inputs.
19804 * benchtests/asinh-inputs: Likewise.
19805
ce641152
SP
19806 * benchtests/cosh-inputs: New inputs.
19807 * benchtests/sinh-inputs: Likewise.
19808
b19221b9
SP
19809 * benchtests/acos-inputs: Add more inputs.
19810 * benchtests/asin-inputs: Likewise.
19811
030a4976 198122013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 19813
030a4976 19814 [BZ #16375]
9dcc8f11
VS
19815 * manual/arith.texi: Fix spelling.
19816 * manual/charset.texi: Likewise.
19817 * manual/errno.texi: Likewise.
19818 * manual/filesys.texi: Likewise.
19819 * manual/lang.texi: Likewise.
19820 * manual/llio.texi: Likewise.
19821 * manual/locale.texi: Likewise.
19822 * manual/message.texi: Likewise.
19823 * manual/resource.texi: Likewise.
19824 * manual/search.texi: Likewise.
19825 * manual/setjmp.texi: Likewise.
19826 * manual/stdio.texi: Likewise.
19827 * manual/string.texi: Likewise.
19828 * manual/sysinfo.texi: Likewise.
19829 * manual/time.texi: Likewise.
19830
11520a57
CD
198312013-12-27 Carlos O'Donell <carlos@redhat.com>
19832
19833 * po/sl.po: New file.
19834
471103ae
MF
198352013-12-27 Mike Frysinger <vapier@gentoo.org>
19836
19837 * .gitignore: Add core/.gdbinit/.gdb_history.
19838
6c9642ed
AM
198392013-12-27 Allan McRae <allan@archlinux.org>
19840
19841 [BZ #16369]
19842 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19843 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19844
3f637079
BM
198452013-12-24 Brooks Moses <bmoses@google.com>
19846
19847 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19848 all compilers that claim C++98 compliance, not just GCC.
19849 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19850 Likewise.
19851
abc26e99
MK
198522013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19853
19854 * NEWS: Restore accidentally deleted bug-fix entries.
19855
362b47fe
MK
198562013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19857 Ondřej Bílka <neleai@seznam.cz>
19858
19859 [BZ #15073]
19860 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 19861 have_lock.
362b47fe 19862
b9bcbbcb
OB
198632013-12-23 Ondřej Bílka <neleai@seznam.cz>
19864
19865 [BZ #12986]
19866 * manual/stdio.texi (String Input Conversions): Clarify that character
19867 classes are not supported.
19868
fb55fcd2
AZ
198692013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19870
19871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19872
ef7344f0
JM
198732013-12-22 Joseph Myers <joseph@codesourcery.com>
19874
4f40e4b3
JM
19875 [BZ #16337]
19876 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19877 Calculate results for small negative arguments directly rather
19878 than using reflection formula with special underflow handling.
19879
ef7344f0
JM
19880 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19881 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19882 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19883 (fchflags): Likewise.
19884 (revoke): Likewise.
19885 (setlogin): Likewise.
19886 (sigaltstack): Likewise.
19887 (wait4): Likewise.
19888 (sigblock): Remove.
19889 (sigsetmask): Likewise.
19890 (wait3): Likewise.
19891 (waitpid): Likewise.
19892 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19893 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19894 file.
19895 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19896 * sysdeps/unix/bsd/Makefile: ... here.
19897 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19898 * sysdeps/unix/bsd/Versions: ... here.
19899 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19900 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19901 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19902 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19903 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19904 * sysdeps/unix/bsd/sigblock.c: ... here.
19905 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19906 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19907 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19908 * sysdeps/unix/bsd/sigvec.c: ... here.
19909 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19910 * sysdeps/unix/bsd/tcdrain.c: ... here.
19911 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19912 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19913 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19914 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19915 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19916 * sysdeps/unix/bsd/wait.c: ... here.
19917 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19918 * sysdeps/unix/bsd/wait3.c: ... here.
19919 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19920 * sysdeps/unix/bsd/waitpid.c: ... here.
19921
5b0626b9
JM
199222013-12-21 Joseph Myers <joseph@codesourcery.com>
19923
19924 [BZ #16356]
19925 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19926 round-to-nearest for [!USE_AS_EXPM1L].
19927 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19928 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19929 more tests of exp and exp10. Expect some exp10 tests to miss
19930 exceptions or fail in directed rounding modes.
19931 * math/auto-libm-test-out: Regenerated.
19932 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19933 (exp10_test_tonearest): New function.
19934 (exp10_towardzero_test_data): New array.
19935 (exp10_test_towardzero): New function.
19936 (exp10_downward_test_data): New array.
19937 (exp10_test_downward): New function.
19938 (exp10_upward_test_data): New array.
19939 (exp10_test_upward): New function.
19940 (main): Call the new functions.
19941 * sysdeps/i386/fpu/libm-test-ulps: Update.
19942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19943
7fda5682
JM
199442013-12-20 Joseph Myers <joseph@codesourcery.com>
19945
31e3a405
JM
19946 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19947 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19948 * math/auto-libm-test-out: Regenerated.
19949 * math/libm-test.inc (acosh_test_data): Add more tests.
19950 (atanh_test_data): Likewise.
19951 (ceil_test_data): Likewise.
19952 (copysign_test_data): Likewise.
19953 * sysdeps/i386/fpu/libm-test-ulps: Update.
19954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19955
85bff96a
JM
19956 * timezone/checktab.awk: Update from tzcode 2013i.
19957 * timezone/private.h: Likewise.
19958 * timezone/scheck.c: Likewise.
19959 * timezone/tzfile.h: Likewise.
19960 * timezone/tzselect.ksh: Likewise.
19961 * timezone/zdump.c: Likewise.
19962 * timezone/zic.c: Likewise.
19963
b7867a3b
JM
19964 * math/auto-libm-test-in: Add tests of cpow.
19965 * math/auto-libm-test-out: Regenerated.
19966 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 19967 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
19968 mpc_cc_c.
19969 (func_calc_desc): Add mpc_cc_c union field.
19970 (test_functions): Add cpow.
19971 (special_fill_2pi): New function.
19972 (special_real_inputs): Add 2pi.
19973 (calc_generic_results): Handle mpc_cc_c.
19974 * sysdeps/i386/fpu/libm-test-ulps: Update.
19975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19976
7fda5682
JM
19977 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19978 csqrt, ctan and ctanh.
19979 * math/auto-libm-test-out: Regenerated.
19980 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19981 (TEST_COND_x86): Likewise.
19982 (ccos_test_data): Use AUTO_TESTS_c_c.
19983 (ccosh_test_data): Likewise.
19984 (cexp_test_data): Likewise.
19985 (clog_test_data): Likewise.
19986 (csqrt_test_data): Likewise.
19987 (ctan_test_data): Likewise.
19988 (ctan_tonearest_test_data): Likewise.
19989 (ctan_towardzero_test_data): Likewise.
19990 (ctan_downward_test_data): Likewise.
19991 (ctan_upward_test_data): Likewise.
19992 (ctanh_test_data): Likewise.
19993 (ctanh_tonearest_test_data): Likewise.
19994 (ctanh_towardzero_test_data): Likewise.
19995 (ctanh_downward_test_data): Likewise.
19996 (ctanh_upward_test_data): Likewise.
19997 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19998 mpc_c_c.
19999 (func_calc_desc): Add mpc_c_c union field.
20000 (FUNC_mpc_c_c): New macro.
20001 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20002 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20003 ctanh.
20004 (special_fill_min_subnorm_p120): New function.
20005 (special_real_inputs): Add min_subnorm_p120.
20006 (calc_generic_results): Handle mpc_c_c.
20007 * sysdeps/i386/fpu/libm-test-ulps: Update.
20008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20009
5ff8d60e
SP
200102013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20011
57f41c40
AS
20012 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20013 (do_sin_slow): New functions.
20014 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20015 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 20016
84ba214c
SP
20017 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20018 Use M to change sign of result instead of X. Assume X is
20019 positive.
20020 (csloww1): Likewise.
20021 (__sin): Adjust.
20022 (__cos): Adjust.
20023
975195e4
SP
20024 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20025 arguments A and DA.
20026 (__sin): Adjust.
20027 (__cos): Likewise.
20028
5ff8d60e
SP
20029 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20030 (__cos): Likewise.
20031 (sloww1): Don't adjust sign of DX.
20032 (csloww1): Likewise.
20033 (sloww2): Use X directly and don't adjust sign of DX.
20034 (csloww2): Likewise.
20035
eb983568
JM
200362013-12-19 Joseph Myers <joseph@codesourcery.com>
20037
64a17f1a
JM
20038 * math/auto-libm-test-in: Add tests of cabs and carg.
20039 * math/auto-libm-test-out: Regenerated.
20040 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20041 (carg_test_data): Likewise.
20042 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20043 mpc_c_f.
20044 (func_calc_desc): Add mpc_c_f union field.
20045 (test_functions): Add cabs and carg.
20046 (calc_generic_results): Handle mpc_c_f.
20047
eb983568
JM
20048 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20049 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20050 as a macro and a compat symbol.
20051 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20052 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20053 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20054 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20055 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20056 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20057 not use .hidden.
20058 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20059 Likewise.
20060 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20061 Likewise.
20062 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20063 Likewise.
20064 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20065 Likewise.
20066 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20067 Likewise.
20068 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20069 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20070 from GLIBC_2.3.2.
20071
6eeb678a
AZ
200722013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20073
20074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20075
6f6fc482
JM
200762013-12-19 Joseph Myers <joseph@codesourcery.com>
20077
21fea2e2
JM
20078 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20079 trailing whitespace removed.
20080 * scripts/config.guess: Update to version 2013-11-29.
20081 * scripts/config.sub: Update to version 2013-10-01.
20082
6f6fc482
JM
20083 * math/auto-libm-test-in: Add tests of sincos.
20084 * math/auto-libm-test-out: Regenerated.
20085 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20086 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20087 mpfr_f_11.
20088 (func_calc_desc): Add mpfr_f_11 union field.
20089 (test_functions): Add sincos.
20090 (calc_generic_results): Handle mpfr_f_11.
20091 * sysdeps/i386/fpu/libm-test-ulps: Update.
20092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20093
83f5c32d
AS
200942013-12-19 Andreas Schwab <schwab@suse.de>
20095
20096 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20097 CALL_MCOUNT.
20098 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20099 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20100 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20101
c688b419
JM
201022013-12-19 Joseph Myers <joseph@codesourcery.com>
20103
335ee092
JM
20104 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20105 * sysdeps/i386/fpu/libm-test-ulps: Update.
20106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20107
f88acd39
JM
20108 [BZ #16293]
20109 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20110 round-to-nearest mode when using frndint.
20111 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20112 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20113 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20114 Likewise.
20115 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20116 sinh test to fail.
20117 * math/auto-libm-test-out: Regenerated.
20118 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20119 (TEST_COND_x86): Likewise.
20120 (expm1_tonearest_test_data): New array.
20121 (expm1_test_tonearest): New function.
20122 (expm1_towardzero_test_data): New array.
20123 (expm1_test_towardzero): New function.
20124 (expm1_downward_test_data): New array.
20125 (expm1_test_downward): New function.
20126 (expm1_upward_test_data): New array.
20127 (expm1_test_upward): New function.
20128 (main): Run the new test functions.
20129 * sysdeps/i386/fpu/libm-test-ulps: Update.
20130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20131
c688b419
JM
20132 * include/features.h: Update comment documenting feature test
20133 macros. Mention _DEFAULT_SOURCE in comment.
20134 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20135 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20136 _BSD_SOURCE and _SVID_SOURCE.
20137 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20138 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20139 !_SVID_SOURCE]: Likewise.
20140 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20141 (__USE_POSIX_IMPLICITLY): Define.
20142 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20143 (_POSIX_SOURCE): Undefine and redefine.
20144 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20145 (_POSIX_C_SOURCE): Likewise.
20146 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20147 (Feature Test Macros): Update documentation of default features.
20148
9f6e964c
RS
201492013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20150
20151 * benchtests/Makefile: Add bench-strtok.
20152 * benchtests/bench-strtok.c: New file: strtok benchtest.
20153
ee0a148a
AM
201542013-12-19 Allan McRae <allan@archlinux.org>
20155
20156 * manual/install.texi: Suppress menu for plain text output.
20157 * INSTALL: Regenerated.
20158
b9ab448f
BM
201592013-12-18 Brooks Moses <bmoses@google.com>
20160
20161 [BZ #15846]
20162 * misc/getauxval.c: Include errno.h.
20163 (__getauxval): Set errno to ENOENT if the requested type is not
20164 found.
20165 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20166 don't declare with __attribute_const__.
20167 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20168 * manual/startup.texi: Document that getauxval sets errno.
20169
23776487
JM
201702013-12-18 Joseph Myers <joseph@codesourcery.com>
20171
f889953b
JM
20172 * math/auto-libm-test-in: Add tests of jn and yn.
20173 * math/auto-libm-test-out: Regenerated.
20174 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20175 (yn_test_data): Likewise.
20176 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20177 mpfr_if_f.
20178 (func_calc_desc): Add mpfr_if_f union field.
20179 (FUNC_mpfr_if_f): New macro.
20180 (test_functions): Add jn and yn.
20181 (calc_generic_results): Assert type of second input for
20182 mpfr_ff_f. Handle mpfr_if_f.
20183 (output_for_one_input_case): Disable all checking for arguments
20184 fitting floating-point types in case of an integer argument.
20185 * sysdeps/i386/fpu/libm-test-ulps: Update.
20186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20187
23776487
JM
20188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20189 Don't expect fegetround reference in libm.so.
20190
cb756c6d
MS
201912013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20192
20193 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20194 $(config-cflags-nofma).
20195
2dec468f
JM
201962013-12-18 Joseph Myers <joseph@codesourcery.com>
20197
5953eb3a
JM
20198 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20199 * math/auto-libm-test-out: Regenerated.
20200
2dec468f
JM
20201 [BZ #16338]
20202 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20203 to determine exponent and adjust argument to have exponent of -1.
20204 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20205 log2.
20206 * math/auto-libm-test-out: Regenerated.
20207 * sysdeps/i386/fpu/libm-test-ulps: Update.
20208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20209
4d84e6ad
OB
202102013-12-18 Ondřej Bílka <neleai@seznam.cz>
20211
20212 * manual/probes.texi: Remove cases when per-thread arenas are
20213 disabled.
20214
1818483b
AS
202152013-12-18 Andreas Schwab <schwab@suse.de>
20216
20217 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20218 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20219 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20220 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20221 * sysdeps/i386/i686/multiarch/Makefile: Update.
20222 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20223
25de95bf
JM
202242013-12-17 Joseph Myers <joseph@codesourcery.com>
20225
20226 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20227 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20228
674762d9
PE
202292013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20230
ed27ed83 20231 [BZ #15968]
0748546f
PE
20232 Support TZ transition times < 00:00:00.
20233 This is needed for version-3 tz-format files; it supports time
20234 stamps past 2037 for America/Godthab (the only entry in the tz
20235 database for which this change is relevant).
20236 * manual/time.texi (TZ Variable): Document transition times
20237 from -167:59:59 through -00:00:01.
20238 * time/tzset.c (tz_rule): Time of day is now signed.
20239 (__tzset_parse_tz): Parse negative time of day.
20240
4480e934
PE
20241 Document TZ transition times >= 25:00:00.
20242 * manual/time.texi (TZ Variable): Document transition times from
20243 25:00:00 through 167:59:59. These are already supported, and this
20244 support will help with version-3 tz-format files.
20245
69947401
PE
20246 * manual/time.texi (TZ Variable): Modernize North America example
20247 to reflect current (i.e., 2007-and-later) daylight saving rules.
20248
674762d9
PE
20249 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20250
7011c262
JM
202512013-12-17 Joseph Myers <joseph@codesourcery.com>
20252
2fc6557e
JM
20253 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20254 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20255 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20256 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20257 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20258 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20259 * sysdeps/unix/bsd/clock.c: Likewise.
20260 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20261 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20262 * sysdeps/unix/bsd/init-posix.c: Likewise.
20263 * sysdeps/unix/bsd/poll.c: Likewise.
20264 * sysdeps/unix/bsd/ptsname.c: Likewise.
20265 * sysdeps/unix/bsd/seekdir.c: Likewise.
20266 * sysdeps/unix/bsd/setegid.c: Likewise.
20267 * sysdeps/unix/bsd/seteuid.c: Likewise.
20268 * sysdeps/unix/bsd/setgid.c: Likewise.
20269 * sysdeps/unix/bsd/setrgid.c: Likewise.
20270 * sysdeps/unix/bsd/setruid.c: Likewise.
20271 * sysdeps/unix/bsd/setsid.c: Likewise.
20272 * sysdeps/unix/bsd/setuid.c: Likewise.
20273 * sysdeps/unix/bsd/sigaction.c: Likewise.
20274 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20275 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20276 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20277 * sysdeps/unix/bsd/telldir.c: Likewise.
20278 * sysdeps/unix/bsd/times.c: Likewise.
20279 * sysdeps/unix/bsd/usleep.c: Likewise.
20280
029c7b25
JM
20281 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20282 ($(objpfx)libbsd-compat.a): Remove rule.
20283
7011c262
JM
20284 * include/features.h (__FAVOR_BSD): Do not define.
20285 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20286 features conflicting with POSIX.
20287 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20288 (_BSD_SOURCE): Remove description of not being a subset of other
20289 feature test macros.
20290 * manual/job.texi (getpgrp): Do not document BSD version.
20291 (getpgid): Do not document by reference to BSD getpgrp.
20292 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20293 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20294 * signal/signal.h [__FAVOR_BSD]: Likewise.
20295 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20296 instead of making contents conditional on [__FAVOR_BSD].
20297 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20298
affb6f78
AZ
202992013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20300
20301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20302
c88769dd
JM
203032013-12-17 Joseph Myers <joseph@codesourcery.com>
20304
6432a540
JM
20305 [BZ #16314]
20306 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20307 values below 2**-450, not 2**-500.
20308 * math/auto-libm-test-in: Don't allow spurious underflow from
20309 hypot.
20310 * math/auto-libm-test-out: Regenerated.
20311
c88769dd
JM
20312 [BZ #16316]
20313 [BZ #16330]
20314 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20315 values of ha and hb and sort them after adjusting subnormal
20316 arguments.
20317 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20318 Likewise.
20319 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20320 values of ea and eb and sort them after adjusting subnormal
20321 arguments.
20322 * math/auto-libm-test-in: Do not expect some hypot tests of
20323 subnormals to fail. Add more hypot tests.
20324 * math/auto-libm-test-out: Regenerated.
20325
29618f6b
KK
203262013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20327
20328 [BZ #13304]
20329 * sysdeps/sh/s_fma.c: New file.
20330 * sysdeps/sh/s_fmaf.c: New file.
20331 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20332 version.
20333 * sysdeps/sh/Implies: Add sh/soft-fp.
20334
eacfdfbf
RM
203352013-12-16 Roland McGrath <roland@hack.frob.com>
20336
20337 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20338 level of indirection to members `objname', `errstring', `malloced'.
20339 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20340 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20341 it as the __longjmp argument (just pass 1 instead).
20342 (_dl_catch_error): Initialize C with argument pointers and address of
20343 volatile local ERRCODE rather than copying values out of C at return.
20344
ff362e5b
JM
203452013-12-16 Joseph Myers <joseph@codesourcery.com>
20346
20347 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20348 * math/auto-libm-test-out: Regenerated.
20349 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20350 (hypot_test_data): Likewise.
20351 (pow_test_data): Likewise.
20352 (pow_tonearest_test_data): Likewise.
20353 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20354 mpfr_ff_f.
20355 (func_calc_desc): Add mpfr_ff_f union field.
20356 (FUNC_mpfr_ff_f): New macro.
20357 (test_functions): Add atan2, hypot and pow.
20358 (special_fill_min): New function.
20359 (special_fill_minus_min): Likewise.
20360 (special_fill_min_subnorm): Likewise.
20361 (special_fill_minus_min_subnorm): Likewise.
20362 (special_real_inputs): Add min, -min, min_subnorm and
20363 -min_subnorm.
20364 (calc_generic_results): Handle mpfr_ff_f.
20365 * sysdeps/i386/fpu/libm-test-ulps: Update.
20366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20367
5764c27f
WN
203682013-12-16 Will Newton <will.newton@linaro.org>
20369
20370 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20371 (Aligned Memory Blocks): Add documentation for aligned_alloc
20372 and suggest it as an alternative to posix_memalign.
20373 (Hooks for Malloc): Document __memalign_hook is also called
20374 for aligned_alloc. (Summary of Malloc): Add summary for
20375 aligned alloc. Document __memalign_hook is also called
20376 for aligned_alloc.
20377
0a096e44
WN
203782013-12-16 Will Newton <will.newton@linaro.org>
20379
20380 * manual/memory.texi (Malloc Examples): Clarify default
20381 alignment documentation. Suggest posix_memalign rather
20382 than memalign or valloc.
20383 (Aligned Memory Blocks): Remove suggestion to use memalign
20384 or valloc. Remove obsolete comment about BSD.
20385 Document memalign errno values and mark the function obsolete.
20386 Document posix_memalign returned error codes. Mark valloc
20387 as obsolete. (Hooks for Malloc): __memalign_hook is also
20388 called for posix_memalign and valloc.
20389 (Summary of Malloc): Add posix_memalign to function summary.
20390 __memalign_hook is also called for posix_memalign and valloc.
20391
8d561986
SP
203922013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20393
20394 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20395 TAYLOR_SIN.
20396 (__sin): Adjust.
20397 (__cos): Likewise.
20398 (sloww): Use mynumber union. Expand ternary operator into
20399 if-else statements.
20400 (cslow): use mynumber union.
20401
73616a74
AM
204022013-12-16 Allan McRae <allan@archlinux.org>
20403
9e8ac24b
AM
20404 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20405 * configure: Regenerated.
20406
6f8e37eb
AM
20407 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20408
8894bad3
AM
20409 [BZ #14120]
20410 * configure.ac: Added --enable-maintainer-mode. Check for
20411 autoconf when enabled.
20412 * configure: Regenerated.
20413
73616a74
AM
20414 * nscd/nscd.service: New file.
20415 * nscd/nscd.tmpfiles: New file.
20416
584b18eb
OB
204172013-12-14 Ondřej Bílka <neleai@seznam.cz>
20418
20419 [BZ #12100]
20420 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20421 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20422 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20423 (strstr): Add __strstr_sse2_unaligned ifunc.
20424 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20425 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20426 (strcasestr): Remove __strcasestr_sse42 ifunc.
20427 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20428 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20429 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20430
8a5c7897
KK
204312013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20432
20433 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20434 * sysdeps/sh/bits/fenv.h: ... here.
20435 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20436
fd712ef3
AZ
204372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20438
20439 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20440
42fcb46c
AZ
20441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20442 hypotf multiarch implementations.
20443 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20444 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20445 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20446 multiarch hypot for PPC64.
20447 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20448 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20449 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20450 multiarch hypotf for PPC64.
20451
83efded4
AZ
20452 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20453 modff multiarch implementations.
20454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20457 multiarch modf for PPC64.
20458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20461 multiarch modff for PPC64.
20462
43e246d2
AZ
20463 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20464 and logl multiarch implementations.
20465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20468 multiarch logb for PPC64.
20469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20472 multiarch logb for PPC64.
20473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20476 multiarch logb for PPC64.
20477
8fdad123
AZ
20478 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20479 isinff multiarch implementation.
20480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20481 file.
20482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20484 multiarch isinf for PPC64.
20485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20486 file.
20487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20488 multiarch isinff for PPC64.
20489
1481d706
AZ
20490 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20491 finitef multiarch implementation.
20492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20493 file.
20494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20496 multiarch finite for PPC64.
20497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20498 file.
20499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20500 multiarch finitef for PPC64.
20501
5ccd5fc8
AZ
20502 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20503 lrint multiarch implementation.
20504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20505 file.
20506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20508 multiarch llrint for PPC64.
20509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20510 multiarch lrint for PPC64.
20511
2568f3fa
AZ
20512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20513 copysignf multiarch implementation.
20514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20515 file.
20516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20517 file.
20518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20519 multiarch copysign for PPC64.
20520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20521 multiarch copysignf for PPC64.
20522
1cb341fd
AZ
20523 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20524 multiarch implementation.
20525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20526 file.
20527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20528 file.
20529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20530 file.
20531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20532 file.
20533 multiarch llround for PPC64.
20534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20535 multiarch trunc for PPC64.
20536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20537 multiarch truncf for PPC64.
20538
59a3e194
AZ
20539 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20540 multiarch implementation.
20541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20542 file.
20543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20544 file.
20545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20546 file.
20547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20548 file.
20549 multiarch llround for PPC64.
20550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20551 multiarch round for PPC64.
20552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20553 multiarch roundf for PPC64.
20554
357fd3b4
AZ
20555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20556 multiarch implementation.
20557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20558 file.
20559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20560 file.
20561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20562 file.
20563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20564 file.
20565 multiarch llround for PPC64.
20566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20567 multiarch floor for PPC64.
20568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20569 multiarch floorf for PPC64.
20570
96770f12
AZ
20571 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20572 multiarch implementation.
20573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20574 file.
20575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20576 file.
20577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20578 file.
20579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20580 file.
20581 multiarch llround for PPC64.
20582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20583 multiarch ceil for PPC64.
20584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20585 multiarch ceilf for PPC64.
20586
c3627f6e
AZ
20587 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20588 multiarch implementation.
20589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20590 file.
20591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20592 file.
20593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20594 file.
20595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20596 multiarch llround for PPC64.
20597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20598 multiarch lround for PPC64.
20599
b2284ad7
AZ
20600 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20601 multiarch implementation.
20602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20605 file.
20606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20609 multiarch isnan for PPC64.
20610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20611 multiarch isnanf for PPC64.
20612
69bbc63d
AZ
20613 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20614 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20615 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20616 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20617 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20619
c24517c9
AZ
20620 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20621 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20622 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20623 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20624
a52374e8
AZ
20625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20626 multiarch implementations.
20627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20628 (__libc_ifunc_impl_list): Likewise.
20629 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20630 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20631 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20632 multiarch stpcpy for PPC64.
20633
7f5ec113
AZ
20634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20635 multiarch implementations.
20636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20637 (__libc_ifunc_impl_list): Likewise.
20638 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20639 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20640 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20641 multiarch strcpy for PPC64.
20642
e28bcd42
AZ
20643 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20644 redefine function name.
20645 (_wordcopy_fwd_dest_aligned): Likewise.
20646 (_wordcopy_bwd_aligned): Likewise.
20647 (_wordcopy_bwd_dest_aligned): Likewise.
20648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20649 multiarch implementations.
20650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20651 (__libc_ifunc_impl_list): Likewise.
20652 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20653 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20654 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20655 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20656 multiarch wcscpy for PPC64.
20657
92cacfce
AZ
20658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20659 multiarch implementations.
20660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20661 (__libc_ifunc_impl_list): Likewise.
20662 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20663 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20664 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20665 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20666 multiarch wcscpy for PPC64.
20667
7b714620
AZ
20668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20669 multiarch implementations.
20670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20671 (__libc_ifunc_impl_list): Likewise.
20672 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20673 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20674 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20675 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20676 multiarch wcsrchr for PPC64.
20677
16fd2ae3
AZ
20678 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20679 multiarch implementations.
20680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20681 (__libc_ifunc_impl_list): Likewise.
20682 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20683 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20684 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20685 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20686 multiarch wcschr for PPC64.
20687
9ee2969b
AZ
20688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20689 multiarch implementations.
20690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20691 (__libc_ifunc_impl_list): Likewise.
20692 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20693 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20694 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20695 multiarch strchrnul for PPC64.
20696
372dc060
AZ
20697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20698 implementations.
20699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20700 (__libc_ifunc_impl_list): Likewise.
20701 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20702 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20703 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20704 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20705 strchr for PPC64.
20706
24c2c3b9
AZ
20707 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20708 implementations.
20709 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20710 (__libc_ifunc_impl_list): Likewise.
20711 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20712 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20713 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20714 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20715 strncmp for PPC64.
20716
1c92d9a0
AZ
20717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20718 multiarch implementations.
20719 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20720 (__libc_ifunc_impl_list): Likewise.
20721 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20722 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20723 strncasecmp for PPC64.
20724 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20725 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20726 multiarch strncasecmp_l for PPC64.
20727
17de3ee3
AZ
20728 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20729 multiarch implementations.
20730 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20731 (__libc_ifunc_impl_list): Likewise.
20732 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20733 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20734 multiarch strcasecmp for PPC64.
20735 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20736 file.
20737 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20738 multiarch strcasecmp_l for PPC64.
20739
62982bf9
AZ
20740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20741 implementations.
20742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20743 (__libc_ifunc_impl_list): Likewise.
20744 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20745 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20746 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20747 strnlen for PPC64.
20748
a65f4904
AZ
20749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20750 implementations.
20751 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20752 (__libc_ifunc_impl_list): Likewise.
20753 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20754 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20755 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20756 strlen for PPC64.
20757
1fd005ad
AZ
20758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20759 implementations.
20760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20761 (__libc_ifunc_impl_list): Likewise.
20762 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20763 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20764 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20765 rawmemrchr for PPC64.
20766
cd05ba91
AZ
20767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20768 implementation.
20769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20770 (__libc_ifunc_impl_list): Likewise.
20771 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20772 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20773 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20774 memrchr for PPC64.
20775
870f8676
AZ
20776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20777 implementation.
20778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20779 (__libc_ifunc_impl_list): Likewise.
20780 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20781 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20782 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20783 memchr for PPC64.
20784
f00be62b
AZ
20785 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20786 implementation.
20787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20788 (__libc_ifunc_impl_list): Likewise.
20789 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20790 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20791 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20792 mempcpy for PPC64.
20793
8a29a3d0
AZ
20794 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20795 avoid cretion of __bzero symbol.
20796 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20797 Likewise.
20798 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20799 Likewise.
20800 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20801 Likewise.
20802 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20803 multiarch implementations.
20804 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20805 (__libc_ifunc_impl_list): Likewise.
20806 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20807 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20808 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20809 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20810 bzero for PPC32.
20811 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20812 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20813 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20814 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20815 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20816 memset for PPC64.
20817 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20818
07253fcf
AZ
20819 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20820 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20821 implementations.
20822 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20823 (__libc_ifunc_impl_list): Likewise.
20824 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20825 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20826 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20827 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20828 memcmp for PPC64.
20829
b5beafbc
AZ
20830 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20831 multiarch for POWER/PPC64.
20832 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20833 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20834 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20835 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20836 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20837 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20838 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20839 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20840 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20841 memcpy for PPC64.
20842
5e6a4d4b
AZ
20843 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20844 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20845 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20846 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20847 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20848 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20849 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20850 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20851 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20852 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20853 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20854 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20855 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20856 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20857 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20865
ddfab6dc
KK
208662013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20867
20868 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20869
19b5525e
SP
208702013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20871
20872 * benchtests/Makefile (bench): Add exp2 and log2.
20873 (LDLIBS-bench-exp2): Add -lm.
20874 (LDLIBS-bench-log2): Likewise.
20875 * benchtests/exp2-inputs: New inputs file.
20876 * benchtests/log2-inputs: New inputs file.
20877 * benchtests/log-inputs: Add new inputs.
20878 * benchtests/tan-inputs: Likewise.
20879
196f7f5d
SP
208802013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20881
7a74607f
SP
20882 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20883 definition...
57f41c40
AS
20884 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20885 (csloww2): ... from here.
7a74607f 20886
196f7f5d
SP
20887 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20888 instead of structures.
20889 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20890 (POLYNOMIAL): Likewise.
20891 (TAYLOR_SLOW): Likewise.
20892 (__sin): Likewise.
20893 (__cos): Likewise.
20894 (slow1): Likewise.
20895 (slow2): Likewise.
20896 (sloww): Likewise.
20897 (sloww1); Likewise.
20898 (sloww2): Likewise.
20899 (bsloww1): Likewise.
20900 (bsloww2): Likewise.
20901 (cslow2): Likewise.
20902 (csloww): Likewise.
20903 (csloww1): Likewise.
20904 (csloww2): Likewise.
20905
0dfa665c
OB
209062013-12-10 Ondřej Bílka <neleai@seznam.cz>
20907
20908 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
20909 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20910 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
20911 * malloc/hooks.c (realloc_check): Likewise.
20912
5782a80f
OB
20913 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20914 * malloc/arena.c: Remove PER_THREAD conditional.
20915 [!PER_THREAD]: Remove code.
20916 (ptmalloc_unlock_all2): Likewise.
20917 (ptmalloc_init): Likewise.
20918 (_int_new_arena): Likewise.
20919 (arena_get2): Likewise.
20920 * malloc/hooks.c (__malloc_get_state): Likewise.
20921 (__malloc_set_state): Likewise.
20922 * malloc/malloc.c: Likewise.
20923 (struct malloc_state): Likewise.
20924 (struct malloc_par): Likewise.
20925 (__libc_realloc): Likewise.
20926 (__libc_mallopt): Likewise.
20927
aeb95445
AZ
209282013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20929
20930 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20931
e8349efd
OB
209322013-12-09 Ondřej Bílka <neleai@seznam.cz>
20933
20934 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20935 macro to a function. Check for zero perturb_byte.
20936 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20937
f3eeb3fc 20938 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
20939 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20940 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
20941 force_reg by atomic_forced_read.
20942 * malloc/arena.c (ptmalloc_init): Likewise.
20943 * malloc/hooks.c (top_check): Likewise.
20944
be2f9009
AZ
209452013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20946
20947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20948
e7b914bd
MT
209492013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20950
20951 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20952
9f0be4f8
JM
209532013-12-08 Joseph Myers <joseph@codesourcery.com>
20954
20955 * math/auto-libm-test-in: Add tests of lgamma.
20956 * math/auto-libm-test-out: Regenerated.
20957 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20958 (M_LOG_2_SQRT_PIl): Likewise.
20959 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20960 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20961 mpfr_f_f1.
20962 (func_calc_desc): Add mpfr_f_f1 union field.
20963 (ARGS1): New macro.
20964 (ARGS2): Likewise.
20965 (ARGS3): Likewise.
20966 (ARGS4): Likewise.
20967 (RET1): Likewise.
20968 (RET2): Likewise.
20969 (CALC): Likewise.
20970 (FUNC): Likewise.
20971 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20972 (test_functions): Add lgamma.
20973 (calc_generic_results): Handle mpfr_f_f1.
20974 * sysdeps/i386/fpu/libm-test-ulps: Update.
20975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20976
24eeafdb
AZ
209772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20978
20979 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20980 __mpn_add_n for PowerPC64/POWER7.
20981 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20982 __mpn_sub_n for PowerPC64/POWER7.
20983
4a2c0fd4
AZ
20984 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20985 __mpn_addmul_1 for PowerPC64.
20986 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20987 __mpn_submul_1 for PowerPC64.
20988 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20989 for PowerPC64.
20990 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20991 for PowerPC64.
20992
4b5b548c
FS
209932013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20994
20995 [BZ #15089]
20996 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20997
0a3ac0aa
AZ
209982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20999
21000 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21001
ccdc8438
AZ
21002 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21003 add multiarch folders.
21004 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21005 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21006 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21007 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21008 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21009 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21010 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21011 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21012 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21013 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21014 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21021
2e973d99
AZ
21022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21023 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21025 New file.
21026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21027 New file.
21028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21029 multiarch __ieee754_hypot for PowerPC32.
21030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21031 New file.
21032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21033 New file.
21034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21035 multiarch __ieee754_hypotf for PowerPC32.
21036
2d9470b2
AZ
21037 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21038 long_double_symbol only if __logbl is defined.
21039 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21040 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21041 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21042 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21043 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21044 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21045 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21046 path for implementation.
21047 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21048 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21050 logb, and logbl multiarch implementations for PowerPC32.
21051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21052 file.
21053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21054 file.
21055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21056 multiarch logb for PowerPC32.
21057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21058 file.
21059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21060 file.
21061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21062 multiarch logbf for PowerPC32.
21063 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21065 file.
21066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21067 multiarch logbl implementation for PowerPC32.
21068
5212ffce
AZ
21069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21070 and modff multiarch implementations.
21071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21072 New file.
21073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21074 New file.
21075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21076 multiarch modf for PowerPC32.
21077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21078 New file.
21079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21080 New file.
21081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21082 multiarch modff for PowerPC32.
21083
79dccf31
AZ
21084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21085 and lrintf multiarch implementations.
21086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21087 New file.
21088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21089 New file.
21090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21091 multiarch lrint for PowerPC32.
21092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21093 file: multiarch lrintf for PowerPC32.
21094
deb66480
AZ
21095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21096 and lroundf multiarch implementations.
21097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21098 New file.
21099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21100 New file.
21101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21102 New file.
21103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21104 multiarch lround for PowerPC32.
21105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21106 file: multiarch lroundf for PowerPC32.
21107
264b036b
AZ
21108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21109 copysign and copysignf multiarch implementations.
21110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21111 New file.
21112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21113 New file.
21114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21115 file: multiarch copysign for PowerPC32.
21116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21117 file: multiarch copysignf for PowerPC32.
21118
d47db6c9
AZ
21119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21120 and truncf multiarch implementations.
21121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21122 New file.
21123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21124 file.
21125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21126 multiarch trunc for PowerPC32.
21127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21128 New file.
21129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21130 New file.
21131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21132 multiarch truncf for PowerPC32.
21133
ddb60b5a
AZ
21134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21135 and roundf multiarch implementations.
21136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21137 New file.
21138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21139 file.
21140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21141 multiarch round for PowerPC32.
21142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21143 New file.
21144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21145 New file.
21146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21147 multiarch roundf for PowerPC32.
21148
bedcf49b
AZ
21149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21150 and floorf multiarch implementations.
21151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21152 New file.
21153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21154 file.
21155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21156 multiarch floor for PowerPC32.
21157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21158 New file.
21159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21160 New file.
21161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21162 multiarch floorf for PowerPC32.
21163
35ae5b40
AZ
21164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21165 and ceilf multiarch implementations.
21166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21167 New file.
21168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21169 file.
21170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21171 multiarch ceil for PowerPC32.
21172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21173 New file.
21174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21175 file.
21176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21177 multiarch ceilf for PowerPC32.
21178
ae1a4cd9
AZ
21179 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21180 is defined.
21181 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21182 FINITEF is defined.
21183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21184 and finitef multiarch implementations.
21185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21186 New file.
21187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21188 file.
21189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21190 multiarch finite for PowerPC32.
21191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21192 New file.
21193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21194 file: multiarch finitef for PowerPC32.
21195
64fffd65
AZ
21196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21197 and isinff multiarch implementations.
21198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21199 file.
21200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21201 file.
21202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21203 multiarch isinf for PowerPC32.
21204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21205 New file.
21206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21207 multiarch isinff for PowerPC32.
21208
8e4e7ba2
AZ
21209 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21210 alias when __isnan is defined.
21211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21212 and isnanf multiarch implementations.
21213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21214 file.
21215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21216 file.
21217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21218 file.
21219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21220 file.
21221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21222 multiarch isnan for PowerPC32.
21223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21224 New file.
21225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21226 New file.
21227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21228 multiarch isnanf for PowerPC32.
21229
ddba588e
AZ
21230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21231 and sqrtf multiarch implementations.
21232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21233 file.
21234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21235 file.
21236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21237 multiarch sqrt for PowerPC32.
21238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21239 file.
21240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21241 file.
21242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21243 multiarch sqrtf for PowerPC32.
21244
0f96a2f0
AZ
21245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21246 and llroundf multiarch implementations.
21247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21248 New file.
21249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21250 New file.
21251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21252 New file.
21253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21254 file: multiarch llround for PowerPC32.
21255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21256 file: multiarch llroundf for PowerPC32.
21257
c9b5d79e
AZ
21258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21259 multiarch PowerPC32 fpu implementations.
21260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21261 New file.
21262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21263 New file.
21264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21265 multiarch llrint for PowerPC32.
21266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21267 New file.
21268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21269 New file.
21270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21271 file.
21272
9cbb3aab
AZ
21273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21274
ea5a72f8
AZ
21275 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21276 file.
21277 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21278 file.
21279 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21280 file.
21281 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21282 multiarch wordcopy for PPC32.
21283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21284 wordcopy objects.
21285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21286 (__libc_ifunc_impl_list): Likewise.
21287 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21288 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21289 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21290 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21291 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21292 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21293
93be09e7
AZ
21294 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21295 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21296 file.
21297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21298 file.
21299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21300 file.
21301 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21302 multiarch wcscpy for PPC32.
21303 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21304 multiarch objects.
21305 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21306 (__libc_ifunc_impl_list): Likewise.
21307 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21308 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21309 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21310 sysdeps/powerpc/power6/wcscpy.c.
21311
bb04e529
AZ
21312 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21313 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21314 file.
21315 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21316 file.
21317 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21318 file.
21319 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21320 multiarch wcsrchr for PPC32.
21321 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21322 multiarch objects.
21323 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21324 (__libc_ifunc_impl_list): Likewise.
21325 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21326 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21327 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21328 sysdeps/powerpc/power6/wcsrchr.c.
21329
05b5cd1c
AZ
21330 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21331 file.
21332 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21333 file.
21334 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21335 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21336 multiarch wcschr for PPc32.
21337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21338 multiarch objects.
21339 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21340 (__libc_ifunc_impl_list): Likewise.
21341 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21342 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21343 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21344 sysdeps/powerpc/power6/wcschr.c.
21345
ba964147
AZ
21346 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21347 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21348 file.
21349 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21350 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21351 file: multiarch strchr for PPC32.
21352 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21353 multiarch objects.
21354 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21355 (__libc_ifunc_impl_list): Likewise.
21356
31c81aaa
AZ
21357 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21358 name.
21359 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21360 file.
21361 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21362 file.
21363 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21364 multiarch strchrnul for PPC32.
21365 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21366 multiarch objects.
21367 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21368 (__libc_ifunc_impl_list): Likewise.
21369
0d0607d9
AZ
21370 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21371 file.
21372 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21373 multiarch strncasecmp for PPC32.
21374 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21375 file.
21376 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21377 multiarch strncasecmp_l for PPC32.
21378 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21379 strncasecmp multiarch objects.
21380 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21381 (__libc_ifunc_impl_list): Likewise.
21382
4dfd5c86
AZ
21383 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21384 file.
21385 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21386 multiarch strncasecmp for PPC32.
21387 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21388 New file.
21389 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21390 multiarch strcasecmp_l for PPC32.
21391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21392 multiarch objects.
21393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21394 (__libc_ifunc_impl_list): Likewise.
21395
a19e01a3
AZ
21396 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21397 file.
21398 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21399 file.
21400 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21401 multiarch strncmp for PPC32.
21402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21403 multiarch objects.
21404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21405 (__libc_ifunc_impl_list): Likewise.
21406
ae9cf7a2
AZ
21407 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21408 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21409 file.
21410 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21411 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21412 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21413 multiarch objects.
21414 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21415 (__libc_ifunc_impl_list): Likewise.
21416
3148bb7d
AZ
21417 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21418 file.
21419 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21420 file.
21421 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21423 multiarch objects.
21424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21425 (__libc_ifunc_impl_list): Likewise.
21426
7af8b946
AZ
21427 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21428 file.
21429 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21430 file.
21431 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21432 multiarch rawmemchr for PPC32.
21433 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21434 multiarch objects.
21435 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21436 (__libc_ifunc_impl_list): Likewise.
21437
03a6aa6a
AZ
21438 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21439 file.
21440 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21441 file.
21442 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21443 file: memrchr multiarch for PPC32.
21444 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21445 multiarch objects.
21446 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21447 (__libc_ifunc_impl_list): Likewise.
21448
1c62e6d9
AZ
21449 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21450 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21451 file.
21452 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21453 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21454 multiarch memchr for PPC32.
21455 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21456 multiarch objects.
21457 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21458 (__libc_ifunc_impl_list): Likewise.
21459
87da8bdb
AZ
21460 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21461 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21462 file.
21463 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21464 file.
21465 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21466 file: multiarch mempcpy for PPC32.
21467 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21468 multiarch objects.
21469 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21470 (__libc_ifunc_impl_list): Likewise.
21471
20ed4714
AZ
21472 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21473 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21474 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21475 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21476 multiarch bzero for PPC32.
21477 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21478 file.
21479 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21480 file.
21481 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21482 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21483 file: multiarch memset for PPC32.
21484 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21485 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21486 memset multiarch objects.
21487 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21488 (__libc_ifunc_impl_list): Likewise.
21489
ab3e3a46
AZ
21490 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21491 file.
21492 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21493 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21494 memcmp for PPC32.
21495 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21496 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21497 multiarch objects.
21498 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21499 (__libc_ifunc_impl_list): Likewise.
21500
930de6f0
AZ
21501 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21502 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21503 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21504 file.
21505 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21506 file.
21507 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21508 file.
21509 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21510 multiarch memcpy for PPC32.
21511 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21512 multiarch objects.
21513 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21514 (__libc_ifunc_impl_list): Likewise.
21515
4c628e00
AZ
21516 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21517 support multiarch for POWER/PPC32.
21518 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21519 Likewise.
21520 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21522 Implies file to make multiarch folder appers before the fpu and
21523 default folder for power4 configuration.
21524
f4479220
SP
215252013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21526
21527 * scripts/bench.pl: Append volatile keyword to type.
21528
8517800f
KK
215292013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21530
21531 * sysdeps/sh/sotruss-lib.c: New file.
21532 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21533
180138f1
AZ
215342013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21535
21536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21537
bbf37bdc
JM
215382013-12-05 Joseph Myers <joseph@codesourcery.com>
21539
e47cc4e0
JM
21540 [BZ #6810]
21541 * math/w_tgamma.c: Include <errno.h>.
21542 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21543 * math/w_tgammaf.c: Include <errno.h>.
21544 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21545 * math/w_tgammal.c: Include <errno.h>.
21546 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21547 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21548 underflow. Add more tgamma tests.
21549 * math/auto-libm-test-out: Regenerated.
21550 * sysdeps/i386/fpu/libm-test-ulps: Update.
21551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21552
bbf37bdc
JM
21553 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21554 sin, sinh, tan, tanh, tgamma, y0 and y1.
21555 * math/auto-libm-test-out: Regenerated.
21556 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21557 (TEST_COND_x86): Likewise.
21558 (M_E2l): Remove macro.
21559 (M_E3l): Likewise.
21560 (M_2_SQRT_PIl): Likewise.
21561 (M_SQRT_PIl): Likewise.
21562 (M_1_DIV_El): Likewise.
21563 (log_test_data): Use AUTO_TESTS_f_f.
21564 (log10_test_data): Likewise.
21565 (log1p_test_data): Likewise.
21566 (log2_test_data): Likewise.
21567 (sin_test_data): Likewise.
21568 (sin_tonearest_test_data): Likewise.
21569 (sin_towardzero_test_data): Likewise.
21570 (sin_downward_test_data): Likewise.
21571 (sin_upward_test_data): Likewise.
21572 (sinh_test_data): Likewise.
21573 (sinh_tonearest_test_data): Likewise.
21574 (sinh_towardzero_test_data): Likewise.
21575 (sinh_downward_test_data): Likewise.
21576 (sinh_upward_test_data): Likewise.
21577 (tan_test_data): Likewise.
21578 (tan_tonearest_test_data): Likewise.
21579 (tan_towardzero_test_data): Likewise.
21580 (tan_downward_test_data): Likewise.
21581 (tan_upward_test_data): Likewise.
21582 (tanh_test_data): Likewise.
21583 (tgamma_test_data): Likewise.
21584 (y0_test_data): Likewise.
21585 (y1_test_data): Likewise.
21586 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21587 (special_real_inputs): Add pi/4.
21588 * sysdeps/i386/fpu/libm-test-ulps: Update.
21589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21590
eb5ad6b9
AZ
215912013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21592
21593 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21594 "longjmp_target" static probes.
21595 (__longjmp): Rename to __longjmp_symbol.
21596 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21597 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21598 on which longjmp to generate.
21599 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21600 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21601 probe.
21602 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21603 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21604 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21605 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21606 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21607 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21609 __longjmp_symbol based on which __longjmp to generate.
21610 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21611 probe.
21612 (setjmp): Rename to setjmp_symbol.
21613 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21614 (_setjmp): Rename to _setjmp_symbol.
21615 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21616 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21617 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21618 which setjmp to generate.
21619 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21620 "longjmp_target" static probes.
21621
d136c6dc
SP
216222013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21623
9298ecba
SP
21624 * benchtests/README: Add note about output arguments.
21625 * benchtests/bench-sincos.c: Remove file.
21626 * benchtests/sincos-inputs: New file.
21627 * scripts/bench.pl: Identify output arguments and define
21628 static variables for them.
21629
232983e9
SP
21630 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21631
d136c6dc
SP
21632 [BZ #15941]
21633 * Makefile (INSTALL): Add install-plain.texi as the primary
21634 dependency.
21635 * manual/install-plain.texi: New file.
21636 * manual/install.texi: Include node directive only for
21637 non-plaintext output.
21638
699ff837
JM
216392013-12-04 Joseph Myers <joseph@codesourcery.com>
21640
ab07cea8
JM
21641 * stdlib/longlong.h: Update from GCC.
21642
699ff837
JM
21643 [BZ #6807]
21644 [BZ #15901]
21645 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21646 * math/w_j0f.c (y0f): Likewise.
21647 * math/w_j0l.c (__y0l): Likewise.
21648 * math/w_j1.c (y1): Likewise.
21649 * math/w_j1f.c (y1f): Likewise.
21650 * math/w_j1l.c (__y1l): Likewise
21651 * math/w_jn.c (yn): Likewise.
21652 * math/w_jnf.c (ynf): Likewise.
21653 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21654 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21655 value for Bessel function domain errors outside _SVID_ mode.
21656 Adjust sign of return value for yn (negative integer, 0).
21657 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21658 by zero in return for negative x and set sign appropriately for
21659 negative n.
21660 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21661 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21662 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21663 expectations in error cases.
21664 (y1_test_data): Likewise.
21665 (yn_test_data): Likewise.
21666 * sysdeps/i386/fpu/libm-test-ulps: Update.
21667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21668
5b118558
UW
216692013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21670
21671 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21672 "64" to "64-v1". Add "64-v2".
21673 (abi-64-options): Rename to ...
21674 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21675 (abi-64-condition): Rename to ...
21676 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21677 (abi-64-ld-soname): Rename to ...
21678 (abi-64-v1-ld-soname): ... this.
21679 (abi-64-v2-options): Define.
21680 (abi-64-v2-condition): Likewise.
21681 (abi-64-v2-ld-soname): Likewise.
21682 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21683 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21687
61cd8fe4
UW
216882013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21689 Alan Modra <amodra@gmail.com>
21690
21691 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21692 New versions for use with the ELFv2 ABI.
21693 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21694 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21695 declaration.
21696 (struct La_ppc64v2_retval): Likewise.
21697 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21698 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21699 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21700 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21701 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21702 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21703 Do not save or restore CR.
21704 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21705 (_dl_profile_resolve): Do no save or restore CR. Support extended
21706 return values for ELFv2 ABI. Fix location of FPR return registers.
21707 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21708 updated values for _CALL_ELF == 2.
21709 (La_regs, La_retval, int_retval): Likewise.
21710
8b8a692c
UW
217112013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21712
21713 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21714 (FRAME_MIN_SIZE_PARM): Likewise.
21715 (FRAME_BACKCHAIN): Likewise.
21716 (FRAME_CR_SAVE): Likewise.
21717 (FRAME_LR_SAVE): Likewise.
21718 (FRAME_TOC_SAVE): Likewise.
21719 (FRAME_PARM_SAVE): Likewise.
21720 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21721 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21722 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21723 (call_mcount_parm_offset): New macro.
21724 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21725 (PROF): Use symbolic stack frame offsets.
21726 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21727 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21728 Redefine in terms of FRAME_MIN_SIZE.
21729 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21730 (_dl_profile_resolve): Likewise. Update comment.
21731 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21732 symbols stack frame offsets.
21733 (__sigsetjmp): Likewise.
21734 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21735 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21736 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21737 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21738
21739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21740 (FRAME_BACKCHAIN): Remove.
21741 (FRAME_CR_SAVE): Likewise.
21742 (FRAME_LR_SAVE): Likewise.
21743 (FRAME_COMPILER_DW): Likewise.
21744 (FRAME_LINKER_DW): Likewise.
21745 (FRAME_TOC_SAVE): Likewise.
21746 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
21747 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21748 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21749 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
21750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21751 (CHECK_SP): Use symbolic stack frame offsets.
21752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21753 zone" instead of caller's parameter save area for temp storage.
21754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21755 Likewise. Also, use symbolic stack frame offsets.
21756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21757 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21758 our own stack frame instead of the caller's.
21759 (__socket): Use symbolic stack frame offsets.
21760
122b66de
UW
217612013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21762 Alan Modra <amodra@gmail.com>
21763
21764 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21765 Define.
57f41c40
AS
21766 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21767 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
21768 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21769 New function.
21770 (elf_machine_fixup_plt): Call it.
21771 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21772 reloc arguments.
21773 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
21774 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21775 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
21776 r2 before calling target.
21777
696caf1d
UW
217782013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21779 Alan Modra <amodra@gmail.com>
21780
21781 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21782 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21783 versions of macros to support ELFv2 ABI.
21784 (LOCALENTRY): New macro.
21785 (ENTRY, EALIGN): Use it.
21786 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21787 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21788 fall through into ENTRY entry point.
21789 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21790 Only define if _CALL_ELF != 2.
21791
21792 (elf_machine_matches_host): Verify ABI version matches.
21793 (RTLD_START): Use LOCALENTRY.
21794 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21795 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21796 (PLT_ENTRY_WORDS): New macro.
21797 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21798 (elf_machine_runtime_setup): Support ELFv2 ABI.
21799 (elf_machine_fixup_plt): Likewise.
21800 (elf_machine_plt_conflict): Likewise.
21801 (resolve_ifunc): Likewise.
21802 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21803 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21804 Likewise.
21805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21806 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21808 (makecontext): Support ELFv2 ABI.
21809 * elf/elf.h (EF_PPC64_ABI): Define.
21810
d31beafa
UW
218112013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21812
57f41c40
AS
21813 * sysdeps/powerpc/powerpc64/sysdep.h
21814 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21815 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21816 (ENTRY) [ASSEMBLER]: ... but instead here ...
21817 (EALIGN) [ASSEMBLER]: ... and here.
21818 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21819 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21820 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
21821 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21822 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
21823 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21824 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
21825 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21827 Use PPC64_LOAD_FUNCPTR.
21828
b525166b
UW
21829 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21830
7ec07d9a
AM
218312013-12-04 Alan Modra <amodra@gmail.com>
21832
21833 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21834 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21835 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21836 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21837
21838 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21839 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21840 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21841 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21842 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21843 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21844
5162e7dd
UW
218452013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21846
21847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21848 (__makecontext): Fix incorrect CFI when backtracing out of
21849 context created via makecontext.
21850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21851 (__setcontext): Fix incorrect CFI during switch to new context.
21852 (__novec_setcontext): Likewise.
21853
19e3372b
OB
218542013-12-04 Ondřej Bílka <neleai@seznam.cz>
21855
21856 [BZ #4772]
21857 * time/strptime_l.c (__strptime_internal): Allow modifiers
21858 in strptime.
21859 * time/tst-strptime.c (day_tests): Add testcase.
21860
ecaf142d
SP
218612013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21862
21863 * scripts/bench.pl: Skip over blank lines.
21864
fbf964ae
PE
218652013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21866
21867 [BZ #926]
21868 * manual/time.texi (Calendar Time): Clarify what timezone functions
21869 use.
21870
fa60a674
AZ
218712013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21872
21873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21874
d674f0ef
OB
218752013-12-04 Ondřej Bílka <neleai@seznam.cz>
21876
21877 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21878 implementation.
21879 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21880 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21881 * debug/memset_chk.c (__memset_chk): Likewise.
21882 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21883 * debug/strncpy_chk.c: Likewise.
21884
17dea188
JM
218852013-12-03 Joseph Myers <joseph@codesourcery.com>
21886
749008ff
JM
21887 [BZ #15268]
21888 [BZ #15425]
21889 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21890 (__ieee754_exp): For possibly underflowing results, check size of
21891 result and force underflow exception if required.
21892 * math/auto-libm-test-in: Add more tests of exp.
21893 * math/auto-libm-test-out: Regenerated.
21894 * sysdeps/i386/fpu/libm-test-ulps: Update.
21895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21896
17dea188
JM
21897 [BZ #16283]
21898 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21899 * math/w_exp2f.c (__exp2f): Likewise.
21900 * math/w_exp2l.c (__exp2l): Likewise.
21901 * math/auto-libm-test-in: Do not allow missing errno on exp2
21902 underflow.
21903 * math/auto-libm-test-out: Regenerated.
21904
b20de2c3
OB
219052013-12-03 Ondřej Bílka <neleai@seznam.cz>
21906
21907 [BZ #16274]
21908 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21909 handle filename validation.
21910 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21911 (do_open): Delete.
21912
d8e2dbe3
JM
219132013-12-03 Joseph Myers <joseph@codesourcery.com>
21914
34e16df5
JM
21915 [BZ #6786]
21916 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21917 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21918 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21919 <float.h>.
21920 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21921 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21922 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21923 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21924 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21925 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21926 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21927 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21928 Add more erfc tests.
21929 * math/auto-libm-test-out: Regenerated.
21930 * sysdeps/i386/fpu/libm-test-ulps: Update.
21931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21932
d8e2dbe3
JM
21933 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21934 exp2, expm1, j0 and j1.
21935 * math/auto-libm-test-out: Regenerated.
21936 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21937 (erfc_test_data): Likewise.
21938 (exp_test_data): Likewise.
21939 (exp_tonearest_test_data): Likewise.
21940 (exp_towardzero_test_data): Likewise.
21941 (exp_downward_test_data): Likewise.
21942 (exp_upward_test_data): Likewise.
21943 (exp10_test_data): Likewise.
21944 (exp2_test_data): Likewise.
21945 (expm1_test_data): Likewise.
21946 (j0_test_data): Likewise.
21947 (j1_test_data): Likewise.
21948 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21949 (input_flag_type): Add flag_xfail_rounding.
21950 (input_flags): Add xfail-rounding.
21951 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21952 (output_for_one_input_case): Handle flag_xfail_rounding.
21953 * sysdeps/i386/fpu/libm-test-ulps: Update.
21954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21955
18d14251
AJ
219562013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21957
3d2e6075 21958 [BZ #16289]
18d14251
AJ
21959 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21960 division by 0.
21961
520d437b
SP
219622013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21963
21964 [BZ #16195]
21965 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21966 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21967 (STAP_PROBE0): New macro.
21968 (STAP_PROBE1): Likewise.
21969 (STAP_PROBE2): Likewise.
21970 (STAP_PROBE3): Likewise.
21971 (STAP_PROBE4): Likewise.
21972
416e0145
OB
219732013-12-02 Ondřej Bílka <neleai@seznam.cz>
21974
21975 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21976
9d17796a
SE
219772013-12-02 Steve Ellcey <sellcey@mips.com>
21978
21979 * benchtests/Makefile (bench): Add sqrt.
21980 (LDLIBS-bench-sqrt): New.
21981 * benchtests/sqrt-input: New.
21982
f524d6a8
PS
219832013-12-02 Pavel Simerda <psimerda@redhat.com>
21984
639a0ef8
PS
21985 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21986 (GAIH_EAI): Likewise.
21987 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21988 (gaih_inet): Likewise.
21989 (getaddrinfo): Don't use GAIH_EAI.
21990
f524d6a8
PS
21991 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21992 (struct gaih): Remove definition.
21993
df3aedaf
SP
219942013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21995
21996 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21997 Use HERRNOP directly.
21998
1ab19dec
AZ
219992013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22000
b42ad38d 22001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 22002
176b0c79
JM
220032013-11-30 Joseph Myers <joseph@codesourcery.com>
22004
22005 * math/gen-auto-libm-tests.c (test_functions): Add more
22006 single-argument functions.
22007 (special_fill_pi_2): New function.
22008 (special_fill_minus_pi_2): Likewise.
22009 (special_fill_pi_6): Likewise.
22010 (special_fill_minus_pi_6): Likewise.
22011 (special_fill_pi_3): Likewise.
22012 (special_fill_2pi_3): Likewise.
22013 (special_fill_e): Likewise.
22014 (special_fill_1_e): Likewise.
22015 (special_fill_e_minus_1): Likewise.
22016 (special_real_inputs): Add more special inputs.
22017 (output_for_one_input_case): Do not require ERANGE on underflow to
22018 zero if round-to-nearest result does not underflow to zero, unless
22019 exact results required.
22020 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22021 atan, atanh, cbrt, cos and cosh.
22022 * math/auto-libm-test-out: Regenerated.
22023 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22024 (acos_tonearest_test_data): Likewise.
22025 (acos_towardzero_test_data): Likewise.
22026 (acos_downward_test_data): Likewise.
22027 (acos_upward_test_data): Likewise.
22028 (acosh_test_data): Likewise.
22029 (asin_test_data): Likewise.
22030 (asin_tonearest_test_data): Likewise.
22031 (asin_towardzero_test_data): Likewise.
22032 (asin_upward_test_data): Likewise.
22033 (asinh_test_data): Likewise.
22034 (atan_test_data): Likewise.
22035 (atanh_test_data): Likewise.
22036 (cbrt_test_data): Likewise.
22037 (cos_test_data): Likewise.
22038 (cos_tonearest_test_data): Likewise.
22039 (cos_towardzero_test_data): Likewise.
22040 (cos_downward_test_data): Likewise.
22041 (cos_upward_test_data): Likewise.
22042 (cosh_test_data): Likewise.
22043 (cosh_tonearest_test_data): Likewise.
22044 (cosh_towardzero_test_data): Likewise.
22045 (cosh_downward_test_data): Likewise.
22046 (cosh_upward_test_data): Likewise.
22047 * sysdeps/i386/fpu/libm-test-ulps: Update.
22048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22049
ffb536d0
JM
220502013-11-29 Joseph Myers <joseph@codesourcery.com>
22051
2a77a467
JM
22052 [BZ #6787]
22053 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22054 * math/w_exp10f.c (__exp10f): Likewise.
22055 * math/w_exp10l.c (__exp10l): Likewise.
22056 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22057 errno settings in existing tests.
22058
ea3bc4e8
JM
22059 [BZ #14032]
22060 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22061 precision control set to double precision.
22062 * sysdeps/i386/fpu/w_sqrt.c: New file.
22063 * math/auto-libm-test-in: Add more tests.
22064 * math/auto-libm-test-out: Update.
22065
0712c9d8
JM
22066 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22067 (sqrt_test_tonearest): New function.
22068 (sqrt_towardzero_test_data): New variable.
22069 (sqrt_test_towardzero): New function.
22070 (sqrt_downward_test_data): New variable.
22071 (sqrt_test_downward): New function.
22072 (sqrt_upward_test_data): New variable.
22073 (sqrt_test_upward): New function.
22074 (main): Call the new functions.
22075
ffb536d0
JM
22076 * math/gen-auto-libm-tests.c: New file.
22077 * math/auto-libm-test-in: Likewise.
22078 * math/auto-libm-test-out: New generated file.
22079 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22080 variables.
22081 (%beautify): Add generated representations of zero.
22082 (top level): Set $auto_input and call parse_auto_input.
22083 (beautify): Remove trailing "f" from hex float constants.
22084 (parse_args): Handle XFAIL_TEST.
22085 (convert_condition): New function.
22086 (or_value): Likewise.
22087 (or_cond_value): Likewise.
22088 (generate_testfile): Handle AUTO_TESTS_* lines.
22089 (parse_auto_input): New function.
22090 * math/libm-test.inc (XFAIL_TEST): New macro.
22091 (ERRNO_UNCHANGED): Update value.
22092 (ERRNO_EDOM): Likewise.
22093 (ERRNO_ERANGE): Likewise.
22094 (IGNORE_RESULT): Likewise.
22095 (TEST_COND_flt_32): New macro.
22096 (TEST_COND_dbl_64): Likewise.
22097 (TEST_COND_ldbl_96_intel): Likewise.
22098 (TEST_COND_ldbl_96_m68k): Likewise.
22099 (TEST_COND_ldbl_128): Likewise.
22100 (TEST_COND_ldbl_128ibm): Likewise.
22101 (TEST_COND_long32): Likewise.
22102 (TEST_COND_long64): Likewise.
22103 (TEST_COND_before_rounding): Likewise.
22104 (TEST_COND_after_rounding): Likewise.
22105 (enable_test): Handle XFAIL_TEST flag.
22106 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22107 with finite results.
22108 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22109 auto-libm-test-out.
22110
acd98a8e
AK
221112013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22112 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22113
22114 [BZ #16214]
22115 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22116 __tls_get_addr_internal instead of __tls_get_offset in order to
22117 avoid GOT pointer dependency. Make rtld export
22118 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22119 __tls_get_addr since we are a __tls_get_offset platform.
22120 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22121 GOT pointer being set up before.
22122 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22123
3c1c46a6
JM
221242013-11-28 Joseph Myers <joseph@codesourcery.com>
22125
7475aef5
JM
22126 * manual/math.texi (Errors in Math Functions): Document accuracy
22127 goals.
22128
8bca7cd8
JM
22129 [BZ #15004]
22130 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22131 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22132 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22133 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22134 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22135 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22136 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22137 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22138 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22139 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22140 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22141 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22142 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22143 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22144 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22145 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22146
91a1f3fe
JM
22147 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22148 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22149 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22150 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22151 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22152 Likewise.
22153 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22154 Likewise.
22155 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22156 Likewise.
22157 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22158 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22159 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22160 atomic-feupdateenv and flt-rounds.
22161 * sysdeps/powerpc/nofpu/Versions (libc): Add
22162 __atomic_feholdexcept, __atomic_feclearexcept,
22163 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22164 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22165 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22166 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22167 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22168 here.
22169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22170 Update.
22171
c5df7609
JM
22172 * manual/arith.texi (FP Exceptions): Document that exceptions may
22173 not be raised when matherr is used.
22174 (Math Error Reporting): Document overflow in directed rounding
22175 modes. Document that errno may not be set when finite values are
22176 returned on overflow. Document intent to set errno on underflow
22177 only for underflow to zero.
22178
3c1c46a6
JM
22179 [BZ #16271]
22180 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22181 round-to-nearest then adjust result for other rounding modes.
22182 * include/fenv.h (fegetround): Use libm_hidden_proto.
22183 * math/fegetround.c (fegetround): Use libm_hidden_def.
22184 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22185 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22186 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22187 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22188 Likewise.
22189 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22190 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22191 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22192 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22193
5a4c6d53
SP
221942013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22195
22196 [BZ #16077]
22197 * nss/Versions (libnss_files): Add
22198 _nss_files_gethostbyname3_r.
22199 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22200 New function.
22201 (HOST_DB_LOOKUP): Remove macro.
22202 (_nss_files_gethostbyname_r): Implement function without the
22203 HOST_DB_LOOKUP macro.
22204 (_nss_files_gethostbyname2_r): Likewise.
22205
897b98ba
OB
222062013-11-28 Ondřej Bílka <neleai@seznam.cz>
22207
22208 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22209
6f476861
UB
222102013-11-26 Uros Bizjak <ubizjak@gmail.com>
22211
22212 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22213 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22214 warning.
22215
bd12ab55
AZ
222162013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22217
22218 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22219 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22220 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22221 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22222 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22223 __fe_nomask_env_priv and attribute_hidden.
22224 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22225 (libc_feupdateenv_test_ppc): Likewise.
22226 (libc_feresetround_ppc): Likewise.
22227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22228 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22229 compat_symbol macro.
22230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22231 (__fe_nomask_env): Likewise.
22232 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22233
52bb6543
OB
222342013-11-26 Ondřej Bílka <neleai@seznam.cz>
22235
22236 * string/Makefile: Remove ifunc tests.
22237 * string/test-string.h: Define TEST_IFUNC.
22238 * string/test-bcopy-ifunc.c: Remove.
22239 * string/test-bzero-ifunc.c: Likewise.
22240 * string/test-memccpy-ifunc.c: Likewise.
22241 * string/test-memchr-ifunc.c: Likewise.
22242 * string/test-memcmp-ifunc.c: Likewise.
22243 * string/test-memcpy-ifunc.c: Likewise.
22244 * string/test-memmem-ifunc.c: Likewise.
22245 * string/test-memmove-ifunc.c: Likewise.
22246 * string/test-mempcpy-ifunc.c: Likewise.
22247 * string/test-memrchr-ifunc.c: Likewise.
22248 * string/test-memset-ifunc.c: Likewise.
22249 * string/test-rawmemchr-ifunc.c: Likewise.
22250 * string/test-stpcpy-ifunc.c: Likewise.
22251 * string/test-stpncpy-ifunc.c: Likewise.
22252 * string/test-strcasecmp-ifunc.c: Likewise.
22253 * string/test-strcasestr-ifunc.c: Likewise.
22254 * string/test-strcat-ifunc.c: Likewise.
22255 * string/test-strchr-ifunc.c: Likewise.
22256 * string/test-strchrnul-ifunc.c: Likewise.
22257 * string/test-strcmp-ifunc.c: Likewise.
22258 * string/test-strcpy-ifunc.c: Likewise.
22259 * string/test-strcspn-ifunc.c: Likewise.
22260 * string/test-strlen-ifunc.c: Likewise.
22261 * string/test-strncasecmp-ifunc.c: Likewise.
22262 * string/test-strncat-ifunc.c: Likewise.
22263 * string/test-strncmp-ifunc.c: Likewise.
22264 * string/test-strncpy-ifunc.c: Likewise.
22265 * string/test-strnlen-ifunc.c: Likewise.
22266 * string/test-strpbrk-ifunc.c: Likewise.
22267 * string/test-strrchr-ifunc.c: Likewise.
22268 * string/test-strspn-ifunc.c: Likewise.
22269 * string/test-strstr-ifunc.c: Likewise.
22270
ab260039 222712013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
22272
22273 * benchtests/Makefile: Remove ifunc tests.
22274 * benchtests/bench-string.h: Define TEST_IFUNC.
22275 * benchtests/bench-bcopy-ifunc.c: Remove.
22276 * benchtests/bench-bzero-ifunc.c: Likewise.
22277 * benchtests/bench-memccpy-ifunc.c: Likewise.
22278 * benchtests/bench-memchr-ifunc.c: Likewise.
22279 * benchtests/bench-memcmp-ifunc.c: Likewise.
22280 * benchtests/bench-memcpy-ifunc.c: Likewise.
22281 * benchtests/bench-memmem-ifunc.c: Likewise.
22282 * benchtests/bench-memmove-ifunc.c: Likewise.
22283 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22284 * benchtests/bench-memrchr-ifunc.c: Likewise.
22285 * benchtests/bench-memset-ifunc.c: Likewise.
22286 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22287 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22288 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22289 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22290 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22291 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22292 * benchtests/bench-strcat-ifunc.c: Likewise.
22293 * benchtests/bench-strchr-ifunc.c: Likewise.
22294 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22295 * benchtests/bench-strcmp-ifunc.c: Likewise.
22296 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22297 * benchtests/bench-strcpy-ifunc.c: Likewise.
22298 * benchtests/bench-strcspn-ifunc.c: Likewise.
22299 * benchtests/bench-strlen-ifunc.c: Likewise.
22300 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22301 * benchtests/bench-strncat-ifunc.c: Likewise.
22302 * benchtests/bench-strncmp-ifunc.c: Likewise.
22303 * benchtests/bench-strncpy-ifunc.c: Likewise.
22304 * benchtests/bench-strnlen-ifunc.c: Likewise.
22305 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22306 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 22307 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
22308 * benchtests/bench-strspn-ifunc.c: Likewise.
22309 * benchtests/bench-strstr-ifunc.c: Likewise.
22310
223112013-11-26 Ondřej Bílka <neleai@seznam.cz>
22312
ab260039
OB
22313 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22314
d1d9eaf4 223152013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 22316
d1d9eaf4
OB
22317 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22318 * rt/aio.h: Likewise.
22319 * sysdeps/gnu/bits/utmp.h: Likewise.
22320 * sysdeps/gnu/bits/utmpx.h: Likewise.
22321 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22322 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22323 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22324 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22325 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22326 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22327 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22328 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22329 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22330 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22331 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22332 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22333 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22335 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22336 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22337 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22338 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22339 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22340 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22341 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22342 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22343 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22344 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22345 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22346 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22347 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22348 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22349 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22350 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22351 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22352 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22353 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22354 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22355 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22356 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22357 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22358 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22359 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22360 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22361 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22362 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22363
a7624ed9
CD
223642013-11-25 Carlos O'Donell <carlos@redhat.com>
22365
22366 [BZ #16245]
22367 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22368 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22369
63cfe52b
JM
223702013-11-25 Joseph Myers <joseph@codesourcery.com>
22371
22372 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22373 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22374 Likewise.
22375
41e8926a
AZ
223762013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22377
22378 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22379 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22380 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22381 (__fesetround): Remove define.
22382 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22383 rounding and exceptions handling.
22384 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22385 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22386 (__fe_nomask_env): Likewise.
22387 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22388 __fegetround instead of fegetround.
22389 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22390 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22391
6851bd4d
RM
223922013-11-21 Roland McGrath <roland@hack.frob.com>
22393
070906ff
RM
22394 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22395 it's there.
22396
6851bd4d
RM
22397 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22398
84ae135d
MI
223992013-11-21 Meador Inge <meadori@codesourcery.com>
22400
22401 [BZ #11157]
22402 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22403 (encrypt_r): Likewise.
22404 * malloc/obstack.h (obstack_free): Likewise.
22405 * posix/unistd.h (encrypt): Likewise.
22406
daf75146
GM
224072013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22408
22409 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22410 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22411 DL_CALL_DT_FINI() that call the functions directly.
22412 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22413 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22414 * elf/dl-fini.c: Likewise.
22415
10ad46bc
OB
224162013-11-20 Ondřej Bílka <neleai@seznam.cz>
22417
22418 * malloc/hooks.c (memalign_check): Add alignment rounding.
22419 * malloc/malloc.c (_mid_memalign): New function.
22420 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22421 Implement by calling _mid_memalign.
22422 * manual/probes.texi (Memory Allocation Probes): Remove
22423 memory_valloc_retry and memory_pvalloc_retry.
22424
f3fd2628
SP
224252013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22426
4712799f
SP
22427 * locale/programs/locarchive.c (open_archive): Add const
22428 qualifier to ARCHIVEFNAME and copy default fname to
22429 DEFAULT_FNAME.
22430
0417b20f
SP
22431 [BZ #15601]
22432 * libio/tst-widetext.input: Rename Oriya to Odia.
22433 * locale/iso-639.def: Likewise.
22434
f3fd2628
SP
22435 * manual/probes.texi (Mathematical Function Probes): Add
22436 documentation for sin, cos, asin and acos probes.
22437 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22438 (__sin32): Add slowasin probe.
22439 (__cos32): Add slowacos probe.
22440 (__mpsin): Add slowsin probe.
22441 (__mpcos): Add slowcos probe.
22442
73c1ce4f
JM
224432013-11-19 Joseph Myers <joseph@codesourcery.com>
22444
22445 [BZ #15483]
22446 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22447 thread-local __sim_exceptions_thread and global
22448 __sim_exceptions_global.
22449 (__sim_disabled_exceptions): Change to thread-local
22450 __sim_disabled_exceptions_thread and global
22451 __sim_disabled_exceptions_global.
22452 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22453 and global __sim_round_mode_global.
22454 (__simulate_exceptions): Use thread-local floating-point state and
22455 set global state from it as needed.
22456 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22457 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22458 __sim_round_mode_thread.
22459 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22460 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22461 and global __sim_exceptions_global.
22462 (__sim_disabled_exceptions): Change to thread-local
22463 __sim_disabled_exceptions_thread and global
22464 __sim_disabled_exceptions_global.
22465 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22466 and global __sim_round_mode_global.
22467 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22468 (SIM_SET_GLOBAL): Likewise.
22469 * sysdeps/powerpc/soft-fp/sfp-machine.h
22470 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22471 __sim_round_mode_thread.
22472 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22473 __sim_disabled_exceptions_thread.
22474 (__sim_exceptions): Change to __sim_exceptions_thread.
22475 (__sim_disabled_exceptions): Change to
22476 __sim_disabled_exceptions_thread.
22477 (__sim_round_mode): Change to __sim_round_mode_thread.
22478 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22479 thread-local floating-point state and set global state from it as
22480 needed.
22481 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22482 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22483 (__sim_disabled_exceptions): Remove extern declaration.
22484 (feenableexcept): Use thread-local floating-point state and set
22485 global state from it as needed.
22486 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22487 extern declaration.
22488 (__sim_disabled_exceptions): Likewise.
22489 (__sim_round_mode): Likewise.
22490 (__fegetenv): Use thread-local floating-point state.
22491 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22492 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22493 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22494 floating-point state and set global state from it as needed.
22495 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22496 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22497 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22498 Likewise.
22499 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22500 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22501 Likewise.
22502 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22503 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22504 Use __sim_round_mode_thread.
22505 * math/test-fenv-tls.c: New file.
22506 * math/Makefile (tests): Add test-fenv-tls.
22507 ($(objpfx)test-fenv-tls): Depend on
22508 $(common-objpfx)nptl/libpthread.so.
22509
b5449b12
AS
225102013-11-19 Andreas Schwab <schwab@suse.de>
22511
22512 * locale/programs/locale.c (show_info): Decode wordarray elements.
22513 * locale/categories.def (LC_MONETARY): Add element for
22514 _NL_MONETARY_CRNCYSTR.
22515 * locale/C-monetary.c (conversion_rate): New variable.
22516 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22517 element.
22518
e186536b
CM
225192013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22520
22521 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22522 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22523
5c349950
PP
225242013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22525
22526 * elf/Makefile (tst-auxv): New test.
22527 * elf/tst-auxv.c: New
22528 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22529
699df45b
JM
225302013-11-18 Joseph Myers <joseph@codesourcery.com>
22531
22532 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22533 (hidden_proto): Caller changed.
22534 (hidden_tls_proto): New macro.
22535 (libc_hidden_tls_proto): Likewise.
22536 (rtld_hidden_tls_proto): Likewise.
22537 (libm_hidden_tls_proto): Likewise.
22538 (libresolv_hidden_tls_proto): Likewise.
22539 (librt_hidden_tls_proto): Likewise.
22540 (libdl_hidden_tls_proto): Likewise.
22541 (libnss_files_hidden_tls_proto): Likewise.
22542 (libnsl_hidden_tls_proto): Likewise.
22543 (libnss_nisplus_hidden_tls_proto): Likewise.
22544 (libutil_hidden_tls_proto): Likewise.
22545
b7589107
OB
225462013-11-18 Ondřej Bílka <neleai@seznam.cz>
22547
22548 [BZ #10253]
22549 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22550 (decompose_rpath): Defer expansion to fillin_rpath.
22551 (_dl_init_paths): Pass linkmap to fillin_rpath.
22552
250c23bd
RS
225532013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22554
22555 * benchtests/Makefile: Add strsep.
22556 * benchtests/bench-strsep.c: New file: strsep benchtest.
22557 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22558
a7931fcf
AS
225592013-11-18 Andreas Schwab <schwab@suse.de>
22560
22561 * locale/programs/locale.c (show_info) [case byte]: Check for
22562 '\377' instead of '\177'.
22563 * locale/C-monetary.c (not_available): Always use "\377".
22564 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22565 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22566 detect unavailable sign_posn locale elements.
22567 * locale/localeconv.c (__localeconv): For grouping and
22568 mon_grouping handle "\177" and "\377" like no grouping.
22569 (INT_ELEM): New macro. Use it to set all numeric members.
22570 * locale/programs/ld-monetary.c (monetary_read)
22571 <tok_mon_grouping>: Normalize single -1 to the empty string.
22572 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22573 Likewise.
22574
728dab0e
OB
225752013-11-07 Ondřej Bílka <neleai@seznam.cz>
22576
22577 [BZ #16055]
22578 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22579 when we match (nil).
22580 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22581
66294491
JM
225822013-11-16 Joseph Myers <joseph@codesourcery.com>
22583
ce665817
JM
22584 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22585 (NO_TEST_INLINE): Update value.
22586 (ERRNO_UNCHANGED): Likewise.
22587 (ERRNO_EDOM): Likewise.
22588 (ERRNO_ERANGE): Likewise.
22589 (IGNORE_RESULT): Likewise.
22590 (check_float_internal): Check signs of NaN results if
22591 TEST_NAN_SIGN used.
22592 (check_complex): Pass TEST_NAN_SIGN flag through to second
22593 check_float_internal call.
22594 (copysign_test_data): Add tests with quiet NaNs as second
22595 argument. Use TEST_NAN_SIGN.
22596 (fabs_test_data): Add test of negative quiet NaN argument. Use
22597 TEST_NAN_SIGN.
22598 (signbit_test_data): Add tests of quiet NaN argument.
22599 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22600
ee1466a9
JM
22601 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22602 $ignore_result.
22603 (parse_args): Handle function results specified as IGNORE.
22604 * math/libm-test.inc (IGNORE_RESULT): New macro.
22605 (check_float_internal): Do not check numerical result if flag
22606 IGNORE_RESULT set.
22607 (check_complex): Pass through IGNORE_RESULT to second
22608 check_float_internal call.
22609 (check_int): Do not check numerical result if flag IGNORE_RESULT
22610 set.
22611 (check_long): Likewise.
22612 (check_bool): Likewise.
22613 (check_longlong): Likewise.
22614 (lrint_test_data): Add tests of infinite and NaN arguments.
22615 (lrint_tonearest_test_data): Likewise.
22616 (lrint_towardzero_test_data): Likewise.
22617 (lrint_downward_test_data): Likewise.
22618 (lrint_upward_test_data): Likewise.
22619 (llrint_test_data): Likewise.
22620 (llrint_tonearest_test_data): Likewise.
22621 (llrint_towardzero_test_data): Likewise.
22622 (llrint_downward_test_data): Likewise.
22623 (llrint_upward_test_data): Likewise.
22624 (lround_test_data): Likewise.
22625 (llround_test_data): Likewise.
22626
14407b7e
JM
22627 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22628 (ERRNO_UNCHANGED): Update value.
22629 (ERRNO_EDOM): Likewise.
22630 (ERRNO_ERANGE): Likewise.
22631 (NO_TEST_INLINE_FLOAT): New macro.
22632 (NO_TEST_INLINE_DOUBLE): Likewise.
22633 (enable_test): New function.
22634 (RUN_TEST_f_f): Check enable_test before running test.
22635 (RUN_TEST_2_f): Likewise.
22636 (RUN_TEST_fff_f): Likewise.
22637 (RUN_TEST_c_f): Likewise.
22638 (RUN_TEST_f_f1): Likewise.
22639 (RUN_TEST_fF_f1): Likewise.
22640 (RUN_TEST_fI_f1): Likewise.
22641 (RUN_TEST_ffI_f1): Likewise.
22642 (RUN_TEST_c_c): Likewise.
22643 (RUN_TEST_cc_c): Likewise.
22644 (RUN_TEST_f_i): Likewise.
22645 (RUN_TEST_f_i_tg): Likewise.
22646 (RUN_TEST_ff_i_tg): Likewise.
22647 (RUN_TEST_f_b): Likewise.
22648 (RUN_TEST_f_b_tg): Likewise.
22649 (RUN_TEST_f_l): Likewise.
22650 (RUN_TEST_f_L): Likewise.
22651 (RUN_TEST_fFF_11): Likewise.
22652 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22653 conditionals.
22654 (cosh_test_data): Likewise.
22655 (exp_test_data): Likewise.
22656 (expm1_test_data): Likewise.
22657 (hypot_test_data): Likewise.
22658 (pow_test_data): Likewise.
22659 (sinh_test_data): Likewise.
22660 (tanh_test_data): Likewise.
22661 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22662 flags argument.
22663
ca07f197
JM
22664 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22665 tests with quiet NaN input and output.
22666 (acosh_test_data): Likewise.
22667 (asin_test_data): Likewise.
22668 (asinh_test_data): Likewise.
22669 (atan_test_data): Likewise.
22670 (atanh_test_data): Likewise.
22671 (atan2_test_data): Likewise.
22672 (cbrt_test_data): Likewise.
22673 (cos_test_data): Likewise.
22674 (cosh_test_data): Likewise.
22675 (erf_test_data): Likewise.
22676 (erfc_test_data): Likewise.
22677 (exp_test_data): Likewise.
22678 (exp10_test_data): Likewise.
22679 (exp2_test_data): Likewise.
22680 (expm1_test_data): Likewise.
22681 (hypot_test_data): Likewise.
22682 (j0_test_data): Likewise.
22683 (j1_test_data): Likewise.
22684 (jn_test_data): Likewise.
22685 (lgamma_test_data): Likewise.
22686 (log_test_data): Likewise.
22687 (log10_test_data): Likewise.
22688 (log1p_test_data): Likewise.
22689 (log2_test_data): Likewise.
22690 (pow_test_data): Likewise.
22691 (scalb_test_data): Likewise.
22692 (sin_test_data): Likewise.
22693 (sincos_test_data): Likewise.
22694 (sinh_test_data): Likewise.
22695 (tan_test_data): Likewise.
22696 (tanh_test_data): Likewise.
22697 (tgamma_test_data): Likewise.
22698 (y0_test_data): Likewise.
22699 (y1_test_data): Likewise.
22700 (yn_test_data): Likewise.
22701
66294491
JM
22702 [BZ #16167]
22703 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22704 argument being NaN and avoid computations with second argument in
22705 that case.
22706 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22707 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22708 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22709
1820b143
CL
227102013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22711
22712 * locale/iso-639.def: Add Chitwani Tharu (the).
22713
714bd261
AS
227142013-11-14 Andreas Schwab <schwab@suse.de>
22715
22716 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22717 word instead of empty string.
22718
7ab44563
AZ
227192013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22720
22721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22722 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22724 (__fe_nomask_env): Likewise.
22725
e8470ea2
SE
227262013-11-13 Steve Ellcey <sellcey@mips.com>
22727
22728 * benchtests/bench-timing.h: Include time.h.
22729
17c1d9f0
L
227302013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22731
22732 [BZ #15997]
22733 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22734 to 3.4.0 for x32.
22735 * sysdeps/unix/sysv/linux/configure: Regenerated.
22736
9310c284
JM
227372013-11-13 Joseph Myers <joseph@codesourcery.com>
22738
22739 [BZ #16151]
22740 * stdlib/strtod_l.c (round_and_return): Do not consider
22741 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22742 exponent one less than half the least subnormal exponent.
22743 * stdlib/test-strtod-round-data: Add more tests.
22744 * stdlib/tst-strtod-round.c (tests): Regenerated.
22745
7a2ad8cf
AZ
227462013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22747
22748 [BZ #14143]
22749 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22750 (__fe_mask_env): Likewise.
22751 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22752 libm_hidden_proto and add function prototype.
22753 (__fe_mask_env): Add function prototype.
22754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22755 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22757 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22759 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22760
50727aa7
MS
227612013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22762
b2f386c1 22763 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
22764 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22765
a615be46
MS
227662013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22767
22768 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22769 of htab_find_slot().
22770
7ddace62
DM
227712013-11-11 David S. Miller <davem@davemloft.net>
22772
22773 [BZ #16150]
22774 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22775 symbol in the non-vis3 case in static builds.
22776 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22777 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22778 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22779 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22780
9182aa67
JK
227812013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22782
22783 [BZ #387]
22784 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22785 it is empty.
22786
450a2e2d
AZ
227872013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22788
b2f386c1
SP
22789 * benchtests/Makefile: Add bench-strtod.
22790 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 22791
8ec3f656
AS
227922013-11-11 Andreas Schwab <schwab@suse.de>
22793
22794 [BZ #16153]
22795 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22796 terminating NUL in key length.
22797
76a9b998
AZ
227982013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22799
22800 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22801 Add artificial ODP entry for vDSO symbol for PPC64.
22802 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22803 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22804
e4368156
OB
228052013-11-07 Ondřej Bílka <neleai@seznam.cz>
22806
22807 [BZ #15374]
22808 * nss/getent.c (services_keys): Recognize services starting with digit.
22809
8d6bb57c
DM
228102013-11-06 David S. Miller <davem@davemloft.net>
22811
22812 [BZ #15985]
22813 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22814 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22815
e256c421
WN
228162013-11-06 Will Newton <will.newton@linaro.org>
22817
22818 * manual/memory.texi (Malloc Examples): Remove register
22819 keyword from examples.
22820
f6e12daa 228212013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 22822
f6e12daa 22823 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 22824
9d880655
AS
228252013-11-04 Joseph Myers <joseph@codesourcery.com>
22826
fd2f9486 22827 [BZ #6981]
9d880655
AS
22828 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22829 depending on [__GCC_IEC_559 > 0].
22830 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22831 depending on [__GCC_IEC_559_COMPLEX > 0].
22832
ae129d3c
CL
228332013-11-03 Chris Leonard <cjl@sugarlabs.org>
22834
22835 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22836 to iso-639.def.
22837
4a15c2a4 228382013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
22839
22840 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22841
8b35e35d
OB
228422013-11-01 Ondřej Bílka <neleai@seznam.cz>
22843
22844 [BZ #16112]
22845 * malloc/malloc (malloc_info): Do not handle first bin as
22846 special case.
22847
1d70fd6c
CL
228482013-11-01 Chris Leonard <cjl@sugarlabs.org>
22849
22850 * locale/iso-639.def: Add Central Nahuatl (nhn).
22851
8c5c2600
BH
228522013-11-01 Bruno Haible <bruno@clisp.org>
22853
22854 [BZ #7003]
22855 * manual/math.texi (BSD Random): Specify range upper bound as
22856 in POSIX.
22857
da5579c2
CL
228582013-10-31 Chris Leonard <cjl@sugarlabs.org>
22859
22860 * locale/iso-639.def: Add Meadow Mari (mhr).
22861
5d30d853
OB
228622013-10-31 Ondřej Bílka <neleai@seznam.cz>
22863
22864 [BZ #14752], [BZ #15763]
22865 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22866 Validate name.
22867 * rt/tst_shm.c: Add test for escaping directory.
22868
a4966c61
AS
228692013-10-31 Andreas Schwab <schwab@suse.de>
22870
8a43e768 22871 [BZ #15917]
a4966c61
AS
22872 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22873 followed by 'x' as part of digit sequence.
22874 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22875
28d708c4
MAP
228762013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22877
22878 [BZ #16037]
22879 * configure.ac: allow GNU Make 4.0 and greater.
22880 * configure: Regenerated.
22881
a56ee40b
WN
228822013-10-30 Will Newton <will.newton@linaro.org>
22883
22884 [BZ #16038]
22885 * malloc/hooks.c (memalign_check): Limit alignment to the
22886 maximum representable power of two.
22887 * malloc/malloc.c (__libc_memalign): Likewise.
22888 * malloc/tst-memalign.c (do_test): Add test for very
22889 large alignment values.
22890 * malloc/tst-posix_memalign.c (do_test): Likewise.
22891
c6e4925d
OB
228922013-10-30 Ondřej Bílka <neleai@seznam.cz>
22893
22894 [BZ #11087]
22895 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22896 (munmap_chunk): Likewise.
22897 (mremap_chunk): Likewise.
22898
228992013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 22900
8a43e768 22901 [BZ #15799]
bbea82f7
OB
22902 * stdlib/div.c (div): Remove obsolete code.
22903 * stdlib/ldiv.c (ldiv): Likewise.
22904 * stdlib/lldiv.c (lldiv): Likewise.
22905
977f4b31
SP
229062013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22907
22908 [BZ #16071]
22909 * nss/nss_files/files-XXX.c (get_contents_ret): New
22910 enumerator.
22911 (get_contents): New function.
22912 (internal_getent): Use it. Expand size of LINEBUFLEN.
22913
cb8a6dbd
MF
229142013-10-30 Mike Frysinger <vapier@gentoo.org>
22915
22916 * configure.in: Moved to ...
22917 * configure.ac: ... here. Change reference to configure.in
22918 to configure.ac.
22919 * sysdeps/arm/preconfigure.ac: ... here.
22920 configure.in to configure.ac.
22921 * sysdeps/gnu/configure.in: Moved to ...
22922 * sysdeps/gnu/configure.ac: ... here.
22923 * sysdeps/i386/configure.in: Moved to ...
22924 * sysdeps/i386/configure.ac: ... here.
22925 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22926 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22927 * sysdeps/mach/configure.in: Moved to ...
22928 * sysdeps/mach/configure.ac: ... here.
22929 * sysdeps/mach/hurd/configure.in: Moved to ...
22930 * sysdeps/mach/hurd/configure.ac: ... here.
22931 * sysdeps/powerpc/configure.in: Moved to ...
22932 * sysdeps/powerpc/configure.ac: ... here.
22933 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22934 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22935 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22936 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22937 * sysdeps/s390/s390-32/configure.in: Moved to ...
22938 * sysdeps/s390/s390-32/configure.ac: ... here.
22939 * sysdeps/s390/s390-64/configure.in: Moved to ...
22940 * sysdeps/s390/s390-64/configure.ac: ... here.
22941 * sysdeps/sh/configure.in: Moved to ...
22942 * sysdeps/sh/configure.ac: ... here.
22943 * sysdeps/sparc/configure.in: Moved to ...
22944 * sysdeps/sparc/configure.ac: ... here.
22945 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22946 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22947 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22948 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22949 * sysdeps/x86_64/configure.in: Moved to ...
22950 * sysdeps/x86_64/configure.ac: ... here.
22951 * sysdeps/x86_64/preconfigure.in: Moved to ...
22952 * sysdeps/x86_64/preconfigure.ac: ... here.
22953 * aclocal.m4: Change reference to configure.in to configure.ac.
22954 * config.h.in: Likewise.
22955 * manual/install.texi: Likewise.
22956 * manual/maint.texi: Likewise.
22957 * Makefile: Likewise.
22958 * malloc/Makefile: Likewise.
22959 * nscd/Makefile: Likewise.
22960 * Makeconfig: Change reference to configure.in and
22961 preconfigure.in to configure.ac and preconfigure.ac
22962 respectively.
22963 * INSTALL: Regenerated.
22964 * configure: Likewise.
22965 * sysdeps/gnu/configure: Likewise.
22966 * sysdeps/i386/configure: Likewise.
22967 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22968 * sysdeps/mach/configure: Likewise.
22969 * sysdeps/mach/hurd/configure: Likewise.
22970 * sysdeps/powerpc/configure: Likewise.
22971 * sysdeps/powerpc/powerpc32/configure: Likewise.
22972 * sysdeps/powerpc/powerpc64/configure: Likewise.
22973 * sysdeps/s390/s390-32/configure: Likewise.
22974 * sysdeps/s390/s390-64/configure: Likewise.
22975 * sysdeps/sh/configure: Likewise.
22976 * sysdeps/sparc/configure: Likewise.
22977 * sysdeps/unix/sysv/linux/configure: Likewise.
22978 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22979 * sysdeps/x86_64/configure: Likewise.
22980 * sysdeps/x86_64/preconfigure: Likewise.
22981
36a4953a
AS
229822013-10-29 Andreas Schwab <schwab@suse.de>
22983
22984 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22985
c79a1204
SP
229862013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22987
dfa1b402
SP
22988 * benchtests/pow-inputs: Add new inputs.
22989
54f73d9c
SP
22990 * benchtests/exp-inputs: Add new inputs.
22991
c79a1204
SP
22992 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22993 conditional check for return value.
22994 (__cos32): Likewise.
22995
67beb545 229962013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
22997
22998 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22999 to provide a boost for large inputs with word alignment.
23000 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23001 implementation based on optimized PPC64 strcpy.
23002 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23003 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23004 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23005 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23006
151659f6
OB
230072013-10-25 Ondřej Bílka <neleai@seznam.cz>
23008
482a077e 23009 [BZ #2801]
151659f6
OB
23010 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23011
10b0f26b
OB
230122013-10-25 Ondřej Bílka <neleai@seznam.cz>
23013
23014 [BZ #14876]
23015 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23016 * time/tst-strptime.c (day_tests): Add testcase.
23017
ca42d35e
OB
230182013-10-25 Ondřej Bílka <neleai@seznam.cz>
23019
482a077e 23020 [BZ #14029]
ca42d35e
OB
23021 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23022
52e6d801
FB
230232013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23024
23025 [BZ #16074]
23026 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23027 MAP_FAILED on error.
23028
7cbcdb36
SP
230292013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23030
23031 [BZ #16072]
23032 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23033 heap for large requests.
23034
894f3f10
AM
230352013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23036
23037 [BZ #9954]
23038 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23039 result if the result has no associated interface.
23040 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23041 interface for all 127.X.Y.Z addresses.
23042
b85545a6
CL
230432013-10-24 Chris Leonard <cjl@sugarlabs.org>
23044
23045 * locale/iso-639.def: Add Ligurian (lij)
23046
d1f23d46
OB
230472013-10-21 Ondřej Bílka <neleai@seznam.cz>
23048
23049 [BZ #15825]
23050 * sunrpc/rpc_main.c: Document rpcgen -5.
23051
4db5b08f
MS
230522013-10-19 Michael Stahl <mstahl@redhat.com>
23053
23054 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23055
a471e96a
OB
230562013-10-19 Ondřej Bílka <neleai@seznam.cz>
23057
d1f23d46 23058 [BZ #10278]
a471e96a
OB
23059 * posix/glob.c: Match only directories when trailing slash is present.
23060 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23061 (main): Add testcase.
23062
45c30c61
OB
230632013-10-19 Ondřej Bílka <neleai@seznam.cz>
23064
23065 [BZ #15670]
23066 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23067
484c12fb
CD
230682013-10-18 Carlos O'Donell <carlos@redhat.com>
23069
3d7dc513
CD
23070 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23071 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23072 AUTH_DES and cindex for FIPS 140-2.
23073 (DES Encryption): Add cindex FIPS 46-3.
23074
484c12fb
CD
23075 * locale/locarchive.h (struct locarhandle): Add fname.
23076 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23077 if an optional argument was specified to --list-archive,
23078 otherwise NULL.
23079 * locale/programs/locarchive.c (show_archive_content): Take new
23080 argument fname and pass it via ah.fname to open_archive.
23081 * locale/programs/localedef.h: Update decl.
23082 (open_archive): If AH->fname is non-null, open that file
23083 rather than the default file name, and don't ignore ENOENT.
23084 (create_archive): Set AH.fname to NULL.
23085 (delete_locales_from_archive): Likewise.
23086 (add_locales_to_archive): Likewise.
23087 * locale/programs/locfile.c (write_all_categories): Likewise.
23088
3c8325fb
JM
230892013-10-18 Joseph Myers <joseph@codesourcery.com>
23090 Aldy Hernandez <aldyh@redhat.com>
23091
23092 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23093 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23094 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23095 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23096 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23097 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23098 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23099 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23100 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23101 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23102 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23103 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23104 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23105 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23106 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23107 Likewise.
23108 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23109 Likewise.
23110 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23111 Likewise.
23112 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23113 Likewise.
23114 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23115 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23116 Likewise.
23117 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23118 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23119 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23120 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23121 Likewise.
23122 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23123 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23124 * sysdeps/powerpc/preconfigure: Likewise.
23125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23126 Likewise.
23127 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23128 Replace contents of file by #include of <fenv_libc.h>.
23129 * sysdeps/powerpc/soft-fp/sfp-machine.h
23130 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23131 and <sys/prctl.h>.
23132 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23133 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23134 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23135 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23136 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23137 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23138 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23139 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23140 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23141 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23142 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23143 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23145 Allow copysignl PLT reference to be missing.
23146
5abe0682
RS
231472013-10-18 Richard Sandiford <richard@codesourcery.com>
23148 Joseph Myers <joseph@codesourcery.com
23149
23150 [BZ #15948]
23151 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23152 single character.
23153 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23154
c7738d08
SP
231552013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23156
23157 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23158 * elf/tst-tls1.c: Likewise.
23159 * elf/tst-tls10.h: Likewise.
23160 * elf/tst-tls14.c: Likewise.
23161 * elf/tst-tls2.c: Likewise.
23162 * elf/tst-tls3.c: Likewise.
23163 * elf/tst-tls4.c: Likewise.
23164 * elf/tst-tls5.c: Likewise.
23165 * elf/tst-tls6.c: Likewise.
23166 * elf/tst-tls7.c: Likewise.
23167 * elf/tst-tls8.c: Likewise.
23168 * elf/tst-tls9.c: Likewise.
23169 * elf/tst-tlsmod1.c: Likewise.
23170 * elf/tst-tlsmod13.c: Likewise.
23171 * elf/tst-tlsmod13a.c: Likewise.
23172 * elf/tst-tlsmod14a.c: Likewise.
23173 * elf/tst-tlsmod16a.c: Likewise.
23174 * elf/tst-tlsmod16b.c: Likewise.
23175 * elf/tst-tlsmod2.c: Likewise.
23176 * elf/tst-tlsmod3.c: Likewise.
23177 * elf/tst-tlsmod4.c: Likewise.
23178 * elf/tst-tlsmod5.c: Likewise.
23179 * elf/tst-tlsmod6.c: Likewise.
23180
0bfcf2c7
OB
231812013-10-18 Ondřej Bílka <neleai@seznam.cz>
23182
23183 [BZ #12486]
23184 * malloc/malloc.c: remove checks for statistics.
23185
264aad1e
OB
231862013-10-17 Ondřej Bílka <neleai@seznam.cz>
23187
23188 [BZ #15277]
23189 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23190 * inet/tst-network.c: Add testcase.
23191
b957ced8
AS
231922013-10-17 Andreas Schwab <schwab@suse.de>
23193
23194 [BZ #15218]
23195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23196 to determine canonical name.
23197
c5d5d574
OB
231982013-10-17 Ondřej Bílka <neleai@seznam.cz>
23199
23200 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23201 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23202 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23203 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23204 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23205 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23206 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23207 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23208 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23209 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23210 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23211 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23212 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23213 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23214 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23215 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23216 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23217 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23218 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23219 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23220 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23221 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23222 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23223 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23224 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23225 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23226 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23227 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23228 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23229 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23230 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23231 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23232 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23233 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23234 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23235 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23236 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23237 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23238 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23239 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23240 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23241 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23242 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23243 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23244 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23245 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23246 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23247 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23248 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23249 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23250 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23251 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23252 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23253 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23254 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23255 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23256 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23257 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23258
e5c2c2d0
JM
232592013-10-17 Joseph Myers <joseph@codesourcery.com>
23260
23261 [BZ #16041]
23262 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23263 make result into a quiet NaN.
23264
51ca9e29
JM
232652013-10-16 Joseph Myers <joseph@codesourcery.com>
23266
23267 * soft-fp/adddf3.c: Fix horizontal whitespace.
23268 * soft-fp/addsf3.c: Likewise.
23269 * soft-fp/addtf3.c: Likewise.
23270 * soft-fp/divdf3.c: Likewise.
23271 * soft-fp/divsf3.c: Likewise.
23272 * soft-fp/divtf3.c: Likewise.
23273 * soft-fp/double.h: Likewise.
23274 * soft-fp/eqdf2.c: Likewise.
23275 * soft-fp/eqsf2.c: Likewise.
23276 * soft-fp/eqtf2.c: Likewise.
23277 * soft-fp/extenddftf2.c: Likewise.
23278 * soft-fp/extended.h: Likewise.
23279 * soft-fp/extendsfdf2.c: Likewise.
23280 * soft-fp/extendsftf2.c: Likewise.
23281 * soft-fp/extendxftf2.c: Likewise.
23282 * soft-fp/fixdfdi.c: Likewise.
23283 * soft-fp/fixdfsi.c: Likewise.
23284 * soft-fp/fixdfti.c: Likewise.
23285 * soft-fp/fixsfdi.c: Likewise.
23286 * soft-fp/fixsfsi.c: Likewise.
23287 * soft-fp/fixsfti.c: Likewise.
23288 * soft-fp/fixtfdi.c: Likewise.
23289 * soft-fp/fixtfsi.c: Likewise.
23290 * soft-fp/fixtfti.c: Likewise.
23291 * soft-fp/fixunsdfdi.c: Likewise.
23292 * soft-fp/fixunsdfsi.c: Likewise.
23293 * soft-fp/fixunsdfti.c: Likewise.
23294 * soft-fp/fixunssfdi.c: Likewise.
23295 * soft-fp/fixunssfsi.c: Likewise.
23296 * soft-fp/fixunssfti.c: Likewise.
23297 * soft-fp/fixunstfdi.c: Likewise.
23298 * soft-fp/fixunstfsi.c: Likewise.
23299 * soft-fp/fixunstfti.c: Likewise.
23300 * soft-fp/floatdidf.c: Likewise.
23301 * soft-fp/floatdisf.c: Likewise.
23302 * soft-fp/floatditf.c: Likewise.
23303 * soft-fp/floatsidf.c: Likewise.
23304 * soft-fp/floatsisf.c: Likewise.
23305 * soft-fp/floatsitf.c: Likewise.
23306 * soft-fp/floattidf.c: Likewise.
23307 * soft-fp/floattisf.c: Likewise.
23308 * soft-fp/floattitf.c: Likewise.
23309 * soft-fp/floatundidf.c: Likewise.
23310 * soft-fp/floatundisf.c: Likewise.
23311 * soft-fp/floatunditf.c: Likewise.
23312 * soft-fp/floatunsidf.c: Likewise.
23313 * soft-fp/floatunsisf.c: Likewise.
23314 * soft-fp/floatunsitf.c: Likewise.
23315 * soft-fp/floatuntidf.c: Likewise.
23316 * soft-fp/floatuntisf.c: Likewise.
23317 * soft-fp/floatuntitf.c: Likewise.
23318 * soft-fp/fmadf4.c: Likewise.
23319 * soft-fp/fmasf4.c: Likewise.
23320 * soft-fp/fmatf4.c: Likewise.
23321 * soft-fp/gedf2.c: Likewise.
23322 * soft-fp/gesf2.c: Likewise.
23323 * soft-fp/getf2.c: Likewise.
23324 * soft-fp/ledf2.c: Likewise.
23325 * soft-fp/lesf2.c: Likewise.
23326 * soft-fp/letf2.c: Likewise.
23327 * soft-fp/muldf3.c: Likewise.
23328 * soft-fp/mulsf3.c: Likewise.
23329 * soft-fp/multf3.c: Likewise.
23330 * soft-fp/negdf2.c: Likewise.
23331 * soft-fp/negsf2.c: Likewise.
23332 * soft-fp/negtf2.c: Likewise.
23333 * soft-fp/op-1.h: Likewise.
23334 * soft-fp/op-2.h: Likewise.
23335 * soft-fp/op-4.h: Likewise.
23336 * soft-fp/op-8.h: Likewise.
23337 * soft-fp/op-common.h: Likewise.
23338 * soft-fp/quad.h: Likewise.
23339 * soft-fp/single.h: Likewise.
23340 * soft-fp/soft-fp.h: Likewise.
23341 * soft-fp/sqrtdf2.c: Likewise.
23342 * soft-fp/sqrtsf2.c: Likewise.
23343 * soft-fp/sqrttf2.c: Likewise.
23344 * soft-fp/subdf3.c: Likewise.
23345 * soft-fp/subsf3.c: Likewise.
23346 * soft-fp/subtf3.c: Likewise.
23347 * soft-fp/truncdfsf2.c: Likewise.
23348 * soft-fp/trunctfdf2.c: Likewise.
23349 * soft-fp/trunctfsf2.c: Likewise.
23350 * soft-fp/trunctfxf2.c: Likewise.
23351 * soft-fp/unorddf2.c: Likewise.
23352 * soft-fp/unordsf2.c: Likewise.
23353 * soft-fp/unordtf2.c: Likewise.
23354
9ebb0332
JM
233552013-10-15 Joseph Myers <joseph@codesourcery.com>
23356
23357 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23358 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23359
4b1a6d8b
OB
233602013-10-15 Ondřej Bílka <neleai@seznam.cz>
23361
23362 * elf/dl-libc.c: Clear initfini list after freeing.
23363
1e145589
JM
233642013-10-14 Joseph Myers <joseph@codesourcery.com>
23365
23366 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23367 * soft-fp/addsf3.c: Likewise.
23368 * soft-fp/addtf3.c: Likewise.
23369 * soft-fp/divdf3.c: Likewise.
23370 * soft-fp/divsf3.c: Likewise.
23371 * soft-fp/divtf3.c: Likewise.
23372 * soft-fp/double.h: Likewise.
23373 * soft-fp/eqdf2.c: Likewise.
23374 * soft-fp/eqsf2.c: Likewise.
23375 * soft-fp/eqtf2.c: Likewise.
23376 * soft-fp/extenddftf2.c: Likewise.
23377 * soft-fp/extended.h: Likewise.
23378 * soft-fp/extendsfdf2.c: Likewise.
23379 * soft-fp/extendsftf2.c: Likewise.
23380 * soft-fp/extendxftf2.c: Likewise.
23381 * soft-fp/fixdfdi.c: Likewise.
23382 * soft-fp/fixdfsi.c: Likewise.
23383 * soft-fp/fixdfti.c: Likewise.
23384 * soft-fp/fixsfdi.c: Likewise.
23385 * soft-fp/fixsfsi.c: Likewise.
23386 * soft-fp/fixsfti.c: Likewise.
23387 * soft-fp/fixtfdi.c: Likewise.
23388 * soft-fp/fixtfsi.c: Likewise.
23389 * soft-fp/fixtfti.c: Likewise.
23390 * soft-fp/fixunsdfdi.c: Likewise.
23391 * soft-fp/fixunsdfsi.c: Likewise.
23392 * soft-fp/fixunsdfti.c: Likewise.
23393 * soft-fp/fixunssfdi.c: Likewise.
23394 * soft-fp/fixunssfsi.c: Likewise.
23395 * soft-fp/fixunssfti.c: Likewise.
23396 * soft-fp/fixunstfdi.c: Likewise.
23397 * soft-fp/fixunstfsi.c: Likewise.
23398 * soft-fp/fixunstfti.c: Likewise.
23399 * soft-fp/floatdidf.c: Likewise.
23400 * soft-fp/floatdisf.c: Likewise.
23401 * soft-fp/floatditf.c: Likewise.
23402 * soft-fp/floatsidf.c: Likewise.
23403 * soft-fp/floatsisf.c: Likewise.
23404 * soft-fp/floatsitf.c: Likewise.
23405 * soft-fp/floattidf.c: Likewise.
23406 * soft-fp/floattisf.c: Likewise.
23407 * soft-fp/floattitf.c: Likewise.
23408 * soft-fp/floatundidf.c: Likewise.
23409 * soft-fp/floatundisf.c: Likewise.
23410 * soft-fp/floatunsidf.c: Likewise.
23411 * soft-fp/floatunsisf.c: Likewise.
23412 * soft-fp/floatuntidf.c: Likewise.
23413 * soft-fp/floatuntisf.c: Likewise.
23414 * soft-fp/floatuntitf.c: Likewise.
23415 * soft-fp/fmadf4.c: Likewise.
23416 * soft-fp/fmasf4.c: Likewise.
23417 * soft-fp/fmatf4.c: Likewise.
23418 * soft-fp/gedf2.c: Likewise.
23419 * soft-fp/gesf2.c: Likewise.
23420 * soft-fp/getf2.c: Likewise.
23421 * soft-fp/ledf2.c: Likewise.
23422 * soft-fp/lesf2.c: Likewise.
23423 * soft-fp/letf2.c: Likewise.
23424 * soft-fp/muldf3.c: Likewise.
23425 * soft-fp/mulsf3.c: Likewise.
23426 * soft-fp/multf3.c: Likewise.
23427 * soft-fp/negdf2.c: Likewise.
23428 * soft-fp/negsf2.c: Likewise.
23429 * soft-fp/negtf2.c: Likewise.
23430 * soft-fp/op-1.h: Likewise.
23431 * soft-fp/op-2.h: Likewise.
23432 * soft-fp/op-4.h: Likewise.
23433 * soft-fp/op-8.h: Likewise.
23434 * soft-fp/op-common.h: Likewise.
23435 * soft-fp/quad.h: Likewise.
23436 * soft-fp/single.h: Likewise.
23437 * soft-fp/soft-fp.h: Likewise.
23438 * soft-fp/sqrtdf2.c: Likewise.
23439 * soft-fp/sqrtsf2.c: Likewise.
23440 * soft-fp/sqrttf2.c: Likewise.
23441 * soft-fp/subdf3.c: Likewise.
23442 * soft-fp/subsf3.c: Likewise.
23443 * soft-fp/subtf3.c: Likewise.
23444 * soft-fp/truncdfsf2.c: Likewise.
23445 * soft-fp/trunctfdf2.c: Likewise.
23446 * soft-fp/trunctfsf2.c: Likewise.
23447 * soft-fp/trunctfxf2.c: Likewise.
23448 * soft-fp/unorddf2.c: Likewise.
23449 * soft-fp/unordsf2.c: Likewise.
23450 * soft-fp/unordtf2.c: Likewise.
23451
17c48a60
OB
234522013-10-14 Ondřej Bílka <neleai@seznam.cz>
23453
23454 [BZ #15672]
23455 * misc/error.c (error_tail): Fix possible buffer overflow.
23456
cabba934
OB
234572013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23458
23459 [BZ #13028]
23460 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23461 address.
23462
94bf958a
PM
234632013-10-14 P. J. McDermott <pj@pehjota.net>
23464
23465 [BZ #832]
23466 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23467 testing pipefail option.
23468
71b4dea7
JM
234692013-10-12 Joseph Myers <joseph@codesourcery.com>
23470
23471 * soft-fp/double.h: Indent preprocessor directives inside #if.
23472 * soft-fp/extended.h: Likewise.
23473 * soft-fp/op-2.h: Likewise.
23474 * soft-fp/op-4.h: Likewise.
23475 * soft-fp/op-common.h: Likewise.
23476 * soft-fp/quad.h: Likewise.
23477 * soft-fp/single.h: Likewise.
23478 * soft-fp/soft-fp.h: Likewise.
23479
55602758
YC
234802013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23481
23482 * iconv/iconv_prog.c: Fix typos.
23483 * stdio-common/psiginfo-data.h: Likewise.
23484
9cd83302
RT
234852013-10-12 Reuben Thomas <rrt@sc3d.org>
23486
23487 [BZ #15764]
23488 * locale/setlocale.c: Fix typo.
23489
99fd9f47
JM
234902013-10-12 Joseph Myers <joseph@codesourcery.com>
23491
b7ea74f0
JM
23492 [BZ #16036]
23493 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23494 signaling NaN arguments.
23495 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23496 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23497
8a509447
JM
23498 [BZ #14910]
23499 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23500 unordered operands.
23501 * soft-fp/gesf2.c (__gesf2): Likewise.
23502 * soft-fp/getf2.c (__getf2): Likewise.
23503 * soft-fp/ledf2.c (__ledf2): Likewise.
23504 * soft-fp/lesf2.c (__lesf2): Likewise.
23505 * soft-fp/letf2.c (__letf2): Likewise.
23506
98998e9f
JM
23507 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23508 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23509 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23510 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23511 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23512 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23513 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23514 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23515 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23516 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23517 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23518 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23519 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23520 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23521 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23522 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23523 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23524 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23525 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23526 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23527 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23528 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23529 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23530 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23531 * soft-fp/floattidf.c (__floattidf): Likewise.
23532 * soft-fp/floattisf.c (__floattisf): Likewise.
23533 * soft-fp/floattitf.c (__floattitf): Likewise.
23534 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23535 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23536 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23537 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23538 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23539 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23540 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23541 * soft-fp/gesf2.c (__gesf2): Likewise.
23542 * soft-fp/getf2.c (__getf2): Likewise.
23543 * soft-fp/ledf2.c (__ledf2): Likewise.
23544 * soft-fp/lesf2.c (__lesf2): Likewise.
23545 * soft-fp/letf2.c (__letf2): Likewise.
23546
8edc4a11
JM
23547 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23548 Undefine and redefine.
23549 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23550 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23551 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23552 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23553 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23554 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23555 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23556 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23557 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23558 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23559 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23560 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23561 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23562 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23563 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23564
8399acaf
JM
23565 [BZ #16032]
23566 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23567 without decrementing exponent if mantissa >= that for the
23568 denominator, not >.
23569 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23570 denominator, not >. Decrement exponent in < case instead of
23571 incrementing in >= case.
23572 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23573 without decrementing exponent if mantissa >= that for the
23574 denominator, not >.
23575
99fd9f47
JM
23576 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23577 computing saturated result for unsigned overflow.
23578
10e1cf6b
SP
235792013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23580 Jeff Law <law@redhat.com>
23581
23582 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23583 (atan2Mp): Add systemtap probe marker.
23584 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23585 (__ieee754_log): Add systemtap probe marker.
23586 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23587 (atanMp): Add systemtap probe marker.
23588 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23589 (tanMp): Add systemtap probe marker.
23590 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23591 (__slowexp): Add systemtap probe marker.
23592 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23593 (__slowpow): Add systemtap probe marker.
23594 * manual/probes.texi: Document probes.
23595
3d110c7c
EB
235962013-10-11 Eric Biggers <ebiggers3@gmail.com>
23597
23598 [BZ #15362]
23599 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23600 written.
23601 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23602 written.
23603 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23604 written to buffer but not flushed.
23605 * libio/iofwrite_u.c: Likewise.
23606 * libio/iopadn.c: Return bytes returned even if EOF was
23607 encountered.
23608 * libio/iowpadn.c: Likewise.
23609 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23610 if _IO_padn does not write the whole buffer.
23611 [!COMPILE_WPRINTF] (PAD): Likewise.
23612
75b4202a
DM
236132013-10-10 David S. Miller <davem@davemloft.net>
23614
23615 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23616 directory block.
23617
6c6352e6
JM
236182013-10-10 Joseph Myers <joseph@codesourcery.com>
23619
33b853c3
JM
23620 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23621 instead of FSF address.
23622 * soft-fp/fixdfti.c: Likewise.
23623 * soft-fp/fixsfti.c: Likewise.
23624 * soft-fp/fixtfti.c: Likewise.
23625 * soft-fp/fixunsdfti.c: Likewise.
23626 * soft-fp/fixunssfti.c: Likewise.
23627 * soft-fp/fixunstfti.c: Likewise.
23628 * soft-fp/floattidf.c: Likewise.
23629 * soft-fp/floattisf.c: Likewise.
23630 * soft-fp/floattitf.c: Likewise.
23631 * soft-fp/floatuntidf.c: Likewise.
23632 * soft-fp/floatuntisf.c: Likewise.
23633 * soft-fp/floatuntitf.c: Likewise.
23634 * soft-fp/trunctfxf2.c: Likewise.
23635
6c6352e6
JM
23636 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23637 * soft-fp/fixdfti.c: Likewise.
23638 * soft-fp/fixsfti.c: Likewise.
23639 * soft-fp/fixtfti.c: Likewise.
23640 * soft-fp/fixunsdfti.c: Likewise.
23641 * soft-fp/fixunssfti.c: Likewise.
23642 * soft-fp/fixunstfti.c: Likewise.
23643 * soft-fp/floattidf.c: Likewise.
23644 * soft-fp/floattisf.c: Likewise.
23645 * soft-fp/floattitf.c: Likewise.
23646 * soft-fp/floatuntidf.c: Likewise.
23647 * soft-fp/floatuntisf.c: Likewise.
23648 * soft-fp/floatuntitf.c: Likewise.
23649 * soft-fp/trunctfxf2.c: Likewise.
23650
3bf78b71
DM
236512013-10-10 David S. Miller <davem@davemloft.net>
23652
23653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23654
6f10289e
JM
236552013-10-10 Joseph Myers <joseph@codsourcery.com>
23656
bd878fc0
JM
23657 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23658 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23659 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23660 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23661 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23662 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23663 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23664
6f10289e
JM
23665 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23666 for NaNs before doing comparisons on argument.
23667 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23668 Likewise.
23669
321e2684
WN
236702013-10-10 Will Newton <will.newton@linaro.org>
23671
23672 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23673 passed to _int_memalign does not overflow.
23674
40fefba1
TR
236752013-10-10 Torvald Riegel <triegel@redhat.com>
23676
23677 * scripts/bench.pl: Add include-sources directive.
23678 * benchtests/README: Update documentation.
23679
2ae21ed2
JM
236802013-10-10 Joseph Myers <joseph@codesourcery.com>
23681
dcc2dd3f
JM
23682 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23683 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23684 instead of FP_INIT_ROUNDMODE.
23685 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23686 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23687
2ae21ed2
JM
23688 [BZ #16034]
23689 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23690 copy class of input value.
23691 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23692 not handle exceptions.
23693 * soft-fp/negsf2.c (__negsf2): Likewise.
23694 * soft-fp/negtf2.c (__negtf2): Likewise.
23695 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23696
cb8f9562
JM
236972013-10-09 Joseph Myers <joseph@codesourcery.com>
23698
23699 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23700 semicolon. From Linux kernel.
23701
5b60c59d
AB
237022013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23703
23704 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23705
b86835ca
YC
237062013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23707
23708 [BZ #156]
23709 * manual/socket.texi: Added statement about buffer
23710 for gethostbyname2_r.
23711
e7044ea7
OB
237122013-10-08 Ondřej Bílka <neleai@seznam.cz>
23713
23714 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23715 Use .p2align directive instead, throughout.
23716 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23717 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23718 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23719 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23720 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23721 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23722 * sysdeps/x86_64/strchr.S: Likewise.
23723 * sysdeps/x86_64/strrchr.S: Likewise.
23724
09544cbc
SP
237252013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23726
88576635
SP
23727 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23728
e7b2d1dd
SP
23729 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23730
09544cbc
SP
23731 * sysdeps/generic/math_private.h (__mpsin1): Remove
23732 declaration.
23733 (__mpcos1): Likewise.
23734 (__mpsin): New argument __range_reduce.
23735 (__mpcos): Likewise.
23736 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23737 (slow): Use __mpsin and __mpcos.
23738 (slow1): Likewise.
23739 (slow2): Likewise.
23740 (sloww): Likewise.
23741 (sloww1): Likewise.
23742 (sloww2): Likewise.
23743 (bsloww): Likewise.
23744 (bsloww1): Likewise.
23745 (bsloww2): Likewise.
23746 (cslow2): Likewise.
23747 (csloww): Likewise.
23748 (csloww1): Likewise.
23749 (csloww2): Likewise.
23750 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23751 range_reduce. Merge in __mpsin1.
23752 (__mpcos): Likewise.
23753 (__mpsin1): Remove.
23754 (__mpcos1): Likewise.
23755
7602d070
JM
237562013-10-07 Joseph Myers <joseph@codesourcery.com>
23757
23758 * locale/loadlocale.c (_nl_intern_locale_data): Use
23759 LOCFILE_ALIGNED_P.
23760 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23761 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23762 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23763 obstack data is appropriately aligned.
23764 (obstack_int32_grow_fast): Likewise.
23765 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23766 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23767 (add_locale_uint32_array): Likewise.
23768
a357259b
SP
237692013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23770
23771 * benchtests/Makefile: Remove ARGLIST and RET variables.
23772 ($(objpfx)bench-%.c): Pass only function name to the script.
23773 * benchtests/README: Update documentation.
23774 * benchtests/acos-inputs: Add new directives.
23775 * benchtests/acosh-inputs: Likewise.
23776 * benchtests/asin-inputs: Likewise.
23777 * benchtests/asinh-inputs: Likewise.
23778 * benchtests/atan-inputs: Likewise.
23779 * benchtests/atanh-inputs: Likewise.
23780 * benchtests/cos-inputs: Likewise.
23781 * benchtests/cosh-inputs: Likewise.
23782 * benchtests/exp-inputs: Likewise.
23783 * benchtests/log-inputs: Likewise.
23784 * benchtests/pow-inputs: Likewise.
23785 * benchtests/rint-inputs: Likewise.
23786 * benchtests/sin-inputs: Likewise.
23787 * benchtests/sinh-inputs: Likewise.
23788 * benchtests/tan-inputs: Likewise.
23789 * benchtests/tanh-inputs: Likewise.
23790 * scripts/bench.pl: Add support for new directives.
23791
9ec1b13d
AM
237922013-10-07 Alan Modra <amodra@gmail.com>
23793
23794 * README: Fix careless merge.
23795
8b7d57cd
AM
237962013-10-05 Alan Modra <amodra@gmail.com>
23797
23798 * NEWS: Mention powerpc64le support and bugs fixed.
23799 * README: Both big-endian and little-endian powerpc64 supported.
23800
7b7bab13
ST
238012013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23802
57f41c40
AS
23803 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23804 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
23805 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23806 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23807
d39baad1
RA
238082013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23809
23810 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23811 match prototype.
23812
cd78f7e7
JM
238132013-10-04 Joseph Myers <joseph@codesourcery.com>
23814
29d73d86
JM
23815 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23816 Move -mhard-float appending from
23817 ports/sysdeps/powerpc/powerpc32/Makefile.
23818 [$(with-fp) = yes] (ASFLAGS): Likewise.
23819 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23820 * sysdeps/powerpc/nofpu: Move directory from
23821 ports/sysdeps/powerpc/nofpu.
23822 * sysdeps/powerpc/soft-fp: Move directory from
23823 ports/sysdeps/powerpc/soft-fp.
23824 * sysdeps/powerpc/powerpc32/405: Move directory from
23825 ports/sysdeps/powerpc/powerpc32/405.
23826 * sysdeps/powerpc/powerpc32/440: Move directory from
23827 ports/sysdeps/powerpc/powerpc32/440.
23828 * sysdeps/powerpc/powerpc32/464: Move directory from
23829 ports/sysdeps/powerpc/powerpc32/464.
23830 * sysdeps/powerpc/powerpc32/476: Move directory from
23831 ports/sysdeps/powerpc/powerpc32/476.
23832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23833 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23835 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23837 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23839 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23841 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23842 * README: Update for powerpc-*-linux-gnu software floating point
23843 support in libc.
23844
e246b347
JM
23845 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23846 case to powerpc/powerpc32*.
23847 * sysdeps/unix/sysv/linux/configure: Regenerated.
23848
89c2003e
JM
23849 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23850 (_FPU_MASK_OM): Define as 0x04.
23851 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23853 0x00c10080.
23854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23855 0x0000003c.
23856 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23857
cd78f7e7
JM
23858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23859 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23860 getcontext_e500.
23861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23862 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23863 setcontext_e500.
23864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23865 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23866 and setcontext_e500.
23867
c755294d
CL
238682013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23869
23870 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23871
e16d221c
SP
238722013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23873
23874 * manual/threads.texi (Default Thread Attributes): Fix typo.
23875
215c7d43
WN
238762013-10-04 Will Newton <will.newton@linaro.org>
23877
23878 * malloc/Makefile: Add tst-memalign.
23879 * malloc/tst-memalign.c: New file.
23880
27d0461b
WN
23881 * malloc/tst-posix_memalign.c: Add comments.
23882 (do_test): Add comments and call free on all potentially
23883 allocated pointers. Add space after cast.
23884
1bc92709
WN
23885 * malloc/tst-pvalloc.c: Add comments.
23886 (do_test): Add comments and call free on all potentially
23887 allocated pointers. Remove duplicate check for NULL pointer.
23888 Add space after cast.
23889
66a9be9d
WN
23890 * malloc/tst-valloc.c: Add comments.
23891 (do_test): Add comments and call free on all potentially
23892 allocated pointers. Remove duplicate check for NULL pointer.
23893 Add space after cast.
23894
4cb81307
AM
238952013-10-04 Alan Modra <amodra@gmail.com>
23896
23897 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23898 Use stdint types in rather than __attribute__((mode())).
23899 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23900
f8e3e9f3
AM
239012013-10-04 Alan Modra <amodra@gmail.com>
23902
23903 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23904 Correct handling of unaligned relocs for little-endian.
23905 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23906
8f9ebb08
AM
239072013-10-04 Alan Modra <amodra@gmail.com>
23908
23909 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23910 * configure: Regenerate.
23911 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23912 * shlib-versions: Likewise.
23913
0edf96c2
AM
239142013-10-04 Alan Modra <amodra@gmail.com>
23915
23916 * string/tester.c (test_memrchr): Increment reported test cycle.
23917
e0f7a380
AM
239182013-10-04 Alan Modra <amodra@gmail.com>
23919
23920 * string/test-memcpy.c (do_one_test): When reporting errors, print
23921 string address and don't overrun end of string.
23922
466b0393
AM
239232013-10-04 Alan Modra <amodra@gmail.com>
23924
23925 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23926 insrdi. Make better use of reg selection to speed exit slightly.
23927 Schedule entry path a little better. Remove useless "are we done"
23928 checks on entry to main loop. Handle wrapping around zero address.
23929 Correct main loop count. Handle single left-over word from main
23930 loop inline rather than by using loop_small. Remove extra word
23931 case in loop_small caused by wrong loop count. Add little-endian
23932 support.
23933 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23934 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23935 cache hint.
23936 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23937 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23938 support. Avoid rlwimi.
23939 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23940
3be87c77
AM
239412013-10-04 Alan Modra <amodra@gmail.com>
23942
23943 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 23944 insrdi. Formatting.
3be87c77
AM
23945 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23946 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23947 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23948 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23949 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23950 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23951
759cfef3
AM
239522013-10-04 Alan Modra <amodra@gmail.com>
23953
23954 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23955 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23956 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23957 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23958 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23959 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23960 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23961 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23962 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23963 use of regs. Use power7 mtocrf. Tidy function tails.
23964
fe6e95d7
AM
239652013-10-04 Alan Modra <amodra@gmail.com>
23966
23967 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23968 Formatting. Consistently use rXXX register defines or rN defines.
23969 Use early exit labels that avoid restoring unused non-volatile regs.
23970 Make cr field use more consistent with rWORDn compares. Rename
23971 regs used as shift registers for unaligned loop, using rN defines
23972 for short lifetime/multiple use regs.
23973 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23974 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23975 addi 1,1,64 to pop stack frame. Simplify return value code.
23976 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23977
664318c3
AM
239782013-10-04 Alan Modra <amodra@gmail.com>
23979
23980 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23981 support. Correct typos, formatting. Optimize tail. Use insrdi
23982 rather than rlwimi.
23983 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23984 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23985 little-endian support. Correct typos.
23986 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23987 rather than rlwimi.
23988 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23989 in loop and entry code to keep "and." results.
23990 (strchr): Add little-endian support. Comment. Move cntlzd
23991 earlier in tail.
23992 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23993
43b84013
AM
239942013-10-04 Alan Modra <amodra@gmail.com>
23995
23996 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23997 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23998 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23999 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24000
8a7413f9
AM
240012013-10-04 Alan Modra <amodra@gmail.com>
24002
24003 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24004 (rTMP): Define as r11.
24005 (strcmp): Add little-endian support. Optimise tail.
24006 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24007 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24008 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24009 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24010 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24011 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24012 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24013
33ee81de
AM
240142013-10-04 Alan Modra <amodra@gmail.com>
24015
24016 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24017 little-endian support. Remove unnecessary "are we done" tests.
24018 Handle "s" wrapping around zero and extremely large "size".
24019 Correct main loop count. Handle single left-over word from main
24020 loop inline rather than by using small_loop. Correct comments.
24021 Delete "zero" tail, use "end_max" instead.
24022 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24023
db9b4570
AM
240242013-10-04 Alan Modra <amodra@gmail.com>
24025
24026 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24027 support. Don't branch over align.
24028 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24029 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24030 support. Rearrange tmp reg use to suit. Comment.
24031 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24032
f7c399cf
AM
240332013-10-04 Alan Modra <amodra@gmail.com>
24034
24035 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24036
0b2c2ace
AM
240372013-10-04 Alan Modra <amodra@gmail.com>
24038
24039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24040 conditional form of branch and link when obtaining pc.
24041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24042
02f04a6c
AM
240432013-10-04 Alan Modra <amodra@gmail.com>
24044
24045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24046 HIWORD/LOWORD.
24047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24049
9b874b2f
AM
240502013-10-04 Alan Modra <amodra@gmail.com>
24051
24052 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24053 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24054 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24055 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24056 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24057 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24058 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24059 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24060 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24061 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24062
be1e5d31
AB
240632013-10-04 Anton Blanchard <anton@au1.ibm.com>
24064 Alistair Popple <alistair@ozlabs.au.ibm.com>
24065 Alan Modra <amodra@gmail.com>
24066
24067 [BZ #15723]
24068 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24069 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24070 _dl_hwcap access for little-endian.
24071 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24072 destroy vmx regs when saving unaligned.
24073 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24074 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24075 destroy vmx regs when saving unaligned.
24076
fef13a78
AM
240772013-10-04 Alan Modra <amodra@gmail.com>
24078
24079 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24080 Don't use a union to pack hi/low value.
24081
76a66d51
AB
240822013-10-04 Anton Blanchard <anton@au1.ibm.com>
24083
24084 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24085 for little-endian.
24086 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24087 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24088 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24089 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24090 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24091
6a31fe7f
AM
240922013-10-04 Alan Modra <amodra@gmail.com>
24093
24094 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24095 constants to usual value for .cst8 section, and remove redundant
24096 high address load.
24097 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24098 constant for 0x1p52. Load little-endian words of double from
24099 correct stack offsets.
24100
7b88401f
AM
241012013-10-04 Alan Modra <amodra@gmail.com>
24102
24103 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24104 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24105 words of double from correct stack offsets.
24106 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24107 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24108 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24109 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24110 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24111 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24112 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24113 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24114 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24115 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24116 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24117 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24118 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24119 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24120 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24121 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24122 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24123
9c008155
AM
241242013-10-04 Alan Modra <amodra@gmail.com>
24125
24126 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24127 64-bit int/double union.
24128 (_FPU_SETCW): Likewise.
24129 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24130 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24131
da13146d
AM
241322013-10-04 Alan Modra <amodra@gmail.com>
24133
24134 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24135 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24136
603e8410
AM
241372013-10-04 Alan Modra <amodra@gmail.com>
24138
24139 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24140 use vector int constants.
24141 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24142
4a28b3ca
AB
241432013-10-04 Anton Blanchard <anton@au1.ibm.com>
24144
24145 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24146 array with long long.
24147 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24148 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24149 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24150 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24151 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24152 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24153 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24154 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24155 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24156 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24157 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24158 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24159 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24160
2ca85d2b
AB
241612013-10-04 Anton Blanchard <anton@au1.ibm.com>
24162
24163 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24164 (__signbit): Likewise. Correct for little-endian.
24165 (__signbitl): Call __signbit.
24166 (lrint): Correct for little-endian.
24167 (lrintf): Call lrint.
24168
62a728ae
AM
241692013-10-04 Alan Modra <amodra@gmail.com>
24170
24171 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24172 union 32-bit int array member with 64-bit int array.
24173 (t515, tm256): Double rather than long double.
24174 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24175
32c301df
AM
241762013-10-04 Alan Modra <amodra@gmail.com>
24177
24178 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24179 Delete.
24180 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24181 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24182 version of math_ldbl.h.
24183
650ef4bd
AM
241842013-10-04 Alan Modra <amodra@gmail.com>
24185
24186 [BZ #15734], [BZ #15735]
24187 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24188 all uses of ieee875 long double macros and unions. Simplify test
24189 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24190 ldbl_extract_mantissa value for ix,iy exponents. Properly
24191 normalize after ldbl_extract_mantissa, and don't add hidden bit
24192 already handled. Don't treat low word of ieee854 mantissa like
24193 low word of IBM long double and mask off bit when testing for
24194 zero.
24195 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24196 all uses of ieee875 long double macros and unions. Simplify tests
24197 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24198 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24199 two1022, instead use their values. Recognise that tests for large
24200 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24201 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24202 Rewrite all uses of ieee875 long double macros and unions. Simplify
24203 test for 0.0L and nan. Correct negation.
24204 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24205 ieee875 long double macros and unions. Correct output for large
24206 magnitude x. Correct absolute value calculation.
24207 (__erfcl): Likewise.
24208 * math/libm-test.inc: Add tests for errors discovered in IBM long
24209 double versions of fmodl, remainderl, erfl and erfcl.
24210
765714ca
AM
242112013-10-04 Alan Modra <amodra@gmail.com>
24212
24213 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24214 all uses of ieee854 long double macros and unions. Simplify tests
24215 for long doubles that are fully specified by the high double.
24216 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24217 Likewise.
24218 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24219 Remove dead code too.
24220 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24221 (__ieee754_ynl): Likewise.
24222 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24223 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24224 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24225 Remove dead code too.
24226 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24227 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24228 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24229 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24230 Simplify.
24231 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24232 Simplify.
24233 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24234 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24235 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24236 Comment on variable precision.
24237 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24238 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24239 Likewise.
24240 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24241 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24242 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24243 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24244 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24245
4ebd120c
AM
242462013-10-04 Alan Modra <amodra@gmail.com>
24247
24248 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24249 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24250 all uses of ieee854 long double macros and unions.
24251 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24252 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24253 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24254 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24255 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24256 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24257 Likewise.
24258 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24259 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24260 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24261 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24262 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24263 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24264 Simplify sign and nan test too.
24265 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24266 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24267 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24268 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24269 Likewise.
24270 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24271 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24272 Likewise.
24273 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24274 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24275 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24276 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24277 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24278 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24279
1b6adf88
AM
242802013-10-04 Alan Modra <amodra@gmail.com>
24281
24282 * stdio-common/printf_size.c (__printf_size): Don't use
24283 union ieee854_long_double in fpnum union.
24284 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24285 signbit macro to retrieve sign from long double.
24286 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24287 retrieve sign from long double.
24288 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24289 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24290 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24291 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24292 * math/test-misc.c (main): Don't use union ieee854_long_double.
24293
4cf69995
AM
242942013-10-04 Alan Modra <amodra@gmail.com>
24295
24296 [BZ #15680]
24297 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24298 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24299 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24300 calculation. Remove unnecessary test for denormal exponent.
24301 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24302 Correct handling of denormals. Avoid undefined shift behaviour.
24303 Correct normalisation of low mantissa when low double is denormal.
24304 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24305 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24306 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24307 Correct normalisation of low mantissa. Test for overflow of high
24308 mantissa and normalise.
24309 (ldbl_nearbyint): Use more readable constant for two52.
24310 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24311 (__mpn_construct_long_double): Fix test for overflow of high
24312 mantissa and correct normalisation. Avoid undefined shift.
24313
9605ca6c
AM
243142013-10-04 Alan Modra <amodra@gmail.com>
24315
24316 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24317 (union ibm_extended_long_double): Define as an array of ieee754_double.
24318 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24319 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24320 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24321 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24322 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24323 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24324 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24325 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24326 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24327 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24328 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24329
975569d0
JM
243302013-10-03 Joseph Myers <joseph@codesourcery.com>
24331
d3d23756
JM
24332 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24333 page size instead of calling getpagesize.
24334
975569d0
JM
24335 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24336 (LOCFILE_ALIGN_MASK): Likewise.
24337 (LOCFILE_ALIGN_UP): Likewise.
24338 (LOCFILE_ALIGNED_P): Likewise.
24339 * locale/programs/ld-collate.c (collate_output): Use the new
24340 macros instead of __alignof__ (int32_t).
24341 * locale/weight.h (findidx): Likewise.
24342
b1fe1f2b
OB
243432013-10-03 Ondřej Bílka <neleai@seznam.cz>
24344
24345 [BZ #431]
24346 * manual/string.texi: Fix strncat and wcsncat.
24347
5f855e35
BM
243482013-10-03 Brooks Moses <bmoses@google.com>
24349
24350 [BZ #15915]
24351 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24352 * Makerules: ...here, and adjust associated comments.
24353
3cef6009
WN
243542013-10-02 Will Newton <will.newton@linaro.org>
24355
24356 * malloc/Makefile: Add tst-pvalloc.
24357 * malloc/tst-pvalloc.c: New file.
24358
7815420b
WN
243592013-10-02 Will Newton <will.newton@linaro.org>
24360
24361 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24362 improve test coverage.
24363
4868b204
WN
243642013-10-02 Will Newton <will.newton@linaro.org>
24365
24366 * malloc/Makefile: Add tst-posix_memalign.
24367 * malloc/tst-posix_memalign.c: New file.
24368
29c793b3
EB
243692013-10-01 Eric Blake <eblake@redhat.com>
24370
24371 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24372 Use __THROWNL rather than __THROW on static functions.
24373
fd967522
PM
243742013-09-30 Petr Machata <pmachata@redhat.com>
24375
24376 * elf/elf.h (R_AARCH64_ABS16): New macro.
24377 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24378 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24379 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24380 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24381 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24382 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24383 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24384 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24385 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24386 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24387 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24388 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24389 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24390 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24391 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24392 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24393 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24394 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24395 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24396 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24397 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24398 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24399 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24400 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24401 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24402 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24403 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24404 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24405 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24406 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24407 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24408 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24409 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24410 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24411 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24412 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24413 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24414 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24415 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24416 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24417 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24418 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24419 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24420 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24421 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24422 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24423 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24424 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24425 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24426 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24427 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24428 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24429 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24430 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24431 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24432 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24433 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24434 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24435 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24436 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24437 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24438 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24439 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24440 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24441 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24442 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24443 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24444 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24445 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24446 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24447 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24448 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24449 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24450 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24451 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24452 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24453 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24454 (R_AARCH64_TLSDESC_LDR): Likewise.
24455 (R_AARCH64_TLSDESC_ADD): Likewise.
24456 (R_AARCH64_TLSDESC_CALL): Likewise.
24457
b2179107
AS
244582013-09-30 Andreas Schwab <schwab@suse.de>
24459
24460 [BZ #15048]
24461 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24462 the nss database lookup.
24463 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24465
47f28d0a
MF
244662013-09-28 Mike Frysinger <vapier@gentoo.org>
24467
24468 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24469
244702013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
24471
24472 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24473 ${Bash-specific parameter/pattern/string} parameter expansion.
24474 * sysdeps/unix/make-syscalls.sh: Likewise.
24475
f4518a17
KK
244762013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24477
24478 * sysdeps/sh/stackguard-macros.h: New file.
24479
dc1a95c7
OB
244802013-09-26 Ondřej Bílka <neleai@seznam.cz>
24481
24482 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24483 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24484 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24485 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24486 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24487 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24488
5ebbff8f
AZ
244892013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24490
24491 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24492 Fix thread ID register.
24493
4fd2cf9f
JM
244942013-09-25 Joseph Myers <joseph@codesourcery.com>
24495
24496 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24497 [POSIX || UNIX98]: Require rather than permitting all symbols from
24498 <time.h>.
24499 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24500 element of struct sched_param.
24501 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24502 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24503 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24504 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24505 constant.
24506
12c22bc4
OL
245072013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24508
24509 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24510 argument calculation.
24511
a03d8ea7
JM
245122013-09-24 Joseph Myers <joseph@codesourcery.com>
24513
24514 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24515 Expect macro.
24516 [POSIX] (pthread_attr_t): Do not require type.
24517 [POSIX] (pthread_cond_t): Likewise.
24518 [POSIX] (pthread_condattr_t): Likewise.
24519 [POSIX] (pthread_key_t): Likewise.
24520 [POSIX] (pthread_mutex_t): Likewise.
24521 [POSIX] (pthread_mutexattr_t): Likewise.
24522 [POSIX] (pthread_once_t): Likewise.
24523 [POSIX] (pthread_t): Likewise.
24524 [POSIX-based standards] (pthread_atfork): Expect function.
24525
6055173a
JM
245262013-09-24 Joseph Myers <joseph@codesourcery.com>
24527 Richard Sandiford <richard@codesourcery.com>
24528
24529 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24530 (swap_endianness_p): New extern variable.
24531 (set_big_endian): New inline function.
24532 (maybe_swap_uint32): Likewise.
24533 (maybe_swap_uint32_array): Likewise.
24534 (maybe_swap_uint32_obstack): Likewise.
24535 * locale/programs/locfile.c: Include <stdbool.h>.
24536 (swap_endianness_p): New variable.
24537 (add_locale_uint32): Call maybe_swap_uint32.
24538 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24539 (write_locale_data): Call maybe_swap_uint32_array.
24540 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24541 maybe_swap_uint32.
24542 (obstack_int32_grow_fast): Likewise.
24543 (output_weightwc): Call maybe_swap_uint32_obstack.
24544 (collate_output): Likewise.
24545 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24546 (OPT_LITTLE_ENDIAN): Likewise.
24547 (options): Add --little-endian and --big-endian options.
24548 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24549 * locale/programs/locarchive.c: Include "locfile.h".
24550 (GET): New macro.
24551 (SET): Likewise.
24552 (INC): Likewise.
24553 (create_archive): Use the new macros to access fields of
24554 structures directly mapped from or written to locale archives.
24555 (oldlocrecentcmp): Likewise.
24556 (enlarge_archive): Likewise.
24557 (insert_name): Likewise.
24558 (add_alias): Likewise.
24559 (add_locale): Likewise.
24560 (delete_locales_from_archive): Likewise.
24561 (show_archive_content): Likewise.
24562 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24563 locale data.
24564
39bf0bb4
RM
245652013-09-24 Roland McGrath <roland@hack.frob.com>
24566
24567 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24568 http://www.gnu.org/doc/freemanuals.texi.
24569 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24570
f02eed10
WN
245712013-09-24 Will Newton <will.newton@linaro.org>
24572
24573 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24574 macro.
24575
a3a6c312
JM
245762013-09-23 Joseph Myers <joseph@codesourcery.com>
24577
24578 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24579 unsigned char.
24580
107375ac
MR
245812013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24582
24583 * manual/threads.texi (POSIX Threads): Fix a typo.
24584
141f3a77
SP
245852013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24586
303e567a
SP
24587 [BZ #14547]
24588 * string/tst-strcoll-overflow.c: New test case.
24589 * string/Makefile (xtests): Add tst-strcoll-overflow.
24590 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24591 cache if string sizes may cause integer overflow.
24592
141f3a77
SP
24593 [BZ #14547]
24594 * string/strcoll_l.c (coll_seq): New members rule, idx,
24595 save_idx and back_us.
24596 (get_next_seq_nocache): New function.
24597 (do_compare_nocache): New function.
24598 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24599 when malloc fails.
24600
c61b4d41
CD
246012013-09-23 Carlos O'Donell <carlos@redhat.com>
24602
0b1f8e35
CD
24603 [BZ #15754]
24604 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24605 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24606 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24607
c61b4d41
CD
24608 [BZ #15754]
24609 * elf/Makefile (tests): Add tst-ptrguard1.
24610 (tests-static): Add tst-ptrguard1-static.
24611 (tst-ptrguard1-ARGS): Define.
24612 (tst-ptrguard1-static-ARGS): Define.
24613 * elf/tst-ptrguard1.c: New file.
24614 * elf/tst-ptrguard1-static.c: New file.
24615 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24616 * sysdeps/i386/stackguard-macros.h: Likewise.
24617 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24618 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24619 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24620 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24621 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24622 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24623
246242013-09-23 Hector Marco <hecmargi@upv.es>
24625 Ismael Ripoll <iripoll@disca.upv.es>
24626 Carlos O'Donell <carlos@redhat.com>
24627
24628 [BZ #15754]
24629 * sysdeps/generic/stackguard-macros.h: Define
24630 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24631 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24632 Define __pointer_chk_guard_local.
24633 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24634 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24635
f5f4e7b4
VV
246362013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24637
24638 [BZ #15859]
24639 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24640
5bb43a43
AS
246412013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24642
24643 * include/string.h (__ffs): Declare as hidden.
24644 * string/ffs.c (__ffs): Define as hidden.
24645 * sysdeps/i386/ffs.c (__ffs): Likewise.
24646 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24647 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24648 * sysdeps/s390/ffs.c (__ffs): Likewise.
24649 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24650
3ea5be54
AO
246512013-09-20 Alexandre Oliva <aoliva@redhat.com>
24652
ffb89e53
AO
24653 * NEWS: Mention malloc probes.
24654
322dea08
AO
24655 * malloc/arena.c (new_heap): New memory_heap_new probe.
24656 (grow_heap): New memory_heap_more probe.
24657 (shrink_heap): New memory_heap_less probe.
24658 (heap_trim): New memory_heap_free probe.
24659 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24660 (systrim): New memory_sbrk_less probe.
24661 * manual/probes.texi: Document them.
24662
655673f3
AO
24663 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24664 * manual/probes.texi: Document it.
24665
35fed6f1
AO
24666 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24667 (__libc_realloc): Add memory_realloc_retry probe.
24668 (__libc_memalign): Add memory_memalign_retry probe.
24669 (__libc_valloc): Add memory_valloc_retry probe.
24670 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24671 (__libc_calloc): Add memory_calloc_retry probe.
24672 * manual/probes.texi: Document them.
24673
6999d38c
AO
24674 * malloc/arena.c (get_free_list): Add probe
24675 memory_arena_reuse_free_list.
24676 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24677 and memory_arena_reuse.
24678 (arena_get2) [!PER_THREAD]: Likewise.
24679 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24680 memory_arena_reuse_realloc.
24681 * manual/probes.texi: Document them.
24682
0653427f
AO
24683 * malloc/malloc.c (__libc_free): Add
24684 memory_mallopt_free_dyn_thresholds probe.
24685 (__libc_mallopt): Add multiple memory_mallopt probes.
24686 * manual/probes.texi: Document them.
24687
3ea5be54
AO
24688 * malloc/malloc.c: Include stap-probe.h.
24689 (__libc_mallopt): Add memory_mallopt probe.
24690 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24691 * manual/probes.texi: New.
24692 * manual/Makefile (chapters): Add probes.
24693 * manual/threads.texi: Set next node.
24694
e35696c3 246952013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 24696
e35696c3
CL
24697 [BZ #15963, #13985]
24698 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24699 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24700 Add `Chinese' to `nan' entry name.
24701
4aafb73c
SP
247022013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24703
24704 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24705 (POLYNOMIAL): Likewise.
24706 (TAYLOR_SINCOS): Likewise.
24707 (TAYLOR_SLOW): Likewise.
24708 (__sin): Use TAYLOR_SINCOS.
24709 (__cos): Likewise.
24710 (slow): Use TAYLOR_SLOW.
24711 (sloww): Likewise.
24712 (bsloww): Likewise.
24713 (csloww): Likewise.
24714
d84f25c7
LD
247152013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24716
24717 * stdlib/strtod_l.c: Fix buffer overrun.
24718
5eea0404
SP
247192013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24720
7849ff93
SP
24721 * benchtests/Makefile (bench): Add sincos.
24722 * benchtests/bench-sincos.c: New file.
24723
cfa3c886
SP
24724 * math/libm-test.inc (cos_test_data): New test inputs.
24725 (sin_test_data): Likewise.
24726
b348e1e3
SP
24727 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24728 macro.
24729 (__sin): Use it.
24730 (__cos): Likewise.
24731 (slow1): Likewise.
24732 (slow2): Likewise.
24733 (sloww1): Likewise.
24734 (sloww2): Likewise.
24735 (bsloww1): Likewise.
24736 (bsloww2): Likewise.
24737 (cslow2): Likewise.
24738 (csloww1): Likewise.
24739 (csloww2): Likewise.
24740
6cce25f8
SP
24741 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24742 function.
24743 (__sin): Use it.
24744 (__cos): Likewise.
24745
5eea0404
SP
24746 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24747 gotos.
24748 (__cos): Likewise.
24749
9c21573c
MR
247502013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24751
24752 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24753 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24754 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24755 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24756 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24757 * elf/cache.c (print_entry): Handle the new cache flags.
24758
24d22e65
JM
247592013-09-18 Joseph Myers <joseph@codesourcery.com>
24760 Aldy Hernandez <aldyh@redhat.com>
24761
24762 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24763 Change condition to [_SOFT_FLOAT].
24764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24765 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24766 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24770 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24771 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24772 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24773 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24774 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24775 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24776 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24777 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24778 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24779 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24780 declaration.
24781
d13ef066
JM
247822013-09-18 Joseph Myers <joseph@codesourcery.com>
24783
2e071de0
JM
24784 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24785 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24786 (__longjmp): Use LOAD_GP to load saved GPRs.
24787 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24788 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24789 (__sigsetjmp): Use SAVE_GP to save GPRs.
24790
d13ef066
JM
24791 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24792 Do not append -msoft-float.
24793 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24794
97a0650b
SP
247952013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24796
24797 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24798
11ca09e9
JM
247992013-09-17 Joseph Myers <joseph@codesourcery.com>
24800
24801 [BZ #15966]
24802 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24803 (_FPU_GETCW): Use initial "__" on variable and field names but not
24804 on macro parameter name.
24805 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24806 parentheses around reference to macro parameter.
24807
08ffcf34
RS
248082013-09-13 Richard Sandiford <richard@codesourcery.com>
24809
24810 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24811 prototype.
24812 (ctype_startup): Use uint32_t in cast and sizeof for
24813 ctype->charnames.
24814
ae7080d3
JL
248152013-09-11 Jia Liu <proljc@gmail.com>
24816
24817 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24818 __daddr_t_defined.
24819 [__FreeBSD__]: Likewise.
24820
5905e7b3
OB
248212013-09-11 Ondřej Bílka <neleai@seznam.cz>
24822
24823 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24824 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24825 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24826 (strchr): Remove __strchr_sse42 ifunc selection.
24827 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24828 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24829
b987c776
WN
248302013-09-11 Will Newton <will.newton@linaro.org>
24831
24832 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24833 parameter to RES. Remove hardcoded 1000 value.
24834 * benchtests/bench-skeleton.c (main): Pass RES parameter
24835 to TIMING_INIT and multiply result by 1000.
24836
ddf985af
AZ
248372013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24838
24839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24840
ffdd3181
AS
248412013-09-11 Andreas Schwab <schwab@suse.de>
24842
24843 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24844 if not defined.
24845 (O_TMPFILE) [__USE_GNU]: Define.
24846 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24847 Define.
24848
b73ed247
WN
248492013-09-11 Will Newton <will.newton@linaro.org>
24850
24851 [BZ #15857]
24852 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24853 does not overflow.
24854
55e17aad
WN
248552013-09-11 Will Newton <will.newton@linaro.org>
24856
24857 [BZ #15856]
24858 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24859 does not overflow.
24860
1159a193
WN
248612013-09-11 Will Newton <will.newton@linaro.org>
24862
24863 [BZ #15855]
24864 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24865 does not overflow.
24866
5905e7b3 248672013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
24868
24869 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24870 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24871 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24872 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24873 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24874
cdfc721b
AM
248752013-09-10 Allan McRae <allan@archlinux.org>
24876
aa04af00
AM
24877 [BZ #15748]
24878 * manual/arith.texi (Parsing of Floats): Clarify
24879 cross-reference.
24880
cdfc721b
AM
24881 [BZ #15849]
24882 * manual/install.texi (Running make install): Mention
24883 --enable-pt-chown.
24884 * INSTALL: Regenerated.
24885
95e7cf29
MR
248862013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24887
24888 * csu/init-first.c (_init): Remove the !SHARED condition around
24889 FPU control word initialization.
24890 * elf/dl-support.c (_dl_fpu_control): New variable.
24891 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24892 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24893 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24894 * math/test-fpucw-static.c: New file.
24895 * math/test-fpucw-ieee.c: New file.
24896 * math/test-fpucw-ieee-static.c: New file.
24897 * math/Makefile (tests): Add `test-fpucw-ieee' and
24898 `$(tests-static)'.
24899 (tests-static): New variable.
24900 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24901 dependency to...
24902 [($(build-shared),yes)]
24903 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24904 ... this.
24905 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24906 New dependency.
24907
83e43bf0
AM
249082013-09-09 Allan McRae <allan@archlinux.org>
24909
a9f5ce09
AM
24910 [BZ #15939]
24911 * manual/string.texi (Collation Functions): Fix typo in
24912 strcoll example.
24913 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24914
34829bc2
AM
24915 [BZ #15893]
24916 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24917
3932737d
AM
24918 [BZ #15892]
24919 * libio/memstream.c (open_memstream): Fix memory leak.
24920 * libio/wmemstream.c (open_wmemstream): Likewise.
24921
83e43bf0
AM
24922 [BZ #15895]
24923 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24924
0c66b8e9
WN
249252013-09-09 Will Newton <will.newton@linaro.org>
24926
24927 * malloc/Makefile: Add tst-realloc to tests.
24928 * malloc/tst-realloc.c: New file.
24929
f6b00fd1
AM
249302013-09-09 Allan McRae <allan@archlinux.org>
24931
24932 [BZ #15844]
24933 * COPYING: Update from GNU website to fix FSF address.
24934 * COPYING.LIB: Likewise.
24935
eec55e16
DM
249362013-09-06 David S. Miller <davem@davemloft.net>
24937
24938 * po/zh_TW.po: Update Chinese (traditional) translation from
24939 translation project.
24940
1ecbb381
RS
249412013-09-06 Richard Sandiford <richard@codesourcery.com>
24942 Joseph Myers <joseph@codesourcery.com>
24943
24944 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24945 "localeinfo.h".
24946 (obstack_chunk_alloc): New macro.
24947 (obstack_chunk_free): Likewise.
24948 (record_offset): New function.
24949 (init_locale_data): Likewise.
24950 (align_locale_data): Likewise.
24951 (add_locale_empty): Likewise.
24952 (add_locale_raw_data): Likewise.
24953 (add_locale_raw_obstack): Likewise.
24954 (add_locale_string): Likewise.
24955 (add_locale_wstring): Likewise.
24956 (add_locale_uint32): Likewise.
24957 (add_locale_uint32_array): Likewise.
24958 (add_locale_char): Likewise.
24959 (start_locale_structure): Likewise.
24960 (end_locale_structure): Likewise.
24961 (start_locale_prelude): Likewise.
24962 (end_locale_prelude): Likewise.
24963 (write_locale_data): Take locale_file structure rather than an
24964 iovec.
24965 * locale/programs/locfile.h: Include "obstack.h".
24966 (struct locale_file): Change to store locale file contents instead
24967 of header.
24968 (init_locale_data): New prototype.
24969 (align_locale_data): Likewise.
24970 (add_locale_empty): Likewise.
24971 (add_locale_raw_data): Likewise.
24972 (add_locale_raw_obstack): Likewise.
24973 (add_locale_string): Likewise.
24974 (add_locale_wstring): Likewise.
24975 (add_locale_uint32): Likewise.
24976 (add_locale_uint32_array): Likewise.
24977 (add_locale_char): Likewise.
24978 (start_locale_structure): Likewise.
24979 (end_locale_structure): Likewise.
24980 (start_locale_prelude): Likewise.
24981 (end_locale_prelude): Likewise.
24982 (write_locale_data): Update prototype.
24983 * locale/programs/3level.h (struct TABLE): Remove result field.
24984 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24985 Use new locale_file interface.
24986 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24987 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24988 * locale/programs/ld-address.c (address_output): Use new
24989 locale_file interface.
24990 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24991 NO_ADD_LOCALE.
24992 (collate_finish): Don't call collseq_table_finalize.
24993 (collate_output): Use new locale_file interface.
24994 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24995 in file.
24996 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24997 (TABLE): Move defines earlier in file.
24998 (ELEMENT): Likewise.
24999 (DEFAULT): Likewise.
25000 (wctrans_table_add): Move macro and inline function earlier in
25001 file.
25002 (struct wctype_table): Move type earlier in file.
25003 (add_locale_wctype_table): New static prototype.
25004 (struct locale_ctype_t): Use logical types instead of struct iovec
25005 pointers for members.
25006 (ctype_output): Use new locale_file interface.
25007 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25008 new locale_file interface.
25009 (allocate_arrays): Update for use of new locale_file interface.
25010 * locale/programs/ld-identification.c (identification_output): Use
25011 new locale_file interface.
25012 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25013 * locale/programs/ld-messages.c (messages_output): Likewise.
25014 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25015 * locale/programs/ld-name.c (name_output): Likewise.
25016 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25017 * locale/programs/ld-paper.c (paper_output): Likewise.
25018 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25019 * locale/programs/ld-time.c (time_output): Likewise.
25020
e029e2e5
AZ
250212013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25022
25023 * benchtests/Makefile: Add memrchr benchmark.
25024 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25025 benchmark as memrchr.
25026 * benchtests/bench-memrchr-ifunc.c: New file.
25027 * benchtests/bench-memrchr.c: New file.
25028
bbf6e8e4
WN
250292013-09-06 Will Newton <will.newton@linaro.org>
25030
25031 * benchtests/Makefile (string-bench): Add memcpy.
25032
6c82a2f8
CD
250332013-09-05 Carlos O'Donell <carlos@redhat.com>
25034 Cong Wang <amwang@redhat.com>
25035
e732c5f0 25036 [BZ #15850]
6c82a2f8
CD
25037 * sysdeps/unix/sysv/linux/bits/in.h
25038 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25039 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25040 before __USE_KERNEL_IPV6_DEFS uses.
25041 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25042 IPPROTO_BEETPH.
25043 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25044 sockaddr_in6, or ipv6_mreq.
25045
5430fc65
AZ
250462013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25047
25048 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25049 memory access for final bytes in some large inputs.
25050 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25051
4660856c
AZ
250522013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25053
25054 * string/test-memrchr.c: New file.
25055 * string/test-memrchr-ifunc.c: New file.
25056 * string/Makefile: Add new memrchr testcase.
25057
bb8ea713
MF
250582013-09-05 Mike Frysinger <vapier@gentoo.org>
25059
25060 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25061 fanotify_init returns EPERM.
25062
b92a20b5
JM
250632013-09-04 Joseph Myers <joseph@codesourcery.com>
25064
25065 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25066 errors.
25067 (top level): Treat second token from macro or constant entries for
25068 allowed headers as allowed.
25069 * include/complex.h: Condition internal declarations on
25070 [!_ISOMAC].
25071 * include/fenv.h: Condition include of <stdbool.h> and internal
25072 declarations on [!_ISOMAC].
7447ccd9
CL
25073
250742013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25075
3e181dda 25076 [BZ #15923]
7447ccd9
CL
25077 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25078
3f2e46a4
JM
250792013-09-04 Joseph Myers <joseph@codesourcery.com>
25080
25081 * configure.in (--enable-versioning): Remove configure option.
25082 (libc_cv_asm_symver_directive): Remove configure test.
25083 (libc_cv_ld_version_script_option): Likewise.
25084 (VERSIONING): Remove variable and AC_SUBST.
25085 (DO_VERSIONING): Remove AC_DEFINE.
25086 * configure: Regenerated.
25087 * config.h.in (DO_VERSIONING): Remove macro.
25088 * Makerules [$(versioning) = yes]: Change conditionals to
25089 [$(build-shared) = yes].
25090 * config.make.in (versioning): Remove variable.
25091 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25092 [$(build-shared) = yes].
25093 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25094 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25095 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25096 [$(build-shared) = yes].
25097 * extra-lib.mk [$(versioning) = yes]: Likewise.
25098 * hurd/Makefile [$(versioning) = yes]: Likewise.
25099 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25100 [SHARED].
25101 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25102 [SHARED].
25103 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25104 [SHARED && !NO_HIDDEN].
25105 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25106 [SHARED].
25107 [SHARED && DO_VERSIONING]: Likewise..
25108 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25109 [$(build-shared) = yes].
25110 * manual/install.texi (--disable-versioning): Remove
25111 documentation.
25112 * INSTALL: Regenerated.
25113 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25114 to [SHARED].
25115 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25116 [$(build-shared) = yes].
25117 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25118 * sysdeps/i386/i686/multiarch/strstr-c.c
25119 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25120 [SHARED && !NO_HIDDEN].
25121 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25122 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25123 * sysdeps/powerpc/powerpc32/dl-machine.c
25124 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25125 * sysdeps/powerpc/powerpc32/sysdep.h
25126 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25127 to [SHARED && PIC && !NO_HIDDEN].
25128 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25129 conditional to [SHARED].
25130
44558701
WN
251312013-09-04 Will Newton <will.newton@linaro.org>
25132
25133 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25134 * benchtests/bench-string.h: Include bench-timing.h instead
25135 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25136 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25137 call to HP_TIMING_DIFF_INIT.
25138 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25139 instead of hp-timing.h macros.
25140 * benchtests/bench-memchr.c: Likewise.
25141 * benchtests/bench-memcmp.c: Likewise.
25142 * benchtests/bench-memcpy.c: Likewise.
25143 * benchtests/bench-memmem.c: Likewise.
25144 * benchtests/bench-memmove.c: Likewise.
25145 * benchtests/bench-memset.c: Likewise.
25146 * benchtests/bench-rawmemchr.c: Likewise.
25147 * benchtests/bench-strcasecmp.c: Likewise.
25148 * benchtests/bench-strcasestr.c: Likewise.
25149 * benchtests/bench-strcat.c: Likewise.
25150 * benchtests/bench-strchr.c: Likewise.
25151 * benchtests/bench-strcmp.c: Likewise.
25152 * benchtests/bench-strcpy.c: Likewise.
25153 * benchtests/bench-strcpy_chk.c: Likewise.
25154 * benchtests/bench-strlen.c: Likewise.
25155 * benchtests/bench-strncasecmp.c: Likewise.
25156 * benchtests/bench-strncat.c: Likewise.
25157 * benchtests/bench-strncmp.c: Likewise.
25158 * benchtests/bench-strncpy.c: Likewise.
25159 * benchtests/bench-strnlen.c: Likewise.
25160 * benchtests/bench-strpbrk.c: Likewise.
25161 * benchtests/bench-strrchr.c: Likewise.
25162 * benchtests/bench-strspn.c: Likewise.
25163 * benchtests/bench-strstr.c: Likewise.
25164
cae16d66
WN
251652013-09-04 Will Newton <will.newton@linaro.org>
25166
25167 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25168
ffa3cd7f
JM
251692013-09-03 Joseph Myers <joseph@codesourcery.com>
25170
25171 [BZ #15427]
25172 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25173 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25174 * math/libm-test.inc (lgamma_test_data): Add more tests.
25175 * sysdeps/i386/fpu/libm-test-ulps: Update.
25176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25177
8f02859f
OB
251782013-09-03 Ondřej Bílka <neleai@seznam.cz>
25179
25180 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25181 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25182 Add ifunc.
25183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25184 Add strcmp-sse2-unaligned
25185 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25186
18d43716
MF
251872013-09-02 Mike Frysinger <vapier@gentoo.org>
25188
25189 * Versions.def (libc): Add GLIBC_2.19.
25190
ac444012
MF
251912013-09-02 Mike Frysinger <vapier@gentoo.org>
25192
25193 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25194 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25195
b7835e32
JM
251962013-09-02 Joseph Myers <joseph@codesourcery.com>
25197
25198 [BZ #14155]
25199 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25200 intermediate calculations in recurrence.
25201 (__ieee754_ynf): Likewise.
25202 * math/libm-test.inc (jn_test_data): Do not allow spurious
25203 underflow exception. Add more tests.
25204 (yn_test_data): Add more tests.
25205 * sysdeps/i386/fpu/libm-test-ulps: Update.
25206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25207
8220f4f0
OB
252082013-09-02 Ondřej Bílka <neleai@seznam.cz>
25209
25210 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25211
f24a6d08
OB
252122013-08-30 Ondřej Bílka <neleai@seznam.cz>
25213
25214 * csu/init-first.c: Fix then/than typos.
25215 * locale/programs/ld-collate.c: Likewise.
25216 * locale/programs/linereader.h: Likewise.
25217 * manual/charset.texi: Likewise.
25218 * manual/filesys.texi: Likewise.
25219 * manual/stdio.texi: Likewise.
25220 * manual/string.texi: Likewise.
25221 * stdlib/fmtmsg.c: Likewise.
25222 * sysdeps/i386/stpncpy.S: Likewise.
25223 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25224 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25225 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25226 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25227
382466e0
OB
252282013-08-30 Ondřej Bílka <neleai@seznam.cz>
25229
25230 * elf/dl-open.c: Fix typos.
25231 * iconvdata/gbbig5.c: Likewise.
25232 * iconvdata/iso-2022-jp.c: Likewise.
25233 * iconv/gconv_int.h: Likewise.
25234 * iconv/loop.c: Likewise.
25235 * nis/rpcsvc/nis.h: Likewise.
25236 * resolv/ns_name.c: Likewise.
25237 * stdio-common/vfscanf.c: Likewise.
25238 * streams/stropts.h: Likewise.
25239 * sunrpc/rpc_thread.c: Likewise.
25240 * sysdeps/i386/strpbrk.S: Likewise.
25241 * sysdeps/ieee754/k_standard.c: Likewise.
25242 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25243 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25244 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25245 * sysdeps/mach/hurd/profil.c: Likewise.
25246 * sysdeps/s390/dl-procinfo.h: Likewise.
25247 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25248 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25249 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25250 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25251 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25252
0186c6e9
OB
252532013-08-30 Ondřej Bílka <neleai@seznam.cz>
25254
25255 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25256 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25257
d4e16af1
OB
252582013-08-29 Ondřej Bílka <neleai@seznam.cz>
25259
25260 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25261 aix specific files.
25262 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25263 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25264 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25265 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25266 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25267 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25268 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25269 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25270
88335980
TS
252712013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25272 Roland McGrath <roland@hack.frob.com>
25273
25274 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25275 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25276
ed479b02
ST
252772013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25278
25279 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25280 __executable_start symbol instead of _start.
25281
f1cc4c86
TS
252822013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25283
d821f07c
TS
25284 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25285 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25286 Move macros to...
25287 * sysdeps/gnu/ldsodefs.h: ... this new file.
25288
c54290cf
TS
25289 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25290 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25291 instead of ELFOSABI_LINUX.
25292
0007fc9b 25293 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
25294 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25295 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25296 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25297 Likewise.
25298 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25299 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25300 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25301 Likewise.
25302 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25303 (ibm_extended_long_double): Add ieee_nan member.
25304 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25305 (do_test): New function.
25306
f1cc4c86
TS
25307 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25308 TEST_TRUNC.
25309 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25310 functions, renamed from truncdfsf_test, trunctfsf_test,
25311 trunctfdf_test.
25312 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25313 functions.
25314 (do_test): Run all these.
25315
6f65e668
OB
253162013-08-29 Ondřej Bílka <neleai@seznam.cz>
25317
25318 * argp/argp-help.c: Fix typos.
25319 * argp/argp-parse.c: Likewise.
25320 * debug/backtracesyms.c: Likewise.
25321 * elf/elf.h: Likewise.
25322 * malloc/malloc.c: Likewise.
25323 * nis/nis_print.c: Likewise.
25324 * resolv/res_comp.c: Likewise.
25325 * stdlib/stdlib.h: Likewise.
25326 * sunrpc/clnt_tcp.c: Likewise.
25327 * sunrpc/clnt_udp.c: Likewise.
25328 * sunrpc/clnt_unix.c: Likewise.
25329 * sysdeps/unix/bsd/ptsname.c: Likewise.
25330 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25331 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
25332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25333 Likewise.
25334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25335 Likewise.
25336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25337 Likewise.
6f65e668
OB
25338 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25339
3a309239
SP
253402013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25341
25342 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25344
3b813b29
MF
253452013-08-27 Mike Frysinger <vapier@gentoo.org>
25346
25347 [BZ #15897]
25348 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25349 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25350 ($(objpfx)bug-dl-leaf): New rule.
25351 ($(objpfx)bug-dl-leaf.so): Likewise.
25352 ($(objpfx)bug-dl-leaf.out): Likewise.
25353 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25354 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25355 * dlfcn/bug-dl-leaf.c: New test.
25356 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25357 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25358 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25359 (dlclose): Likewise.
25360 (dlmopen): Likewise.
25361
8cc3269f
RM
253622013-08-27 Roland McGrath <roland@hack.frob.com>
25363
7f9d0034
RM
25364 * include/netdb.h [!_ISOMAC]:
25365 Don't include <tls.h>.
25366 (h_errno, __libc_h_errno): Move declaration and macros out of
25367 [_LIBC_REENTRANT].
25368
fb431262
RM
25369 * include/resolv.h [_RESOLV_H_]:
25370 Don't include <tls.h>.
25371 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25372 * resolv/res_libc.c: Don't include <tls.h>.
25373 (_res): Use __attribute__ ((nocommon)) in place of
25374 __attribute__ ((section (".bss"))).
25375
bd81123a
RM
25376 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25377 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25378
c4e42566
RM
25379 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25380
f890a59b
RM
25381 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25382 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25383
25384 * resolv/res_mkquery.c: Include <sys/time.h>.
25385
5d1f0a09
RM
25386 * inet/ifreq.c: Moved to ...
25387 * sysdeps/unix/ifreq.c: ... here.
25388 * inet/ifreq.c: New file, true stub version.
25389
6fcf28b3
RM
25390 * socket/sa_len.c: New file.
25391 * socket/Makefile (aux): Add it.
25392 * sysdeps/unix/sysv/linux/Makefile
25393 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25394 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25395 and #include <socket/sa_len.c>.
25396 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25397 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25398
e041fb8b
RM
25399 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25400 * bits/socket.h: ... here.
25401
8cc3269f
RM
25402 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25403 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25404 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25405
5d228a43
AS
254062013-08-27 Andreas Schwab <schwab@suse.de>
25407
45b8accc
AS
25408 [BZ #15736]
25409 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25410 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25411 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25412 * string/test-strcasecmp.c (test_main): Run tests in several
25413 locales.
25414 * string/test-strncasecmp.c (test_main): Likewise.
25415
5d228a43
AS
25416 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25417 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25418 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25420 (__strncasecmp_ssse3) [PIC]: Likewise.
25421
59d112a4
RM
254222013-08-26 Roland McGrath <roland@hack.frob.com>
25423
53234cc3
RM
25424 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25425
59d112a4
RM
25426 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25427 instead of explicitly declaring xdecrypt.
25428 * nis/nss_nis/nis-publickey.c: Likewise.
25429
595aba70
SP
254302013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25431
25432 [BZ #15890]
25433 * nscd/aicache.c: Include res_hconf.h.
25434 (addhstaiX): Initialize res_hconf.
25435
ffabd393
AS
254362013-08-26 Andreas Schwab <schwab@suse.de>
25437
25438 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25439 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25440
e0a69f5c
SP
254412013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25442
25443 * nscd/aicache.c (addhstaiX): Fix indentation.
25444
8c12f01d
MF
254452013-08-25 Mike Frysinger <vapier@gentoo.org>
25446
25447 * configure.ac: Quote $build_pt_chown test.
25448 * configure: Regenerated.
25449
8fe89494
JM
254502013-08-23 Joseph Myers <joseph@codesourcery.com>
25451
25452 [BZ #15532]
25453 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25454 * math/s_cexpf.c (__cexpf): Likewise.
25455 * math/s_cexpl.c (__cexpl): Likewise.
25456 * math/libm-test.inc (cexp_test_data): Correct expected return
25457 value for NaN + i0. Add another test.
25458
75b181d6
DM
254592013-08-22 David S. Miller <davem@davemloft.net>
25460
25461 * po/ca.po: Update Catalan translation from translation project.
936241e4 25462 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 25463
acd06bb1
JM
254642013-08-21 Joseph Myers <joseph@codesourcery.com>
25465
25466 [BZ #15797]
25467 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25468 is infinite, not alongside NaN test.
25469 * math/s_fdimf.c (__fdimf): Likewise.
25470 * math/s_fdiml.c (__fdiml): Likewise.
25471 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25472 errno is unchanged.
25473
c0c3f78a
OB
254742013-08-21 Ondřej Bílka <neleai@seznam.cz>
25475
25476 * argp/argp-help.c: Fix typos.
25477 * crypt/speeds.c: Likewise.
25478 * csu/check_fds.c: Likewise.
25479 * elf/dl-load.c: Likewise.
25480 * elf/dl-open.c: Likewise.
25481 * elf/reldep3.c: Likewise.
25482 * elf/reldep.c: Likewise.
25483 * elf/sprof.c: Likewise.
25484 * iconv/iconv_charmap.c: Likewise.
25485 * iconv/skeleton.c: Likewise.
25486 * iconv/strtab.c: Likewise.
25487 * io/lockf64.c: Likewise.
25488 * libio/libioP.h: Likewise.
25489 * resolv/gai_notify.c: Likewise.
25490 * resolv/ns_name.c: Likewise.
25491 * resolv/ns_samedomain.c: Likewise.
25492 * resolv/res_send.c: Likewise.
25493 * stdlib/random.c: Likewise.
25494 * sunrpc/rpc/xdr.h: Likewise.
25495 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25496 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25497 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25498 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25499 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25500 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25501 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25502 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25503 * sysdeps/mach/hurd/check_fds.c: Likewise.
25504 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25505 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25506 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25507 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25508 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25509 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25510 * sysdeps/pthread/aio_notify.c: Likewise.
25511 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25512 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25513 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25514 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25515 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25516
46ed1038
LD
255172013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25518
25519 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25520 version if bit_Slow_SSE4_2 is set.
25521 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25522 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25523
d400dcac
AZ
255242013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25525
25526 [BZ #15867]
25527 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25528 trampoline stack frame information.
25529 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25530 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25531 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25532 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25533 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25534 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25535 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25536 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25537 sa_flags value.
25538 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25539 interrupting a syscall and set with option SA_SIGINFO.
25540
42c8fdd8
JM
255412013-08-20 Joseph Myers <joseph@codesourcery.com>
25542
c980f2f4
JM
25543 [BZ #15531]
25544 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25545 argument is infinite.
25546 * math/s_cprojf.c (__cprojf): Likewise.
25547 * math/s_cprojl.c (__cprojl): Likewise.
25548 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25549 * math/libm-test.inc (cproj_test_data): Add more tests.
25550
0716c4fc
JM
25551 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25552
42c8fdd8
JM
25553 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25554 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25555 size. Use __ffs to determine corresponding shift.
25556
b31469d0
JM
255572013-08-20 Joseph Myers <joseph@codesourcery.com>
25558 Roland McGrath <roland@hack.frob.com>
25559
25560 * Makefile (INSTALL): Remove trailing blank lines from output of
25561 makeinfo.
25562
4e39af6e
AK
255632013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25564
25565 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25566 Align 32 bit compat elf_greg to 8 bytes.
25567
f315524e
AA
255682013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25569
25570 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25571
1326ba1a
SP
255722013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25573
25574 * string/strcoll_l.c (coll_seq): New structure.
25575 (get_next_seq_cached): New function.
25576 (get_next_seq): New function.
25577 (do_compare): New function.
25578 (STRCOLL): Use GNU style definition. Simplify implementation
25579 by using get_next_seq, get_next_seq_cached and do_compare.
25580
91ce4085
FW
255812013-08-16 Florian Weimer <fweimer@redhat.com>
25582
25583 [BZ #14699]
25584 CVE-2013-4237
25585 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25586 member.
25587 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25588 member.
25589 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25590 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25591 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25592 conditional.
25593 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25594 GETDENTS_64BIT_ALIGNED.
25595 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25596 * manual/filesys.texi (Reading/Closing Directory): Document
25597 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25598 strongly.
25599 * manual/conf.texi (Limits for Files): Add portability note to
25600 NAME_MAX, PATH_MAX.
25601 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25602
ca0a6bc4
AS
256032013-08-13 Andreas Schwab <schwab@suse.de>
25604
25605 [BZ #15749]
25606 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25607 of fabs.
25608 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25609 LDBL_MAX_EXP >= 16384]: Add tests for it.
25610
6c1fd795
DM
256112013-08-12 David S. Miller <davem@davemloft.net>
25612
25613 * version.h (RELEASE): Set to "development".
25614 (VERSION): Set to "2.18.90".
25615 * NEWS: Add 2.19 section.
25616
31ad488d
DM
256172013-08-03 David S. Miller <davem@davemloft.net>
25618
25619 * po/ko.po: Update Korean translation from translation project.
25620
db24e684
DM
256212013-08-01 David S. Miller <davem@davemloft.net>
25622
25623 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25624 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25625 Bilka.
25626
f723285b
DM
256272013-07-30 David S. Miller <davem@davemloft.net>
25628
25629 * po/fr.po: Update French translation from translation project.
25630
3cbc52db
DM
256312013-07-28 David S. Miller <davem@davemloft.net>
25632
30bbc0cc
DM
25633 * po/cs.po: Update Czech translation from translation project.
25634
3cbc52db
DM
25635 * po/sv.po: Update Swedish translation from translation project.
25636
d492e6d0
DM
256372013-07-27 David S. Miller <davem@davemloft.net>
25638
f1a7f492
DM
25639 * po/eo.po: Update Esperanto translation from translation project.
25640
90e62a4a
DM
25641 * po/vi.po: Update Vietnamese translation from translation project.
25642
d492e6d0
DM
25643 * po/de.po: Update German translation from translation project.
25644
d4baa62d
DM
256452013-07-26 David S. Miller <davem@davemloft.net>
25646
641aa7b4
DM
25647 * po/bg.po: Update Bulgarian translation from translation project.
25648
d4baa62d
DM
25649 * po/nl.po: Update Dutch translation from translation project.
25650 * po/pl.po: Update Polish translation from translation project.
25651 * po/ru.po: Update Russian translation from translation project.
25652
61a9dcb9
DM
256532013-07-24 David S. Miller <davem@davemloft.net>
25654
25655 * po/libc.pot: Update.
25656
7b1f8b58
AZ
256572013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25658
25659 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25660 variable page size.
25661 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25662 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25663 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25664
a8fc7a03
AK
256652013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25666
25667 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25668
e4608715
CD
256692013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25670 Andreas Schwab <schwab@suse.de>
25671 Roland McGrath <roland@hack.frob.com>
25672 Joseph Myers <joseph@codesourcery.com>
25673 Carlos O'Donell <carlos@redhat.com>
25674
25675 [BZ #15755]
25676 * config.h.in: Define HAVE_PT_CHOWN.
25677 * config.make.in (build-pt-chown): New variable.
25678 * configure.in (--enable-pt_chown): New configure option.
25679 * configure: Regenerate.
25680 * login/Makefile: Include Makeconfig. Build pt_chown only if
25681 build-pt-chown is enabled.
25682 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25683 pt_chown to fix pty ownership.
25684 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25685 CLOSE_ALL_FDS.
25686 * manual/install.texi (Configuring and compiling): Mention
25687 --enable-pt_chown. Add @findex for grantpt.
25688 * INSTALL: Regenerate.
25689
da2d62df
DM
256902013-07-20 David S. Miller <davem@davemloft.net>
25691
25692 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25693 difference between 32-bit and 64-bit.
25694
d7e06450
CD
256952013-07-15 Carlos O'Donell <carlos@redhat.com>
25696
25697 [BZ #15711]
25698 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25699 Avoid system header dependency with -ffreestanding.
25700 ($(objpfx)bits/syscall%d): Likewise.
25701
f959cfd7
DM
257022013-07-13 David S. Miller <davem@davemloft.net>
25703
25704 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25705 underflows from atanl/atan2l due to bug 15319.
25706 (casinh_test_data): Likewise.
25707
c61f8513
DM
257082013-07-07 David S. Miller <davem@davemloft.net>
25709
25710 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25711
72c90ed0
JA
257122013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25713
25714 * sysdeps/i386/fpu/libm-test-ulps: Update.
25715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25716
52dfbe13
SP
257172013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25718
25719 * configure.in (--enable-lock-elision): Fix message text.
25720 * INSTALL: Regenerate.
25721 * configure: Regenerate.
25722
3f169543
AZ
257232013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25724
25725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25726
521c6785
AJ
257272013-07-03 Andreas Jaeger <aj@suse.de>
25728
25729 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25730 define.
25731 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25732 (ptrace_peeksiginfo_args): Add.
25733 (__ptrace_peeksiginfo_flags): Add.
25734 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25735 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25736 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25737
d2cc15cb
AM
257382013-07-03 Allan McRae <allan@archlinux.org>
25739
25740 * sysdeps/i386/fpu/libm-test-ulps: Update.
25741
3aaeeca7
DM
257422013-07-02 David S. Miller <davem@davemloft.net>
25743
25744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25745
5314ed1a
MT
257462013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25747
25748 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25749
67338156
JM
257502013-07-02 Joseph Myers <joseph@codesourcery.com>
25751
25752 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25754
1717da59
AK
257552013-07-02 Andi Kleen <ak@linux.intel.com>
25756
25757 * config.h.in (ENABLE_LOCK_ELISION): Add.
25758 * configure.in (--enable-lock-elision): Add option.
25759 * manual/install.texi: Document --enable lock elision.
25760 * configure: Regenerate
25761 * INSTALL: Regenerate.
25762
1c81621c
L
257632013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25764
25765 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25766 SSE4.2 strcasecmp for libc.a.
25767 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25768
77f01ab5
JM
257692013-07-02 Joseph Myers <joseph@codesourcery.com>
25770
25771 [BZ #13304]
25772 * soft-fp/op-common.h (_FP_FMA): New macro.
25773 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25774 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25775 (_FP_MUL_MEAT_1_imm): ... here.
25776 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25777 (_FP_MUL_MEAT_1_wide): ... here.
25778 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25779 (_FP_MUL_MEAT_1_hard): ... here.
25780 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25781 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25782 (_FP_MUL_MEAT_2_wide): ... here.
25783 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25784 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25785 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25786 (_FP_MUL_MEAT_2_gmp): ... here.
25787 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25788 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25789 (_FP_MUL_MEAT_4_wide): ... here.
25790 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25791 (_FP_MUL_MEAT_4_gmp): ... here.
25792 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25793 (_FP_WFRACBITS_DW_S): Likewise.
25794 (_FP_WFRACXBITS_DW_S): Likewise.
25795 (_FP_HIGHBIT_DW_S): Likewise.
25796 (FP_FMA_S): Likewise.
25797 (_FP_FRAC_HIGH_DW_S): Likewise.
25798 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25799 (_FP_WFRACBITS_DW_D): Likewise.
25800 (_FP_WFRACXBITS_DW_D): Likewise.
25801 (_FP_HIGHBIT_DW_D): Likewise.
25802 (FP_FMA_D): Likewise.
25803 (_FP_FRAC_HIGH_DW_D): Likewise.
25804 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25805 (_FP_WFRACBITS_DW_E): Likewise.
25806 (_FP_WFRACXBITS_DW_E): Likewise.
25807 (_FP_HIGHBIT_DW_E): Likewise.
25808 (FP_FMA_E): Likewise.
25809 (_FP_FRAC_HIGH_DW_E): Likewise.
25810 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25811 (_FP_WFRACBITS_DW_Q): Likewise.
25812 (_FP_WFRACXBITS_DW_Q): Likewise.
25813 (_FP_HIGHBIT_DW_Q): Likewise.
25814 (FP_FMA_Q): Likewise.
25815 (_FP_FRAC_HIGH_DW_Q): Likewise.
25816 * soft-fp/fmasf4.c: New file.
25817 * soft-fp/fmadf4.c: Likewise.
25818 * soft-fp/fmatf4.c: Likewise.
25819
6308fd9a
LD
258202013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25821
25822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25823 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25824 Silvermont.
25825 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25826 macro.
25827 (index_Slow_SSE4_2): Likewise.
25828 (index_Prefer_PMINUB_for_stringop): Likewise.
25829 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25830 bit_Slow_SSE4_2 is set.
25831 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25832 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25833
89cd9569
RA
258342013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25835
25836 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25837 rtld_global._dl_hwcap2.
25838 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25839 POWER8.
25840 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25841 POWER8 feature descriptions defined in _dl_hwcap2.
25842 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25843 string handling for POWER8 feature bits.
25844 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25845 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25846 _dl_powerpc_cap_flags.
25847 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25848 * sysdeps/powerpc/rtld-global-offsets.sym
25849 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25850 _dl_hwcap2 in the rtld_global_ro structure.
25851
1ae8bfe0
RA
258522013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25853
25854 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25855 hardware capabilities in support of AT_HWCAP2.
25856 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25857 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25858 GLRO(dl_hwcap2).
25859 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25860 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25861 explicitly the unknown a_type display mechanism is used.
25862 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25863 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25864 struct member.
25865 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25866 to macro prototype for AT_HWCAP2 support.
25867 * sysdeps/i386/dl-procinfo.h: Likewise.
25868 * sysdeps/s390/dl-procinfo.h: Likewise.
25869 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25870 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25871 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25872 return -1 for unknown a_type display fallback.
25873 * sysdeps/sparc/dl-procinfo.h: Likewise.
25874 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25875 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25876
8fbec010
JM
258772013-06-28 Joseph Myers <joseph@codesourcery.com>
25878
25879 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25880 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25881
0432680e
PY
258822013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25883
25884 [BZ #12492]
25885 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25886 mprotect making __stack_prot writable.
25887
ce61a2ad
NF
258882013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25889 Joseph Myers <joseph@codesourcery.com>
25890
25891 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25892 as being properly aligned.
25893
f91f1c0f
MR
258942013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25895
3d0f5d0c
MR
25896 * dlfcn/modstatic5.c: New file.
25897 * dlfcn/tststatic5.c: New file.
25898 * dlfcn/Makefile (tests): Add tststatic5.
25899 (tests-static): Likewise.
25900 (modules-names): Add modstatic5.
25901 (tststatic5-ENV): New variable.
25902 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25903
f91f1c0f
MR
25904 [BZ #15022]
25905 * elf/dl-support.c (_dl_main_map): New variable.
25906 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25907 (_dl_nns, _dl_load_adds): Set to 1.
25908 (_dl_initial_searchlist): Refer to _dl_main_map.
25909 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25910 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25911 call to _dl_get_origin.
25912 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25913 around call_map.
25914 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25915 * dlfcn/modstatic3.c: New file.
25916 * dlfcn/tststatic3.c: New file.
25917 * dlfcn/tststatic4.c: New file.
25918 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25919 (tests-static): Likewise.
25920 (modules-names): Add modstatic3.
25921 (tststatic3-ENV, tststatic4-ENV): New variables.
25922 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25923 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25924
cbe7d24b
JM
259252013-06-26 Joseph Myers <joseph@codesourcery.com>
25926
25927 * configure.in (CC): Require GCC version 4.4 or later.
25928 * configure: Regenerated.
25929 * manual/install.texi (Tools for Compilation): Update GCC version
25930 requirement.
25931 * INSTALL: Regenerated.
25932
11b8a0e1
LD
259332013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25934
25935 [BZ #15674]
bb5bb87c
L
25936 * string/test-memcmp.c (check2): New.
25937 (main): Call check2.
25938
11b8a0e1
LD
25939 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25940
b0037103
MR
259412013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25942
25943 [BZ #15022]
25944 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25945 over to...
25946 (dl_open_worker) [!SHARED]: ... here.
25947
c18c701d
RA
259482013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25949
25950 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25951
1d17fa5f
RH
259522013-06-25 Richard Henderson <rth@redhat.com>
25953
25954 * locale/programs/locarchive.c: Include <libc-internal.h>
25955
8fcb833a
JM
259562013-06-25 Joseph Myers <joseph@codesourcery.com>
25957
25958 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25959 trailing whitespace removed.
25960
17db6e8d
MF
259612013-06-24 Mike Frysinger <vapier@gentoo.org>
25962
25963 [BZ #10283]
17db6e8d
MF
25964 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25965 * locale/programs/locarchive.c: Include libc-mmap.h.
25966 (prepare_address_space): Take two new outputs (the mmap base and len).
25967 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25968 values.
25969 (create_archive): Declare new mmap base and len values for
25970 prepare_address_space, and store the result in ah.
25971 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25972 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25973 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25974 Declare new mmap base and len values for
25975 prepare_address_space, and store the result in new_ah.
25976 (open_archive): Declare new mmap base and len values for
25977 prepare_address_space, and store the result in ah.
25978 (close_archive): If ah->mmap_base is not NULL, use that and
25979 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25980 * sysdeps/generic/libc-mmap.h: New file.
25981
d605071e
MF
259822013-06-24 Mike Frysinger <vapier@gentoo.org>
25983
25984 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25985 (ALIGN_UP): Likewise.
25986 (PTR_ALIGN_DOWN): Likewise.
25987 (PTR_ALIGN_UP): Likewise.
25988
2f063a6e
RA
259892013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25990
25991 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25992 entry mapped to PPC_PLATFORM_POWER8.
25993 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25994 POWER8.
25995 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25996 (_dl_string_platform): Add case for exporting platform position for
25997 POWER8.
25998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25999 search path to sysdeps/powerpc/powerpc32/power8 directory.
26000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26001 search path to sysdeps/powerpc/powerpc64/power8 directory.
26002 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26003 power7 directories.
26004 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26005 power7 directories.
26006
a31ee4b3
SP
260072013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26008
a74ca98f
SP
26009 * INSTALL: Regenerate.
26010
a31ee4b3
SP
26011 * nscd/connections.c (nscd_init): Fix comment.
26012
695c378f
JM
260132013-06-22 Joseph Myers <joseph@codesourcery.com>
26014
d8412221
JM
26015 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26016
695c378f
JM
26017 [BZ #15667]
26018 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26019 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26020
d1d54715
MR
260212013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26022
26023 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26024 DL_DST_REQ_STATIC.
26025 (DL_DST_REQ_STATIC): Remove macro.
26026
8fdda7af
JM
260272013-06-21 Joseph Myers <joseph@codesourcery.com>
26028
26029 [BZ #7006]
26030 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26031 with a shift of 0 bits.
26032
f3bc5e5a
MR
260332013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26034
26035 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26036 $(tststatic-ENV).
26037
be09e8c9
KK
260382013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26039
26040 [BZ #15655]
26041 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26042
85c2e611
AZ
260432013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26044
26045 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26046 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26047 accepts -fno-tree-loop-distribute-patterns.
26048 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26049 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26050 recursive call.
26051 * string/memset.c (memset): Likewise.
26052 * string/test-memmove.c (simple_memmove): Disable loop transformation
26053 to library calls.
26054 * string/test-memset.c (simple_memset): Likewise.
26055 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26056 * benchtests/bench-memset.c (simple_memset): Likewise.
26057 * configure: Regenerated.
26058
c91e0825
JM
260592013-06-20 Joseph Myers <joseph@codesourcery.com>
26060
b8c792af
JM
26061 * math/test-misc.c (main): Ignore fesetround failure when failures
26062 of subsequent rounding tests would be ignored.
26063
c91e0825
JM
26064 [BZ #15654]
26065 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26066 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26067 * math/fegetenv.c (__fegetenv): Return 0.
26068 * math/fegetexcept.c (fegetexcept): Return 0.
26069 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26070 FE_TONEAREST.
26071 * math/feholdexcpt.c (feholdexcept): Return 0.
26072 * math/fesetenv.c (__fesetenv): Return 0.
26073 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26074 argument FE_TONEAREST.
26075 * math/feupdateenv.c (__feupdateenv): Return 0.
26076 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26077
bfcacbde
RM
260782013-06-18 Roland McGrath <roland@hack.frob.com>
26079
26080 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26081 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26082 ($(objpfx)rtld-%.os rules): Use them.
26083
e55a9b25
AZ
260842013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26085
26086 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26087 fields.
26088
346d65b3
RM
260892013-06-17 Roland McGrath <roland@hack.frob.com>
26090
12086fb4
RM
26091 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26092 length of target pattern, then descending length of dependency pattern.
26093 * configure.in (AWK): Require gawk 3.1.2 or newer.
26094 * manual/install.texi (Tools for Compilation): Say that we do.
26095 * configure: Regenerated.
26096
346d65b3
RM
26097 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26098 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26099 * scripts/sysd-rules.awk: ... this new script.
26100 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26101 than a glob-style pattern.
26102
1a846317
JM
261032013-06-17 Joseph Myers <joseph@codesourcery.com>
26104
26105 * math/test-misc.c (main): Do not treat incorrectly rounded
26106 conversions as failure unless ROUNDING_TESTS passes.
26107
8fc75e6f
JM
261082013-06-15 Joseph Myers <joseph@codesourcery.com>
26109
3711a167
JM
26110 [BZ #15631]
26111 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26112 restore exception state around main square root computation, then
26113 check for inexactness explicitly.
26114
8fc75e6f
JM
26115 * math/libm-test.inc (fma_test_data): Add another test.
26116
61dd6208
SP
261172013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26118
adf23d2c
SP
26119 * manual/threads.texi (Non-POSIX Extensions): New document
26120 node. Document pthread_getattr_default_np and
26121 pthread_setattr_default_np.
26122
61dd6208
SP
26123 * Versions.def (libpthread): Add GLIBC_2.18.
26124 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26126 Likewise.
26127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26128 Likewise.
26129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26130 Likewise.
26131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26132 Likewise.
26133 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26134 Likewise.
26135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26136 Likewise.
26137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26138 Likewise.
26139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26140 Likewise.
26141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26142 Likewise.
26143
d086fc7b
LD
261442013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26145
26146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26147 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26148
747ef469
SP
261492013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26150 H.J. Lu <hjl.tools@gmail.com>
26151
26152 [BZ #15627]
26153 * sysdeps/x86_64/rtld-memset.c: Remove file.
26154 * sysdeps/x86_64/rtld-memset.S: New file.
26155
1b2feed2
JM
261562013-06-14 Joseph Myers <joseph@codesourcery.com>
26157
26158 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26159 (test_in_one_mode): Take arguments for whether the rounding mode
26160 is supported for each floating-point type.
26161 (do_test): Pass new arguments to test_in_one_mode using
26162 ROUNDING_TESTS.
26163
a58ad3f8
RM
261642013-06-13 Roland McGrath <roland@hack.frob.com>
26165
26166 * posix/tst-waitid.c (do_test): Distinguish different instances of
26167 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26168 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26169 before entering the kernel for waitpid.
26170
c204ab28
SP
261712013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26172
26173 * NEWS: Fix note on clock function precision. Text by Roland
26174 McGrath.
26175
f4a29fba
RM
261762013-06-13 Roland McGrath <roland@hack.frob.com>
26177
26178 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26179 it into place only when and if the sanity check passes.
26180
1f24b9ad
JM
261812013-06-13 Joseph Myers <joseph@codesourcery.com>
26182
26183 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26184 output for whether conversion result is exact. Take argument
26185 indicating whether type is IBM long double.
26186 (round_for_all): Change need_exact field to ibm_ld.
26187 * stdlib/tst-strtod-round.c (struct exactness): New type.
26188 (struct test): Change bool ld_ok field to struct exactness exact.
26189 (TEST): Update all definitions for change to field.
26190 (tests): Regenerate array contents.
26191 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26192 field value. Check for IBM long double here.
26193 (do_test): Update calls to test_in_one_mode.
26194
58206c68
SP
261952013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26196
26197 [BZ #12515]
26198 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26199 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26200
2d6f4c5b 262012013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
26202
26203 [BZ #15605]
26204 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26205 generated by the compiler on loop optimizations.
26206 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26207 general definitions.
26208
94f2c076
JM
262092013-06-12 Joseph Myers <joseph@codesourcery.com>
26210
26211 * math/bug-nextafter.c: Include <math-tests.h>.
26212 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26213 the relevant type.
26214 * math/bug-nexttoward.c: Include <math-tests.h>.
26215 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26216 the relevant type.
26217 * math/test-misc.c: Include <math-tests.h>.
26218 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26219 the relevant type.
26220
e0e50a0a
AJ
262212013-06-12 Andreas Jaeger <aj@suse.de>
26222
26223 * po/ia.po: Update Interlingua translation from translation
26224 project.
26225
25061094
SP
262262013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26227
26228 * include/fenv.h: Include stdbool.h.
26229 (struct rm_ctx): New structure.
26230 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26231 Define macro.
26232 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26233 (SET_RESTORE_ROUNDF): Likewise.
26234 (SET_RESTORE_ROUNDL): Likewise.
26235 (SET_RESTORE_ROUND_NOEX): Likewise.
26236 (SET_RESTORE_ROUND_NOEXF): Likewise.
26237 (SET_RESTORE_ROUND_NOEXL): Likewise.
26238 (SET_RESTORE_ROUND_53BIT): Likewise.
26239 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26240 (libc_feresetround_noexf_ctx): Likewise.
26241 (libc_feresetround_noexl_ctx): Likewise.
26242 (libc_feholdsetround_53bit_ctx): Likewise.
26243 (libc_feresetround_53bit_ctx): Likewise.
26244 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26245 (libc_feholdexcept_setround_sse_ctx): New function.
26246 (libc_fesetenv_sse_ctx): Likewise.
26247 (libc_feupdateenv_sse_ctx): Likewise.
26248 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26249 (libc_feholdexcept_setround_387_ctx): Likewise.
26250 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26251 (libc_feholdsetround_387_prec_ctx): Likewise.
26252 (libc_feholdsetround_387_ctx): Likewise.
26253 (libc_feholdsetround_387_53bit_ctx): Likewise.
26254 (libc_feholdsetround_sse_ctx): Likewise.
26255 (libc_feresetround_sse_ctx): Likewise.
26256 (libc_feresetround_387_ctx): Likewise.
26257 (libc_feupdateenv_387_ctx): Likewise.
26258 (libc_feholdexcept_setroundf_ctx): Define macro.
26259 (libc_fesetenvf_ctx): Likewise.
26260 (libc_feupdateenvf_ctx): Likewise.
26261 (libc_feholdsetroundf_ctx): Likewise.
26262 (libc_feresetroundf_ctx): Likewise.
26263 (libc_feholdexcept_setround_ctx): Likewise.
26264 (libc_fesetenv_ctx): Likewise.
26265 (libc_feupdateenv_ctx): Likewise.
26266 (libc_feholdsetround_ctx): Likewise.
26267 (libc_feresetround_ctx): Likewise.
26268 (libc_feholdexcept_setroundl_ctx): Likewise.
26269 (libc_feupdateenvl_ctx): Likewise.
26270 (libc_feholdsetroundl_ctx): Likewise.
26271 (libc_feresetroundl_ctx): Likewise.
26272 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26273 (libc_feresetround_53bit_ctx): Likewise.
26274
59b30555
SP
262752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26276
26277 * locale/iso-639.def: Convert to UTF-8.
26278
f1d73d30
JM
262792013-06-11 Joseph Myers <joseph@codesourcery.com>
26280
26281 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26282 (EXCEPTION_TESTS_double): Likewise.
26283 (EXCEPTION_TESTS_long_double): Likewise.
26284 (EXCEPTION_TESTS): Likewise.
26285 * math/libm-test.inc (test_exceptions): Only test exceptions if
26286 EXCEPTION_TESTS (FLOAT).
26287
94aca5e7
SP
262882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26289
26290 * benchtests/Makefile (string-bench): Add strcpy_chk and
26291 stpcpy_chk.
26292 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26293 * benchtests/bench-stpcpy_chk.c: New file.
26294 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26295 * benchtests/bench-strcpy_chk.c: New file.
26296 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26297 code.
26298 (do_test): Likewise.
26299
fac0c5f2
RA
263002013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26301
26302 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26303 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26304 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26305 with tabs where appropriate.
26306 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26307 dl-procinfo.h.
26308 [PPC_PLATFORM_PPC440]: Likewise.
26309 [PPC_PLATFORM_PPC464]: Likewise.
26310 [PPC_PLATFORM_PPC476]: Likewise.
26311 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26312 ppc464, and ppc476 platform strings merging from ports/
26313 dl-procinfo.h.
26314
f22bc486
AS
263152013-06-11 Andreas Schwab <schwab@suse.de>
26316
26317 [BZ #14991]
26318 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26319 (from_ucs4_idx): Regenerate.
26320 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26321 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26322 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26323 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26324 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26325 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26326 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26327 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26328 from FROM_LOOP and TO_LOOP specific macros.
26329 (BODY): Handle combining characters.
26330 * iconvdata/BIG5HKSCS.irreversible: Update.
26331 * iconvdata/BIG5HKSCS.precomposed: New file.
26332 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26333 characters.
26334 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26335
c1f75dc3
SP
263362013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26337
4eacded2
SP
26338 * include/sys/time.h: Fix indentation and add copyright header.
26339
fec799f8
SP
26340 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26341 (do_test): Likewise.
26342 * string/test-memchr.c (do_one_test): Likewise.
26343 (do_test): Likewise.
26344 * string/test-memcmp.c (do_one_test): Likewise.
26345 (do_test): Likewise.
26346 * string/test-memcpy.c (do_one_test): Likewise.
26347 (do_test): Likewise.
26348 * string/test-memmem.c (do_one_test): Likewise.
26349 (do_test): Likewise.
26350 (do_random_tests): Likewise.
26351 * string/test-memmove.c (do_one_test): Likewise.
26352 (do_test): Likewise.
26353 * string/test-memset.c (do_one_test): Likewise.
26354 (do_test): Likewise.
26355 * string/test-rawmemchr.c (do_one_test): Likewise.
26356 (do_test): Likewise.
26357 * string/test-strcasecmp.c (do_one_test): Likewise.
26358 (do_test): Likewise.
26359 * string/test-strcasestr.c (do_one_test): Likewise.
26360 (do_test): Likewise.
26361 * string/test-strcat.c (do_one_test): Likewise.
26362 (do_test): Likewise.
26363 * string/test-strchr.c (do_one_test): Likewise.
26364 (do_test): Likewise.
26365 * string/test-strcmp.c (do_one_test): Likewise.
26366 (do_test): Likewise.
26367 * string/test-strcpy.c (do_one_test): Likewise.
26368 (do_test): Likewise.
26369 * string/test-string.h: Likewise.
26370 (test_init): Likewise.
26371 * string/test-strlen.c (do_one_test): Likewise.
26372 (do_test): Likewise.
26373 * string/test-strncasecmp.c (do_one_test): Likewise.
26374 (do_test): Likewise.
26375 * string/test-strncat.c (do_one_test): Likewise.
26376 (do_test): Likewise.
26377 * string/test-strncmp.c (do_one_test): Likewise.
26378 (do_test_limit): Likewise.
26379 (do_test): Likewise.
26380 * string/test-strncpy.c (do_one_test): Likewise.
26381 (do_test): Likewise.
26382 * string/test-strnlen.c (do_one_test): Likewise.
26383 (do_test): Likewise.
26384 * string/test-strpbrk.c (do_one_test): Likewise.
26385 (do_test): Likewise.
26386 * string/test-strrchr.c (do_one_test): Likewise.
26387 (do_test): Likewise.
26388 * string/test-strspn.c (do_one_test): Likewise.
26389 (do_test): Likewise.
26390 * string/test-strstr.c (do_one_test): Likewise.
26391 (do_test): Likewise.
26392
97020474
SP
26393 * benchtests/Makefile (string-bench): Add string benchmarks.
26394 * benchtests/bench-bcopy-ifunc.c: New file.
26395 * benchtests/bench-bcopy.c: New file.
26396 * benchtests/bench-bzero-ifunc.c: New file.
26397 * benchtests/bench-bzero.c: New file.
26398 * benchtests/bench-memccpy-ifunc.c: New file.
26399 * benchtests/bench-memccpy.c: New file.
26400 * benchtests/bench-memchr-ifunc.c: New file.
26401 * benchtests/bench-memchr.c: New file.
26402 * benchtests/bench-memcmp-ifunc.c: New file.
26403 * benchtests/bench-memcmp.c: New file.
26404 * benchtests/bench-memmem-ifunc.c: New file.
26405 * benchtests/bench-memmem.c: New file.
26406 * benchtests/bench-memmove-ifunc.c: New file.
26407 * benchtests/bench-memmove.c: New file.
26408 * benchtests/bench-mempcpy-ifunc.c: New file.
26409 * benchtests/bench-mempcpy.c: New file.
26410 * benchtests/bench-memset-ifunc.c: New file.
26411 * benchtests/bench-memset.c: New file.
26412 * benchtests/bench-rawmemchr-ifunc.c: New file.
26413 * benchtests/bench-rawmemchr.c: New file.
26414 * benchtests/bench-stpcpy-ifunc.c: New file.
26415 * benchtests/bench-stpcpy.c: New file.
26416 * benchtests/bench-stpncpy-ifunc.c: New file.
26417 * benchtests/bench-stpncpy.c: New file.
26418 * benchtests/bench-strcasecmp-ifunc.c: New file.
26419 * benchtests/bench-strcasecmp.c: New file.
26420 * benchtests/bench-strcasestr-ifunc.c: New file.
26421 * benchtests/bench-strcasestr.c: New file.
26422 * benchtests/bench-strcat-ifunc.c: New file.
26423 * benchtests/bench-strcat.c: New file.
26424 * benchtests/bench-strchr-ifunc.c: New file.
26425 * benchtests/bench-strchr.c: New file.
26426 * benchtests/bench-strchrnul-ifunc.c: New file.
26427 * benchtests/bench-strchrnul.c: New file.
26428 * benchtests/bench-strcmp-ifunc.c: New file.
26429 * benchtests/bench-strcmp.c: New file.
26430 * benchtests/bench-strcpy-ifunc.c: New file.
26431 * benchtests/bench-strcpy.c: New file.
26432 * benchtests/bench-strcspn-ifunc.c: New file.
26433 * benchtests/bench-strcspn.c: New file.
26434 * benchtests/bench-strlen-ifunc.c: New file.
26435 * benchtests/bench-strlen.c: New file.
26436 * benchtests/bench-strncasecmp-ifunc.c: New file.
26437 * benchtests/bench-strncasecmp.c: New file.
26438 * benchtests/bench-strncat-ifunc.c: New file.
26439 * benchtests/bench-strncat.c: New file.
26440 * benchtests/bench-strncmp-ifunc.c: New file.
26441 * benchtests/bench-strncmp.c: New file.
26442 * benchtests/bench-strncpy-ifunc.c: New file.
26443 * benchtests/bench-strncpy.c: New file.
26444 * benchtests/bench-strnlen-ifunc.c: New file.
26445 * benchtests/bench-strnlen.c: New file.
26446 * benchtests/bench-strpbrk-ifunc.c: New file.
26447 * benchtests/bench-strpbrk.c: New file.
26448 * benchtests/bench-strrchr-ifunc.c: New file.
26449 * benchtests/bench-strrchr.c: New file.
26450 * benchtests/bench-strspn-ifunc.c: New file.
26451 * benchtests/bench-strspn.c: New file.
26452 * benchtests/bench-strstr-ifunc.c: New file.
26453 * benchtests/bench-strstr.c: New file.
26454
c1f75dc3
SP
26455 * benchtests/Makefile: Disable parallel execution of targets.
26456 (string-bench): Add memcpy.
26457 (benchset): New variable to store a list of benchmark sets.
26458 (bench-func): Renamed from bench.
26459 (bench-set): New target.
26460 (bench): Depend on bench-func and bench-set.
26461 * benchtests/README: Add section on benchmark sets.
26462 * benchtests/bench-memcpy-ifunc.c: New file.
26463 * benchtests/bench-memcpy.c: New file.
26464 * benchtests/bench-string.h: New file.
26465
50fd745b
AS
264662013-06-11 Andreas Schwab <schwab@suse.de>
26467
26468 [BZ #15577]
26469 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26470 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26471 values in the triple.
26472 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26473 terminator in the group key.
26474
3ee7e9fe
AJ
264752013-06-11 Andreas Jaeger <aj@suse.de>
26476
26477 * po/zh_TW.po: Update Chinese (traditional) translation from
26478 translation project.
26479
89fb6835
SP
264802013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26481
26482 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26483 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26484 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26485 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26486 (clock_getcpuclockid): Likewise.
26487 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26488 Add weak_alias and libc_hidden_def.
26489 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26490 * rt/clock_gettime.c (clock_gettime): Rename to
26491 __clock_gettime. Add weak_alias and libc_hidden_def.
26492 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26493 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26494 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26495 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26496 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26497 Likewise.
26498 * rt/clock_settime.c (clock_settime): Rename to
26499 __clock_settime. Add weak_alias and libc_hidden_def.
26500 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26501
0efa6f8b
JM
265022013-06-10 Joseph Myers <joseph@codesourcery.com>
26503
b8c61b4b
JM
26504 * mach/err_boot.sub: Remove trailing whitespace.
26505 * mach/err_ipc.sub: Likewise.
26506 * mach/err_mach.sub: Likewise.
26507
0efa6f8b
JM
26508 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26509 (ROUNDING_TESTS_double): Likewise.
26510 (ROUNDING_TESTS_long_double): Likewise.
26511 (ROUNDING_TESTS): Likewise.
26512 * math/libm-test.inc: Include <math-tests.h>.
26513 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26514 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26515 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26516 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26517
50b818bf
SP
265182013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26519
26520 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26521 of assigning.
26522
60d2f8f3
JM
265232013-06-08 Joseph Myers <joseph@codesourcery.com>
26524
4902d2c3
JM
26525 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26526 otherwise empty TRANS lines.
26527 * sysdeps/gnu/errlist.c: Regenerated.
26528
60d2f8f3
JM
26529 * catgets/gencat.c (error_print): Use (void) in function
26530 definition.
26531 * crypt/crypt_util.c (__init_des): Likewise.
26532 * crypt/speeds.c (Stop): Likewise.
26533 (main): Likewise.
26534 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26535 * inet/ruserpass.c (token): Likewise.
26536 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26537 * intl/localealias.c (extend_alias_table): Likewise.
26538 * intl/plural-exp.c (init_germanic_plural): Likewise.
26539 * libio/fcloseall.c (__fcloseall): Likewise.
26540 * libio/genops.c (_IO_flush_all): Likewise.
26541 (_IO_flush_all_linebuffered): Likewise.
26542 (_IO_cleanup): Likewise.
26543 (_IO_iter_begin): Likewise.
26544 (_IO_iter_end): Likewise.
26545 (_IO_list_lock): Likewise.
26546 (_IO_list_unlock): Likewise.
26547 (_IO_list_resetlock): Likewise.
26548 * libio/getchar.c (getchar): Likewise.
26549 * libio/getchar_u.c (getchar_unlocked): Likewise.
26550 * libio/getwchar.c (getwchar): Likewise.
26551 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26552 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26553 * login/getpt.c (__getpt): Likewise.
26554 * login/tst-utmp.c (main): Likewise.
26555 * malloc/hooks.c (__malloc_check_init): Likewise.
26556 * malloc/malloc.c (__malloc_stats): Likewise.
26557 * malloc/mtrace.c (tr_break): Likewise.
26558 (mtrace): Likewise.
26559 (muntrace): Likewise.
26560 * misc/fstab.c (endfsent): Likewise.
26561 * misc/getclktck.c (__getclktck): Likewise.
26562 * misc/getdtsz.c (__getdtablesize): Likewise.
26563 * misc/gethostid.c (gethostid): Likewise.
26564 * misc/getpagesize.c (__getpagesize): Likewise.
26565 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26566 (__get_nprocs): Likewise.
26567 (__get_phys_pages): Likewise.
26568 (__get_avphys_pages): Likewise.
26569 * misc/getttyent.c (getttyent): Likewise.
26570 (setttyent): Likewise.
26571 (endttyent): Likewise.
26572 * misc/getusershell.c (getusershell): Likewise.
26573 (endusershell): Likewise.
26574 (setusershell): Likewise.
26575 (initshells): Likewise.
26576 * misc/hsearch.c (__hdestroy): Likewise.
26577 * misc/sync.c (sync): Likewise.
26578 * misc/syslog.c (closelog_internal): Likewise.
26579 (closelog): Likewise.
26580 * misc/ttyslot.c (ttyslot): Likewise.
26581 * misc/vhangup.c (vhangup): Likewise.
26582 * posix/fork.c (__fork): Likewise.
26583 * posix/getegid.c (__getegid): Likewise.
26584 * posix/geteuid.c (__geteuid): Likewise.
26585 * posix/getgid.c (__getgid): Likewise.
26586 * posix/getpid.c (__getpid): Likewise.
26587 * posix/getppid.c (__getppid): Likewise.
26588 * posix/getuid.c (__getuid): Likewise.
26589 * posix/pause.c (pause): Likewise.
26590 * posix/setpgrp.c (setpgrp): Likewise.
26591 * posix/setsid.c (__setsid): Likewise.
26592 * posix/test-vfork.c (noop): Likewise.
26593 * resolv/gethnamaddr.c (_endhtent): Likewise.
26594 (_gethtent): Likewise.
26595 (ht_endhostent): Likewise.
26596 (gethostent): Likewise.
26597 (dns_service): Likewise.
26598 * stdlib/drand48.c (drand48): Likewise.
26599 * stdlib/lrand48.c (lrand48): Likewise.
26600 * stdlib/mrand48.c (mrand48): Likewise.
26601 * stdlib/rand.c (rand): Likewise.
26602 * stdlib/random.c (__random): Likewise.
26603 * stdlib/setenv.c (clearenv): Likewise.
26604 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26605 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26606 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26607 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26608 (__get_nprocs): Likewise.
26609 (__get_phys_pages): Likewise.
26610 (__get_avphys_pages): Likewise.
26611 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26612 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26613 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26614 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26615 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26616 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26617 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26618 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26619 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26620 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26621 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26622 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26623 * sysdeps/posix/clock.c (clock): Likewise.
26624 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26625 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26626 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26627 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26628 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26629 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26630 (__get_nprocs_conf): Likewise.
26631 (__get_phys_pages): Likewise.
26632 (__get_avphys_pages): Likewise.
26633 * time/clock.c (clock): Likewise.
26634 * time/tzset.c (__tzname_max): Likewise.
26635
2e09a79a
JM
266362013-06-07 Joseph Myers <joseph@codesourcery.com>
26637
26638 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26639 (__bswap_32): Do not use "register".
26640 * crypt/crypt.c (_ufc_doit_r): Likewise.
26641 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26642 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26643 * gmon/gmon.c (__monstartup): Likewise.
26644 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26645 * hurd/hurdmalloc.c (more_memory): Likewise.
26646 (malloc): Likewise.
26647 (free): Likewise.
26648 (realloc): Likewise.
26649 (malloc_fork_prepare): Likewise.
26650 (malloc_fork_parent): Likewise.
26651 (malloc_fork_child): Likewise.
26652 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26653 (_svcauth_des): Likewise.
26654 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26655 * inet/inet_net.c (inet_network): Likewise.
26656 * inet/inet_netof.c (inet_netof): Likewise.
26657 * inet/rcmd.c (__validuser2_sa): Likewise.
26658 * io/fts.c (fts_open): Likewise.
26659 (fts_load): Likewise.
26660 (fts_close): Likewise.
26661 (fts_read): Likewise.
26662 (fts_children): Likewise.
26663 (fts_build): Likewise.
26664 (fts_stat): Likewise.
26665 (fts_sort): Likewise.
26666 (fts_alloc): Likewise.
26667 (fts_lfree): Likewise.
26668 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26669 (_IO_file_xsgetn): Likewise.
26670 (_IO_file_xsgetn_mmap): Likewise.
26671 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26672 (_IO_cookie_write): Likewise.
26673 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26674 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26675 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26676 * malloc/obstack.c (_obstack_begin): Likewise.
26677 (_obstack_begin_1): Likewise.
26678 (_obstack_newchunk): Likewise.
26679 (_obstack_allocated_p): Likewise.
26680 (obstack_free): Likewise.
26681 (_obstack_memory_used): Likewise.
26682 * misc/getttyent.c (getttynam): Likewise.
26683 (getttyent): Likewise.
26684 (skip): Likewise.
26685 (value): Likewise.
26686 * misc/getusershell.c (initshells): Likewise.
26687 * misc/syslog.c (__vsyslog_chk): Likewise.
26688 * misc/ttyslot.c (ttyslot): Likewise.
26689 * nis/nis_hash.c (__nis_hash): Likewise.
26690 * posix/fnmatch_loop.c (FCT): Likewise.
26691 * posix/getconf.c (print_all): Likewise.
26692 (main): Likewise.
26693 * posix/getopt.c (exchange): Likewise.
26694 * posix/glob.c (globfree): Likewise.
26695 (prefix_array): Likewise.
26696 (__glob_pattern_type): Likewise.
26697 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26698 (NS_GET32): Likewise.
26699 (NS_PUT16): Likewise.
26700 (NS_PUT32): Likewise.
26701 * resolv/gethnamaddr.c (getanswer): Likewise.
26702 (gethostbyname2): Likewise.
26703 (gethostbyaddr): Likewise.
26704 (_gethtent): Likewise.
26705 (_gethtbyname2): Likewise.
26706 (_gethtbyaddr): Likewise.
26707 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26708 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26709 * resolv/res_init.c (__res_vinit): Likewise.
26710 (net_mask): Likewise.
26711 * resolv/res_mkquery.c (outchar): Likewise.
26712 (PRINT): Likewise.
26713 * stdio-common/printf_fp.c (outchar): Likewise.
26714 (PRINT): Likewise.
26715 * stdio-common/printf_fphex.c (outchar): Likewise.
26716 (PRINT): Likewise.
26717 * stdio-common/printf_size.c (outchar): Likewise.
26718 (PRINT): Likewise.
26719 * stdio-common/test_rdwr.c (main): Likewise.
26720 * stdio-common/tfformat.c (matches): Likewise.
26721 * stdio-common/vfprintf.c (outchar): Likewise.
26722 (printf_unknown): Likewise.
26723 (buffered_vfprintf): Likewise.
26724 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26725 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26726 (ReadFile): Likewise.
26727 * stdlib/qsort.c (SWAP): Likewise.
26728 (_quicksort): Likewise.
26729 * stdlib/setenv.c (__add_to_environ): Likewise.
26730 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26731 * stdlib/strtol_l.c (__strtol_l): Likewise.
26732 * stdlib/tst-strtod.c (main): Likewise.
26733 * stdlib/tst-strtol.c (main): Likewise.
26734 * stdlib/tst-strtoll.c (main): Likewise.
26735 * string/bits/string2.h (__strcmp_cc): Likewise.
26736 (__strcmp_cg): Likewise.
26737 (__strcspn_c1): Likewise.
26738 (__strcspn_c2): Likewise.
26739 (__strcspn_c3): Likewise.
26740 (__strspn_c1): Likewise.
26741 (__strspn_c2): Likewise.
26742 (__strspn_c3): Likewise.
26743 (__strsep_1c): Likewise.
26744 (__strsep_2c): Likewise.
26745 (__strsep_3c): Likewise.
26746 * string/memccpy.c (__memccpy): Likewise.
26747 * string/stpcpy.c (__stpcpy): Likewise.
26748 * string/strcmp.c (strcmp): Likewise.
26749 * string/strrchr.c (strrchr): Likewise.
26750 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26751 Likewise.
26752 * sysdeps/mach/hurd/getcwd.c
26753 (_hurd_canonicalize_directory_name_internal): Likewise.
26754 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26755 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26756 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26757 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26758 Likewise, in both definitions.
26759 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26760 definitions.
26761 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26762 64] (__bswap_64): Likewise.
26763 * time/test_time.c (main): Likewise.
26764 * time/tzfile.c (__tzfile_read): Likewise.
26765 (__tzfile_compute): Likewise.
26766 * time/tzset.c (__tzset_parse_tz): Likewise.
26767 (tzset_internal): Likewise.
26768 (compute_change): Likewise.
26769 * wcsmbs/wcscat.c (__wcscat): Likewise.
26770 * wcsmbs/wcschr.c (wcschr): Likewise.
26771 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26772 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26773 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26774 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26775 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26776 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26777 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26778 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26779 * wcsmbs/wmemset.c (wmemset): Likewise.
26780
9e54314b
JM
267812013-06-06 Joseph Myers <joseph@codesourcery.com>
26782
26783 * scripts/config.guess: Update to version 2013-05-16.
26784 * scripts/config.sub: Update to version 2013-04-24.
26785 * scripts/install-sh: Update to version 2011-11-20.07.
26786 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26787 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26788
350635a5
OB
267892013-06-06 Ondřej Bílka <neleai@seznam.cz>
26790
26791 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26792 * elf/sln.c: Likewise.
26793 * hurd/hurd/ioctl.h: Likewise.
26794 * hurd/hurdmalloc.c: Likewise.
26795 * hurd/xattr.c: Likewise.
26796 * include/shlib-compat.h: Likewise.
26797 * inet/ruserpass.c: Likewise.
26798 * libio/iofgets_u.c: Likewise.
26799 * libio/iofgetws_u.c: Likewise.
26800 * locale/programs/ld-identification.c: Likewise.
26801 * locale/programs/ld-time.c: Likewise.
26802 * mach/msg-destroy.c: Likewise.
26803 * nss/nss_files/files-netgrp.c: Likewise.
26804 * resolv/res_data.c: Likewise.
26805 * soft-fp/op-1.h: Likewise.
26806 * soft-fp/op-2.h: Likewise.
26807 * soft-fp/op-4.h: Likewise.
26808 * soft-fp/op-common.h: Likewise.
26809 * stdio-common/printf_fphex.c: Likewise.
26810 * stdlib/strtod_l.c: Likewise.
26811 * sunrpc/rpc/clnt.h: Likewise.
26812 * sysdeps/generic/framestate.c: Likewise.
26813 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26814 * sysdeps/i386/bsd-setjmp.S: Likewise.
26815 * sysdeps/i386/__longjmp.S: Likewise.
26816 * sysdeps/i386/setjmp.S: Likewise.
26817 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26818 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26819 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26820 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26821 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26822 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26823 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26824 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26825 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26826 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26827 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26828 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26829 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26830 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26831 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26832 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26833 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26834 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26835 * sysdeps/ieee754/support.c: Likewise.
26836 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26837 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26838 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26839 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26840 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26841 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26842 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26843 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26844 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26845 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26846 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26847 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26848 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26849 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26850 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26851 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26852 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26854
44a988af
OB
268552013-06-05 Ondřej Bílka <neleai@seznam.cz>
26856
25506f09 26857 * posix/transbug.c: Remove executable mode.
44a988af 26858
9c84384c
JM
268592013-06-05 Joseph Myers <joseph@codesourcery.com>
26860
26861 * crypt/speeds.c: Remove trailing whitespace.
26862 * dlfcn/default.c: Likewise.
26863 * elf/ifuncdep2.c: Likewise.
26864 * elf/ifuncmain1.c: Likewise.
26865 * elf/ifuncmain1vis.c: Likewise.
26866 * elf/testobj.h: Likewise.
26867 * elf/tst-stackguard1.c: Likewise.
26868 * gmon/sys/gmon.h: Likewise.
26869 * hurd/hurdmsg.c: Likewise.
26870 * hurd/new-fd.c: Likewise.
26871 * hurd/ports-get.c: Likewise.
26872 * iconvdata/ibm1008_420.c: Likewise.
26873 * inet/tst-getni1.c: Likewise.
26874 * inet/tst-getni2.c: Likewise.
26875 * libio/ioungetc.c: Likewise.
26876 * libio/wfiledoalloc.c: Likewise.
26877 * manual/libm-err-tab.pl: Likewise.
26878 * math/w_dremf.c: Likewise.
26879 * misc/ftruncate.c: Likewise.
26880 * posix/bug-glob2.c: Likewise.
26881 * posix/tst-pcre.c: Likewise.
26882 * posix/wait4.c: Likewise.
26883 * resolv/README: Likewise.
26884 * resolv/res_debug.h: Likewise.
26885 * resolv/tst-inet_ntop.c: Likewise.
26886 * setjmp/bug269-setjmp.c: Likewise.
26887 * soft-fp/extended.h: Likewise.
26888 * soft-fp/op-1.h: Likewise.
26889 * soft-fp/op-2.h: Likewise.
26890 * soft-fp/op-4.h: Likewise.
26891 * soft-fp/op-8.h: Likewise.
26892 * soft-fp/testit.c: Likewise.
26893 * stdio-common/bug16.c: Likewise.
26894 * stdlib/random.c: Likewise.
26895 * sunrpc/rpcsvc/rquota.x: Likewise.
26896 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26897 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26898 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26899 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26900 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26901 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26902 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26903 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26904 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26905 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26906 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26907 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26908 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26909 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26910 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26911 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26912 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26913 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26914 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26915 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26916 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26917 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26918 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26919 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26920 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26921 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26922 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26923 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26924 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26925 * sysdeps/ieee754/s_lib_version.c: Likewise.
26926 * sysdeps/mach/hurd/check_fds.c: Likewise.
26927 * sysdeps/mach/hurd/getsockname.c: Likewise.
26928 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26929 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26930 * sysdeps/powerpc/bits/link.h: Likewise.
26931 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26932 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26933 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26934 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26935 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26936 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26937 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26938 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26939 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26940 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26941 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26942 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26943 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26944 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26945 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26946 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26947 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26948 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26949 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26950 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26951 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26952 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26953 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26954 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26955 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26956 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26957 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26958 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26959 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26960 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26961 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26962 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26963 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26964 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26965 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26966 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26967 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26968 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26969 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26970 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26971 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26972 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26973 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26974 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26975 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26976 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26977 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26978 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26979 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26980 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26981 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26982 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26983 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26984 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26985 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26986 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26987 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26988 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26989 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26990 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26991 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26992 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26993 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26994 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26995 * sysdeps/powerpc/sysdep.h: Likewise.
26996 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26997 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26998 * sysdeps/sh/dl-trampoline.S: Likewise.
26999 * sysdeps/sh/memset.S: Likewise.
27000 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27001 * sysdeps/sh/strlen.S: Likewise.
27002 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27003 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27004 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27005 * sysdeps/sparc/sparc32/rem.S: Likewise.
27006 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27007 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27008 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27009 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27010 * sysdeps/sparc/sparc32/urem.S: Likewise.
27011 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27012 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27013 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27014 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27015 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27016 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27017 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27018 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27019 * sysdeps/unix/bsd/times.c: Likewise.
27020 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27021 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27025 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27026 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27027 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27028 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27029 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27030 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27031 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27032 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27033 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27034 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27035 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27036 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27037 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27038 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27039 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27040 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27041 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27042 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27043 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27044 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27045 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27046 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27047 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27048 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27049 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27050 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27051 * sysdeps/x86_64/strcspn.S: Likewise.
27052
869378a5
RA
270532013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27054
27055 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27056 generated file. Regenerate properly from gen-translit.pl.
27057 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27058 locale/C-translit.h.
27059
840e2943
AS
270602013-06-05 Andreas Schwab <schwab@suse.de>
27061
27062 [BZ #15100]
27063 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27064 week as 6 instead of -1.
27065 * time/tst-strptime.c (day_tests): Add test case.
27066
4c60cb0c
SP
270672013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27068
27069 * sysdeps/generic/math_private.h
27070 (libc_feholdexcept_setround_53bit): Replace with
27071 libc_feholdsetround_53bit.
27072 (libc_feupdateenv_53bit): Replace with
27073 libc_feresetround_53bit.
27074 (SET_RESTORE_ROUND_53BIT): Adjust.
27075
d180203e
SP
270762013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27077
96df079a
SP
27078 * string/test-strchrnul.c: Add copyright header.
27079
d180203e
SP
27080 * posix/tst-getaddrinfo4.c: Increase test timeout.
27081
8b0ccb2d
CD
270822013-06-03 Carlos O'Donell <carlos@redhat.com>
27083
27084 [BZ #15536]
27085 * math/libm-test.inc (MAX_EXP): Remove
27086 (MIN_EXP): Define.
27087 (ulp): Use MIN_EXP - MANT_DIG.
27088 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27089
3b3c4d40
CD
270902013-05-31 Carlos O'Donell <carlos@redhat.com>
27091
27092 * po/be.po: Revert last change.
27093 * po/zh_CN.po: Likewise.
27094 * po/header.pot: Likewise.
27095
fab7ce3f
JM
270962013-05-31 Joseph Myers <joseph@codesourcery.com>
27097
27098 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27099 link-libc-deps to empty as target-specific variable.
27100 * Makerules (link-libc-args): New variable.
27101 (libc-for-link): Likewise.
27102 (link-libc-deps): Likewise.
27103 (lib%.so): Depend on $(link-libc-deps). Link with
27104 $(link-libc-args).
27105 (build-module): Link with $(link-libc-args).
27106 (build-module-asneeded): Likewise.
27107 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27108 list of objects.
27109 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27110 target-specific variable.
27111 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27112 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27113 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27114 libc.
27115 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27116 libc and ld.so.
27117 ($(objpfx)libpcprofile.so): Likewise.
27118 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27119 libc_nonshared.a.
27120 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27121 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27122 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27123 $(link-libc-deps).
27124 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27125 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27126 * login/Makefile ($(objpfx)libutil.so): Likewise.
27127 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27128 * math/Makefile ($(objpfx)libm.so): Likewise.
27129 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27130 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27131 variable instead of depending directly on libc.
27132 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27133 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27134 $(link-libc-deps).
27135 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27136 libc.
27137 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27138 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27139 ($(objpfx)libanl.so): Likewise.
27140 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27141 ld.so.
27142 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27143 $(link-libc-deps).
27144 * sysdeps/i386/fpu/Makefile: Remove file.
27145 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27146 ($(objpfx)libm.so): Remove dependency on ld.so.
27147
eca5920c
PF
271482013-05-30 Patsy Franklin <pfrankli@redhat.com>
27149
27150 [BZ # 15553]
27151 * nis/yp_xdr.c (XDRMAXNAME): Define.
27152 (XDRMAXRECORD): Define.
27153 (xdr_domainname): Use XDRMAXNAME.
27154 (xdr_mapname): Likewise.
27155 (xdr_peername): Likewise.
27156 (xdr_keydat): Use XDRMAXRECORD.
27157 (xdr_valdat): Likewise.
27158
271592013-05-30 Jeff Law <law@redhat.com>
96945714
JL
27160
27161 [BZ #14256]
27162 * manual/errno.texi (ESTALE): Update to account for more than
27163 just NFS file systems.
27164 * sysdeps/gnu/errlist.c: Regenerated.
27165
b9375348
SP
271662013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27167
27168 [BZ #15465]
27169 * elf/Makefile (tests): Add tst-null-argv.
27170 (modules-names): Add tst-null-argv-lib.
27171 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27172 (tst-null-argv-ENV): Set environment for tst-null-argv.
27173 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27174 (RTLD_PROGNAME): New macro.
27175 * elf/tst-null-argv.c: New test case.
27176 * elf/tst-null-argv-lib.c: Library for test case.
27177 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27178 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27179 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27180 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27181 * elf/dl-init.c (call_init): Likewise.
27182 (_dl_init): Likewise.
27183 * elf/dl-load.c (print_search_path): Likewise.
27184 (_dl_map_object): Likewise.
27185 * elf/dl-lookup.c (do_lookup_x): Likewise.
27186 (add_dependency): Likewise.
27187 (_dl_lookup_symbol_x): Likewise.
27188 (_dl_debug_bindings): Likewise.
27189 * elf/dl-open.c (_dl_show_scope): Likewise.
27190 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27191 * elf/dl-version.c (match_symbol): Likewise.
27192 (_dl_check_map_versions): Likewise.
27193 * elf/rtld.c (dl_main): Likewise.
27194 (print_unresolved): Use RTLD_PROGNAME.
27195 (print_missing_version): Likewise.
27196 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27197 (elf_machine_rela): Likewise.
27198 * sysdeps/powerpc/powerpc32/dl-machine.c
27199 (__process_machine_rela): Likewise.
27200 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27201 Likewise.
27202 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27203 Likewise.
27204 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27205 Likewise.
27206 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27207 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27208 Likewise.
27209 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27210 Likewise.
27211 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27212
8a9f20c8
CD
272132013-05-28 Carlos O'Donell <carlos@redhat.com>
27214
27215 * po/be.po: Add descriptive title.
27216 * po/zh_CN.po: Likewise.
27217 * po/header.pot: Likewise.
27218
0e60d68e
MF
272192013-05-28 Mike Frysinger <vapier@gentoo.org>
27220
27221 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27222 error message.
27223 (enlarge_archive): Likewise.
27224
56b672e9
BN
272252013-05-28 Ben North <ben@redfrontdoor.org>
27226
27227 * manual/arith.texi (frexp): It is the magnitude of the return
27228 value which lies in [0.5, 1), not the return value itself.
27229
5e056687
AZ
272302013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27231
27232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27233
2b66ef5d
TS
272342013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27235
528c2405
TS
27236 * stdio-common/bug26.c (main): Correct fscanf template.
27237
07b4c13d
TS
27238 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27239 declare _dl_skip_args.
27240
ec9dd97c
TS
27241 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27242 Don't declare.
27243
2b66ef5d
TS
27244 * manual/platform.texi: Add missing @end deftypefun.
27245
4f8dfe27
JM
272462013-05-24 Joseph Myers <joseph@codesourcery.com>
27247
0323d086
JM
27248 [BZ #15529]
27249 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27250 bit of mantissa of 2^16382.
27251 * math/libm-test.inc (hypot_test_data): Add more tests.
27252
dd4259b9
JM
27253 * math/libm-test.inc: Add drem and pow10 to list of tested
27254 functions.
27255 (pow10_test): New function.
27256 (drem_test): Likewise.
27257 (drem_test_tonearest): Likewise.
27258 (drem_test_towardzero): Likewise.
27259 (drem_test_downward): Likewise.
27260 (drem_test_upward): Likewise.
27261 (main): Call the new functions.
27262
4f8dfe27
JM
27263 * math/libm-test.inc (finite_test_data): Remove.
27264 (finite_test): Run tests from isfinite_test_data.
27265 (gamma_test_data): Remove.
27266 (gamma_test): Run tests from lgamma_test_data.
27267 * sysdeps/i386/fpu/libm-test-ulps: Update.
27268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27269
d116b7c4
AZ
272702013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27271
27272 * manual/platform.texi: Add PowerPC PPR function set documentation.
27273 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27274 implementation.
27275
e96e3767
CD
272762013-05-24 Carlos O'Donell <carlos@redhat.com>
27277
27278 * math/libm-test.inc (MAX_EXP): Define.
27279 (ULPDIFF): Define.
27280 (ulp): New function.
27281 (check_float_internal): Use ULPDIFF.
27282 (cpow_test): Disable failing test.
27283 (check_ulp): Test ulp() implemetnation.
27284 (main): Call check_ulp before starting tests.
27285
b679a606
JM
272862013-05-24 Joseph Myers <joseph@codesourcery.com>
27287
e8bdba36
JM
27288 * math/gen-libm-test.pl (generate_testfile): Do not handle
27289 START_DATA and END_DATA.
27290 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27291 END_DATA.
27292 (acos_tonearest_test_data): Likewise.
27293 (acos_towardzero_test_data): Likewise.
27294 (acos_downward_test_data): Likewise.
27295 (acos_upward_test_data): Likewise.
27296 (acosh_test_data): Likewise.
27297 (asin_test_data): Likewise.
27298 (asin_tonearest_test_data): Likewise.
27299 (asin_towardzero_test_data): Likewise.
27300 (asin_downward_test_data): Likewise.
27301 (asin_upward_test_data): Likewise.
27302 (asinh_test_data): Likewise.
27303 (atan_test_data): Likewise.
27304 (atanh_test_data): Likewise.
27305 (atan2_test_data): Likewise.
27306 (cabs_test_data): Likewise.
27307 (cacos_test_data): Likewise.
27308 (cacosh_test_data): Likewise.
27309 (carg_test_data): Likewise.
27310 (casin_test_data): Likewise.
27311 (casinh_test_data): Likewise.
27312 (catan_test_data): Likewise.
27313 (catanh_test_data): Likewise.
27314 (cbrt_test_data): Likewise.
27315 (ccos_test_data): Likewise.
27316 (ccosh_test_data): Likewise.
27317 (ceil_test_data): Likewise.
27318 (cexp_test_data): Likewise.
27319 (cimag_test_data): Likewise.
27320 (clog_test_data): Likewise.
27321 (clog10_test_data): Likewise.
27322 (conj_test_data): Likewise.
27323 (copysign_test_data): Likewise.
27324 (cos_test_data): Likewise.
27325 (cos_tonearest_test_data): Likewise.
27326 (cos_towardzero_test_data): Likewise.
27327 (cos_downward_test_data): Likewise.
27328 (cos_upward_test_data): Likewise.
27329 (cosh_test_data): Likewise.
27330 (cosh_tonearest_test_data): Likewise.
27331 (cosh_towardzero_test_data): Likewise.
27332 (cosh_downward_test_data): Likewise.
27333 (cosh_upward_test_data): Likewise.
27334 (cpow_test_data): Likewise.
27335 (cproj_test_data): Likewise.
27336 (creal_test_data): Likewise.
27337 (csin_test_data): Likewise.
27338 (csinh_test_data): Likewise.
27339 (csqrt_test_data): Likewise.
27340 (ctan_test_data): Likewise.
27341 (ctan_tonearest_test_data): Likewise.
27342 (ctan_towardzero_test_data): Likewise.
27343 (ctan_downward_test_data): Likewise.
27344 (ctan_upward_test_data): Likewise.
27345 (ctanh_test_data): Likewise.
27346 (ctanh_tonearest_test_data): Likewise.
27347 (ctanh_towardzero_test_data): Likewise.
27348 (ctanh_downward_test_data): Likewise.
27349 (ctanh_upward_test_data): Likewise.
27350 (erf_test_data): Likewise.
27351 (erfc_test_data): Likewise.
27352 (exp_test_data): Likewise.
27353 (exp_tonearest_test_data): Likewise.
27354 (exp_towardzero_test_data): Likewise.
27355 (exp_downward_test_data): Likewise.
27356 (exp_upward_test_data): Likewise.
27357 (exp10_test_data): Likewise.
27358 (exp2_test_data): Likewise.
27359 (expm1_test_data): Likewise.
27360 (fabs_test_data): Likewise.
27361 (fdim_test_data): Likewise.
27362 (finite_test_data): Likewise.
27363 (floor_test_data): Likewise.
27364 (fma_test_data): Likewise.
27365 (fma_towardzero_test_data): Likewise.
27366 (fma_downward_test_data): Likewise.
27367 (fma_upward_test_data): Likewise.
27368 (fmax_test_data): Likewise.
27369 (fmin_test_data): Likewise.
27370 (fmod_test_data): Likewise.
27371 (fpclassify_test_data): Likewise.
27372 (frexp_test_data): Likewise.
27373 (gamma_test_data): Likewise.
27374 (hypot_test_data): Likewise.
27375 (ilogb_test_data): Likewise.
27376 (isfinite_test_data): Likewise.
27377 (isgreater_test_data): Likewise.
27378 (isgreaterequal_test_data): Likewise.
27379 (isinf_test_data): Likewise.
27380 (isless_test_data): Likewise.
27381 (islessequal_test_data): Likewise.
27382 (islessgreater_test_data): Likewise.
27383 (isnan_test_data): Likewise.
27384 (isnormal_test_data): Likewise.
27385 (issignaling_test_data): Likewise.
27386 (isunordered_test_data): Likewise.
27387 (j0_test_data): Likewise.
27388 (j1_test_data): Likewise.
27389 (jn_test_data): Likewise.
27390 (ldexp_test_data): Likewise.
27391 (lgamma_test_data): Likewise.
27392 (lrint_test_data): Likewise.
27393 (lrint_tonearest_test_data): Likewise.
27394 (lrint_towardzero_test_data): Likewise.
27395 (lrint_downward_test_data): Likewise.
27396 (lrint_upward_test_data): Likewise.
27397 (llrint_test_data): Likewise.
27398 (llrint_tonearest_test_data): Likewise.
27399 (llrint_towardzero_test_data): Likewise.
27400 (llrint_downward_test_data): Likewise.
27401 (llrint_upward_test_data): Likewise.
27402 (log_test_data): Likewise.
27403 (log10_test_data): Likewise.
27404 (log1p_test_data): Likewise.
27405 (log2_test_data): Likewise.
27406 (logb_test_data): Likewise.
27407 (logb_downward_test_data): Likewise.
27408 (lround_test_data): Likewise.
27409 (llround_test_data): Likewise.
27410 (modf_test_data): Likewise.
27411 (nearbyint_test_data): Likewise.
27412 (nextafter_test_data): Likewise.
27413 (nexttoward_test_data): Likewise.
27414 (pow_test_data): Likewise.
27415 (pow_tonearest_test_data): Likewise.
27416 (pow_towardzero_test_data): Likewise.
27417 (pow_downward_test_data): Likewise.
27418 (pow_upward_test_data): Likewise.
27419 (remainder_test_data): Likewise.
27420 (remainder_tonearest_test_data): Likewise.
27421 (remainder_towardzero_test_data): Likewise.
27422 (remainder_downward_test_data): Likewise.
27423 (remainder_upward_test_data): Likewise.
27424 (remquo_test_data): Likewise.
27425 (rint_test_data): Likewise.
27426 (rint_tonearest_test_data): Likewise.
27427 (rint_towardzero_test_data): Likewise.
27428 (rint_downward_test_data): Likewise.
27429 (rint_upward_test_data): Likewise.
27430 (round_test_data): Likewise.
27431 (scalb_test_data): Likewise.
27432 (scalbn_test_data): Likewise.
27433 (scalbln_test_data): Likewise.
27434 (signbit_test_data): Likewise.
27435 (sin_test_data): Likewise.
27436 (sin_tonearest_test_data): Likewise.
27437 (sin_towardzero_test_data): Likewise.
27438 (sin_downward_test_data): Likewise.
27439 (sin_upward_test_data): Likewise.
27440 (sincos_test_data): Likewise.
27441 (sinh_test_data): Likewise.
27442 (sinh_tonearest_test_data): Likewise.
27443 (sinh_towardzero_test_data): Likewise.
27444 (sinh_downward_test_data): Likewise.
27445 (sinh_upward_test_data): Likewise.
27446 (sqrt_test_data): Likewise.
27447 (tan_test_data): Likewise.
27448 (tan_tonearest_test_data): Likewise.
27449 (tan_towardzero_test_data): Likewise.
27450 (tan_downward_test_data): Likewise.
27451 (tan_upward_test_data): Likewise.
27452 (tanh_test_data): Likewise.
27453 (tgamma_test_data): Likewise.
27454 (trunc_test_data): Likewise.
27455 (y0_test_data): Likewise.
27456 (y1_test_data): Likewise.
27457 (yn_test_data): Likewise.
27458 (significand_test_data): Likewise.
27459
b679a606
JM
27460 * math/gen-libm-test.pl (@functions): Remove variable.
27461 (generate_testfile): Don't handle START and END lines.
27462 * math/libm-test.inc (START): New macro.
27463 (END): Likewise.
27464 (END_COMPLEX): Likewise.
27465 (acos_test): Use END macro without arguments.
27466 (acos_test_tonearest): Likewise.
27467 (acos_test_towardzero): Likewise.
27468 (acos_test_downward): Likewise.
27469 (acos_test_upward): Likewise.
27470 (acosh_test): Likewise.
27471 (asin_test): Likewise.
27472 (asin_test_tonearest): Likewise.
27473 (asin_test_towardzero): Likewise.
27474 (asin_test_downward): Likewise.
27475 (asin_test_upward): Likewise.
27476 (asinh_test): Likewise.
27477 (atan_test): Likewise.
27478 (atanh_test): Likewise.
27479 (atan2_test): Likewise.
27480 (cabs_test): Likewise.
27481 (cacos_test): Use END_COMPLEX macro without arguments.
27482 (cacosh_test): Likewise.
27483 (carg_test): Use END macro without arguments.
27484 (casin_test): Use END_COMPLEX macro without arguments.
27485 (casinh_test): Likewise.
27486 (catan_test): Likewise.
27487 (catanh_test): Likewise.
27488 (cbrt_test): Use END macro without arguments.
27489 (ccos_test): Use END_COMPLEX macro without arguments.
27490 (ccosh_test): Likewise.
27491 (ceil_test): Use END macro without arguments.
27492 (cexp_test): Use END_COMPLEX macro without arguments.
27493 (cimag_test): Use END macro without arguments.
27494 (clog_test): Use END_COMPLEX macro without arguments.
27495 (clog10_test): Likewise.
27496 (conj_test): Likewise.
27497 (copysign_test): Use END macro without arguments.
27498 (cos_test): Likewise.
27499 (cos_test_tonearest): Likewise.
27500 (cos_test_towardzero): Likewise.
27501 (cos_test_downward): Likewise.
27502 (cos_test_upward): Likewise.
27503 (cosh_test): Likewise.
27504 (cosh_test_tonearest): Likewise.
27505 (cosh_test_towardzero): Likewise.
27506 (cosh_test_downward): Likewise.
27507 (cosh_test_upward): Likewise.
27508 (cpow_test): Use END_COMPLEX macro without arguments.
27509 (cproj_test): Likewise.
27510 (creal_test): Use END macro without arguments.
27511 (csin_test): Use END_COMPLEX macro without arguments.
27512 (csinh_test): Likewise.
27513 (csqrt_test): Likewise.
27514 (ctan_test): Likewise.
27515 (ctan_test_tonearest): Likewise.
27516 (ctan_test_towardzero): Likewise.
27517 (ctan_test_downward): Likewise.
27518 (ctan_test_upward): Likewise.
27519 (ctanh_test): Likewise.
27520 (ctanh_test_tonearest): Likewise.
27521 (ctanh_test_towardzero): Likewise.
27522 (ctanh_test_downward): Likewise.
27523 (ctanh_test_upward): Likewise.
27524 (erf_test): Use END macro without arguments.
27525 (erfc_test): Likewise.
27526 (exp_test): Likewise.
27527 (exp_test_tonearest): Likewise.
27528 (exp_test_towardzero): Likewise.
27529 (exp_test_downward): Likewise.
27530 (exp_test_upward): Likewise.
27531 (exp10_test): Likewise.
27532 (exp2_test): Likewise.
27533 (expm1_test): Likewise.
27534 (fabs_test): Likewise.
27535 (fdim_test): Likewise.
27536 (finite_test): Likewise.
27537 (floor_test): Likewise.
27538 (fma_test): Likewise.
27539 (fma_test_towardzero): Likewise.
27540 (fma_test_downward): Likewise.
27541 (fma_test_upward): Likewise.
27542 (fmax_test): Likewise.
27543 (fmin_test): Likewise.
27544 (fmod_test): Likewise.
27545 (fpclassify_test): Likewise.
27546 (frexp_test): Likewise.
27547 (gamma_test): Likewise.
27548 (hypot_test): Likewise.
27549 (ilogb_test): Likewise.
27550 (isfinite_test): Likewise.
27551 (isgreater_test): Likewise.
27552 (isgreaterequal_test): Likewise.
27553 (isinf_test): Likewise.
27554 (isless_test): Likewise.
27555 (islessequal_test): Likewise.
27556 (islessgreater_test): Likewise.
27557 (isnan_test): Likewise.
27558 (isnormal_test): Likewise.
27559 (issignaling_test): Likewise.
27560 (isunordered_test): Likewise.
27561 (j0_test): Likewise.
27562 (j1_test): Likewise.
27563 (jn_test): Likewise.
27564 (ldexp_test): Likewise.
27565 (lgamma_test): Likewise.
27566 (lrint_test): Likewise.
27567 (lrint_test_tonearest): Likewise.
27568 (lrint_test_towardzero): Likewise.
27569 (lrint_test_downward): Likewise.
27570 (lrint_test_upward): Likewise.
27571 (llrint_test): Likewise.
27572 (llrint_test_tonearest): Likewise.
27573 (llrint_test_towardzero): Likewise.
27574 (llrint_test_downward): Likewise.
27575 (llrint_test_upward): Likewise.
27576 (log_test): Likewise.
27577 (log10_test): Likewise.
27578 (log1p_test): Likewise.
27579 (log2_test): Likewise.
27580 (logb_test): Likewise.
27581 (logb_test_downward): Likewise.
27582 (lround_test): Likewise.
27583 (llround_test): Likewise.
27584 (modf_test): Likewise.
27585 (nearbyint_test): Likewise.
27586 (nextafter_test): Likewise.
27587 (nexttoward_test): Likewise.
27588 (pow_test): Likewise.
27589 (pow_test_tonearest): Likewise.
27590 (pow_test_towardzero): Likewise.
27591 (pow_test_downward): Likewise.
27592 (pow_test_upward): Likewise.
27593 (remainder_test): Likewise.
27594 (remainder_test_tonearest): Likewise.
27595 (remainder_test_towardzero): Likewise.
27596 (remainder_test_downward): Likewise.
27597 (remainder_test_upward): Likewise.
27598 (remquo_test): Likewise.
27599 (rint_test): Likewise.
27600 (rint_test_tonearest): Likewise.
27601 (rint_test_towardzero): Likewise.
27602 (rint_test_downward): Likewise.
27603 (rint_test_upward): Likewise.
27604 (round_test): Likewise.
27605 (scalb_test): Likewise.
27606 (scalbn_test): Likewise.
27607 (scalbln_test): Likewise.
27608 (signbit_test): Likewise.
27609 (sin_test): Likewise.
27610 (sin_test_tonearest): Likewise.
27611 (sin_test_towardzero): Likewise.
27612 (sin_test_downward): Likewise.
27613 (sin_test_upward): Likewise.
27614 (sincos_test): Likewise.
27615 (sinh_test): Likewise.
27616 (sinh_test_tonearest): Likewise.
27617 (sinh_test_towardzero): Likewise.
27618 (sinh_test_downward): Likewise.
27619 (sinh_test_upward): Likewise.
27620 (sqrt_test): Likewise.
27621 (tan_test): Likewise.
27622 (tan_test_tonearest): Likewise.
27623 (tan_test_towardzero): Likewise.
27624 (tan_test_downward): Likewise.
27625 (tan_test_upward): Likewise.
27626 (tanh_test): Likewise.
27627 (tgamma_test): Likewise.
27628 (trunc_test): Likewise.
27629 (y0_test): Likewise.
27630 (y1_test): Likewise.
27631 (yn_test): Likewise.
27632 (significand_test): Likewise.
27633
bae143d2
OB
276342013-05-24 Ondřej Bílka <neleai@seznam.cz>
27635
27636 [BZ #15381]
27637 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27638
9323d39b
EM
276392013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27640
d4ea44a0 27641 [BZ #14894]
9323d39b
EM
27642 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27643 __ppc_mdoio and __ppc_mdoom.
27644 * manual/platform.texi: Document new functions __ppc_yield,
27645 __ppc_mdoio and __ppc_mdoom.
27646
13e23af7
CD
276472013-05-22 Carlos O'Donell <carlos@redhat.com>
27648
27649 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27650 (main): Mention "tls" pseudo-hwcap is legacy.
27651 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27652
351fe550
JM
276532013-05-22 Joseph Myers <joseph@codesourcery.com>
27654
27655 * math/gen-libm-test.pl (parse_args): Output only string of
27656 arguments as text for test name, not full call or descriptions of
27657 tests for extra outputs.
27658 (generate_testfile): Do not pass function name to parse_args.
27659 Generate this_func variable from START.
27660 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27661 field to arg_str.
27662 (struct test_ff_f_data): Likewise.
27663 (test_ff_f_data_nexttoward): Likewise.
27664 (struct test_fi_f_data): Likewise.
27665 (struct test_fl_f_data): Likewise.
27666 (struct test_if_f_data): Likewise.
27667 (struct test_fff_f_data): Likewise.
27668 (struct test_c_f_data): Likewise.
27669 (struct test_f_f1_data): Likewise. Remove field extra_name.
27670 (struct test_fF_f1_data): Likewise.
27671 (struct test_ffI_f1_data): Likewise.
27672 (struct test_c_c_data): Rename test_name field to arg_str.
27673 (struct test_cc_c_data): Likewise.
27674 (struct test_f_i_data): Likewise.
27675 (struct test_ff_i_data): Likewise.
27676 (struct test_f_l_data): Likewise.
27677 (struct test_f_L_data): Likewise.
27678 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27679 and extra2_name.
27680 (COMMON_TEST_SETUP): New macro.
27681 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27682 (COMMON_TEST_CLEANUP): Likewise.
27683 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27684 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27685 macros.
27686 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27687 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27688 macros.
27689 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27690 (RUN_TEST_fff_f): Take argument string. Call new setup and
27691 cleanup macros.
27692 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27693 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27694 macros.
27695 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27696 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27697 macros.
27698 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27699 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27700 cleanup macros.
27701 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27702 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27703 cleanup macros.
27704 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27705 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27706 cleanup macros.
27707 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27708 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27709 macros.
27710 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27711 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27712 macros.
27713 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27714 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27715 macros.
27716 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27717 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27718 cleanup macros.
27719 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27720 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27721 cleanup macros.
27722 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27723 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27724 macros.
27725 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27726 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27727 cleanup macros.
27728 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27729 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27730 macros.
27731 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27732 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27733 macros.
27734 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27735 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27736 cleanup macros.
27737 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27738
85118d4d
EBM
277392013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27740
27741 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27742 to _sifields.sigfault.
27743 (si_addr_lsb): Define new macro.
27744 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27745 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27746 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27747
7a44c18f
CD
277482013-05-03 Carlos O'Donell <carlos at redhat.com>
27749
27750 [BZ #15441]
27751 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27752 returns -1.
27753 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27754 null return -1.
27755 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27756 loading the domain.
27757
b50a7181
JM
277582013-05-22 Joseph Myers <joseph@codesourcery.com>
27759
27760 * math/gen-libm-test.pl (parse_args): Do not include expected
27761 result in test name.
27762 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27763 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27764 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27765 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27766 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27768
051063c8
SP
277692013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27770
3ce9e010
SP
27771 * benchtests/Makefile: Sort function entries.
27772
051063c8
SP
27773 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27774 tanh, asinh, acosh, atanh.
27775 * benchtests/acos-inputs: New file.
27776 * benchtests/acosh-inputs: New file.
27777 * benchtests/asin-inputs: New file.
27778 * benchtests/asinh-inputs: New file.
27779 * benchtests/atanh-inputs: New file.
27780 * benchtests/cosh-inputs: New file.
27781 * benchtests/log-inputs: New file.
27782 * benchtests/sinh-inputs: New file.
27783 * benchtests/tanh-inputs: New file.
27784
47c22455
DL
277852013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27786
27787 [BZ #15339]
27788 * posix/tst-getaddrinfo4.c: New test.
27789 * posix/Makefile (tests): Add it.
27790
3d04f5db
SP
277912013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27792
27793 [BZ #15339]
27794 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27795 when no services were used.
27796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27797 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27798
d5dd6189
AS
277992013-05-21 Andreas Schwab <schwab@suse.de>
27800
27801 [BZ #15014]
27802 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27803 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27804 successful.
27805 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27806 redundant variable declarations and reallocation of buffer when
27807 parsing as IPv6 address. Always set NSS status when called from
27808 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27809 buffer too small. Correct computation of needed size.
27810 * nss/Makefile (tests): Add test-digits-dots.
27811 * nss/test-digits-dots.c: New test.
27812
fef94eab
SP
278132013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27814
27815 * benchtests/Makefile: Remove instructions for adding
27816 benchmark tests.
27817 * benchtests/README: New file to explain how to execute and
27818 enhance the benchmark tests.
27819
e39adf43
AS
278202013-05-21 Andreas Schwab <schwab@suse.de>
27821
27822 [BZ #15493]
27823 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27824 * setjmp/tst-sigsetjmp.c: New test.
27825
b2b671b6
OB
278262013-05-20 Ondřej Bílka <neleai@seznam.cz>
27827
27828 * sysdeps/x86_64/memset.S (memset): New implementation.
27829 (__bzero): Likewise.
27830 (__memset_tail): New function.
27831
2d48b41c
OB
278322013-05-20 Ondřej Bílka <neleai@seznam.cz>
27833
27834 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27835 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27836 __memcpy_sse2_unaligned ifunc selection.
27837 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27838 Add memcpy-sse2-unaligned.S.
27839 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27840 Add: __memcpy_sse2_unaligned.
27841
f16cc3eb
JM
278422013-05-19 Joseph Myers <joseph@codesourcery.com>
27843
3e694268
JM
27844 [BZ #15490]
27845 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27846 math_force_eval before restoring floating-point envrionment.
27847 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27848 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27849 Likewise.
27850 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27851 <math_private.h>.
27852 (__nearbyintl): Use math_force_eval before restoring
27853 floating-point environment.
27854 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27855
db62a907
JM
27856 * math/gen-libm-test.pl (special_functions): Remove.
27857 (parse_args): Don't handle TEST_extra. Handle functions with no
27858 return value.
27859 * math/libm-test.inc (struct test_sincos_data): Replace with
27860 struct test_fFF_11_data.
27861 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27862 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27863 (sincos_test_data): Change element type to struct
27864 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27865 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27866 RUN_TEST_LOOP_sincos.
27867 * math/README.libm-test: Don't mention special handling of
27868 individual functions.
27869 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27870 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27871 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27872 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27873 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27875
f16cc3eb
JM
27876 * math/gen-libm-test.pl (get_variable): Remove function.
27877 (parse_args): Don't show pointer parameters to call in test
27878 names. Use "extra output N" in test names for extra outputs
27879 rather than naming variables.
27880
3779b5b6
JM
278812013-05-18 Joseph Myers <joseph@codesourcery.com>
27882
2ee094ff
JM
27883 [BZ #15488]
27884 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27885 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27886 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27887 double tests.
27888 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27889 disable.
27890 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27891 check_long_double.
27892
3779b5b6
JM
27893 * math/gen-libm-test.pl (@tests): Remove variable.
27894 ($count): Likewise.
27895 (new_test): Remove function.
27896 (show_exceptions): New function.
27897 (special_functions): Use show_exceptions instead of new_test.
27898 (parse_args): Likewise.
27899 (generate_testfile): Pass only function name in generated call to
27900 print_max_error or print_complex_max_error.
27901 (get_ulps): Do not handle complex tests specially.
27902 (output_test): Rename to ...
27903 (get_all_ulps_for_test): ... this. Return a string rather than
27904 printing to a file. Require ulps to be present.
27905 (output_ulps): Generate arrays rather than #defines.
27906 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27907 (struct ulp_data): New type.
27908 (BUILD_COMPLEX_ULP): Remove macro.
27909 (compare_ulp_data): New function.
27910 (find_ulps): Likewise.
27911 (find_test_ulps): Likewise.
27912 (find_function_ulps): Likewise.
27913 (find_complex_function_ulps): Likewise.
27914 (print_max_error): Determine allowed ulps using
27915 find_function_ulps.
27916 (print_complex_max_error): Determine allowed ulps using
27917 find_complex_function_ulps.
27918 (check_float_internal): Determine max ulps using find_test_ulps.
27919 (check_float): Do not take max_ulp parameter. Update call to
27920 check_float_internal.
27921 (check_complex): Likewise.
27922 (check_int): Do not take max_ulp parameter.
27923 (check_long): Likewise.
27924 (check_bool): Likewise.
27925 (check_longlong): Likewise.
27926 (struct test_f_f_data): Remove max_ulp field.
27927 (struct test_ff_f_data): Likewise.
27928 (struct test_ff_f_data_nexttoward): Likewise.
27929 (struct test_fi_f_data): Likewise.
27930 (struct test_fl_f_data): Likewise.
27931 (struct test_if_f_data): Likewise.
27932 (struct test_fff_f_data): Likewise.
27933 (struct test_c_f_data): Likewise.
27934 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27935 (struct test_fF_f1_data): Likewise.
27936 (struct test_ffI_f1_data): Likewise.
27937 (struct test_c_c_data): Remove max_ulp field.
27938 (struct test_cc_c_data): Likewise.
27939 (struct test_f_i_data): Likewise.
27940 (struct test_ff_i_data): Likewise.
27941 (struct test_f_l_data): Likewise.
27942 (struct test_f_L_data): Likewise.
27943 (struct test_sincos_data): Likewise.
27944 (RUN_TEST_f_f): Do not handle ulps.
27945 (RUN_TEST_LOOP_f_f): Likewise.
27946 (RUN_TEST_2_f): Likewise.
27947 (RUN_TEST_LOOP_2_f): Likewise.
27948 (RUN_TEST_fff_f): Likewise.
27949 (RUN_TEST_LOOP_fff_f): Likewise.
27950 (RUN_TEST_c_f): Likewise.
27951 (RUN_TEST_LOOP_c_f): Likewise.
27952 (RUN_TEST_f_f1): Likewise.
27953 (RUN_TEST_LOOP_f_f1): Likewise.
27954 (RUN_TEST_fF_f1): Likewise.
27955 (RUN_TEST_LOOP_fF_f1): Likewise.
27956 (RUN_TEST_fI_f1): Likewise.
27957 (RUN_TEST_LOOP_fI_f1): Likewise.
27958 (RUN_TEST_ffI_f1): Likewise.
27959 (RUN_TEST_LOOP_ffI_f1): Likewise.
27960 (RUN_TEST_c_c): Likewise.
27961 (RUN_TEST_LOOP_c_c): Likewise.
27962 (RUN_TEST_cc_c): Likewise.
27963 (RUN_TEST_LOOP_cc_c): Likewise.
27964 (RUN_TEST_f_i): Likewise.
27965 (RUN_TEST_LOOP_f_i): Likewise.
27966 (RUN_TEST_f_i_tg): Likewise.
27967 (RUN_TEST_LOOP_f_i_tg): Likewise.
27968 (RUN_TEST_ff_i_tg): Likewise.
27969 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27970 (RUN_TEST_f_b): Likewise.
27971 (RUN_TEST_LOOP_f_b): Likewise.
27972 (RUN_TEST_f_b_tg): Likewise.
27973 (RUN_TEST_LOOP_f_b_tg): Likewise.
27974 (RUN_TEST_f_l): Likewise.
27975 (RUN_TEST_LOOP_f_l): Likewise.
27976 (RUN_TEST_f_L): Likewise.
27977 (RUN_TEST_LOOP_f_L): Likewise.
27978 (RUN_TEST_sincos): Likewise.
27979 (RUN_TEST_LOOP_sincos): Likewise.
27980
8269107f
JM
279812013-05-17 Joseph Myers <joseph@codesourcery.com>
27982
bb38759d
JM
27983 [BZ #15480]
27984 [BZ #15485]
27985 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27986 main case of finite arguments, set rounding mode to FE_TONEAREST
27987 and discard exceptions.
27988 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27989 exceptions.
27990 (remainder_tonearest_test_data): New variable.
27991 (remainder_test_tonearest): New function.
27992 (remainder_towardzero_test_data): New variable.
27993 (remainder_test_towardzero): New function.
27994 (remainder_downward_test_data): New variable.
27995 (remainder_test_downward): New function.
27996 (remainder_upward_test_data): New variable.
27997 (remainder_test_upward): New function.
27998 (main): Call the new test functions.
27999
a00bdcf0
JM
28000 * math/libm-test.inc (struct test_f_f1_data): Remove field
28001 extra_init.
28002 (struct test_fF_f1_data): Likewise.
28003 (struct test_ffI_f1_data): Likewise.
28004 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28005 based on value of EXTRA_EXPECTED.
28006 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28007 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28008 EXTRA_VAR based on value of EXTRA_EXPECTED.
28009 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28010 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28011 EXTRA_VAR based on value of EXTRA_EXPECTED.
28012 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28013 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28014 EXTRA_VAR based on value of EXTRA_EXPECTED.
28015 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28016 * math/gen-libm-test.pl (parse_args): Don't output initializers
28017 for extra output values.
28018
de407f79
JM
28019 * math/libm-test.inc (check_int): Expect result to be exactly
28020 equal to expected value and do not handle ulps.
28021 (check_long): Likewise.
28022 (check_longlong): Likewise.
28023
8269107f
JM
28024 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28025 exceptions.
28026 (cimag_test_data): Likewise.
28027 (conj_test_data): Likewise.
28028 (copysign_test_data): Likewise.
28029 (cproj_test_data): Likewise.
28030 (creal_test_data): Likewise.
28031 (fabs_test_data): Likewise.
28032 (fdim_test_data): Likewise.
28033 (finite_test_data): Likewise.
28034 (floor_test_data): Likewise.
28035 (fmax_test_data): Likewise.
28036 (fmin_test_data): Likewise.
28037 (fmod_test_data): Likewise.
28038 (fpclassify_test_data): Likewise.
28039 (frexp_test_data): Likewise.
28040 (ilogb_test_data): Likewise.
28041 (isfinite_test_data): Likewise.
28042 (isgreater_test_data): Likewise.
28043 (isgreaterequal_test_data): Likewise.
28044 (isinf_test_data): Likewise.
28045 (isless_test_data): Likewise.
28046 (islessequal_test_data): Likewise.
28047 (islessgreater_test_data): Likewise.
28048 (isnan_test_data): Likewise.
28049 (isnormal_test_data): Likewise.
28050 (issignaling_test_data): Likewise.
28051 (isunordered_test_data): Likewise.
28052 (ldexp_test_data): Likewise.
28053 (lrint_test_data): Likewise.
28054 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28055 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28056 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28057 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28058 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28059 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28060 test input.
28061 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28062 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28063 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28064 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28065 that test input.
28066 (lrint_downward_test_data): Test for "inexact" exceptions.
28067 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28068 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28069 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28070 test input.
28071 (lrint_upward_test_data): Test for "inexact" exceptions.
28072 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28073 test input.
28074 (llrint_test_data): Test for "inexact" exceptions.
28075 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28076 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28077 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28078 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28079 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28080 (llrint_downward_test_data): Test for "inexact" exceptions.
28081 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28082 (llrint_upward_test_data): Test for "inexact" exceptions.
28083 (logb_test_data): Likewise.
28084 (logb_downward_test_data): Likewise.
28085 (nextafter_test_data): Likewise.
28086 (nexttoward_test_data): Likewise.
28087 (remainder_test_data): Likewise.
28088 (remquo_test_data): Likewise.
28089 (scalbn_test_data): Likewise.
28090 (scalbln_test_data): Likewise.
28091 (signbit_test_data): Likewise.
28092 (sqrt_test_data): Likewise.
28093 (significand_test_data): Likewise.
28094
48a18de1
SP
280952013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28096
28097 [BZ #15424]
28098 * benchtests/bench-modf.c (struct args): Mark arg0 as
28099 volatile.
28100 * scripts/bench.pl: Mark members of struct args as volatile.
28101
13d3b41a
AZ
281022013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28103
68191c1d 28104 [BZ # 15497]
13d3b41a
AZ
28105 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28106 negative infinity on POWER6 or lower.
28107 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28108
2848b105
MR
281092013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28110
28111 [BZ #15442]
28112 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28113 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28114 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28115 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28116 (_FP_SETQNAN): New macro.
28117 (_FP_SETQNAN_SEMIRAW): Likewise.
28118 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28119 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28120 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28121 (FP_EXTEND): Use _FP_FRAC_SNANP.
28122 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28123 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28124 into account.
28125 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28126 New macro.
28127 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28128 Likewise.
28129
323e5cb7
JM
281302013-05-16 Joseph Myers <joseph@codesourcery.com>
28131
c58b274f
JM
28132 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28133 with DIVIDE_BY_ZERO_EXCEPTION.
28134 (gamma_test_data): Likewise.
28135 (lgamma_test_data): Likewise.
28136 (log_test_data): Likewise.
28137 (log10_test_data): Likewise.
28138 (log2_test_data): Likewise.
28139 (tgamma_test_data): Likewise.
28140
0ab34904
JM
28141 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28142 (acos_test_tonearest): Likewise.
28143 (acos_test_towardzero): Likewise.
28144 (acos_test_downward): Likewise.
28145 (acos_test_upward): Likewise.
28146 (acosh_test): Likewise.
28147 (asin_test): Likewise.
28148 (asin_test_tonearest): Likewise.
28149 (asin_test_towardzero): Likewise.
28150 (asin_test_downward): Likewise.
28151 (asin_test_upward): Likewise.
28152 (asinh_test): Likewise.
28153 (atan_test): Likewise.
28154 (atanh_test): Likewise.
28155 (atan2_test): Likewise.
28156 (cabs_test): Likewise.
28157 (cacos_test): Likewise.
28158 (cacosh_test): Likewise.
28159 (casin_test): Likewise.
28160 (casinh_test): Likewise.
28161 (catan_test): Likewise.
28162 (catanh_test): Likewise.
28163 (cbrt_test): Likewise.
28164 (ccos_test): Likewise.
28165 (ccosh_test): Likewise.
28166 (cexp_test): Likewise.
28167 (clog_test): Likewise.
28168 (clog10_test): Likewise.
28169 (cos_test): Likewise.
28170 (cos_test_tonearest): Likewise.
28171 (cos_test_towardzero): Likewise.
28172 (cos_test_downward): Likewise.
28173 (cos_test_upward): Likewise.
28174 (cosh_test): Likewise.
28175 (cosh_test_tonearest): Likewise.
28176 (cosh_test_towardzero): Likewise.
28177 (cosh_test_downward): Likewise.
28178 (cosh_test_upward): Likewise.
28179 (cpow_test): Likewise.
28180 (csin_test): Likewise.
28181 (csinh_test): Likewise.
28182 (csqrt_test): Likewise.
28183 (ctan_test): Likewise.
28184 (ctan_test_tonearest): Likewise.
28185 (ctan_test_towardzero): Likewise.
28186 (ctan_test_downward): Likewise.
28187 (ctan_test_upward): Likewise.
28188 (ctanh_test): Likewise.
28189 (ctanh_test_tonearest): Likewise.
28190 (ctanh_test_towardzero): Likewise.
28191 (ctanh_test_downward): Likewise.
28192 (ctanh_test_upward): Likewise.
28193 (erf_test): Likewise.
28194 (erfc_test): Likewise.
28195 (exp_test): Likewise.
28196 (exp_test_tonearest): Likewise.
28197 (exp_test_towardzero): Likewise.
28198 (exp_test_downward): Likewise.
28199 (exp_test_upward): Likewise.
28200 (exp10_test): Likewise.
28201 (exp2_test): Likewise.
28202 (expm1_test): Likewise.
28203 (fmod_test): Likewise.
28204 (gamma_test): Likewise.
28205 (hypot_test): Likewise.
28206 (j0_test): Likewise.
28207 (j1_test): Likewise.
28208 (jn_test): Likewise.
28209 (lgamma_test): Likewise.
28210 (log_test): Likewise.
28211 (log10_test): Likewise.
28212 (log1p_test): Likewise.
28213 (log2_test): Likewise.
28214 (logb_test_downward): Likewise.
28215 (pow_test): Likewise.
28216 (pow_test_tonearest): Likewise.
28217 (pow_test_towardzero): Likewise.
28218 (pow_test_downward): Likewise.
28219 (pow_test_upward): Likewise.
28220 (remainder_test): Likewise.
28221 (remquo_test): Likewise.
28222 (sin_test): Likewise.
28223 (sin_test_tonearest): Likewise.
28224 (sin_test_towardzero): Likewise.
28225 (sin_test_downward): Likewise.
28226 (sin_test_upward): Likewise.
28227 (sincos_test): Likewise.
28228 (sinh_test): Likewise.
28229 (sinh_test_tonearest): Likewise.
28230 (sinh_test_towardzero): Likewise.
28231 (sinh_test_downward): Likewise.
28232 (sinh_test_upward): Likewise.
28233 (sqrt_test): Likewise.
28234 (tan_test): Likewise.
28235 (tan_test_tonearest): Likewise.
28236 (tan_test_towardzero): Likewise.
28237 (tan_test_downward): Likewise.
28238 (tan_test_upward): Likewise.
28239 (tanh_test): Likewise.
28240 (tgamma_test): Likewise.
28241 (y0_test): Likewise.
28242 (y1_test): Likewise.
28243 (yn_test): Likewise.
28244
323e5cb7
JM
28245 * math/gen-libm-test.pl (adjust_arg): Remove function.
28246 (special_function): Remove argument $in_func. Only handle
28247 generating output for tables of tests, not inside functions.
28248 (parse_args): Likewise.
28249 (generate_testfile): Remove variable $in_func. Update call to
28250 parse_args.
28251 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28252 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28253 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28254 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28255 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28256 (MAX_VALUE_INIT): Rename macro to max_value.
28257 (MIN_VALUE_INIT): Rename macro to min_value.
28258 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28259 (plus_zero): Remove variable.
28260 (minus_zero): Likewise.
28261 (plus_infty): Likewise.
28262 (minus_infty): Likewise.
28263 (qnan_value): Likewise.
28264 (max_value): Likewise.
28265 (min_value): Likewise.
28266 (min_subnorm_value): Likewise.
28267
e054f494
RA
282682013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28269
28270 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28271 uint64_t or uint32_t usage.
28272 * crypt/sha256-block.c: Likewise.
28273 * crypt/sha256-crypt.c: Likewise.
28274 * crypt/sha256.c: Likewise.
28275 * crypt/sha512-block.c: Likewise.
28276 * crypt/sha512-crypt.c: Likewise.
28277 * crypt/sha512.c: Likewise.
28278 * debug/backtrace-tst.c: Likewise.
28279 * debug/pcprofiledump.c: Likewise.
28280 * elf/cache.c: Likewise.
28281 * elf/dl-cache.c: Likewise.
28282 * elf/dl-misc.c: Likewise.
28283 * elf/dl-profile.c: Likewise.
28284 * elf/dl-support.c: Likewise.
28285 * elf/ldconfig.c: Likewise.
28286 * elf/sprof.c: Likewise.
28287 * iconv/dummy-repertoire.c: Likewise.
28288 * iconv/iconv_charmap.c: Likewise.
28289 * iconv/skeleton.c: Likewise.
28290 * iconvdata/8bit-generic.c: Likewise.
28291 * iconvdata/cp737.h: Likewise.
28292 * iconvdata/cp775.h: Likewise.
28293 * iconvdata/ibm1008.h: Likewise.
28294 * iconvdata/ibm1025.h: Likewise.
28295 * iconvdata/ibm1046.h: Likewise.
28296 * iconvdata/ibm1097.h: Likewise.
28297 * iconvdata/ibm1112.h: Likewise.
28298 * iconvdata/ibm1122.h: Likewise.
28299 * iconvdata/ibm1123.h: Likewise.
28300 * iconvdata/ibm1124.h: Likewise.
28301 * iconvdata/ibm1129.h: Likewise.
28302 * iconvdata/ibm1130.h: Likewise.
28303 * iconvdata/ibm1132.h: Likewise.
28304 * iconvdata/ibm1133.h: Likewise.
28305 * iconvdata/ibm1137.h: Likewise.
28306 * iconvdata/ibm1140.h: Likewise.
28307 * iconvdata/ibm1141.h: Likewise.
28308 * iconvdata/ibm1142.h: Likewise.
28309 * iconvdata/ibm1143.h: Likewise.
28310 * iconvdata/ibm1144.h: Likewise.
28311 * iconvdata/ibm1145.h: Likewise.
28312 * iconvdata/ibm1146.h: Likewise.
28313 * iconvdata/ibm1147.h: Likewise.
28314 * iconvdata/ibm1148.h: Likewise.
28315 * iconvdata/ibm1149.h: Likewise.
28316 * iconvdata/ibm1153.h: Likewise.
28317 * iconvdata/ibm1154.h: Likewise.
28318 * iconvdata/ibm1155.h: Likewise.
28319 * iconvdata/ibm1156.h: Likewise.
28320 * iconvdata/ibm1157.h: Likewise.
28321 * iconvdata/ibm1158.h: Likewise.
28322 * iconvdata/ibm1160.h: Likewise.
28323 * iconvdata/ibm1161.h: Likewise.
28324 * iconvdata/ibm1162.h: Likewise.
28325 * iconvdata/ibm1163.h: Likewise.
28326 * iconvdata/ibm1164.h: Likewise.
28327 * iconvdata/ibm1166.h: Likewise.
28328 * iconvdata/ibm1167.h: Likewise.
28329 * iconvdata/ibm12712.h: Likewise.
28330 * iconvdata/ibm1390.h: Likewise.
28331 * iconvdata/ibm1399.h: Likewise.
28332 * iconvdata/ibm16804.h: Likewise.
28333 * iconvdata/ibm4517.h: Likewise.
28334 * iconvdata/ibm4899.h: Likewise.
28335 * iconvdata/ibm4909.h: Likewise.
28336 * iconvdata/ibm4971.h: Likewise.
28337 * iconvdata/ibm5347.h: Likewise.
28338 * iconvdata/ibm803.h: Likewise.
28339 * iconvdata/ibm856.h: Likewise.
28340 * iconvdata/ibm901.h: Likewise.
28341 * iconvdata/ibm902.h: Likewise.
28342 * iconvdata/ibm9030.h: Likewise.
28343 * iconvdata/ibm9066.h: Likewise.
28344 * iconvdata/ibm921.h: Likewise.
28345 * iconvdata/ibm922.h: Likewise.
28346 * iconvdata/ibm9448.h: Likewise.
28347 * iconvdata/isiri-3342.h: Likewise.
28348 * iconvdata/jis0201.h: Likewise.
28349 * include/link.h: Likewise.
28350 * include/netdb.h: Likewise.
28351 * inet/check_native.c: Likewise.
28352 * inet/check_pf.c: Likewise.
28353 * inet/getipv4sourcefilter.c: Likewise.
28354 * inet/getnameinfo.c: Likewise.
28355 * inet/getsourcefilter.c: Likewise.
28356 * inet/htonl.c: Likewise.
28357 * inet/setipv4sourcefilter.c: Likewise.
28358 * inet/setsourcefilter.c: Likewise.
28359 * inet/test-inet6_opt.c: Likewise.
28360 * inet/tst-network.c: Likewise.
28361 * locale/C-collate.c: Likewise.
28362 * locale/C-ctype.c: Likewise.
28363 * locale/C-time.c: Likewise.
28364 * locale/C-translit.h: Likewise.
28365 * locale/loadarchive.c: Likewise.
28366 * locale/programs/3level.h: Likewise.
28367 * locale/programs/charmap.c: Likewise.
28368 * locale/programs/charmap.h: Likewise.
28369 * locale/programs/ld-address.c: Likewise.
28370 * locale/programs/ld-collate.c: Likewise.
28371 * locale/programs/ld-ctype.c: Likewise.
28372 * locale/programs/ld-identification.c: Likewise.
28373 * locale/programs/ld-measurement.c: Likewise.
28374 * locale/programs/ld-messages.c: Likewise.
28375 * locale/programs/ld-monetary.c: Likewise.
28376 * locale/programs/ld-name.c: Likewise.
28377 * locale/programs/ld-numeric.c: Likewise.
28378 * locale/programs/ld-paper.c: Likewise.
28379 * locale/programs/ld-telephone.c: Likewise.
28380 * locale/programs/ld-time.c: Likewise.
28381 * locale/programs/linereader.c: Likewise.
28382 * locale/programs/locale.c: Likewise.
28383 * locale/programs/locarchive.c: Likewise.
28384 * locale/programs/locfile.h: Likewise.
28385 * locale/programs/repertoire.c: Likewise.
28386 * locale/programs/simple-hash.c: Likewise.
28387 * locale/programs/simple-hash.h: Likewise.
28388 * malloc/memusage.c: Likewise.
28389 * malloc/memusagestat.c: Likewise.
28390 * nis/nis_defaults.c: Likewise.
28391 * nis/nis_hash.c: Likewise.
28392 * nis/nis_print.c: Likewise.
28393 * nis/nis_xdr.c: Likewise.
28394 * nscd/connections.c: Likewise.
28395 * nscd/hstcache.c: Likewise.
28396 * nscd/nscd_gethst_r.c: Likewise.
28397 * nscd/nscd_getserv_r.c: Likewise.
28398 * nscd/nscd_helper.c: Likewise.
28399 * nscd/servicescache.c: Likewise.
28400 * nss/makedb.c: Likewise.
28401 * nss/nss_db/db-XXX.c: Likewise.
28402 * nss/nss_db/db-initgroups.c: Likewise.
28403 * nss/nss_db/db-netgrp.c: Likewise.
28404 * nss/nss_files/files-network.c: Likewise.
28405 * nss/nss_files/files-parse.c: Likewise.
28406 * posix/bug-regex5.c: Likewise.
28407 * posix/fnmatch_loop.c: Likewise.
28408 * posix/regcomp.c: Likewise.
28409 * posix/regexec.c: Likewise.
28410 * posix/tst-rfc3484-2.c: Likewise.
28411 * posix/tst-rfc3484-3.c: Likewise.
28412 * posix/tst-rfc3484.c: Likewise.
28413 * resolv/nss_dns/dns-canon.c: Likewise.
28414 * resolv/nss_dns/dns-network.c: Likewise.
28415 * resolv/res_init.c: Likewise.
28416 * resolv/res_mkquery.c: Likewise.
28417 * resolv/tst-aton.c: Likewise.
28418 * stdlib/cxa_atexit.c: Likewise.
28419 * stdlib/cxa_finalize.c: Likewise.
28420 * stdlib/gen-fpioconst.c: Likewise.
28421 * stdlib/strtol_l.c: Likewise.
28422 * string/tst-endian.c: Likewise.
28423 * sunrpc/auth_des.c: Likewise.
28424 * sunrpc/clnt_udp.c: Likewise.
28425 * sunrpc/rtime.c: Likewise.
28426 * sunrpc/svcauth_des.c: Likewise.
28427 * sunrpc/xdr.c: Likewise.
28428 * sunrpc/xdr_intXX_t.c: Likewise.
28429 * sunrpc/xdr_rec.c: Likewise.
28430 * sysdeps/generic/ldconfig.h: Likewise.
28431 * sysdeps/generic/ldsodefs.h: Likewise.
28432 * sysdeps/generic/memusage.h: Likewise.
28433 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28434 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28435 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28436 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28437 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28438 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28439 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28440 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28441 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28442 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28443 * sysdeps/posix/getaddrinfo.c: Likewise.
28444 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28445 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28446 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28447 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28448 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28449 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28450 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28451 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28452 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28453 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28454 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28455 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28456 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28457 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28458 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28459 * sysdeps/x86_64/dl-tls.h: Likewise.
28460 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28461 * time/alt_digit.c: Likewise.
28462 * time/era.c: Likewise.
28463 * wcsmbs/tst-c16c32-1.c: Likewise.
28464
8c75f674
JM
284652013-05-16 Joseph Myers <joseph@codesourcery.com>
28466
28467 * math/libm-test.inc (struct test_sincos_data): New type.
28468 (RUN_TEST_LOOP_sincos): New macro.
28469 (sincos_test_data): New variable.
28470 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28471
e6e49e59
RH
284722013-05-16 Richard Henderson <rth@redhat.com>
28473
28474 * math/atest-exp2.c (LIMB64): New macro.
28475 (CONSTSZ): New macro.
28476 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28477 (hexdig): Move ...
28478 (print_mpn_fp): ... to function scope.
28479 (read_mpn_hex): Remove.
28480 (get_log2): Remove.
28481 (exp2_mpn): Use mp_log2.
28482 (main): Use mp_exp1.
28483
15c7c18d
JM
284842013-05-16 Joseph Myers <joseph@codesourcery.com>
28485
105a07df
JM
28486 * math/libm-test.inc: Remove comment about not testing "inexact"
28487 exceptions.
28488 (INEXACT_EXCEPTION): New macro.
28489 (NO_INEXACT_EXCEPTION): Likewise.
28490 (INVALID_EXCEPTION_OK): Update value.
28491 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28492 (OVERFLOW_EXCEPTION_OK): Likewise.
28493 (UNDERFLOW_EXCEPTION_OK): Likewise.
28494 (IGNORE_ZERO_INF_SIGN): Likewise.
28495 (ERRNO_UNCHANGED): Likewise.
28496 (ERRNO_EDOM): Likewise.
28497 (ERRNO_ERANGE): Likewise.
28498 (test_exceptions): Handle testing "inexact" exceptions.
28499 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28500 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28501 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28502 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28503 INEXACT_EXCEPTION.
28504 (rint_towardzero_test_data): Likewise.
28505 (rint_downward_test_data): Likewise.
28506 (rint_upward_test_data): Likewise.
28507
e9eee333
JM
28508 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28509 with OVERFLOW_EXCEPTION.
28510 (exp10_test_data): Likewise.
28511 (exp2_test_data): Likewise.
28512 (expm1_test_data): Likewise.
28513 (lgamma_test_data): Likewise.
28514 (pow_test_data): Likewise.
28515 (tgamma_test_data): Likewise.
28516 (yn_test_data): Remove duplicate test of overflow.
28517
1c38ff73
JM
28518 * math/libm-test.inc (struct test_cc_c_data): New type.
28519 (RUN_TEST_LOOP_cc_c): New macro.
28520 (cpow_test_data): New variable.
28521 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28522
15c7c18d
JM
28523 * math/libm-test.inc (struct test_f_L_data): New type.
28524 (RUN_TEST_LOOP_f_L): New macro.
28525 (llrint_test_data): New variable.
28526 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28527 (llrint_tonearest_test_data): New variable.
28528 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28529 (llrint_towardzero_test_data): New variable.
28530 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28531 (llrint_downward_test_data): New variable.
28532 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28533 (llrint_upward_test_data): New variable.
28534 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28535 (llround_test_data): New variable.
28536 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28537
f137ff13
PC
285382013-05-13 Peter Collingbourne <pcc@google.com>
28539
28540 * math/atest-exp2.c (get_log2): Remove const attribute.
28541
3608cb24
JM
285422013-05-15 Joseph Myers <joseph@codesourcery.com>
28543
28544 * math/libm-test.inc (struct test_f_l_data): New type.
28545 (RUN_TEST_LOOP_f_l): New macro.
28546 (lrint_test_data): New variable.
28547 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28548 (lrint_tonearest_test_data): New variable.
28549 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28550 (lrint_towardzero_test_data): New variable.
28551 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28552 (lrint_downward_test_data): New variable.
28553 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28554 (lrint_upward_test_data): New variable.
28555 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28556 (lround_test_data): New variable.
28557 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28558
39b1f617
PC
285592013-05-15 Peter Collingbourne <pcc@google.com>
28560
1deff3dc
PC
28561 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28562 (EXTRACT_WORDS64) Use where appropriate.
28563 (INSERT_WORDS64) Likewise.
28564
791f3ba0
PC
28565 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28566 constraints with x constraints.
28567 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28568
39b1f617
PC
28569 * malloc/obstack.c (_obstack_compat): Add initializer.
28570
12fba011
EM
285712013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28572
28573 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28574 si_trapno and add si_addr_lsb to _sifields.sigfault.
28575 (si_trapno): Remove macro.
28576 (si_addr_lsb): Define new macro.
28577 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28578
d369f531
JM
285792013-05-15 Joseph Myers <joseph@codesourcery.com>
28580
b861c6c4
JM
28581 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28582 instead of TEST_f_l.
28583 (llrint_test_tonearest): Likewise.
28584 (llrint_test_towardzero): Likewise.
28585 (llrint_test_downward): Likewise.
28586 (llrint_test_upward): Likewise.
28587 (llround_test): Likewise.
28588
7abeee12
JM
28589 * math/libm-test.inc (struct test_f_i_data): Add comment.
28590 (RUN_TEST_LOOP_f_b): New macro.
28591 (RUN_TEST_LOOP_f_b_tg): Likewise.
28592 (finite_test_data): New variable.
28593 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28594 (isfinite_test_data): New variable.
28595 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28596 (isinf_test_data): New variable.
28597 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28598 (isnan_test_data): New variable.
28599 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28600 (isnormal_test_data): New variable.
28601 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28602 (issignaling_test_data): New variable.
28603 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28604 (signbit_test_data): New variable.
28605 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28606
cbe8c4d3
JM
28607 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28608 with INVALID_EXCEPTION.
28609 (acosh_test_data): Likewise.
28610 (asin_test_data): Likewise.
28611 (atanh_test_data): Likewise.
28612 (fmod_test_data): Likewise.
28613 (log_test_data): Likewise.
28614 (log10_test_data): Likewise.
28615 (log2_test_data): Likewise.
28616 (pow_test_data): Likewise.
28617 (sqrt_test_data): Likewise.
28618 (y0_test_data): Likewise.
28619 (y1_test_data): Likewise.
28620 (yn_test_data): Likewise.
28621
5575c0e5
JM
28622 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28623 function contents.
28624
d369f531
JM
28625 * math/libm-test.inc (struct test_ff_i_data): New type.
28626 (RUN_TEST_LOOP_ff_i_tg): New macro.
28627 (isgreater_test_data): New variable.
28628 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28629 (isgreaterequal_test_data): New variable.
28630 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28631 (isless_test_data): New variable.
28632 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28633 (islessequal_test_data): New variable.
28634 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28635 (islessgreater_test_data): New variable.
28636 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28637 (isunordered_test_data): New variable.
28638 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28639
781fd748
DM
286402013-05-14 David S. Miller <davem@davemloft.net>
28641
28642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28643
87aa21df
JM
286442013-05-14 Joseph Myers <joseph@codesourcery.com>
28645
5e908270
JM
28646 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28647
f71172e5
JM
28648 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28649 extra_test to int.
28650 (struct test_f_i_data): Change type of max_ulp to int.
28651
8cfa635a
JM
28652 * math/libm-test.inc (test_ffI_f1_data): New type.
28653 (RUN_TEST_LOOP_ffI_f1): New macro.
28654 (remquo_test_data): New variable.
28655 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28656
2bcb36b2
JM
28657 * setjmp/tst-setjmp-fp.c: New file.
28658 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28659 (link-libm): New variable.
28660 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28661
acbd839a
JM
28662 * math/libm-test.inc (struct test_f_i_data): New type.
28663 (RUN_TEST_LOOP_f_i): New macro.
28664 (RUN_TEST_LOOP_f_i_tg): Likewise.
28665 (fpclassify_test_data): New variable.
28666 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28667 (ilogb_test_data): New variable.
28668 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28669
e414d745
JM
28670 * math/libm-test.inc (scalbln_test): Correct function name in END
28671 call.
28672
d9c2a0fd
JM
28673 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28674 (RUN_TEST_LOOP_fI_f1): New macro.
28675 (frexp_test_data): New variable.
28676 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28677
9dc9095d
JM
28678 * math/libm-test.inc (struct test_fF_f1_data): New type.
28679 (RUN_TEST_LOOP_fF_f1): New macro.
28680 (modf_test_data): New variable.
28681 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28682
87aa21df
JM
28683 * math/libm-test.inc (struct test_f_f1_data): New type.
28684 (RUN_TEST_LOOP_f_f1): New macro.
28685 (gamma_test_data): New variable.
28686 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28687 (lgamma_test_data): New variable.
28688 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28689
141af660
CD
286902013-05-13 Carlos O'Donell <carlos@redhat.com>
28691
28692 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28693 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28694 (main): Comment "tls" pseudo-hwcap.
28695
6d33265c
JM
286962013-05-13 Joseph Myers <joseph@codesourcery.com>
28697
68fc074c
JM
28698 * math/libm-test.inc (struct test_fl_f_data): New type.
28699 (RUN_TEST_LOOP_fl_f): New variable.
28700 (scalbln_test_data): New variable.
28701 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28702
243216e1
JM
28703 * math/libm-test.inc (struct test_fi_f_data): New type.
28704 (RUN_TEST_LOOP_fi_f): New macro.
28705 (ldexp_test_data): New variable.
28706 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28707 (scalbn_test_data): New variable.
28708 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28709
6a1992e2
JM
28710 * math/libm-test.inc (struct test_c_f_data): New type.
28711 (RUN_TEST_LOOP_c_f): New macro.
28712 (cabs_test_data): New variable.
28713 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28714 (carg_test_data): New variable.
28715 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28716 (cimag_test_data): New variable.
28717 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28718 (creal_test_data): New variable.
28719 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28720
0e400df5
JM
28721 * math/libm-test.inc (struct test_if_f_data): New type.
28722 (RUN_TEST_LOOP_if_f): New macro.
28723 (jn_test_data): New variable.
28724 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28725 (yn_test_data): New variable.
28726 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28727
6d33265c
JM
28728 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28729
f98ece5f
AZ
287302013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28731
28732 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28733 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28734
0f7d347b
SP
287352013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28736
43fe811b
SP
28737 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28738 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28739 (bench-deps): Add bench-timing.h.
28740 * benchtests-bench-skeleton.c: Include bench-timing.h.
28741 (main): Use TIMING_* macros instead of clock_gettime.
28742 * benchtests/bench-timing.h: New file.
28743
0f7d347b
SP
28744 [BZ #14582]
28745 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28746 Renamed from _LIB_VERSION.
28747 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28748
601a3a5f
JM
287492013-05-12 Joseph Myers <joseph@codesourcery.com>
28750
4f184d30
JM
28751 * math/libm-test.inc (struct test_fff_f_data): New type.
28752 (RUN_TEST_LOOP_fff_f): New macro.
28753 (fma_test_data): New variable.
28754 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28755 (fma_towardzero_test_data): New variable.
28756 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28757 (fma_downward_test_data): New variable.
28758 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28759 (fma_upward_test_data): New variable.
28760 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28761
08198877
JM
28762 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28763 (struct test_c_c_data): New type.
28764 (RUN_TEST_LOOP_c_c): New macro.
28765 (cacos_test_data): New variable.
28766 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28767 (cacosh_test_data): New variable.
28768 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28769 (casin_test_data): New variable.
28770 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28771 (casinh_test_data): New variable.
28772 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28773 (catan_test_data): New variable.
28774 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28775 (catanh_test_data): New variable.
28776 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28777 (ccos_test_data): New variable.
28778 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28779 (ccosh_test_data): New variable.
28780 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28781 (cexp_test_data): New variable.
28782 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28783 (clog_test_data): New variable.
28784 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28785 (clog10_test_data): New variable.
28786 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28787 (conj_test_data): New variable.
28788 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28789 (cproj_test_data): New variable.
28790 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28791 (csin_test_data): New variable.
28792 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28793 (csinh_test_data): New variable.
28794 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28795 (csqrt_test_data): New variable.
28796 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28797 (ctan_test_data): New variable.
28798 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28799 (ctan_tonearest_test_data): New variable.
28800 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28801 (ctan_towardzero_test_data): New variable.
28802 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28803 (ctan_downward_test_data): New variable.
28804 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28805 (ctan_upward_test_data): New variable.
28806 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28807 (ctanh_test_data): New variable.
28808 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28809 (ctanh_tonearest_test_data): New variable.
28810 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28811 (ctanh_towardzero_test_data): New variable.
28812 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28813 (ctanh_downward_test_data): New variable.
28814 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28815 (ctanh_upward_test_data): New variable.
28816 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28817 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28818 of BUILD_COMPLEX.
28819
601a3a5f
JM
28820 * math/libm-test.inc (struct test_ff_f_data): New type.
28821 (struct test_ff_f_data_nexttoward): Likewise.
28822 (RUN_TEST_LOOP_2_f): New macro.
28823 (RUN_TEST_LOOP_ff_f): Likewise.
28824 (atan2_test_data): New variable.
28825 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28826 (copysign_test_data): New variable.
28827 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28828 (fdim_test_data): New variable.
28829 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28830 (fmax_test_data): New variable.
28831 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28832 (fmin_test_data): New variable.
28833 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28834 (fmod_test_data): New variable.
28835 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28836 (hypot_test_data): New variable.
28837 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28838 (nextafter_test_data): New variable.
28839 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28840 (nexttoward_test_data): New variable.
28841 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28842 (pow_test_data): New variable.
28843 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28844 (pow_tonearest_test_data): New variable.
28845 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28846 (pow_towardzero_test_data): New variable.
28847 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28848 (pow_downward_test_data): New variable.
28849 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28850 (pow_upward_test_data): New variable.
28851 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28852 (remainder_test_data): New variable.
28853 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28854 (scalb_test_data): New variable.
28855 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28856 * sysdeps/i386/fpu/libm-test-ulps: Update.
28857
74c57478
JM
288582013-05-11 Joseph Myers <joseph@codesourcery.com>
28859
8329e4da
JM
28860 * math/libm-test.inc (fma_test): Use max_value instead of local
28861 variable fltmax.
28862 (nextafter_test): Likewise.
28863
74c57478
JM
28864 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28865 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28866 (acos_downward_test_data): New variable.
28867 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28868 (acos_upward_test_data): New variable.
28869 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28870 (acosh_test_data): New variable.
28871 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28872 (asin_test_data): New variable.
28873 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28874 (asin_tonearest_test_data): New variable.
28875 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28876 (asin_towardzero_test_data): New variable.
28877 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28878 (asin_downward_test_data): New variable.
28879 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28880 (asin_upward_test_data): New variable.
28881 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28882 (asinh_test_data): New variable.
28883 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28884 (atan_test_data): New variable.
28885 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28886 (atanh_test_data): New variable.
28887 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28888 (cbrt_test_data): New variable.
28889 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28890 (ceil_test_data): New variable.
28891 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28892 (cos_test_data): New variable.
28893 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28894 (cos_tonearest_test_data): New variable.
28895 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28896 (cos_towardzero_test_data): New variable.
28897 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28898 (cos_downward_test_data): New variable.
28899 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28900 (cos_upward_test_data): New variable.
28901 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28902 (cosh_test_data): New variable.
28903 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28904 (cosh_tonearest_test_data): New variable.
28905 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28906 (cosh_towardzero_test_data): New variable.
28907 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28908 (cosh_downward_test_data): New variable.
28909 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28910 (cosh_upward_test_data): New variable.
28911 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28912 (erf_test_data): New variable.
28913 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28914 (erfc_test_data): New variable.
28915 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28916 (exp_test_data): New variable.
28917 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28918 (exp_tonearest_test_data): New variable.
28919 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28920 (exp_towardzero_test_data): New variable.
28921 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28922 (exp_downward_test_data): New variable.
28923 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28924 (exp_upward_test_data): New variable.
28925 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28926 (exp10_test_data): New variable.
28927 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28928 (exp2_test_data): New variable.
28929 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28930 (expm1_test_data): New variable.
28931 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28932 (fabs_test_data): New variable.
28933 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28934 (floor_test_data): New variable.
28935 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28936 (j0_test_data): New variable.
28937 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28938 (j1_test_data): New variable.
28939 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28940 (log_test_data): New variable.
28941 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28942 (log10_test_data): New variable.
28943 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28944 (log1p_test_data): New variable.
28945 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28946 (log2_test_data): New variable.
28947 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28948 (logb_test_data): New variable.
28949 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28950 (logb_downward_test_data): New variable.
28951 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28952 (nearbyint_test_data): New variable.
28953 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28954 (rint_test_data): New variable.
28955 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28956 (rint_tonearest_test_data): New variable.
28957 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28958 (rint_towardzero_test_data): New variable.
28959 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28960 (rint_downward_test_data): New variable.
28961 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28962 (rint_upward_test_data): New variable.
28963 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28964 (round_test_data): New variable.
28965 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28966 (sin_test_data): New variable.
28967 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28968 (sin_tonearest_test_data): New variable.
28969 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28970 (sin_towardzero_test_data): New variable.
28971 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28972 (sin_downward_test_data): New variable.
28973 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28974 (sin_upward_test_data): New variable.
28975 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28976 (sinh_test_data): New variable.
28977 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28978 (sinh_tonearest_test_data): New variable.
28979 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28980 (sinh_towardzero_test_data): New variable.
28981 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28982 (sinh_downward_test_data): New variable.
28983 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28984 (sinh_upward_test_data): New variable.
28985 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28986 (sqrt_test_data): New variable.
28987 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28988 (tan_test_data): New variable.
28989 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28990 (tan_tonearest_test_data): New variable.
28991 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28992 (tan_towardzero_test_data): New variable.
28993 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28994 (tan_downward_test_data): New variable.
28995 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28996 (tan_upward_test_data): New variable.
28997 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28998 (tanh_test_data): New variable.
28999 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29000 (tgamma_test_data): New variable.
29001 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29002 (trunc_test_data): New variable.
29003 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29004 (y0_test_data): New variable.
29005 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29006 (y1_test_data): New variable.
29007 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29008 (significand_test_data): New variable.
29009 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29010
7187d844
CG
290112013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29012
29013 [BZ #12387]
29014 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29015
f63fae73
PT
290162013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29017
29018 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29019
8a67a4b3
AJ
290202013-05-10 Andreas Jaeger <aj@suse.de>
29021
29022 [BZ #15448]
29023 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29024 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29025
51df539d
JM
290262013-05-10 Joseph Myers <joseph@codesourcery.com>
29027
29028 * math/gen-libm-test.pl (adjust_arg): New function.
29029 (special_functions): Handle generating output in both functions
29030 and arrays.
29031 (parse_args): Likewise.
29032 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29033 $in_func argument to parse_args.
29034 * math/libm-test.inc (struct test_f_f_data): New type.
29035 (IF_ROUND_INIT_): New macro.
29036 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29037 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29038 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29039 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29040 (ROUND_RESTORE_): Likewise.
29041 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29042 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29043 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29044 (ROUND_RESTORE_FE_UPWARD): Likewise.
29045 (RUN_TEST_LOOP_f_f): New macro.
29046 (acos_test_data): New variable.
29047 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29048 (acos_tonearest_test_data): New variable.
29049 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29050
5c637fe5
SP
290512013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29052
29053 * benchtests/bench-skeleton.c (startup): Fix coding style.
29054
ab2b9461
JM
290552013-05-10 Joseph Myers <joseph@codesourcery.com>
29056
29057 [BZ #6809]
29058 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29059 negative infinity argument.
29060 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29061 negative infinity argument.
29062 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29063 negative infinity argument.
29064 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29065 domain errors.
29066
4c0fe6fe
FW
290672013-05-10 Florian Weimer <fweimer@redhat.com>
29068
29069 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29070 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29071 * iconv/iconv_prog.c (main): Likewise.
29072 * locale/programs/charmap-dir.c (charmap_readdir)
29073 (fopen_uncompressed): Likewise.
29074 * locale/programs/locfile.c (siblings_uncached)
29075 (write_locale_data): Use lstat64 instead of lstat.
29076 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29077 stat.
29078
a3375d29
AJ
290792013-05-10 Andreas Jaeger <aj@suse.de>
29080
29081 [BZ #15395]
29082 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29083 localization.
29084 Include <locale.h>.
29085
36129722
CD
290862013-05-09 Carlos O'Donell <carlos@redhat.com>
29087
29088 * elf/dl-close.c (_dl_close_worker): Add comments.
29089
faa7f811
JM
290902013-05-09 Joseph Myers <joseph@codesourcery.com>
29091
ed41ffef
JM
29092 [BZ #15359]
29093 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29094 high part of pi/2.
29095 (__ieee754_rem_pio2l): Update comments.
29096
d0213cd0
JM
29097 [BZ #15429]
29098 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29099 high part of pi/2.
29100 (__ieee754_rem_pio2l): Update comments.
29101
0d3e777a
JM
29102 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29103 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29104
24f56066
JM
29105 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29106 M_PI_4l.
29107
faa7f811
JM
29108 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29109 (M_PI_34_LOG10El): Likewise.
29110 (M_PI2_LOG10El): Likewise.
29111 (M_PI4_LOG10El): Likewise.
29112 (M_PI_LOG10El): Likewise.
29113
e9a5e0fd
AZ
291142013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29115
29116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29117
d8cd06db
JM
291182013-05-08 Joseph Myers <joseph@codesourcery.com>
29119
a0d9f9d7
JM
29120 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29121 (MINUS_ZERO_INIT): Likewise.
29122 (PLUS_INFTY_INIT): Likewise.
29123 (MINUS_INFTY_INIT): Likewise.
29124 (QNAN_VALUE_INIT): Likewise.
29125 (MAX_VALUE_INIT): Likewise.
29126 (MIN_VALUE_INIT): Likewise.
29127 (MIN_SUBNORM_VALUE_INIT): Likewise.
29128 (plus_zero): Initialize with PLUS_ZERO_INIT.
29129 (minus_zero): Initialize with MINUS_ZERO_INIT.
29130 (plus_infty): Initialize with PLUS_INFTY_INIT.
29131 (minus_infty): Initialize with MINUS_INFTY_INIT.
29132 (qnan_value): Initialize with QNAN_VALUE_INIT.
29133 (max_value): Initialize with MAX_VALUE_INIT.
29134 (min_value): Initialize with MIN_VALUE_INIT.
29135 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29136
ae08db3b
JM
29137 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29138 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29139 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29140 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29141
f44bf14a
JM
29142 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29143 (RUN_TEST_2_f): Likewise.
29144 (RUN_TEST_ff_f): Likewise.
29145 (RUN_TEST_fi_f): Likewise.
29146 (RUN_TEST_fl_f): Likewise.
29147 (RUN_TEST_fff_f): Likewise.
29148 (RUN_TEST_c_f): Likewise.
29149 (RUN_TEST_f_f1): Likewise.
29150 (RUN_TEST_fF_f1): Likewise.
29151 (RUN_TEST_fI_f1): Likewise.
29152 (RUN_TEST_ffI_f1): Likewise.
29153 (RUN_TEST_c_c): Likewise.
29154 (RUN_TEST_cc_c): Likewise.
29155 (RUN_TEST_f_i): Likewise.
29156 (RUN_TEST_f_i_tg): Likewise.
29157 (RUN_TEST_ff_i_tg): Likewise.
29158 (RUN_TEST_f_b): Likewise.
29159 (RUN_TEST_f_b_tg): Likewise.
29160 (RUN_TEST_f_l): Likewise.
29161 (RUN_TEST_f_L): Likewise.
29162 (RUN_TEST_sincos): Likewise.
29163 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29164 whether to show exceptions. Do not include ");\n" in return
29165 value.
29166 (special_functions): Output call to RUN_TEST_sincos instead of
29167 check_float calls. Update calls to new_test.
29168 (parse_args): Output call to single RUN_TEST_* macro instead of
29169 check_* calls and other assignments. Update calls to new_test.
29170
d8cd06db
JM
29171 [BZ #2546]
29172 [BZ #2560]
29173 [BZ #5159]
29174 [BZ #15426]
29175 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29176 input to result for tgamma overflow.
29177 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29178 (gamma_coeff): New variable.
29179 (NCOEFF): New macro.
29180 (gamma_positive): New function.
29181 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29182 underflow here. Use gamma_positive instead of exp (lgamma) for
29183 other arguments.
29184 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29185 (gamma_coeff): New variable.
29186 (NCOEFF): New macro.
29187 (gammaf_positive): New function.
29188 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29189 underflow here. Use gamma_positive instead of exp (lgamma) for
29190 other arguments.
29191 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29192 (gamma_coeff): New variable.
29193 (NCOEFF): New macro.
29194 (gammal_positive): New function.
29195 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29196 underflow here. Use gamma_positive instead of exp (lgamma) for
29197 other arguments.
29198 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29199 (gamma_coeff): New variable.
29200 (NCOEFF): New macro.
29201 (gammal_positive): New function.
29202 (__ieee754_gammal_r): Handle positive infinity, overflow and
29203 underflow here. Handle NaN the same as positive infinity. Remove
29204 check x < 0xffffffff for negative integers. Use gamma_positive
29205 instead of exp (lgamma) for other arguments.
29206 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29207 (gamma_coeff): New variable.
29208 (NCOEFF): New macro.
29209 (gammal_positive): New function.
29210 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29211 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29212 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29213 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29214 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29215 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29216 * sysdeps/generic/math_private.h (__gamma_productf): New
29217 prototype.
29218 (__gamma_product): Likewise.
29219 (__gamma_productl): Likewise.
29220 * math/Makefile (libm-calls): Add gamma_product.
29221 * math/libm-test.inc (tgamma_test): Add more tests.
29222 * sysdeps/i386/fpu/libm-test-ulps: Update.
29223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29224
bb7cf681
OB
292252013-05-08 Ondřej Bílka <neleai@seznam.cz>
29226
29227 * benchtests/bench-skeleton.c (main): Preheat CPU.
29228
ba853947
AJ
292292013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29230
29231 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29232
8347c74c
RM
292332013-05-07 Roland McGrath <roland@hack.frob.com>
29234
29235 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29236 and _dl_skip_args_internal.
29237
e8dd4791
CD
292382013-05-07 Carlos O'Donell <carlos@redhat.com>
29239
29240 * manual/message.texi (Message Translation): Talk about users.
29241 Message to key mapping impacts design.
29242
c7405830
RM
292432013-05-06 Roland McGrath <roland@hack.frob.com>
29244
a9173057
RM
29245 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29246
976e2f03
RM
29247 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29248
9723ffc5
RM
29249 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29250 * sysdeps/wordsize-64/glob64.c: ... here.
29251
962e6658
RM
29252 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29253 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29254 New macros.
29255
ee586a6d
RM
29256 * debug/getlogin_r_chk.c: Moved to ...
29257 * login/getlogin_r_chk.c: ... here.
29258 * debug/Makefile (routines): Move getlogin_r_chk to ...
29259 * login/Makefile (routines): ... here.
29260 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29261 * login/Versions (libc: GLIBC_2.4): ... here.
29262
355f9165
RM
29263 * io/poll.c (__poll): Renamed from poll.
29264 Add libc_hidden_def.
29265 (poll): Define as weak alias.
29266
bd9ffde6
RM
29267 * debug/ptsname_r_chk.c: Moved to ...
29268 * login/ptsname_r_chk.c: ... here.
29269 * debug/Makefile (routines): Move ptsname_r_chk to ...
29270 * login/Makefile (routines): ... here.
29271 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29272 * login/Versions (libc: GLIBC_2.4): ... here.
29273
8fb16a04
RM
29274 * posix/getlogin.c: Moved to ...
29275 * login/getlogin.c: ... here.
29276 * posix/getlogin_r.c: Moved to ...
29277 * login/getlogin_r.c: ... here.
29278 * posix/getlogin_r.c: Moved to ...
29279 * login/getlogin_r.c: ... here.
29280 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29281 * login/Makefile (routines): ... here.
29282 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29283 * login/Versions (libc: GLIBC_2.0): ... here.
29284
b99b892f
RM
29285 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29286 (setrlimit): Define as weak alias.
29287
c7405830
RM
29288 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29289 Call __ names for open, ftruncate, and close.
29290 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29291 (truncate): Define as weak alias.
29292
5bf96de5
JM
292932013-05-06 Joseph Myers <joseph@codesourcery.com>
29294
9ea3513c
JM
29295 * math/gen-libm-test.pl (parse_args): Initialize x before each
29296 test of frexp, modf and remquo.
29297
5bf96de5
JM
29298 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29299 test signgam value.
29300
16e616a7
AZ
293012013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29302
29303 [BZ #15418]
29304 [BZ #15419]
29305 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29306 internal tests.
29307 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29308
d5e82754
RM
293092013-05-06 Roland McGrath <roland@hack.frob.com>
29310
29311 * elf/dl-writev.h: New file.
29312 * elf/dl-misc.c: Include it.
29313 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29314 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29315
a7548d41
JM
293162013-05-04 Joseph Myers <joseph@codesourcery.com>
29317
b7dab1e4
JM
29318 * math/libm-test.inc (noXFails): Remove variable.
29319 (noXPasses): Likewise.
29320 (BUILD_COMPLEX_INT): Remove macro.
29321 (print_screen): Remove xfail argument.
29322 (print_screen_max_error): Likewise.
29323 (update_stats): Likewise.
29324 (print_max_error): Likewise. Update calls to other affected
29325 functions.
29326 (print_complex_max_error): Likewise.
29327 (test_single_exception): Update calls to print_screen.
29328 (test_single_errno): Likewise.
29329 (check_float_internal): Remove xfail argument. Update calls to
29330 other affected functions.
29331 (check_float): Likewise.
29332 (check_complex): Likewise.
29333 (check_int): Likewise.
29334 (check_long): Likewise.
29335 (check_bool): Likewise.
29336 (check_longlong): Likewise.
29337 (main): Don't print noXFails and noXPasses.
29338 * math/gen-libm-test.pl (top level): Don't mention expected
29339 failure handling in comment.
29340 (new_test): Don't handle expected failures.
29341 (parse_args): Don't mention expected failure handling in comment.
29342 (generate_testfile): Don't handle expected failures.
29343 (parse_ulps): Likewise.
29344 (print_ulps_file): Likewise.
29345 (get_failure): Remove function.
29346 (output_test): Don't handle expected failures.
29347 * make/README.libm-test: Don't mention expected failure handling.
29348
a7548d41
JM
29349 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29350 (minus_zero): Likewise.
29351 (plus_infty): Likewise.
29352 (minus_infty): Likewise.
29353 (qnan_value): Likewise.
29354 (max_value): Likewise.
29355 (min_value): Likewise.
29356 (min_subnorm_value): Likewise.
29357 (initialize): Do not initialize those variables dynamically.
29358
60bfd54c
RM
293592013-05-03 Roland McGrath <roland@hack.frob.com>
29360
cc0e6ed8
RM
29361 * io/open.c (__open_2): Moved to ...
29362 * io/open_2.c: ... this new file.
29363 * io/open64.c (__open64_2): Moved to ...
29364 * io/open64_2.c: ... this new file.
29365 * io/openat.c (__openat_2): Moved to ...
29366 * io/openat_2.c: ... this new file.
29367 * io/openat64.c (__openat64_2): Moved to ...
29368 * io/openat64_2.c: ... this new file.
29369 * io/Makefile (routines): Add them.
29370 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29371 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29372 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29373 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29374 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29375 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29376 (__openat64): Add hidden_ver.
29377 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29378 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29379
60bfd54c
RM
29380 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29381 Separately conditionalize setting of GLRO(dl_sysinfo) so
29382 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29383 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29384
83e7640f
AZ
293852013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29386
29387 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29388 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29389 definition.
29390 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29391 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29392 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29393 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29394 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29395
d5dc2af3
JM
293962013-05-03 Joseph Myers <joseph@codesourcery.com>
29397
c31a5b1e
JM
29398 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29399 test signgam value.
29400
d5dc2af3
JM
29401 * math/libm-test.inc (hypot_test): Do not use
29402 IGNORE_ZERO_INF_SIGN.
29403
164fd39d
AJ
294042013-05-03 Andreas Jaeger <aj@suse.de>
29405
29406 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29407 Linux 3.9.
29408 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29409 (PF_MAX): Adjust for VSOCK change.
29410
8237f48c
AZ
294112013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29412
29413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29414
9df02941
CD
294152013-05-02 Carlos O'Donell <carlos@redhat.com>
29416
29417 [BZ #15264]
29418 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29419 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29420 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29421
d422395e
DM
294222013-05-02 David S. Miller <davem@davemloft.net>
29423
29424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29425
a07c5731
OB
294262013-05-01 Ondřej Bílka <neleai@seznam.cz>
29427
29428 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29429
1324e37f
RM
294302013-05-01 Roland McGrath <roland@hack.frob.com>
29431
29432 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29433
0695940b
RS
294342013-05-01 Richard Smith <richard@metafoo.co.uk>
29435
bb5f27ad 29436 [BZ #14952]
0695940b
RS
29437 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29438 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29439 Use __attribute__ ((__gnu_inline__)).
29440 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29441 Don't use __attribute__ ((__gnu_inline__)).
29442
10de07f5
JM
294432013-05-01 Joseph Myers <joseph@codesourcery.com>
29444
29445 [BZ #15423]
29446 * math/s_catan.c (__catan): Handle small real or imaginary part of
29447 input specially to avoid spurious underflow.
29448 * math/s_catanf.c (__catanf): Likewise.
29449 * math/s_catanh.c (__catanh): Likewise.
29450 * math/s_catanhf.c (__catanhf): Likewise.
29451 * math/s_catanhl.c (__catanhl): Likewise.
29452 * math/s_catanl.c (__catanl): Likewise.
29453 * math/libm-test.inc (catan_test): Add more tests.
29454 (catanh_test): Likewise.
29455 * sysdeps/i386/fpu/libm-test-ulps: Update.
29456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29457
cb4d5414
AZ
294582013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29459
29460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29461
caf84319
JM
294622013-04-30 Joseph Myers <joseph@codesourcery.com>
29463
29464 [BZ #15416]
29465 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29466 accurately for denominator in atan2.
29467 * math/s_catanf.c (__catanf): Likewise.
29468 * math/s_catanh.c (__catanh): Likewise.
29469 * math/s_catanhf.c (__catanhf): Likewise.
29470 * math/s_catanhl.c (__catanhl): Likewise.
29471 * math/s_catanl.c (__catanl): Likewise.
29472 * math/libm-test.inc (catan_test): Add more tests.
29473 (catanh_test): Likewise.
29474 * sysdeps/i386/fpu/libm-test-ulps: Update.
29475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29476
d569c6ee
SP
294772013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29478
6dbe713d
SP
29479 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29480
f0ee064b
SP
29481 * benchtests/Makefile (bench): Remove slow benchmarks.
29482 * benchtests/atan-inputs: Add slow benchmark inputs.
29483 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29484 (BENCH_FUNC): Accept variant offset.
29485 (VARIANT): Define.
29486 * benchtests/bench-skeleton.c (main): Run benchmark for each
29487 variant.
29488 * benchtests/cos-inputs: Add slow benchmark inputs.
29489 * benchtests/exp-inputs: Likewise.
29490 * benchtests/pow-inputs: Likewise.
29491 * benchtests/sin-inputs: Likewise.
29492 * benchtests/slowatan-inputs: Remove.
29493 * benchtests/slowatan.c: Remove.
29494 * benchtests/slowcos-inputs: Remove.
29495 * benchtests/slowcos.c: Remove.
29496 * benchtests/slowexp-inputs: Remove.
29497 * benchtests/slowexp.c: Remove.
29498 * benchtests/slowpow-inputs: Remove.
29499 * benchtests/slowpow.c: Remove.
29500 * benchtests/slowsin-inputs: Remove.
29501 * benchtests/slowsin.c: Remove.
29502 * benchtests/slowtan-inputs: Remove.
29503 * benchtests/slowtan.c: Remove.
29504 * benchtests/tan-inputs: Add slow benchmark inputs.
29505 * scripts/bench.pl: Parse comments and directives.
29506
d569c6ee
SP
29507 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29508 in CPPFLAGS.
29509 ($(objpfx)bench-%.c): Remove *-ITER.
29510 * benchtests/bench-modf.c: Remove definition of ITER.
29511 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29512 (main): Loop for DURATION seconds instead of fixed number of
29513 iterations.
29514 * scripts/bench.pl: Don't expect iterations in parameters.
29515
a6a242fe
RM
295162013-04-29 Roland McGrath <roland@hack.frob.com>
29517
29518 * io/fchdir.c (__fchdir): Renamed from fchdir.
29519 (fchdir): Define as weak alias.
29520
f2da7793
JM
295212013-04-29 Joseph Myers <joseph@codesourcery.com>
29522
29523 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29524 (ERRNO_EDOM): Likewise.
29525 (ERRNO_ERANGE): Likewise.
29526 (noErrnoTests): New variable.
29527 (init_max_error): Set errno to 0.
29528 (test_single_errno): New function.
29529 (test_errno): Likewise.
29530 (check_float_internal): Call test_errno. Set errno to 0.
29531 (check_complex): Refer to errno tests in comment.
29532 (check_int): Call test_errno. Set errno to 0.
29533 (check_long): Likewise.
29534 (check_bool): Likewise.
29535 (check_longlong): Likewise.
29536 (cos_test): Use ERRNO_* flags for errno tests instead of
29537 check_int.
29538 (expm1_test): Likewise.
29539 (fmod_test): Likewise.
29540 (ilogb_test): Likewise.
29541 (lgamma_test): Likewise.
29542 (pow_test): Likewise.
29543 (remainder_test): Likewise.
29544 (sin_test): Likewise.
29545 (tan_test): Likewise.
29546 (yn_test): Likewise.
29547 (initialize): Set errno to 0.
29548 (main): Print number of errno tests.
29549 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29550
b1a36ceb
AJ
295512013-04-29 Andreas Jaeger <aj@suse.de>
29552
c3ed8088
AJ
29553 [BZ #15084]
29554 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29555 and RES_USEVC.
29556
f1a24198
AJ
29557 [BZ #15085]
29558 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29559 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29560 unimplemented.
29561
9ce3b2cb
AJ
29562 [BZ #15380]
29563 * stdlib/random.c (__initstate): Return NULL if
29564 __initstate fails.
29565
f1a24198 29566 [BZ #15086]
b1a36ceb
AJ
29567 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29568 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29569 RES_SNGLKUPREOP.
29570
7e7b6f36
AZ
295712013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29572
29573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29574
4d14f449
JM
295752013-04-29 Joseph Myers <joseph@codesourcery.com>
29576
29577 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29578 of individual tests.
29579 (casin_test): Likewise.
29580 (casinh_test): Likewise.
29581
5b4217d7
JM
295822013-04-27 Joseph Myers <joseph@codesourcery.com>
29583
29584 [BZ #15409]
29585 * math/s_catan.c (__catan): Handle arguments with large real or
29586 imaginary part separately without squaring.
29587 * math/s_catanf.c (__catanf): Likewise.
29588 * math/s_catanh.c (__catanh): Likewise.
29589 * math/s_catanhf.c (__catanhf): Likewise.
29590 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29591 and redefine.
29592 (__catanhl): Handle arguments with large real or imaginary part
29593 separately without squaring.
29594 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29595 and redefine.
29596 (__catanl): Handle arguments with large real or imaginary part
29597 separately without squaring.
29598 * math/libm-test.inc (catan_test): Add more tests.
29599 (catanh_test): Likewise.
29600 * sysdeps/i386/fpu/libm-test-ulps: Update.
29601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29602
4220c3ef
AJ
296032013-04-27 Andreas Jaeger <aj@suse.de>
29604
29605 [BZ #15007]
29606 * stdlib/stdlib.h: Update guards for qecvt.
29607 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29608 <stdlib.h>.
29609
4721b2d1
AM
296102013-04-27 Allan McRae <allan@archlinux.org>
29611
29612 * sysdeps/i386/fpu/libm-test-ulps: Update.
29613
f0302940
JM
296142013-04-26 Joseph Myers <joseph@codesourcery.com>
29615
9457fd95
JM
29616 [BZ #15406]
29617 * math/s_catan.c: Include <float.h>.
29618 (__catan): Ensure underflow exception occurs for underflowed
29619 result.
29620 * math/s_catanf.c: Include <float.h>.
29621 (__catanf): Ensure underflow exception occurs for underflowed
29622 result.
29623 * math/s_catanh.c: Include <float.h>.
29624 (__catanh): Ensure underflow exception occurs for underflowed
29625 result.
29626 * math/s_catanhf.c: Include <float.h>.
29627 (__catanhf): Ensure underflow exception occurs for underflowed
29628 result.
29629 * math/s_catanhl.c: Include <float.h>.
29630 (__catanhl): Ensure underflow exception occurs for underflowed
29631 result.
29632 * math/s_catanl.c: Include <float.h>.
29633 (__catanl): Ensure underflow exception occurs for underflowed
29634 result.
29635 * math/libm-test.inc (catan_test): Add more tests.
29636 (catanh_test): Likewise.
29637
f0302940
JM
29638 [BZ #15405]
29639 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29640 underflowed result.
29641 * math/s_ccoshf.c (__ccoshf): Likewise.
29642 * math/s_ccoshl.c (__ccoshl): Likewise.
29643 * math/s_csin.c (__csin): Likewise.
29644 * math/s_csinf.c (__csinf): Likewise.
29645 * math/s_csinh.c (__csinh): Likewise.
29646 * math/s_csinhf.c (__csinhf): Likewise.
29647 * math/s_csinhl.c (__csinhl): Likewise.
29648 * math/s_csinl.c (__csinl): Likewise.
29649 * math/libm-test.inc (ccos_test): Add more tests.
29650 (ccosh_test): Likewise.
29651 (csin_test): Likewise.
29652 (csinh_test): Likewise.
29653
aa630f59
AZ
296542013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29655
29656 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29657 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29658 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29659 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29660 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29661 powerpc/power5+/fpu folders.
29662 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29663
29664
1b835983
MT
296652013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29666
29667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29668
73709b26
JM
296692013-04-25 Joseph Myers <joseph@codesourcery.com>
29670
29671 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29672 additions to variable.
29673 [$(config-machine) = x86_64] (modules-names): Likewise.
29674 ($(objpfx)tst-audit3): Remove dependency.
29675 ($(objpfx)tst-audit3.out): Likewise.
29676 ($(objpfx)tst-audit4): Likewise.
29677 ($(objpfx)tst-audit4.out): Likewise.
29678 ($(objpfx)tst-audit5): Likewise.
29679 ($(objpfx)tst-audit5.out): Likewise.
29680 ($(objpfx)tst-audit6): Likewise.
29681 ($(objpfx)tst-audit6.out): Likewise.
29682 ($(objpfx)tst-audit7): Likewise.
29683 ($(objpfx)tst-audit7.out): Likewise.
29684 (tst-audit3-ENV): Remove variable.
29685 (tst-audit4-ENV): Likewise.
29686 (tst-audit5-ENV): Likewise.
29687 (tst-audit6-ENV): Likewise.
29688 (tst-audit7-ENV): Likewise.
29689 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29690 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29691 addition to variable.
29692 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29693 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29694 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29695 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29696 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29697 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29698 tst-audit3, tst-audit4 and tst-audit5.
29699 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29700 tst-audit6 and tst-audit7.
29701 [$(subdir) = elf] (modules-names): Add audit modules for those
29702 tests.
29703 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29704 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29705 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29706 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29707 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29708 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29709 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29710 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29711 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29712 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29713 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29714 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29715 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29716 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29717 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29718 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29719 Likewise.
29720 [$(subdir) = elf && $(config-cflags-avx) = yes]
29721 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29722 [$(subdir) = elf && $(config-cflags-avx) = yes]
29723 (CFLAGS-tst-auditmod4a.c): Likewise.
29724 [$(subdir) = elf && $(config-cflags-avx) = yes]
29725 (CFLAGS-tst-auditmod4b.c): Likewise.
29726 [$(subdir) = elf && $(config-cflags-avx) = yes]
29727 (CFLAGS-tst-auditmod6b.c): Likewise.
29728 [$(subdir) = elf && $(config-cflags-avx) = yes]
29729 (CFLAGS-tst-auditmod6c.c): Likewise.
29730 [$(subdir) = elf && $(config-cflags-avx) = yes]
29731 (CFLAGS-tst-auditmod7b.c): Likewise.
29732 * elf/tst-audit3.c: Move to ...
29733 * sysdeps/x86_64/tst-audit3.c: ... here.
29734 * elf/tst-audit4.c: Move to ...
29735 * sysdeps/x86_64/tst-audit4.c: ... here.
29736 * elf/tst-audit5.c: Move to ...
29737 * sysdeps/x86_64/tst-audit5.c: ... here.
29738 * elf/tst-audit6.c: Move to ...
29739 * sysdeps/x86_64/tst-audit6.c: ... here.
29740 * elf/tst-audit7.c: Move to ...
29741 * sysdeps/x86_64/tst-audit7.c: ... here.
29742 * elf/tst-auditmod3a.c: Move to ...
29743 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29744 * elf/tst-auditmod3b.c: Move to ...
29745 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29746 * elf/tst-auditmod4a.c: Move to ...
29747 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29748 * elf/tst-auditmod4b.c: Move to ...
29749 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29750 * elf/tst-auditmod5a.c: Move to ...
29751 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29752 * elf/tst-auditmod5b.c: Move to ...
29753 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29754 * elf/tst-auditmod6a.c: Move to ...
29755 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29756 * elf/tst-auditmod6b.c: Move to ...
29757 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29758 * elf/tst-auditmod6c.c: Move to ...
29759 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29760 * elf/tst-auditmod7a.c: Move to ...
29761 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29762 * elf/tst-auditmod7b.c: Move to ...
29763 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29764
1ef74943
PP
297652013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29766
29767 [BZ #15366]
29768 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29769 define unconditionally.
29770 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29771 define unconditionally.
29772 (INT8_C, INT16_C, etc.): Likewise.
29773
93fd48c5
MR
297742013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29775
ae9552cf
MR
29776 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29777 __ehdr_start with hidden visibility.
29778
93fd48c5
MR
29779 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29780
418601aa
CD
297812013-04-24 Carlos O'Donell <carlos@redhat.com>
29782
29783 * math/libm-test.inc (cos_test): Use accurate hex constants.
29784 (sincost_test): Likewise.
29785
2f38fbfe
JM
297862013-04-24 Joseph Myers <joseph@codesourcery.com>
29787
5e221800
JM
29788 * math/libm-test.inc (catan_test): Add more tests.
29789 (catanh_test): Likewise.
29790
77f143fd
JM
29791 * math/s_catanf.c (__catanf): Use suffixed floating-point
29792 constants.
29793 * math/s_catanhf.c (__catanhf): Likewise.
29794 * math/s_catanhl.c (__catanhl): Likewise.
29795 * math/s_catanl.c (__catanl): Likewise.
29796
2f38fbfe
JM
29797 [BZ #15394]
29798 * math/s_catan.c (__catan): Calculate imaginary part of result
29799 with log1p not log unless computing log of number close to 0.
29800 * math/s_catanf.c (__catanf): Likewise.
29801 * math/s_catanl.c (__catanl): Likewise.
29802 * math/s_catanh.c (__catanh): Calculate real part of result with
29803 log1p not log unless computing log of number close to 0.
29804 * math/s_catanhf.c (__catanhf): Likewise.
29805 * math/s_catanhl.c (__catanhl): Likewise.
29806 * math/libm-test.inc (catan_test): Add more tests.
29807 (catanh_test): Likewise.
29808 * sysdeps/i386/fpu/libm-test-ulps: Update.
29809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29810
45d69176
SP
298112013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29812
29813 * benchtests/Makefile: Mention files in which fast and slow
29814 paths of math functions are implemented.
29815
87f51853
RM
298162013-04-23 Roland McGrath <roland@hack.frob.com>
29817
29818 * sysdeps/posix/timespec_get.c: New file.
29819
3c026539
AZ
298202013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29821
29822 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29823 POWER.
29824 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29825 for POWER.
29826 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29827 powerpc/power5/fpu folders.
29828 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29829 * benchtests/Makefile: Add modf testcase.
29830 * benchtests/bench-modf.c: New file: Benchmark test for mo
29831
ff491d14
SP
298322013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29833
29834 [BZ #14888]
29835 * time/Makefile (tests): Add tst-strptime-whitespace.
29836 * time/strptime_l.c (get_number): Use ISSPACE.
29837 (__strptime_internal): Likewise.
29838 * time/tst-strptime-whitespace.c: New test case.
29839
7ed3f4e8
AS
298402013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29841
29842 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29843 member.
29844 (_nss_files_init): Set it here.
29845
5c95f7b6
HC
298462013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29847
29848 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29849 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29850 unsigned.
29851
d34c9158
JBG
298522013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29853
29854 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29855
2169712d
SP
298562013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29857
29858 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29859 size just once.
29860
29c5de99
DM
298612013-04-21 David S. Miller <davem@davemloft.net>
29862
29863 * po/ru.po: Update Russion translation from translation project.
29864
ccdad15d
AC
298652013-04-17 Adam Conrad <adconrad@0c3.net>
29866
29867 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29868 and setfsgid.
29869
0f122b8d
CD
298702013-04-17 Carlos O'Donell <carlos@redhat.com>
29871
5c5b07da 29872 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 29873 * configure: Regenerate.
5c5b07da 29874 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
29875 Add example to error message.
29876 * sysdeps/i386/configure: Regenerate.
29877
037714dd
SP
298782013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29879
29880 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29881 slowtan.
29882 * benchtests/cos-inputs: New file.
29883 * benchtests/slowcos-inputs: New file.
29884 * benchtests/slowcos.c: New file.
29885 * benchtests/slowtan-inputs: New file.
29886 * benchtests/slowtan.c: New file.
29887 * benchtests/tan-inputs: New file.
29888
e913141d
RM
298892013-04-16 Roland McGrath <roland@hack.frob.com>
29890
29891 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29892 considered kosher.
29893
a2964074
SP
298942013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29895
4856bcd2
SP
29896 * benchtests/Makefile: Include cppflags-iterator.mk to add
29897 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29898
a2964074
SP
29899 * Makefile.in (bench-clean): New target.
29900 * benchtests/Makefile (bench-clean): Likewise.
29901
9fbf9aca
DH
299022013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29903
29904 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29905
207d1e2a
TS
299062013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29907
29908 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29909
306dfba9
AS
299102013-04-15 Andreas Schwab <schwab@suse.de>
29911
29912 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29913 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29914 * nscd/pwdcache.c (cache_addpw): Likewise.
29915 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29916 more than recsize.
29917
206a6699
SP
299182013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29919
29920 * benchtests/Makefile (bench): Write all output to
29921 bench-out.tmp together.
29922
0582f6b3
AS
299232013-04-15 Andreas Schwab <schwab@suse.de>
29924
29925 * nscd/nscd.c (main): Don't fork again after closing files.
29926
acb4325f
SP
299272013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29928
5cb26d0a
SP
29929 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29930
acb4325f
SP
29931 * benchtests/Rules (bench-deps): Collect dependencies into a
29932 single variable. Add Makefile to dependencies.
29933 ($(objpfx)bench-%.c): Depend on bench-deps.
29934
47792506
RM
299352013-04-12 Roland McGrath <roland@hack.frob.com>
29936 Xavier Roche <roche+kml2@exalead.com>
29937
29938 [BZ #15361]
29939 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29940 just that it's a file descriptor.
29941 * manual/llio.texi (Synchronizing AIO Operations): Update description
29942 for EBADF error from aio_fsync.
29943
8fc1bee5
SP
299442013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29945
29946 * Rules (bench): Move target definition...
29947 * benchtests/Makefile: ... here.
29948
aba5e333
CD
299492013-04-11 Carlos O'Donell <carlos@redhat.com>
29950
29951 * math/libm-test.inc (cos_test): Fix PI/2 test.
29952 (sincos_test): Likewise.
29953 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29954 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29955
273cdee8
AS
299562013-04-11 Andreas Schwab <schwab@suse.de>
29957
6ecec3b6
AS
29958 [BZ #13988]
29959 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29960 accept exponent character only when digits were seen.
29961 * stdio-common/Makefile (tests): Add bug26.
29962 * stdio-common/bug26.c: New file.
29963
273cdee8
AS
29964 [BZ #14293]
29965 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29966 non-freeable.
29967
8da491f5
SP
299682013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29969
01dc6df9
SP
29970 * Makeconfig (rtld-prefix): Define built linker prefix.
29971 * Rules (run-bench): Use it.
29972 * math/Makefile (run-regen-ulps): Likewise.
29973
8da491f5
SP
29974 * Rules (bench): Remove eval.
29975
abe7f530
SP
299762013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29977 Roland McGrath <roland@hack.frob.com>
29978 Ondrej Bilka <neleai@seznam.cz>
29979
29980 [BZ #15346]
29981 * time/getdate.c: Include ctype.h and alloca.h.
29982 (__getdate_r): Trim leading and trailing spaces of input.
29983 * time/tst-getdate.c (tests): Add tests with leading and
29984 trailing spaces.
29985
61c23e62
RM
299862013-04-08 Roland McGrath <roland@hack.frob.com>
29987
29988 [BZ #14280]
29989 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29990 when computing value.
29991
7208a313
CD
299922013-04-06 Carlos O'Donell <carlos@redhat.com>
29993
085b2d41
CD
29994 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29995 Use testrun.sh to run libm tests.
29996
7208a313
CD
29997 [BZ #15309]
29998 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29999
872c0acd
MM
300002013-04-06 Marko Myllynen <myllynen@redhat.com>
30001
30002 [BZ #15264]
30003 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30004
26510bdd
CD
300052013-04-06 Carlos O'Donell <carlos@redhat.com>
30006
30007 * Makefile.in (regen-ulps): New target.
30008 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30009 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30010 [ifneq (no,$(PERL)] (regen-ulps): New target.
30011 [ifeq (no,$(PERL)] (regen-ulps): New target.
30012 * math/libm-test.inc (ulps_file_name): Define.
30013 (output_dir): New variable.
30014 (options): Add "output-dir" option.
30015 (parse_opt): Handle 'o' case.
30016 (main): If output_dir is non-NULL use it as a prefix
30017 otherwise use "".
30018 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30019
a01f19c8
CD
300202013-04-06 Carlos O'Donell <carlos@redhat.com>
30021
30022 [BZ #10060, #10062]
30023 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30024 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30025 fail configure if __sync_val_compare_and_swap is not inlined.
30026 * sysdeps/i386/configure: Regenerate.
30027 * configure.in: Build for i686 when configured for i386.
30028 * configure: Regenerate.
30029 * README: Remove i386 reference.
30030
b7a329a5
CD
300312013-04-06 Carlos O'Donell <carlos@redhat.com>
30032
30033 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30034 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30035
bf0f50df
TS
300362013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30037
ee091edf
TS
30038 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30039 (lmsnanval): New variables.
30040 (F): Add conversion tests.
30041 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30042 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30043
a8b792d6
TS
30044 * stdio-common/tstdiomisc.c (F): Properly collect individual
30045 tests' results.
30046
a1cbf437
TS
30047 [BZ #14686, #15336]
30048 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30049 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30050 Instead, use input NaN values or generate a qNaN by arithmetic
30051 operation. Also fix bugs to comply with the standard.
30052 * math/libm-test.inc (remainder_test): Add more tests.
30053
8b43a0c9
TS
30054 [BZ #15335, #15342]
30055 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30056 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30057 input NaN values or generate a qNaN by arithmetic operation.
30058
d91da4ce
TS
30059 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30060 unreachable code.
30061
bf0f50df
TS
30062 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30063 definitions.
30064
05e166c8
JM
300652013-04-03 Joseph Myers <joseph@codesourcery.com>
30066
30067 [BZ #14478]
30068 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30069 underflowed result.
30070 * math/s_cexpf.c (__cexpf): Likewise.
30071 * math/s_cexpl.c (__cexpl): Likewise.
30072 * math/libm-test.inc (cexp_test): Add more tests.
30073
1cef1b19
AS
300742013-04-03 Andreas Schwab <schwab@suse.de>
30075
30076 [BZ #15330]
30077 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30078 order arrays from heap if bigger than alloca cutoff.
30079
74d87055
TS
300802013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30081
30082 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30083 (SNAN_TESTS_double): Refer to GCC PR56831.
30084 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30085 GCC PR56828.
30086
d755bba4
SP
300872013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30088
90d5d5bb
SP
30089 * Rules (bench): Move bench.out after the run is complete.
30090
73e0cd5d
SP
30091 * Rules (bench): Echo currently running benchmark.
30092
64aabd4b
SP
30093 * benchtests/Makefile (bench): Add atan and slowatan.
30094 * benchtests/atan-inputs: New file.
30095 * benchtests/slowatan-inputs: New file.
30096 * benchtests/slowatan.c: New file.
30097
c871eccd
SP
30098 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30099 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30100 its value.
30101
d755bba4
SP
30102 [BZ #15305]
30103 * sysdeps/unix/sysv/linux/kernel-features.h
30104 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30105 __ASSUME_XFS_RESTRICTED_CHOWN.
30106 * sysdeps/unix/sysv/linux/pathconf.c
30107 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30108 Save and restore errno.
30109
52ce4860
JM
301102013-04-02 Joseph Myers <joseph@codesourcery.com>
30111
30112 [BZ #15327]
30113 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30114 arguments using __kernel_casinh.
30115 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30116 arguments using __kernel_casinhf.
30117 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30118 arguments using __kernel_casinhl.
30119 * math/libm-test.inc (cacosh_test): Add more tests.
30120 * sysdeps/i386/fpu/libm-test-ulps: Update.
30121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30122
81f311c2
SP
301232013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30124
e7906a47
SP
30125 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30126 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30127
92e3664b
SP
30128 * bench/Makefile (bench): Add sin and slowsin.
30129 * benchtests/sin-inputs: New file.
30130 * benchtests/slowsin-inputs: New file.
30131 * benchtests/slowsin.c: New file.
30132
81f311c2
SP
30133 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30134 (bench): Add slowexp and slowpow.
30135 (exp-ITER): Increase iterations.
30136 (pow-ITER): Likewise.
30137 * benchtests/exp-inputs: Change input.
30138 * benchtests/pow-inputs: Likewise.
30139 * benchtests/slowexp-inputs: New file.
30140 * benchtests/slowexp.c: New file.
30141 * benchtests/slowpow-inputs: New file.
30142 * benchtests/slowpow.c: New file.
30143
ab0f1aa9
AZ
301442013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30145
30146 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30147 instructions.
30148 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30149 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30150 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30151 * benchtests/Makefile: Add rint benchtest.
30152 * benchtests/rint-inputs: Input for rint benchtest.
30153
57267616
TS
301542013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30155
30156 * Versions.def (libm): Add GLIBC_2.18.
30157 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30158 hidden libm prototypes.
30159 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30160 * math/Makefile (libm-calls): Add s_issignaling.
30161 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30162 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30163 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30164 declaration.
30165 * math/math.h [__USE_GNU] (issignaling): New macro.
30166 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30167 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30168 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30169 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30170 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30171 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30172 * manual/arith.texi (issignaling): New section.
30173 * manual/libm-err-tab.pl (@all_functions): Update comment.
30174 * math/gen-libm-test.pl (parse_args): Apply special handling for
30175 issignaling.
30176 * math/libm-test.inc (print_float, issignaling_test): New
30177 functions.
30178 (check_float_internal): Add issignaling checks.
30179 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30180 default definition.
30181 * sysdeps/powerpc/math-tests.h: New file.
30182 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30183 tests.
30184 * math/test-snan.c (TEST_FUNC): Likewise.
30185
6142896d
DM
301862013-03-30 David S. Miller <davem@davemloft.net>
30187
30188 * po/de.po: Update from translation team.
30189
ccc8cadf
JM
301902013-03-30 Joseph Myers <joseph@codesourcery.com>
30191
30192 [BZ #10357]
30193 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30194 imaginary part less than 1.0 and real part less than 0.5
30195 specially.
30196 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30197 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30198 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30199 (cacos_test): Add more tests.
30200 (casin_test): Likewise.
30201 (casinh_test): Likewise.
30202 * sysdeps/i386/fpu/libm-test-ulps: Update.
30203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30204
0f6a8d4b
SP
302052013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30206
0d1029de
SP
30207 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30208 ONE with its value.
30209
c2d94018
SP
30210 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30211 (__pow_mp): Replace ONE and MONE with their values.
30212 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30213 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30214 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30215 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30216 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30217 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30218
27ec37f1
SP
30219 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30220
a64d7e0e
SP
30221 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30222 (__pow_mp): Replace ZERO and MZERO with their values.
30223 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30224 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30225 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30226 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30227 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30228 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30229 (__sqr): Likewise.
30230
d26dd3eb
SP
30231 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30232
0f6a8d4b
SP
30233 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30234
e57b0c61
RM
302352013-03-28 Roland McGrath <roland@hack.frob.com>
30236
30237 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30238 Declare with __attribute__ ((weak)).
30239 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30240 Call __call_tls_dtors only if it's not NULL.
30241
356b3480
RM
302422013-03-28 Roland McGrath <roland@hack.frob.com>
30243
288f7d79
RM
30244 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30245 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30246 magic __ehdr_start linker symbol if it's defined.
30247 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30248 them up here if it was already done.
30249
dc0a0263
RM
30250 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30251 (_dl_aux_init): Use const in cast when setting it.
30252 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30253 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30254 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30255
3d3436ae
RM
30256 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30257 Declare them here.
30258 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30259 * csu/libc-tls.c: Nor here.
30260 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30261
356b3480
RM
30262 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30263 (__libc_message): Never call vsyslog.
30264
b0f1246a
AM
302652013-03-28 Alan Modra <amodra@gmail.com>
30266
30267 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30268 Define as empty.
30269 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30270 Likewise.
30271
fbbe2b9a
AZ
302722013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30273
30274 [BZ #15214]
30275 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30276 underflow.
30277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30278
1728ab37
SP
302792013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30280
7a86be6e
SP
30281 [BZ #15304]
30282 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30283 Don't add gid passed as argument.
30284
1728ab37
SP
30285 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30286
3a7182a1
JM
302872013-03-27 Joseph Myers <joseph@codesourcery.com>
30288
30289 [BZ #15307]
30290 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30291 imaginary part between 1.0 and 1.5 and real part less than 0.5
30292 specially.
30293 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30294 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30295 * math/libm-test.inc (cacos_test): Add more tests.
30296 (casin_test): Likewise.
30297 (casinh_test): Likewise.
30298 * sysdeps/i386/fpu/libm-test-ulps: Update.
30299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30300
6f2e90e7
SP
303012013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30302
5739f705
SP
30303 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30304 constants.
30305 (norm): Likewise.
30306 (denorm): Likewise.
30307 (__dbl_mp): Likewise.
30308 (add_magnitudes): Likewise.
30309 (sub_magnitudes): Likewise.
30310 (__add): Likewise.
30311 (__sub): Likewise.
30312 (__mul): Likewise.
30313 (__sqr): Likewise.
30314 (__inv): Likewise.
30315 (__dvd): Likewise.
30316
e375e83d
SP
30317 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30318 commented code.
30319 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30320 (__dubcos): Likewise.
30321 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30322 (__ieee754_acos): Likewise.
30323 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30324 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30325 (__exp1): Likewise.
30326 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30327 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30328 (log1): Likewise.
30329 (my_log2): Likewise.
30330 (checkint): Likewise.
30331 * sysdeps/ieee754/dbl-64/e_remainder.c
30332 (__ieee754_remainder): Likewise.
30333 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30334 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30335 (bsloww): Likewise.
30336 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30337
6f2e90e7
SP
30338 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30339 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30340 MANTISSA_STORE_T to store computations on mantissa. Use
30341 macros for rounding and division.
30342 (denorm): Likewise.
30343 (__dbl_mp): Likewise.
30344 (add_magnitudes): Likewise.
30345 (sub_magnitudes): Likewise.
30346 (__mul): Likewise.
30347 (__sqr): Likewise.
30348 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30349 powers of two in terms of TWOPOW macro.
30350 (mp_no): Make type of mantissa as MANTISSA_T.
30351 [!RADIXI]: Define RADIXI.
30352 [!TWO52]: Define TWO52.
30353 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30354
fce14d4e
AZ
303552013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30356
30357 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30358 llroundl symbol when building for PPC32.
30359
9ad027fb
MW
303602013-03-24 Mark H Weaver <mhw@netris.org>
30361
30362 * manual/arith.texi (Normalization Functions): Fix prototypes for
30363 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30364
e42a38dd
AZ
303652013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30366
30367 [BZ #13889]
30368 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30369 high value to check if expl overflow.
30370 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30371 to check for underflow and overflow.
30372 * math/libm-test.inc: Add exp test.
30373
2e0fb521
DL
303742013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30375
30376 [BZ #11120]
30377 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30378 with NOT_IN_libc.
30379
b5784d95
AZ
303802013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30381
30382 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30383 symbol.
30384
5aa4a1a1
TS
303852013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30386
bdef0be7
TS
30387 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30388 wrap blocks consisting of several statements.
30389
5aa4a1a1
TS
30390 * sysdeps/generic/math-tests.h: New file.
30391 * sysdeps/i386/fpu/math-tests.h: Likewise.
30392 * math/test-snan.c: Include it.
30393 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30394
98c48fe5
JM
303952013-03-21 Joseph Myers <joseph@codesourcery.com>
30396
30397 [BZ #15285]
30398 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30399 (__ieee754_j0l): Do not improve calculations using cos of twice
30400 input for inputs above LDBL_MAX / 2.0L.
30401 (__ieee754_y0l): Likewise.
30402 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30403 (__ieee754_j1l): Do not improve calculations using cos of twice
30404 input for inputs above LDBL_MAX / 2.0L.
30405 (__ieee754_y1l): Likewise.
30406 * math/libm-test.inc (j0_test): Add another test.
30407 (j1_test): Likewise.
30408 (y0_test): Likewise.
30409 (y1_test): Likewise.
30410 * sysdeps/i386/fpu/libm-test-ulps: Update.
30411
3775a8bc
SP
304122013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30413
30414 * Rules ($(objpfx)bench-%.c): Include code from a C source
30415 file.
30416
0a1b2ae6
JM
304172013-03-21 Joseph Myers <joseph@codesourcery.com>
30418
30419 [BZ #15287]
30420 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30421 imaginary part 1.0 and real part less than 0.5 specially.
30422 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30423 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30424 * math/libm-test.inc (cacos_test): Add more tests.
30425 (casin_test): Likewise.
30426 (casinh_test): Likewise.
30427 * sysdeps/i386/fpu/libm-test-ulps: Update.
30428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30429
b33d4ce4
SP
304302013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30431
30432 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30433 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30434
bef0b507
JM
304352013-03-20 Joseph Myers <joseph@codesourcery.com>
30436
30437 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30438 * config.make.in (config-cflags-sse4): Remove variable.
30439 (config-cflags-avx): Likewise.
30440 (config-cflags-sse2avx): Likewise.
30441 (config-cflags-novzeroupper): Likewise.
30442 (config-asflags-i686): Likewise.
30443 (have-mfma4): Likewise.
30444 (have-as-vis3): Likewise.
30445 (MIG): Likewise.
30446 * configure.in (MIG): Do not AC_SUBST.
30447 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30448 (libc_cv_cc_sse4): Do not AC_SUBST.
30449 (libc_cv_cc_avx): Likewise.
30450 (libc_cv_cc_sse2avx): Likewise.
30451 (libc_cv_cc_novzeroupper): Likewise.
30452 (libc_cv_cc_fma4): Likewise.
30453 (libc_cv_as_i686): Likewise.
30454 (libc_cv_sparc_as_vis3): Likewise.
30455 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30456 LIBC_CONFIG_VAR.
30457 (config-asflags-i686): Likewise.
30458 (config-cflags-avx): Likewise.
30459 (config-cflags-sse2avx): Likewise.
30460 (have-mfma4): Likewise.
30461 (config-cflags-novzeroupper): Likewise.
30462 * sysdeps/mach/configure.in (MIG): Likewise.
30463 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30464 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30465 LIBC_CONFIG_VAR.
30466 (config-cflags-avx): Likewise.
30467 (config-cflags-sse2avx): Likewise.
30468 (have-mfma4): Likewise.
30469 (config-cflags-novzeroupper): Likewise.
30470 * configure: Regenerated.
30471 * sysdeps/i386/configure: Likewise.
30472 * sysdeps/mach/configure: Likewise.
30473 * sysdeps/sparc/configure: Likewise.
30474 * sysdeps/x86_64/configure: Likewise.
30475
912cc4b3
RM
304762013-03-20 Roland McGrath <roland@hack.frob.com>
30477
30478 [BZ #14812]
30479 * locale/programs/localedef.c (options): Put N_ translation marker
30480 on argument names, not just descriptions.
30481
04eed2b0
MS
304822013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30483
30484 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30485
a065ceff
OB
304862013-03-20 Ondřej Bílka <neleai@seznam.cz>
30487
9bb2a810 30488 [BZ #14176]
a065ceff
OB
30489 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30490
a600e5ce
RM
304912013-03-19 Roland McGrath <roland@hack.frob.com>
30492
30493 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30494 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30495 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30496 [!BEFORE_ABORT] (before_abort): New function.
30497 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30498 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30499 (writev_for_fatal): New function.
30500 (WRITEV_FOR_FATAL): New macro; call that.
30501 (backtrace_and_maps): New function.
30502 (BEFORE_ABORT): New macro; call that.
30503 (struct str_list): Type removed.
30504 (__libc_message, __libc_fatal): Functions removed.
30505 Include <sysdeps/posix/libc_fatal.c> instead.
30506
6b18bea6
JM
305072013-03-19 Joseph Myers <joseph@codesourcery.com>
30508
30509 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30510 constants.
30511 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30512 double constants.
30513
aaa8cb4b
AS
305142013-03-19 Andreas Schwab <schwab@suse.de>
30515
44673770
AS
30516 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30517 * sysdeps/gnu/configure: Regenerate.
30518
aaa8cb4b
AS
30519 * configure.in: Substitute libc_cv_rtlddir.
30520 * configure: Regenerate.
30521 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30522 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30523 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30524 * elf/Makefile (install-others, CFLAGS-interp.c)
30525 (ldso_install, common-ldd-rewrite): Likewise.
30526 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30527 $(inst_slibdir)/$(rtld-installed-name).
30528 * scripts/rellns-sh: Add -p option.
30529 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30530 for source.
30531
d3cfc668
SP
305322013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30533
30534 * manual/nptl.texi: Renamed to ...
30535 * manual/threads.texi: ... this.
30536 * manual/Makefile (chapters): Update.
30537
0e2b9cdd
RM
305382013-03-18 Roland McGrath <roland@hack.frob.com>
30539
30540 [BZ #14812]
30541 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30542 on argument names, not just descriptions.
0e2b9cdd
RM
30543 * malloc/memusagestat.c (options): Likewise.
30544 * nss/getent.c (options): Likewise.
63270c24
RM
30545
305462013-03-18 Benno Schulenberg <bensberg@justemail.net>
30547
30548 [BZ #14812]
30549 * iconv/iconv_prog.c (options): Put N_ translation marker
30550 on argument names, not just descriptions.
30551 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 30552
b2e1393c
OB
305532013-03-18 Ondrej Bilka <neleai@seznam.cz>
30554
30555 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30556 implementation which is faster on all x86_64 architectures.
30557 Tested on AMD, Intel Nehalem, SNB, IVB.
30558 * sysdeps/x86_64/strnlen.S: Likewise.
30559
30560 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30561 Remove all multiarch strlen and strnlen versions.
30562 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30563 Remove strlen and strnlen related parts.
30564
30565 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30566 Inline strlen part.
30567 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30568
30569 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30570 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30571 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30572 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30573 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30574 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30575
ec4ff04d
CD
305762013-03-17 Carlos O'Donell <carlos@redhat.com>
30577
30578 * manual/memory.texi (Malloc Tunable Parameters):
30579 Sort parameters alphabetically. Add comments for missing entries.
30580
cd18e90a
DM
305812013-03-17 David S. Miller <davem@davemloft.net>
30582
30583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30584
2a185d32
JM
305852013-03-16 Joseph Myers <joseph@codesourcery.com>
30586
d2f9799e
JM
30587 [BZ #15283]
30588 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30589 for arguments at most half maximum finite value.
30590 * math/libm-test.inc (j0_test): Add more tests.
30591 (j1_test): Likewise.
30592 (y0_test): Likewise.
30593 (y1_test): Likewise.
30594 * sysdeps/i386/fpu/libm-test-ulps: Update.
30595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30596
2a185d32
JM
30597 [BZ #14155]
30598 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30599 1 / x and functions P and Q for arguments above 0x1p256L.
30600 (__ieee754_y0l): Likewise.
30601 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30602 (__ieee754_y1l): Likewise.
30603 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30604 (j1_test): Likewise.
30605 (y0_test): Likewise.
30606 (y1_test): Likewise.
30607
6cbec759
TS
306082013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30609
30610 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30611 variable.
30612
bc16e260
RM
306132013-03-15 Roland McGrath <roland@hack.frob.com>
30614
aefc9b8c
RM
30615 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30616 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30617 zero since it's initialized to EXEC_PAGESIZE.
30618
bc16e260
RM
30619 * sysdeps/unix/sysv/linux/ldsodefs.h
30620 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30621 * sysdeps/generic/ldsodefs.h: ... here.
30622
a57da955
TS
306232013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30624
af00a34d
TS
30625 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30626
495ded2c
TS
30627 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30628 math/test-snan.c.
30629 * math/test-snan.c: Renamed from
30630 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30631 * math/Makefile (tests): Add test-snan.
30632 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30633 test-powerpc-snan.
30634
777b0332
TS
30635 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30636 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30637 functions.
30638 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30639 __builtin_nan family of functions.
30640 * math/libm-test.inc (initialize): Initialize qnan_value with
30641 __builtin_nan family of functions.
30642 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30643 Remove variables.
30644 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30645 Remove functions.
30646 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30647 storage class. Initialize qNaN_var and sNaN_var with
30648 __builtin_nan and __builtin_nans families of functions,
30649 respectively.
30650
64d063b8
TS
30651 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30652 (sqrt_test): Remove duplicate test with qNaN input.
30653 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30654 (round_test, signbit_test, significand_test): Note missing +/-Inf
30655 as well as qNaN tests.
30656
67e971f1
TS
30657 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30658 qNaN_var. Fix a few strings, too.
30659 * math/libm-test.inc (nan_value): Rename to qnan_value.
30660 * math/gen-libm-test.pl (%beautify): Adjust to that.
30661 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30662 * math/test-misc.c (main): Likewise.
30663 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30664 to __qnan_bytes, and __qnan_union, respectively.
30665 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30666 Likewise.
30667 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30668 and lqnanval, respectively.
30669 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30670 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30671 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30672 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30673
64487e12
TS
30674 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30675 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30676 doubles.
30677
e015e27b
TS
30678 * math/test-misc.c (main): Fix copy'n'pastos.
30679 * misc/tst-efgcvt.c (special): Likewise.
30680
a57da955
TS
30681 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30682 Remove declarations.
30683
1e380345
SP
306842013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30685
30686 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30687 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30688 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30689 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30690
ef26eece
AZ
306912013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30692
30693 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30694 macro to return vdso values correctly in IFUNC implementations.
30695 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30696 Optimization by using IFUNC.
30697
8cfdb7e0
SP
306982013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30699 Richard Henderson <rth@redhat.com>
30700 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30701
30702 * Makefile.in (bench): New target.
30703 * NEWS: Mention the benchmark framework.
30704 * Rules (bench): Likewise.
30705 (binaries-bench): Generate binaries for functions to
30706 benchmark.
30707 * benchtests/Makefile: New makefile for benchmark tests.
30708 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30709 programs.
30710 * benchtests/exp-inputs: New input file for EXP function.
30711 * benchtests/pow-inputs: New input file for POW function.
30712 * scripts/bench.pl: New script to generate source files for
30713 benchmark programs.
30714
bcda9880
SP
307152013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30716
d22ca8cd
SP
30717 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30718 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30719 computations on mantissa. Use macros for rounding and
30720 division.
30721 (denorm): Likewise.
30722 (__dbl_mp): Likewise.
30723 (add_magnitudes): Likewise.
30724 (sub_magnitudes): Likewise.
30725 (__mul): Likewise.
30726 (__sqr): Likewise.
30727 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30728 powers of two in terms of TWOPOW macro.
30729 (mp_no): Make type of mantissa as MANTISSA_T.
30730 [!RADIXI]: Define RADIXI.
30731 [!TWO52]: Define TWO52.
30732 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30733
bcda9880
SP
30734 * manual/nptl.texi (cindex): Modify threads to pthreads.
30735
06d5adfb
JM
307362013-03-15 Joseph Myers <joseph@codesourcery.com>
30737
30738 * sysdeps/x86_64/preconfigure: Regenerated.
30739
41c7328e
JM
307402013-03-14 Joseph Myers <joseph@codesourcery.com>
30741
30742 [BZ #14155]
30743 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30744 0x1p28 and above.
30745 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30746 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30747 0x1p28 and above.
30748 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30749 * math/libm-test.inc (j0_test): Do not allow one spurious
30750 underflow exception.
30751 (y1_test): Likewise.
30752
e25cfa60
SP
307532013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30754
0409959c
SP
30755 * manual/Makefile (chapters): Add nptl.
30756 * manual/debug.texi (Debugging Support): Add link to Threads
30757 chapter.
30758 * manual/nptl.texi: New file.
30759
e25cfa60
SP
30760 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30761
58a1335e
PB
307622013-03-14 Petr Baudis <pasky@ucw.cz>
30763
30764 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30765 for non-NULL pointer before the memory validity test. Pointed
30766 out by Holger Brunck <holger.brunck@keymile.com>.
30767
9dc7c64f
AS
307682013-03-13 Andreas Schwab <schwab@suse.de>
30769
30770 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30771 instead of .os.
30772
54206aa6
JM
307732013-03-13 Joseph Myers <joseph@codesourcery.com>
30774
30775 * timezone/zic.c: Update from tzcode 2013b.
30776
e98cdb38
CD
307772013-03-12 Carlos O'Donell <carlos@redhat.com>
30778
30779 * manual/install.texi (Configuring and compiling):
30780 Mention i686 and i586.
30781 * INSTALL: Regenerate.
30782
9967e003
RM
307832013-03-12 Roland McGrath <roland@hack.frob.com>
30784
30785 * sysdeps/init_array/elf-init.c: New file.
30786 * csu/elf-init.c
30787 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30788 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30789
30790 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30791 __gmon_start__ as global, but as static with a .preinit_array pointer.
30792 * sysdeps/init_array/gmon-start.c: New file. Use that.
30793 * sysdeps/init_array/crti.S: New file, empty except for comments.
30794 * sysdeps/init_array/crtn.S: Likewise.
30795
e6b5a293 307962013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
30797
30798 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30799 definining bcopy.
80f844c9
OB
30800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30801 Remove Prefer_SSE_for_memop.
30802 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30803 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30804 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
30805 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30806 memset-x86-64.
80f844c9 30807 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 30808 Remove bzero, memset ifunc support.
80f844c9
OB
30809 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30810 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30811 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30812 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30813
fb6b0fcb
AS
308142013-03-11 Andreas Schwab <schwab@suse.de>
30815
30816 [BZ #15234]
30817 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30818 by SHLIB_COMPAT.
30819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30820 (GLIBC_2.16): Remove pthread_atfork.
30821
3e6bd4b1
PP
308222013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30823
30824 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30825 (ptestcases.h): Likewise.
30826
222d7f00
RM
308272013-03-08 Roland McGrath <roland@hack.frob.com>
30828
30829 * Makeconfig ($(common-objpfx)config.status): Depend on
30830 sysdeps/*/preconfigure{,.in} too.
30831
1ba4f030
JM
308322013-03-08 Joseph Myers <joseph@codesourcery.com>
30833
a222d91a
JM
30834 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30835 (__free_hook): Use void * instead of __malloc_ptr_t.
30836 (__malloc_hook): Likewise.
30837 (__realloc_hook): Likewise.
30838 (__memalign_hook): Likewise.
30839 (__after_morecore_hook): Likewise.
30840 * malloc/arena.c (save_malloc_hook): Likewise.
30841 (save_free_hook): Likewise.
30842 * malloc/hooks.c (malloc_hook_ini): Likewise.
30843 (realloc_hook_ini): Likewise.
30844 (memalign_hook_ini): Likewise.
30845 * malloc/malloc.c (malloc_hook_ini): Likewise.
30846 (realloc_hook_ini): Likewise.
30847 (memalign_hook_ini): Likewise.
30848 (__free_hook): Likewise.
30849 (__malloc_hook): Likewise.
30850 (__realloc_hook): Likewise.
30851 (__memalign_hook): Likewise.
30852 (__libc_malloc): Likewise.
30853 (__libc_free): Likewise.
30854 (__libc_realloc): Likewise.
30855 (__libc_memalign): Likewise.
30856 (__libc_valloc): Likewise.
30857 (__libc_pvalloc): Likewise.
30858 (__libc_calloc): Likewise.
30859 (__posix_memalign): Likewise.
30860 * malloc/morecore.c (__sbrk): Likewise.
30861 (__default_morecore): Likewise.
30862
5cc45e10
JM
30863 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30864
dd54b864
JM
30865 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30866 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30867 __malloc_ptrdiff_t.
30868
1ba4f030
JM
30869 * malloc/malloc.h (__malloc_size_t): Remove macro.
30870 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30871 __malloc_size_t.
30872 (old_memalign_hook): Likewise.
30873 (old_realloc_hook): Likewise.
30874 (struct hdr): Likewise.
30875 (flood): Likewise.
30876 (mallochook): Likewise.
30877 (memalignhook): Likewise.
30878 (reallochook): Likewise.
30879 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30880 (tr_old_realloc_hook): Likewise.
30881 (tr_old_memalign_hook): Likewise.
30882 (tr_mallochook): Likewise.
30883 (tr_reallochook): Likewise.
30884 (tr_memalignhook): Likewise.
30885
edf66e57
AZ
308862013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30887
30888 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30889 default_ldbl_pack and using as default implementation.
30890 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30891 implementation.
30892 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30893 redundant definition.
30894 (ldbl_insert_mantissa): Likewise.
30895 (ldbl_canonicalize): Likewise.
30896 (ldbl_nearbyint): Likewise.
30897 (ldbl_pack): Rename to ldbl_pack_ppc.
30898 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30899 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30900 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30901
6d9145d8
SP
309022013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30903
30904 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30905 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30906 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30907 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30909 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30910 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30911 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30912
4dd4e157
AJ
309132013-03-07 Andreas Jaeger <aj@suse.de>
30914
30915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30916 bits/mman-linux.h.
30917
adbb8027
SP
309182013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30919
ce544b5b
SP
30920 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30921 Include mpa.h and declare __MPEXP.
30922 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30923 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30924 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30925 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30926 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30927 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30928 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30929
4cc149fd
SP
30930 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30931 (__slowpow): Use long double EXPL and LOGL functions to
30932 compute POW.
30933 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30934 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30935 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30936 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30937 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30938 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30939
e6ebd4a7
SP
30940 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30941 intermediate variable to calculate exponent.
30942 (__sqr): Likewise.
30943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30944 Likewise.
30945 (__sqr): Likewise.
30946
82a9811d
SP
30947 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30948 [!NO__SQR]: Define __sqr.
30949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30950 and NO__SQR. Remove all code except __mul and __sqr. Include
30951 sysdeps/ieee754/dbl-64/mpa.c.
30952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30953
adbb8027
SP
30954 [BZ #12723]
30955 * posix/Makefile (tests): Add tst-pathconf.
30956 * posix/tst-pathconf.c: New test case.
30957 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30958 _PC_PIPE_BUF.
30959 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30960
39120df9
PF
309612013-03-06 Patsy Franklin <pfrankli@redhat.com>
30962
30963 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30964
67525cb8
AJ
309652013-03-06 Andreas Jaeger <aj@suse.de>
30966
664a9ce4
AJ
30967 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30968 definition via __MAP_ANONYMOUS.
30969
8e39047d
AJ
30970 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30971 it's not part of Linux headers.
30972
67525cb8
AJ
30973 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30974 (MAP_HUGE_MASK): Define.
30975
30976 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30977 Define.
30978 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30979 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30980 Define.
30981 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30982 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30983 Define.
30984 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30985 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30986 Define.
30987 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30988
30989 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30990 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30991 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30992 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30993 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30994 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30995
30996 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30997 Handle f2fs.
30998
30999 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31000 Handle f2fs and efivarfs.
31001
31002 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31003 f2fs.
31004
31005 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31006 (EFIVARFS_MAGIC): Add.
31007 (F2FS_LINK_MAX): Add.
31008
e1b42695
PP
310092013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31010
31011 * stdio-common/vfprintf.c: Replace __builtin_expect with
31012 __glibc_unlikely.
31013
2d67d91a
JM
310142013-03-06 Joseph Myers <joseph@codesourcery.com>
31015
31016 [BZ #13550]
31017 * sysdeps/generic/bp-sym.h: Remove file.
31018 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31019 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31020 <bp-sym.h> and <bp-asm.h>.
31021 (__longjmp): Don't use BP_SYM.
31022 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31023 and <bp-asm.h>.
31024 (memcpy): Don't use BP_SYM.
31025 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31026 <bp-sym.h> and <bp-asm.h>.
31027 (memcpy): Don't use BP_SYM.
31028 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31029 <bp-asm.h>.
31030 (memcpy): Don't use BP_SYM.
31031 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31032 <bp-asm.h>.
31033 (memset): Don't use BP_SYM.
31034 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31035 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31036 (__bzero): Don't use BP_SYM.
31037 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31038 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31039 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31040 <bp-sym.h> and <bp-asm.h>.
31041 (memcmp): Don't use BP_SYM. Remove comment about bounded
31042 pointers.
31043 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31044 <bp-sym.h> and <bp-asm.h>.
31045 (memcpy): Don't use BP_SYM.
31046 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31047 <bp-sym.h> and <bp-asm.h>.
31048 (memset): Don't use BP_SYM.
31049 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31050 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31051 (__bzero): Don't use BP_SYM.
31052 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31053 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31054 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31055 <bp-sym.h> and <bp-asm.h>.
31056 (strncmp): Don't use BP_SYM. Remove comment about bounded
31057 pointers.
31058 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31059 <bp-sym.h> and <bp-asm.h>.
31060 (memcpy): Don't use BP_SYM.
31061 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31062 <bp-sym.h> and <bp-asm.h>.
31063 (memset): Don't use BP_SYM.
31064 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31065 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31066 (__bzero): Don't use BP_SYM.
31067 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31068 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31069 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31070 <bp-sym.h> and <bp-asm.h>.
31071 (__memchr): Don't use BP_SYM.
31072 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31073 <bp-sym.h> and <bp-asm.h>.
31074 (memcmp): Don't use BP_SYM. Remove comment about bounded
31075 pointers.
31076 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31077 <bp-sym.h> and <bp-asm.h>.
31078 (memcpy): Don't use BP_SYM.
31079 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31080 <bp-sym.h> and <bp-asm.h>.
31081 (__mempcpy): Don't use BP_SYM.
31082 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31083 <bp-sym.h> and <bp-asm.h>.
31084 (__memrchr): Don't use BP_SYM.
31085 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31086 <bp-sym.h> and <bp-asm.h>.
31087 (memset): Don't use BP_SYM.
31088 (__bzero): Likewise.
31089 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31090 <bp-sym.h> and <bp-asm.h>.
31091 (__rawmemchr): Don't use BP_SYM.
31092 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31093 <bp-sym.h> and <bp-asm.h>.
31094 (__STRCMP): Don't use BP_SYM.
31095 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31096 <bp-sym.h> and <bp-asm.h>.
31097 (strchr): Don't use BP_SYM.
31098 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31099 <bp-sym.h> and <bp-asm.h>.
31100 (__strchrnul): Don't use BP_SYM.
31101 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31102 <bp-sym.h> and <bp-asm.h>.
31103 (strlen): Don't use BP_SYM.
31104 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31105 <bp-sym.h> and <bp-asm.h>.
31106 (strncmp): Don't use BP_SYM. Remove comment about bounded
31107 pointers.
31108 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31109 <bp-sym.h> and <bp-asm.h>.
31110 (__strnlen): Don't use BP_SYM.
31111 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31112 <bp-sym.h> and <bp-asm.h>.
31113 (__GI__setjmp): Don't use BP_SYM.
31114 (_setjmp): Likewise.
31115 (__sigsetjmp): Likewise.
31116 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31117 (L(start_addresses)): Don't use BP_SYM.
31118 (_start): Likewise.
31119 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31120 <bp-asm.h>.
31121 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31122 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31123 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31124 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31125 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31126 <bp-asm.h>.
31127 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31128 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31129 about bounded pointers.
31130 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31131 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31132 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31133 <bp-asm.h>.
31134 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31135 about bounded pointers. Remove GKM FIXME comments.
31136 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31137 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31138 <bp-asm.h>.
31139 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31140 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31141 Remove GKM FIXME comments.
31142 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31143 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31144 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31145 <bp-asm.h>.
31146 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31147 about bounded pointers. Remove GKM FIXME comment.
31148 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31149 and <bp-asm.h>.
31150 (strncmp): Don't use BP_SYM. Remove comment about bounded
31151 pointers.
31152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31153 <bp-sym.h> and <bp-asm.h>.
31154 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31156 <bp-sym.h> and <bp-asm.h>.
31157 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31158 comment.
31159
cdcf361f
PP
311602013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31161
31162 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31163 call free(NULL).
31164
3c4a2b15
DM
311652013-03-05 David S. Miller <davem@davemloft.net>
31166
31167 * po/es.po: Update from translation team.
31168
cdcf361f 311692013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
31170
31171 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31172 <bits/mman-linux.h>.
31173 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31174 is fine.
31175 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31176 <bits/mman-linux.h> to end of file.
31177 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31178 is fine.
31179 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31180 <bits/mman-linux.h> to end of file.
31181 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31182 is fine.
31183 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31184 <bits/mman-linux.h> to end of file.
31185
31186 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31187 (MCL_CURRENT, MCL_FUTURE): Define here.
31188
5f67c04f
AK
311892013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31190
8a4473cc 31191 [BZ #15232]
5f67c04f
AK
31192 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31193 attribute_hidden.
31194 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31195
c3e94a95
AK
311962013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31197
31198 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31199 fourth parameter needed for rt_sigprocmask syscall.
31200 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31201 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31202 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31203 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31204 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31205 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31206
cfb6382a
JM
312072013-03-04 Joseph Myers <joseph@codesourcery.com>
31208
31209 [BZ #13550]
31210 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31211 comment about bounded pointers.
31212 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31213 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31214
539d8e01
AJ
312152013-03-04 Andreas Jaeger <aj@suse.de>
31216
31217 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31218 common definitions.
31219
31220 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31221 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31222 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31223 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31224 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
31225 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31226
2e167a70 312272013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
31228
31229 [BZ #15055]
31230 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31231 __ieee754_sqrl instead of __sqrl.
31232
68508633
JM
312332013-03-01 Joseph Myers <joseph@codesourcery.com>
31234
31235 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31236 * sysdeps/powerpc/fpu_control.h: ... here.
31237 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31238 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31239 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31240 * sysdeps/powerpc/bits/mathinline.h: ... here.
31241
7775448e
RM
312422013-03-01 Roland McGrath <roland@hack.frob.com>
31243
31244 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31245 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31246 to just [NEED_DL_SYSINFO_DSO].
31247 * elf/dl-support.c: Likewise.
31248 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31249 * elf/rtld.c (dl_main): Likewise.
31250 * elf/setup-vdso.h (setup_vdso): Likewise.
31251 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31252 * sysdeps/unix/sysv/linux/dl-sysdep.c
31253 (_dl_discover_osversion): Likewise.
31254
4e9b5995
CD
312552013-03-01 Carlos O'Donell <carlos@redhat.com>
31256
31257 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31258 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31259
e23872c8
SP
312602013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31261
e5c74c63
SP
31262 * NEWS: Mention libm performance improvements and non-x86 PI
31263 futex support.
31264
e23872c8
SP
31265 * csu/libc-start.c (__pthread_initialize_minimal): Change
31266 function arguments.
31267 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31268
b5510883
JM
312692013-02-28 Joseph Myers <joseph@codesourcery.com>
31270
31271 [BZ #13550]
31272 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31273 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31274 <bp-sym.h> and <bp-asm.h>.
31275 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31276 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31277 and <bp-asm.h>.
31278 (memcpy): Don't use BP_SYM.
31279 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31280 <bp-asm.h>.
31281 (__mpn_add_n): Don't use BP_SYM.
31282 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31283 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31284 and <bp-asm.h>.
31285 (__mpn_addmul_1): Don't use BP_SYM.
31286 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31287 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31288 <bp-sym.h>.
31289 (_setjmp): Don't use BP_SYM.
31290 (__novmx_setjmp): Likewise.
31291 (__GI__setjmp): Likewise.
31292 (__vmx_setjmp): Likewise.
31293 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31294 <bp-sym.h>.
31295 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31296 (__bzero): Don't use BP_SYM.
31297 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31298 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31299 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31300 <bp-sym.h> and <bp-asm.h>.
31301 (memcpy): Don't use BP_SYM.
31302 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31303 <bp-sym.h> and <bp-asm.h>.
31304 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31305 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31306 <bp-sym.h> and <bp-asm.h>.
31307 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31308 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31309 <bp-asm.h>.
31310 (__mpn_lshift): Don't use BP_SYM.
31311 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31312 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31313 <bp-asm.h>.
31314 (memset): Don't use BP_SYM.
31315 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31316 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31317 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31318 <bp-asm.h>.
31319 (__mpn_mul_1): Don't use BP_SYM.
31320 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31321 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31322 <bp-sym.h> and <bp-asm.h>.
31323 (memcmp): Don't use BP_SYM.
31324 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31325 <bp-sym.h> and <bp-asm.h>.
31326 (memcpy): Don't use BP_SYM.
31327 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31328 <bp-sym.h> and <bp-asm.h>.
31329 (memset): Don't use BP_SYM.
31330 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31331 <bp-sym.h> and <bp-asm.h>.
31332 (strncmp): Don't use BP_SYM.
31333 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31334 <bp-sym.h> and <bp-asm.h>.
31335 (memcpy): Don't use BP_SYM.
31336 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31337 <bp-sym.h> and <bp-asm.h>.
31338 (memset): Don't use BP_SYM.
31339 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31340 <bp-sym.h> and <bp-asm.h>.
31341 (__memchr): Don't use BP_SYM.
31342 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31343 <bp-sym.h> and <bp-asm.h>.
31344 (memcmp): Don't use BP_SYM.
31345 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31346 <bp-sym.h> and <bp-asm.h>.
31347 (memcpy): Don't use BP_SYM.
31348 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31349 <bp-sym.h> and <bp-asm.h>.
31350 (__mempcpy): Don't use BP_SYM.
31351 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31352 <bp-sym.h> and <bp-asm.h>.
31353 (__memrchr): Don't use BP_SYM.
31354 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31355 <bp-sym.h> and <bp-asm.h>.
31356 (memset): Don't use BP_SYM.
31357 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31358 <bp-sym.h> and <bp-asm.h>.
31359 (__rawmemchr): Don't use BP_SYM.
31360 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31361 <bp-sym.h> and <bp-asm.h>.
31362 (__STRCMP): Don't use BP_SYM.
31363 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31364 <bp-sym.h> and <bp-asm.h>.
31365 (strchr): Don't use BP_SYM.
31366 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31367 <bp-sym.h> and <bp-asm.h>.
31368 (__strchrnul): Don't use BP_SYM.
31369 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31370 <bp-sym.h> and <bp-asm.h>.
31371 (strlen): Don't use BP_SYM.
31372 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31373 <bp-sym.h> and <bp-asm.h>.
31374 (strncmp): Don't use BP_SYM.
31375 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31376 <bp-sym.h> and <bp-asm.h>.
31377 (__strnlen): Don't use BP_SYM.
31378 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31379 <bp-asm.h>.
31380 (__mpn_rshift): Don't use BP_SYM.
31381 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31382 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31383 <bp-sym.h> and <bp-asm.h>.
31384 (__sigsetjmp): Don't use BP_SYM.
31385 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31386 (L(start_addresses)): Don't use BP_SYM.
31387 (_start): Likewise.
31388 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31389 <bp-asm.h>.
31390 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31391 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31392 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31393 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31394 <bp-asm.h>.
31395 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31396 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31397 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31398 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31399 <bp-asm.h>.
31400 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31401 comments.
31402 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31403 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31404 <bp-asm.h>.
31405 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31406 FIXME comments.
31407 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31408 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31409 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31410 <bp-asm.h>.
31411 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31412 comment.
31413 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31414 and <bp-asm.h>.
31415 (strncmp): Don't use BP_SYM,
31416 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31417 <bp-asm.h>.
31418 (__mpn_sub_n): Don't use BP_SYM.
31419 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31420 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31421 and <bp-asm.h>.
31422 (__mpn_submul_1): Don't use BP_SYM.
31423 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31425 <bp-sym.h> and <bp-asm.h>.
31426 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31428 <bp-sym.h> and <bp-asm.h>.
31429 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31430 comment.
31431
8d19fe64
SP
314322013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31433
31434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31435 Use ZK to minimize writes to Z.
31436 (sub_magnitudes): Simplify code a bit.
31437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31438 Use ZK to minimize writes to Z.
31439 (sub_magnitudes): Simplify code a bit.
31440
85bd816a
RM
314412013-02-27 Roland McGrath <roland@hack.frob.com>
31442
31443 * csu/gmon-start.c: Add special exception to license text.
31444
b5977bf2
RH
314452013-02-27 Richard Henderson <rth@redhat.com>
31446
31447 * scripts/config.guess: Update from config.git.
31448 * scripts/config.sub: Likewise.
31449
11d6e2f2
SP
314502013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31451
09c14ed2
SP
31452 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31453
a688864e
SP
31454 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31455
6295157a
SP
31456 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31457
b8de2202
SP
31458 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31459
11d6e2f2
SP
31460 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31461
7e80ddb8
RM
314622013-02-26 Roland McGrath <roland@hack.frob.com>
31463
31464 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31465 [$(build-shared = yes].
7e80ddb8 31466
7da6d9ed
SP
314672013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31468
45f05884
SP
31469 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31470 (__mul): Reduce iterations for calculating mantissa.
31471
2236d359
SP
31472 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31473 MPTWO.
31474 (__mpranred): Likewise.
31475
7da6d9ed
SP
31476 [BZ #15160]
31477 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31478 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31479
b7688c42
PE
314802013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31481
31482 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31483 Define __attribute__.
31484
53a5c423
SP
314852013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31486
31487 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31488 unused.
31489 * posix/regex_internal.h (__attribute): Remove.
31490 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31491 (re_string_context_at): Likewise.
31492 (bitset_not): Use __attribute__ and mark function as possibly
31493 unused.
31494 (bitset_merge): Likewise.
31495 (bitset_mask): Likewise.
31496 (re_string_char_size_at): Likewise.
31497 (re_string_wchar_at): Likewise.
31498 (re_string_elem_size_at): Likewise.
31499
60f5a8b5
SP
315002013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31501
2a983a2e
SP
31502 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31503 code.
31504 (cc32): Likewise.
31505
e69804d1
SP
31506 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31507 (__acr): Likewise.
31508 (__cpy): Likewise.
31509 (norm): Likewise.
31510 (denorm): Likewise.
31511 (__dbl_mp): Likewise.
31512 (add_magnitudes): Likewise.
31513 (sub_magnitudes): Likewise.
31514 (__mul): Likewise.
31515 (__inv): Likewise.
31516
2f22a1e8
SP
31517 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31518 style.
31519
8930ddc7
SP
31520 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31521 style.
31522
dc60cb11
SP
31523 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31524 code.
31525
60f5a8b5
SP
31526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31527 up changes with default code.
31528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31529 Likewise.
31530
b4d1fd33
AM
315312013-02-24 Allan McRae <allan@archlinux.org>
31532
faf6f8bc
AM
31533 * manual/socket.texi (The Internet Namespace): Order menu items
31534 to match that in the file.
31535
b4d1fd33
AM
31536 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31537 node listing of the info page menu.
31538
2366713d
JM
315392013-02-21 Joseph Myers <joseph@codesourcery.com>
31540
31541 [BZ #13550]
31542 * sysdeps/i386/bp-asm.h: Remove file.
31543 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31544 (PARMS): Do not use macros from bp-asm.h.
31545 (S1): Likewise.
31546 (S2): Likewise.
31547 (SIZE): Likewise.
31548 (__mpn_add_n): Do not use BP_SYM
31549 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31550 "bp-asm.h".
31551 (PARMS): Do not use macros from bp-asm.h.
31552 (S1): Likewise.
31553 (SIZE): Likewise.
31554 (__mpn_addmul_1): Do not use BP_SYM
31555 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31556 "bp-asm.h".
31557 (PARMS): Do not use macros from bp-asm.h.
31558 (SIGMSK): Likewise.
31559 (_setjmp): Likewise. Do not use BP_SYM.
31560 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31561 "bp-asm.h".
31562 (PARMS): Do not use macros from bp-asm.h.
31563 (SIGMSK): Likewise.
31564 (setjmp): Likewise. Do not use BP_SYM.
31565 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31566 "bp-asm.h".
31567 (PARMS): Do not use macros from bp-asm.h.
31568 (__frexp): Do not use BP_SYM.
31569 (frexp): Likewise.
31570 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31571 "bp-asm.h".
31572 (PARMS): Do not use macros from bp-asm.h.
31573 (__frexpf): Do not use BP_SYM.
31574 (frexpf): Likewise.
31575 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31576 "bp-asm.h".
31577 (PARMS): Do not use macros from bp-asm.h.
31578 (__frexpl): Do not use BP_SYM.
31579 (frexpl): Likewise.
31580 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31581 "bp-asm.h".
31582 (PARMS): Do not use macros from bp-asm.h.
31583 (__remquo): Do not use BP_SYM.
31584 (remquo): Likewise.
31585 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31586 "bp-asm.h".
31587 (PARMS): Do not use macros from bp-asm.h.
31588 (__remquof): Do not use BP_SYM.
31589 (remquof): Likewise.
31590 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31591 "bp-asm.h".
31592 (PARMS): Do not use macros from bp-asm.h.
31593 (__remquol): Do not use BP_SYM.
31594 (remquol): Likewise.
31595 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31596 "bp-asm.h".
31597 (PARMS): Do not use macros from bp-asm.h.
31598 (DEST): Likewise.
31599 (SRC): Likewise.
31600 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31601 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31602 "bp-asm.h".
31603 (PARMS): Do not use macros from bp-asm.h.
31604 (strlen): Do not use BP_SYM.
31605 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31606 "bp-asm.h".
31607 (PARMS): Do not use macros from bp-asm.h.
31608 (S1): Likewise.
31609 (S2): Likewise.
31610 (SIZE): Likewise.
31611 (__mpn_add_n): Do not use BP_SYM.
31612 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31613 "bp-asm.h".
31614 (PARMS): Do not use macros from bp-asm.h.
31615 (S1): Likewise.
31616 (SIZE): Likewise.
31617 (__mpn_addmul_1): Do not use BP_SYM.
31618 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31619 weak_alias.
31620 (bzero): Likewise.
31621 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31622 "bp-asm.h".
31623 (PARMS): Do not use macros from bp-asm.h.
31624 (S): Likewise.
31625 (SIZE): Likewise.
31626 (__mpn_lshift): Do not use BP_SYM.
31627 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31628 "bp-asm.h".
31629 (PARMS): Do not use macros from bp-asm.h.
31630 (DEST): Likewise.
31631 (SRC): Likewise.
31632 (LEN): Likewise.
31633 (memcpy): Likewise. Do not use BP_SYM.
31634 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31635 libc_hidden_def and weak_alias.
31636 (mempcpy): Do not use BP_SYM in weak_alias.
31637 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31638 "bp-asm.h".
31639 (PARMS): Do not use macros from bp-asm.h.
31640 (DEST): Likewise.
31641 (LEN): Likewise.
31642 [!BZERO_P] (CHR): Likewise.
31643 (memset): Likewise. Do not use BP_SYM.
31644 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31645 "bp-asm.h".
31646 (PARMS): Do not use macros from bp-asm.h.
31647 (S1): Likewise.
31648 (SIZE): Likewise.
31649 (__mpn_mul_1): Do not use BP_SYM.
31650 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31651 "bp-asm.h".
31652 (PARMS): Do not use macros from bp-asm.h.
31653 (S): Likewise.
31654 (SIZE): Likewise.
31655 (__mpn_rshift): Do not use BP_SYM.
31656 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31657 "bp-asm.h".
31658 (PARMS): Do not use macros from bp-asm.h.
31659 (STR): Likewise.
31660 (CHR): Likewise.
31661 (strchr): Likewise. Do not use BP_SYM.
31662 (index): Do not use BP_SYM in weak_alias.
31663 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31664 "bp-asm.h".
31665 (PARMS): Do not use macros from bp-asm.h.
31666 (DEST): Likewise.
31667 (SRC): Likewise.
31668 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31669 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31670 "bp-asm.h".
31671 (PARMS): Do not use macros from bp-asm.h.
31672 (strlen): Do not use BP_SYM.
31673 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31674 "bp-asm.h".
31675 (PARMS): Do not use macros from bp-asm.h.
31676 (S1): Likewise.
31677 (S2): Likewise.
31678 (SIZE): Likewise.
31679 (__mpn_sub_n): Do not use BP_SYM.
31680 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31681 "bp-asm.h".
31682 (PARMS): Do not use macros from bp-asm.h.
31683 (S1): Likewise.
31684 (SIZE): Likewise.
31685 (__mpn_submul_1): Do not use BP_SYM.
31686 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31687 "bp-asm.h".
31688 (PARMS): Do not use macros from bp-asm.h.
31689 (S1): Likewise.
31690 (S2): Likewise.
31691 (SIZE): Likewise.
31692 (__mpn_add_n): Do not use BP_SYM.
31693 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31694 weak_alias.
31695 (bzero): Likewise.
31696 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31697 "bp-asm.h".
31698 (PARMS): Do not use macros from bp-asm.h.
31699 (BLK2): Likewise.
31700 (LEN): Likewise.
31701 (memcmp): Do not use BP_SYM.
31702 (bcmp): Do not use BP_SYM in weak_alias.
31703 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31704 "bp-asm.h".
31705 (PARMS): Do not use macros from bp-asm.h.
31706 (DEST): Likewise.
31707 (SRC): Likewise.
31708 (LEN): Likewise.
31709 (memcpy): Likewise. Do not use BP_SYM.
31710 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31711 "bp-asm.h".
31712 (PARMS): Do not use macros from bp-asm.h.
31713 (DEST): Likewise.
31714 (SRC): Likewise.
31715 (LEN): Likewise.
31716 (memmove): Likewise. Do not use BP_SYM.
31717 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31718 "bp-asm.h".
31719 (PARMS): Do not use macros from bp-asm.h.
31720 (DEST): Likewise.
31721 (SRC): Likewise.
31722 (LEN): Likewise.
31723 (__mempcpy): Likewise. Do not use BP_SYM.
31724 (mempcpy): Do not use BP_SYM in weak_alias.
31725 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31726 "bp-asm.h".
31727 (PARMS): Do not use macros from bp-asm.h.
31728 (DEST): Likewise.
31729 (LEN): Likewise.
31730 [!BZERO_P] (CHR): Likewise.
31731 (memset): Likewise. Do not use BP_SYM.
31732 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31733 "bp-asm.h".
31734 (PARMS): Do not use macros from bp-asm.h.
31735 (STR2): Likewise.
31736 (strcmp): Do not use BP_SYM.
31737 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31738 "bp-asm.h".
31739 (PARMS): Do not use macros from bp-asm.h.
31740 (STR): Likewise.
31741 (DELIM): Likewise.
31742 [USE_AS_STRTOK_R] (SAVE): Likewise.
31743 (FUNCTION): Likewise. Do not use BP_SYM.
31744 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31745 aliases.
31746 (strtok_r): Likewise.
31747 (__GI___strtok_r): Likewise.
31748 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31749 (PARMS): Do not use macros from bp-asm.h.
31750 (S): Likewise.
31751 (SIZE): Likewise.
31752 (__mpn_lshift): Do not use BP_SYM.
31753 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31754 (PARMS): Do not use macros from bp-asm.h.
31755 (STR): Likewise.
31756 (CHR): Likewise.
31757 (__memchr): Do not use BP_SYM.
31758 (memchr): Do not use BP_SYM in weak_alias.
31759 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31760 (PARMS): Do not use macros from bp-asm.h.
31761 (BLK2): Likewise.
31762 (LEN): Likewise.
31763 (memcmp): Do not use BP_SYM.
31764 (bcmp): Do not use BP_SYM in weak_alias.
31765 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31766 (PARMS): Do not use macros from bp-asm.h.
31767 (S1): Likewise.
31768 (SIZE): Likewise.
31769 (__mpn_mul_1): Do not use BP_SYM.
31770 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31771 "bp-asm.h".
31772 (PARMS): Do not use macros from bp-asm.h.
31773 (STR): Likewise.
31774 (CHR): Likewise.
31775 (__rawmemchr): Do not use BP_SYM.
31776 (rawmemchr): Do not use BP_SYM in weak_alias.
31777 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31778 (PARMS): Do not use macros from bp-asm.h.
31779 (S): Likewise.
31780 (SIZE): Likewise.
31781 (__mpn_rshift): Do not use BP_SYM.
31782 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31783 (PARMS): Do not use macros from bp-asm.h.
31784 (SIGMSK): Likewise.
31785 (__sigsetjmp): Likewise. Do not use BP_SYM.
31786 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31787 (_start): Do not use BP_SYM.
31788 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31789 (PARMS): Do not use macros from bp-asm.h.
31790 (DEST): Likewise.
31791 (SRC): Likewise.
31792 (__stpcpy): Likewise. Do not use BP_SYM.
31793 (stpcpy): Do not use BP_SYM in weak_alias.
31794 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31795 "bp-asm.h".
31796 (PARMS): Do not use macros from bp-asm.h.
31797 (DEST): Likewise.
31798 (SRC): Likewise.
31799 (LEN): Likewise.
31800 (__stpncpy): Likewise. Do not use BP_SYM.
31801 (stpncpy): Do not use BP_SYM in weak_alias.
31802 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31803 (PARMS): Do not use macros from bp-asm.h.
31804 (STR): Likewise.
31805 (CHR): Likewise.
31806 (strchr): Likewise. Do not use BP_SYM.
31807 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31808 "bp-asm.h".
31809 (PARMS): Do not use macros from bp-asm.h.
31810 (STR): Likewise.
31811 (CHR): Likewise.
31812 (__strchrnul): Likewise. Do not use BP_SYM.
31813 (strchrnul): Do not use BP_SYM in weak_alias.
31814 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31815 "bp-asm.h".
31816 (PARMS): Do not use macros from bp-asm.h.
31817 (STOP): Likewise.
31818 (strcspn): Do not use BP_SYM.
31819 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31820 "bp-asm.h".
31821 (PARMS): Do not use macros from bp-asm.h.
31822 (STR): Likewise.
31823 (STOP): Likewise.
31824 (strpbrk): Likewise. Do not use BP_SYM.
31825 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31826 "bp-asm.h".
31827 (PARMS): Do not use macros from bp-asm.h.
31828 (STR): Likewise.
31829 (CHR): Likewise.
31830 (strrchr): Likewise. Do not use BP_SYM.
31831 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31832 (PARMS): Do not use macros from bp-asm.h.
31833 (SKIP): Likewise.
31834 (strspn): Do not use BP_SYM.
31835 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31836 (PARMS): Do not use macros from bp-asm.h.
31837 (STR): Likewise.
31838 (DELIM): Likewise.
31839 (SAVE): Likewise.
31840 (FUNCTION): Likewise. Do not use BP_SYM.
31841 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31842 aliases.
31843 (strtok_r): Likewise.
31844 (__GI___strtok_r): Likewise.
31845 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31846 (PARMS): Do not use macros from bp-asm.h.
31847 (S1): Likewise.
31848 (S2): Likewise.
31849 (SIZE): Likewise.
31850 (__mpn_sub_n): Do not use BP_SYM.
31851 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31852 "bp-asm.h".
31853 (PARMS): Do not use macros from bp-asm.h.
31854 (S1): Likewise.
31855 (SIZE): Likewise.
31856 (__mpn_submul_1): Do not use BP_SYM.
31857 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31858 <bp-sym.h>.
31859 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31860 and <bp-asm.h>.
31861 (PARMS): Do not use macros from bp-asm.h.
31862 (FLAGS): Likewise.
31863 (PTID): Likewise.
31864 (TLS): Likewise.
31865 (CTID): Likewise.
31866 (__clone): Do not use BP_SYM.
31867 (clone): Do not use BP_SYM in weak_alias.
31868 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31869 and <bp-asm.h>.
31870 (PARMS): Do not use macros from bp-asm.h.
31871 (LEN): Likewise.
31872 (__mmap64): Do not use BP_SYM.
31873 (mmap64): Do not use BP_SYM in weak_alias.
31874 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31875 <bp-sym.h> and <bp-asm.h>.
31876 (PARMS): Do not use macros from bp-asm.h.
31877 (__posix_fadvise64_l64): Do not use BP_SYM.
31878 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31879 (PARMS): Do not use macros from bp-asm.h.
31880 (NSOPS): Likewise.
31881 (semtimedop): Do not use BP_SYM.
31882 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31883 and <bp-asm.h>.
31884
582a3cff
AM
318852013-02-21 Allan McRae <allan@archlinux.org>
31886
31887 * manual/message.texi (Charset conversion in gettext):
31888 Move @end statement to beginning of line.
31889
bab8a695
SP
318902013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31891
80945231
SP
31892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31893 static.
31894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31895 Likewise.
31896
bab8a695
SP
31897 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31898 (denorm): Likewise.
31899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31901
e21d7aa7
AK
319022013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31903
31904 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31905 tail-call to the resolved function if pltexit isn't needed.
31906
4c7a4263
SP
319072013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31908
31909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31910 or Y being zero as being unlikely.
31911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31912 Likewise.
31913
41f49342
CD
319142013-02-20 Carlos O'Donell <carlos@redhat.com>
31915
31916 * manual/nss.texi (System Databases and Name Service Switch):
31917 Remove frobnicate @pxref.
31918
50022a93
TS
319192013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31920
31921 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31922 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31923
08cbd996
PM
319242013-02-20 Petr Machata <pmachata@redhat.com>
31925
31926 * elf/elf.h (R_ARM_TARGET1): New macro.
31927 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31928 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31929 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31930 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31931 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31932 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31933 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31934 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31935 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31936 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31937 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31938 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31939 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31940 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31941 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31942 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31943 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31944 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31945 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31946 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31947 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31948 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31949 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31950 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31951 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31952 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31953 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31954 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31955 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31956 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31957 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31958 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31959 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31960 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31961 (R_ARM_THM_GOT_BREL12): Likewise.
31962 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31963 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31964 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31965 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31966 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31967 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31968 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31969 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31970 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31971
c7b275d6
TS
319722013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31973
31974 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31975 __attribute_used__ to __attribute__ ((unused)).
31976
20cd7fb3
SP
319772013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31978
31979 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31980 powerpc mpa.c.
31981 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31982 comment formatting.
31983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31984
92945b52
JM
319852013-02-19 Joseph Myers <joseph@codesourcery.com>
31986
31987 [BZ #13550]
31988 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31989 Remove macro.
31990 (ENTER): Remove both macro definitions.
31991 (LEAVE): Likewise.
31992 (CHECK_BOUNDS_LOW): Likewise.
31993 (CHECK_BOUNDS_HIGH): Likewise.
31994 (CHECK_BOUNDS_BOTH): Likewise.
31995 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31996 (RETURN_BOUNDED_POINTER): Likewise.
31997 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31998 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31999 (POP_ERRNO_LOCATION_RETURN): Likewise.
32000 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32001 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32002 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32003 macros.
32004 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32005 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32006 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32007 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32008 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32009 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32010 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32011 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32012 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32013 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32014 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32015 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32016 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32017 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32018 removed macros.
32019 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32020 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32021 macros.
32022 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32023 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32024 * sysdeps/i386/i586/memset.S (memset): Likewise.
32025 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32026 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32027 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32028 macros.
32029 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32030 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32031 Change uses of L(2) to L(out).
32032 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32033 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32034 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32035 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32036 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32037 removed macros.
32038 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32039 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32040 macros.
32041 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32042 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32043 (RETURN): Do not use macro LEAVE.
32044 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32045 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32046 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32047 * sysdeps/i386/i686/memset.S (memset): Likewise.
32048 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32049 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32050 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32051 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32052 Likewise.
32053 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32054 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32055 L(1_2) and L(1_3) into L(1).
32056 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32057 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32058 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32059 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32060 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32061 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32062 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32063 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32064 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32065 macros.
32066 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32067 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32068 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32069 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32070 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32071 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32072 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32073 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32074 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32075 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32076 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32077 * sysdeps/i386/strspn.S (strspn): Likewise.
32078 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32079 conditional code.
32080 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32081 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32082 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32083 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32084 L(1_3) into L(1_1).
32085 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32086 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32087 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32088 macros.
32089 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32090
2389741a
JJ
320912013-02-19 Jakub Jelinek <jakub@redhat.com>
32092
32093 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32094 macro.
32095
2016b3cd
SP
320962013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32097
e4f22324
SP
32098 * math/atest-exp.c (exp_mpn): Remove ROUND.
32099 * math/atest-exp2.c (exp_mpn): Likewise.
32100 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32101
2016b3cd
SP
32102 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32103 * stdlib/tst-tls-atexit-lib.c: Likewise.
32104 * stdlib/tst-tls-atexit.c: Likewise.
32105
4be9b544
MF
321062013-02-18 Mike Frysinger <vapier@gentoo.org>
32107
32108 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32109 and __attribute_alloc_size__.
32110
2f62b9ee
MF
321112013-02-18 Mike Frysinger <vapier@gentoo.org>
32112
32113 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32114 __attribute_alloc_size__.
32115 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32116 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32117
6ff444c4
MF
321182013-02-18 Mike Frysinger <vapier@gentoo.org>
32119
32120 * include/programs/xmalloc.h: New file.
32121 * catgets/gencat.c: Include it.
32122 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32123 * elf/pldd.c: Likewise.
32124 * iconv/iconv_charmap.c: Likewise.
32125 * iconv/iconvconfig.c: Likewise.
32126 * iconv/strtab.c: Likewise.
32127 * locale/programs/locale.c: Likewise.
32128 * locale/programs/localedef.h: Likewise.
32129 * locale/programs/simple-hash.c: Likewise.
32130 * nscd/nscd.h: Likewise.
32131 * nss/makedb.c: Likewise.
32132 * sysdeps/generic/ldconfig.h: Likewise.
32133
be179c8a
SP
321342013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32135
ba384f6e
SP
32136 * Versions.def: Add GLIBC_2.18.
32137 * include/link.h (struct link_map): New member l_tls_dtor_count.
32138 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32139 (__call_tls_dtors): Likewise.
32140 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32141 __cxa_thread_atexit_impl.
32142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32143 Likewise.
32144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32145 Likewise.
32146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32147 Likewise.
32148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32149 Likewise.
32150 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32152 Likewise.
32153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32154 Likewise.
32155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32157 Likewise.
32158 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32159 (tests): Add test case tst-tls-atexit.
32160 (modules-names): Add shared library for tst-tls-atexit.
85891aca 32161 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
32162 (GLIBC_PRIVATE): Add __call_tls_dtors.
32163 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32164 for libstdc++.
32165 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32166 * stdlib/tst-tls-atexit.c: New test case.
32167 * stdlib/tst-tls-atexit-lib.c: New test case.
32168
ffaa74cf 32169 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 32170
be179c8a
SP
32171 * elf/Versions (ld): Add _dl_find_dso_for_object.
32172 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32173 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32174 (dl_open_worker): Use _dl_find_dso_for_object.
32175 * elf/dl-sym.c (do_sym): Likewise.
32176 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32177
f78b5caa
AK
321782013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32179
32180 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32181 Syntactic changes only.
32182 (_dl_runtime_profile): Do a tail-call to the resolved function.
32183
29691210
JM
321842013-02-17 Joseph Myers <joseph@codesourcery.com>
32185
32186 [BZ #13550]
32187 * sysdeps/x86_64/bp-asm.h: Remove file.
32188 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32189 <bp-sym.h> and <bp-asm.h>.
32190 (__clone): Do not use BP_SYM.
32191 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32192 <bp-sym.h> and <bp-asm.h>.
32193 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32194 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32195 "bp-asm.h".
32196 (_setjmp): Do not use BP_SYM.
32197 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32198 "bp-asm.h".
32199 (setjmp): Do not use BP_SYM.
32200 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32201 libc_hidden_def.
32202 (mempcpy): Do not use BP_SYM in weak_alias.
32203 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32204 "bp-asm.h".
32205 (strchr): Do not use BP_SYM.
32206 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32207 "bp-asm.h".
32208 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32209 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32210 (_start): Do not use BP_SYM.
32211 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32212 "bp-asm.h".
32213 (strcat): Do not use BP_SYM.
32214 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32215 "bp-asm.h".
32216 (STRCMP): Do not use BP_SYM.
32217 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32218 "bp-asm.h".
32219 (STRCPY): Do not use BP_SYM.
32220 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32221 "bp-asm.h".
32222 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32223 "bp-asm.h".
32224 (FUNCTION): Do not use BP_SYM.
32225 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32226 weak_alias.
32227 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32228
f238fd19
AJ
322292013-02-17 Andreas Jaeger <aj@suse.de>
32230
32231 * time/Versions: Sort entries.
32232 * string/Versions: Likewise.
32233 * resolv/Versions: Likewise.
32234 * posix/Versions: Likewise.
32235 * iconv/Versions: Likewise.
32236 * elf/Versions: Likewise.
32237 * wcsmbs/Versions: Likewise.
32238
bd07f23c 322392013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 32240
22af19f9
SP
32241 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32242 loop termination condition.
32243
4709fe76
SP
32244 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32245 variable to calculate EZ.
32246 (__sqr): Likewise.
2d0e0f29
SP
32247
32248 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32249 the lower precision input.
32250
daaa7713
JM
322512013-02-15 Joseph Myers <joseph@codesourcery.com>
32252
32253 [BZ #13550]
32254 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32255 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32256 (run-via-rtld-prefix): Do not handle %-bp tests.
32257 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32258 (all-object-suffixes): Remove .ob.
32259 (bppfx): Remove variable.
32260 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32261 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32262 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32263 [$(build-bounded) = yes] (libtype.ob): Likewise.
32264 * Makerules (elide-routines.ob): Remove variable.
32265 (do-tests-clean): Do not handle *-bp.out.
32266 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32267 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32268 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32269 (tests): Do not include $(tests-bp.out).
32270 (xtests): Do not include $(xtests-bp.out).
32271 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32272 [$(build-bounded) = yes] ($(addprefix
32273 $(objpfx),$(binaries-bounded))): Remove rule.
32274 ($(objpfx)%-bp.out): Remove rule.
32275 * config.make.in (build-bounded): Remove variable.
32276 * crypt/Makefile [$(build-bounded) = yes]
32277 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32278 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32279 append to variable.
32280 [$(build-bounded) = yes] (install-lib): Likewise.
32281 [$(build-bounded) = yes] (generated): Likewise.
32282 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32283 Remove rule.
32284 * intl/Makefile [$(build-bounded) = yes]
32285 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32286 * math/Makefile [$(build-bounded) = yes]
32287 ($(tests:%=$(objpfx)%-bp): Likewise.
32288 * misc/Makefile [$(build-bounded) = yes]
32289 ($(objpfx)tst-tsearch-bp): Likewise.
32290 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32291 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32292 Remove dependency.
32293 * string/Makefile (o-objects.ob): Remove variable.
32294 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32295 (CFLAGS-.ob): Remove variable.
32296 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32297 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32298 both definitions of variable.
32299 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32300 (ASFLAGS-.ob): Remove variable.
32301
e97ed6dd
JM
323022013-02-14 Joseph Myers <joseph@codesourcery.com>
32303
2bdd4ca6
JM
32304 [BZ #13550]
32305 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32306 Remove __BOUNDED_POINTERS__ from condition.
32307 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32308 * string/bits/string2.h [!__NO_STRING_INLINES &&
32309 !__BOUNDED_POINTERS__]: Likewise.
32310 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32311 Likewise.
32312 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32313 Remove conditional code.
32314 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32315 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32316 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32317 condition.
32318
e97ed6dd
JM
32319 [BZ #13550]
32320 * csu/libc-start.c: Do not include <bp-sym.h>.
32321 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32322 * elf/dl-open.c: Do not include <bp-sym.h>.
32323 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32324 * math/fegetenv.c: Do not include <bp-sym.h>.
32325 (fegetenv): Do not use BP_SYM in versioned symbols.
32326 * nptl/sysdeps/pthread/bits/libc-lockP.h
32327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32328 <bp-sym.h>.
32329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32330 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32332 (__pthread_mutex_destroy): Likewise.
32333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32334 (__pthread_mutex_lock): Likewise.
32335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32336 (__pthread_mutex_trylock): Likewise.
32337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32338 (__pthread_mutex_unlock): Likewise.
32339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32340 (__pthread_mutexattr_init): Likewise.
32341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32342 (__pthread_mutexattr_destroy): Likewise.
32343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32344 (__pthread_mutexattr_settype): Likewise.
32345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32346 (__pthread_rwlock_init): Likewise.
32347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32348 (__pthread_rwlock_destroy): Likewise.
32349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32350 (__pthread_rwlock_rdlock): Likewise.
32351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32352 (__pthread_rwlock_tryrdlock): Likewise.
32353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32354 (__pthread_rwlock_wrlock): Likewise.
32355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32356 (__pthread_rwlock_trywrlock): Likewise.
32357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32358 (__pthread_rwlock_unlock): Likewise.
32359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32360 (__pthread_key_create): Likewise.
32361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32362 (__pthread_setspecific): Likewise.
32363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32364 (__pthread_getspecific): Likewise.
32365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32366 Likewise.
32367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32368 (_pthread_cleanup_push_defer): Likewise.
32369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32370 (_pthread_cleanup_pop_restore): Likewise.
32371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32372 (pthread_setcancelstate): Likewise.
32373 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32374 <bp-sym.h>.
32375 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32376 (memchr): Do not use BP_SYM in weak_alias.
32377 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32378 (fegetenv): Do not use BP_SYM in versioned symbols.
32379 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32380 (fesetenv): Do not use BP_SYM in versioned symbols.
32381 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32382 (feupdateenv): Do not use BP_SYM in versioned symbols.
32383 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32384 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32385 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32386 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32387 (open64): Do not use BP_SYM in weak_alias.
32388 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32389 (fegetenv): Do not use BP_SYM in versioned symbols.
32390 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32391 (fesetenv): Do not use BP_SYM in versioned symbols.
32392 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32393 (feupdateenv): Do not use BP_SYM in versioned symbols.
32394 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32395 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32396 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32397 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32398 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32399 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32400 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32401 <bp-sym.h>.
32402 (__libc_start_main): Do not use BP_SYM.
32403
d6752ccd
SP
324042013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32405
cb57ce60
SP
32406 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32407 redundant return line.
32408 (norm): Likewise.
32409 (denorm): Likewise.
32410 (dbl_mp): Likewise.
32411 (sub_magnitudes): Likewise.
32412 (__add): Likewise.
32413 (__sub): Likewise.
32414 (__mul): Likewise.
32415 (__inv): Likewise.
32416 (__dvd): Likewise.
32417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32418 (norm): Likewise.
32419 (denorm): Likewise.
32420 (dbl_mp): Likewise.
32421 (sub_magnitudes): Likewise.
32422 (__add): Likewise.
32423 (__sub): Likewise.
32424 (__mul): Likewise.
32425 (__inv): Likewise.
32426 (__dvd): Likewise.
32427
f414520d
SP
32428 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32429 instead of __mul.
32430 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32431 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32432 (cc32): Likewise.
32433
d6752ccd
SP
32434 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32435 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32436 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32437 of __mul for squares.
32438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32439 function
32440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32441 Likewise.
32442 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32443 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32444
70d9946a
JM
324452013-02-13 Joseph Myers <joseph@codesourcery.com>
32446
32447 [BZ #13550]
32448 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32449 code.
32450 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32451 prototype or function definition. Rename ubp_* variables and
32452 parameters. Remove argv definitions conditional on
32453 [__BOUNDED_POINTERS__].
32454 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32455 * elf/dl-runtime.c (_dl_fixup): Likewise.
32456 * include/set-hooks.h (RUN_HOOK): Likewise.
32457 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32458 definition.
32459 * string/strcpy.c (strcpy): Do not use __unbounded.
32460 * sysdeps/generic/frame.h (struct layout): Likewise.
32461 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32462 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32463 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32464 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32465 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32466 (__backtrace): Likewise.
32467 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32468 use __ptrvalue.
32469 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32470 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32471 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32472 Likewise.
32473 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32474 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32475 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32476 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32477 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32478 Do not use __unbounded.
32479 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32480 Rename __unboundedrlimits parameter to rlimits in prototype.
32481 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32482 Do not use __unbounded.
32483 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32484 not use __ptrvalue.
32485 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32486 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32487 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32488 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32489 __ptrvalue or __unbounded.
32490 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32491 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32492 use __unbounded.
32493 (__new_msgctl): Do not use __ptrvalue.
32494 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32495 __unbounded.
32496 (__libc_msgrcv): Do not use __ptrvalue.
32497 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32498 startup_info): Do not use __unbounded.
32499 (__libc_start_main): Likewise. Rename ubp_* variables and
32500 parameters. Remove argv definitions conditional on
32501 [__BOUNDED_POINTERS__].
32502 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32503 __ptrvalue.
32504 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32505 use __unbounded.
32506 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32507 or __ptrvalue.
32508 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32509 use __unbounded.
32510 (__new_shmctl): Do not use __ptrvalue.
32511 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32512 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32513 Likewise.
32514 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32515 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32516 (__libc_sigaction): Likewise.
32517 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32518 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32519 Likewise.
32520 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32521
cc7834d6
OB
325222013-02-13 Ondřej Bílka <neleai@seznam.cz>
32523
ffb1ec7b 32524 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
32525
32526 * string/mempcpy.c: Implement by calling memcpy.
32527
bdf02814
SP
325282013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32529
c2af38aa
SP
32530 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32531
4e92d59e
SP
32532 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32533 evaluation.
32534
909279a5
SP
32535 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32536 values in the mantissa.
32537
bdf02814
SP
32538 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32539 minimize writes to Z.
32540 (sub_magnitudes): Simplify code a bit.
32541
cd525923
RM
325422013-02-12 Roland McGrath <roland@hack.frob.com>
32543
32544 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32545 from the message. The linker prefixes all warnings with that already.
32546
7e2f0d2d
AS
325472013-02-12 Andreas Schwab <schwab@suse.de>
32548
a445af0b
AS
32549 [BZ #15078]
32550 * posix/regexec.c (extend_buffers): Add parameter min_len.
32551 (check_matching): Pass minimum needed length.
32552 (clean_state_log_if_needed): Likewise.
32553 (get_subexp): Likewise.
32554 * posix/Makefile (tests): Add bug-regex34.
32555 (bug-regex34-ENV): Define.
32556 * posix/bug-regex34.c: New file.
32557
7e2f0d2d
AS
32558 [BZ #11561]
32559 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32560 elements compare against the byte sequence of it, not its name.
32561 * posix/Makefile (tests): Add bug-regex35.
32562 (bug-regex35-ENV): Define.
32563 * posix/bug-regex35.c: New file.
32564
a175b684
TV
325652013-02-11 Tom de Vries <tom@codesourcery.com>
32566
32567 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32568 comment.
32569 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32570 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32571 (CHECK_EOL): Add undef.
32572
310998fe 325732013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
32574
32575 * bits/stdlib-bsearch.h: New file.
32576 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 32577 * stdlib/stdlib.h: Likewise.
41eda41d 32578
8ded91fb
RM
325792013-02-11 Roland McGrath <roland@hack.frob.com>
32580
32581 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32582 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32583 declaration.
32584 * manual/search.texi (Array Search Function): Add missing const in
32585 lfind prototype.
32586 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32587 declaration to use rlim_t.
32588 (Basic Scheduling Functions): Remove erroneous const from
32589 sched_getparam prototype. Remove erroneous * from
32590 sched_get_priority_max and sched_get_priority_min prototypes.
32591 (Resource Usage): Fix summary @comment on vtimes to refer to
32592 sys/vtimes.h rather than vtimes.h.
32593 Add missing *s in vtimes prototype.
32594 (Limits on Resources): Fix ulimit prototype to return long int.
32595 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32596 prototypes to use long int rather than double.
32597 (BSD Random): Fix initstate and setstate to use char *, not void *.
32598 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32599 prototype to make second argument 'struct aiocb64 *const[]'.
32600 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32601 (Status of AIO Operations): Remove erroneous const in aio_return and
32602 aio_return64 prototypes.
32603 (Synchronizing I/O): Fix sync prototype to return void.
32604 * manual/startup.texi (Suboptions): Remove an erroneous const in
32605 getsubopt prototype.
32606 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32607 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32608 use size_t rather than int.
32609 (Scanning All Users): Likewise for getpwent_r.
32610 (Setting Groups): Add missing const to setgroups prototype.
32611 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32612 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32613 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32614 'const void *' rather than 'const char *'.
32615 (Host Address Functions): Likewise for inet_ntop.
32616 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32617 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32618 ssize_t for return value.
32619 (Sending Data): Likewise for send, sendto, sendmsg.
32620 (Socket Option Functions): Add a missing const in setsockopt prototype.
32621 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32622 use wchar_t for the argument.
32623 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32624 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32625 take no arguments.
32626 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32627 double/float/long double for second argument.
32628 Fix return types of significand, significandf, significandl.
32629 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32630 argument in fchmod prototype.
32631 (File Owner): Use uid_t and gid_t in fchown prototype.
32632 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32633 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32634 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32635 use 'const struct dirent **' as argument types to CMP function pointer
32636 argument.
32637 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32638 (File Times): Fix summary magic @comment for struct utimbuf and utime
32639 to refer to utime.h, not time.h.
32640 * manual/string.texi (Argz Functions): Add missing const in
32641 argz_extract and argz_next prototypes.
32642 (Finding Tokens in a String): Likewise for basename.
32643 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32644 (Copying and Concatenation): Fix typo in wmemmove prototype.
32645 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32646 (Signal Stack): Remove erroneous const in sigstack prototype.
32647 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32648 prototype.
32649 (Simple Calendar Time): Likewise for stime.
32650 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32651 prototype.
32652 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32653 say sys/sysctl.h instead.
32654 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32655 and vsyslog prototypes.
32656
fe77fe6d
TV
326572013-02-11 Tom de Vries <tom@codesourcery.com>
32658
32659 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32660 Remove.
32661
3a09b620
RM
326622013-02-11 Roland McGrath <roland@hack.frob.com>
32663
32664 * misc/sys/mman.h: Fix typo in mremap comment.
32665
550a0b89
RM
326662013-02-08 Roland McGrath <roland@hack.frob.com>
32667
32668 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32669 the '\0' terminator.
32670
a2da1673
JM
326712013-02-08 Joseph Myers <joseph@codesourcery.com>
32672
32673 [BZ #13550]
32674 * debug/segfault.c: Don't include <bp-checks.h>.
32675 * sysdeps/generic/bp-checks.h: Remove file.
32676 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32677 (__GETDENTS): Don't use CHECK_N.
32678 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32679 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32680 (__getgroups): Don't use CHECK_N.
32681 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32682 (setgroups): Don't use CHECK_N.
32683 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32684 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32685 (__libc_msgrcv): Don't use CHECK_N.
32686 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32687 (__libc_msgsnd): Don't use CHECK_N.
32688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32689 <bp-checks.h>.
32690 (__libc_pread): Don't use CHECK_N.
32691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32692 include <bp-checks.h>.
32693 (__libc_pread64): Don't use CHECK_N.
32694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32695 include <bp-checks.h>.
32696 (__libc_pwrite): Don't use CHECK_N.
32697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32698 include <bp-checks.h>.
32699 (__libc_pwrite64): Don't use CHECK_N.
32700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32701 <bp-checks.h>.
32702 (__libc_pread): Don't use CHECK_N.
32703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32704 include <bp-checks.h>.
32705 (__libc_pread64): Don't use CHECK_N.
32706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32707 include <bp-checks.h>.
32708 (__libc_pwrite): Don't use CHECK_N.
32709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32710 include <bp-checks.h>.
32711 (__libc_pwrite64): Don't use CHECK_N.
32712 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32713 (do_pread): Don't use CHECK_N.
32714 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32715 (do_pread64): Don't use CHECK_N.
32716 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32717 (do_pwrite): Don't use CHECK_N.
32718 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32719 (do_pwrite64): Don't use CHECK_N.
32720 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32721 (__libc_readv): Don't use CHECK_N.
32722 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32723 (semop): Don't use CHECK_N.
32724 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32725 <bp-checks.h>.
32726 (semtimedop): Don't use CHECK_N.
32727 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32728 (__libc_pread): Don't use CHECK_N.
32729 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32730 <bp-checks.h>.
32731 (__libc_pread64): Don't use CHECK_N.
32732 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32733 <bp-checks.h>.
32734 (__libc_pwrite): Don't use CHECK_N.
32735 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32736 <bp-checks.h>.
32737 (__libc_pwrite64): Don't use CHECK_N.
32738 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32739 <bp-checks.h>.
32740 (__libc_msgrcv): Don't use CHECK_N.
32741 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32742 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32743 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32744 (__libc_writev): Don't use CHECK_N.
32745
b84660a8
RM
327462013-02-08 Roland McGrath <roland@hack.frob.com>
32747
7f3e75f8
RM
32748 * string/strcpy.c: Removed unused variable.
32749
b84660a8
RM
32750 * Makeconfig (+sysdep-includes): Define with := rather than =.
32751 Use an existing include/ subdir of each sysdeps dir before it.
32752
471514d3
CD
327532013-02-08 Carlos O'Donell <carlos@redhat.com>
32754
32755 * nscd/connection.c (register_traced_file): Comment function.
32756 [HAVE_INOTIFY] (union __inev): Define.
32757 [HAVE_INOTIFY] (inotify_check_files): New function.
32758 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32759 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32760 clear_db_cache.
32761 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32762
b2d3c3be
CD
327632013-02-08 Carlos O'Donell <carlos@redhat.com>
32764
32765 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32766 loaded if not already and that a failure is permanent.
32767
b39949d2
CD
327682013-02-08 Carlos O'Donell <carlos@redhat.com>
32769
ddacd1db 32770 [BZ #15006]
b39949d2
CD
32771 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32772 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32773
b2c9eff4
JM
327742013-02-08 Joseph Myers <joseph@codesourcery.com>
32775
f3aae3f3
JM
32776 [BZ #13550]
32777 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32778 (CHECK_1_NULL_OK): Likewise.
32779 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32780 (__fxstat): Do not use CHECK_1.
32781 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32782 <bp-checks.h>.
32783 (___fxstat64): Do not use CHECK_1.
32784 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32785 <bp-checks.h>.
32786 (__fxstatat): Do not use CHECK_1.
32787 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32788 <bp-checks.h>.
32789 (__fxstatat64): Do not use CHECK_1.
32790 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32791 <bp-checks.h>.
32792 (__fxstat): Do not use CHECK_1.
32793 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32794 <bp-checks.h>.
32795 (__fxstatat): Do not use CHECK_1.
32796 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32797 <bp-checks.h>.
32798 (__getresgid): Do not use CHECK_1.
32799 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32800 <bp-checks.h>.
32801 (__getresuid): Do not use CHECK_1.
32802 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32803 <bp-checks.h>.
32804 (__lxstat): Do not use CHECK_1.
32805 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32806 <bp-checks.h>.
32807 (__old_msgctl): Do not use CHECK_1.
32808 (__new_msgctl): Likewise.
32809 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32810 <bp-checks.h>.
32811 (__new_setrlimit): Do not use CHECK_1.
32812 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32813 <bp-checks.h>.
32814 (__old_shmctl): Do not use CHECK_1.
32815 (__new_shmctl): Likewise.
32816 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32817 <bp-checks.h>.
32818 (__xstat): Do not use CHECK_1.
32819 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32820 (__lxstat): Do not use CHECK_1.
32821 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32822 <bp-checks.h>.
32823 (___lxstat64): Do not use CHECK_1.
32824 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32825 (__old_msgctl): Do not use CHECK_1.
32826 (__new_msgctl): Likewise.
32827 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32828 <bp-checks.h>.
32829 (__gettimeofday): Do not use CHECK_1.
32830 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32831 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32832 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32833 <bp-checks.h>.
32834 (__gettimeofday): Do not use CHECK_1.
32835 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32836 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32837 (__new_shmctl): Do not use CHECK_1.
32838 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32839 <bp-checks.h>.
32840 (do_sigtimedwait): Do not use CHECK_1.
32841 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32842 <bp-checks.h>.
32843 (do_sigwaitinfo): Do not use CHECK_1.
32844 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32845 <bp-checks.h>.
32846 (msgctl): Do not use CHECK_1.
32847 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32848 <bp-checks.h>.
32849 (shmctl): Do not use CHECK_1.
32850 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32851 (ustat): Do not use CHECK_1.
32852 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32853 <bp-checks.h>.
32854 (__fxstat): Do not use CHECK_1.
32855 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32856 <bp-checks.h>.
32857 (__fxstatat): Do not use CHECK_1.
32858 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32859 <bp-checks.h>.
32860 (__lxstat): Do not use CHECK_1.
32861 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32862 <bp-checks.h>.
32863 (__xstat): Do not use CHECK_1.
32864 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32865 (__xstat): Do not use CHECK_1.
32866 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32867 (___xstat64): Do not use CHECK_1.
32868
b2c9eff4
JM
32869 [BZ #13550]
32870 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32871 definitions.
32872 (CHECK_BOUNDS_HIGH): Likewise.
32873 * string/strcpy.c: Do not include <bp-checks.h>.
32874 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32875
f1d70dad
RM
328762013-02-07 Roland McGrath <roland@hack.frob.com>
32877
32878 * nscd/nscd-client.h (__nscd_drop_map_ref):
32879 Add __attribute__ ((unused)).
32880 * nis/nss-nisplus.h (niserr2nss): Likewise.
32881
32882 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32883 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32884
32885 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32886 Remove inline keyword.
32887 * include/rounding-mode.h (round_away): Likewise.
32888 * libio/wfileops.c (adjust_wide_data): Likewise.
32889 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32890 (__m128i_strloadu_tolower): Likewise.
32891 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32892 (__m128i_strloadu_tolower): Likewise.
32893 * time/mktime.c (ydhms_diff): Likewise.
32894 * locale/elem-hash.h (elem_hash): Likewise.
32895 * locale/setlocale.c (setdata): Likewise.
32896 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32897 (re_string_wchar_at): Likewise.
32898 (bitset_not, bitset_merge, bitset_mask): Likewise.
32899 [!(__GNUC__ > 3)] (inline): Remove macro.
32900 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32901 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32902 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32903 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32904 * string/memcmp.c (memcmp_bytes): Likewise.
32905 * locale/programs/locarchive.c (compute_hashval): Likewise.
32906 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32907 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32908 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32909 * nss/getent.c (print_rpc, print_protocols): Likewise.
32910 (print_passwd, print_group, print_aliases): Likewise.
32911 * nis/nss-nisplus.h (niserr2nss): Likewise.
32912 * nscd/connections.c (restart_p): Likewise.
32913 Change return type to bool.
32914
eab55bfb
RM
329152013-02-05 Roland McGrath <roland@hack.frob.com>
32916
7bd642f5
RM
32917 * Makeconfig (all-Depend-files): Add existing
32918 $(sorted-subdirs:=/Depend) files.
32919 (all-subdirs): Remove nss.
32920 * sysdeps/unix/inet/Subdirs: Add it here instead.
32921 * hesiod/Depend: New file.
32922
573c29b2
RM
32923 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32924 instead of calling alloca.
32925
b2e25af0
RM
32926 * io/lseek.c (__lseek): Rename to __libc_lseek.
32927 Define __lseek as an alias.
32928
eab55bfb
RM
32929 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32930
9a0d1941
CD
329312013-02-04 Carlos O'Donell <carlos@redhat.com>
32932
32933 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32934 else clause and remove check for non-standard endianness.
32935
b83bbec4
DM
329362013-02-04 David S. Miller <davem@davemloft.net>
32937
32938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32939
6277fdab
JM
329402013-02-04 Joseph Myers <joseph@codesourcery.com>
32941
32942 [BZ #13550]
32943 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32944 (__ubp_memchr): Remove prototype.
32945 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32946 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32947 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32948 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32949 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32950 Remove alias.
32951 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32952 (__ubp_memchr): Likewise.
32953 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32954 (__ubp_memchr): Likewise.
32955 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32956 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32957 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32958 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32959 CHECK_STRING.
32960 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32961 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32962 (__getcwd): Do not use CHECK_STRING.
32963 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32964 <bp-checks.h>.
32965 (__real_chown): Do not use CHECK_STRING.
32966 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32967 <bp-checks.h>.
32968 (fchownat): Do not use CHECK_STRING.
32969 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32970 CHECK_STRING.
32971 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32972 <bp-checks.h>.
32973 (__lchown): Do not use CHECK_STRING.
32974 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32975 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32976 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32977 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32979 include <bp-checks.h>.
32980 (truncate64): Do not use CHECK_STRING.
32981 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32982 <bp-checks.h>.
32983 (__real_chown): Do not use CHECK_STRING.
32984 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32985 <bp-checks.h>.
32986 (__lchown): Do not use CHECK_STRING.
32987 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32988 <bp-checks.h>.
32989 (__chown): Do not use CHECK_STRING.
32990 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32991 <bp-checks.h>.
32992 (truncate64): Do not use CHECK_STRING.
32993 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32994 Likewise.
32995 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32996 (__xmknod): Do not use CHECK_STRING.
32997 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32998 <bp-checks.h>.
32999 (__xmknodat): Do not use CHECK_STRING.
33000 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33001 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33002
903ae060
AS
330032013-02-04 Andreas Schwab <schwab@suse.de>
33004
33005 [BZ #14142]
33006 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33007 * include/netdb.h: Likewise for h_errno.
33008 * elf/tst-stackguard1.c: Include <tls.h>.
33009
542f9466
JK
330102013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33011
33012 * elf/link.h (struct link_map): Extend the l_addr comment.
33013 * include/link.h (struct link_map): Likewise.
33014
e782a927
JM
330152013-02-01 Joseph Myers <joseph@codesourcery.com>
33016
33017 [BZ #13550]
33018 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33019 (BOUNDED_1): Remove macro.
33020 * debug/backtrace.c: Don't include <bp-checks.h>.
33021 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33022 (__backtrace): Likewise.
33023 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33024 <bp-checks.h>.
33025 (__backtrace): Don't use BOUNDED_1.
33026 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33027 <bp-checks.h>.
33028 (__backtrace): Don't use BOUNDED_1.
33029 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33030 (__backtrace): Don't use BOUNDED_1.
33031 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33032 (shmat): Don't use BOUNDED_N.
33033
8cf28c5e
JM
330342013-01-31 Joseph Myers <joseph@codesourcery.com>
33035
3a7ac8a0
JM
33036 [BZ #13550]
33037 * sysdeps/generic/bp-start.h: Remove file.
33038 * csu/libc-start.c: Don't include <bp-start.h>.
33039 (LIBC_START_MAIN): Set up __environ directly instead of using
33040 INIT_ARGV_and_ENVIRON.
33041 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33042 <bp-start.h>.
33043
f3499f95
JM
33044 [BZ #13550]
33045 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33046 definitions.
33047 (CHECK_FCNTL): Likewise.
33048 (CHECK_N_PAGES): Likewise.
33049
32a45bea
JM
33050 [BZ #13550]
33051 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33052 definitions.
33053 (CHECK_SIGSET_NULL_OK): Likewise.
33054 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33055 <bp-checks.h>.
33056 (sigpending): Don't use CHECK_SIGSET.
33057 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33058 <bp-checks.h>.
33059 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33060 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33061 <bp-checks.h>.
33062 (do_sigsuspend): Don't use CHECK_SIGSET.
33063 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33064 use CHECK_SIGSET.
33065 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33066 (do_sigwait): Don't use CHECK_SIGSET.
33067 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33068 use CHECK_SIGSET.
33069 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33070 include <bp-checks.h>.
33071 (sigpending): Don't use CHECK_SIGSET.
33072 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33073 include <bp-checks.h>.
33074 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33075 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33076 <bp-checks.h>.
33077 (sigpending): Don't use CHECK_SIGSET.
33078 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33079 <bp-checks.h>.
33080 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33081
2e8a5c8c
JM
33082 [BZ #13550]
33083 * sysdeps/generic/bp-semctl.h: Remove file.
33084 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33085 <bp-checks.h> and <bp-semctl.h>.
33086 (__old_semctl): Don't use CHECK_SEMCTL.
33087 (__new_semctl): Likewise.
33088 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33089 and <bp-semctl.h>.
33090 (__old_semctl): Don't use CHECK_SEMCTL.
33091 (__new_semctl): Likewise.
33092 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33093 <bp-checks.h> and <bp-semctl.h>.
33094 (__old_semctl): Don't use CHECK_SEMCTL.
33095 (__new_semctl): Likewise.
33096 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33097 <bp-checks.h> and <bp-semctl.h>.
33098 (semctl): Don't use CHECK_SEMCTL.
33099
c2d54929
JM
33100 [BZ #13550]
33101 * Makerules (elide-bp-thunks): Remove variable.
33102 (elide-routines.oS): Don't use $(elide-bp-thunks).
33103 (elide-routines.os): Likewise.
33104 (elide-routines.o): Likewise.
33105 (elide-routines.op): Likewise.
33106 (elide-routines.og): Likewise.
33107 (objects): Don't use $(bp-thunks).
33108 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33109 include.
33110 (common-generated): Do not add s-proto-bp.d.
33111 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33112 (int): Likewise.
33113 (typ): Likewise.
33114 Do not generate makefile rules for bounded-pointer thunks.
33115 * sysdeps/generic/bp-thunks.h: Remove file.
33116 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33117 * sysdeps/unix/s-proto-bp.S: Likewise.
33118
8cf28c5e
JM
33119 [BZ #15062]
33120 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33121 parts of result separately when argument is not close to line from
33122 -i to i and one part of argument is small.
33123 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33124 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33125 * math/libm-test.inc (cacos_test): Add more tests.
33126 (casin_test): Likewise.
33127 (casinh_test): Likewise.
33128 * sysdeps/i386/fpu/libm-test-ulps: Update.
33129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33130
c4e33b8d
DM
331312013-01-31 David S. Miller <davem@davemloft.net>
33132
33133 * po/de.po: Update from translation team.
33134
3b60b421
MK
331352013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33136
33137 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33138
bb931195
TS
331392013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33140
b5a5da23
TS
33141 * configure.in (_AC_PROG_CC_C89): New definition.
33142 * configure: Regenerate.
33143
bb931195
TS
33144 * configure.in (AC_PROG_CPP): New definition.
33145 * configure: Regenerate.
33146
8c53a12c
JM
331472013-01-23 Joseph Myers <joseph@codesourcery.com>
33148
33149 * debug/tst-backtrace.h: New file.
33150 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33151 (ret): Remove variable.
33152 (x): Likewise.
33153 (FAIL): Remove macro.
33154 (NO_INLINE): Likewise.
33155 (fn1): Use match function instead of strstr.
33156 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33157 (ret): Remove variable.
33158 (x): Likewise.
33159 (FAIL): Remove macro.
33160 (NO_INLINE): Likewise.
33161 (fn): Use match function instead of strstr.
33162 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33163 (ret): Remove variable.
33164 (x): Likewise.
33165 (FAIL): Remove macro.
33166 (NO_INLINE): Likewise.
33167 (handle_signal): Use match function instead of strstr.
33168 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33169 (ret): Remove variable.
33170 (x): Likewise.
33171 (FAIL): Remove macro.
33172 (NO_INLINE): Likewise.
33173 (handle_signal): Use match function instead of strstr.
33174
4858fa2a
RM
331752013-01-23 Roland McGrath <roland@hack.frob.com>
33176
33177 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33178
bae8e7f5
DM
331792013-01-23 David S. Miller <davem@davemloft.net>
33180
33181 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33182 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33183 argument of CAS if possible.
33184 * sysdeps/sparc/sparc64/bits/atomic.h
33185 (__arch_compare_and_exchange_val_32_acq): Likewise.
33186 (__arch_compare_and_exchange_val_64_acq): Likewise.
33187
9cbbc4ae
PT
331882013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33189
33190 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33191 * sysdeps/posix/ulimit.c: ... this.
92a601b8 33192 Include <limits.h>.
67b3f58c 33193 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 33194
5655a0b5
AC
331952013-01-23 Adam Conrad <adconrad@0c3.net>
33196
33197 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33198 (LDFLAGS-tst-array5): Likewise.
33199
052aff95
JM
332002013-01-23 Joseph Myers <joseph@codesourcery.com>
33201
33202 [BZ #15036]
33203 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33204 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33205 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33206 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33207
7c1e01aa
DM
332082013-01-21 David S. Miller <davem@davemloft.net>
33209
33210 * sysdeps/sparc/backtrace.c: New file.
33211 * sysdeps/sparc/sparc32/backtrace.h: New file.
33212 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33213 * sysdeps/sparc/sparc64/backtrace.h: New file.
33214 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33215 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33216 -funwind-tables.
33217
ab087e0a
AS
332182013-01-21 Andreas Schwab <schwab@suse.de>
33219
33220 [BZ #15020]
33221 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33222 closed its stdout.
33223
ed689c2f
AS
332242013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33225
33226 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33227 "mpa2.h".
33228 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33229
31d470ac
JM
332302013-01-18 Joseph Myers <joseph@codesourcery.com>
33231 Mark Mitchell <mark@codesourcery.com>
33232 Tom de Vries <tom@codesourcery.com>
33233 Paul Pluzhnikov <ppluzhnikov@google.com>
33234
33235 * debug/tst-backtrace2.c: New file.
33236 * debug/tst-backtrace3.c: Likewise.
33237 * debug/tst-backtrace4.c: Likewise.
33238 * debug/tst-backtrace5.c: Likewise.
33239 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33240 (CFLAGS-tst-backtrace3.c): Likewise.
33241 (CFLAGS-tst-backtrace4.c): Likewise.
33242 (CFLAGS-tst-backtrace5.c): Likewise.
33243 (LDFLAGS-tst-backtrace2): Likewise.
33244 (LDFLAGS-tst-backtrace3): Likewise.
33245 (LDFLAGS-tst-backtrace4): Likewise.
33246 (LDFLAGS-tst-backtrace5): Likewise.
33247 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33248 tst-backtrace4 and tst-backtrace5.
33249
90567f30 332502013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
33251 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33252
33253 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33254 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33255 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33256 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33258 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33259 "+r" and remove output regs list as redundant. Add explicit inline
33260 asm to specify register of return val to work around compiler codegen
33261 bug. Remove (int) cast on return value. Add return type parameter to
33262 use in macro so that this macro does not truncate return value for
33263 64-bit values.
33264 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33265 pass to INTERNAL_VSYSCALL_NCS.
33266 (INLINE_VSYSCALL): Add 'long int' as return type to
33267 INTERNAL_VSYSCALL_NCS macro invocation.
33268 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33269 INTERNAL_VSYSCALL_NCS macro invocation.
33270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33271
d3b9ea61
SP
332722013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33273
0b57daeb
SP
33274 [BZ #14496]
33275 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33276 Fix application of SIMD FP exception mask.
33277
caa99d06
SP
33278 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33279 mp_no from a power of two.
33280 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33281 __mpexp_twomm1. Use __pow_mp.
33282
d3b9ea61
SP
33283 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33284 multiplication.
33285
1dbaee3c
DM
332862013-01-17 David S. Miller <davem@davemloft.net>
33287
33288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33289
728d7b43
JM
332902013-01-17 Joseph Myers <joseph@codesourcery.com>
33291
33292 [BZ #15023]
33293 * include/complex.h: Condition contents on [!_COMPLEX_H].
33294 (__kernel_casinhf): New prototype.
33295 (__kernel_casinh): Likewise.
33296 (__kernel_casinhl): Likewise.
33297 * math/Makefile (libm_calls): Add k_casinh.
33298 * math/k_casinh.c: New file.
33299 * math/k_casinhf.c: Likewise.
33300 * math/k_casinhl.c: Likewise.
33301 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33302 finite nonzero arguments.
33303 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33304 finite nonzero arguments.
33305 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33306 finite nonzero arguments.
33307 * math/s_casinh.c: Do not include <float.h>.
33308 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33309 * math/s_casinhf.c: Do not include <float.h>.
33310 (__casinhf): Move code for finite nonzero arguments to
33311 k_casinhf.c.
33312 * math/s_casinhl.c: Do not include <float.h>.
33313 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33314 redefine.
33315 (__casinhl): Move code for finite nonzero arguments to
33316 k_casinhl.c.
33317 * math/libm-test.inc (cacos_test): Add more tests.
33318 * sysdeps/i386/fpu/libm-test-ulps: Update.
33319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33320
2a26ef3a
PT
333212013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33322
33323 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33324 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33325 [!HAVE_MREMAP]: Remove [defined linux] case.
33326 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33327
a897655d
SP
333282013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33329
33330 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33331
881ebe89 333322013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
33333
33334 * elf/elf.h (R_386_SIZE32): New relocation.
33335 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33336 R_386_SIZE32.
33337 (elf_machine_rela): Likewise.
33338 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33339 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33340
59981e9b
JM
333412013-01-17 Joseph Myers <joseph@codesourcery.com>
33342
33343 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33344 (FP_FAST_FMA): Do not define.
33345 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33346 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33347 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33348 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33349 !_SOFT_FLOAT]: Likewise.
33350 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33351 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33352 value.
33353 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33354 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33355 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33356 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33357 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33358 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33359 file.
33360
cfa8054f
AS
333612013-01-16 Andreas Schwab <schwab@suse.de>
33362
33363 [BZ #14327]
33364 * include/stdlib.h (__mktemp): Add declaration.
33365 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33366 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33367
dd930cc5
SP
333682013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33369
881ebe89
SP
33370 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33371 definitions.
33372 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33373 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33374 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33375 definitions here.
33376 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33377 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33378 definitions.
33379 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33380 and ONE.
33381 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33382 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33383 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33384 definitions.
33385 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33386 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33387 definitions.
33388 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 33389
dd930cc5
SP
33390 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33391
c19a9f89
DM
333922013-01-15 David S. Miller <davem@davemloft.net>
33393
1aa61767
DM
33394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33395 trunc{,f} to libm-sysdep_routes.
33396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33398 file.
33399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33401 file.
33402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33403 file.
33404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33406 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33407 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33408 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33409 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33410 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33411 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33412
c42d5e98
DM
33413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33414 nearbyint{,f} to libm-sysdep_routes.
33415 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33417 New file.
33418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33419 file.
33420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33421 New file.
33422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33423 file.
33424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33426 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33427 file.
33428 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33429 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33430 file.
33431 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33432 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33433 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33434
c19a9f89
DM
33435 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33436 libc_feholdexcept and libc_fesetenv.
33437
357679d2
MF
334382013-01-15 Mike Frysinger <vapier@gentoo.org>
33439
33440 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33441
65a82e3d
DM
334422013-01-14 David S. Miller <davem@davemloft.net>
33443
8b954ab9
DM
33444 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33445 (SPARC_ASM_VIS2_IFUNC): Likewise.
33446 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33448 use of 'siam' instruction.
33449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33450 Likewise.
33451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33452 Likewise.
33453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33454 Likewise.
33455 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33456 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33457 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33458 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33460 file.
33461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33462 file.
33463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33464 file.
33465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33466 file.
33467 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33468 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33469 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33470 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33472 new VIS2 routines.
33473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33476 Likewise.
33477 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33478 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33480 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33482 routines to libm-sysdep_routines.
33483 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33484
65a82e3d
DM
33485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33486 fdim/fdimf to libm-sysdep_routines.
33487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33488 file.
33489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33491 file.
33492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33495 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33496 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33497 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33498 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33499
e34ab705
SP
335002013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33501
2a91b573
SP
33502 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33503 to optimize copies.
33504
1066a534
SP
33505 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33508
e34ab705
SP
33509 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33510 local variable MPTWO.
33511 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33512 Likewise.
33513
aba5e596
MF
335142013-01-13 Mike Frysinger <vapier@gentoo.org>
33515
33516 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33517 GLOB_NOESCAPE.
33518
e557e9e5
MF
335192013-01-13 Mike Frysinger <vapier@gentoo.org>
33520
33521 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33522
0428cec9
MF
335232013-01-13 Mike Frysinger <vapier@gentoo.org>
33524
33525 * manual/pattern.texi (glob_t): Document gl_flags.
33526 (glob64_t): Likewise.
33527
8794a964
DM
335282013-01-11 David S. Miller <davem@davemloft.net>
33529
66438c3f
RM
33530 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33531 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33532 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
33533 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33534 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33535 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33536 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33537 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33538 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33539 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33540 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33541 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33542 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33543
4ae4244d
DM
33544 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33545 sparc V9 rather than using V8 code.
33546 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33547 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33548
8794a964
DM
33549 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33550 Move to...
33551 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33552 Here.
33553
6270516e
RM
335542013-01-11 Roland McGrath <roland@hack.frob.com>
33555
33556 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33557 not in the main loop.
33558 * configure: Regenerated.
33559
6a57d931
JM
335602013-01-11 Joseph Myers <joseph@codesourcery.com>
33561
33562 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33563 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33564 to just #else.
33565 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33566 [!__GLIBC_HAVE_LONG_LONG] case.
33567 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33568 condition to just #else.
33569 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33570 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33571 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33572 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33573 unconditional.
33574 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33575 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33576 #elif condition to just #else.
33577 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33578 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33579 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33580 #elif condition to just #else.
33581
0e8529e9
SE
335822013-01-11 Steve Ellcey <sellcey@mips.com>
33583
33584 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33585 (EF_MIPS_ARCH_64): Fix value.
33586 (EF_MIPS_ARCH_32R2): New.
33587 (EF_MIPS_ARCH_64R2): New.
33588
740b3dbe
L
335892013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33590
33591 * Makeconfig (+link-pie-before-libc): New.
33592 (+link-pie-after-libc): Likewise.
33593 (+link-pie-tests): Likewise.
33594 (+link-pie): Rewritten.
33595 (link-before-libc): Remove $(config-LDFLAGS).
33596 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33597 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33598 (config-LDFLAGS): Renamed to ...
33599 (rtld-LDFLAGS): This.
33600 (rtld-tests-LDFLAGS): New macro.
33601 (link-libc-rpath-link): Likewise.
33602 (link-libc-tests-rpath-link): Likewise.
33603 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33604 (link-libc): Prepand $(link-libc-rpath-link).
33605 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33606 (test-program-prefix): New macro.
33607 (test-via-rtld-prefix): Likewise.
33608 (test-program-cmd): Likewise.
33609 (host-test-program-cmd): Likewise.
33610 * Makefile ($(common-objpfx)testrun.sh): Replace
33611 $(run-program-prefix) with $(test-program-prefix).
33612 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33613 $(rtld-LDFLAGS).
33614 ($(common-objpfx)shlib.lds): Likewise.
33615 (build-module-helper): Likewise.
33616 ($(common-objpfx)format.lds): Likewise.
33617 * Rules (binaries-pie-tests): New.
33618 (binaries-pie-notests): Likewise.
33619 (binaries-pie): Rewritten.
33620 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33621 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33622 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33623 (make-test-out): Replace $(host-built-program-cmd) with
33624 $(host-test-program-cmd).
33625 * config.make.in (build-hardcoded-path-in-tests): New variable.
33626 * configure.in (--enable-hardcoded-path-in-tests): New configure
33627 option.
33628 (hardcoded_path_in_tests): New AC_SUBST.
33629 * configure: Regenerated.
33630 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33631 $(built-program-cmd) with $(test-program-cmd).
33632 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33633 (test_program_cmd): This.
33634 * elf/Makefile ($(objpfx)order.out): Run test with
33635 $(test-program-prefix).
33636 ($(objpfx)order2.out): Likewise.
33637 ($(objpfx)tst-initorder.out): Likewise.
33638 ($(objpfx)tst-initorder2.out): Likewise.
33639 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33640 $(test-program-cmd).
33641 ($(objpfx)tst-array1-static.out): Likewise.
33642 ($(objpfx)tst-array2.out): Likewise.
33643 ($(objpfx)tst-array3.out): Likewise.
33644 ($(objpfx)tst-array4.out): Likewise.
33645 ($(objpfx)tst-array5.out): Likewise.
33646 ($(objpfx)tst-array5-static.out): Likewise.
33647 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33648 $(test-program-cmd).
33649 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33650 $(run-program-prefix) with $(test-program-prefix).
33651 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33652 (test_program_prefix): This.
33653 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33654 $(run-program-prefix) with $(test-program-prefix).
33655 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33656 (test_program_prefix): This.
33657 * iconvdata/tst-tables.sh: Likewise.
33658 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33659 $(run-program-prefix) with $(test-program-prefix).
33660 ($(objpfx)tst-translit.out): Likewise.
33661 ($(objpfx)tst-gettext2.out): Likewise.
33662 ($(objpfx)tst-gettext4.out): Likewise.
33663 ($(objpfx)tst-gettext6.out): Likewise.
33664 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33665 (test_program_prefix): This.
33666 * intl/tst-gettext2.sh: Likewise.
33667 * intl/tst-gettext4.sh Likewise.
33668 * intl/tst-gettext6.sh: Likewise.
33669 * intl/tst-translit.sh: Likewise.
33670 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33671 with $(test-program-cmd).
33672 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33673 $(run-program-prefix) with $(test-program-prefix).
33674 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33675 (test_program_prefix): This.
33676 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33677 $(run-program-prefix) with $(test-program-prefix).
33678 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33679 (test_program_prefix): This.
33680 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33681 * posix/Makefile ($(objpfx)globtest.out): Replace
33682 $(run-via-rtld-prefix) and $(test-wrapper) with
33683 $(test-program-prefix) and $(test-via-rtld-prefix).
33684 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33685 $(test-program-prefix).
33686 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33687 $(host-test-program-cmd).
33688 (tst-spawn-ARGS): Likewise.
33689 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33690 $(test-program-prefix).
33691 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33692 (test_via_rtld_prefix): This.
33693 (test_wrapper): Renamed to ...
33694 (test_program_prefix): This.
33695 (run_program_prefix): Replaced by test_program_prefix.
33696 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33697 (test_program_prefix): This.
33698 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33699 with $(host-test-program-cmd).
33700 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33701 $(run-program-prefix) with $(test-program-prefix).
33702 ($(objpfx)tst-printf.out): Likewise.
33703 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33704 $(test-program-cmd).
33705 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33706 (test_program_prefix): This.
33707 * stdio-common/tst-unbputc.sh: Likewise.
33708 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33709 $(run-program-prefix) with $(test-program-prefix).
33710 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33711 (test_program_prefix): This.
33712 * string/Makefile ($(objpfx)tst-svc.out): Replace
33713 $(built-program-cmd) with $(test-program-cmd).
33714
c6fe55cf
AJ
337152013-01-11 Andreas Jaeger <aj@suse.de>
33716
33717 [BZ #15003]
33718 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33719 value. Sync with Linux 3.7.
33720
9e6919c8
DM
337212013-01-10 David S. Miller <davem@davemloft.net>
33722
33723 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33724 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33725 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33726
1c9f1a02
RM
337272013-01-10 Roland McGrath <roland@hack.frob.com>
33728
33729 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33730 never set.
33731 * configure: Regenerated.
33732
b9de2dde
DM
337332013-01-10 David S. Miller <davem@davemloft.net>
33734
33735 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33736 sparc V9 rather than using V8 code.
33737 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33738 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33739
e7f68ef4
RM
337402013-01-10 Roland McGrath <roland@hack.frob.com>
33741
33742 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33743 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33744 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33745 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33746 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33747 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33748 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33749 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33750 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33751 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33752 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33753 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33754 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33755 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33756 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33757 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33758 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33759 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33760 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33761 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33762 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33763 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33764 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33765 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33766 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33767 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33768 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33769
5a47cc9c
DM
337702013-01-10 David S. Miller <davem@davemloft.net>
33771
33772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33773
4cf8f209
L
337742013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33775
33776 * posix/Makefile (tests-static): New variable.
33777 (tests): Add $(tests-static).
33778 (tst-exec-static-ARGS): New variable.
33779 (tst-spawn-static-ARGS): Likewise.
33780 * posix/tst-exec-static.c: New file.
33781 * posix/tst-spawn-static.c: Likewise.
33782 * posix/tst-exec.c: Support run directly.
33783 * posix/tst-spawn.c: Likewise.
33784
fed0faa1
JM
337852013-01-10 Joseph Myers <joseph@codesourcery.com>
33786
828beb13
JM
33787 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33788 long.
33789 * math/bits/mathcalls.h (llrint): Likewise.
33790 (llround): Likewise.
33791 * stdlib/stdlib.h (struct drand48_data): Likewise.
33792 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33793 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33794 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33795 Likewise.
33796 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33797 Likewise.
33798 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33799 (elf_greg_t): Likewise.
33800 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33801 (__jmp_buf): Likewise.
33802 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33803 definitions.
33804 (llrint): Likewise, for all definitions.
33805 (llrintl): Likewise.
33806
fed0faa1
JM
33807 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33808 Remove [__GNUC__] condition.
33809 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33810 condition to just [__USE_ISOC99].
33811 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33812
1a20cb20
L
338132013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33814
33815 [BZ #14200]
33816 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33817 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33818 defined.
33819 (_POSIX_V6_ILP32_OFF32): Likewise.
33820 (_XBS5_ILP32_OFF32): Likewise.
33821 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33822 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33823
751b85f7
SP
338242013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33825
7490eb81
SP
33826 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33827
751b85f7
SP
33828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33829 doubles __mpexp_twomm1. Adjust usage.
33830 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33831 Remove.
33832
988197f0
AS
338332013-01-10 Andreas Schwab <schwab@suse.de>
33834
33835 [BZ #14964]
33836 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33837 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33838
e83d7298
DM
338392013-01-09 David S. Miller <davem@davemloft.net>
33840
034ed64b 33841 [BZ #15003]
57f41c40
AS
33842 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33843 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33844 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33845 (TCP_FASTOPEN): Define.
e83d7298
DM
33846 (tcp_repair_opt): New structure.
33847 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33848 enum values.
57f41c40
AS
33849 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33850 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33851 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
33852 (tcp_cookie_transactions): New structure.
33853
d5e0b9bd
AB
338542013-01-09 Anton Blanchard <anton@samba.org>
33855
33856 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33857 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33858 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33859 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33860
0c07e3ea
JM
338612013-01-09 Joseph Myers <joseph@codesourcery.com>
33862
33863 * include/features.h (__USE_ANSI): Remove.
33864
232f7002
RM
338652013-01-09 Roland McGrath <roland@hack.frob.com>
33866
ad98e30c
RM
33867 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33868
232f7002
RM
33869 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33870
950c99ca
SP
338712013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33872
b5792741
SP
33873 * sysdeps/s390/fpu/libm-test-ulps: Update.
33874
47cf2278
SP
33875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33876
950c99ca
SP
33877 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33878 (__acr): Likewise.
33879 (__cpy): Likewise.
33880 (norm): Likewise.
33881 (denorm): Likewise.
33882 (__mp_dbl): Likewise.
33883 (__dbl_mp): Likewise.
33884 (add_magnitudes): Likewise.
33885 (sub_magnitudes): Likewise.
33886 (__add): Likewise.
33887 (__sub): Likewise.
33888 (__mul): Likewise.
33889 (__inv): Likewise.
33890 (__dvd): Likewise.
33891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33892 (__acr): Likewise.
33893 (__cpy): Likewise.
33894 (norm): Likewise.
33895 (denorm): Likewise.
33896 (__mp_dbl): Likewise.
33897 (__dbl_mp): Likewise.
33898 (add_magnitudes): Likewise.
33899 (sub_magnitudes): Likewise.
33900 (__add): Likewise.
33901 (__sub): Likewise.
33902 (__mul): Likewise.
33903 (__inv): Likewise.
33904 (__dvd): Likewise.
33905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33906 (__acr): Likewise.
33907 (__cpy): Likewise.
33908 (norm): Likewise.
33909 (denorm): Likewise.
33910 (__mp_dbl): Likewise.
33911 (__dbl_mp): Likewise.
33912 (add_magnitudes): Likewise.
33913 (sub_magnitudes): Likewise.
33914 (__add): Likewise.
33915 (__sub): Likewise.
33916 (__mul): Likewise.
33917 (__inv): Likewise.
33918 (__dvd): Likewise.
33919
eede9df9
JM
339202013-01-08 Joseph Myers <joseph@codesourcery.com>
33921
33922 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33923 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33924 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33925 2 && __USE_EXTERN_INLINES]: Likewise.
33926
c40ea3d9
AJ
339272013-01-08 Andreas Jaeger <aj@suse.de>
33928
33929 [BZ# 14985]
33930 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33931 Remove.
33932 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33933 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33934
2ccdea26
AB
339352013-01-07 Anton Blanchard <anton@samba.org>
33936
33937 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33938 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33939 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33940 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33941 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33942 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33943 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33944 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33946 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33947 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33948 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33949 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33950 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33951 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33952 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33953 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33954 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33955 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33956 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33957 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33958 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33959 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33960 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33961 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33962 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33963 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33964 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33965 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33966 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33967 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33969 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33970 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33971 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33972 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33973 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33974 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33975 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33976 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33977 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33978 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33979 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33980
a9708fed
JM
339812013-01-07 Joseph Myers <joseph@codesourcery.com>
33982
375607b9
JM
33983 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33984 (__MALLOC_PMT): Likewise.
33985 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33986 [__GNUC__], only on [_LIBC].
33987 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33988 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33989 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33990 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33991 forward declaration.
33992 (realloc_hook_ini): Likewise.
33993 (memalign_hook_ini): Likewise.
33994 (__libc_memalign): Do not use __MALLOC_PMT in variable
33995 declaration.
33996 (__libc_valloc): Likewise.
33997 (__libc_pvalloc): Likewise.
33998 (__libc_calloc): Likewise.
33999 (__posix_memalign): Likewise.
34000
a9708fed
JM
34001 [BZ #14996]
34002 * math/s_casinh.c: Include <float.h>.
34003 (__casinh): Do not do computation with squaring and square root
34004 for large arguments.
34005 * math/s_casinhf.c: Include <float.h>.
34006 (__casinhf): Do not do computation with squaring and square root
34007 for large arguments.
34008 * math/s_casinhl.c: Include <float.h>.
34009 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34010 (__casinhl): Do not do computation with squaring and square root
34011 for large arguments.
34012 * math/libm-test.inc (casin_test): Add more tests.
34013 (casinh_test): Likewise.
34014 * sysdeps/i386/fpu/libm-test-ulps: Update.
34015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34016
afec409a
L
340172013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34018
34019 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34020 (__x86_64_raw_data_cache_size): Likewise.
34021 (__x86_64_data_cache_size_half): Likewise.
34022 (__x86_64_raw_data_cache_size_half): Likewise.
34023 (__x86_64_shared_cache_size): Likewise.
34024 (__x86_64_raw_shared_cache_size): Likewise.
34025 (__x86_64_shared_cache_size_half): Likewise.
34026 (__x86_64_raw_shared_cache_size_half): Likewise.
34027 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34028 to ...
34029 (__x86_data_cache_size): This.
34030 (__x86_64_raw_data_cache_size): Renamed to ...
34031 (__x86_raw_data_cache_size): This.
34032 (__x86_64_data_cache_size_half): Renamed to ...
34033 (__x86_data_cache_size_half): This.
34034 (__x86_64_raw_data_cache_size_half): Renamed to ...
34035 (__x86_raw_data_cache_size_half): This.
34036 (__x86_64_shared_cache_size): Renamed to ...
34037 (__x86_shared_cache_size): This.
34038 (__x86_64_raw_shared_cache_size): Renamed to ...
34039 (__x86_raw_shared_cache_size): This.
34040 (__x86_64_shared_cache_size_half): Renamed to ...
34041 (__x86_shared_cache_size_half): This.
34042 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34043 (__x86_raw_shared_cache_size_half): This.
34044 * sysdeps/x86_64/memcpy.S: Updated.
34045 * sysdeps/x86_64/memset.S: Likewise.
34046 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34047 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34048 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34049
0b3986d0
DM
340502013-01-04 David S. Miller <davem@davemloft.net>
34051
34052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34053
e47686e9
AS
340542013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34055
d643bac1
AS
34056 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34057 1 to avoid redefinition warning.
34058 (__USE_GNU): Don't define.
34059 (init_signaling_nan): Protoize.
34060
e47686e9
AS
34061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34062
b18decba
SP
340632013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34064
fffb407f
SP
34065 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34067 (__cpymn): Likewise.
34068 (norm): Remove commented code.
34069 (denorm): Likewise.
34070 (__mp_dbl): Likewise.
34071 (__inv): Likewise.
34072 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34073 (__cpymn): Likewise.
34074 (norm): Remove commented code.
34075 (denorm): Likewise.
34076 (__mp_dbl): Likewise.
34077 (__inv): Likewise.
34078
b18decba
SP
34079 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34080 mp_no value for 1.0 and 2.0.
34081 (norm): Use RADIXI instead of radixi.d.
34082 (denorm): Likewise.
34083 (__mul): Use 0.0 instead of zero.d.
34084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34085 mp_no value for 1.0 and 2.0.
34086 (norm): Use RADIXI instead of radixi.d.
34087 (denorm): Likewise.
34088 (__mul): Use 0.0 instead of zero.d.
34089
cdc1c96f
JM
340902013-01-04 Joseph Myers <joseph@codesourcery.com>
34091
34092 [BZ #14994]
34093 * math/s_casinh.c (__casinh): Reduce finite argument to first
34094 quadrant then set signs of results at the end.
34095 * math/s_casinhf.c (__casinhf): Likewise.
34096 * math/s_casinhl.c (__casinhl): Likewise.
34097 * math/libm-test.inc (casin_test): Add more tests.
34098 (casinh_test): Likewise.
34099 * sysdeps/i386/fpu/libm-test-ulps: Update.
34100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34101
302913e1
SP
341022013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34103
6420d207
SP
34104 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34105
a9e48ab4
SP
34106 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34107
b7837264
SP
34108 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34109 declarations.
34110 (denorm): Likewise.
34111 (__mp_dbl): Likewise.
34112 (__inv): Likewise.
34113
f8af25d2
SP
34114 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34115 and adjust the header comment.
34116
302913e1
SP
34117 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34118 variable name from declaration.
34119
5d7dd1ca
L
341202013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34121
34122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34123 Initialize COMMON_CPUID_INDEX_7 element.
34124 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34125 (CPUID_RTM): Likewise.
34126 (HAS_RTM): Likewise.
34127 (COMMON_CPUID_INDEX_7): New enum.
34128
2f5f40f4
AS
341292013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34130
34131 [BZ #14981]
34132 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34133 size is zero, record memory as freed.
34134
4056f4a0
AJ
341352013-01-03 Andreas Jaeger <aj@suse.de>
34136
34137 * po/ia.po: Add new Interlingua translation.
34138
ab15736f 341392012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
34140
34141 * locale/programs/localedef.c: Fix description of '--posix' flag.
34142
568035b7
JM
341432013-01-02 Joseph Myers <joseph@codesourcery.com>
34144
e6898b8d
JM
34145 * NEWS: Update dates in second copyright notice.
34146 * README: Update copyright dates in example.
34147 * manual/libc.texinfo: Update copyright dates.
34148 * scripts/test-installation.pl: Update copyright date in --version
34149 output.
34150
0e2f9562
JM
34151 * hurd/ctty-input.c: Fix copyright notice formatting.
34152 * hurd/ctty-output.c: Likewise.
34153 * hurd/dtable.c: Likewise.
34154 * hurd/hurd-raise.c: Likewise.
34155 * hurd/hurdprio.c: Likewise.
34156 * hurd/msgportdemux.c: Likewise.
34157 * misc/sys/file.h: Likewise.
34158 * misc/sys/ioctl.h: Likewise.
34159 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34160 * sysdeps/mach/hurd/chdir.c: Likewise.
34161 * sysdeps/mach/hurd/fchdir.c: Likewise.
34162 * sysdeps/mach/hurd/rename.c: Likewise.
34163 * sysdeps/mach/hurd/rmdir.c: Likewise.
34164 * sysdeps/mach/hurd/seekdir.c: Likewise.
34165 * sysdeps/mach/hurd/setsid.c: Likewise.
34166 * sysdeps/posix/wait3.c: Likewise.
34167
568035b7
JM
34168 * All files with FSF copyright notices: Update copyright dates
34169 using scripts/update-copyrights.
34170 * intl/plural.c: Regenerated.
34171 * locale/programs/charmap-kw.h: Likewise.
34172 * locale/programs/locfile-kw.h: Likewise.
34173
da08f647
SP
341742013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34175
0f5477af
SP
34176 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34177 four values.
34178
44e0d4c2
SP
34179 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34180 calculation loop and add branch prediction.
34181
4d55b4e5
SP
34182 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34183 check access beyond bounds of m1np.
34184
da08f647
SP
34185 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34186 MPTWO.
34187 (__inv): Remove local variable MPTWO to use the global
34188 constant.
34189 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34190 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34191 variable MPTWO.
34192 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34193 MP3HALFS static const.
34194
8e051029
DM
341952013-01-01 David S. Miller <davem@davemloft.net>
34196
34197 * po/ca.po: Update from translation team.
34198
f4cf5f2d
JM
341992013-01-01 Joseph Myers <joseph@codesourcery.com>
34200
34201 * scripts/update-copyrights: New file.
34202 * Makeconfig: Reformat copyright notice.
34203 * ctype/ctype.h: Likewise.
34204 * debug/swprintf_chk.c: Likewise.
34205 * elf/dl-cache.c: Likewise.
34206 * elf/dl-debug.c: Likewise.
34207 * elf/dl-object.c: Likewise.
34208 * grp/initgroups.c: Likewise.
34209 * hurd/Makefile: Likewise.
34210 * hurd/hurd/signal.h: Likewise.
34211 * hurd/hurdfault.c: Likewise.
34212 * hurd/hurdioctl.c: Likewise.
34213 * hurd/hurdlookup.c: Likewise.
34214 * hurd/intr-msg.c: Likewise.
34215 * iconv/gconv_open.c: Likewise.
34216 * libio/swprintf.c: Likewise.
34217 * locale/lc-ctype.c: Likewise.
34218 * locale/nl_langinfo.c: Likewise.
34219 * mach/Machrules: Likewise.
34220 * mach/Makefile: Likewise.
34221 * malloc/obstack.h: Likewise.
34222 * manual/Makefile: Likewise.
34223 * manual/tsort.awk: Likewise.
34224 * misc/bits/stab.def: Likewise.
34225 * nis/nis_print_group_entry.c: Likewise.
34226 * nis/nis_table.c: Likewise.
34227 * nis/nss_compat/compat-pwd.c: Likewise.
34228 * nis/nss_compat/compat-spwd.c: Likewise.
34229 * po/Makefile: Likewise.
34230 * posix/fnmatch.c: Likewise.
34231 * posix/regex.h: Likewise.
34232 * resolv/Makefile: Likewise.
34233 * resolv/nss_dns/dns-network.c: Likewise.
34234 * resolv/res_hconf.c: Likewise.
34235 * scripts/gen-sorted.awk: Likewise.
34236 * soft-fp/soft-fp.h: Likewise.
34237 * stdio-common/printf.h: Likewise.
34238 * stdlib/monetary.h: Likewise.
34239 * stdlib/random.c: Likewise.
34240 * stdlib/random_r.c: Likewise.
34241 * sysdeps/generic/Makefile: Likewise.
34242 * sysdeps/gnu/Makefile: Likewise.
34243 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34244 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34245 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34246 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34247 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34248 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34249 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34250 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34251 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34252 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34253 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34254 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34255 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34256 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34257 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34258 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34259 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34260 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34261 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34262 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34263 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34264 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34265 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34266 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34267 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34268 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34269 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34270 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34271 * sysdeps/mach/hurd/errnos.awk: Likewise.
34272 * sysdeps/mach/hurd/fork.c: Likewise.
34273 * sysdeps/mach/hurd/getcwd.c: Likewise.
34274 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34275 * sysdeps/mach/hurd/mmap.c: Likewise.
34276 * sysdeps/mach/hurd/utimes.c: Likewise.
34277 * sysdeps/mach/hurd/xmknod.c: Likewise.
34278 * sysdeps/posix/profil.c: Likewise.
34279 * sysdeps/posix/readdir_r.c: Likewise.
34280 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34281 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34282 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34283 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34284 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34285 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34286 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34287 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34289 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34290 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34291 * sysdeps/pthread/lio_listio.c: Likewise.
34292 * sysdeps/sparc/dl-procinfo.h: Likewise.
34293 * sysdeps/unix/i386/sysdep.S: Likewise.
34294 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34295 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34296 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34297 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34299 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34300 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34301 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34302 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34303 * sysdeps/wordsize-32/divdi3.c: Likewise.
34304 * time/sys/time.h: Likewise.
34305 * wcsmbs/Makefile: Likewise.
34306
0549fbba
DM
343072013-01-01 David S. Miller <davem@davemloft.net>
34308
a141f1a7
DM
34309 * po/fr.po: Update from translation team.
34310
0549fbba
DM
34311 * catgets/gencat.c: Update copyright year.
34312 * csu/version.c: Likewise.
34313 * debug/catchsegv.sh: Likewise.
34314 * debug/pcprofiledump.c: Likewise.
34315 * debug/xtrace.sh: Likewise.
34316 * elf/ldconfig.c: Likewise.
34317 * elf/ldd.bash.in: Likewise.
34318 * elf/pldd.c: Likewise.
34319 * elf/sotruss.ksh: Likewise.
34320 * elf/sprof.c: Likewise.
34321 * iconv/iconv_prog.c: Likewise.
34322 * iconv/iconvconfig.c: Likewise.
34323 * locale/programs/locale.c: Likewise.
34324 * locale/programs/localedef.c: Likewise.
34325 * login/programs/pt_chown.c: Likewise.
34326 * malloc/memusage.sh: Likewise.
34327 * malloc/memusagestat.c: Likewise.
34328 * malloc/mtrace.pl: Likewise.
34329 * nscd/nscd.c: Likewise.
34330 * nss/getent.c: Likewise.
34331 * nss/makedb.c: Likewise.
34332 * posix/getconf.c: Likewise.
34333
18ea052c
SP
343342012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34335
34336 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34337 numbers.
34338
9c89fca6
MF
343392012-12-30 Mike Frysinger <vapier@gentoo.org>
34340
34341 * math/bits/mathcalls.h (modf): Use __nonnull.
34342
085ec079
SP
343432012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34344
34345 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34346 (split): Use macro CN instead of the bare value.
34347 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34348 could be used.
34349 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34350 instead of the bare value.
34351 (power1): Likewise.
34352
6d9f97e1
SP
343532012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34354
d63f73be
SP
34355 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34356 __ATAN_TWOM.
34357 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34358
6d9f97e1
SP
34359 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34360 their values.
34361 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34362 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34363 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34364 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34365
4c4febf5
AJ
343662012-12-28 Andreas Jaeger <aj@suse.de>
34367
af5843ef
AJ
34368 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34369 values are from Linux 3.7.
34370
4c4febf5
AJ
34371 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34372 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34373
99136f82
SP
343742012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34375
2f216c3c 34376 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
34377 TRUE case.
34378
99136f82
SP
34379 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34380 (norm): Likewise.
34381 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34382 variables with preprocessor constants.
34383 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34384 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34385 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34386
7fffbdff
BH
343872012-12-27 Bruno Haible <bruno@clisp.org>
34388
34389 [BZ #14317]
34390 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34391 only if needed.
34392
b76eb5f0
SP
343932012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34394
31a7fe5c
SP
34395 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34396 and use variable directly.
34397 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34398
b76eb5f0
SP
34399 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34400 MPONE.
34401 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34402 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34403 variable MPONE.
34404 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34405 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34406 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34407 include directive. Remove local variable MPONE.
34408 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34409 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34410 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34411
2c8bfe7d
DM
344122012-12-25 David S. Miller <davem@davemloft.net>
34413
34414 * version.h (RELEASE): Set to "development".
34415 (VERSION): Set to "2.17.90".
34416 * NEWS: Add 2.18 section.
34417
147d03b0
DM
344182012-12-21 David S. Miller <davem@davemloft.net>
34419
34420 * po/hr.po: Update from translation team.
34421
a8ebb2b9
AK
344222012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34423
34424 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34425
95b4f1b6
SE
344262012-12-19 Steve Ellcey <sellcey@mips.com>
34427
b2d94007 34428 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 34429
cedb2a90
MS
344302012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34431
34432 * manual/contrib.texi (Contributors): Spelling correction.
34433
bbf527d6
DM
344342012-12-15 David S. Miller <davem@davemloft.net>
34435
34436 * po/ru.po: Update from translation team.
34437
bc38c906
DM
344382012-12-13 David S. Miller <davem@davemloft.net>
34439
85429b1a
DM
34440 * NEWS: Mention IFUNC testsuite enhancements.
34441
d283e353
DM
34442 * po/pl.po: Update from translation team.
34443 * po/bg.po: Likewise.
34444
bc38c906
DM
34445 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34446 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34447
a181b0d7
DM
344482012-12-11 David S. Miller <davem@davemloft.net>
34449
4641d57e
DM
34450 * po/sv.po: Update from translation team.
34451
f7bc6495
DM
34452 * po/vi.po: Update from translation team.
34453
6fc9048f
DM
34454 * po/cs.po: Update from translation team.
34455
a181b0d7
DM
34456 * po/de.po: Update from translation team.
34457 * po/eo.po: Likewise.
34458 * po/nl.po: Likewise.
34459
f70bfe80
SP
344602012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34461
3c8b4190
SP
34462 [BZ #14246]
34463 * manual/argp.texi (Argp Helper Functions): Move node to follow
34464 Argp Parsing State.
34465
f70bfe80
SP
34466 [BZ #14872]
34467 * manual/conf.texi (Limits on File System Capacity): Mention if
34468 terminating null is included in the max size.
34469
188f0adf
AJ
344702012-12-10 Andreas Jaeger <aj@suse.de>
34471
34472 * po/cs.po: Update from translation team.
34473
56e7d3ad
SP
344742012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34475
34476 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34477 void pointer and cast to uintptr_t.
34478 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34479 path.
34480 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34481 * sysdeps/s390/s390-64/memset.S: Likewise.
34482
76f2d2ea 344832012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
34484
34485 [BZ #14833]
34486 * menual/message.texi (Message Translation): Fix typos.
34487 (Helper programs for gettext): Likewise.
34488
67cbf9a2
AS
344892012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34490
34491 [BZ #14898]
34492 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34493 Change to -1.
34494
682d0e9a
DM
344952012-12-07 David S. Miller <davem@davemloft.net>
34496
34497 * po/libc.pot: Update.
34498
573cd484
RH
344992012-12-07 Richard Henderson <rth@redhat.com>
34500
7e9da188 34501 [BZ #10114]
573cd484
RH
34502 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34503 normal/normal case to before the switch.
34504 (_FP_DIV): Likewise.
34505
e933a943
MF
345062012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34507 Mike Frysinger <vapier@gentoo.org>
34508
34509 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34510 check for __NR_fadvise64_64.
34511
82123268
CM
345122012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34513
34514 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34515 0, not just to plain "0" as a statement.
34516 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34517 with cw.
34518
d9814526
JM
345192012-12-06 Joseph Myers <joseph@codesourcery.com>
34520
34521 * NEWS: Use sourceware.org in Bugzilla URL.
34522
7728c574
SP
345232012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34524
f16946dd
SP
34525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34526 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34527
5704bbcb
SP
34528 * stdio-common/tst-put-error.c (do_test): Add newline to the
34529 padded test to ensure flush.
34530
17aa0516
JL
345312012-12-05 Jeff Law <law@redhat.com>
34532
34533 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34534
363313b5
JM
345352012-12-05 Joseph Myers <joseph@codesourcery.com>
34536
effbd42a
JM
34537 * README: Don't refer to ports add-on as distributed separately.
34538 Mention AArch64 in list of systems supported in the ports add-on.
34539
87600365
JM
34540 * LICENSES: Add more non-FSF copyright and license notices.
34541
a0d7066a
JM
34542 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34543 ((unused)).
34544
66ca5a5b
JM
34545 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34546
363313b5
JM
34547 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34548 10000 as width of padded output.
34549
b37984ad
JM
345502012-12-04 Joseph Myers <joseph@codesourcery.com>
34551
9003570a
JM
34552 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34553
b37984ad
JM
34554 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34555 variable LX with __attribute__ ((unused)).
34556 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34557 Likewise.
34558 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34559 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34560 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34561 with __attribute__ ((unused)).
34562
c8df52ec
DM
345632012-12-04 David S. Miller <davem@abraco.davemloft.net>
34564
34565 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34566
b3b099af
JM
345672012-12-04 Joseph Myers <joseph@codesourcery.com>
34568
c33aa6e3
JM
34569 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34570 (CFLAGS-nldbl-acos.c): New variable.
34571 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34572 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34573 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34574 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34575 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34576 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34577 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34578 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34579 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34580 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34581 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34582 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34583 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34584 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34585 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34586 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34587 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34588 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34589 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34590 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34591 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34592 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34593 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34594 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34595 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34596 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34597 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34598 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34599 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34600 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34601 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34602 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34603 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34604 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34605 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34606 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34607 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34608 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34609 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34610 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34611 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34612 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34613 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34614 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34615 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34616 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34617 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34618 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34619 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34620 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34621 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34622 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34623 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34624 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34625 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34626 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34627 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34628 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34629 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34630 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34631 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34632 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34633 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34634 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34635 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34636 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34637 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34638 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34639 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34640 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34641 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34642 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34643 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34644 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34645 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34646 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34647 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34648 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34649 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34650 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34651 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34652 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34653 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34654 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34655 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34656 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34657 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34658 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34659 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34660 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34661 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34662 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34663 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34664 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34665 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34666 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34667 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34668
20f0018d
JM
34669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34670 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34671
b3b099af
JM
34672 [BZ #14914]
34673 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34674 whole low double instead of just low 47 bits when splitting values
34675 into two parts.
34676
029264d1
AM
346772012-12-03 Allan McRae <allan@archlinux.org>
34678
34679 * manual/stdio.texi (Predefined Printf Handlers): Remove
34680 @hsep and @vsep usage.
34681
c9d6789e
MF
346822012-12-03 Mike Frysinger <vapier@gentoo.org>
34683
34684 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34685 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34686
4b7634a5
JL
346872012-12-03 Jeff Law <law@redhat.com>
34688
34689 * time/sys/time.h (settimeofday): Do not mark TV argument
34690 as __nonnull.
34691
eb6cbd24
MF
346922012-12-01 Mike Frysinger <vapier@gentoo.org>
34693
34694 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34695 when currently writing and seek to current position when not.
34696 * libio/Makefile (tests): Remove bug-fclose1.
34697 * libio/bug-fclose1.c: Delete.
34698
f638872a
JM
346992012-12-01 Joseph Myers <joseph@codesourcery.com>
34700
34701 * manual/arith.texi (feenableexcept): Fix typo.
34702 (fedisableexcept): Likewise.
34703
48085d14
RM
347042012-11-30 Roland McGrath <roland@hack.frob.com>
34705
34706 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34707 second, differently-typed declaration, rather than a cast.
34708
1a538b9f
SP
347092012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34710
34711 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34712 * include/rpc/svc.h: ... here.
34713
d07f2ff1 347142012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
34715
34716 [BZ #13013]
34717 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34718 depending n and resplen2 to catch cases where answer
34719 equals answerp2.
34720
c93ec1f0
CD
347212012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34722
34723 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34724 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34725
37db69de
MF
347262012-11-29 Mike Frysinger <vapier@gentoo.org>
34727
34728 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34729
e10c4e4f
RM
347302012-11-29 Roland McGrath <roland@hack.frob.com>
34731
34732 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34733
2af1b328
JL
347342012-11-28 Jeff Law <law@redhat.com>
34735
34736 [BZ #13761]
34737 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34738 dataset_temporary. Track alloca usage into alloca_used.
34739 If dataset is large allocate and release it via malloc/free.
34740
111db5b1
FW
347412012-06-04 Florian Weimer <fweimer@redhat.com>
34742
f06cc227 34743 [BZ #14197]
111db5b1
FW
34744 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34745
dd694abd
DM
347462012-11-28 David S. Miller <davem@davemloft.net>
34747
34748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34749
9984dd01
JM
347502012-11-28 Joseph Myers <joseph@codesourcery.com>
34751
34752 [BZ #14803]
34753 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34754 of pi/2 rounded to nearest to 64 bits.
34755 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34756 nearest to 64 bits.
34757 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34758 bits.
34759
14bc93a9
JL
347602012-11-28 Jeff Law <law@redhat.com>
34761 Martin Osvald <mosvald@redhat.com>
34762
34763 [BZ #14889]
34764 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34765 * sunrpc/svc.c: Include time.h.
34766 (__svc_accept_failed): New function.
34767 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34768 any reason other than EINTR, call __svc_accept_failed.
34769 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34770 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34771
e3c6aa3a
AS
347722012-11-28 Andreas Schwab <schwab@suse.de>
34773
34774 * scripts/abilist.awk: Also handle indirect functions in .opd
34775 section.
34776
1bead169
JM
347772012-11-28 Joseph Myers <joseph@codesourcery.com>
34778
34779 [BZ #13881]
34780 * sysdeps/x86/fpu/powl_helper.c: New file.
34781 * sysdeps/x86/fpu/Makefile: Likewise.
34782 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34783 (p3): New object.
34784 (__ieee754_powl): Use __powl_helper for finite arguments except
34785 integer exponents below 8.
34786 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34787 (p3): New object.
34788 (__ieee754_powl): Use __powl_helper for finite arguments except
34789 integer exponents below 8.
34790 * math/libm-test.inc (pow_test): Add more tests and enable some
34791 previously disabled tests.
34792 * sysdeps/i386/fpu/libm-test-ulps: Update.
34793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34794
0817d63d
SP
347952012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34796 Carlos O'Donell <carlos_odonell@mentor.com>
34797
34798 * nss/makedb.c (is_prime): Assert that input is odd and greater
34799 than 4. Note that fact in a comment too.
34800 (next_prime): Add 4 to input.
34801
de2fd463
SP
348022012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34803
34804 [BZ #11741]
34805 * libio/Makefile (tests): Add test case tst-fwrite-error.
34806 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34807 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34808 * libio/tst-fwrite-error.c: New test case.
34809
c515fb51
L
348102012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34811
34812 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34813 before casting to void *.
34814 * include/libc-internal.h (__pointer_type): New macro.
34815 (__integer_if_pointer_type_sub): Likewise.
34816 (__integer_if_pointer_type): Likewise.
34817 (cast_to_integer): Likewise.
34818 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34819 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34820 before casting to atomic64_t.
34821 (atomic_exchange_acq): Likewise.
34822 (__arch_exchange_and_add_body): Likewise.
34823 (__arch_add_body): Likewise.
34824 (atomic_add_negative): Likewise.
34825 (atomic_add_zero): Likewise.
34826
4cf77aa9
JM
348272012-11-26 Joseph Myers <joseph@codesourcery.com>
34828
34829 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34830 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34831 (add_fdes): Likewise.
34832 (linear_search_fdes): Likewise.
34833 (binary_search_unencoded_fdes): Likewise.
34834
d260b3b4
AS
348352012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34836
34837 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34838
67060746
AC
348392012-11-24 Adam Conrad <adconrad@0c3.net>
34840
34841 * configure.in: Autodetect C++ header directories.
34842 * configure: Regenerated.
34843
800938a1
MF
348442012-11-23 Mike Frysinger <vapier@gentoo.org>
34845
34846 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34847
4e6e34e6
AS
348482012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34849
34850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34851
7c7feb47
JM
348522012-11-22 Joseph Myers <joseph@codesourcery.com>
34853
7184dcdf
JM
34854 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34855 LDBL_MANT_DIG == 106]: Disable some tests.
34856 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34857 Likewise.
34858 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34859 Likewise.
34860
0a42601f
JM
34861 [BZ #14871]
34862 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34863 input for small inputs. Return +/- pi/2 for large inputs.
34864 * math/libm-test.inc (atan_test): Add more tests.
34865
79c9b9fe
JM
34866 * sysdeps/generic/unwind-dw2-fde-glibc.c
34867 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34868 __attribute__ ((unused)).
34869
c60d3bf2
JM
34870 [BZ #14645]
34871 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34872 x * y if x and y are nonzero and z is zero.
34873
ef1e0867
JM
34874 [BZ #14811]
34875 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34876 nonzero exponents with absolute value below 0x1p-117 to +/-
34877 0x1p-117.
34878
1468ded3
JM
34879 [BZ #14869]
34880 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34881 up arguments below 2**-450, not just those below 2**-500.
34882 * math/libm-test.inc (hypot_test): Add another test.
34883
8e27e3cc
JM
34884 [BZ #14868]
34885 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34886 Return a+b for ratio over 2**120, not 2**60.
34887 * math/libm-test.inc (hypot_test): Add another test.
34888
c9c0279b
JM
34889 * math/libm-test.inc (clog_test): Use
34890 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34891 (clog10_test): Likewise.
34892
7c7feb47
JM
34893 [BZ #6778]
34894 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34895
fff1530e
AS
348962012-11-22 Andreas Schwab <schwab@suse.de>
34897
34898 * sysdeps/i386/fpu/libm-test-ulps: Update.
34899
94558d30
PT
349002012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34901
34902 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34903 printf output with newline.
34904
7e1be741
L
349052012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34906
6bfea974
L
34907 [BZ #14865]
34908 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34909 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34910 -z nodlopen, -z initfirst and -z execstack support.
34911 * configure: Regenerated.
34912
7e1be741
L
34913 * elf/elf.h (DF_1_NODIRECT): New macro.
34914 (DF_1_IGNMULDEF): Likewise.
34915 (DF_1_NOKSYMS): Likewise.
34916 (DF_1_NOHDR): Likewise.
34917 (DF_1_EDITED): Likewise.
34918 (DF_1_NORELOC): Likewise.
34919 (DF_1_SYMINTPOSE): Likewise.
34920 (DF_1_GLOBAUDIT): Likewise.
34921 (DF_1_SINGLETON): Likewise.
34922 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34923 DT_1_SUPPORTED_MASK bits.
34924 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34925
105ce2ce
CD
349262012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34927
34928 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34929
123be9de
TS
349302012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34931
d072f3f7
TS
34932 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34933 macro.
34934
123be9de
TS
34935 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34936 (sendmmsg): Move declarations...
34937 * socket/sys/socket.h: ... here.
34938 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34939 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34940 include it from...
34941 * socket/recvmmsg.c: ... this new file.
34942 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34943 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34944 definition of __sendmmsg hidden.
34945 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34946 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34947 Move ENOSYS stub into and include it from...
34948 * socket/sendmmsg.c: ... this new file.
34949 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34950 (sysdep_routines): Move recvmmsg and sendmmsg...
34951 * socket/Makefile (routines): ... here.
34952 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34953 (GLIBC_PRIVATE): Add __sendmmsg.
34954 * include/sys/socket.h (__sendmmsg): Add declarations.
34955 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34956 sendmmsg.
34957
cf9a5d18
JM
349582012-11-20 Joseph Myers <joseph@codesourcery.com>
34959
34960 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34961 variable I1 with __attribute__ ((unused)).
34962 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34963
ecd4caf9
JM
349642012-11-19 Joseph Myers <joseph@codesourcery.com>
34965
be14d48f
JM
34966 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34967 DUMMY variables with __attribute__ ((unused)).
34968
ecd4caf9
JM
34969 * bits/byteswap.h: Include <bits/types.h>.
34970 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34971
986cab95
PT
349722012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34973
34974 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34975 string_t. Do not manually set errno.
34976 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34977 length with __strnlen. Make sure to both set errno and return it on
34978 failure.
34979
6d33cc9d
DM
349802012-11-19 David S. Miller <davem@davemloft.net>
34981
34982 With help from Joseph Myers.
34983 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34984 very large arguments properly.
34985 * math/libm-test.inc (atan_test): New tests.
34986 (atan2_test): New tests.
34987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34989
ee663277
JM
349902012-11-19 Joseph Myers <joseph@codesourcery.com>
34991
877f2d8e
JM
34992 [BZ #14856]
34993 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34994 Define to 3.
34995
116fc08a
JM
34996 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34997 [POSIX] (EADDRNOTAVAIL): Likewise.
34998 [POSIX] (EAFNOSUPPORT): Likewise.
34999 [POSIX] (EALREADY): Likewise.
35000 [POSIX] (ECONNABORTED): Likewise.
35001 [POSIX] (ECONNREFUSED): Likewise.
35002 [POSIX] (ECONNRESET): Likewise.
35003 [POSIX] (EDESTADDRREQ): Likewise.
35004 [POSIX] (EDQUOT): Likewise.
35005 [POSIX] (EHOSTUNREACH): Likewise.
35006 [POSIX] (EIDRM): Likewise.
35007 [POSIX] (EISCONN): Likewise.
35008 [POSIX] (ELOOP): Likewise.
35009 [POSIX] (EMULTIHOP): Likewise.
35010 [POSIX] (ENETDOWN): Likewise.
35011 [POSIX] (ENETUNREACH): Likewise.
35012 [POSIX] (ENOBUFS): Likewise.
35013 [POSIX] (ENODATA): Likewise.
35014 [POSIX] (ENOLINK): Likewise.
35015 [POSIX] (ENOMSG): Likewise.
35016 [POSIX] (ENOPROTOOPT): Likewise.
35017 [POSIX] (ENOSR): Likewise.
35018 [POSIX] (ENOSTR): Likewise.
35019 [POSIX] (ENOTCONN): Likewise.
35020 [POSIX] (ENOTSOCK): Likewise.
35021 [POSIX] (EOPNOTSUPP): Likewise.
35022 [POSIX] (EOVERFLOW): Likewise.
35023 [POSIX] (EPROTO): Likewise.
35024 [POSIX] (EPROTONOSUPPORT): Likewise.
35025 [POSIX] (EPROTOTYPE): Likewise.
35026 [POSIX] (ESTALE): Likewise.
35027 [POSIX] (ETIME): Likewise.
35028 [POSIX] (ETXTBSY): Likewise.
35029 [POSIX] (EWOULDBLOCK): Likewise.
35030 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35031 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35032 [POSIX] (SEEK_CUR): Likewise.
35033 [POSIX] (SEEK_END): Likewise.
35034 [POSIX || UNIX98] (mode_t): Do not require.
35035 [POSIX] (off_t): Likewise.
35036 [POSIX] (pid_t): Likewise.
35037 [POSIX] (sys/stat.h): Do not allow header.
35038 [POSIX] (unistd.h): Likewise.
35039 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35040 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35041 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35042 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35043 require.
35044 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35045 sigevent): Specify elements.
35046 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35047 entry.
35048 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35049 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35050
a483863f
JM
35051 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35052 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35053 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35054 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35055 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35056 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35057 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35058 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35059 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35060 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35061 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35062 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35063 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35064 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35065 Likewise.
35066 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35067 Likewise.
35068 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35069 Likewise.
35070 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35071 Likewise.
35072 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35073 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35074 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35075 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35076 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35077 Specify lower bound on value.
35078 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35079 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35080 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35081 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35082 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35083 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35084 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35085 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35086 value.
35087 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35088 as optional.
35089 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35090 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35091 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35092 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35093 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35094 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35095 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35096 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35097 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35098 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35099 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35100 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35101 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35102 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35103 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35104 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35105 entry.
35106 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35107 optional.
35108 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35109 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35110 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35111 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35112 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35113 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35114 Likewise.
35115 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35116 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35117 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35118 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35119 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35120 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35121 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35122 as optional.
35123 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35124 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35125 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35126 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35127 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35128 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35129 specify as optional.
35130 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35131 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35132 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35133 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35134 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35135 [XPG3] (NL_LANGMAX): Likewise.
35136 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35137 [POSIX || XPG3] (NL_NMAX): Likewise.
35138 [POSIX || XPG3] (NL_SETMAX): Likewise.
35139 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35140 [XPG3] (NZERO): Likewise.
35141 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35142 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35143 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35144 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35145 (REG_ERANGE): Expect.
35146 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35147 optional-constant.
35148 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35149 Use (void) in prototype.
35150 [POSIX] (*_t): Allow.
35151 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35152 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35153 (WRDE_BADVAL): Expect.
35154
5ba924e3
JM
35155 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35156 expect.
35157 [XPG3 || XPG4] (O_RSYNC): Likewise.
35158 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35159 Likewise.
35160 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35161 [XPG3 || XPG4] (sigqueue): Likewise.
35162 [XPG3 || XPG4] (sigtimedwait): Likewise.
35163 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35164 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35165 [XPG3 || XPG4] (vsnprintf): Likewise.
35166 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35167 Likewise.
35168 [XPG3 || XPG4] (blksize_t): Likewise.
35169 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35170 Likewise.
35171 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35172 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35173 [XPG3 || XPG4] (struct itimerspec): Likewise.
35174 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35175 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35176 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35177 [XPG3 || XPG4] (clockid_t): Likewise.
35178 [XPG3 || XPG4] (timer_t): Likewise.
35179 [XPG3 || XPG4] (clock_getres): Likewise.
35180 [XPG3 || XPG4] (clock_gettime): Likewise.
35181 [XPG3 || XPG4] (clock_settime): Likewise.
35182 [XPG3 || XPG4] (nanosleep): Likewise.
35183 [XPG3 || XPG4] (timer_create): Likewise.
35184 [XPG3 || XPG4] (timer_delete): Likewise.
35185 [XPG3 || XPG4] (timer_gettime): Likewise.
35186 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35187 [XPG3 || XPG4] (timer_settime): Likewise.
35188 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35189 [XPG3 || XPG4] (getlogin_r): Likewise.
35190 [XPG3 || XPG4] (pread): Likewise.
35191 [XPG3 || XPG4] (pthread_atfork): Likewise.
35192 [XPG3 || XPG4] (pwrite): Likewise.
35193
ee663277
JM
35194 [BZ #14835]
35195 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35196 <bits/siginfo.h>.
35197
942caa16
PT
351982012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35199
e19af380
PT
35200 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35201 finalizing MALLSTREAM.
35202
942caa16
PT
35203 * sysdeps/mach/hurd/syncfs.c: New file.
35204
cfde9b46
SP
352052012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35206
35207 [BZ #14719]
35208 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35209 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35210 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35211 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35212 (_nss_dns_gethostbyname4_r): Likewise.
35213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35214 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35215
f6da27e5
PH
352162012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35217
35218 [BZ #13763]
35219 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35220
6665d4a2
SM
352212012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35222
1f51ee92
SM
35223 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35224 * elf/cache.c (print_entry): Print ",AArch64" for
35225 FLAG_AARCH64_LIB64
35226
6665d4a2
SM
35227 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35228 * elf/cache.c (print_entry): Print ",hard-float" for
35229 FLAG_ARM_LIBHF.
35230
05b227bd
DM
352312012-11-18 David S. Miller <davem@davemloft.net>
35232
35233 With help from Joseph Myers.
35234 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35235 cutoff to 2**-13.
35236 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35237 cutoff to 2**-25.
35238 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35239 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35240 small.
35241 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35242 * math/libm-test.inc (y0_test): New tests.
35243 (y1_test): New tests.
35244 * sysdeps/i386/fpu/libm-test-ulps: Update.
35245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35247
786b0b67
AS
352482012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35249
35250 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35251 64-bit targets.
35252 * configure: Regenerated.
35253
8e18b86d
DM
352542012-11-17 David S. Miller <davem@davemloft.net>
35255
35256 [BZ #14811]
35257 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35258 nonzero exponents with absolute value below 0x1p-128 to +/-
35259 0x1p-128.
35260
531f1ae0
JM
352612012-11-17 Joseph Myers <joseph@codesourcery.com>
35262
12df29e2
JM
35263 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35264
150dc1a0
JM
35265 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35266
531f1ae0
JM
35267 * posix/getconf-speclist.c: New file.
35268 * posix/posix-envs.def: Likewise.
35269 * posix/confstr.c (START_ENV_GROUP): New macro.
35270 (END_ENV_GROUP): Likewise.
35271 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35272 (KNOWN_PRESENT_ENV_STRING): Likewise.
35273 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35274 (UNKNOWN_ENVIRONMENT): Likewise.
35275 (confstr): Include posix-envs.def instead of handling
35276 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35277 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35278 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35279 (END_ENV_GROUP): Likewise.
35280 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35281 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35282 (UNKNOWN_ENVIRONMENT): Likewise.
35283 (__sysconf): Include posix-envs.def instead of handling associated
35284 cases directly here.
35285 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35286 preprocessing getconf-speclist.c rather than running getconf or
35287 generating empty file.
35288
a93f9cbc
PT
352892012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35290
35291 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35292
d64d9f87
AL
352932012-11-16 Andrej Lajovic <natrij@gmail.com>
35294
35295 [BZ #14672]
35296 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35297
447885eb
DM
352982012-11-16 David S. Miller <davem@davemloft.net>
35299
35300 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35301 smaller than LDBL_EPSILON/2.0L, just return xm1.
35302
bcbf9830
L
353032012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35304
35305 * elf/tst-array1.c (init): Set constructor priority to 1000.
35306 (fini): Set destructor priority to 1000.
35307 * elf/tst-array2dep.c: Likewise.
35308
2b766585
SP
353092012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35310
35311 [BZ #11741]
35312 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35313 (_IO_new_file_xsputn): Also return EOF if none of the input
35314 data was written when overflow failed.
35315 * libio/iopadn.c (_IO_padn): Likewise.
35316 * libio/iowpadn.c (_IO_wpadn): Likewise.
35317 * stdio-common/tst-put-error.c: Add copyright notice.
35318 (do_test): Add case for printing padded string.
35319 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35320 _IO_padn returned error.
35321 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35322 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35323 return EOF.
35324
b1848fde
SP
353252012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35326
35327 * libio/libioP.h: Add comment note that the references to C++
35328 bits are now obsolete.
35329
2fd89785
MS
353302012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35331
35332 * math/libm-test.inc (check_complex): Use asprintf.
35333
e3ea5409
JM
353342012-11-14 Joseph Myers <joseph@codesourcery.com>
35335
35336 * debug/pcprofiledump.c (print_version): Update copyright year.
35337 * malloc/memusagestat.c (print_version): Likewise.
35338
2e64d265
L
353392012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35340
35341 [BZ #14831]
35342 * elf/Makefile (tests): Add tst-audit8.
35343 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35344 ($(objpfx)tst-audit8.out): New target.
35345 (tst-audit8-ENV): New variable.
35346 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35347 audit if l_reloc_result is NULL.
35348 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35349 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35350 * elf/tst-audit8.c: New file.
35351
c485e4d2
MS
353522012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35353
35354 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35355 * misc/Makefile (CFLAGS-select.c): Define.
35356 * posix/Makefile (CFLAGS-pause.c): Define.
35357
3a0d900a
DM
353582012-11-13 David S. Miller <davem@davemloft.net>
35359
35360 * crypt/Makefile: Move test targets after toplevel Rules
35361 inclusion. Grab any necessary sysdep routines when linking.
35362 * crypt/md5.c (md5_process_block): Remove define, we will always
35363 name it __md5_process_block.
35364 (md5_finish_ctx): Update md5_process_block call.
35365 (md5_stream): Likewise.
35366 (md5_process_bytes): Likewise.
35367 (md5_process_block): Rename to __md5_process_block and move to ...
35368 * crypt/md5-block.c: ... here.
35369 * crypt/sha256.c (sha256_process_block): Move to ...
35370 * crypt/sha256-block.c: ... here.
35371 * crypt/sha512.c (sha512_process_block): Move to ...
35372 * crypt/sha512-block.c: ... here.
35373 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35374 path.
35375 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35376 * sysdeps/sparc/sparc64/multiarch/Makefile
35377 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35378 crypt subdir.
35379 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35380 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35381 multiarch changes.
35382 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35383 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35384 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35385 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35386 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35387 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35388 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35389 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35390 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35391 file.
35392 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35393 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35394 file.
35395 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35396
8ca89318
JM
353972012-11-13 Joseph Myers <joseph@codesourcery.com>
35398
e27d476a
JM
35399 * timezone/tzselect.ksh: Update from tzcode git revision
35400 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35401 * timezone/zdump.c: Likewise.
35402 * timezone/zic.c: Likewise.
35403 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35404 in TZVERSION setting, not $(PKGVERSION).
35405 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35406 REPORT_BUGS_TO settings.
35407
8ca89318
JM
35408 [BZ #14838]
35409 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35410 macro.
35411
47594329
MS
354122012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35413
35414 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35415 detection to immediately after _FP_ROUND().
35416 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35417 bits are 0.
35418
640ac3f1
DM
354192012-11-11 David S. Miller <davem@davemloft.net>
35420
35421 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35422 inttypes.h
35423 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35424 __close rather than their public counterparts.
35425
3d2577bb
JM
354262012-11-10 Joseph Myers <joseph@codesourcery.com>
35427
35428 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35429 file.
35430 [UNIX98] (sem_timedwait): Do not expect.
35431 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35432 [XPG4 || UNIX98] (sockatmark): Do not expect.
35433 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35434 (clock_getcpuclockid): Do not expect.
35435 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35436 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35437 Do not expect.
35438 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35439 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35440 [UNIX98] (vwscanf): Likewise.
35441 [UNIX98] (vswscanf): Likewise.
35442
fb1ae1ee
JM
354432012-11-09 Joseph Myers <joseph@codesourcery.com>
35444
9ec6f8bd
JM
35445 * timezone/version.h: Remove file.
35446 * timezone/README: Do not refer to version.h.
35447 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35448 $(objpfx)version.h.
35449 ($(objpfx)zdump.o): Likewise.
c3f81911 35450 ($(objpfx)version.h): New target.
9ec6f8bd 35451
0aa8f8a1
JM
35452 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35453 2012i.
35454 * timezone/README: Don't mention modification to tzselect.ksh.
35455 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35456 work on unmodified tzselect.ksh. Substitute version numbers in
35457 tzselect.ksh.
35458
4e87147f
JM
35459 * Makefile (format-me): Remove.
35460 (INSTALL): Adjust indentation. Use commands directly instead of
35461 using $(format-me).
35462
8b748aed
JM
35463 * aclocal.m4 (ACX_PKGVERSION): New macro.
35464 (ACX_BUGURL): Likewise.
35465 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35466 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35467 (REPORT_BUGS_TO): Likewise.
35468 * configure: Regenerated.
35469 * config.h.in (PKGVERSION): New macro.
35470 (REPORT_BUGS_TO): Likewise.
35471 * config.make.in (PKGVERSION): New variable.
35472 (PKGVERSION_TEXI): Likewise.
35473 (REPORT_BUGS_TO): Likewise.
35474 (REPORT_BUGS_TEXI): Likewise.
35475 * Makefile (format-me): Use -I$(common-objpfx)manual.
35476 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35477 ($(common-objpfx)manual/%): New target.
35478 (manual/%): Remove target.
35479 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35480 (print_version): Use PKGVERSION.
35481 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35482 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35483 and REPORT_BUGS_TO.
35484 ($(objpfx)xtrace): Likewise.
35485 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35486 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35487 (print_version): Use PKGVERSION.
35488 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35489 (do_version): Use PKGVERSION.
35490 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35491 REPORT_BUGS_TO.
35492 (common-ldd-rewrite): Likewise.
35493 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35494 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35495 (print_version): Use PKGVERSION.
35496 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35497 * elf/pldd.c (argp_program_bug_address): Remove variable.
35498 (more_help): New function.
35499 (argp): Use more_help.
35500 (print_version): Use PKGVERSION.
35501 * elf/sln.c (main): Use PKGVERSION.
35502 (usage): Use REPORT_BUGS_TO.
35503 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35504 (top level): Use PKGVERSION.
35505 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35506 (print_version): Use PKGVERSION.
35507 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35508 (print_version): Use PKGVERSION.
35509 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35510 (print_version): Use PKGVERSION.
35511 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35512 (print_version): Use PKGVERSION.
35513 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35514 (print_version): Use PKGVERSION.
35515 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35516 (print_version): Use PKGVERSION.
35517 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35518 and BUGURL.
35519 ($(objpfx)memusage): Likewise.
35520 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35521 (do_version): Use PKGVERSION.
35522 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35523 (print_version): Use PKGVERSION.
35524 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35525 ($PKGVERSION): New variable.
35526 ($REPORT_BUGS_TO): Likewise.
35527 (usage): Use $REPORT_BUGS_TO.
35528 (top level): Use $PKGVERSION.
35529 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35530 ($(objpfx)pkgvers.texi): New rule.
35531 ($(objpfx)stamp-pkgvers): Likewise.
35532 * manual/install.texi: Include pkgvers.texi.
35533 (--with-pkgversion): Document new configure option.
35534 (--with-bugurl): Likewise.
35535 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35536 than necessarily for this particular distribution. Use
35537 REPORT_BUGS_TO for where to report bugs.
35538 * INSTALL: Regenerated.
35539 * manual/libc.texinfo: Include pkgvers.texi.
35540 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35541 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35542 (print_version): Use PKGVERSION.
35543 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35544 (print_version): Use PKGVERSION.
35545 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35546 (print_version): Use PKGVERSION.
35547 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35548 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35549 macro.
35550 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35551 (print_version): Use PKGVERSION.
35552 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35553 (print_version): Use PKGVERSION.
35554 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35555 and PKGVERSION.
35556
92e4b6a9
JM
35557 * timezone/checktab.awk: Update from tzcode 2012i.
35558 * timezone/ialloc.c: Likewise.
35559 * timezone/private.h: Likewise.
35560 * timezone/scheck.c: Likewise.
35561 * timezone/tzfile.h: Likewise.
35562 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35563 (TZVERSION): Hardcode tzcode version number.
35564 * timezone/zdump.c: Update from tzcode 2012i.
35565 * timezone/zic.c: Likewise.
35566 * timezone/version.h: New file.
35567 * timezone/README: Describe version.h. Update upstream location.
35568
9bde902c
JM
35569 [BZ #14824]
35570 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35571 (mktemp): Enable declaration.
35572 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35573 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35574 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35575 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35576 Likewise.
35577 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35578 Likewise.
35579 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35580 Likewise.
35581 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35582 Likewise.
35583 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35584 Likewise.
35585 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35586 Likewise.
35587
fb1ae1ee
JM
35588 [BZ #14821]
35589 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35590 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35591 for copies of such integer values.
35592 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35593 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35594
2c1adbcb
AJ
355952012-11-09 Andreas Jaeger <aj@suse.de>
35596
35597 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35598 definitions and declarations that are provided by
35599 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35600
d0f8457e
AK
356012012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35602
3a235abb 35603 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
35604 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35605 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35606 definition.
35607
57241e26
MS
356082012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35609
35610 * elf/elf.h: Update comment before AArch64 relocations.
35611
60e8270d
DM
356122012-11-07 David S. Miller <davem@davemloft.net>
35613
35614 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35615 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35616 (__start_context): Declare.
35617 (__makecontext_ret): Delete.
35618 (__makecontext): Hook up __start_context instead of
35619 __makecontext_ret.
35620 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35621 (sysdep_routines): Add __start_context when in stdlib.
35622
0fbb0fbc
JM
356232012-11-07 Joseph Myers <joseph@codesourcery.com>
35624
35625 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35626 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35627 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35628 hardcoded "nm".
35629 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35630 (READELF): New variable. Use it instead of hardcoded "readelf".
35631
eb48db7e
L
356322012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35633
35634 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35635 * sysdeps/x86/Makefile: Here.
35636 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35637 * sysdeps/x86/tst-xmmymm.sh: This.
35638
05bcf62a
JM
356392012-11-07 Joseph Myers <joseph@codesourcery.com>
35640
c4b6cf53
JM
35641 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35642 expectations.
35643 [UNIX98] (pthread_barrier_t): Do not expect.
35644 [UNIX98] (pthread_barrierattr_t): Likewise.
35645 [UNIX98] (pthread_spinlock_t): Likewise.
35646 [UNIX98] (pthread_barrier_destroy): Likewise.
35647 [UNIX98] (pthread_barrier_init): Likewise.
35648 [UNIX98] (pthread_barrier_wait): Likewise.
35649 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35650 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35651 [UNIX98] (pthread_barrierattr_init): Likewise.
35652 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35653 [UNIX98] (pthread_getcpuclockid): Likewise.
35654 [UNIX98] (pthread_mutex_timedlock): Likewise.
35655 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35656 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35657 [UNIX98] (pthread_sigmask): Likewise.
35658 [UNIX98] (pthread_spin_destroy): Likewise.
35659 [UNIX98] (pthread_spin_init): Likewise.
35660 [UNIX98] (pthread_spin_lock): Likewise.
35661 [UNIX98] (pthread_spin_trylock): Likewise.
35662 [UNIX98] (pthread_spin_unlock): Likewise.
35663 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35664 Do not expect.
35665 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35666 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35667 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35668 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35669 [XPG3 || XPG4] (pthread_key_t): Likewise.
35670 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35671 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35672 [XPG3 || XPG4] (pthread_once_t): Likewise.
35673 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35674 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35675 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35676 [XPG3 || XPG4] (pthread_t): Likewise.
35677
cbe6e120
JM
35678 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35679 not expect.
35680 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35681
1b126443
JM
35682 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35683 Change function return type to int.
35684
b961a573
JM
35685 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35686 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35687 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35688 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35689 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35690 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35691 [!POSIX] (posix_madvise): Likewise.
35692 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35693 && !UNIX98].
35694 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35695 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35696 (mode_t): Likewise.
35697 (posix_mem_offset): Likewise.
35698 (posix_typed_mem_get_info): Likewise.
35699 (posix_typed_mem_open): Likewise.
35700
9e188909
JM
35701 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35702 Change condition to [XOPEN2K8].
35703
05bcf62a
JM
35704 * conform/conformtest.pl: Preprocess allow-header data with -x c
35705 instead of from stdin.
35706 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35707 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35708 [C99-based standards] (cerfc): Likewise.
35709 [C99-based standards] (cexp2): Likewise.
35710 [C99-based standards] (cexpm1): Likewise.
35711 [C99-based standards] (clog10): Likewise.
35712 [C99-based standards] (clog1p): Likewise.
35713 [C99-based standards] (clog2): Likewise.
35714 [C99-based standards] (clgamma): Likewise.
35715 [C99-based standards] (ctgamma): Likewise.
35716 [C99-based standards] (cerff): Likewise.
35717 [C99-based standards] (cerfcf): Likewise.
35718 [C99-based standards] (cexp2f): Likewise.
35719 [C99-based standards] (cexpm1f): Likewise.
35720 [C99-based standards] (clog10f): Likewise.
35721 [C99-based standards] (clog1pf): Likewise.
35722 [C99-based standards] (clog2f): Likewise.
35723 [C99-based standards] (clgammaf): Likewise.
35724 [C99-based standards] (ctgammaf): Likewise.
35725 [C99-based standards] (cerfl): Likewise.
35726 [C99-based standards] (cerfcl): Likewise.
35727 [C99-based standards] (cexp2l): Likewise.
35728 [C99-based standards] (cexpm1l): Likewise.
35729 [C99-based standards] (clog10l): Likewise.
35730 [C99-based standards] (clog1pl): Likewise.
35731 [C99-based standards] (clog2l): Likewise.
35732 [C99-based standards] (clgammal): Likewise.
35733 [C99-based standards] (ctgammal): Likewise.
35734 * conform/data/inttypes.h-data [C99-based standards]: Include
35735 stdint.h-data. Remove all expectations for stdint.h contents.
35736 [C99-based standards] (PRI*): Do not allow.
35737 [C99-based standards] (SCN*): Likewise.
35738 [C99-based standards] (*_t): Likewise.
35739 [C99-based-standards] (PRId8): Expect macro.
35740 [C99-based-standards] (PRIi8): Likewise.
35741 [C99-based-standards] (PRIo8): Likewise.
35742 [C99-based-standards] (PRIu8): Likewise.
35743 [C99-based-standards] (PRIx8): Likewise.
35744 [C99-based-standards] (PRIX8): Likewise.
35745 [C99-based-standards] (SCNd8): Likewise.
35746 [C99-based-standards] (SCNi8): Likewise.
35747 [C99-based-standards] (SCNo8): Likewise.
35748 [C99-based-standards] (SCNu8): Likewise.
35749 [C99-based-standards] (SCNx8): Likewise.
35750 [C99-based-standards] (PRIdLEAST8): Likewise.
35751 [C99-based-standards] (PRIiLEAST8): Likewise.
35752 [C99-based-standards] (PRIoLEAST8): Likewise.
35753 [C99-based-standards] (PRIuLEAST8): Likewise.
35754 [C99-based-standards] (PRIxLEAST8): Likewise.
35755 [C99-based-standards] (PRIXLEAST8): Likewise.
35756 [C99-based-standards] (SCNdLEAST8): Likewise.
35757 [C99-based-standards] (SCNiLEAST8): Likewise.
35758 [C99-based-standards] (SCNoLEAST8): Likewise.
35759 [C99-based-standards] (SCNuLEAST8): Likewise.
35760 [C99-based-standards] (SCNxLEAST8): Likewise.
35761 [C99-based-standards] (PRIdFAST8): Likewise.
35762 [C99-based-standards] (PRIiFAST8): Likewise.
35763 [C99-based-standards] (PRIoFAST8): Likewise.
35764 [C99-based-standards] (PRIuFAST8): Likewise.
35765 [C99-based-standards] (PRIxFAST8): Likewise.
35766 [C99-based-standards] (PRIXFAST8): Likewise.
35767 [C99-based-standards] (SCNdFAST8): Likewise.
35768 [C99-based-standards] (SCNiFAST8): Likewise.
35769 [C99-based-standards] (SCNoFAST8): Likewise.
35770 [C99-based-standards] (SCNuFAST8): Likewise.
35771 [C99-based-standards] (SCNxFAST8): Likewise.
35772 [C99-based-standards] (PRId16): Likewise.
35773 [C99-based-standards] (PRIi16): Likewise.
35774 [C99-based-standards] (PRIo16): Likewise.
35775 [C99-based-standards] (PRIu16): Likewise.
35776 [C99-based-standards] (PRIx16): Likewise.
35777 [C99-based-standards] (PRIX16): Likewise.
35778 [C99-based-standards] (SCNd16): Likewise.
35779 [C99-based-standards] (SCNi16): Likewise.
35780 [C99-based-standards] (SCNo16): Likewise.
35781 [C99-based-standards] (SCNu16): Likewise.
35782 [C99-based-standards] (SCNx16): Likewise.
35783 [C99-based-standards] (PRIdLEAST16): Likewise.
35784 [C99-based-standards] (PRIiLEAST16): Likewise.
35785 [C99-based-standards] (PRIoLEAST16): Likewise.
35786 [C99-based-standards] (PRIuLEAST16): Likewise.
35787 [C99-based-standards] (PRIxLEAST16): Likewise.
35788 [C99-based-standards] (PRIXLEAST16): Likewise.
35789 [C99-based-standards] (SCNdLEAST16): Likewise.
35790 [C99-based-standards] (SCNiLEAST16): Likewise.
35791 [C99-based-standards] (SCNoLEAST16): Likewise.
35792 [C99-based-standards] (SCNuLEAST16): Likewise.
35793 [C99-based-standards] (SCNxLEAST16): Likewise.
35794 [C99-based-standards] (PRIdFAST16): Likewise.
35795 [C99-based-standards] (PRIiFAST16): Likewise.
35796 [C99-based-standards] (PRIoFAST16): Likewise.
35797 [C99-based-standards] (PRIuFAST16): Likewise.
35798 [C99-based-standards] (PRIxFAST16): Likewise.
35799 [C99-based-standards] (PRIXFAST16): Likewise.
35800 [C99-based-standards] (SCNdFAST16): Likewise.
35801 [C99-based-standards] (SCNiFAST16): Likewise.
35802 [C99-based-standards] (SCNoFAST16): Likewise.
35803 [C99-based-standards] (SCNuFAST16): Likewise.
35804 [C99-based-standards] (SCNxFAST16): Likewise.
35805 [C99-based-standards] (PRId32): Likewise.
35806 [C99-based-standards] (PRIi32): Likewise.
35807 [C99-based-standards] (PRIo32): Likewise.
35808 [C99-based-standards] (PRIu32): Likewise.
35809 [C99-based-standards] (PRIx32): Likewise.
35810 [C99-based-standards] (PRIX32): Likewise.
35811 [C99-based-standards] (SCNd32): Likewise.
35812 [C99-based-standards] (SCNi32): Likewise.
35813 [C99-based-standards] (SCNo32): Likewise.
35814 [C99-based-standards] (SCNu32): Likewise.
35815 [C99-based-standards] (SCNx32): Likewise.
35816 [C99-based-standards] (PRIdLEAST32): Likewise.
35817 [C99-based-standards] (PRIiLEAST32): Likewise.
35818 [C99-based-standards] (PRIoLEAST32): Likewise.
35819 [C99-based-standards] (PRIuLEAST32): Likewise.
35820 [C99-based-standards] (PRIxLEAST32): Likewise.
35821 [C99-based-standards] (PRIXLEAST32): Likewise.
35822 [C99-based-standards] (SCNdLEAST32): Likewise.
35823 [C99-based-standards] (SCNiLEAST32): Likewise.
35824 [C99-based-standards] (SCNoLEAST32): Likewise.
35825 [C99-based-standards] (SCNuLEAST32): Likewise.
35826 [C99-based-standards] (SCNxLEAST32): Likewise.
35827 [C99-based-standards] (PRIdFAST32): Likewise.
35828 [C99-based-standards] (PRIiFAST32): Likewise.
35829 [C99-based-standards] (PRIoFAST32): Likewise.
35830 [C99-based-standards] (PRIuFAST32): Likewise.
35831 [C99-based-standards] (PRIxFAST32): Likewise.
35832 [C99-based-standards] (PRIXFAST32): Likewise.
35833 [C99-based-standards] (SCNdFAST32): Likewise.
35834 [C99-based-standards] (SCNiFAST32): Likewise.
35835 [C99-based-standards] (SCNoFAST32): Likewise.
35836 [C99-based-standards] (SCNuFAST32): Likewise.
35837 [C99-based-standards] (SCNxFAST32): Likewise.
35838 [C99-based-standards] (PRId64): Likewise.
35839 [C99-based-standards] (PRIi64): Likewise.
35840 [C99-based-standards] (PRIo64): Likewise.
35841 [C99-based-standards] (PRIu64): Likewise.
35842 [C99-based-standards] (PRIx64): Likewise.
35843 [C99-based-standards] (PRIX64): Likewise.
35844 [C99-based-standards] (SCNd64): Likewise.
35845 [C99-based-standards] (SCNi64): Likewise.
35846 [C99-based-standards] (SCNo64): Likewise.
35847 [C99-based-standards] (SCNu64): Likewise.
35848 [C99-based-standards] (SCNx64): Likewise.
35849 [C99-based-standards] (PRIdLEAST64): Likewise.
35850 [C99-based-standards] (PRIiLEAST64): Likewise.
35851 [C99-based-standards] (PRIoLEAST64): Likewise.
35852 [C99-based-standards] (PRIuLEAST64): Likewise.
35853 [C99-based-standards] (PRIxLEAST64): Likewise.
35854 [C99-based-standards] (PRIXLEAST64): Likewise.
35855 [C99-based-standards] (SCNdLEAST64): Likewise.
35856 [C99-based-standards] (SCNiLEAST64): Likewise.
35857 [C99-based-standards] (SCNoLEAST64): Likewise.
35858 [C99-based-standards] (SCNuLEAST64): Likewise.
35859 [C99-based-standards] (SCNxLEAST64): Likewise.
35860 [C99-based-standards] (PRIdFAST64): Likewise.
35861 [C99-based-standards] (PRIiFAST64): Likewise.
35862 [C99-based-standards] (PRIoFAST64): Likewise.
35863 [C99-based-standards] (PRIuFAST64): Likewise.
35864 [C99-based-standards] (PRIxFAST64): Likewise.
35865 [C99-based-standards] (PRIXFAST64): Likewise.
35866 [C99-based-standards] (SCNdFAST64): Likewise.
35867 [C99-based-standards] (SCNiFAST64): Likewise.
35868 [C99-based-standards] (SCNoFAST64): Likewise.
35869 [C99-based-standards] (SCNuFAST64): Likewise.
35870 [C99-based-standards] (SCNxFAST64): Likewise.
35871 [C99-based-standards] (PRIdMAX): Likewise.
35872 [C99-based-standards] (PRIiMAX): Likewise.
35873 [C99-based-standards] (PRIoMAX): Likewise.
35874 [C99-based-standards] (PRIuMAX): Likewise.
35875 [C99-based-standards] (PRIxMAX): Likewise.
35876 [C99-based-standards] (PRIXMAX): Likewise.
35877 [C99-based-standards] (SCNdMAX): Likewise.
35878 [C99-based-standards] (SCNiMAX): Likewise.
35879 [C99-based-standards] (SCNoMAX): Likewise.
35880 [C99-based-standards] (SCNuMAX): Likewise.
35881 [C99-based-standards] (SCNxMAX): Likewise.
35882 [C99-based-standards] (PRIdPTR): Likewise.
35883 [C99-based-standards] (PRIiPTR): Likewise.
35884 [C99-based-standards] (PRIoPTR): Likewise.
35885 [C99-based-standards] (PRIuPTR): Likewise.
35886 [C99-based-standards] (PRIxPTR): Likewise.
35887 [C99-based-standards] (PRIXPTR): Likewise.
35888 [C99-based-standards] (SCNdPTR): Likewise.
35889 [C99-based-standards] (SCNiPTR): Likewise.
35890 [C99-based-standards] (SCNoPTR): Likewise.
35891 [C99-based-standards] (SCNuPTR): Likewise.
35892 [C99-based-standards] (SCNxPTR): Likewise.
35893 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35894 allow.
35895 * conform/data/stdint.h-data: Update comments to clarify
35896 requirements.
35897 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35898 type.
35899 [C99-based standards] (INT8_MAX): Likewise.
35900 [C99-based standards] (INT16_MIN): Likewise.
35901 [C99-based standards] (INT16_MAX): Likewise.
35902 [C99-based standards] (INT32_MIN): Likewise.
35903 [C99-based standards] (INT32_MAX): Likewise.
35904 [C99-based standards] (INT64_MIN): Likewise.
35905 [C99-based standards] (INT64_MAX): Likewise.
35906 [C99-based standards] (UINT8_MAX): Likewise.
35907 [C99-based standards] (UINT16_MAX): Likewise.
35908 [C99-based standards] (UINT32_MAX): Likewise.
35909 [C99-based standards] (UINT64_MAX): Likewise.
35910 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35911 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35912 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35913 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35914 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35915 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35916 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35917 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35918 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35919 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35920 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35921 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35922 [C99-based standards] (INT_FAST8_MIN): Likewise.
35923 [C99-based standards] (INT_FAST8_MAX): Likewise.
35924 [C99-based standards] (INT_FAST16_MIN): Likewise.
35925 [C99-based standards] (INT_FAST16_MAX): Likewise.
35926 [C99-based standards] (INT_FAST32_MIN): Likewise.
35927 [C99-based standards] (INT_FAST32_MAX): Likewise.
35928 [C99-based standards] (INT_FAST64_MIN): Likewise.
35929 [C99-based standards] (INT_FAST64_MAX): Likewise.
35930 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35931 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35932 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35933 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35934 [C99-based standards] (INTPTR_MIN): Likewise.
35935 [C99-based standards] (INTPTR_MAX): Likewise.
35936 [C99-based standards] (UINTPTR_MAX): Likewise.
35937 [C99-based standards] (INTMAX_MIN): Likewise.
35938 [C99-based standards] (INTMAX_MAX): Likewise.
35939 [C99-based standards] (UINTMAX_MAX): Likewise.
35940 [C99-based standards] (PTRDIFF_MIN): Likewise.
35941 [C99-based standards] (PTRDIFF_MAX): Likewise.
35942 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35943 [C99-based standards] (SIZE_MAX): Likewise.
35944 [C99-based standards] (WCHAR_MAX): Likewise.
35945 [C99-based standards] (WINT_MAX): Likewise.
35946 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35947 constraint on value.
35948 [C99-based standards] (WCHAR_MIN): Likewise.
35949 [C99-based standards] (WINT_MIN): Likewise.
35950 [C99-based standards] (*_t): Allow.
35951 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35952 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35953 Include math.h-data and complex.h-data. Remove all expectations
35954 of math.h and complex.h contents.
35955 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35956 at end of line.
35957 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35958 (struct tm): Expect tag.
35959 [C99-based-standards] (wcstof): Expect function.
35960 [C99-based-standards] (wcstold): Likewise.
35961 [C99-based-standards] (wcstoll): Likewise.
35962 [C99-based-standards] (wcstoull): Likewise.
35963 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35964 macro-int-constant. Specify type.
35965 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35966 constraint on value.
35967 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35968 Specify type.
35969 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35970 Specify value.
35971 [ISO C standards]: Do not allow headers.
35972 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35973 wcs[abcdefghijklmnopqrstuvwxyz]*.
35974 [ISO C standards] (*_t): Do not allow.
35975 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35976 Expect function.
35977 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35978 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35979 Specify type.
35980 [ISO C standards]: Do not allow headers.
35981 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35982 is[abcdefghijklmnopqrstuvwxyz]*.
35983 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35984 to[abcdefghijklmnopqrstuvwxyz]*.
35985 [ISO C standards] (*_t): Do not allow.
35986 * conform/data/stdalign.h-data: New file.
35987 * conform/data/stdbool.h-data: Likewise.
35988 * conform/data/stdnoreturn.h-data: Likewise.
35989
7514feb8
RM
359902012-11-07 Roland McGrath <roland@hack.frob.com>
35991
35992 [BZ #14815]
35993 * manual/filesys.texi (Directory Entries): Typo fix.
35994 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35995
19b2ecfc
MS
359962012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35997
35998 * elf/elf.h (EM_AARCH64): New macro.
35999 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36000 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36001 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36002 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36003 (R_AARCH64_TLSDESC): Likewise.
36004 (NT_ARM_TLS): Likewise.
36005 (NT_ARM_HW_BREAK): Likewise.
36006 (NT_ARM_HW_WATCH): Likewise.
36007
60e235ee
JM
360082012-11-07 Joseph Myers <joseph@codesourcery.com>
36009
36010 [BZ #14811]
36011 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36012 (__ieee754_powl): Saturate nonzero exponents with absolute value
36013 below 0x1p-79 to +/- 0x1p-79.
36014 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36015 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36016 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36017 nonzero exponents with absolute value below 0x1p-32 to +/-
36018 0x1p-32.
36019 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36020 (__ieee754_powl): Saturate nonzero exponents with absolute value
36021 below 0x1p-79 to +/- 0x1p-79.
36022 * math/libm-test.inc (pow_test): Add more tests.
36023
0ab234b7
AK
360242012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36025
36026 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36027 _dl_s390_cap_flags with kernel. Increase string length.
36028 (_dl_s390_platforms): Add z196 and zEC12.
36029
45832f74
JM
360302012-11-07 Joseph Myers <joseph@codesourcery.com>
36031
36032 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36033 Change XOPEN21K to XOPEN2K.
36034
19218757
MK
360352012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36036
36037 * string/memmove.c: Use memcpy when possible.
36038
c5f45721
AJ
360392012-11-06 Andreas Jaeger <aj@suse.de>
36040
36041 * po/eo.po: Update from translation team.
36042
82477c28
JM
360432012-11-06 Joseph Myers <joseph@codesourcery.com>
36044
36045 [BZ #14793]
36046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36047 exponent and small x and y exponents, scale x or y up. Increase
36048 by 2 the exponent used in scaling up.
36049 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36050 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36051 * math/libm-test.inc (fma_test): Add more tests.
36052 (fma_test_towardzero): Likewise.
36053 (fma_test_downward): Likewise.
36054 (fma_test_upward): Likewise.
36055
99252c8c
JM
360562012-11-05 Joseph Myers <joseph@codesourcery.com>
36057
acfa885f
JM
36058 [BZ #14805]
36059 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36060 fenv_t *.
36061
99252c8c
JM
36062 [BZ #14801]
36063 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36064 namespace for names of struct fields.
36065 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36066 fenv_t fields.
36067 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36068 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36069
d6d98dea
ST
360702012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36071
36072 [BZ #3665]
36073 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36074
e10bb107
TS
360752012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36076
36077 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36078 PTR_DEMANGLE.
36079
36080 [BZ #5246]
36081 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36082 PTR_DEMANGLE.
36083
a0c2940d
JM
360842012-11-04 Joseph Myers <joseph@codesourcery.com>
36085
36086 [BZ #14797]
36087 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36088 definitely overflow as x * y not x * y + z.
36089 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36090 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36091 * math/libm-test.inc (fma_test): Add more tests.
36092 (fma_test_towardzero): Likewise.
36093 (fma_test_downward): Likewise.
36094 (fma_test_upward): Likewise.
36095
b830319d
TS
360962012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36097
36098 [BZ #157]
36099
36100 * include/stub-tag.h: Remove file.
36101 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36102 '#include' of it.
36103 * manual/maint.texi (Porting): Don't reference it.
36104 * Makerules ($(objpfx)stubs): Likewise.
36105 * dirent/closedir.c: Don't include <stub-tag.h>.
36106 * dirent/dirfd.c: Likewise.
36107 * dirent/fdopendir.c: Likewise.
36108 * dirent/getdents.c: Likewise.
36109 * dirent/getdents64.c: Likewise.
36110 * dirent/opendir.c: Likewise.
36111 * dirent/readdir.c: Likewise.
36112 * dirent/readdir64.c: Likewise.
36113 * dirent/readdir64_r.c: Likewise.
36114 * dirent/readdir_r.c: Likewise.
36115 * dirent/rewinddir.c: Likewise.
36116 * dirent/seekdir.c: Likewise.
36117 * dirent/telldir.c: Likewise.
36118 * gmon/profil.c: Likewise.
36119 * grp/setgroups.c: Likewise.
36120 * inet/if_index.c: Likewise.
36121 * io/access.c: Likewise.
36122 * io/chdir.c: Likewise.
36123 * io/chmod.c: Likewise.
36124 * io/chown.c: Likewise.
36125 * io/close.c: Likewise.
36126 * io/dup.c: Likewise.
36127 * io/dup2.c: Likewise.
36128 * io/dup3.c: Likewise.
36129 * io/euidaccess.c: Likewise.
36130 * io/faccessat.c: Likewise.
36131 * io/fchdir.c: Likewise.
36132 * io/fchmod.c: Likewise.
36133 * io/fchmodat.c: Likewise.
36134 * io/fchown.c: Likewise.
36135 * io/fchownat.c: Likewise.
36136 * io/fcntl.c: Likewise.
36137 * io/flock.c: Likewise.
36138 * io/fstatfs.c: Likewise.
36139 * io/fstatfs64.c: Likewise.
36140 * io/fstatvfs.c: Likewise.
36141 * io/fstatvfs64.c: Likewise.
36142 * io/futimens.c: Likewise.
36143 * io/fxstat.c: Likewise.
36144 * io/fxstat64.c: Likewise.
36145 * io/fxstatat.c: Likewise.
36146 * io/fxstatat64.c: Likewise.
36147 * io/getcwd.c: Likewise.
36148 * io/isatty.c: Likewise.
36149 * io/lchmod.c: Likewise.
36150 * io/lchown.c: Likewise.
36151 * io/link.c: Likewise.
36152 * io/linkat.c: Likewise.
36153 * io/lseek.c: Likewise.
36154 * io/lseek64.c: Likewise.
36155 * io/lxstat64.c: Likewise.
36156 * io/mkdir.c: Likewise.
36157 * io/mkdirat.c: Likewise.
36158 * io/mkfifo.c: Likewise.
36159 * io/mkfifoat.c: Likewise.
36160 * io/open.c: Likewise.
36161 * io/open64.c: Likewise.
36162 * io/openat.c: Likewise.
36163 * io/openat64.c: Likewise.
36164 * io/pipe.c: Likewise.
36165 * io/pipe2.c: Likewise.
36166 * io/poll.c: Likewise.
36167 * io/posix_fadvise.c: Likewise.
36168 * io/posix_fadvise64.c: Likewise.
36169 * io/posix_fallocate.c: Likewise.
36170 * io/posix_fallocate64.c: Likewise.
36171 * io/read.c: Likewise.
36172 * io/readlink.c: Likewise.
36173 * io/readlinkat.c: Likewise.
36174 * io/rmdir.c: Likewise.
36175 * io/sendfile.c: Likewise.
36176 * io/sendfile64.c: Likewise.
36177 * io/statfs.c: Likewise.
36178 * io/statfs64.c: Likewise.
36179 * io/statvfs.c: Likewise.
36180 * io/statvfs64.c: Likewise.
36181 * io/symlink.c: Likewise.
36182 * io/symlinkat.c: Likewise.
36183 * io/ttyname.c: Likewise.
36184 * io/ttyname_r.c: Likewise.
36185 * io/umask.c: Likewise.
36186 * io/unlink.c: Likewise.
36187 * io/unlinkat.c: Likewise.
36188 * io/utime.c: Likewise.
36189 * io/utimensat.c: Likewise.
36190 * io/write.c: Likewise.
36191 * io/xmknod.c: Likewise.
36192 * io/xmknodat.c: Likewise.
36193 * io/xstat.c: Likewise.
36194 * io/xstat64.c: Likewise.
36195 * login/getpt.c: Likewise.
36196 * login/grantpt.c: Likewise.
36197 * login/unlockpt.c: Likewise.
36198 * math/e_acoshl.c: Likewise.
36199 * math/e_acosl.c: Likewise.
36200 * math/e_asinl.c: Likewise.
36201 * math/e_atan2l.c: Likewise.
36202 * math/e_atanhl.c: Likewise.
36203 * math/e_coshl.c: Likewise.
36204 * math/e_expl.c: Likewise.
36205 * math/e_fmodl.c: Likewise.
36206 * math/e_gammal_r.c: Likewise.
36207 * math/e_hypotl.c: Likewise.
36208 * math/e_j0l.c: Likewise.
36209 * math/e_j1l.c: Likewise.
36210 * math/e_jnl.c: Likewise.
36211 * math/e_lgammal_r.c: Likewise.
36212 * math/e_log10l.c: Likewise.
36213 * math/e_log2l.c: Likewise.
36214 * math/e_logl.c: Likewise.
36215 * math/e_powl.c: Likewise.
36216 * math/e_rem_pio2l.c: Likewise.
36217 * math/e_sinhl.c: Likewise.
36218 * math/e_sqrtl.c: Likewise.
36219 * math/fclrexcpt.c: Likewise.
36220 * math/fedisblxcpt.c: Likewise.
36221 * math/feenablxcpt.c: Likewise.
36222 * math/fegetenv.c: Likewise.
36223 * math/fegetexcept.c: Likewise.
36224 * math/fegetround.c: Likewise.
36225 * math/feholdexcpt.c: Likewise.
36226 * math/fesetenv.c: Likewise.
36227 * math/fesetround.c: Likewise.
36228 * math/feupdateenv.c: Likewise.
36229 * math/fgetexcptflg.c: Likewise.
36230 * math/fraiseexcpt.c: Likewise.
36231 * math/fsetexcptflg.c: Likewise.
36232 * math/ftestexcept.c: Likewise.
36233 * math/k_cosl.c: Likewise.
36234 * math/k_rem_pio2l.c: Likewise.
36235 * math/k_sinl.c: Likewise.
36236 * math/k_tanl.c: Likewise.
36237 * math/s_asinhl.c: Likewise.
36238 * math/s_atanl.c: Likewise.
36239 * math/s_cbrtl.c: Likewise.
36240 * math/s_erfl.c: Likewise.
36241 * math/s_expm1l.c: Likewise.
36242 * math/s_log1pl.c: Likewise.
36243 * math/s_tanhl.c: Likewise.
36244 * misc/acct.c: Likewise.
36245 * misc/brk.c: Likewise.
36246 * misc/chflags.c: Likewise.
36247 * misc/chroot.c: Likewise.
36248 * misc/fchflags.c: Likewise.
36249 * misc/fgetxattr.c: Likewise.
36250 * misc/flistxattr.c: Likewise.
36251 * misc/fremovexattr.c: Likewise.
36252 * misc/fsetxattr.c: Likewise.
36253 * misc/fsync.c: Likewise.
36254 * misc/ftruncate.c: Likewise.
36255 * misc/futimes.c: Likewise.
36256 * misc/futimesat.c: Likewise.
36257 * misc/getdomain.c: Likewise.
36258 * misc/getdtsz.c: Likewise.
36259 * misc/gethostid.c: Likewise.
36260 * misc/gethostname.c: Likewise.
36261 * misc/getloadavg.c: Likewise.
36262 * misc/getpagesize.c: Likewise.
36263 * misc/getsysstats.c: Likewise.
36264 * misc/getxattr.c: Likewise.
36265 * misc/gtty.c: Likewise.
36266 * misc/ioctl.c: Likewise.
36267 * misc/lgetxattr.c: Likewise.
36268 * misc/listxattr.c: Likewise.
36269 * misc/llistxattr.c: Likewise.
36270 * misc/lremovexattr.c: Likewise.
36271 * misc/lsetxattr.c: Likewise.
36272 * misc/lutimes.c: Likewise.
36273 * misc/madvise.c: Likewise.
36274 * misc/mincore.c: Likewise.
36275 * misc/mlock.c: Likewise.
36276 * misc/mlockall.c: Likewise.
36277 * misc/mmap.c: Likewise.
36278 * misc/mprotect.c: Likewise.
36279 * misc/msync.c: Likewise.
36280 * misc/munlock.c: Likewise.
36281 * misc/munlockall.c: Likewise.
36282 * misc/munmap.c: Likewise.
36283 * misc/preadv.c: Likewise.
36284 * misc/preadv64.c: Likewise.
36285 * misc/ptrace.c: Likewise.
36286 * misc/pwritev.c: Likewise.
36287 * misc/pwritev64.c: Likewise.
36288 * misc/readv.c: Likewise.
36289 * misc/reboot.c: Likewise.
36290 * misc/remap_file_pages.c: Likewise.
36291 * misc/removexattr.c: Likewise.
36292 * misc/revoke.c: Likewise.
36293 * misc/select.c: Likewise.
36294 * misc/setdomain.c: Likewise.
36295 * misc/setegid.c: Likewise.
36296 * misc/seteuid.c: Likewise.
36297 * misc/sethostid.c: Likewise.
36298 * misc/sethostname.c: Likewise.
36299 * misc/setregid.c: Likewise.
36300 * misc/setreuid.c: Likewise.
36301 * misc/setxattr.c: Likewise.
36302 * misc/sstk.c: Likewise.
36303 * misc/stty.c: Likewise.
36304 * misc/swapoff.c: Likewise.
36305 * misc/swapon.c: Likewise.
36306 * misc/sync.c: Likewise.
36307 * misc/syncfs.c: Likewise.
36308 * misc/syscall.c: Likewise.
36309 * misc/truncate.c: Likewise.
36310 * misc/ualarm.c: Likewise.
36311 * misc/usleep.c: Likewise.
36312 * misc/ustat.c: Likewise.
36313 * misc/utimes.c: Likewise.
36314 * misc/vhangup.c: Likewise.
36315 * misc/writev.c: Likewise.
36316 * posix/_exit.c: Likewise.
36317 * posix/alarm.c: Likewise.
36318 * posix/execve.c: Likewise.
36319 * posix/fexecve.c: Likewise.
36320 * posix/fork.c: Likewise.
36321 * posix/fpathconf.c: Likewise.
36322 * posix/getaddrinfo.c: Likewise.
36323 * posix/getegid.c: Likewise.
36324 * posix/geteuid.c: Likewise.
36325 * posix/getgid.c: Likewise.
36326 * posix/getgroups.c: Likewise.
36327 * posix/getlogin.c: Likewise.
36328 * posix/getlogin_r.c: Likewise.
36329 * posix/getpgid.c: Likewise.
36330 * posix/getpid.c: Likewise.
36331 * posix/getppid.c: Likewise.
36332 * posix/getresgid.c: Likewise.
36333 * posix/getresuid.c: Likewise.
36334 * posix/getsid.c: Likewise.
36335 * posix/getuid.c: Likewise.
36336 * posix/glob64.c: Likewise.
36337 * posix/nanosleep.c: Likewise.
36338 * posix/pathconf.c: Likewise.
36339 * posix/pause.c: Likewise.
36340 * posix/posix_madvise.c: Likewise.
36341 * posix/pread.c: Likewise.
36342 * posix/pread64.c: Likewise.
36343 * posix/pwrite.c: Likewise.
36344 * posix/pwrite64.c: Likewise.
36345 * posix/sched_getaffinity.c: Likewise.
36346 * posix/sched_getp.c: Likewise.
36347 * posix/sched_gets.c: Likewise.
36348 * posix/sched_primax.c: Likewise.
36349 * posix/sched_primin.c: Likewise.
36350 * posix/sched_rr_gi.c: Likewise.
36351 * posix/sched_setaffinity.c: Likewise.
36352 * posix/sched_setp.c: Likewise.
36353 * posix/sched_sets.c: Likewise.
36354 * posix/sched_yield.c: Likewise.
36355 * posix/setgid.c: Likewise.
36356 * posix/setlogin.c: Likewise.
36357 * posix/setpgid.c: Likewise.
36358 * posix/setresgid.c: Likewise.
36359 * posix/setresuid.c: Likewise.
36360 * posix/setsid.c: Likewise.
36361 * posix/setuid.c: Likewise.
36362 * posix/sleep.c: Likewise.
36363 * posix/spawni.c: Likewise.
36364 * posix/sysconf.c: Likewise.
36365 * posix/times.c: Likewise.
36366 * posix/wait.c: Likewise.
36367 * posix/wait3.c: Likewise.
36368 * posix/wait4.c: Likewise.
36369 * posix/waitpid.c: Likewise.
36370 * resolv/gai_sigqueue.c: Likewise.
36371 * resource/getpriority.c: Likewise.
36372 * resource/getrlimit.c: Likewise.
36373 * resource/getrusage.c: Likewise.
36374 * resource/nice.c: Likewise.
36375 * resource/setpriority.c: Likewise.
36376 * resource/setrlimit.c: Likewise.
36377 * resource/ulimit.c: Likewise.
36378 * rt/aio_cancel.c: Likewise.
36379 * rt/aio_fsync.c: Likewise.
36380 * rt/aio_read.c: Likewise.
36381 * rt/aio_sigqueue.c: Likewise.
36382 * rt/aio_suspend.c: Likewise.
36383 * rt/aio_write.c: Likewise.
36384 * rt/clock_getres.c: Likewise.
36385 * rt/clock_gettime.c: Likewise.
36386 * rt/clock_nanosleep.c: Likewise.
36387 * rt/clock_settime.c: Likewise.
36388 * rt/lio_listio.c: Likewise.
36389 * rt/mq_close.c: Likewise.
36390 * rt/mq_getattr.c: Likewise.
36391 * rt/mq_notify.c: Likewise.
36392 * rt/mq_open.c: Likewise.
36393 * rt/mq_receive.c: Likewise.
36394 * rt/mq_send.c: Likewise.
36395 * rt/mq_setattr.c: Likewise.
36396 * rt/mq_timedreceive.c: Likewise.
36397 * rt/mq_timedsend.c: Likewise.
36398 * rt/mq_unlink.c: Likewise.
36399 * rt/shm_open.c: Likewise.
36400 * rt/shm_unlink.c: Likewise.
36401 * rt/timer_create.c: Likewise.
36402 * rt/timer_delete.c: Likewise.
36403 * rt/timer_getoverr.c: Likewise.
36404 * rt/timer_gettime.c: Likewise.
36405 * rt/timer_settime.c: Likewise.
36406 * setjmp/__longjmp.c: Likewise.
36407 * setjmp/setjmp.c: Likewise.
36408 * signal/kill.c: Likewise.
36409 * signal/killpg.c: Likewise.
36410 * signal/raise.c: Likewise.
36411 * signal/sigaction.c: Likewise.
36412 * signal/sigaltstack.c: Likewise.
36413 * signal/sigblock.c: Likewise.
36414 * signal/sigignore.c: Likewise.
36415 * signal/sigintr.c: Likewise.
36416 * signal/signal.c: Likewise.
36417 * signal/sigpause.c: Likewise.
36418 * signal/sigpending.c: Likewise.
36419 * signal/sigqueue.c: Likewise.
36420 * signal/sigreturn.c: Likewise.
36421 * signal/sigset.c: Likewise.
36422 * signal/sigsetmask.c: Likewise.
36423 * signal/sigstack.c: Likewise.
36424 * signal/sigsuspend.c: Likewise.
36425 * signal/sigtimedwait.c: Likewise.
36426 * signal/sigvec.c: Likewise.
36427 * signal/sigwait.c: Likewise.
36428 * signal/sigwaitinfo.c: Likewise.
36429 * signal/sysv_signal.c: Likewise.
36430 * socket/accept.c: Likewise.
36431 * socket/accept4.c: Likewise.
36432 * socket/bind.c: Likewise.
36433 * socket/connect.c: Likewise.
36434 * socket/getpeername.c: Likewise.
36435 * socket/getsockname.c: Likewise.
36436 * socket/getsockopt.c: Likewise.
36437 * socket/isfdtype.c: Likewise.
36438 * socket/listen.c: Likewise.
36439 * socket/recv.c: Likewise.
36440 * socket/recvfrom.c: Likewise.
36441 * socket/recvmsg.c: Likewise.
36442 * socket/send.c: Likewise.
36443 * socket/sendmsg.c: Likewise.
36444 * socket/sendto.c: Likewise.
36445 * socket/setsockopt.c: Likewise.
36446 * socket/shutdown.c: Likewise.
36447 * socket/sockatmark.c: Likewise.
36448 * socket/socket.c: Likewise.
36449 * socket/socketpair.c: Likewise.
36450 * stdio-common/ctermid.c: Likewise.
36451 * stdio-common/cuserid.c: Likewise.
36452 * stdio-common/remove.c: Likewise.
36453 * stdio-common/rename.c: Likewise.
36454 * stdio-common/renameat.c: Likewise.
36455 * stdio-common/tempname.c: Likewise.
36456 * stdlib/getcontext.c: Likewise.
36457 * stdlib/makecontext.c: Likewise.
36458 * stdlib/setcontext.c: Likewise.
36459 * stdlib/swapcontext.c: Likewise.
36460 * stdlib/system.c: Likewise.
36461 * streams/fattach.c: Likewise.
36462 * streams/fdetach.c: Likewise.
36463 * streams/getmsg.c: Likewise.
36464 * streams/getpmsg.c: Likewise.
36465 * streams/putmsg.c: Likewise.
36466 * streams/putpmsg.c: Likewise.
36467 * sysdeps/unix/bsd/getpt.c: Likewise.
36468 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36469 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36470 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36472 Likewise.
36473 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36474 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36475 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36476 * sysvipc/msgctl.c: Likewise.
36477 * sysvipc/msgget.c: Likewise.
36478 * sysvipc/msgrcv.c: Likewise.
36479 * sysvipc/msgsnd.c: Likewise.
36480 * sysvipc/semctl.c: Likewise.
36481 * sysvipc/semget.c: Likewise.
36482 * sysvipc/semop.c: Likewise.
36483 * sysvipc/semtimedop.c: Likewise.
36484 * sysvipc/shmat.c: Likewise.
36485 * sysvipc/shmctl.c: Likewise.
36486 * sysvipc/shmdt.c: Likewise.
36487 * sysvipc/shmget.c: Likewise.
36488 * termios/tcdrain.c: Likewise.
36489 * termios/tcflow.c: Likewise.
36490 * termios/tcflush.c: Likewise.
36491 * termios/tcgetattr.c: Likewise.
36492 * termios/tcgetpgrp.c: Likewise.
36493 * termios/tcsendbrk.c: Likewise.
36494 * termios/tcsetattr.c: Likewise.
36495 * termios/tcsetpgrp.c: Likewise.
36496 * time/adjtime.c: Likewise.
36497 * time/clock.c: Likewise.
36498 * time/getitimer.c: Likewise.
36499 * time/gettimeofday.c: Likewise.
36500 * time/setitimer.c: Likewise.
36501 * time/settimeofday.c: Likewise.
36502 * time/stime.c: Likewise.
36503 * time/time.c: Likewise.
36504
365052012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 36506
a20492cf
PT
36507 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36508 /usr/old/bin.
36509
72e182e3
PT
36510 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36511 instead of spaces.
36512 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36513
fbeafede
JM
365142012-11-03 Joseph Myers <joseph@codesourcery.com>
36515
5b5b04d6
JM
36516 [BZ #14796]
36517 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36518 FE_TONEAREST before applying Dekker multiplication and Knuth
36519 addition. Clear inexact exceptions and check for exact zero
36520 results afterwards.
36521 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36522 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36523 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36524 * math/libm-test.inc (fma_test): Add more tests.
36525 (fma_test_towardzero): Likewise.
36526 (fma_test_downward): Likewise.
36527 (fma_test_upward): Likewise.
36528 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36529 function.
36530 (libc_fesetround): New macro.
36531 (libc_fesetroundf): Likewise.
36532 (libc_fesetroundl): Likewise.
36533 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36534 function.
36535 (libc_fesetround_387): Likewise.
36536 (libc_fesetroundf): New macro.
36537 (libc_fesetround): Likewise.
36538 (libc_fesetroundl): Likewise.
36539 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36540 function.
36541 (libc_fesetroundf): New macro.
36542 (libc_fesetround): Likewise.
36543 (libc_fesetroundl): Likewise.
36544 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36545 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36546 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36547 libm_hidden_ver.
36548 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36549 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36550 libm_hidden_def.
36551 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36552 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36553 libm_hidden_ver.
36554 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36555 libm_hidden_def.
36556
fbeafede
JM
36557 [BZ #3439]
36558 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36559 integer constant usable in #if and use that to give value to enum
36560 constant.
36561 (FE_DIVBYZERO): Likewise.
36562 (FE_UNDERFLOW): Likewise.
36563 (FE_OVERFLOW): Likewise.
36564 (FE_INVALID): Likewise.
36565 (FE_INVALID_SNAN): Likewise.
36566 (FE_INVALID_ISI): Likewise.
36567 (FE_INVALID_IDI): Likewise.
36568 (FE_INVALID_ZDZ): Likewise.
36569 (FE_INVALID_IMZ): Likewise.
36570 (FE_INVALID_COMPARE): Likewise.
36571 (FE_INVALID_SOFTWARE): Likewise.
36572 (FE_INVALID_SQRT): Likewise.
36573 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36574 (FE_TONEAREST): Likewise.
36575 (FE_TOWARDZERO): Likewise.
36576 (FE_UPWARD): Likewise.
36577 (FE_DOWNWARD): Likewise.
36578 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36579 (FE_DIVBYZERO): Likewise.
36580 (FE_OVERFLOW): Likewise.
36581 (FE_UNDERFLOW): Likewise.
36582 (FE_INEXACT): Likewise.
36583 (FE_TONEAREST): Likewise.
36584 (FE_DOWNWARD): Likewise.
36585 (FE_UPWARD): Likewise.
36586 (FE_TOWARDZERO): Likewise.
36587 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36588 (FE_UNDERFLOW): Likewise.
36589 (FE_OVERFLOW): Likewise.
36590 (FE_DIVBYZERO): Likewise.
36591 (FE_INVALID): Likewise.
36592 (FE_TONEAREST): Likewise.
36593 (FE_TOWARDZERO): Likewise.
36594 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36595 (FE_OVERFLOW): Likewise.
36596 (FE_UNDERFLOW): Likewise.
36597 (FE_DIVBYZERO): Likewise.
36598 (FE_INEXACT): Likewise.
36599 (FE_TONEAREST): Likewise.
36600 (FE_TOWARDZERO): Likewise.
36601 (FE_UPWARD): Likewise.
36602 (FE_DOWNWARD): Likewise.
36603 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36604 (FE_DIVBYZERO): Likewise.
36605 (FE_OVERFLOW): Likewise.
36606 (FE_UNDERFLOW): Likewise.
36607 (FE_INEXACT): Likewise.
36608 (FE_TONEAREST): Likewise.
36609 (FE_DOWNWARD): Likewise.
36610 (FE_UPWARD): Likewise.
36611 (FE_TOWARDZERO): Likewise.
36612
105ca950
CM
366132012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36614
36615 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36616
a542b389
AS
366172012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36618
36619 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36620 commands. Quote $PWD.
36621 (blacklist_exports): Don't use remove_newlines. Replace "declare
36622 -x" by "export".
36623 (remove_newlines): Remove.
36624
f62c8abc
L
366252012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36626
36627 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36628 * stdlib/stdlib.h (atof): Moved to ...
36629 * include/bits/stdlib-float.h: Here. New file.
36630 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36631 * stdlib/bits/stdlib-float.h: New file.
36632 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36633 -mno-sse -mno-mmx.
36634 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36635 <xmmintrin.h>.
36636
0155d5b2
JM
366372012-11-02 Joseph Myers <joseph@codesourcery.com>
36638
a68d0680
JM
36639 * conform/conformtest.pl (@headers): Add fenv.h.
36640 * conform/data/fenv.h-data: New file.
36641 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36642 include of <math/fenv.h>.
36643
caf7f573
JM
36644 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36645 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36646 && !UNIX98]. Enables tests for XOPEN2K8.
36647 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36648 POSIX2008]: Likewise.
36649
6c073ad6
JM
36650 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36651 (struct rusage): Do not expect type or its members.
36652
0155d5b2
JM
36653 [BZ #3439]
36654 * math/math.h (FP_NAN): Define macro to integer constant usable in
36655 #if and use that to give value to enum constant.
36656 (FP_INFINITE): Likewise.
36657 (FP_ZERO): Likewise.
36658 (FP_SUBNORMAL): Likewise.
36659 (FP_NORMAL): Likewise.
36660
b5dcacb4
AS
366612012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36662
36663 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36664 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36665 arguments.
36666
f7934be8
RM
366672012-11-02 Roland McGrath <roland@hack.frob.com>
36668
36669 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36670 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36671 autoconf-time if not.
36672 * configure.in: Remove AC_PREREQ.
36673
d7d08bde
TMQMF
366742012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36675
36676 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36677 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36678 of the internal implementation.
36679
dcdae19a
JM
366802012-11-02 Joseph Myers <joseph@codesourcery.com>
36681
36682 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36683 except include of <misc/sys/syslog.h>.
36684
d6cffd3e
AS
366852012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36686
36687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36688 function returns with a NULL context exit with zero.
36689
b3563932
TMQMF
366902012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36691
36692 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36693
b288a93d
L
366942012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36695
36696 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36697 (run_program_cmd): This.
36698 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36699 (tst_langinfo): New variable. Use it.
36700
a2421a68
SAS
367012012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36702
36703 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36704 floating point opcodes.
36705
6f796e1b
TS
367062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36707
7402596b
TS
36708 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36709 variable.
36710
d0d4f868
TS
36711 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36712
6f796e1b
TS
36713 * sysdeps/mach/hurd/powerpc: Remove directory.
36714 * sysdeps/mach/powerpc: Likewise.
36715
4da224a2
AS
367162012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36717
36718 * scripts/check-local-headers.sh: Ignore c++ headers.
36719
341dd673
TS
367202012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36721
36722 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36723 __libc_cleanup_region_start argument.
36724
473611b2
JM
367252012-11-01 Joseph Myers <joseph@codesourcery.com>
36726
36727 [BZ #14784]
36728 [BZ #14785]
36729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36730 x * y using scaling, not as x * y + z.
36731 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36732 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36733 * math/libm-test.inc (fma_test): Add more tests.
36734 (fma_test_towardzero): Likewise.
36735 (fma_test_downward): Likewise.
36736 (fma_test_upward): Likewise.
36737
4078da3d
TS
367382012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36739
36740 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36741
903252aa
JM
367422012-10-31 Joseph Myers <joseph@codesourcery.com>
36743
36744 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36745 New variable.
36746
cbc818d0
TS
367472012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36748
36749 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36750
5a03cb1e
AS
367512012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36752
36753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36754 Fix sort order.
36755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36756 Likewise.
36757
90aff2ff
TMQMF
367582012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36759
36760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36761 Fix the order of the list for glibc 2.17.
36762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36763 Likewise.
36764
1818fcb7
AS
367652012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36766
36767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36768
ef82f4da
JM
367692012-10-31 Joseph Myers <joseph@codesourcery.com>
36770
16a0e2ec
JM
36771 [BZ #14610]
36772 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36773 for low part of x being zero before using __atanl (y).
36774 * math/libm-test.inc (atan2_test): Add another test.
36775
0eb69512
JM
36776 * manual/install.texi (Configuring and compiling): Document
36777 general use of test-wrapper and test-wrapper-env.
36778 * INSTALL: Regenerated.
36779
ef82f4da
JM
36780 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36781 (__fma): Do not extract and scale down low bits on after-rounding
36782 systems when result rounded to normal precision would have normal
36783 exponent.
36784 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36785 (__fmal): Do not extract and scale down low bits on after-rounding
36786 systems when result rounded to normal precision would have normal
36787 exponent.
36788 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36789 (__fmal): Do not extract and scale down low bits on after-rounding
36790 systems when result rounded to normal precision would have normal
36791 exponent.
36792 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36793 macro.
36794 (fma_test): Add more tests.
36795 (fma_test_towardzero): Likewise.
36796 (fma_test_downward): Likewise.
36797 (fma_test_upward): Likewise.
36798
954ef0d9
L
367992012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36800
36801 * sysdeps/i386/tininess.h: Renamed to ...
36802 * sysdeps/x86/tininess.h: This.
36803 * sysdeps/x86_64/tininess.h: Removed.
36804
df61ffb2
JM
368052012-10-30 Joseph Myers <joseph@codesourcery.com>
36806
36807 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36808 input. Use $(build-program-cmd).
36809 ($(objpfx)tst-array1-static.out): Likewise.
36810 ($(objpfx)tst-array2.out): Likewise.
36811 ($(objpfx)tst-array3.out): Likewise.
36812 ($(objpfx)tst-array4.out): Likewise.
36813 ($(objpfx)tst-array5.out): Likewise.
36814 ($(objpfx)tst-array5-static.out): Likewise.
36815
01767843
CM
368162012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36817
47cc1490
CM
36818 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36819 if defined.
36820
01767843
CM
36821 * nss/nsswitch.h (nss_interface_function): Provide new
36822 macro for use with NSS functions.
36823 * grp/initgroups.c: Use new macro.
36824 * nss/getXXbyYY.c: Likewise.
36825 * nss/getXXbyYY_r.c: Likewise.
36826 * nss/getXXent.c: Likewise.
36827 * nss/getXXent_r.c: Likewise.
36828 * sysdeps/posix/getaddrinfo.c: Likewise.
36829
8321aa97
AJ
368302012-10-30 Andreas Jaeger <aj@suse.de>
36831
36832 * po/ru.po: Update Russion translation from translation project.
36833
2a27fd6d
JM
368342012-10-30 Joseph Myers <joseph@codesourcery.com>
36835
8627a232
JM
36836 [BZ #14152]
36837 [BZ #14783]
36838 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36839 result and shift together with sticky bit instead of replicating
36840 round-to-nearest rounding.
36841 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36842 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36843 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36844 missing underflow exceptions.
36845 (fma_test_towardzero): Add more tests.
36846 (fma_test_downward): Likewise.
36847 (fma_test_upward): Likewise.
36848
2a27fd6d
JM
36849 [BZ #14047]
36850 * sysdeps/generic/tininess.h: New file.
36851 * sysdeps/i386/tininess.h: Likewise.
36852 * sysdeps/sh/tininess.h: Likewise.
36853 * sysdeps/x86_64/tininess.h: Likewise.
36854 * stdlib/tst-strtod-underflow.c: Likewise.
36855 * stdlib/tst-tininess.c: Likewise.
36856 * stdlib/strtod_l.c: Include <tininess.h>.
36857 (round_and_return): Do not set errno for exact underflow cases.
36858 Force an underflow exception when setting errno for underflow.
36859 Determine underflow based on rounding to normal precision if
36860 TININESS_AFTER_ROUNDING.
36861 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36862 ERANGE for exact underflow cases.
36863 * stdlib/Makefile (tests): Add tst-tininess and
36864 tst-strtod-underflow.
36865 ($(objpfx)tst-tininess): Use $(link-libm).
36866 ($(objpfx)tst-strtod-underflow): Likewise.
36867
e7170363
AJ
368682012-10-30 Andreas Jaeger <aj@suse.de>
36869
e5088dc6
AJ
36870 [BZ#14767]
36871 * elf/Makefile (tests): Remove conditional for have-initfini-array
36872 since this is now always required and the variable does not exist
36873 anymore.
36874 (tests-static): Likewise.
36875 (modules-names): Likewise.
36876
e7170363 36877 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
36878
36879 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36880 merged with constructor/destructor.
36881 (init_array): Likewise.
36882 * elf/tst-array2dep.c (fini_array): Likewise.
36883 (init_array): Likewise.
36884
60457d8a
MF
368852012-10-29 Mike Frysinger <vapier@gentoo.org>
36886
36887 * manual/message.texi: Delete @cartouche tags.
36888
8bece752
PT
368892012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36890
94ce799f
PT
36891 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36892 EOPNOTSUPP.
36893 * sysdeps/mach/hurd/fsync.c: Likewise.
36894
8bece752
PT
36895 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36896 [_POSIX_REALTIME_SIGNALS]: Change condition to
36897 [_POSIX_REALTIME_SIGNALS > 0].
36898
86ebe6b1
AJ
368992012-10-27 Andreas Jaeger <aj@suse.de>
36900
36901 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36902 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36903 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36904 [__WORDSIZE != 64]: Likewise.
36905
54399c08
L
369062012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36907
36908 * iconvdata/tst-table.sh: Remove ${SHELL}.
36909 * iconvdata/tst-tables.sh: Likewise.
36910
e2211bed
DM
369112012-10-25 David S. Miller <davem@davemloft.net>
36912
36913 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36914 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36915 of strtoull.
36916
f303f97c
DM
36917 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36918 ifunc-impl-list.c
36919 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36920 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36921 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36922 file.
36923
1e9d84cd
RM
369242012-10-25 Roland McGrath <roland@hack.frob.com>
36925
36926 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36927 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36928 __getdirentries.
36929
df381762
JM
369302012-10-25 Joseph Myers <joseph@codesourcery.com>
36931 Jim Blandy <jimb@codesourcery.com>
36932
36933 * scripts/cross-test-ssh.sh: New file.
36934 * manual/install.texi (Configuring and compiling): Document use of
36935 cross-test-ssh.sh.
36936 * INSTALL: Regenerated.
36937
bff64913
PT
369382012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36939
36940 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36941 EOPNOTSUPP.
36942
25fe8932
JM
369432012-10-25 Joseph Myers <joseph@codesourcery.com>
36944
36945 * Makeconfig (run-program-prefix): Fix comment.
36946
cc1290d0
JM
369472012-10-24 Joseph Myers <joseph@codesourcery.com>
36948 Jim Blandy <jimb@codesourcery.com>
36949
36950 * Makeconfig (test-wrapper): New variable,
36951 (test-wrapper-env): Likewise.
36952 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36953 (run-built-tests): Define to yes.
36954 (run-program-prefix): Use $(test-wrapper).
36955 (built-program-cmd): Likewise.
36956 * Rules (make-test-out): Use $(test-wrapper-env) and
36957 $(host-built-program-cmd).
36958 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36959 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36960 tst-pathopt.sh.
36961 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36962 $(test-wrapper-env) to tst-rtld-load-self.sh.
36963 ($(objpfx)order2.out): Use $(test-wrapper).
36964 ($(objpfx)tst-initorder.out): Likewise.
36965 ($(objpfx)tst-initorder2.out): Likewise.
36966 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36967 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36968 (test_wrapper_env): New variable. Use it to run ld.so.
36969 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36970 Use it to run ld.so.
36971 (test_wrapper_env): Likewise.
36972 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36973 $(test-wrapper) to run-iconv-test.sh.
36974 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36975 (ICONV): Use $test_wrapper.
36976 * posix/Makefile ($(objpfx)globtest.out): Pass
36977 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36978 globtest.sh, not $(run-program-prefix).
36979 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36980 (test_wrapper): Likewise.
36981 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36982 set together with run_via_rtld_prefix.
36983 (run_program_prefix): Define in terms of test_wrapper and
36984 run_via_rtld_prefix.
36985
6e6249d0
RM
369862012-10-24 Roland McGrath <roland@hack.frob.com>
36987
36988 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36989 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36990 Targets removed.
36991
36992 [BZ #14743]
36993 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36994 Declare __clock_getres, __clock_gettime, __clock_settime,
36995 __clock_nanosleep, and __clock_getcpuclockid.
36996 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36997 Remove librt_hidden_def (clock_gettime).
36998 * sysdeps/unix/clock_gettime.c: Likewise.
36999 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37000 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37001 * rt/clock_getres.c: Define __clock_getres as an alias.
37002 * sysdeps/posix/clock_getres.c: Likewise.
37003 * rt/clock_settime.c: Define __clock_settime as an alias.
37004 * sysdeps/unix/clock_settime.c: Likewise.
37005 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37006 * sysdeps/unix/clock_nanosleep.c: Likewise.
37007 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37008 * rt/clock-compat.c: New file.
37009 * rt/Makefile (librt-routines): Add clock-compat and move
37010 $(clock-routines) to ...
37011 (routines): ... here, new variable.
37012 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37013 Don't add get_clockfreq here.
37014 * rt/Versions (libc: GLIBC_2.17): New version set.
37015 Add clock_* symbols here.
37016 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37017 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37018 (GLIBC_2.17): Add clock_* symbols.
37019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37021 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37023 Likewise.
37024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37025 Likewise.
37026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37030 * NEWS: Mention the move.
37031
37032 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37033 Use __open, __read, __close rather than their public counterparts.
37034 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37035 (__get_clockfreq_via_cpuinfo): Likewise.
37036 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37037 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37038
37039 * config.h.in (HAVE_IFUNC): New #undef.
37040 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37041 was successful.
37042 * configure: Regenerated.
37043
0cae3f4b
MF
370442012-10-24 Mike Frysinger <vapier@gentoo.org>
37045
37046 * configure.in: Move READELF check to start of file.
37047 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37048 libc_cv_asm_gnu_indirect_function in the process.
37049 * configure: Regenerated.
37050
8175a253
MF
370512012-10-24 Mike Frysinger <vapier@gentoo.org>
37052
37053 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37054 send the output to /dev/null.
37055 (libc_cv_cc_with_libunwind): Likewise.
37056 (libc_cv_as_noexecstack): Likewise.
37057 * configure: Regenerate.
37058
0708a7d1
JM
370592012-10-24 Joseph Myers <joseph@codesourcery.com>
37060
10b40d85
JM
37061 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37062
0708a7d1
JM
37063 * posix/globtest.sh (TMPDIR): Do not set.
37064 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37065 (testout): Likewise.
37066
9fddec1a
AJ
370672012-10-24 Andreas Jaeger <aj@suse.de>
37068
3a8db22f
AJ
37069 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37070 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37071 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37072 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37073 posix_fadvise64, posix_fallocate64.
37074
9fddec1a
AJ
37075 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37076 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37077 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37078 Likewise.
37079 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37080 Likewise.
37081 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37082
37083 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37084 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37085 <bits/fcntl-linux.h>.
37086 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37087
37088 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37089 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37090 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37091 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37092 [__WORDSIZE != 64]: Likewise.
37093
ebfd1bbd
JM
370942012-10-23 Joseph Myers <joseph@codesourcery.com>
37095
03ac099f
JM
37096 * Makeconfig (run-built-tests): New variable.
37097 * Rules [$(cross-compiling) = yes]: Change condition to
37098 [$(run-built-tests) = no].
37099 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37100 to [$(run-built-tests) = yes].
37101 * elf/Makefile [$(cross-compiling) = no]: Likewise
37102 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37103 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37104 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37105 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37106 * io/Makefile [$(cross-compiling) = no]: Likewise.
37107 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37108 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37109 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37110 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37111 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37112 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37113 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37114 * string/Makefile [$(cross-compiling) = no]: Likewise.
37115
ebfd1bbd
JM
37116 * posix/Makefile ($(objpfx)globtest.out): Pass
37117 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37118 $(rtld-installed-name).
37119 * posix/globtest.sh (elf_objpfx): Remove variable.
37120 (rtld_installed_name): Likewise.
37121 (library_path): Likewise.
37122 (run_program_prefix): New variable. Use for running globtest
37123 binary.
37124
166bca24
JB
371252012-10-23 Jim Blandy <jimb@codesourcery.com>
37126 Joseph Myers <joseph@codesourcery.com>
37127
37128 * Makeconfig (host-built-program-cmd): New variable.
37129 * elf/Makefile (tst-stackguard1-ARGS): Use
37130 $(host-built-program-cmd).
37131 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37132 (tst-spawn-ARGS): Likewise.
37133 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37134
88866099
JM
371352012-10-23 Joseph Myers <joseph@codesourcery.com>
37136 Jim Blandy <jimb@codesourcery.com>
37137
37138 * Makeconfig (run-via-rtld-prefix): New variable.
37139 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37140 (built-program-cmd): Likewise.
37141
b4b4c296
AJ
371422012-10-22 Andreas Jaeger <aj@suse.de>
37143
37144 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37145 __O_RSYNC if it exists, otherwise to O_SYNC.
37146
6fb54a22
JB
371472012-10-22 Jim Blandy <jimb@codesourcery.com>
37148 Joseph Myers <joseph@codesourcery.com>
37149
37150 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37151 /dev/null.
37152 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37153 from /dev/null
37154 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37155 /dev/null.
37156
481b90b9
AJ
371572012-10-22 Andreas Jaeger <aj@suse.de>
37158
2a0e2669
AJ
37159 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37160 Define always.
37161 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37162
76e38f9a
AJ
37163 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37164 bits/fcntl-linux.h.
37165
7cd37b43
AJ
37166 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37167 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37168
481b90b9
AJ
37169 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37170 to __O_LARGEFILE.
37171 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37172 to __O_LARGEFILE.
37173
aba75984
JB
371742012-10-21 Jim Blandy <jimb@codesourcery.com>
37175 Joseph Myers <joseph@codesourcery.com>
37176
37177 * config.make.in (NM): New variable.
37178
88d4247f
AJ
371792012-10-21 Andreas Jaeger <aj@suse.de>
37180
37181 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37182 definitions and declarations that are provided by
37183 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37184
f2eed205
L
371852012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37186
37187 [BZ #14683]
37188 * elf/Makefile (tests-static): Add tst-leaks1-static.
37189 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37190 ($(objpfx)tst-leaks1-static): New rule.
37191 ($(objpfx)tst-leaks1-static-mem): Likewise.
37192 (tst-leaks1-static-ENV): New macro.
37193 * elf/dl-open.c (dl_open_worker): Check the main application
37194 only if SHARED is defined.
37195 * elf/tst-leaks1-static.c: New file.
37196
335e6931
AJ
371972012-10-20 Andreas Jaeger <aj@suse.de>
37198
37199 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37200 generic values for Linux.
37201 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37202 and declarations that are provided by <bits/fcntl-linux.h> and
37203 include <bits/fcntl-linux.h>.
37204 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37205 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37206
ac5c94d3
RM
372072012-10-20 Roland McGrath <roland@hack.frob.com>
37208
37209 * io/fcntl.h: Move include of <bits/types.h> to the top and
37210 include it unconditionally.
37211
de54b33a
L
372122012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37213
228cfb01
L
37214 * wcsmbs/Makefile (tests-ifunc): New variable.
37215 (tests): Add $(tests-ifunc).
37216 * wcsmbs/test-wcschr-ifunc.c: New file.
37217 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37218 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37219 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37220 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37221 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37222
69f07e5f
L
37223 * string/Makefile (tests-ifunc): New variable.
37224 (tests): Add $(tests-ifunc).
37225 * string/test-memccpy.c (TEST_NAME): New macro.
37226 * string/test-memchr.c (TEST_NAME): Likewise.
37227 * string/test-memcmp.c (TEST_NAME): Likewise.
37228 * string/test-memcpy.c (TEST_NAME): Likewise.
37229 * string/test-memmem.c (TEST_NAME): Likewise.
37230 * string/test-memmove.c (TEST_NAME): Likewise.
37231 * string/test-memset.c (TEST_NAME): Likewise.
37232 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37233 * string/test-stpcpy.c (TEST_NAME): Likewise.
37234 * string/test-stpncpy.c (TEST_NAME): Likewise.
37235 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37236 * string/test-strcasestr.c (TEST_NAME): Likewise.
37237 * string/test-strcat.c (TEST_NAME): Likewise.
37238 * string/test-strchr.c (TEST_NAME): Likewise.
37239 * string/test-strcmp.c(TEST_NAME): Likewise.
37240 * string/test-strcpy.c (TEST_NAME): Likewise.
37241 * string/test-strcspn.c (TEST_NAME): Likewise.
37242 * string/test-strlen.c (TEST_NAME): Likewise.
37243 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37244 * string/test-strncmp.c (TEST_NAME): Likewise.
37245 * string/test-strncpy.c (TEST_NAME): Likewise.
37246 * string/test-strnlen.c (TEST_NAME): Likewise.
37247 * string/test-strpbrk.c (TEST_NAME): Likewise.
37248 * string/test-strrchr.c (TEST_NAME): Likewise.
37249 * string/test-strspn.c (TEST_NAME): Likewise.
37250 * string/test-strstr.c (TEST_NAME): Likewise.
37251 * string/test-bcopy-ifunc.c: New file.
37252 * string/test-bzero-ifunc.c: Likewise.
37253 * string/test-memccpy-ifunc.c: Likewise.
37254 * string/test-memchr-ifunc.c: Likewise.
37255 * string/test-memcmp-ifunc.c: Likewise.
37256 * string/test-memcpy-ifunc.c: Likewise.
37257 * string/test-memmem-ifunc.c: Likewise.
37258 * string/test-memmove-ifunc.c: Likewise.
37259 * string/test-mempcpy-ifunc.c: Likewise.
37260 * string/test-memset-ifunc.c: Likewise.
37261 * string/test-rawmemchr-ifunc.c: Likewise.
37262 * string/test-stpcpy-ifunc.c: Likewise.
37263 * string/test-stpncpy-ifunc.c: Likewise.
37264 * string/test-strcasecmp-ifunc.c: Likewise.
37265 * string/test-strcasestr-ifunc.c: Likewise.
37266 * string/test-strcat-ifunc.c: Likewise.
37267 * string/test-strchr-ifunc.c: Likewise.
37268 * string/test-strchrnul-ifunc.c: Likewise.
37269 * string/test-strcmp-ifunc.c: Likewise.
37270 * string/test-strcpy-ifunc.c: Likewise.
37271 * string/test-strcspn-ifunc.c: Likewise.
37272 * string/test-strlen-ifunc.c: Likewise.
37273 * string/test-strncasecmp-ifunc.c: Likewise.
37274 * string/test-strncat-ifunc.c: Likewise.
37275 * string/test-strncmp-ifunc.c: Likewise.
37276 * string/test-strncpy-ifunc.c: Likewise.
37277 * string/test-strnlen-ifunc.c: Likewise.
37278 * string/test-strpbrk-ifunc.c: Likewise.
37279 * string/test-strrchr-ifunc.c: Likewise.
37280 * string/test-strspn-ifunc.c: Likewise.
37281 * string/test-strstr-ifunc.c: Likewise.
37282
de54b33a
L
37283 * debug/Makefile (tests-ifunc): New variable.
37284 (tests): Add $(tests-ifunc).
37285 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37286 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37287 * debug/test-stpcpy_chk-ifunc.c: New file.
37288 * debug/test-strcpy_chk-ifunc.c: Likewise.
37289
88481c16
SP
372902012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37291
37292 [BZ #13601]
37293 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37294 header is not read in.
37295
135948bd
JM
372962012-10-19 Joseph Myers <joseph@codesourcery.com>
37297
89f1c388
JM
37298 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37299 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37300 directly. Pass built executable to script as
37301 $(built-program-cmd).
37302 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37303 $testprogram without using LD_LIBRARY_PATH and $ldso.
37304
e40a0d21
JM
37305 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37306 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37307 $(rtld-installed-name).
37308 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37309 (rtld_installed_name): Likewise.
37310 (library_path): Likewise.
37311 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37312 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37313 $(run-program-prefix) to tst-tables.sh.
37314 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37315 it to run tst-table-from and tst-table-to.
37316 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37317 Pass it to tst-table.sh.
37318 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37319 $(run-program-prefix) to tst-gettext.sh.
37320 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37321 tst-translit.sh.
37322 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37323 tst-gettext2.sh.
37324 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37325 to run tst-gettext.
37326 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37327 to run tst-gettext2.
37328 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37329 to run tst-translit.
37330 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37331 $(run-program-prefix) to tst-mtrace.sh.
37332 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37333 to run tst-mtrace.
37334 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37335 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37336 $(rtld-installed-name).
37337 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37338 (rtld_installed_name): Likewise.
37339 (run_program_prefix): New variable. Use it to run wordexp-test.
37340
728e272a
JM
37341 * Makeconfig (ARCH): Remove all definitions.
37342 (machine): Likewise.
37343 [ARCH]: Remove conditional code.
37344 [!objdir]: Give error.
37345 [!objdir] (objpfx): Remove.
37346 [!objdir] (common-objpfx): Likewise.
37347 [!objdir] (common-objdir): Likewise.
37348 * configure.in (config_makefile): Remove. Hardcode Makefile in
37349 AC_CONFIG_FILES call.
37350 * configure: Regenerated.
37351
d528cdcf
JM
37352 [BZ #13888]
37353 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37354 or TMPDIR.
37355 (testout): Likewise.
37356
135948bd
JM
37357 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37358 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37359 $(rtld-installed-name).
37360 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37361 (rtld_installed_name): Likwise.
37362 (runit): Remove function.
37363 (run_getconf): New variable, Use it for running getconf binary.
37364
38c78296
L
373652012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37366
37367 [BZ #14716]
37368 * string/test-memmem.c (check_result): New function.
37369 (do_one_test): Use it.
37370 (check1): New function.
37371 (test_main): Use it.
37372
d077f65f
MT
373732012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37374
37375 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37376
ced52c71
JM
373772012-10-18 Joseph Myers <joseph@codesourcery.com>
37378
37379 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37380 (_G_LSEEK64): Likewise.
37381 (_G_MMAP64): Likewise.
37382 (_G_FSTAT64): Likewise.
37383 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37384 (_G_LSEEK64): Likewise.
37385 (_G_MMAP64): Likewise.
37386 (_G_FSTAT64): Likewise.
37387 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37388 unconditional. Call __mmap64 directly.
37389 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37390 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37391 __lseek64 directly.
37392 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37393 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37394 __mmap64 directly.
37395 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37396 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37397 __lseek64 directly.
37398 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37399 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37400 __lseek64 directly.
37401 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37402 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37403 __lseek64 directly.
37404 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37405 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37406 __fxstat64 directly.
37407 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37408 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37409 unconditional.
37410 (freopen64) [!_G_OPEN64]: Remove conditional code.
37411 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37412 unconditional.
37413 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37414 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37415 unconditional.
37416 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37417 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37418 unconditional.
37419 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37420 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37421 unconditional.
37422 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37423 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37424 unconditional.
37425 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37426 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37427 unconditional.
37428 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37429 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37430 unconditional.
37431 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37432
b741de23
SP
374332012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37434
37435 [BZ #12140]
37436 * manual/memory.texi (Malloc Tunable Parameters): Add note
37437 about free list pointers overwriting some perturb bytes.
37438 Wording suggested by Roland McGrath.
37439
f9b9d9c9
JM
374402012-10-17 Joseph Myers <joseph@codesourcery.com>
37441
37442 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37443 (lgamma_test): Likewise.
37444 (tgamma_test): Likewise.
37445
172a631a
FW
374462012-10-16 Florian Weimer <fweimer@redhat.com>
37447
37448 [BZ #14700]
37449 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37450 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37451
e9f37252
MK
374522012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37453
37454 * NEWS: Mention BZ #14716.
37455 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37456 when removing AVAILABLE1_USES_J macro.
37457
d394eb74
L
374582012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37459
37460 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37461 (__bswap_64): __uint64_t for unsigned 64-bit int.
37462
ca38dc17
AS
374632012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37464
37465 * include/string.h (memmem): Declare libc hidden alias.
37466 * string/memmem.c (memmem): Define libc hidden alias.
37467 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37468 __read, __close instead of open, read, close.
37469
9a387d1f
L
374702012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37471
ac49ecaf
L
37472 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37473 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37474 global and hidden.
37475 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37476 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37477 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37478 Likewise.
37479 (__rawmemchr_sse2): Likewise.
37480 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37481 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37482 (__strchr_sse2): Likewise.
37483 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37484 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37485 (__strcasecmp_sse2): Likewise.
37486 (__strncasecmp_sse2): Likewise.
37487 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37488 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37489 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37490 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37491 (__strrchr_sse2): Likewise.
37492 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37493 ifunc-impl-list.c.
37494 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37495 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37496 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37497 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37498 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37499 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37500 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37501 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37502 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37503 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37504 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37505 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37506 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37507 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37508 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37509 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37510 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37511 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37512 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37513 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37514 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37515 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37516 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37517 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37518 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37519 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37520 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37521 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37522 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37523 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37524
b090e8ea
L
37525 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37526 global and hidden.
37527 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37528 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37529 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37530 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37531 Likewise.
37532 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37533 Likewise.
37534 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37535 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37536 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37537 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37538 ifunc-impl-list.c.
37539 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37540 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37541 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37542 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37543 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37544 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37545 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37546 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37547 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37548 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37549 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37550 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37551 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37552 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37553 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37554 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37555 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37556 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37557 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37558 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37559 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37560 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37561 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37562 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37563 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37564 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37565 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37566 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37567 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37568 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37569 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37570 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37571 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37572 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37573 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37574 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37575 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37576 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37577 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37578 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37579 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37580
11dd4af6
L
37581 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37582 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37583 * include/ifunc-impl-list.h: New file.
37584 * misc/ifunc-impl-list.c: Likewise.
37585 * misc/Makefile (routines): Add ifunc-impl-list.
37586 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37587 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
37588 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37589 TEST_NAME]: New variables.
11dd4af6
L
37590 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37591 are defined.
37592 (test_init): Call __libc_ifunc_impl_list to initialize
37593 func_list if TEST_IFUNC and TEST_NAME are defined.
37594
9a387d1f
L
37595 * string/Makefile (strop-tests): Add bcopy and bzero.
37596 * string/test-bcopy.c: New file.
37597 * string/test-bzero.c: Likewise.
37598 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37599 defined.
37600 * string/test-memset.c: Support bzero test if TEST_BZERO is
37601 defined.
37602 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37603 __libc_memmove.
37604 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37605 __libc_memset.
37606 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37607 of memset.
37608
472371b9
JM
376092012-10-10 Joseph Myers <joseph@codesourcery.com>
37610
1e4a9536
JM
37611 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37612 * configure: Regenerated.
37613
d173d12e
JM
37614 * Makeconfig (+link-static-before-libc): Don't include
37615 $(link-static-libc).
37616
472371b9
JM
37617 * libio/libio.h (_IO_pos_t): Remove.
37618
89a3ad0b
AO
376192012-10-10 Alexandre Oliva <aoliva@redhat.com>
37620
37621 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37622 McGrath.
37623
e7451425
AO
376242012-10-10 Alexandre Oliva <aoliva@redhat.com>
37625
37626 * crypt/crypt-entry.c: Include fips-private.h.
37627 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37628 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37629 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37630 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37631
4ba74a35
AO
376322012-10-10 Alexandre Oliva <aoliva@redhat.com>
37633
37634 * crypt/crypt-private.h: Include stdbool.h.
37635 (_ufc_setup_salt_r): Return bool.
37636 * crypt/crypt-entry.c: Include errno.h.
37637 (__crypt_r): Return NULL with EINVAL for bad salt.
37638 * crypt/crypt_util.c (bad_for_salt): New.
37639 (_ufc_setup_salt_r): Check that salt is long enough and within
37640 the specified alphabet.
37641 * crypt/badsalttest.c: New file.
37642 * crypt/Makefile (tests): Add it.
37643 ($(objpfx)badsalttest): New.
37644
f96f1242
MK
376452012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37646
37647 * NEWS: Add entry for BZ #14602.
37648
0e8e0c1c
JM
376492012-10-09 Joseph Myers <joseph@codesourcery.com>
37650
37651 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37652 type-generic.
37653 * math/libm-test.inc: Update comment listing what functions and
37654 macros are tested.
37655 (isgreater_test): New function.
37656 (isgreaterequal_test): Likewise.
37657 (isless_test): Likewise.
37658 (islessequal_test): Likewise.
37659 (islessgreater_test): Likewise.
37660 (isunordered_test): Likewise.
37661 (main): Call the new functions.
37662
273edc5e
RM
376632012-10-09 Roland McGrath <roland@hack.frob.com>
37664
b8493de0
RM
37665 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37666 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37667 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37668 * sysdeps/i386/configure: Regenerated.
37669 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37670 * sysdeps/mach/configure: Regenerated.
37671 * sysdeps/mach/hurd/configure: Regenerated.
37672 * sysdeps/powerpc/configure: Regenerated.
37673 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37674 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37675 * sysdeps/s390/s390-32/configure: Regenerated.
37676 * sysdeps/s390/s390-64/configure: Regenerated.
37677 * sysdeps/sh/configure: Regenerated.
37678 * sysdeps/sparc/configure: Regenerated.
37679 * sysdeps/unix/sysv/linux/configure: Regenerated.
37680 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37681 * sysdeps/x86_64/configure: Regenerated.
37682
273edc5e
RM
37683 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37684 defined. Don't check if MAP is NULL.
37685
c8450f70
JM
376862012-10-09 Joseph Myers <joseph@codesourcery.com>
37687
37688 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37689 (_G_stat64): Likewise.
37690 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37691 (_G_stat64): Likewise.
37692 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37693 instead of struct _G_stat64.
37694 * libio/fileops.c (mmap_remap_check): Likewise.
37695 (decide_maybe_mmap): Likewise.
37696 (_IO_new_file_seekoff): Likewise.
37697 (_IO_file_stat): Likewise.
37698 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37699 _G_off64_t.
37700 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37701 instead of struct _G_stat64.
37702 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37703
57e605ba
MK
377042012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37705
37706 [BZ #14602]
37707 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37708 Replace with ...
37709 (CHECK_EOL): New macro.
37710 (two_way_short_needle): Check beginning of haystack for EOL. Use
37711 CHECK_EOL.
37712 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37713 Replace with CHECK_EOL.
37714 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37715 Replace with CHECK_EOL.
37716
ef1bb361
JM
377172012-10-08 Joseph Myers <joseph@codesourcery.com>
37718
37719 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37720 type-generic.
37721 * math/libm-test.inc: Update comment listing what functions and
37722 macros are tested.
37723 (finite_test): New function.
37724 (isinf_test): Likewise.
37725 (isnan_test): Likewise.
37726 (fpclassify_test): Test subnormal input.
37727 (isfinite_test): Likewise.
37728 (isnormal_test): Likewise.
37729 (main): Call the new functions.
37730
55f11534
JN
377312012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37732
37733 [BZ #14660]
37734 * Makerules (%.dynsym): Force C locale when running
37735 $(OBJDUMP) --dynamic-syms.
37736
1ab29350
AS
377372012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37738
37739 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37740 <stdint.h>.
37741
f1ecb7ef
DM
377422012-10-06 David S. Miller <davem@davemloft.net>
37743
37744 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37745 upper 32-bits of the length value in %o2 since we use branch-on-register
37746 tests which consider the entire 64-bit register.
37747
5d41d91a
L
377482012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37749
37750 * string/test-strstr.c (check2): Add a test for page boundary.
37751
3baddb72
DM
377522012-10-05 David S. Miller <davem@davemloft.net>
37753
37754 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37755 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37756 file.
37757 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37758 sysdep_routines.
37759 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37760 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37761 and bzero when HWCAP_SPARC_CRYPTO is present.
37762
9cee5585
L
377632012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37764
d7e0dab9
L
37765 [BZ #14602]
37766 * string/test-strstr.c (check2): New function.
37767 (test_main): Call check2.
37768
03759f47
L
37769 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37770 and bug-strchr1.
37771 * string/bug-strcasestr1.c (do_test): Moved to ...
37772 * string/test-strcasestr.c (check1): Here. New function.
37773 (do_one_test): Break out result checking code into ...
37774 (check_result): This. New function.
37775 (do_one_test): Call check_result.
37776 (test_main): Call check1.
37777 * string/bug-strchr1.c (do_test): Moved to ...
37778 * string/test-strchr.c (check1): Here. New function.
37779 (do_one_test): Break out result checking code into ...
37780 (check_result): This. New function.
37781 (do_one_test): Call check_result.
37782 (test_main): Call check1.
37783 * string/bug-strstr1.c (main): Moved to ...
046f153e 37784 * string/test-strstr.c (check1): Here. New function.
03759f47
L
37785 (do_one_test): Break out result checking code into ...
37786 (check_result): This. New function.
37787 (do_one_test): Call check_result.
37788 (test_main): Call check1.
37789 * string/bug-strcasestr1.c: Removed.
37790 * string/bug-strchr1.c: Likewise.
37791 * string/bug-strstr1.c: Likewise.
37792
53cea63e
L
37793 * elf/Makefile (dl-routines): Add hwcaps.
37794 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37795 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37796 (_dl_important_hwcaps): Moved to ...
37797 * elf/dl-hwcaps.c: Here. New file.
37798 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37799
9cee5585 37800 [BZ #14557]
bb859b06
L
37801 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37802 if IS_IN_rtld isn't defined.
37803
9cee5585
L
37804 * elf/dl-support.c (_dl_sysinfo_map): New.
37805 Include "get-dynamic-info.h" and "setup-vdso.h".
37806 (_dl_non_dynamic_init): Call setup_vdso.
37807 * elf/dynamic-link.h: Don't include <assert.h>.
37808 (elf_get_dynamic_info): Moved to ...
37809 * elf/get-dynamic-info.h: Here. New file.
37810 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37811 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37812 * elf/setup-vdso.h: Here. New file.
37813 * elf/rtld.c: Include "setup-vdso.h".
37814 (dl_main): Call setup_vdso.
37815
23c31b76
JM
378162012-10-05 Joseph Myers <joseph@codesourcery.com>
37817
28234b07
JM
37818 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37819 creal in comment listing functions tested. List finite, isinf,
37820 isnan, isless, islessequal, isgreater, isgreaterequal,
37821 islessgreater, isunordered, lgamma_r and pow10 as functions and
37822 macros not tested. Mention which functions not tested are aliases
37823 for other functions. Fix typo. Note that signs of NaNs are not
37824 tested.
37825
23c31b76
JM
37826 * scripts/config.guess: Update from config.git.
37827 * scripts/config.sub: Likewise.
37828
9043e228
RM
378292012-10-04 Roland McGrath <roland@hack.frob.com>
37830
37831 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37832 * misc/madvise.c (madvise): Renamed to __madvise.
37833 Make madvise a weak alias.
37834 * include/sys/mman.h: Declare __madvise.
37835 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37836 * sysdeps/unix/syscalls.list
37837 (madvise): Make __madvise the strong name, and madvise a weak alias.
37838 * sysdeps/unix/sysv/linux/syscalls.list
37839 (madvise, mmap): Remove redundant entries.
37840 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37841 * malloc/malloc.c (mtrim): Likewise.
37842 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37843
f57f8055
RM
378442012-10-03 Roland McGrath <roland@hack.frob.com>
37845
37846 * sysdeps/mach/hurd/dl-cache.c: File removed.
37847 * config.h.in (USE_LDCONFIG): New #undef.
37848 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37849 * configure: Regenerated.
37850 * elf/Makefile (dl-routines): Add dl-cache only under
37851 [$(use-ldconfig) = yes].
37852 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37853 cache on [USE_LDCONFIG].
37854 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37855 [USE_LDCONFIG].
37856 * elf/rtld.c (dl_main): Likewise.
37857
5bb0c10a
PT
378582012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37859
37860 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37861 _SC_LEVEL4_CACHE_LINESIZE.
37862
010188c6
RM
378632012-10-03 Roland McGrath <roland@hack.frob.com>
37864
37865 * sysdeps/unix/bsd/confstr.h: File removed.
37866
b6c5ec07
AO
378672012-10-02 Alexandre Oliva <aoliva@redhat.com>
37868
37869 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37870 sys/sdt-config.h.
37871
408223d4
RM
378722012-10-02 Roland McGrath <roland@hack.frob.com>
37873
37874 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37875 Make 'mapoff' field ElfW(Off) rather than off_t.
37876
bb9510dc
DL
378772012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37878
fc997c6e
DL
37879 * nscd/Makefile: Remove nscd-cflags and all its users.
37880 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37881 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37882
bb9510dc
DL
37883 [BZ #10631]
37884 * malloc.c (malloc_printerr): Clarify error message.
37885
05699367
L
378862012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37887
37888 [BZ #14648]
37889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37890 Set bit_FMA_Usable if FMA is supported.
37891 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37892 macro.
37893 (bit_FMA4_Usable): Updated.
37894 (index_FMA_Usable): New macro.
37895 (CPUID_FMA): Likewise
37896 (HAS_FMA): Defined with bit_FMA_Usable.
37897
51367701
RM
378982012-10-01 Roland McGrath <roland@hack.frob.com>
37899
37900 * bits/types.h (__swblk_t): Type removed.
37901 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37902 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37903 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37904 (__SWBLK_T_TYPE): Likewise.
37905 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37906 (__SWBLK_T_TYPE): Likewise.
37907 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37908 (__SWBLK_T_TYPE): Likewise.
37909 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37910 (__SWBLK_T_TYPE): Likewise.
37911
4d57bf63 379122012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 37913 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
37914
37915 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37916 (xdr_mapname): Use YPMAXMAP as maxsize.
37917 (xdr_peername): Use YPMAXPEER as maxsize.
37918 (xdr_keydat): Use YPAXRECORD as maxsize.
37919 (xdr_valdat): Use YPMAXRECORD as maxsize.
37920
93c65d43
RM
379212012-10-01 Roland McGrath <roland@hack.frob.com>
37922
497a03d6
RM
37923 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37924
93c65d43
RM
37925 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37926 * csu/init-first.c: ... here.
37927 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37928 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37929 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37930 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37931 * sysdeps/i386/init-first.c: File removed.
37932 * sysdeps/sh/init-first.c: File removed.
37933
bec749fd
JM
379342012-10-01 Joseph Myers <joseph@codesourcery.com>
37935
37936 [BZ #14645]
37937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37938 if x * y might underflow to zero and z is zero.
37939 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37940 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37941 * math/libm-test.inc (min_subnorm_value): New variable.
37942 (fma_test): Add more tests.
37943 (fma_test_towardzero): Likewise.
37944 (fma_test_downward): Likewise
37945 (fma_test_upward): Likewise.
37946 (initialize): Set min_subnorm_value.
37947
8ec5b013
JM
379482012-09-29 Joseph Myers <joseph@codesourcery.com>
37949
37950 [BZ #14638]
37951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37952 0 + 0.
37953 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37954 mode for addition resulting in exact zero.
37955 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37956 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37957 exact 0 + 0.
37958 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37959 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37960 * math/libm-test.inc (fma_test): Add more tests.
37961 (fma_test_towardzero): New function.
37962 (fma_test_downward): Likewise.
37963 (fma_test_upward): Likewise.
37964 (main): Call the new functions.
37965
b1fa802e
DM
379662012-09-28 David S. Miller <davem@davemloft.net>
37967
37968 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37969
d3b9fd9e
RM
379702012-09-28 Roland McGrath <roland@hack.frob.com>
37971
ea4d37b3
RM
37972 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37973 instead of SIGALRM.
37974
ac51c949
RM
37975 * sysdeps/gnu/_G_config.h: Moved to ...
37976 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37977 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37978 * sysdeps/generic/_G_config.h: ... here.
37979
28c195f7
RM
37980 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37981
848917f9
RM
37982 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37983
6bacf05b
RM
37984 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37985 Conditionalize target on [libnss_test1.so-version].
37986
91363dbb
RM
37987 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37988
cc87f7d8
RM
37989 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37990 (elfobjdir): Move out of conditionals.
37991
b1c608fe
RM
37992 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37993 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37994 (__nss_lookup_function): Conditionalize label remove_from_tree on
37995 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 37996
1d9a6d96
DM
379972012-09-28 David S. Miller <davem@davemloft.net>
37998
37999 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38000 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38001 file.
38002 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38003 sysdep_routines.
38004 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38006 when HWCAP_SPARC_CRYPTO is present.
38007
72581615
PT
380082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38009
38010 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38011
715a900c
JL
380122012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38013
38014 [BZ #6530]
38015 * stdio-common/vfprintf.c (process_string_arg): Revert
38016 2000-07-22 change.
38017
380182011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38019
38020 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38021 for testcase.
38022 * stdio-common/tst-sprintf.c: Include <locale.h>
38023 (main): Test sprintf's handling of incomplete multibyte
38024 characters.
38025
9bac1d86
L
380262012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38027
38028 * elf/dl-runtime.c (VERSYMIDX): Removed.
38029 * elf/dl-version.c (VERSYMIDX): Likewise.
38030 * elf/do-rel.h (VERSYMIDX): Likewise.
38031 (VALIDX): Likewise.
38032 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38033 * elf/rtld.c (VALIDX): Likewise.
38034 (ADDRIDX): Likewise.
9bac1d86
L
38035 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38036 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38037 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
38038 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38039 (VALIDX): Likewise.
38040 (ADDRIDX): Likewise.
9bac1d86 38041
b31606c0
PT
380422012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38043
38044 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38045
11541177
JL
380462012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38047
38048 [BZ #11438]
38049 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38050 to global scope.
38051 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38052 addresses are in the same scope as 192.0.2/24.
38053 * posix/gai.conf: Document new scope table defaults.
38054
adb26fae
SP
380552012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38056
38057 [BZ #5298]
38058 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38059 for ftell. Compute offsets from write pointers instead.
38060 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38061
4573c6b0
SP
380622012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38063
38064 [BZ #14543]
38065 * libio/Makefile (tests): New test case tst-fseek.
38066 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38067 combination works in wide mode.
38068 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38069 state when the external buffer state changes.
38070
aa9bbfe6
DM
380712012-09-27 David S. Miller <davem@davemloft.net>
38072
38073 [BZ #14376]
38074 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38075 pass reloc->r_addend in as the 'high' argument to
38076 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38077
784421e7
DM
38078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38079
c39bc8b8
PT
380802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38081
38082 * rt/tst-aio2.c: Include <pthread.h>.
38083 * rt/tst-aio3.c: Likewise.
38084
1ccc2399
SE
380852012-09-27 Steve Ellcey <sellcey@mips.com>
38086
38087 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38088
31ed4153
L
380892012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38090
25f5f885
L
38091 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38092 contents on [SHARED].
31ed4153 38093
b7bfe116
MP
380942012-09-26 Marek Polacek <polacek@redhat.com>
38095
38096 [BZ #14530]
38097 [BZ #13741]
38098 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38099 for C++ and GCC <4.3 as well as for non GCC compilers.
38100
43c4edba
MT
381012012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38102
38103 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38104
6a1bf82f
RM
381052012-09-25 Roland McGrath <roland@hack.frob.com>
38106
38107 * Makefile.in (all, install): Declare with .PHONY.
38108 Reported by Michael Hope <michael.hope@linaro.org>.
38109
8ad11b9a
TMQMF
381102012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38111
38112 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38113 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38114 system header.
38115 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38116 Likewise.
38117 (sydep_routines): Add the new and the internal functions.
38118 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38119 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38121 (GLIBC_2.17): Add the new function.
38122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38123 (GLIBC_2.17): Likewise.
38124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38125 (GLIBC_2.17): Likewise.
38126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38127 (GLIBC_2.17): Likewise.
38128 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38129
7e2fca8d
AM
381302012-09-25 Alan Modra <amodra@gmail.com>
38131
38132 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38133 Add release barrier before setting once_control to say
38134 initialisation is done. Add hints on lwarx. Use macro in
38135 place of isync.
38136 (clear_once_control): Add release barrier.
38137
b87c4b24
JM
381382012-09-25 Joseph Myers <joseph@codesourcery.com>
38139
d032e0d2
JM
38140 [BZ #13629]
38141 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38142 specially.
38143 * math/s_clog10.c (__clog10): Likewise.
38144 * math/s_clog10f.c (__clog10f): Likewise.
38145 * math/s_clog10l.c (__clog10l): Likewise.
38146 * math/s_clogf.c (__clogf): Likewise.
38147 * math/s_clogl.c (__clogl): Likewise.
38148 * math/Makefile (libm-calls): Add x2y2m1.
38149 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38150 (__x2y2m1): Likewise.
38151 (__x2y2m1l): Likewise.
38152 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38153 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38154 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38155 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38156 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38157 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38158 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38159 * sysdeps/i386/fpu/libm-test-ulps: Update.
38160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38161
b87c4b24
JM
38162 [BZ #14621]
38163 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38164 int as type of variable DEPTH.
38165 (glob): Use size_t instead of int as type of variables NEWCOUNT
38166 and OLD_PATHC.
38167
6d3bf199
LD
381682012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38169
22bf5c17
LD
38170 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38171 Add s_sincosf-sse2.
38172 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38173 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38174 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38175 macros for using routine as __sincosf_ia32.
38176 Use macro for function declaration and weak_alias.
38177 * sysdeps/i386/fpu/libm-test-ulps: Update.
38178
38179 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38181
38182 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
38183 subnormal argument.
38184 * math/s_cexpf.c (__cexpf): Likewise.
38185 * math/s_csinf.c (__csinf): Likewise.
38186 * math/s_csinhf.c (__csinhf): Likewise.
38187 * math/s_ctanf.c (__ctanf): Likewise.
38188 * math/s_ctanhf.c (__ctanhf): Likewise.
38189 * math/s_ccosh.c (__ccoshf): Likewise.
38190 * math/s_cexp.c (__cexpl): Likewise.
38191 * math/s_csin.c (__csin): Likewise.
38192 * math/s_csinh.c (__csinh): Likewise.
38193 * math/s_ctan.c (__ctan): Likewise.
38194 * math/s_ctanh.c (ctanh): Likewise.
38195 * math/s_ccoshl.c (__ccoshl): Likewise.
38196 * math/s_cexpl.c (__cexpl): Likewise.
38197 * math/s_csinl.c (__csinl): Likewise.
38198 * math/s_csinhl.c (__csinhl): Likewise.
38199 * math/s_ctanl.c (__ctanl): Likewise.
38200 * math/s_ctanhl.c (__ctanhl): Likewise.
38201
203e5603
JM
382022012-09-25 Joseph Myers <joseph@codesourcery.com>
38203
38204 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38205 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38206 (_IO_off_t): Define to __off_t, not _G_off_t.
38207 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38208 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38209 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38210 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38211 type of __dummy and __dummy2 fields.
38212 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38213 (_G_ssize_t): Likewise.
38214 (_G_off_t): Likewise.
38215 (_G_pid_t): Likewise.
38216 (_G_uid_t): Likewise.
38217 (_G_wchar_t): Likewise.
38218 (_G_wint_t): Likewise.
38219 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38220 (_G_ssize_t): Likewise.
38221 (_G_off_t): Likewise.
38222 (_G_pid_t): Likewise.
38223 (_G_uid_t): Likewise.
38224 (_G_wchar_t): Likewise.
38225 (_G_wint_t): Likewise.
38226 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38227 (_G_ssize_t): Likewise.
38228 (_G_off_t): Likewise.
38229 (_G_pid_t): Likewise.
38230 (_G_uid_t): Likewise.
38231 (_G_wchar_t): Likewise.
38232 (_G_wint_t): Likewise.
38233
9fab36eb
SP
382342012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38235
38236 * malloc/arena.c: Include malloc-sysdep.h.
38237 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38238 is sufficient to shrink the heap or an unmap is needed.
38239 * sysdeps/generic/malloc-sysdep.h: New file. Define
38240 new function check_may_shrink_heap.
38241 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38242 new function check_may_shrink_heap.
38243
2b4f00d1
SP
382442012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38245
38246 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38247 comments.
38248
9a9028b1
DL
382492012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38250
57c69bef
DL
38251 * catgets/test-gencat.sh: Add "set -e".
38252 * elf/tst-pathopt.sh: Likewise.
38253 * grp/tst_fgetgrent.sh: Likewise.
38254 * iconvdata/run-iconv-test.sh: Likewise.
38255 * intl/tst-gettext.sh: Likewise.
38256 * intl/tst-gettext2.sh: Likewise.
38257 * intl/tst-gettext4.sh: Likewise.
38258 * intl/tst-gettext6.sh: Likewise.
38259 * intl/tst-translit.sh: Likewise.
38260 * io/ftwtest-sh: Likewise.
38261 * libio/test-freopen.sh: Likewise.
38262 * malloc/tst-mtrace.sh: Likewise.
38263 * posix/globtest.sh: Likewise.
38264 * posix/tst-getconf.sh: Likewise.
38265 * posix/wordexp-tst.sh: Likewise.
38266 * stdio-common/tst-printf.sh: Likewise.
38267 * stdio-common/tst-unbputc.sh: Likewise.
38268 * stdlib/tst-fmtmsg.sh: Likewise.
38269 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38270 * catgets/Makefile: Do not specify -e option when running
38271 testsuite shell scripts.
38272 * elf/Makefile: Likewise.
38273 * grp/Makefile: Likewise.
38274 * iconvdata/Makefile: Likewise.
38275 * intl/Makefile: Likewise.
38276 * io/Makefile: Likewise.
38277 * libio/Makefile: Likewise.
38278 * malloc/Makefile: Likewise.
38279 * posix/Makefile: Likewise.
38280 * stdio-common/Makefile: Likewise.
38281 * stdlib/Makefile: Likewise.
38282 * sysdeps/x86_64/Makefile: Likewise.
38283
9a9028b1
DL
38284 * io/ftwtest-sh: Add copyright header.
38285 * posix/globtest.sh: Likewise.
38286 * posix/tst-getconf.sh: Likewise.
38287 * posix/wordexp-tst.sh: Likewise.
38288 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38289
ced6f16e
L
382902012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38291
94b32c39
L
38292 [BZ #13679]
38293 * Makeconfig (+link): Defined as $(+link-static) if
38294 $(build-shared) isn't yes.
38295 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38296 isn't yes.
38297 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38298
189e935b
L
38299 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38300
ced6f16e
L
38301 [BZ #14562]
38302 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38303 new chunk size with MALLOC_ALIGN_MASK.
38304
a9f8e53a
JM
383052012-09-24 Joseph Myers <joseph@codesourcery.com>
38306
38307 [BZ #5044]
38308 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38309 <rounding-mode.h>.
38310 (__printf_fphex): Determine rounding using get_rounding_mode and
38311 round_away.
38312 * stdio-common/tst-printf-round.c (struct hex_test): New
38313 structure.
38314 (hex_tests): New variable.
38315 (test_hex_in_one_mode): New function.
38316 (do_test): Also run tests for hex float output.
38317
43153109
JM
383182012-09-21 Joseph Myers <joseph@codesourcery.com>
38319
38320 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38321 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38322 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38323 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38324 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38325 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38326 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38327 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38328
8a26625d
JM
383292012-09-20 Joseph Myers <joseph@codesourcery.com>
38330
38331 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38332 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38333 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38334 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38335
f3fd569c
DL
383362012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38337
38338 [BZ #14579]
38339 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38340 mode only.
38341 * elf/tst-rtld-load-self.sh: New test.
38342 * elf/Makefile: Run it.
38343
63bbedd4
JM
383442012-09-18 Joseph Myers <joseph@codesourcery.com>
38345
38346 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38347 (tst-writev-ENV): Remove.
38348 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38349
626f8b6a
CM
383502012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38351
38352 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38353
b7aaa4d6
JM
383542012-09-17 Joseph Myers <joseph@codesourcery.com>
38355
38356 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38357 unconditional.
38358 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38359 Likewise.
38360 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38361 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38362 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38363 Likewise.
38364
65513990
L
383652012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38366
38367 [BZ #14587]
38368 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38369 * config.make.in (have-cpp-asm-debuginfo): Removed.
38370 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38371 * configure: Regenerated.
38372
784761be
JM
383732012-09-14 Joseph Myers <joseph@codesourcery.com>
38374
38375 [BZ #5044]
38376 * stdio-common/printf_fp.c: Include <stdbool.h> and
38377 <rounding-mode.h>.
38378 (___printf_fp): Determine rounding using get_rounding_mode and
38379 round_away.
38380 * stdio-common/tst-printf-round.c: New file.
38381 * stdio-common/Makefile (tests): Add tst-printf-round.
38382 (link-libm): New variable.
38383 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38384
9503345f
L
383852012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38386
38387 [BZ #14576]
38388 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38389 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38390 Likewise.
38391 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38392 Likewise.
38393
ad35fc00
JM
383942012-09-13 Joseph Myers <joseph@codesourcery.com>
38395
38396 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38397 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38398 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38399 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38400
6c9b0f68
JM
384012012-09-12 Joseph Myers <joseph@codesourcery.com>
38402
38403 [BZ #14518]
38404 * include/rounding-mode.h: New file.
38405 * sysdeps/generic/get-rounding-mode.h: Likewise.
38406 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38407 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38408 (MAX_VALUE): New macro.
38409 (MIN_VALUE): Likewise.
38410 (overflow_value): New function.
38411 (underflow_value): Likewise.
38412 (round_and_return): Use overflow_value and underflow_value to
38413 determine return values in overflow and underflow cases. Use
38414 round_away to determine rounding depending on rounding mode.
38415 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38416 determine return values in overflow and underflow cases.
38417 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38418 (struct test_results): New structure.
38419 (struct test): Use struct test_results to store expected results
38420 for all rounding modes.
38421 (TEST): Include expected results for all rounding modes.
38422 (test_in_one_mode): New function.
38423 (do_test): Use test_in_one_mode to compute and check results.
38424 Check results for all rounding modes.
38425 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38426 $(link-libm).
38427
19fcedd5
AM
384282012-12-09 Allan McRae <allan@archlinux.org>
38429
1e9d84cd 38430 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 38431
8bbfd2f1
JM
384322012-09-11 Joseph Myers <joseph@codesourcery.com>
38433
38434 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38435 (_G_int32_t): Likewise.
38436 (_G_uint16_t): Likewise.
38437 (_G_uint32_t): Likewise.
38438 (_G_HAVE_BOOL): Likewise.
38439 (_G_HAVE_ATEXIT): Likewise.
38440 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38441 (_G_HAVE_IO_FILE_OPEN): Likewise.
38442 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38443 (_G_int32_t): Likewise.
38444 (_G_uint16_t): Likewise.
38445 (_G_uint32_t): Likewise.
38446 (_G_HAVE_BOOL): Likewise.
38447 (_G_HAVE_ATEXIT): Likewise.
38448 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38449 (_G_HAVE_IO_FILE_OPEN): Likewise.
38450 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38451 (_G_int32_t): Likewise.
38452 (_G_uint16_t): Likewise.
38453 (_G_uint32_t): Likewise.
38454 (_G_HAVE_BOOL): Likewise.
38455 (_G_HAVE_ATEXIT): Likewise.
38456 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38457 (_G_HAVE_IO_FILE_OPEN): Likewise.
38458
b1dc5912
L
384592012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38460
38461 * csu/libc-tls.c: Update copyright years.
38462
0e886ef9
JM
384632012-09-10 Joseph Myers <joseph@codesourcery.com>
38464
28361c5e
JM
38465 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38466 [!_G_USING_THUNKS]: Remove conditional code.
38467 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38468 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38469
0e886ef9
JM
38470 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38471 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38472 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38473 (_G_VTABLE_LABEL_PREFIX): Likewise.
38474 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38475 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38476 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38477 (_G_VTABLE_LABEL_PREFIX): Likewise.
38478 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38479 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38480 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38481 (_G_VTABLE_LABEL_PREFIX): Likewise.
38482 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38483
bcba7aa2
L
384842012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38485
38486 * libio/Makefile: Include ../Makeconfig before tests.
38487 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38488 only if $(build-shared) is yes.
38489
06585ee8
L
38490 * iconv/gconv_db.c: Update copyright years.
38491
80ccd52c
LD
384922012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38493
38494 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38495 unwind info if defined PIC. Fix special cases description.
38496 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38497
38498 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38499 DP_HI_MASK entry.
38500 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38501
691bc9c1
L
385022012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38503
3d9b46b3
L
38504 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38505
de2139a9
L
38506 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38507 is NULL.
38508
5ca78dd0
L
38509 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38510 (LDLIBS-tst-chk4): This.
38511 (LDFLAGS-tst-chk5): Renamed to ...
38512 (LDLIBS-tst-chk5): This.
38513 (LDFLAGS-tst-chk6): Renamed to ...
38514 (LDLIBS-tst-chk6): This.
38515 (LDFLAGS-tst-lfschk4): Renamed to ...
38516 (LDLIBS-tst-lfschk4): This.
38517 (LDFLAGS-tst-lfschk5): Renamed to ...
38518 (LDLIBS-tst-lfschk5): This.
38519 (LDFLAGS-tst-lfschk6): Renamed to ...
38520 (LDLIBS-tst-lfschk6): This.
38521
691bc9c1
L
38522 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38523 on $(common-objpfx)soversions.mk.
38524
65cafb1c
JM
385252012-09-07 Joseph Myers <joseph@codesourcery.com>
38526
38527 [BZ #10014]
38528 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38529 example host name.
38530
c78ab094
SP
385312012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38532
38533 * malloc/arena.c (arena_get_retry): New function that gets
38534 another arena for the caller to try its request on.
38535 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38536 current arena cannot fulfill the request.
38537 (__libc_memalign): Likewise.
38538 (__libc_memalign): Likewise.
38539 (__libc_pvalloc): Likewise.
38540 (__libc_calloc): Likewise.
38541
01f49f59
JT
385422012-09-05 John Tobey <john.tobey@gmail.com>
38543
38544 [BZ #13542]
38545 * manual/arith.texi (Operations on Complex): Fix description
38546 of carg branch cut.
38547
4c23fed5
JM
385482012-09-06 Joseph Myers <joseph@codesourcery.com>
38549
1d3c8572
JM
38550 [BZ #10014]
38551 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38552 host name.
38553
4c23fed5
JM
38554 [BZ #10038]
38555 * manual/memory.texi (Memory): Make order of menu items match
38556 order of sections.
38557
04570aaa
L
385582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38559
38560 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38561 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38562 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38563
b80af2f4
L
385642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38565
38566 * csu/libc-tls.c (static_dtv): Renamed to ...
38567 (_dl_static_dtv): This. Make it global.
38568 (_dl_initial_dtv): Removed.
38569 (__libc_setup_tls): Updated.
38570 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38571 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38572 DL_INITIAL_DTV.
38573
2abe9f15
PM
385742012-09-06 Petr Machata <pmachata@redhat.com>
38575
38576 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38577 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38578 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38579 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38580
0948c3af
L
385812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38582
38583 [BZ #14545]
38584 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38585 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38586 freeing dtv[-1].
38587
a5055ad1
L
385882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38589
38590 [BZ #14544]
38591 * Makeconfig (link-static-before-libc): Replace $(+prector)
38592 with $(+prectorT).
38593 (link-static-after-libc): Replace $(+postctor) with
38594 $(+postctorT).
38595 (link-bounded): Replace $(+prector)/$(+postctor) with
38596 $(+prectorT)/$(+postctorT).
38597 (+prectorT): New macro.
38598 (+postctorT): Likewise.
38599
ed8c2ecd
JM
386002012-09-06 Joseph Myers <joseph@codesourcery.com>
38601
38602 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38603 (round_str): Handle values above the maximum for IBM long double
38604 as inexact.
38605 * stdlib/tst-strtod-round.c (tests): Regenerated.
38606
14c996c8
AK
386072012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38608
38609 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38610 assembler flag.
38611 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38612 zarch_nohighgprs around the zarch optimized routines.
38613 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38614 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38615 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38616 for zarch.
38617
430d6ce6
DM
386182012-09-05 David S. Miller <davem@davemloft.net>
38619
38620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38621
57f41c40
AS
38622 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38623 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
38624 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38625 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38626 entries.
38627
24d4e01b
AO
386282012-09-05 Alexandre Oliva <aoliva@redhat.com>
38629
38630 * malloc/arena.c: Fold copyright years.
38631 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38632
61d58174
AO
386332012-09-05 Alexandre Oliva <aoliva@redhat.com>
38634
38635 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38636
20196a5e
AO
386372012-09-05 Alexandre Oliva <aoliva@redhat.com>
38638
38639 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38640
5c447383
AO
386412012-09-05 Alexandre Oliva <aoliva@redhat.com>
38642
38643 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38644 change internal state upon failure.
38645
fad64255
AO
386462012-09-05 Alexandre Oliva <aoliva@redhat.com>
38647
38648 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38649 * malloc/memusage.c (mmap): Likewise.
38650 (mmap64, mremap): Likewise. Adjust name in comment.
38651
1ffb8c90
SP
386522012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38653
38654 * libio/fileops.c: Fix typos in comments.
38655 * libio/oldfileops.c: Likewise.
38656 * libio/wfileops.c: Likewise.
38657
6ef9cc37
SP
386582012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38659
38660 [BZ #1349]
38661 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38662 (tst-malloc-usable-ENV): Set environment for test case.
38663 * malloc/hooks.c (malloc_check_get_size): New function to get
38664 requested size.
38665 * malloc/malloc.c (musable): Use malloc_check_get_size.
38666 * malloc/tst-malloc-usable.c: New test case.
38667
4d038ae3
AS
386682012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38669
38670 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38671
c4e85184
AM
386722012-09-05 Allan McRae <allan@archlinux.org>
38673
b9dafc56 38674 [BZ #13966]
c4e85184
AM
38675 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38676 determine header location.
38677 * configure: Regenerated.
38678
e1343020
AS
386792012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38680
38681 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38682 float format.
38683 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
38684 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38685 format.
e1343020
AS
38686 (test): Regenerate.
38687
0a9f1987
DM
386882012-09-04 David S. Miller <davem@davemloft.net>
38689
38690 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38691 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38692 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38693
29237804
FW
386942012-09-04 Florian Weimer <fweimer@redhat.com>
38695
38696 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38697 failures.
38698
edb3cb88
FW
38699 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38700
60160d83
JM
387012012-09-04 Joseph Myers <joseph@codesourcery.com>
38702
38703 [BZ #9914]
38704 * libio/iogetdelim.c: Include <limits.h>.
38705 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38706 + len + 1 would overflow.
38707
bcd6c8dc
AJ
387082012-09-03 Andreas Jaeger <aj@suse.de>
38709
38710 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38711 * sysdeps/i386/fpu/libm-test-ulps: Update.
38712
4ffffbd2
LD
387132012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38714
38715 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38716 Add s_sinf-sse2, s_conf-sse2.
38717
38718 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38719 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38720 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38721 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38722
38723 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38724 for using routine as __sinf_ia32.
38725 Use macro for function declaration and weak_alias.
38726 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38727 for using routine as __cosf_ia32.
38728 Use macro for function declaration and weak_alias.
38729
38730 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38731 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38732
38733 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38734 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38736
38737 * math/libm-test.inc (cos_test): Add more test cases.
38738 (sin_test): Likewise.
38739 (sincos_test): Likewise.
38740
511fa286
AK
387412012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38742
38743 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38744 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38745 hidden.
38746 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38747
5f30cfec
L
387482012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38749
38750 [BZ #14538]
38751 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38752 first element of the GOT.
38753 (elf_machine_load_address): Return the difference between
38754 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38755
0786794f
AM
387562012-09-01 Allan McRae <allan@archlinux.org>
38757
5f30cfec
L
38758 [BZ #13412]
38759 * configure.in (AWK): Require gawk version 3.0 or later.
38760 * configure: Regenerated.
0786794f 38761
26889eac
JM
387622012-09-01 Joseph Myers <joseph@codesourcery.com>
38763
38764 * sysdeps/unix/sysv/linux/kernel-features.h
38765 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38766 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38767 [__NR_clock_getres]: Make code unconditional.
38768 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38769 (clock_getcpuclockid): Remove code left unreachable by removal of
38770 conditionals.
38771 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38772 code unconditional.
38773 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38774 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38775 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38776 Make code unconditional.
38777 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38778 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38779 * sysdeps/unix/sysv/linux/clock_settime.c
38780 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38781 conditional code.
38782 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38783 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38784
d22e28b0
L
387852012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38786
38787 [BZ #14476]
38788 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38789 scripts/test-installation.pl.
38790
38791 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38792 and $ld_so_version if it is set.
38793
050af9c4
SP
387942012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38795
38796 [BZ #14516]
38797 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38798 failure if reading from procfs failed.
38799 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38800
ad845c0b
JM
388012012-08-27 Joseph Myers <joseph@codesourcery.com>
38802
38803 * sysdeps/unix/sysv/linux/kernel-features.h
38804 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38805 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38806 Remove conditional code.
38807 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38808 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38809 Remove conditional code.
38810 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38811 * sysdeps/unix/sysv/linux/i386/fxstat.c
38812 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38813 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38814 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38815 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38816 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38817 * sysdeps/unix/sysv/linux/i386/lxstat.c
38818 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38819 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38820 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38821 Remove conditional code.
38822 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38823 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38824 Remove conditional code.
38825 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38826 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38827 <kernel-features.h>.
38828 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38829 Remove.
38830 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38831 Remove conditional code.
38832 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38833 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38834 Remove conditional.
38835
5dbf56af
MF
388362012-08-27 Mike Frysinger <vapier@gentoo.org>
38837
38838 [BZ #5400]
38839 * NEWS: Add fixed bug number.
38840
d6e70f43
JM
388412012-08-27 Joseph Myers <joseph@codesourcery.com>
38842
7efb4737
JM
38843 [BZ #14519]
38844 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38845 underflowing exponent in case of negative sign.
38846 * stdlib/tst-strtod-round-data: Add more tests.
38847 * stdlib/tst-strtod-round.c (tests): Regenerated.
38848
af92131a
JM
38849 [BZ #3479]
38850 * stdlib/strtod_l.c (NDIG): Remove.
38851 (HEXNDIG): Likewise.
38852 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38853 smallest representable value.
38854 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38855 lie within an exact representation of 1/2 ulp of the result.
38856 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38857 unconditionally.
38858 (TENS_P9_IDX): Define unconditionally.
38859 (TENS_P9_SIZE): Likewise.
38860 (TENS_P10_IDX): Likewise.
38861 (TENS_P10_SIZE): Likewise.
38862 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38863 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38864 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38865 entries for 10^2^13 and 10^2^14.
38866 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38867 (TENS_P13_IDX): Define.
38868 (TENS_P13_SIZE): Likewise.
38869 (TENS_P14_IDX): Likewise.
38870 (TENS_P14_SIZE): Likewise.
38871 (_fpioconst_pow10): Change array size to
38872 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38873 unconditional.
38874 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38875 1024]: Add entries for 10^2^13 and 10^2^14.
38876 [LAST_POW10 > _LAST_POW10]: Remove #error.
38877 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38878 (_fpioconst_pow10): Change array size to
38879 FPIOCONST_POW10_ARRAY_SIZE.
38880 * stdlib/gen-fpioconst.c: New file.
38881 * stdlib/gen-tst-strtod-round.c: Likewise.
38882 * stdlib/tst-strtod-round-data: Likewise.
38883 * stdlib/tst-strtod-round.c: Likewise.
38884 * stdlib/Makefile (tests): Add tst-strtod-round.
38885
d6e70f43
JM
38886 [BZ #14459]
38887 * stdlib/strtod_l.c: Include <stdint.h>.
38888 (NDEBUG): Do not define.
38889 (round_and_return): Change EXPONENT parameter to type intmax_t.
38890 Rearrange calculations to avoid internal overflow possibilities.
38891 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38892 Rearrange calculations to avoid internal overflow possibilities.
38893 Assert that number fits inside MPNSIZE limbs.
38894 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38895 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38896 calculations and add assertions to avoid internal overflow
38897 possibilities. Add casts to avoid signed/unsigned operations.
38898 * stdlib/tst-strtod-overflow.c: New file.
38899 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38900
1f529f7d
MP
389012012-08-25 Marek Polacek <polacek@redhat.com>
38902
38903 * time/time.h: Fix some typos in comments.
38904
59a629f1
RM
389052012-08-23 Roland McGrath <roland@hack.frob.com>
38906
38907 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38908 * posix/tst-rfc3484-2.c: Likewise.
38909 * posix/tst-rfc3484-3.c: Likewise.
38910
d3bafbc9
SM
389112012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38912
38913 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38914 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38915
4efcc022
JM
389162012-08-23 Joseph Myers <joseph@codesourcery.com>
38917
38918 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38919 #include of fxstatat64.c.
38920
3cc3ef96
RM
389212012-08-22 Roland McGrath <roland@hack.frob.com>
38922
f04e2132
RM
38923 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38924 * shadow/getspent_r.c: Likewise.
38925 * shadow/getspnam.c: Likewise.
38926 * shadow/getspnam_r.c: Likewise.
38927 * gshadow/getsgent.c: Likewise.
38928 * gshadow/getsgent_r.c: Likewise.
38929 * gshadow/getsgnam.c: Likewise.
38930 * gshadow/getsgnam_r.c: Likewise.
38931 * inet/getnetbyad.c: Likewise.
38932 * inet/getnetbyad_r.c: Likewise.
38933 * inet/getnetbynm.c: Likewise.
38934 * inet/getnetbynm_r.c: Likewise.
38935 * inet/getnetent.c: Likewise.
38936 * inet/getnetent_r.c: Likewise.
38937 * inet/getproto.c: Likewise.
38938 * inet/getproto_r.c: Likewise.
38939 * inet/getprtent.c: Likewise.
38940 * inet/getprtent_r.c: Likewise.
38941 * inet/getprtname.c: Likewise.
38942 * inet/getprtname_r.c: Likewise.
38943 * inet/getrpcbyname.c: Likewise.
38944 * inet/getrpcbyname_r.c: Likewise.
38945 * inet/getrpcbynumber.c: Likewise.
38946 * inet/getrpcbynumber_r.c: Likewise.
38947 * inet/getrpcent.c: Likewise.
38948 * inet/getrpcent_r.c: Likewise.
38949 * inet/getaliasent.c: Likewise.
38950 * inet/getaliasent_r.c: Likewise.
38951 * inet/getaliasname.c: Likewise.
38952 * inet/getaliasname_r.c: Likewise.
38953 * nscd/getgrgid_r.c: Likewise.
38954 * nscd/getgrnam_r.c: Likewise.
38955 * nscd/gethstbyad_r.c: Likewise.
38956 * nscd/gethstbynm3_r.c: Likewise.
38957 * nscd/getpwnam_r.c: Likewise.
38958 * nscd/getpwuid_r.c: Likewise.
38959 * nscd/getsrvbynm_r.c: Likewise.
38960 * nscd/getsrvbypt_r.c: Likewise.
38961 * nscd/gai.c: Likewise.
38962
c53d909c
RM
38963 * configure.in (build_nscd): New substituted variable, set
38964 by --disable-build-nscd and defaults to $use_nscd.
38965 * configure: Regenerated.
38966 * config.make.in (build-nscd): New substituted variable.
38967 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38968 Change conditional to require [$(build-nscd) = yes] as well.
38969 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38970
3cc3ef96
RM
38971 [BZ# 13696]
38972 * configure.in (use_nscd): New substituted variable, set by
38973 --disable-nscd. If enabled, define USE_NSCD.
38974 * configure: Regenerated.
38975 * config.h.in: Add USE_NSCD.
38976 * config.make.in (use-nscd): New substituted variable.
38977 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38978 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38979 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38980 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38981 (CFLAGS-getgrnam_r.c): Likewise.
38982 (CFLAGS-initgroups.c): Likewise.
38983 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38984 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38985 Variables removed.
38986 * inet/getnetgrent_r.c
38987 (nscd_setnetgrent): New function, broken out of ...
38988 (setnetgrent): ... here. Call it.
38989 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38990 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38991 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38992 * nscd/Makefile (routines, aux): Move definitions after include of
38993 Makeconfig. Conditionalize on [$(use-nscd) != no].
38994 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38995 Conditionalize on [USE_NSCD].
38996 (is_nscd, nscd_init_cb): Likewise.
38997 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38998 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38999 * nss/nss_db/db-init.c: Likewise.
39000 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39001 [USE_NSCD].
39002 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39003 (make_request): Use it.
39004 (cache_valid_p): New function.
39005 (__check_pf): Use it.
39006 * NEWS: Add item for --disable-nscd.
39007
07e51550
DL
390082012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39009
39010 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39011 to support sed >= 4.2.1-20-ga9bf076.
39012 * configure: Regenerated.
39013
35a5b08b
RM
390142012-08-22 Roland McGrath <roland@hack.frob.com>
39015
39016 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39017 Conditionalize whole body on [IREL].
39018
8479f23a
JL
390192012-08-22 Jeff Law <law@redhat.com>
39020
39021 [BZ #14505]
39022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39023 if the family is PF_UNSPEC.
39024
48da0b21
MF
390252012-08-22 Mike Frysinger <vapier@gentoo.org>
39026
39027 * Makerules (lib-version): Rename from V.
39028 (install-lib-nosubdir): Change V to lib-version.
39029
15d0da8c
WS
390302012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39031
39032 [BZ #14252]
39033 * powerpc32/power6/wcschr.c: New file.
39034 * powerpc32/power6/wcscpy.c: New file.
39035 * powerpc32/power6/wcsrchr.c: New file.
39036 * powerpc64/power6/wcschr.c: New file.
39037 * powerpc64/power6/wcscpy.c: New file.
39038 * powerpc64/power6/wcsrchr.c: New file.
39039
bcca0895
MK
390402012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39041
39042 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39043 (two_way_short_needle): Use it.
5a4aaa33
RM
39044 * string/strstr.c (AVAILABLE1_USES_J): Define.
39045 * string/strcasestr.c: Likewise.
99677e57
MK
39046
39047 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39048 array references.
39049 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39050
400726de
MK
39051 [BZ #11607]
39052 * NEWS: Add an entry.
39053 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39054 define their defaults.
39055 (two_way_short_needle): Detect end-of-string on-the-fly.
39056 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39057 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39058 * string/bug-strcasestr1.c: New test.
39059 * string/Makefile: Run it.
39060
20a71f2c
MK
390612012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39062
39063 [BZ #11607]
39064 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39065 the first character.
39066
21ad0558
RM
390672012-08-21 Roland McGrath <roland@hack.frob.com>
39068
39069 * csu/elf-init.c (__libc_csu_irel): Function removed.
39070 * csu/libc-start.c (apply_irel): New function.
39071 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39072
0e1d9911
JM
390732012-08-21 Joseph Myers <joseph@codesourcery.com>
39074
39075 * sysdeps/unix/sysv/linux/kernel-features.h
39076 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39077 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39078 <kernel-features.h>.
39079 [__NR_fadvise64_64]: Make code unconditional.
39080 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39081 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39082 !__NR_fadvise64_64)]: Likewise.
39083 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39084 !__NR_fadvise64_64))]: Likewise.
39085 [__NR_fadvise64]: Make code unconditional.
39086 [!__NR_fadvise64]: Remove conditional code.
39087 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39088 <kernel-features.h>.
39089 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39090 unconditional.
39091 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39092 conditional code.
39093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39094 not include <kernel-features.h>.
39095 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39096 unconditional.
39097 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39098 conditional code.
39099 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39100 include <kernel-features.h>.
39101 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39102 unconditional.
39103 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39104 conditional code.
39105
14a50c9d
WS
391062012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39107
39108 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39109 slight instruction rearrangements per scrollpipe analysis.
39110 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39111
c0f4faf0
RM
391122012-08-20 Roland McGrath <roland@hack.frob.com>
39113
696da859
RM
39114 * manual/syslog.texi (syslog; vsyslog, closelog):
39115 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39116 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39117
c0f4faf0
RM
39118 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39119 DSOCAPS to match condition on defining it.
39120
348363b2
JM
391212012-08-20 Joseph Myers <joseph@codesourcery.com>
39122
a35cbf28
JM
39123 * sysdeps/unix/sysv/linux/kernel-features.h
39124 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39126 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39127 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39129 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39130 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39132 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39133 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39134
445f7ecd
JM
39135 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39136 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39137
348363b2
JM
39138 * sysdeps/unix/sysv/linux/kernel-features.h
39139 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39140 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39141 unconditional.
39142 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39143 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39144 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39145 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39146 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39147 Make code unconditional.
39148 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39149 (__mmap64) [!__NR_mmap2]: Likewise.
39150 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39151 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39152 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39153 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39154 [__NR_mmap2]: Make code unconditional.
39155 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39156 (__mmap64) [!__NR_mmap2]: Likewise.
39157
bc5bc0e5
AK
391582012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39159
39160 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39161
88d506de
AJ
391622012-08-18 Andreas Jaeger <aj@suse.de>
39163
39164 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39165
493387d2
MF
391662012-08-18 Mike Frysinger <vapier@gentoo.org>
39167
39168 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39169 * include/unistd.h (__have_sock_cloexec): Likewise.
39170 (__have_pipe2): Likewise.
39171 (__have_dup3): Likewise.
39172
a277af22
MF
391732012-08-18 Mike Frysinger <vapier@gentoo.org>
39174
39175 [BZ #9685]
39176 * include/unistd.h (__have_pipe2): Change define into an extern int.
39177 (__have_dup3): Likewise.
39178 * socket/have_sock_cloexec.c: Include fcntl.h.
39179 (__have_pipe2): New variable.
39180 (__have_dup3): Likewise.
39181
fdab8fd3
MF
391822012-08-17 Mike Frysinger <vapier@gentoo.org>
39183
39184 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39185
31035e80
MP
391862012-08-17 Marek Polacek <polacek@redhat.com>
39187
39188 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39189 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39190
3bd9e993
RM
391912012-08-17 Roland McGrath <roland@hack.frob.com>
39192
c91c505f
RM
39193 * configure.in: Add AC_SUBST for sysheaders.
39194 * configure: Regenerated.
39195 * config.make.in (sysheaders): New substituted variable.
39196
7c6f9d53
RM
39197 * sysdeps/unix/mkfifo.c: Moved ...
39198 * sysdeps/posix/mkfifo.c: ... here.
39199 * sysdeps/unix/mkfifoat.c: Moved ...
39200 * sysdeps/posix/mkfifoat.c: ... here.
39201
39202 * sysdeps/unix/utime.c: Moved ...
39203 * sysdeps/posix/utime.c: ... here.
39204
39205 * sysdeps/unix/time.c: Moved ...
39206 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
39207 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39208 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
39209
39210 * sysdeps/unix/nice.c: Moved ...
39211 * sysdeps/posix/nice.c: ... here.
39212
39213 * sysdeps/unix/alarm.c: Moved ...
39214 * sysdeps/posix/alarm.c: ... here.
39215
3bd9e993
RM
39216 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39217
d1f09384
JL
392182012-08-17 Jeff Law <law@redhat.com>
39219
39220 * intl/Makefile (codeset_mo): New variable.
39221 ($(codeset_mo)): New target.
39222 (tst-codeset.out): Depend on that. Remove explicit rule.
39223 (tst-gettext3.out, tst-gettext5.out): Likewise.
39224 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39225 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39226 * intl/tst-codeset.sh: Remove.
39227 * intl/tst-gettext3.sh: Likewise.
39228 * intl/tst-gettext5.sh: Likewise.
39229
2ae1ae5c
RM
392302012-08-17 Roland McGrath <roland@hack.frob.com>
39231
c31fdb83
RM
39232 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39233 * sysdeps/unix/syscalls.list: ... here.
39234
a0844057
RM
39235 * sysdeps/posix/getaddrinfo.c
39236 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39237 (gaiconf_init, gaiconf_reload): Use them.
39238 [!_STATBUF_ST_NSEC]
39239 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39240 Define using time_t rather than struct timespec.
39241
750c1f2a
RM
39242 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39243 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39244 Macros removed.
39245 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39246 [!NO_THREADS].
39247 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39248 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39249 Likewise.
39250
2ae1ae5c
RM
39251 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39252 __libc_cleanup_push argument.
39253
e66a42f5
RM
39254 * bits/param.h: New file.
39255 * misc/sys/param.h: New file.
39256 * include/sys/param.h: New file.
39257 * misc/Makefile (headers): Add bits/param.h.
39258 * sysdeps/generic/sys/param.h: File removed.
39259 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39260 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39261 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 39262 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 39263
b7c08a66
RM
39264 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39265 last change.
39266
b2e1c562
RM
39267 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39268 [_IO_MTSAFE_IO].
39269 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39270 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39271 New macros.
39272
c75ccd4c
RM
39273 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39274 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39275 rather than -D_IO_MTSAFE_IO conditionally.
39276 * stdio-common/Makefile (CPPFLAGS): Likewise.
39277 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39278 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39279 Use $(libio-mtsafe).
39280 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39281 of -D_IO_MTSAFE_IO.
39282 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39283 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39284 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39285 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39286 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39287 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39288 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39289 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39290 (CFLAGS-fread_u_chk.c): Likewise.
39291 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39292 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39293 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39294 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39295 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39296 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39297 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39298 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39299 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39300
39301 * libio/Makefile: Test [$(libc-reentrant) = yes]
39302 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39303
39304 * Makeconfig
39305 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39306 * sysdeps/pthread/configure: File removed.
39307 * sysdeps/pthread/Makeconfig: New file.
39308 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39309 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39310
d9195db8
GB
393112012-08-16 Gary Benson <gbenson@redhat.com>
39312
39313 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39314 unmapping the first object in a namespace.
39315
86466cd9
RM
393162012-08-16 Roland McGrath <roland@hack.frob.com>
39317
39318 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39319 (__internal_setnetgrent): ... this. Add internal_function to
39320 definition. Add libc_hidden_def.
39321 (setnetgrent): Update caller.
39322 (internal_endnetgrent): Renamed to ...
39323 (__internal_endnetgrent): ... this. Add internal_function to
39324 definition. Add libc_hidden_def.
39325 (endnetgrent): Update caller.
39326 (internal_getnetgrent_r): Renamed to ...
39327 (__internal_getnetgrent_r): ... this. Add internal_function to
39328 definition. Add libc_hidden_def.
39329 (__getnetgrent_r): Update caller.
39330 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39331
c3c8283c
JM
393322012-08-16 Joseph Myers <joseph@codesourcery.com>
39333
39334 * stdlib/longlong.h: Update from GCC.
39335
db1ee0a8
RM
393362012-08-16 Roland McGrath <roland@hack.frob.com>
39337
39338 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39339 on _QL, which is set by umul_ppmm but never used.
39340 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39341 variables, which are set by GMP macros but never used.
39342 * stdio-common/_itowa.c (_itowa): Likewise.
39343 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39344 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39345
30f69637
CD
393462012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39347
39348 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39349 struct La_sh_regs is not constant.
39350 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39351 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39352 and struct La_sparc64_regs are not constant.
39353
93a78ac4
JM
393542012-08-16 Joseph Myers <joseph@codesourcery.com>
39355
39356 * sysdeps/unix/sysv/linux/kernel-features.h
39357 (__ASSUME_POSIX_TIMERS): Remove.
39358 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39359 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39360 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39361 Make code unconditional.
39362 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39363 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39364 Make code unconditional.
39365 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39366 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39367 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39368 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39369 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39370 Make code unconditional.
39371 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39372 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39373 (__libc_missing_posix_timers): Remove.
39374
dd924cd7
RM
393752012-08-15 Roland McGrath <roland@hack.frob.com>
39376
4b4f2771
RM
39377 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39378 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39379
601c888b
RM
39380 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39381
176790a7
RM
39382 * elf/dl-sym.c: Include <stdlib.h>.
39383
329bc018
RM
39384 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39385 constants, which avoids warnings in 32-bit builds.
39386
e04e272d
RM
39387 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39388 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39389
952bf94a
RM
39390 * misc/lseek.c: File moved to ...
39391 * io/lseek.c: ... here.
39392
7c99b50a
RM
39393 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39394
dd924cd7
RM
39395 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39396 shifting LEN more than 31 bits at once.
39397
b3f479a8
LD
393982012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39399
39400 [BZ #14195]
8c4ae0d4
RM
39401 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39402 segmentation fault for a case of two empty input strings.
b3f479a8
LD
39403 * string/test-strncasecmp.c (check1): Renamed to...
39404 (bz12205): ...this.
39405 (bz14195): Add new testcase for two empty input strings and N > 0.
39406 (test_main): Call new testcase, adapt for renamed function.
39407
9c55864e
AJ
394082012-08-15 Andreas Jaeger <aj@suse.de>
39409
39410 [BZ #14090]
39411 * crypt/md5test2.c: New test, based on test supplied by Serge
39412 Belyshev <belyshev@depni.sinp.msu.ru>.
39413 * crypt/Makefile (xtests): Add md5test-giant..
39414 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39415
02dcb6c5
PE
394162012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39417
39418 [BZ #14090]
39419 * crypt/md5.c (md5_process_block): Don't assume the buffer
39420 length is less than 2**32.
39421 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39422 length is less than 2**64.
39423
a3f95dcc
RM
394242012-08-15 Roland McGrath <roland@hack.frob.com>
39425
be75d758
RM
39426 * string/str-two-way.h: Include <sys/param.h>.
39427 (MAX): Macro removed.
39428
7312ca90
RM
39429 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39430 Move #define and #undef of memmove to just before and after
39431 including <string.h>.
39432
9a0a5486
RM
39433 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39434 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39435 and after including <string.h>. Move declarations of
39436 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39437 to before #include "string/memmove.c".
39438
67cc348d
RM
39439 * include/dirent.h: Declare __getdirentries.
39440
a3f95dcc
RM
39441 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39442 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39443
ca98e171
MF
394442012-08-14 Mike Frysinger <vapier@gentoo.org>
39445
39446 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39447 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39448 * sysdeps/i386/configure: Regenerated.
39449 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39450 STABS_CURRENT_FILE, and STABS_FUN.
39451 (END): Remove call to STABS_FUN_END.
39452 (STABS_CURRENT_FILE1): Delete.
39453 (STABS_CURRENT_FILE): Likewise.
39454 (STABS_FUN): Likewise.
39455 (STABS_FUN_END): Likewise.
39456 (STABS_FUN2): Likewise.
39457 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39458 * sysdeps/x86_64/configure: Regenerated.
39459
5908bf46
RM
394602012-08-14 Roland McGrath <roland@hack.frob.com>
39461
39462 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 39463 * elf/dl-lookup.c: Likewise.
5908bf46 39464
f2c05b9e
JM
394652012-08-14 Joseph Myers <joseph@codesourcery.com>
39466
39467 * sysdeps/unix/sysv/linux/kernel-features.h
39468 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39469 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39470 unconditionally.
39471 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39472 unconditionally.
39473 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39474 condition on __ASSUME_CLONE_THREAD_FLAGS.
39475
e11f5155
AJ
394762012-08-14 Andreas Jaeger <aj@suse.de>
39477
39478 * sysdeps/i386/fpu/libm-test-ulps: Update.
39479
51a9ba86
MK
394802012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39481
2fdd4f78
AJ
39482 * include/atomic.h (atomic_exchange_and_add): Split into ...
39483 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39484 New atomic macros.
51a9ba86 39485
ba6cba9e
MT
394862012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39487
39488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39489
42443a47
JL
394902012-08-13 Jeff Law <law@redhat.com>
39491
39492 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39493 null byte in the output string.
39494
121dce05
JM
394952012-08-10 Joseph Myers <joseph@codesourcery.com>
39496
39497 * sysdeps/unix/sysv/linux/kernel-features.h
39498 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39499 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39500 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39501 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39502 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39503 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39504 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39505
bf51f568
JL
395062012-08-09 Jeff Law <law@redhat.com>
39507
39508 [BZ #13939]
39509 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39510 When avoid_arena is set, don't retry in the that arena. Pick the
39511 next one, whatever it might be.
39512 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39513 (arena_lock): Pass in new parameter to arena_get2.
39514 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39515 arena_get2.
39516 (__libc_malloc): Unify retrying after main arena failure with
39517 __libc_memalign version.
39518 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39519
f85fa270
L
395202012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39521
39522 [BZ #14166]
39523 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39524 to __redirect_strstr.
39525 (__strstr_sse42): Use typeof __redirect_strstr.
39526 (__strstr_ia32): Likewise.
39527 (__libc_strstr): New prototype.
39528 (strstr): Renamed to ...
39529 (__libc_strstr): This.
39530 (strstr): New strong alias of __libc_strstr.
39531 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39532 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39533 __redirect_time.
39534 Include <time.h>.
39535 (__libc_time): New prototype.
39536 (time_ifunc): Replace time with __libc_time.
39537 (time): New strong alias and hidden definition of __libc_time.
39538 (__GI_time): Remove strong alias.
39539 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39540 Include <stddef.h>.
39541 (memmove): Redefined to __redirect_memmove.
39542 (__memmove_sse2): Use typeof __redirect_memmove.
39543 (__memmove_ssse3): Likewise.
39544 (__memmove_ssse3_back): Likewise.
39545 (__libc_memmove): New prototype.
39546 (memmove): Renamed to ...
39547 (__libc_memmove): This.
39548 (memmove): New strong alias of __libc_memmove.
39549
33b4a91e
MS
395502012-08-08 Mark Salter <msalter@redhat.com>
39551
39552 * elf/elf.h
39553 (R_MN10300_TLS_GD): Define.
39554 (R_MN10300_TLS_LD): Likewise.
39555 (R_MN10300_TLS_LDO): Likewise.
39556 (R_MN10300_TLS_GOTIE): Likewise.
39557 (R_MN10300_TLS_IE): Likewise.
39558 (R_MN10300_TLS_LE): Likewise.
39559 (R_MN10300_TLS_DTPMOD): Likewise.
39560 (R_MN10300_TLS_DTPOFF): Likewise.
39561 (R_MN10300_TLS_TPOFF): Likewise.
39562 (R_MN10300_SYM_DIFF): Likewise.
39563 (R_MN10300_ALIGN): Likewise.
39564 (R_MN10300_NUM): Update.
39565
b36137f1
JM
395662012-08-08 Joseph Myers <joseph@codesourcery.com>
39567
39568 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39569 Remove.
39570
cdd915fd
RM
395712012-08-08 Roland McGrath <roland@hack.frob.com>
39572
a2433aac
RM
39573 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39574
cdd915fd
RM
39575 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39576 sysdeps/unix -> sysdeps/posix move.
39577 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39578
bf9b740a
AM
395792012-08-07 Allan McRae <allan@archlinux.org>
39580
39581 [BZ #14303]
39582 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39583 (SUNOS_CPP): Likewise.
39584 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39585 not found.
39586 (open_input): Call CPP using execvp.
39587
93df14ee
JM
395882012-08-07 Joseph Myers <joseph@codesourcery.com>
39589
39590 * sysdeps/unix/sysv/linux/kernel-features.h
39591 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39592 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39593 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39594 (__ASSUME_WAITID_SYSCALL): Likewise.
39595 * sysdeps/unix/sysv/linux/dl-execstack.c
39596 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39597 code unconditional.
39598 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39599 conditional code.
39600 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39601 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39602 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39603 code.
39604 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39605 unconditional.
39606 [__ASSUME_WAITID_SYSCALL]: Likewise.
39607 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39608
d34689de
RM
396092012-08-07 Roland McGrath <roland@hack.frob.com>
39610
a281decc
RM
39611 * sysdeps/unix/closedir.c: Renamed to ...
39612 * sysdeps/posix/closedir.c: ... here.
39613 * sysdeps/unix/dirfd.c: Renamed to ...
39614 * sysdeps/posix/dirfd.c: ... here.
39615 * sysdeps/unix/dirstream.h: Renamed to ...
39616 * sysdeps/posix/dirstream.h: ... here.
39617 * sysdeps/unix/fdopendir.c: Renamed to ...
39618 * sysdeps/posix/fdopendir.c: ... here.
39619 * sysdeps/unix/opendir.c: Renamed to ...
39620 * sysdeps/posix/opendir.c: ... here.
39621 * sysdeps/unix/readdir.c: Renamed to ...
39622 * sysdeps/posix/readdir.c: ... here.
39623 * sysdeps/unix/readdir_r.c: Renamed to ...
39624 * sysdeps/posix/readdir_r.c: ... here.
39625 * sysdeps/unix/rewinddir.c: Renamed to ...
39626 * sysdeps/posix/rewinddir.c: ... here.
39627 * sysdeps/unix/seekdir.c: Renamed to ...
39628 * sysdeps/posix/seekdir.c: ... here.
39629 * sysdeps/unix/telldir.c: Renamed to ...
39630 * sysdeps/posix/telldir.c: ... here.
39631 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39632 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39633 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39634 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39635
22895b47
RM
39636 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39637 * bits/fcntl.h: ... here.
39638
707a53b6
RM
39639 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39640 not 0.
39641 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39642 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39643 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39644 (struct flock): Move l_start, l_len to the beginning.
39645 Use __pid_t for l_pid.
39646 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39647 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39648 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39649 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39650 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39651 [__USE_LARGEFILE64] (struct flock64): New type.
39652 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39653
f0bd3e25
RM
39654 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39655 * bits/dirent.h: ... here.
39656
d34689de
RM
39657 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39658 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39659
6dad2c06
JM
396602012-08-07 Joseph Myers <joseph@codesourcery.com>
39661
39662 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39663 Change from 2.6.0 to 2.6.16.
39664 * sysdeps/unix/sysv/linux/configure: Regenerated.
39665 * sysdeps/unix/sysv/linux/kernel-features.h
39666 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39667 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39668 version.
39669 (__ASSUME_UTIMES): Likewise.
39670 (__ASSUME_CLONE_STOPPED): Remove.
39671 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39672 architectures, not kernel version.
39673 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39674 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39675 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39676 (__ASSUME_WAITID_SYSCALL): Likewise.
39677 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39678 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39679 * README: State 2.6.16 as minimum Linux kernel version. Do not
39680 refer to older versions.
39681
03af9520
RM
396822012-08-06 Roland McGrath <roland@hack.frob.com>
39683
8e49df1d
RM
39684 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39685 Define alphasort64 as an alias.
39686 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39687 Define versionsort64 as an alias.
39688 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39689 Define scandir64 as an alias.
39690 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39691 Define scandirat64 as an alias.
39692 * dirent/alphasort64.c (alphasort64):
39693 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39694 * dirent/versionsort64.c: Likewise.
39695 * dirent/scandir64.c: Likewise.
39696 * dirent/scandirat64.c: Likewise.
39697 * sysdeps/wordsize-64/alphasort.c: File removed.
39698 * sysdeps/wordsize-64/alphasort64.c: File removed.
39699 * sysdeps/wordsize-64/scandir.c: File removed.
39700 * sysdeps/wordsize-64/scandir64.c: File removed.
39701 * sysdeps/wordsize-64/scandirat.c: File removed.
39702 * sysdeps/wordsize-64/scandirat64.c: File removed.
39703 * sysdeps/wordsize-64/versionsort.c: File removed.
39704 * sysdeps/wordsize-64/versionsort64.c: File removed.
39705 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39706 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39707 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39708 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39709 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39710 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39711 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39712 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39713
39714 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39715 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39716 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39717 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39718 [defined __arch64__ || defined __sparcv9]
39719 (__INO_T_MATCHES_INO64_T): New macro.
39720 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39721 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39722 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39723 * sysdeps/unix/sysv/linux/bits/dirent.h
39724 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39725 (_DIRENT_MATCHES_DIRENT64): New macro.
39726
03af9520
RM
39727 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39728 Define lockf64 as an alias.
39729 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39730 Define fseeko64 as an alias.
39731 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39732 Define ftello64 as an alias.
39733 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39734 Define _IO_fgetpos64 and fgetpos64 as aliases.
39735 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39736 Define _IO_fsetpos64 and fsetpos64 as aliases.
39737 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39738 Conditionalize body on this.
39739 * libio/fseeko64.c: Likewise.
39740 * libio/ftello64.c: Likewise.
39741 * libio/iofgetpos64.c: Likewise.
39742 * libio/iofsetpos64.c: Likewise.
39743 * sysdeps/wordsize-64/lockf.c: File removed.
39744 * sysdeps/wordsize-64/lockf64.c: File removed.
39745 * sysdeps/wordsize-64/fseeko.c: File removed.
39746 * sysdeps/wordsize-64/fseeko64.c: File removed.
39747 * sysdeps/wordsize-64/ftello.c: File removed.
39748 * sysdeps/wordsize-64/ftello64.c: File removed.
39749 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39750 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39751 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39752 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39753 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39754 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39755 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39756 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39757 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39758 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39759 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39760 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39761 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39762 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39763
39764 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39765 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39766 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39767 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39768 [defined __arch64__ || defined __sparcv9]
39769 (__OFF_T_MATCHES_OFF64_T): New macro.
39770 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39771 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39772 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39773 (__OFF_T_MATCHES_OFF64_T): New macro.
39774
c5757acd
L
397752012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39776
39777 * stdlib/secure-getenv.c (__secure_getenv): Replace
39778 GLIBC_2_16 with GLIBC_2_17.
39779
3a31811e
L
397802012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39781
39782 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39783 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39784
faa2bccb
DM
397852012-08-03 David S. Miller <davem@davemloft.net>
39786
39787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39788
85fe1997
JM
397892012-08-03 Joseph Myers <joseph@codesourcery.com>
39790
39791 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39792 Remove.
39793 (__ASSUME_CORRECT_SI_PID): Likewise.
39794 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39795 (__ASSUME_TMPFS_NAME): Likewise.
39796 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39797 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39798 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39799 (HAVE_AUX_SECURE): Make definition unconditional.
39800 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39801 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39802
4f75b7a0
RM
398032012-08-03 Roland McGrath <roland@hack.frob.com>
39804
39805 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39806 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39807 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39808 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39809 __eloop_threshold instead of SYMLOOP_MAX.
39810
39811 * sysdeps/generic/eloop-threshold.h: New file.
39812 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39813 of MAXSYMLINKS.
39814 * elf/chroot_canon.c (chroot_canon): Likewise.
39815
7aab07e4
JM
398162012-08-03 Joseph Myers <joseph@codesourcery.com>
39817
39818 [BZ #13717]
39819 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39820 Change to 2.6.0 everywhere.
39821 * sysdeps/unix/sysv/linux/configure: Regenerated.
39822 * sysdeps/unix/sysv/linux/kernel-features.h
39823 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39824 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39825 kernel versions.
39826 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39827 (__ASSUME_FUTEX_REQUEUE): Remove.
39828 (__ASSUME_STATFS64): Define unconditionally.
39829 (__ASSUME_AT_SECURE): Likewise.
39830 (__ASSUME_CORRECT_SI_PID): Likewise.
39831 (__ASSUME_TGKILL): Define without depending on kernel version for
39832 i386.
39833 (__ASSUME_UTIMES): Likewise.
39834 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39835 kernel version.
39836 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39837 (__ASSUME_TMPFS_NAME): Likewise.
39838 * README: Update reference to Linux kernel versions.
39839
b67e9372
MP
398402012-08-02 Marek Polacek <polacek@redhat.com>
39841
1f529f7d 39842 [BZ# 14150]
b67e9372
MP
39843 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39844 libc_cv_asm_type_prefix with %.
39845 * configure: Regenerated.
d2441631
RM
39846 * include/libc-symbols.h: Remove comment about
39847 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
39848 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39849 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39850 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39851 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39852 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39853 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39854 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39855 * elf/tst-unique2mod1.c: Likewise.
39856 * elf/tst-unique1mod2.c: Likewise.
39857 * elf/tst-unique1mod1.c: Likewise.
39858 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39859 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39860 Replace ASM_TYPE_DIRECTIVE with .type.
39861 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39862 * sysdeps/i386/sysdep.h: Likewise.
39863 * sysdeps/x86_64/sysdep.h: Likewise.
39864 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
39865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39866 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 39867 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
39868 * sysdeps/powerpc/powerpc32/sysdep.h:
39869 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
39870 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39871 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39872 * sysdeps/i386/fpu/e_powf.S: Likewise.
39873 * sysdeps/i386/fpu/e_expl.S: Likewise.
39874 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39875 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39876 * sysdeps/i386/fpu/e_pow.S: Likewise.
39877 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39878 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39879 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39880 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39881 * sysdeps/i386/fpu/e_log2.S: Likewise.
39882 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39883 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39884 * sysdeps/i386/fpu/e_powl.S: Likewise.
39885 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39886 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39887 * sysdeps/i386/fpu/e_logl.S: Likewise.
39888 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39889 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39890 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39891 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39892 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39893 * sysdeps/i386/fpu/e_log.S: Likewise.
39894 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39895 * sysdeps/i386/fpu/e_logf.S: Likewise.
39896 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39897 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39898 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39899 * sysdeps/i386/fpu/e_log10.S: Likewise.
39900 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39901 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39902 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39903 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39904 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39905 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39906 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39907 * sysdeps/i386/i686/strtok.S: Likewise.
39908 * sysdeps/i386/i386-mcount.S: Likewise.
39909 * sysdeps/i386/strtok.S: Likewise.
39910 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39911 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39912 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39913 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39914 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39915 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39916 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39917 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39918 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39919 * sysdeps/x86_64/_mcount.S: Likewise.
39920 * sysdeps/x86_64/strtok.S: Likewise.
39921 * sysdeps/sh/_mcount.S: Likewise.
39922
2747bf9a
RM
399232012-08-01 Roland McGrath <roland@hack.frob.com>
39924
39925 * libio/iofopen.c: Include <fcntl.h>.
39926 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39927 (_IO_fopen64, fopen64): Define as aliases.
39928 * libio/iofopen64.c: Include <fcntl.h>.
39929 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39930 Conditionalize body on this.
39931 * sysdeps/wordsize-64/iofopen.c: File removed.
39932 * sysdeps/wordsize-64/iofopen64.c: File removed.
39933
3fb791b8
MP
399342012-08-01 Marek Polacek <polacek@redhat.com>
39935
39936 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39937 Use dlfcn directly instead of a variable.
39938 (binfmt-subdir): Do not define.
39939 (dlfcn): Likewise.
39940
a9f1039f
JM
399412012-08-01 Joseph Myers <joseph@codesourcery.com>
39942
23bddc06
JM
39943 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39944 Remove all definitions.
39945 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39946 <kernel-features.h>.
39947 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39948 (miss_F_GETOWN_EX): Remove all definitions.
39949 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39950 macro definition.
39951 [!__ASSUME_FCNTL64]: Remove conditional code.
39952 [__ASSUME_FCNTL64]: Make code unconditional.
39953 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39954 <kernel-features.h>.
39955 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39956 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39957 (lockf64) [__NR_fcntl64]: Make code unconditional.
39958 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39959
a9f1039f
JM
39960 * sysdeps/unix/sysv/linux/kernel-features.h
39961 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39962 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39963 Make code unconditional.
39964 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39965 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39967 [__NR_vfork]: Make code unconditional.
39968 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39969 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39971 [__NR_vfork]: Make code unconditional.
39972 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39973 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39974
09c0ee5f
RM
399752012-08-01 Roland McGrath <roland@hack.frob.com>
39976
48aec5b9
RM
39977 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39978 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39979
cd97c966
RM
39980 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39981 Define mkstemp64 as an alias.
3f55550c
RM
39982 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39983 Define mkstemps64 as an alias.
cd97c966
RM
39984 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39985 Define mkostemp64 as an alias.
b8625cfc
RM
39986 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39987 Define mkostemps64 as an alias.
cd97c966
RM
39988 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39989 Conditionalize body on this.
39990 * misc/mkostemp64.c: Likewise.
b8625cfc 39991 * misc/mkostemps64.c: Likewise.
3f55550c 39992 * misc/mkstemps64.c: Likewise.
cd97c966
RM
39993 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39994 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39995 * sysdeps/wordsize-64/mkostemp.c: File removed.
39996 * sysdeps/wordsize-64/mkstemp.c: File removed.
39997 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39998 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39999 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40000 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40001
09c0ee5f
RM
40002 [BZ #14138]
40003 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40004 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40005 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40006 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40007
40008 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40009 compat_symbol macros from <shlib-compat.h> rather than the underlying
40010 default_symbol_version and symbol_version macros, so that DEFAULT
40011 lines in shlib-versions are respected.
40012 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40013
7e66ee51
FW
400142012-08-01 Florian Weimer <fweimer@redhat.com>
40015
40016 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40017 Declare with warn_unused_result.
40018 (setgid, setregid, setegid, setresgid): Likewise.
40019 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40020 Likewise.
40021 * WUR-REPORT: Remove set*id functions.
40022
d2a54255
PT
400232012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40024
40025 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40026
7ecdb005
RM
400272012-07-31 Roland McGrath <roland@hack.frob.com>
40028
b4180a5e 40029 [BZ #10191]
789bd351
RM
40030 * include/sys/socket.h (__libc_accept, __libc_accept4):
40031 Add attribute_hidden.
40032 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40033
40ce302d
RM
40034 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40035 use of PTR_MANGLE.
40036 * inet/getnetgrent_r.c (setup): Likewise.
40037
7ecdb005
RM
40038 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40039
e2eabb2c
DM
400402012-07-31 David S. Miller <davem@davemloft.net>
40041
40042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40043
d0419dbf
JM
400442012-07-31 Joseph Myers <joseph@codesourcery.com>
40045
40046 [BZ #13629]
40047 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40048 value between 1.0 and 2.0 and smaller part has absolute value less
40049 than 1.0.
40050 * math/s_clog10.c (__clog10): Likewise.
40051 * math/s_clog10f.c (__clog10f): Likewise.
40052 * math/s_clog10l.c (__clog10l): Likewise.
40053 * math/s_clogf.c (__clogf): Likewise.
40054 * math/s_clogl.c (__clogl): Likewise.
40055 * math/libm-test.inc (clog_test): Add more tests.
40056 (clog10_test): Likewise.
40057 * sysdeps/i386/fpu/libm-test-ulps: Update.
40058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40059
2bc13872
FW
400602012-07-31 Florian Weimer <fweimer@redhat.com>
40061
40062 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40063 Exit with zero in case no suitable GID is found, and write a
40064 message to standard error.
40065
bea9b193
RM
400662012-07-30 Roland McGrath <roland@hack.frob.com>
40067
40068 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40069 rather than to 1.
40070 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40071 (MAXPATHLEN): Removed.
40072 (NOGROUP, NODEV): New macros.
40073 (setbit, clrbit, isset, isclr): New macros.
40074 (howmany, roundup, powerof2): New macros.
40075 (DEV_BSIZE): New macro.
40076
40077 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40078 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40079
40080 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40081 definition on [!__NO_LONG_DOUBLE_MATH].
40082
40083 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40084 PTR_MANGLE and PTR_DEMANGLE.
40085
40086 * socket/accept4.c (accept4): Rename to __libc_accept4.
40087 Define accept4 as a weak alias.
40088
40089 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40090 on [_DIRENT_HAVE_D_TYPE].
40091 * io/ftw.c (ftw_dir): Likewise.
40092
40093 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40094
40095 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40096
40097 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40098 Use the BSD numbers rather than the arbitrary ones we had.
40099 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40100 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40101 (SIGXCPU, SIGXFSZ): New macros.
40102 (_NSIG): Now 32.
40103
40104 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40105 initializer on [_LIBC_REENTRANT].
40106
40107 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40108 definitions inside [_POSIX_MAPPED_FILES].
40109
40110 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40111
40112 * dirent/opendir.c: Include <fcntl.h>.
40113
40114 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40115 (__libc_getspecific): Likewise.
40116 (__libc_key_create): Likewise.
40117
40118 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40119 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40120 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40121 (tmpfile64): Define as alias.
40122 * sysdeps/wordsize-64/tmpfile.c: File removed.
40123 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40124 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40125 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40126
40127 * stdio-common/vfscanf.c: Include <stdbool.h>.
40128 * nss/makedb.c: Likewise.
40129 * stdio-common/_i18n_number.h: Likewise.
40130 * argp/argp-help.c: Likewise.
40131 * posix/wordexp.c: Likewise.
40132 * sysdeps/posix/spawni.c: Likewise.
40133 * nss/nss_files/files-initgroups.c: Likewise.
40134 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40135 * nss/nss_files/files-initgroups.c: Likewise.
40136 * nss/nss_db/db-netgrp.c: Likewise.
40137 * nss/nss_db/db-initgroups.c: Likewise.
40138 * io/fchmodat.c: Include <sys/stat.h>.
40139
40140 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40141 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40142
40143 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40144 [HAVE_MMAP].
40145
40146 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40147 Add multiple inclusion protection.
40148
e5abc686
DM
401492012-07-27 David S. Miller <davem@davemloft.net>
40150
40151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40152
815e6fa3
GB
401532012-07-27 Gary Benson <gbenson@redhat.com>
40154
40155 [BZ #14298]
40156 * elf/rtld.c: Include <stap-probe.h>.
40157 (dl_main): Added static probes "init_start" and "init_complete".
40158 * elf/dl-load.c: Include <stap-probe.h>.
40159 (lose): Take new parameter "nsid".
40160 Added static probe "map_failed".
40161 (_dl_map_object_from_fd): Pass namespace id to lose.
40162 Added static probe "map_start".
40163 (open_verify): Pass namespace id to lose.
40164 * elf/dl-open.c: Include <stap-probe.h>.
40165 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40166 and "reloc_complete".
40167 * elf/dl-close.c: Include <stap-probe.h>.
40168 (_dl_close_worker): Added static probes "unmap_start" and
40169 "unmap_complete".
40170 * elf/rtld-debugger-interface.txt: New file documenting the above.
40171
9f98c16c
RM
401722012-07-26 Roland McGrath <roland@hack.frob.com>
40173
40174 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40175 rather than a string variable.
40176 * sunrpc/rpc_main.c (h_output): Likewise.
40177 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40178
f3c22df3
PT
401792012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40180
40181 * inet/check_native.c: New file.
40182
3129cfc6
JM
401832012-07-26 Joseph Myers <joseph@codesourcery.com>
40184
da865e95
JM
40185 [BZ #13629]
40186 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40187 if larger part has absolute value 1.0.
40188 * math/s_clog10.c (__clog10): Likewise.
40189 * math/s_clog10f.c (__clog10f): Likewise.
40190 * math/s_clog10l.c (__clog10l): Likewise.
40191 * math/s_clogf.c (__clogf): Likewise.
40192 * math/s_clogl.c (__clogl): Likewise.
40193 * math/libm-test.inc (clog_test): Add more tests.
40194 (clog10_test): Likewise.
40195 * sysdeps/i386/fpu/libm-test-ulps: Update.
40196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40197
3129cfc6
JM
40198 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40199 (pltexit): Likewise.
40200 (La_regs): Likewise.
40201 (La_retval): Likewise.
40202 (int_retval): Likewise.
40203 Update #error for removed macros to refer only to definitions in
40204 tst-audit.h.
40205 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40206 macro.
40207 (pltexit): Likewise.
40208 (La_regs): Likewise.
40209 (La_retval): Likewise.
40210 (int_retval): Likewise.
40211 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40212 macro.
40213 (pltexit): Likewise.
40214 (La_regs): Likewise.
40215 (La_retval): Likewise.
40216 (int_retval): Likewise.
40217 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40218 macro.
40219 (pltexit): Likewise.
40220 (La_regs): Likewise.
40221 (La_retval): Likewise.
40222 (int_retval): Likewise.
40223 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40224 macro.
40225 (pltexit): Likewise.
40226 (La_regs): Likewise.
40227 (La_retval): Likewise.
40228 (int_retval): Likewise.
40229 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40230 macro.
40231 (pltexit): Likewise.
40232 (La_regs): Likewise.
40233 (La_retval): Likewise.
40234 (int_retval): Likewise.
40235 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40236 macro.
40237 (pltexit): Likewise.
40238 (La_regs): Likewise.
40239 (La_retval): Likewise.
40240 (int_retval): Likewise.
40241 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40242 macro definitions in tst-audit.h.
40243 * sysdeps/i386/tst-audit.h: New file.
40244 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40245 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40246 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40247 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40248 * sysdeps/sh/tst-audit.h: Likewise.
40249 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40250 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40251 * sysdeps/x86_64/tst-audit.h: Likewise.
40252
bfc07087
AJ
402532012-07-26 Andreas Jaeger <aj@suse.de>
40254
b1b2aaf8
AJ
40255 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40256 ptrace.
40257
40258 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40259 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40260 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40261 PTRACE_O_MASK.
40262 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40263 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40264 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40265
bfc07087
AJ
40266 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40267 value.
40268
40269 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40270 _sigsys.
40271 (si_call_addr, si_syscall, si_arch): Define new macro.
40272 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40273 _sigsys.
40274 (si_call_addr, si_syscall, si_arch): Define new marcro.
40275 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40276 _sigsys.
40277 (si_call_addr, si_syscall, si_arch): Define new macro.
40278 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40279 _sigsys.
40280 (si_call_addr, si_syscall, si_arch): Define new macro.
40281
89b4b02f
JM
402822012-07-25 Joseph Myers <joseph@codesourcery.com>
40283
40284 [BZ #13717]
40285 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40286 Change to 2.4.21 where previously 2.4.1.
40287 * sysdeps/unix/sysv/linux/configure: Regenerated.
40288 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40289 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40290 Linux kernel version.
40291 (__ASSUME_STD_AUXV): Remove.
40292 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40293 kernel version.
40294 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40295 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40296 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40297 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40298 (__ASSUME_NETLINK_SUPPORT): Likewise.
40299 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40300 (__no_netlink_support): Remove conditional definition.
40301 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40302 Remove.
40303 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40304 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40305 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40306 (if_nameindex_ioctl): Remove.
40307 (if_nameindex_netlink): Do not handle __no_netlink_support.
40308 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40309 code.
40310 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40311 Remove conditional code.
40312 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40313 code.
40314 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40315 unconditional.
40316 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40317 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40318 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40319 Remove.
40320 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40321 [!__ASSUME_STD_AUXV]: Remove conditional code.
40322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40323 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40324 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40326 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40327 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40328 code.
40329 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40331 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40332 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40333 conditional code.
40334 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40336 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40337 code.
40338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40339 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40340 conditional code.
40341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40342 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40343 code unconditional.
40344 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40345 conditional code.
40346 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40347 unconditional.
40348 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40349 conditional code.
40350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40351 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40352 unconditional.
40353 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40354 conditional code.
40355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40356 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40357 code unconditional.
40358 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40359 conditional code.
40360 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40361 unconditional.
40362 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40363 conditional code.
40364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40365 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40366 code unconditional.
40367 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40368 conditional code.
40369 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40370 unconditional.
40371 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40372 conditional code.
40373
842a39cd
AS
403742012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40375
40376 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40377 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40378 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40379 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40380 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40381 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40382 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40383 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40384 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40385 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40386 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40387 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40388 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40389 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40390 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40391 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40392 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40393 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40394 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40395 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40396 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40397 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40398 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40399
84b3fd84
FW
404002012-07-25 Florian Weimer <fweimer@redhat.com>
40401
40402 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
40403 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40404 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40405 Introduce __libc_secure_getenv.
0c7936d5
FW
40406 * stdlib/Versions (2.17): Add secure_getenv
40407 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40408 * stdlib/secure-getenv.c: Rename __secure_getenv to
40409 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40410 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
40411 * stdlib/tst-secure-getenv.c: New.
40412 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
40413 * manual/startup.texi (Environment Access): Document
40414 secure_getenv.
84b3fd84
FW
40415 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40416 __libc_secure_getenv.
40417 * inet/ruserpass.c (ruserpass): Likewise.
40418 * malloc/mtrace.c (mtrace): Likewise.
40419 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 40420 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
40421 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40422 * sysdeps/posix/tempname.c: Likewise. Evaluate
40423 HAVE_SECURE_GETENV.
40424 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 40425 __secure_getenv to __libc_secure_getenv.
84b3fd84 40426 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
40427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40428 Likewise.
40429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40430 Likewise.
40431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40433 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 40438
56e49b71
JM
404392012-07-25 Joseph Myers <joseph@codesourcery.com>
40440
40441 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40442 (struct La_i86_retval): Likewise.
40443 (struct La_x86_64_regs): Likewise.
40444 (struct La_x86_64_retval): Likewise.
40445 (struct La_x32_regs): Likewise.
40446 (struct La_x32_retval): Likewise.
40447 (struct La_ppc32_regs): Likewise.
40448 (struct La_ppc32_retval): Likewise.
40449 (struct La_ppc64_regs): Likewise.
40450 (struct La_ppc64_retval): Likewise.
40451 (struct La_sh_regs): Likewise.
40452 (struct La_sh_retval): Likewise.
40453 (struct La_s390_32_regs): Likewise.
40454 (struct La_s390_32_retval): Likewise.
40455 (struct La_s390_64_regs): Likewise.
40456 (struct La_s390_64_retval): Likewise.
40457 (struct La_sparc32_regs): Likewise.
40458 (struct La_sparc32_retval): Likewise.
40459 (struct La_sparc64_regs): Likewise.
40460 (struct La_sparc64_retval): Likewise.
40461 (struct audit_ifaces): Remove architecture-specific pltenter and
40462 pltexit members.
40463 * sysdeps/i386/ldsodefs.h: New file.
40464 * sysdeps/powerpc/ldsodefs.h: Likewise.
40465 * sysdeps/s390/ldsodefs.h: Likewise.
40466 * sysdeps/sh/ldsodefs.h: Likewise.
40467 * sysdeps/sparc/ldsodefs.h: Likewise.
40468 * sysdeps/x86_64/ldsodefs.h: Likewise.
40469
354691b7
MP
404702012-07-25 Marek Polacek <polacek@redhat.com>
40471
40472 [BZ #6808]
40473 * math/libm-test.inc (yn_test): Add another test.
40474 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40475 to ERANGE when the result is +-Inf.
40476 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40477 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40478 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40479 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40480
bf9e2071
JM
404812012-07-24 Joseph Myers <joseph@codesourcery.com>
40482
40483 * conform/data/time.h-data (NULL): Use macro-constant. Require
40484 equal to 0.
40485 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40486 clock_t.
40487 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40488
57633811
TS
404892012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40490
40491 * configure.in <sysdeps resolving>: Correct printing
40492 Implies_before.
40493 * configure: Regenerate.
40494
c23c33b0
TS
404952012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40496
40497 * math/w_ilogb.c: Include <limits.h>.
40498 * math/w_ilogbl.c: Likewise.
40499
b5982523
JM
405002012-07-20 Joseph Myers <joseph@codesourcery.com>
40501
40502 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40503 va_copy. Document allowing for unavailable va_copy only as
40504 pre-C99 compatibility.
40505 * manual/string.texi (Copying and Concatenation): Use va_copy
40506 instead of __va_copy in concat example.
40507
ac4ea442
PT
405082012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40509
40510 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40511 (__sendto): Use create_address_port. Initialize APORT and deallocate
40512 it if not null.
40513
f98eafbd
PT
40514 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40515 with O_NOLINK passed to __file_name_lookup.
40516
898c7aab
PT
40517 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40518 with O_NOLINK passed to __file_name_lookup.
40519
0ced335a
PT
40520 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40521 negative N or less than NGIDS.
40522
b3404dbd
PT
40523 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40524 type to string_t. Set ERANGE as errno and return it if NAME is not big
40525 enough. Use memcpy instead of strncpy.
40526
0f48659e
JM
405272012-07-20 Joseph Myers <joseph@codesourcery.com>
40528
40529 * elf/Makefile (check-data): Remove.
40530 (localplt.data): New vpath directive.
40531 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40532 instead of $(check-data).
40533 * scripts/data/localplt-generic.data: Move to ...
40534 * sysdeps/generic/localplt.data: ... here.
40535 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40536 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40537 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40539 ... here.
40540 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40542 ... here.
40543 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40545 ... here.
40546 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40548 ... here.
40549 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40551 ... here.
40552 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40554 ... here.
40555
d37cbdaa
AZ
405562012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40557
40558 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40559 PPC32 and PPC64 files.
40560 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40561 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40562
46f85fc2
AK
405632012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40564
40565 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40566 __makecontext_ret to ...
40567 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40568 ... here and call exit if uc_link is NULL. New file.
40569 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40570 __makecontext_ret.S.
40571 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40572 __makecontext_ret to ...
40573 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40574 ... here and call exit if uc_link is NULL. New file.
40575 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40576 __makecontext_ret.S.
40577
08f43f9b
AK
405782012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40579
40580 * elf/elf.h (R_390_IRELATIVE): New definition.
40581 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40582 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40583 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40584 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40585 (elf_machine_lazy_rel): Likewise.
40586 * sysdeps/s390/dl-irel.h: New file.
40587 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40588 * sysdeps/s390/s390-64/memset.S: New asm code.
40589 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40590 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40591 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40592 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40593 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40594 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40595 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40596 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40597 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40598 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40599 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40600 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40601 * sysdeps/s390/s390-32/memset.S: New asm code.
40602 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40603
3b05db33
MP
406042012-07-17 Marek Polacek <polacek@redhat.com>
40605
40606 [BZ #14349]
40607 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40608 * sysdeps/s390/s390-64/configure.in: Likewise.
40609 * sysdeps/sparc/configure.in: Likewise.
40610 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40611 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40612 * sysdeps/i386/configure.in: Likewise.
40613 * sysdeps/x86_64/configure.in: Likewise.
40614 * sysdeps/sh/configure.in: Likewise.
40615 * sysdeps/s390/s390-32/configure: Regenerated.
40616 * sysdeps/s390/s390-64/configure: Likewise.
40617 * sysdeps/x86_64/configure: Likewise.
40618 * sysdeps/sh/configure: Likewise.
40619 * sysdeps/powerpc/powerpc64/configure: Likewise.
40620 * sysdeps/powerpc/powerpc32/configure: Likewise.
40621 * sysdeps/sparc/configure: Likwise.
40622 * sysdeps/i386/configure: Likewise.
40623
a66877c6
MP
40624 * elf/dl-open.c: Comment fixes.
40625
cfc82fd8
JM
406262012-07-17 Joseph Myers <joseph@codesourcery.com>
40627
bd29910a
JM
40628 * Makefile [CXX] (check-data): Remove.
40629 [CXX] (c++-types.data): New vpath directive.
40630 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40631 vpath. Do not allow for C++ type data being missing.
40632 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40633 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40634 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40635 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40636 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40637 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40638 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40640 ... here.
40641 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40643 ... here.
40644 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40646 ... here.
40647 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40649 ... here.
40650 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40652 ... here.
40653 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40655 ... here.
40656 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40658 ... here.
40659 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40661
cfc82fd8
JM
40662 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40663 definitions to architecture-specific files.
40664 (TLS_IE): Likewise.
40665 (TLS_LD): Likewise.
40666 (TLS_GD): Likewise.
40667 * sysdeps/i386/tls-macros.h: New file.
40668 * sysdeps/powerpc/tls-macros.h: Likewise.
40669 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40670 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40671 * sysdeps/sh/tls-macros.h: Likewise.
40672 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40673 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40674 * sysdeps/x86_64/tls-macros.h: Likewise.
40675
f7db3170
TS
406762012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40677
07cbfc23
TS
40678 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40679 zero value for regular exit case.
40680
f7db3170
TS
40681 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40682 (__start_context): Preserve zero value for regular exit case.
40683
dc97c227
TS
406842012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40685 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40686
40687 * manual/setjmp.texi (setcontext): Clarify normal process
40688 termination when uc_link is the null pointer.
40689 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40690 exit call.
40691
d0cd7d02
AS
406922012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40693
40694 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40695 preprocessor. Test for each exception mask separately.
40696
dd318934
AJ
406972012-07-16 Andreas Jaeger <aj@suse.de>
40698
40699 * po/ru.po: Update from translation team.
40700
8048311a
JM
407012012-07-15 Joseph Myers <joseph@codesourcery.com>
40702
40703 * conform/data/string.h-data (NULL): Use macro-constant. Require
40704 equal to 0.
40705 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40706 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40707 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40708 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40709 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40710
b637d46e
AJ
407112012-07-13 Andreas Jaeger <aj@suse.de>
40712
40713 * po/fr.po: Update from translation team.
40714
541428fe
MP
407152012-07-12 Marek Polacek <polacek@redhat.com>
40716
40717 [BZ #14173]
40718 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40719 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40720 loop condition.
40721
ec332e94
JM
407222012-07-12 Joseph Myers <joseph@codesourcery.com>
40723
40724 [BZ #13717]
40725 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40726 Change to 2.4.1 where previously 2.4.0.
40727 * sysdeps/unix/sysv/linux/configure: Regenerated.
40728 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40729 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40730 version.
40731 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40732 (__ASSUME_AT_CLKTCK): Remove.
40733 (__ASSUME_AT_PAGESIZE): Likewise.
40734 (__ASSUME_AT_XID): Likewise.
40735 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40736 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40737 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40738 unconditionally.
40739 (HAVE_AUX_PAGESIZE): Likewise.
40740 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40741 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40742 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40743
7b6e99be
JB
407442012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40745
40746 [BZ #14307]
40747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40748 the temporary buffer used to invoke __gethostbyname2_r,
40749 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40750 host_data / struct gaih_addrtuple.
40751 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40752 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40753 header file nss/nsswitch.h.
40754 * nss/nsswitch.h (global scope): Add definition of implementation
40755 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40756 resolv/nss_dns/dns-host.c).
40757
608404eb
AJ
407582012-07-11 Andreas Jaeger <aj@suse.de>
40759
40760 * po/fr.po: Update from translation team.
40761
71220aca
AJ
40762 * po/sv.po: Update from translation team
40763 * po/fr.po: Another update from translation team.
40764
28cfe843
AZ
407652012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40766
40767 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40768 for subnormals or multiply small sinh result by itself.
40769 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40771
6b90f981
DM
407722012-07-11 David S. Miller <davem@davemloft.net>
40773
40774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40775
c6825772
AS
407762012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40777
40778 [BZ #14347]
40779 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40780 (INTERNAL_MARK): Shift it here.
40781
7b8e0d49
MP
407822012-07-10 Marek Polacek <polacek@redhat.com>
40783
40784 [BZ #14151]
40785 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40786 libc_cv_asm_global_directive with .globl.
40787 * configure: Regenerated.
40788 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40789 with .globl.
40790 * sysdeps/i386/configure: Regenerated.
40791 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40792 with .globl.
40793 * sysdeps/x86_64/configure: Regenerated.
40794 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40795 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40796 * elf/tst-unique2mod2.c: Likewise.
40797 * elf/tst-unique2mod1.c: Likewise.
40798 * elf/tst-unique1mod2.c: Likewise.
40799 * elf/tst-unique1mod1.c: Likewise.
40800 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40801 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40802 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40803 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40804 * sysdeps/mach/sysdep.h: Likewise.
40805 * sysdeps/i386/sysdep.h: Likewise.
40806 * sysdeps/i386/i386-mcount.S: Likewise.
40807 * sysdeps/x86_64/_mcount.S: Likewise.
40808 * sysdeps/x86_64/sysdep.h: Likewise.
40809 * sysdeps/sh/_mcount.S: Likewise.
40810 * sysdeps/sh/sysdep.h: Likewise.
40811 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40812 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40813 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40814 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40815 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40816 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40817 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40818 * locale/localeinfo.h: Likewise.
40819 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40820 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40821
6c55cda3
RM
408222012-07-09 Roland McGrath <roland@hack.frob.com>
40823
40824 [BZ #14336]
40825 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40826 system".
40827 * manual/message.texi (The Uniforum approach): Likewise.
40828 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40829 (glibc iconv Implementation): Likewise.
40830
638a572e
JM
408312012-07-09 Joseph Myers <joseph@codesourcery.com>
40832
40833 [BZ #14337]
40834 * math/s_clog.c (__clog): Avoid scaling a value down where that
40835 could result in underflow.
40836 * math/s_clog10.c (__clog10): Likewise.
40837 * math/s_clog10f.c (__clog10f): Likewise.
40838 * math/s_clog10l.c (__clog10l): Likewise.
40839 * math/s_clogf.c (__clogf): Likewise.
40840 * math/s_clogl.c (__clogl): Likewise.
40841 * math/libm-test.inc (clog_test): Add more tests.
40842 (clog10_test): Likewise.
40843 * sysdeps/i386/fpu/libm-test-ulps: Update.
40844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40845
261f4859
AS
408462012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40847
0abaf3e4
AS
40848 [BZ #14283]
40849 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40850 by 7 not 8 to examine high bit of fractional part.
40851
261f4859
AS
40852 [BZ #14042]
40853 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40854 for call to __mcount_internal.
40855 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40856 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40857 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40858
f17ac40d
JM
408592012-07-06 Joseph Myers <joseph@codesourcery.com>
40860
9ad63c23
JM
40861 [BZ #14154]
40862 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40863 approximation for values within 0x1p-13f of an odd multiple of
40864 pi/4.
40865 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40866 exception. Add more tests.
40867 * sysdeps/i386/fpu/libm-test-ulps: Update.
40868
f17ac40d
JM
40869 [BZ #6778]
40870 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40871 inputs and return -1 for them. Do not check for +Inf in case not
40872 reachable for +Inf.
40873 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40874 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40875 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40876 and return -1 for them. Do not check for +Inf in case not
40877 reachable for +Inf.
40878 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40879 define.
40880 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40881 and return -1 for them. Do not check for +Inf in case not
40882 reachable for +Inf.
40883 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40884 spurious underflow.
40885 * sysdeps/i386/fpu/libm-test-ulps: Update.
40886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40887
fb21f89b
MF
408882012-07-06 Mike Frysinger <vapier@gentoo.org>
40889
40890 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40891
cdfe2c5e
JM
408922012-07-05 Joseph Myers <joseph@codesourcery.com>
40893
40894 [BZ #14157]
40895 [BZ #14331]
40896 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40897 could result in spurious underflow. Scale down values above
40898 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40899 * math/s_csqrtf.c (__csqrtf): Likewise.
40900 * math/s_csqrtl.c (__csqrtl): Likewise.
40901 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40902 spurious underflow.
40903 * sysdeps/i386/fpu/libm-test-ulps: Update.
40904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40905
70d35b67
AS
409062012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40907
704bc459
AS
40908 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40909 xopen-msg.sed.
40910 * catgets/xopen-msg.awk: New file.
40911 * catgets/xopen-msg.sed: Removed.
40912
70d35b67
AS
40913 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40914 po2text.sed.
40915 * intl/po2test.awk: New file.
40916 * intl/po2test.sed: Removed.
40917
ca61cf32
JM
409182012-07-04 Joseph Myers <joseph@codesourcery.com>
40919
40920 [BZ #14328]
40921 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40922 or multiply small sinh result by itself.
40923 * math/s_ctanf.c (__ctanf): Likewise.
40924 * math/s_ctanh.c (__ctanh): Likewise.
40925 * math/s_ctanhf.c (__ctanhf): Likewise.
40926 * math/s_ctanhl.c (__ctanhl): Likewise.
40927 * math/s_ctanl.c (__ctanl): Likewise.
40928 * math/libm-test.inc (ctan_test_tonearest): New function.
40929 (ctan_test_towardzero): Likewise.
40930 (ctan_test_downward): Likewise.
40931 (ctan_test_upward): Likewise.
40932 (ctanh_test_tonearest): Likewise.
40933 (ctanh_test_towardzero): Likewise.
40934 (ctanh_test_downward): Likewise.
40935 (ctanh_test_upward): Likewise.
40936 (main): Call these new functions.
40937 * sysdeps/i386/fpu/libm-test-ulps: Update.
40938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40939
ca48a46a
MF
409402012-07-03 Mike Frysinger <vapier@gentoo.org>
40941
40942 * .gitignore: Delete /ports entry.
40943
9d63d37d
AJ
409442012-07-03 Andreas Jaeger <aj@suse.de>
40945
40946 * po/bg.po: Update from translation team.
40947 * po/cs.po: Likewise.
40948 * po/de.po: Likewise.
40949 * po/hr.po: Likewise.
40950 * po/nl.pl: Likewise.
40951 * po/pl.po: Likewise.
40952 * po/vi.po: Likewise.
40953
370ca3d2
JM
409542012-07-03 Joseph Myers <joseph@codesourcery.com>
40955
95f5a9a8
JM
40956 * Makeconfig [!+link] (+link-before-libc): New variable.
40957 [!+link] (+link-after-libc): Likewise.
40958 [!+link] (+link-tests): Likewise.
40959 [!+link] (+link): Define in terms of $(+link-before-libc) and
40960 $(+link-after-libc).
40961 [!+link-static] (+link-static-before-libc): New variable.
40962 [!+link-static] (+link-static-after-libc): Likewise.
40963 [!+link-static] (+link-static-tests): Likewise.
40964 [!+link-static] (+link-static): Define in terms of
40965 $(+link-static-before-libc) and $(+link-static-after-libc).
40966 [build-shared] (link-libc-before-gnulib): New variable.
40967 [build-shared] (link-libc-tests): Likewise.
40968 [build-shared] (link-libc): Define in terms of
40969 $(link-libc-before-gnulib).
40970 [!build-shared] (link-libc-tests): New variable.
40971 (link-libc-static-tests): New variable.
40972 [!gnulib] (gnulib-arch): New variable.
40973 [!gnulib] (gnulib-tests): Likewise.
40974 [!gnulib] (static-gnulib-arch): Likewise.
40975 [!gnulib] (static-gnulib-tests): Likewise.
40976 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40977 Define with "=" instead of ":=".
40978 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40979 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40980 * Rules (binaries-all-notests): New variable.
40981 (binaries-all-tests): Likewise.
40982 (binaries-static-notests): Likewise.
40983 (binaries-static-tests): Likewise.
40984 (binaries-all): Define using $(binaries-all-notests) and
40985 $(binaries-all-tests).
40986 (binaries-static): Define using $(binaries-static-notests) and
40987 $(binaries-static-tests).
40988 (binaries-shared-tests): New variable.
40989 (binaries-shared-notests): Likewise.
40990 (binaries-shared): Remove variable.
40991 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40992 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40993 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40994 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40995 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40996 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40997 * elf/Makefile (sln-modules): New variable.
40998 (extra-objs): Add $(sln-modules:=.o).
40999 (ldconfig-modules): Add static-stubs.
41000 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41001 * elf/static-stubs.c: New file.
41002
7a845b2c
JM
41003 [BZ #14283]
41004 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41005 by 7 not 8 to examine high bit of fractional part. Use volatile
41006 variables when splitting into final array of floats if
41007 __FLT_EVAL_METHOD__ != 0.
41008 * math/libm-test.inc (cos_test): Add another test.
41009 (sin_test): Likewise.
41010 * sysdeps/i386/fpu/libm-test-ulps: Update.
41011
e2283f38
JM
41012 [BZ #14273]
41013 * math/libm-test.inc (cosh_test): Add more tests.
41014
370ca3d2
JM
41015 * version.h (RELEASE): Set to "development".
41016 (VERSION): Set to "2.16.90".
41017
ee9247c3
CD
410182012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41019
41020 * NEWS: Update copyright. Remove last-updated date.
41021 Mention math library bug fixes and timezone data changes.
41022 * README: Mention GNU/Hurd, x32, and HPPA support status.
41023
4648c381
TS
410242012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41025
41026 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41027
aac78a43
AJ
410282012-06-27 Andreas Jaeger <aj@suse.de>
41029
41030 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41031
ed3dbfad
AJ
410322012-06-25 Andreas Jaeger <aj@suse.de>
41033
41034 * sysdeps/s390/fpu/libm-test-ulps: Update.
41035
4d0ee855
AS
410362012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41037 Thomas Schwinge <thomas@codesourcery.com>
41038
41039 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41040 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41041 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41042 fanotify_mark.
41043
af1bce34
TS
410442012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41045
a9fa33ba
TS
41046 * sysdeps/mach/start.c: Remove file.
41047 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41048 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41049 * sysdeps/sh/init-first.c: Likewise.
41050
58f902b8
TS
41051 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41052 registers for frame unwinding purposes, add CFI directives.
41053 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41054 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41055 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41056 Likewise.
41057
1518f58b
TS
41058 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41059 __fortify_fail returning.
41060 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41061
db9b5059
TS
41062 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41063 sysdeps/sh/____longjmp_chk.S.
41064 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41065 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41066 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41067 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41068
967705fe
TS
41069 * sysdeps/sh/abort-instr.h: New file.
41070 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41071 process in case exit returns.
41072
a9def8c4
TS
41073 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41074 initialize the GOT register before use.
41075
2a649725
TS
41076 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41077 calculation of ARGC > 4.
41078
af1bce34
TS
41079 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41080 meaningful names to some local labels.
41081
d230f50a
KK
410822012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41083 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41084
41085 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41086 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41087 (__arch_compare_and_exchange_val_16_acq): Likewise.
41088 (__arch_compare_and_exchange_val_32_acq): Likewise.
41089 (atomic_exchange_and_add): Fix gUSA sequence.
41090 (atomic_add): Likewise.
41091 (atomic_add_negative): Likewise.
41092 (atomic_add_zero): Likewise.
41093 (atomic_bit_test_set): Likewise.
41094
0479b305
AS
410952012-06-22 Andreas Schwab <schwab@redhat.com>
41096
41097 [BZ #13579]
41098 * include/link.h (struct link_map): Add l_free_initfini.
41099 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41100 l_initfini.
41101 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41102 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41103 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41104 set.
41105
0e3933b9
CD
411062012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41107
41108 * configure.in: Use AC_LANG_SOURCE.
41109 * configure: Regenerate.
41110
4248b1b1
RM
411112012-06-22 Roland McGrath <roland@hack.frob.com>
41112
41113 * configure.in (libc_cv_localstatedir): New substituted variable.
41114 * configure: Regenerated.
41115 * config.make.in (localstatedir): New variable, substituted from
41116 libc_cv_localstatedir.
41117 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41118 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41119 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41120 * sysdeps/gnu/configure: Regenerated.
41121
006dd861
JL
411222012-06-21 Jeff Law <law@redhat.com>
41123
41124 [BZ #14277]
41125 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41126 free. Simplify list management for _LIBC case.
41127
79662d42
JM
411282012-06-21 Joseph Myers <joseph@codesourcery.com>
41129
b7abb4bf
JM
41130 [BZ #14273]
41131 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41132 Clear sign bit of 64-bit integer value before comparing against
41133 overflow value.
41134
79662d42
JM
41135 * sysdeps/mach/configure: Regenerated.
41136
1f150908
L
411372012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41138
41139 [BZ #14278]
41140 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41141
28363bbf
JL
411422012-06-21 Jeff Law <law@redhat.com>
41143
41144 [BZ #13882]
41145 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41146 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 41147 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
41148 * elf/dl-open.c (dl_open_worker): Likewise.
41149
09615db4
CD
411502012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41151
41152 * scripts/list-sources.sh: Scan PORTS for translations.
41153 * po/libc.pot: Regenerated.
41154
2174c6dd
AJ
411552012-06-21 Andreas Jaeger <aj@suse.de>
41156
41157 [BZ #12194]
41158 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41159 warning.
41160 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41161 * bits/byteswap-16.h (__bswap_16): Likewise.
41162 * bits/byteswap.h (__bswap_constant_16): Likewise.
41163
3ee947b1
L
411642012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41165
41166 [BZ #14117]
a2f34833
L
41167 * sysdeps/i386/fpu_control.h: Removed.
41168 * sysdeps/x86_64/fpu_control.h: Moved to ...
41169 * sysdeps/x86/fpu_control.h: Here.
41170
3ee947b1
L
41171 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41172 (_FPU_SETCW): Likewise.
41173
ed1825f8
L
411742012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41175
25f1282a
L
41176 [BZ #14117]
41177 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41178 * sysdeps/x86/fpu/bits/mathinline.h: This.
41179 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41180
ed1825f8
L
41181 [BZ #14050]
41182 [BZ #14117]
41183 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41184 functions if __x86_64__ is defined.
41185
36d54b74
CLT
411862012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41187
41188 * string/endian.h: Add !__ASSEMBLER__ condition for including
41189 conversion interfaces.
41190
10285c21
JM
411912012-06-15 Joseph Myers <joseph@codesourcery.com>
41192
41193 [BZ #14241]
41194 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41195 of ABS(x) in calculating zero to negative powers other than odd
41196 integers.
41197 * math/libm-test.inc (pow_test): Add more tests.
41198
06c5abbd
AJ
411992012-06-15 Andreas Jaeger <aj@suse.de>
41200
41201 * manual/contrib.texi (Contributors): Update entry of Liubov
41202 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41203 Machado Filho.
41204
a3aeac40
CH
412052012-06-15 Cyril Hrubis <metan@ucw.cz>
41206
41207 * string/string.h: Add __wur to GNU version of strerror_r.
41208
49bdf4c1
L
412092012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41210
41211 [BZ #14229]
41212 * string/Makefile (tests): Add tst-strtok_r.
41213 * string/tst-strtok_r.c: New file.
41214 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41215 RAX_LP/RDX_LP on SAVE_PTR.
41216
834f9b8d
RM
412172012-06-14 Roland McGrath <roland@hack.frob.com>
41218
41219 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41220
75fa1921
JM
412212012-06-14 Joseph Myers <joseph@codesourcery.com>
41222
41223 * libm_test.inc (csqrt_test): Allow more spurious underflow
41224 exceptions.
41225 (j0_test): Likewise.
41226 (j1_test): Likewise.
41227 (y0_test): Likewise.
41228 (y1_test): Likewise.
41229
771766df
CD
412302012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41231
41232 * po/Makefile (libc.pot): Use UTF-8 charset.
41233
ceb9e56b
PP
412342012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41235
41236 [BZ #14210]
41237 Suppress sign-conversion warning from FD_SET.
41238 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41239 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41240 not unsigned long int.
41241 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41242
ddb28975
L
412432012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41244
41245 [BZ #14050]
41246 [BZ #14117]
41247 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41248 __extern_always_inline instead of __extern_inline.
41249 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41250 (__signbit): Likewise.
41251 (__signbitl): Support C++ namespace.
41252 (lrintf): New inline function.
41253 (lrint): Likewise.
41254 (llrintf): Likewise.
41255 (llrint): Likewise.
41256 (fmaxf): Likewise.
41257 (fmax): Likewise.
41258 (fminf): Likewise.
41259 (fmin): Likewise.
41260 (rint): Likewise.
41261 (rintf): Likewise.
41262 (ceil): Likewise.
41263 (ceilf): Likewise.
41264 (floor): Likewise.
41265 (floorf): Likewise.
41266 (nearbyint): Likewise.
41267 (nearbyintf): Likewise.
41268
d7b4fb26
TS
412692012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41270
41271 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41272 non-default versions.
41273
eb55f5c2
RM
412742012-06-11 Roland McGrath <roland@hack.frob.com>
41275
41276 [BZ #14218]
41277 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41278
366af02c
TS
412792012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41280
99ff6e5c
TS
41281 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41282 (FE_UPWARD, FE_DOWNWARD): Don't define.
41283 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41284 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41285
366af02c
TS
41286 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41287 reading it.
41288 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41289 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41290
793ea851
KK
412912012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41292
41293 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41294 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41295 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41296 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41297
a728a38f
L
412982012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41299
41300 [BZ #14117]
c08010c7
L
41301 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41302 * sysdeps/i386/fpu/Implies: New file.
41303 * sysdeps/x86_64/fpu/Implies: Likewise.
41304 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41305 * sysdeps/x86/fpu/bits/fenv.h: This.
41306
a728a38f
L
41307 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41308 __SSE_MATH__.
41309
6e230d11
SP
413102012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41311
41312 [BZ #14134]
41313 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41314 character 0xffff that matches the last element of the
41315 conversion table.
41316
1b671feb
AZ
413172012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41318
41319 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41320 fmodl commit.
41321
6043738b
AZ
413222012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41323
41324 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41325 values higher than 25.6283.
41326
34ae0b32
AZ
413272012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41328
41329 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41330 subnormal exponent extraction and add some __builtin_expect.
41331 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41332 Fix for subnormal mantissa calculation.
41333
1214ec8f
MF
413342012-06-04 Mike Frysinger <vapier@gentoo.org>
41335
41336 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41337 cpu2 is -1 and errno is not ENOSYS.
41338
f3d1f93c
L
413392012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41340
41341 [BZ #14117]
0e4a3cd7
L
41342 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41343 * sysdeps/x86/bits/string.h: This.
41344 * sysdeps/x86_64/bits/string.h: Removed.
41345
6704c645
L
41346 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41347 if not compiling for x86-64, but compiling for >= i486.
41348
48495318
L
41349 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41350 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41351
14adcbfc
L
41352 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41353 New macro from Linux kernel 3.4.0.
41354 (FP_XSTATE_MAGIC2): Likewise.
41355 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41356 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41357 (struct _fpx_sw_bytes): New struct.
41358 (struct _xsave_hdr): Likewise.
41359 (struct _ymmh_state): Likewise.
41360 (struct _xstate): Likewise.
41361
68e408ab
L
41362 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41363 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41364 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41365 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41366 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41367 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41368
f3d1f93c
L
41369 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41370 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41371 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41372 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41373 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41374 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41375
d9dc34cd
TMQMF
413762012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41377
41378 [BZ #13743]
41379 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41380 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41381 (sysdep_headers): Include sys/platform/ppc.h.
41382 * sysdeps/powerpc/test-gettimebase.c: Test for
41383 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41384 * manual/Makefile (appendices): Include platform.texi.
41385 * manual/contrib.texi (Contributors): Update @node pointers.
41386 * manual/maint.texi (Maintenance): Likewise.
41387 (Platform): New node.
41388 * manual/platform.texi: New file. Document the new features.
41389
4af3879c
SP
413902012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41391 Jakub Jelinek <jakub@redhat.com>
41392
41393 [BZ #14188]
41394 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41395 where __builtin_expect is unavailable.
41396
2fd6ff13
DM
413972012-06-03 David S. Miller <davem@davemloft.net>
41398
41399 * stdlib/longlong.h: Updated from GCC.
41400
173f7220
AS
414012012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41402
41403 [BZ #14042]
41404 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41405 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41406 __mcount_internal.
41407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41408 (GLIBC_2.16): Likewise.
41409
f34a1c6f
L
414102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41411
41412 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41413
88a4576f
JM
414142012-06-01 Joseph Myers <joseph@codesourcery.com>
41415
ea32bcdd
JM
41416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41417 (default-abi): New variable.
41418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41419 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41420 variable.
41421 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41422 Likewise.
41423 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41424 Likewise.
41425 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41426 Likewise.
41427
88a4576f
JM
41428 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41429 definition. Document in comment.
41430
402fe938
DM
414312012-06-01 David S. Miller <davem@davemloft.net>
41432
41433 * stdlib/longlong.h: Updated from GCC.
41434
3553723f
L
414352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41436
41437 [BZ #14117]
3bd872c4
L
41438 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41439 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41440 sys/debugreg.h sys/io.h here.
41441 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41442 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41443 sys/io.h.
41444 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41445 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41446 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41447 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41448 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41449 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41450
3553723f
L
41451 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41452 Define only if __x86_64__ is defined.
41453
4842e4fe
JM
414542012-06-01 Joseph Myers <joseph@codesourcery.com>
41455
c5bfe3d5
JM
41456 [BZ #14048]
41457 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41458 Use int64_t for variable i.
41459 * math/libm-test.inc (fmod_test): Add more tests.
41460
4842e4fe
JM
41461 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41462 z computation is not scheduled after fetestexcept.
41463 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41464 Use math_force_eval instead of asm to ensure calculation scheduled
41465 before exception test.
41466 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41467 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41468
efb73488
AJ
414692012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41470
41471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41472 computation is not scheduled after fetestexcept.
41473
29bcce7c
L
414742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41475
41476 [BZ #14117]
41477 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41478 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41479
73a68f94
AZ
414802012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41481
41482 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41483 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41484
67b6df78
L
414852012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41486
edf2933a 41487 [BZ #14117]
ebc64a18
L
41488 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41489 <bits/wordsize.h>.
41490 (__WCHAR_MIN): Support __WORDSIZE == 64.
41491 (__WCHAR_MAX): Likewise.
41492
edf2933a
L
41493 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41494 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41495
57c6cf40
L
41496 [BZ #14183]
41497 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41498 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41499
67b6df78 41500 [BZ #14117]
8eb6281e
L
41501 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41502 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41503
aac639f4
L
41504 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41505 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41506
67b6df78
L
41507 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41508 Defined to 1 if __x86_64__ isn't defined.
41509 (_STAT_VER_LINUX_OLD): New.
41510 (st_atime): Remove duplicate.
41511 (st_mtime): Likewise.
41512 (st_ctime): Likewise.
41513
1c2cfe81
DM
415142012-05-31 David S. Miller <davem@davemloft.net>
41515
41516 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41517 entries.
41518
5be8418c
AS
415192012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41520
e7725326
AS
41521 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41522 gen-libm-test.pl.
41523
5be8418c
AS
41524 [BZ #14132]
41525 * elf/dl-reloc.c: Include <_itoa.h>.
41526 (_dl_reloc_bad_type): Remove use of INTUSE.
41527 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41528 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41529 * stdio-common/psiginfo.c (psiginfo): Likewise.
41530 * stdio-common/psignal.c (psignal): Likewise.
41531 * string/strsignal.c (strsignal): Likewise.
41532 * include/signal.h (_sys_siglist): Declare hidden proto.
41533 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41534 INTVARDEF with libc_hidden_data_def.
41535 * stdio-common/itoa-udigits.c: Likewise.
41536 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41537 (_itoa_lower_digits_internal): Remove declaration.
41538 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41539 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41540 (_sys_sigabbrev_internal): Remove aliases.
41541 (_sys_siglist): Define hidden alias.
41542
507352f1
MT
415432012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41544
41545 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41546 bits/sysctl.h.
41547
42bbb1c3
L
415482012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41549
41550 [BZ #14117]
6bd784b6
L
41551 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41552 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41553
8bca20f0
L
41554 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41555 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41556 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41557 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41558 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41559 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41560
f9e890a9
L
41561 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41562 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41563 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41564
471101a1
L
41565 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41566 with __addr.
41567 (insw): Likewise.
41568 (insl): Likewise.
41569 (outsb): Likewise.
41570 (outsw): Likewise.
41571 (outsl): Likewise.
41572
6451c862
L
41573 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41574 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41575 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41576
a254b8c9
L
41577 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41578 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41579 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41580 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41581 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41582 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41583
b8dfdd92
L
41584 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41585 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41586
578cd270
L
41587 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41588 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41589
de662f5f
L
41590 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41591 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41592 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41593
25653439
L
41594 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41595 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41596 to ...
41597 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41598
6bad24a0
L
41599 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41600 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41601 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41602
42bbb1c3
L
41603 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41604 for x86-64.
41605 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41606
2d10d547
JM
416072012-05-31 Joseph Myers <joseph@codesourcery.com>
41608
41609 * math/math.h (M_El): Use two more decimal places.
41610 (M_LOG2El): Likewise.
41611 (M_LOG10El): Likewise.
41612 (M_LN2l): Likewise.
41613 (M_LN10l): Likewise.
41614 (M_PIl): Likewise.
41615 (M_PI_2l): Likewise.
41616 (M_PI_4l): Likewise.
41617 (M_1_PIl): Likewise.
41618 (M_2_PIl): Likewise.
41619 (M_2_SQRTPIl): Likewise.
41620 (M_SQRT2l): Likewise.
41621 (M_SQRT1_2l): Likewise.
41622
f230c29b
DM
416232012-05-31 David S. Miller <davem@davemloft.net>
41624
41625 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41626 values between float registers.
41627 * sysdeps/sparc/sparc64/memset.S: Likewise.
41628 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41629
fed806c3
MF
416302012-05-31 Mike Frysinger <vapier@gentoo.org>
41631
41632 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41633 -D_FORTIFY_SOURCE=1.
41634 (CPPFLAGS-tst-longjmp_chk.c): Define.
41635 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41636 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41637 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41638 CFLAGS-tst-wchar-h.c.
41639
30917259
MP
416402012-05-31 Marek Polacek <polacek@redhat.com>
41641
41642 [BZ #14132]
41643 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41644 __endmntent_internal): Remove declaration.
41645 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41646 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41647 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41648
1c58d5dc
DM
416492012-05-30 David S. Miller <davem@davemloft.net>
41650
41651 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41652 (___Q_simulate_exceptions): Use real FP ops rather than writing
41653 into the %fsr.
41654 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41655 Likewise.
41656
7dc00e0d
L
416572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41658
41659 [BZ #14117]
0bd53985
L
41660 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41661 * sysdeps/x86/bits/xtitypes.h: This.
41662
3a257e66
L
41663 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41664 * sysdeps/x86/bits/wordsize.h: This.
41665
62f62904
L
41666 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41667 * sysdeps/x86/bits/huge_vall.h: This.
41668
404fe9d9
L
41669 * sysdeps/i386/bits/select.h: Removed.
41670 * sysdeps/x86_64/bits/select.h: Renamed to ...
41671 * sysdeps/x86/bits/select.h: This.
41672
d48d0446
L
41673 * sysdeps/i386/bits/setjmp.h: Removed.
41674 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41675 * sysdeps/x86/bits/setjmp.h: This.
41676
7dc00e0d
L
41677 * sysdeps/i386/bits/mathdef.h: Removed.
41678 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41679 * sysdeps/x86/bits/mathdef.h: This.
41680
03277f8f
AS
416812012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41682
41683 [BZ #14132]
41684 * include/sys/socket.h (__connect_internal)
41685 (__libc_sa_len_internal): Remove declaration.
41686 (__connect, __libc_sa_len): Declare hidden_proto.
41687 (SA_LEN): Remove use of INTUSE.
41688 * socket/connect.c: Add libc_hidden_def.
41689 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41690 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41691 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41692 alias.
41693 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41694 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41695 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41696 of adding _internal alias.
41697
13764867
L
416982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41699
41700 [BZ #14117]
6bd97696
L
41701 * sysdeps/i386/bits/link.h: Removed.
41702 * sysdeps/i386/bits/linkmap.h: Likewise.
41703 * sysdeps/x86_64/bits/link.h: Renamed to ...
41704 * sysdeps/x86/bits/link.h: This.
41705 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41706 * sysdeps/x86/bits/linkmap.h: This.
41707
f726f0bb
L
41708 * sysdeps/i386/bits/endian.h: Removed.
41709 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41710 * sysdeps/x86/bits/endian.h: This.
41711
13764867
L
41712 * sysdeps/i386/bits/byteswap.h: Removed.
41713 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41714 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41715 * sysdeps/x86/bits/byteswap.h: This.
41716 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41717 * sysdeps/x86/bits/byteswap-16.h: This.
41718 * sysdeps/i386/Implies: Add x86.
41719 * sysdeps/x86_64/Implies: Likewise.
41720
ae251b0b
DM
417212012-05-30 David S. Miller <davem@davemloft.net>
41722
41723 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41724 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41725 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41726 (FP_TRAPPING_EXCEPTIONS): Define.
41727 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41728 (FP_TRAPPING_EXCEPTIONS): Define.
41729 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41730 subnormals only when inexact has been signalled or underflow
41731 exceptions are enabled.
41732 (_FP_PACK_CANONICAL): Likewise.
41733
d5c90867
L
417342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41735
41736 [BZ #14183]
41737 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41738 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41739
63f1549e
RH
417402012-05-30 Richard Henderson <rth@twiddle.net>
41741
8d8f2279
RH
41742 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41743 with #ifndef NOT_IN_libc.
41744
63f1549e
RH
41745 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41746 marked to avoid plt entry.
41747
0ab0291b
L
417482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41749
41750 [BZ #14112]
41751 * Makeconfig (default-abi): New macro.
41752 (abi-includes): Likewise.
41753 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41754 $(abi-$(default-abi)-lib-soname) for soname if defined.
41755 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41756 abi-variants.
41757 * Makefile (installed-stubs): Likewise.
41758 * include/stubs-biarch.h: Removed.
41759 * scripts/lib-names.awk: Only handle one library at a time.
41760 * scripts/soversions.awk: Remove WORDSIZE support.
41761 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41762 entries.
41763 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41764 Removed.
41765 (syscall-list-default-condition): Likewise.
41766 (syscall-list-default-condition): Likewise.
41767 (syscall-list-includes): Likewise.
41768 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41769 syscall-list-* with abi-*. Handle undefined abi-variants.
41770 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41771 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41772 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41773 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41774 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41775 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41776 Removed.
41777 (syscall-list-32-options): Likewise.
41778 (syscall-list-32-condition): Likewise.
41779 (syscall-list-64-options): Likewise.
41780 (syscall-list-64-condition): Likewise.
41781 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41782 macro.
41783 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41784 Renamed to ...
41785 (abi-*): This.
41786 (abi-64-ld-soname): New macro.
41787 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41788 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41789 Renamed to ...
41790 (abi-*): This.
41791 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41792 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41793
4da0431d
JM
417942012-05-30 Joseph Myers <joseph@codesourcery.com>
41795
3a85279c
JM
41796 * sysdeps/unix/sysv/linux/kernel-features.h
41797 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41798 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41799 include <kernel-features.h>.
41800 [!__NR_ftruncate64]: Remove conditional code.
41801 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41802 [__NR_ftruncate64]: Make code unconditional.
41803 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41804 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41805 include <kernel-features.h>.
41806 [!__NR_ftruncate64]: Remove conditional code.
41807 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41808 [__NR_ftruncate64]: Make code unconditional.
41809 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41811 include <kernel-features.h>.
41812 [!__NR_ftruncate64]: Remove conditional code.
41813 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41814 [__NR_ftruncate64]: Make code unconditional.
41815 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41817 include <kernel-features.h>.
41818 [!__NR_ftruncate64]: Remove conditional code.
41819 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41820 [__NR_ftruncate64]: Make code unconditional.
41821 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41822
4da0431d
JM
41823 * configure.in (libc_cv_fpie): Weaken to a compile test using
41824 LIBC_TRY_CC_OPTION.
41825 * configure: Regenerated.
41826
11ef492c
AK
418272012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41828
41829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41833 Refreshed.
41834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41840 Refreshed.
41841
d66ef399
DM
418422012-05-27 David S. Miller <davem@davemloft.net>
41843
41844 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41845 (___Q_zero): New.
41846 (__Q_simulate_exceptions): Return void. Change to simulate
41847 exceptions by writing into the %fsr.
41848 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41849 (__Qp_handle_exceptions): Likewise.
41850 (numbers): Delete.
41851 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41852 __Qp_handle_exceptions.
41853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41854 __Qp_handle_exceptions.
41855 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41856 as unused and give dummy FP_RND_NEAREST initializer.
41857 (FP_INHIBIT_RESULTS): Define.
41858 (___Q_simulate_exceptions): Update declaration.
41859 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41860 formatting.
41861 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41862 as unused and give dummy FP_RND_NEAREST initializer.
41863 (__Qp_handle_exceptions): Update declaration.
41864 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41865 formatting.
41866
04fb54b5
TS
418672012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41868
41869 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41870 the temporary FPU control word.
41871 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41872 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41873 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41874 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41875 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41876 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41877 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41878 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41879 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41880 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41881 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41882
3f99608f
KK
418832012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41884
41885 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41886 fields.
41887
65a4de4e
CLT
418882012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41889
41890 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41891 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41892 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41893 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41894 Likewise.
41895 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41896 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41897 Likewise.
41898
15749d40
UD
418992012-05-27 Ulrich Drepper <drepper@gmail.com>
41900
41901 * po/h.po: Update from translation team.
41902
25dbcb27
AS
419032012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41904
3d3f8e55
AS
41905 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41906
25dbcb27
AS
41907 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41908 handling of denormals.
41909 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41910 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41911 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41912 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41913 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41914 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41915 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41916 Likewise.
41917
7ad47a80 419182012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
41919
41920 [BZ #14152]
41921 * math/libm-test.inc (fma_test): Don't always expect underflow
41922 exception.
41923
9c6ea9fa
SP
419242012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41925
41926 [BZ #12416]
41927 * elf/tst-execstack.c: Include stackinfo.h.
41928 (do_test): Adjust test case to ensure that pthread_getattr_np
41929 behaviour remains the same after marking stack executable.
41930
a8239222
JM
419312012-05-25 Joseph Myers <joseph@codesourcery.com>
41932
41933 * sysdeps/unix/sysv/linux/kernel-features.h
41934 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41935 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41936 kernel-features.h.
41937 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41938 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41939 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41940 kernel-features.h.
41941 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41942 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41943
918b5606
L
419442012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41945
41946 * configure.in: Define the default includes to being none.
41947 * configure: Regenerated.
41948
3a097cc7
RM
419492012-05-25 Roland McGrath <roland@hack.frob.com>
41950
8422c9a5
RM
41951 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41952 * sysdeps/x86_64/setjmp.S: Likewise.
41953 * sysdeps/i386/bsd-setjmp.S: Likewise.
41954 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41955 * sysdeps/i386/setjmp.S: Likewise.
41956 * sysdeps/i386/__longjmp.S: Likewise.
41957 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41958 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41959
3a097cc7
RM
41960 * include/stap-probe.h: New file.
41961 * configure.in: Handle --enable-systemtap.
41962 * configure: Regenerated.
41963 * config.h.in (USE_STAP_PROBE): New #undef.
41964 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41965 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41966 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41967
21708942
JM
419682012-05-25 Joseph Myers <joseph@codesourcery.com>
41969
41970 [BZ #13717]
41971 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41972 to 2.4.0 where earlier.
41973 * sysdeps/unix/sysv/linux/configure: Regenerated.
41974 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41975 <kernel-features.h>.
41976 [__ASSUME_32BITUIDS]: Make code unconditional.
41977 [!__ASSUME_32BITUIDS]: Remove conditional code.
41978 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41979 <kernel-features.h>.
41980 [__ASSUME_32BITUIDS]: Make code unconditional.
41981 [!__ASSUME_32BITUIDS]: Remove conditional code.
41982 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41983 [__ASSUME_32BITUIDS]: Make code unconditional.
41984 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41985 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41986 <kernel-features.h>.
41987 [__ASSUME_32BITUIDS]: Make code unconditional.
41988 [!__ASSUME_32BITUIDS]: Remove conditional code.
41989 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41990 <kernel-features.h>.
41991 [__ASSUME_32BITUIDS]: Make code unconditional.
41992 [!__ASSUME_32BITUIDS]: Remove conditional code.
41993 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41994 <kernel-features.h>.
41995 [__ASSUME_32BITUIDS]: Make code unconditional.
41996 [!__ASSUME_32BITUIDS]: Remove conditional code.
41997 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41998 <kernel-features.h>.
41999 [__ASSUME_32BITUIDS]: Make code unconditional.
42000 [!__ASSUME_32BITUIDS]: Remove conditional code.
42001 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42002 <kernel-features.h>.
42003 [__ASSUME_32BITUIDS]: Make code unconditional.
42004 [!__ASSUME_32BITUIDS]: Remove conditional code.
42005 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42006 <kernel-features.h>.
42007 [__ASSUME_32BITUIDS]: Make code unconditional.
42008 [!__ASSUME_32BITUIDS]: Remove conditional code.
42009 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42010 <kernel-features.h>.
42011 [__ASSUME_32BITUIDS]: Make code unconditional.
42012 [!__ASSUME_32BITUIDS]: Remove conditional code.
42013 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42014 <kernel-features.h>.
42015 [__ASSUME_32BITUIDS]: Make code unconditional.
42016 [!__ASSUME_32BITUIDS]: Remove conditional code.
42017 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42018 <kernel-features.h>.
42019 [__ASSUME_32BITUIDS]: Make code unconditional.
42020 [!__ASSUME_32BITUIDS]: Remove conditional code.
42021 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42022 <kernel-features.h>.
42023 [__ASSUME_32BITUIDS]: Make code unconditional.
42024 [!__ASSUME_32BITUIDS]: Remove conditional code.
42025 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42026 <kernel-features.h>.
42027 [__NR_setresgid] (__setresgid): Do not declare.
42028 [__ASSUME_32BITUIDS]: Make code unconditional.
42029 [!__ASSUME_32BITUIDS]: Remove conditional code.
42030 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42031 <kernel-features.h>.
42032 [__NR_setresuid] (__setresuid): Do not declare.
42033 [__ASSUME_32BITUIDS]: Make code unconditional.
42034 [!__ASSUME_32BITUIDS]: Remove conditional code.
42035 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42036 <kernel-features.h>.
42037 [__ASSUME_32BITUIDS]: Make code unconditional.
42038 [!__ASSUME_32BITUIDS]: Remove conditional code.
42039 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42040 <kernel-features.h>.
42041 [__ASSUME_32BITUIDS]: Make code unconditional.
42042 [!__ASSUME_32BITUIDS]: Remove conditional code.
42043 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42044 <kernel-features.h>.
42045 [__ASSUME_32BITUIDS]: Make code unconditional.
42046 [!__ASSUME_32BITUIDS]: Remove conditional code.
42047 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42048 <kernel-features.h>.
42049 [__ASSUME_32BITUIDS]: Make code unconditional.
42050 [!__ASSUME_32BITUIDS]: Remove conditional code.
42051 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42052 <kernel-features.h>.
42053 [__ASSUME_32BITUIDS]: Make code unconditional.
42054 [!__ASSUME_32BITUIDS]: Remove conditional code.
42055 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42056 <kernel-features.h>.
42057 [__ASSUME_32BITUIDS]: Make code unconditional.
42058 [!__ASSUME_32BITUIDS]: Remove conditional code.
42059 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42060 <kernel-features.h>.
42061 [__ASSUME_32BITUIDS]: Make code unconditional.
42062 [!__ASSUME_32BITUIDS]: Remove conditional code.
42063 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42064 <kernel-features.h>.
42065 [__ASSUME_32BITUIDS]: Make code unconditional.
42066 [!__ASSUME_32BITUIDS]: Remove conditional code.
42067 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42068 <kernel-features.h>.
42069 [__ASSUME_32BITUIDS]: Make code unconditional.
42070 [!__ASSUME_32BITUIDS]: Remove conditional code.
42071 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42072 <kernel-features.h>.
42073 [__ASSUME_32BITUIDS]: Make code unconditional.
42074 [!__ASSUME_32BITUIDS]: Remove conditional code.
42075 * sysdeps/unix/sysv/linux/kernel-features.h
42076 (__ASSUME_SETRESUID_SYSCALL): Remove.
42077 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42078 (__ASSUME_32BITUIDS): Likewise.
42079 (__ASSUME_LDT_WORKS): Likewise.
42080 (__ASSUME_O_DIRECTORY): Likewise.
42081 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42082 architecture but not kernel version.
42083 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42084 (__ASSUME_MMAP2_SYSCALL): Likewise.
42085 (__ASSUME_STAT64_SYSCALL): Likewise.
42086 (__ASSUME_IPC64): Likewise.
42087 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42088 <kernel-features.h>.
42089 [__ASSUME_32BITUIDS]: Make code unconditional.
42090 [!__ASSUME_32BITUIDS]: Remove conditional code.
42091 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42092 <kernel-features.h>.
42093 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42094 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42095 132096]: Remove conditional code.
42096 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42097 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42098 <kernel-features.h>.
42099 [__ASSUME_32BITUIDS]: Make code unconditional.
42100 [!__ASSUME_32BITUIDS]: Remove conditional code.
42101 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42102 <kernel-features.h>.
42103 [__ASSUME_32BITUIDS]: Make code unconditional.
42104 [!__ASSUME_32BITUIDS]: Remove conditional code.
42105 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42106 <kernel-features.h>.
42107 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42108 unconditional.
42109 (__setresgid): Do not declare.
42110 [__ASSUME_32BITUIDS]: Make code unconditional.
42111 [!__ASSUME_32BITUIDS]: Remove conditional code.
42112 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42113 <kernel-features.h>.
42114 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42115 unconditional.
42116 (__setresuid): Do not declare.
42117 [__ASSUME_32BITUIDS]: Make code unconditional.
42118 [!__ASSUME_32BITUIDS]: Remove conditional code.
42119 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42120 <kernel-features.h>.
42121 [__ASSUME_32BITUIDS]: Make code unconditional.
42122 [!__ASSUME_32BITUIDS]: Remove conditional code.
42123 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42124 <kernel-features.h>.
42125 [__ASSUME_32BITUIDS]: Make code unconditional.
42126 [!__ASSUME_32BITUIDS]: Remove conditional code.
42127
a386f1cc
RH
421282012-05-25 Richard Henderson <rth@twiddle.net>
42129
42130 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42131 dl_hwcap to ifunc resolver.
42132 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42133 elf_ifunc_invoke.
42134 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42135 dl_hwcap to ifunc resolver.
42136 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42137
b6550497
JM
421382012-05-24 Joseph Myers <joseph@codesourcery.com>
42139
42140 [BZ #14153]
42141 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42142 for |x| <= 2**-26, not 2**-57.
42143 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42144 exception.
42145
b0bc23a1
JL
421462012-05-24 Jeff Law <law@redhat.com>
42147
42148 * stdio-common/Makefile (tests): Add bug25.
42149 * stdio-common/bug25.c: New test.
42150
347c92e9
L
421512012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42152
42153 [BZ #13576]
42154 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42155 multiple of MALLOC_ALIGNMENT in size.
42156 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42157
6bcc8b3f
JM
421582012-05-24 Joseph Myers <joseph@codesourcery.com>
42159
42160 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42161 Require >= 256.
42162 (FILENAME_MAX): Use macro-int-constant.
42163 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42164 (_IOFBF): Use macro-int-constant.
42165 (_IOLBF): Likewise.
42166 (_IONBF): Likewise.
42167 (SEEK_CUR): Likewise.
42168 (SEEK_END): Likewise.
42169 (SEEK_SET): Likewise.
42170 (TMP_MAX): Likewise.
42171 (EOF): Use macro-int-constant. Require < 0.
42172 (NULL): Use macro-constant. Require == 0.
42173 (stdin): Require type to be FILE *.
42174 (stdout): Likewise.
42175 (stderr): Likewise.
42176 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42177 macro-int-constant.
42178 (EXIT_SUCCESS): Likewise.
42179 (NULL): Use macro-constant. Require == 0.
42180 (RAND_MAX): Use macro-int-constant.
42181 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42182 [C99-based standards] (strtof): Require function.
42183 [C99-based standards] (strtold): Likewise.
42184 [C99-based standards] (strtoll): Likewise.
42185 [C99-based standards] (strtoull): Likewise.
42186 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42187 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42188 [ISO || ISO99 || ISO11] (math.h): Likewise.
42189 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42190 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42191 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42192
d18ea0c5
AS
421932012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42194
42195 [BZ #14132]
56d25bb8
AS
42196 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42197 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42198 * intl/dgettext.c (DCGETTEXT): Likewise.
42199 * intl/gettext.c (DCGETTEXT): Likewise.
42200 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42201 * posix/regex_internal.h (gettext): Likewise.
42202 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42203 Remove declaration.
42204 * include/argz.h (__argz_count_internal)
42205 (__argz_stringify_internal): Remove declaration.
42206 (__argz_count, __argz_stringify): Declare hidden proto.
42207 * intl/dcgettext.c: Remove use of INTDEF.
42208 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42209 * string/argz-stringify.c: Likewise.
42210 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42211 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42212 Declare hidden proto.
d18ea0c5
AS
42213 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42214 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42215 Declare hidden proto.
42216 * include/stdio.h (__asprintf_internal): Don't declare.
42217 (__asprintf): Don't define as macro. Declare hidden proto.
42218 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42219 (__fsetlocking): Declare hidden proto.
42220 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42221 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42222 hidden proto.
42223 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42224 (_IO_setlinebuf): Remove use of INTUSE.
42225 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42226 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42227 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42228 Remove declaration.
42229 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42230 (_IO_do_flush): Remove use of INTUSE.
42231 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42232 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42233 (_IO_adjust_column, _IO_least_wmarker)
42234 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42235 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42236 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42237 (_IO_default_doallocate, _IO_wdefault_doallocate)
42238 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42239 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42240 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42241 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42242 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42243 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42244 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42245 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42246 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42247 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42248 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42249 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42250 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42251 proto.
42252 (_IO_flush_all_internal, _IO_adjust_column_internal)
42253 (_IO_default_uflow_internal, _IO_default_finish_internal)
42254 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42255 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42256 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42257 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42258 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42259 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42260 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42261 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42262 (_IO_file_close_internal, _IO_file_close_it_internal)
42263 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42264 (_IO_file_init_internal, _IO_file_attach_internal)
42265 (_IO_file_fopen_internal, _IO_file_read_internal)
42266 (_IO_file_sync_internal, _IO_file_seek_internal)
42267 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42268 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42269 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42270 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42271 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42272 (_IO_list_all_internal, _IO_link_in_internal)
42273 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42274 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42275 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42276 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42277 (_IO_do_write_internal, _IO_padn_internal)
42278 (_IO_getline_info_internal, _IO_getline_internal)
42279 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42280 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42281 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42282 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42283 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42284 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42285 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42286 with libc_hidden_ver, remove use of INTUSE.
42287 * libio/genops.c: Likewise.
42288 * libio/freopen.c: Likewise.
42289 * libio/freopen64.c: Likewise.
42290 * libio/iofclose.c: Likewise.
42291 * libio/iofdopen.c: Likewise.
42292 * libio/iofflush.c: Likewise.
42293 * libio/iofflush_u.c: Likewise.
42294 * libio/iofgets.c: Likewise.
42295 * libio/iofgets_u.c: Likewise.
42296 * libio/iofopen.c: Likewise.
42297 * libio/iofopncook.c: Likewise.
42298 * libio/iofread.c: Likewise.
42299 * libio/iofread_u.c: Likewise.
42300 * libio/ioftell.c: Likewise.
42301 * libio/iofwrite.c: Likewise.
42302 * libio/iogetline.c: Likewise.
42303 * libio/iogets.c: Likewise.
42304 * libio/iogetwline.c: Likewise.
42305 * libio/iopadn.c: Likewise.
42306 * libio/iopopen.c: Likewise.
42307 * libio/ioseekoff.c: Likewise.
42308 * libio/ioseekpos.c: Likewise.
42309 * libio/iosetbuffer.c: Likewise.
42310 * libio/iosetvbuf.c: Likewise.
42311 * libio/ioungetc.c: Likewise.
42312 * libio/ioungetwc.c: Likewise.
42313 * libio/iovdprintf.c: Likewise.
42314 * libio/iovsprintf.c: Likewise.
42315 * libio/iovsscanf.c: Likewise.
42316 * libio/memstream.c: Likewise.
42317 * libio/obprintf.c: Likewise.
42318 * libio/oldfileops.c: Likewise.
42319 * libio/oldiofclose.c: Likewise.
42320 * libio/oldiofdopen.c: Likewise.
42321 * libio/oldiofopen.c: Likewise.
42322 * libio/oldiopopen.c: Likewise.
42323 * libio/oldstdfiles.c: Likewise.
42324 * libio/putc.c: Likewise.
42325 * libio/setbuf.c: Likewise.
42326 * libio/setlinebuf.c: Likewise.
42327 * libio/stdfiles.c: Likewise.
42328 * libio/strops.c: Likewise.
42329 * libio/vasprintf.c: Likewise.
42330 * libio/vscanf.c: Likewise.
42331 * libio/vsnprintf.c: Likewise.
42332 * libio/vswprintf.c: Likewise.
42333 * libio/wfiledoalloc.c: Likewise.
42334 * libio/wfileops.c: Likewise.
42335 * libio/wgenops.c: Likewise.
42336 * libio/wmemstream.c: Likewise.
42337 * libio/wstrops.c: Likewise.
42338 * libio/__fpurge.c: Likewise.
42339 * libio/__fsetlocking.c: Likewise.
42340 * assert/assert.c: Likewise.
42341 * debug/fgets_chk.c: Likewise.
42342 * debug/fgets_u_chk.c: Likewise.
42343 * debug/fread_chk.c: Likewise.
42344 * debug/fread_u_chk.c: Likewise.
42345 * debug/gets_chk.c: Likewise.
42346 * debug/obprintf_chk.c: Likewise.
42347 * debug/vasprintf_chk.c: Likewise.
42348 * debug/vdprintf_chk.c: Likewise.
42349 * debug/vsnprintf_chk.c: Likewise.
42350 * debug/vsprintf_chk.c: Likewise.
42351 * malloc/mtrace.c: Likewise.
42352 * misc/error.c: Likewise.
42353 * misc/syslog.c: Likewise.
42354 * stdio-common/asprintf.c: Likewise.
42355 * stdio-common/fxprintf.c: Likewise.
42356 * stdio-common/getw.c: Likewise.
42357 * stdio-common/isoc99_fscanf.c: Likewise.
42358 * stdio-common/isoc99_scanf.c: Likewise.
42359 * stdio-common/isoc99_vfscanf.c: Likewise.
42360 * stdio-common/isoc99_vscanf.c: Likewise.
42361 * stdio-common/isoc99_vsscanf.c: Likewise.
42362 * stdio-common/printf-prs.c: Likewise.
42363 * stdio-common/printf_fp.c: Likewise.
42364 * stdio-common/printf_fphex.c: Likewise.
42365 * stdio-common/printf_size.c: Likewise.
42366 * stdio-common/putw.c: Likewise.
42367 * stdio-common/scanf.c: Likewise.
42368 * stdio-common/sprintf.c: Likewise.
42369 * stdio-common/tmpfile.c: Likewise.
42370 * stdio-common/vfprintf.c: Likewise.
42371 * stdio-common/vfscanf.c: Likewise.
42372 * stdlib/strfmon_l.c: Likewise.
42373 * sunrpc/openchild.c: Likewise.
42374 * sunrpc/xdr_stdio.c: Likewise.
42375 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42376 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42377
d6c33fda
RM
423782012-05-24 Roland McGrath <roland@hack.frob.com>
42379
c1487492
RM
42380 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42381
42382 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42383 in the third column, to generate for the shared library an IFUNC
42384 that uses _dl_vdso_vsym.
42385 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42386 * Makeconfig (object-suffixes-noshared): New variable.
42387
42388 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42389 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42390 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42391 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42392
d6c33fda
RM
42393 [BZ #14132]
42394 * include/sys/time.h (__gettimeofday): Remove macro.
42395 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42396 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42397 Remove INTDEF.
42398 (__gettimeofday): Add libc_hidden_def.
42399 (gettimeofday): Add libc_hidden_weak.
42400 * sysdeps/mach/gettimeofday.c: Likewise.
42401 * sysdeps/posix/gettimeofday.c: Likewise.
42402 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42403 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42404 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42405 (__gettimeofday_internal): Remove strong_alias.
42406 (__gettimeofday): Add libc_hidden_def.
42407 (gettimeofday): Add libc_hidden_weak.
42408 * sysdeps/unix/syscalls.list (gettimeofday):
42409 Remove __gettimeofday_internal alias.
42410
b5a2bbe6
L
424112012-05-24 Daniel Jacobowitz <drow@false.org>
42412 H.J. Lu <hongjiu.lu@intel.com>
42413
42414 [BZ #12495]
42415 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42416 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42417 (largebin_index_32_big): New.
42418 (largebin_index): Use it for 16-byte alignment.
42419 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42420 correction with front_misalign.
42421
cfba4fda
L
424222012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42423
7f907421
L
42424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42426 Likewise.
42427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42428 Likewise.
42429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42430 Likewise.
42431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42432 Likewise.
42433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42434 Likewise.
42435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42436 Likewise.
42437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42438 Likewise.
42439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42440 Likewise.
42441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42442 Likewise.
42443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42444 Likewise.
42445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42446 Likewise.
42447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42448 Likewise.
42449
cfba4fda
L
42450 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42451 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42452
80bad0cc
JM
424532012-05-24 Joseph Myers <joseph@codesourcery.com>
42454
7a25eb06
JM
42455 [BZ #10846]
42456 [BZ #14036]
42457 * math/libm-test.inc (exp_test): Add test from bug 14036.
42458 (pow_test): Add test from bug 10846.
42459
795405f9
JM
42460 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42461 and other flags.
42462 (special_function): Do not include flags in test name.
42463 (parse_args): Likewise.
42464 * sysdeps/i386/fpu/libm-test-ulps: Update.
42465 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42466 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42467 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42469
80bad0cc
JM
42470 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42471 exceptions.
42472 * math/libm-test.inc ("Philosophy"): Update comment about
42473 exception testing.
42474 (UNDERFLOW_EXCEPTION): New macro.
42475 (UNDERFLOW_EXCEPTION_OK): Likewise.
42476 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42477 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42478 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42479 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42480 (INVALID_EXCEPTION_OK): Update value.
42481 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42482 (OVERFLOW_EXCEPTION_OK): Likewise.
42483 (IGNORE_ZERO_INF_SIGN): Likewise.
42484 (test_exceptions): Handle underflow exceptions.
42485 (acos_test): Update for underflow exception expectations.
42486 (cexp_test): Likewise.
42487 (clog_test): Likewise.
42488 (clog10_test): Likewise.
42489 (csqrt_test): Likewise.
42490 (ctan_test): Likewise.
42491 (ctanh_test): Likewise.
42492 (exp_test): Likewise.
42493 (exp10_test): Likewise.
42494 (exp2_test): Likewise.
42495 (expm1_test): Likewise.
42496 (fma_test): Likewise.
42497 (j0_test): Likewise.
42498 (jn_test): Likewise.
42499 (nexttoward_test): Likewise.
42500 (pow_test): Likewise.
42501 (scalbn_test): Likewise.
42502 (scalbln_test): Likewise.
42503 (tan_test): Likewise.
42504 (y1_test): Likewise.
42505 * sysdeps/i386/fpu/libm-test-ulps: Update.
42506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42507
9e0e3d0b
DM
425082012-05-23 David S. Miller <davem@davemloft.net>
42509
42510 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42511 (__libc_sigaction): Remove unused local variables.
42512
ccd0a08f
L
425132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42514
42515 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42516
62bdf9a6
PE
425172012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42518
f8591f80
PE
42519 mktime: avoid signed integer overflow
42520 * time/mktime.c (__mktime_internal): Do not mishandle the case
42521 where diff == INT_MIN.
42522
94c7d826
PE
42523 mktime: simplify computation of average
42524 * time/mktime.c (ranged_convert): Use new time_t_avg function
42525 instead of rolling our own (probably-slower) code.
42526
ce73d683
PE
42527 mktime: do not assume signed right shift propagates sign bit
42528 * time/mktime.c (isdst_differ): New static function.
42529 (__mktime_internal): No need to normalize tm_isdst now.
42530 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42531 tm_isdst values.
42532
72a22e59
PE
42533 mktime: merge another wrapv change from gnulib
42534 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42535 from some compilers.
42536
68605433
PE
42537 mktime: remove incorrect attempt at unusual arithmetics
42538 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42539 The code didn't really work on such machines anyway.
42540 (TYPE_MINIMUM): Assume two's complement.
42541 (twos_complement_arithmetic): Verify that long_int and time_t
42542 are two's complement (or unsigned, in the latter case).
42543
03cf7fe3
PE
42544 mktime: check signed shifts on long_int and time_t, too
42545 * time/mktime.c (SHR): Check that shifts work as desired
42546 on the types long_int and time_t too, as SHR is used on
42547 such types.
42548
f04dfbc2
PE
42549 mktime: do not assume 'long' is wide enough
42550 * time/mktime.c (verify): Move decl up.
42551 (long_int): New type.
42552 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42553 to remove assumption in the code that 'long' is wide enough to
42554 store year values. This assumption is not true on x32 and on
42555 some non-glibc platforms.
42556
62bdf9a6
PE
42557 mktime: merge wrapv change from gnulib
42558 * time/mktime.c (WRAPV): New macro.
42559 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42560 (guess_time_tm, __mktime_internal): Do not assume that signed
42561 integer overflow wraps around; modern compilers generate code
42562 where this assumption is no longer valid.
42563
5e292e4f
L
425642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42565
42566 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42567 Replace "jmp L(pseudo_end)" with "ret".
42568 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42569 Likewise.
42570
8caf8c87
AJ
425712012-05-23 Andreas Jaeger <aj@suse.de>
42572
42573 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42574 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42575
1a09dc56
AJ
425762012-05-23 Andreas Jaeger <aj@suse.de>
42577 Maximilian Attems <max@stro.at>
42578
42579 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42580 New macros.
42581
1c87aba0
L
425822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42583
42584 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42585 code so that pseudo_end is just ret and the stack pointer is
42586 correct also for static library in error case.
42587
40e45bd5
JM
425882012-05-23 Joseph Myers <joseph@codesourcery.com>
42589
c2670533
JM
42590 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42591 move to syscalls.list.
42592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42596
40e45bd5
JM
42597 * manual/install.texi (Running make install): Do not mention Linux
42598 kernel version for which pt_chown is not needed.
42599 (Linux): Do not mention problems with nscd with 2.0 kernels.
42600 * INSTALL: Regenerated.
42601
be08eda5
AJ
426022012-05-23 Andreas Jaeger <aj@suse.de>
42603
42604 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42605 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42606 macro.
42607 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42608 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42609 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42610 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42611 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42612 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42613 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42614 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42615 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42616 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42617 * sysdeps/unix/sysv/linux/bits/in.h
42618 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42619
a6a056bb
RM
426202012-05-22 Roland McGrath <roland@hack.frob.com>
42621
42622 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42623 (PREPARE_VERSION): Just use assert instead, it will be elided
42624 under [NDEBUG] anyway.
42625
c9009328
L
426262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42627
42628 * sysdeps/unix/sysv/linux/Makefile: Include
42629 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 42630 (sysdep_routines): Remove sysctl.
c9009328
L
42631 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42632 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42633 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42634 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42635 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42636
73338355
AJ
426372012-05-22 Andreas Jaeger <aj@suse.de>
42638
42639 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42640 that pseudo_end is just ret and the stack pointer is correct also
42641 for static library in error case.
42642
d44638b0
PP
426432012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42644
42645 [BZ #14122]
42646 * nss/nsswitch.c (defconfig_entries): New variable.
42647 (__nss_database_lookup): Don't leak defconfig entries.
42648 (nss_parse_service_list): Don't leak on error paths.
42649 (free_database_entries): New function.
42650 (free_defconfig): New function.
42651 (free_mem): Move common code to free_database_entries.
42652
31a39bd8
L
426532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42654
da0331a8
L
42655 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42656 Add arch_prctl.
42657 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42658
31a39bd8
L
42659 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42660 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42662 New macro.
42663 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42664 (INTERNAL_SYSCALL_TYPES): Likewise.
42665 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42666 (LOAD_REGS_TYPES_[1-6]): Likewise.
42667 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42668 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42669
45470df3
AZ
426702012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42671
42672 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42673 copysignl for GLIBC_2_0.
42674 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42675 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42676 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42677 logbl for GLIBC_2_0.
42678 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42679 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42680
98a61bcb
L
426812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42682
a4f6e481
L
42683 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42684 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42685
f63d5db6
L
42686 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42687 Use "neg %eax".
42688
98a61bcb
L
42689 * time/mktime.c: Update copyright years.
42690
95770f14
PE
426912012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42692
6226efbd
PE
42693 mktime: merge comment-quoting-style change from gnulib
42694 * time/mktime.c: Quote 'like this' in comments.
42695 The GNU coding standards suggest that we no longer quote `like this',
42696 as "`" and "'" are typically rendered asymmetrically nowadays.
42697 The typical gnulib style is to quote 'like this' when quoting
42698 code, and "like this" when quoting English.
42699
b99e4f78
PE
42700 * time/mktime.c (compile-command): Add "-I.".
42701
643e01e6
PE
42702 mktime: merge mktime-internal.h change from gnulib
42703 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42704
2554247d
PE
42705 mktime: merge time_r change from gnulib
42706 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42707
826dd0ab
PE
42708 mktime: merge DEBUG change from gnulib
42709 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42710 case system <time.h> has a #define.
42711
bd83aabe
PE
42712 mktime: merge <sys/types.h> change from gnulib
42713 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42714 since <time.t> is now guaranteed to define time_t.
42715
95770f14
PE
42716 mktime: merge HAVE_CONFIG_H change from gnulib
42717 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42718
5e1a27a9
L
427192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42720
0e44a77e
L
42721 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42722 Use "neg %eax".
42723
5e1a27a9
L
42724 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42725 __rlim_t cast.
42726 (struct rusage): Use anonymous union to pad each field to
42727 __syscall_slong_t.
42728
46259bec
DM
427292012-05-21 David S. Miller <davem@davemloft.net>
42730
42731 * Makefules (o-iterator): Remove .s cases.
42732 (compile-command.s): Delete.
42733 (COMPILE.s): Delete.
42734 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42735
59f0c22e
JM
427362012-05-21 Joseph Myers <joseph@codesourcery.com>
42737
42738 * configure.in (libc_cv_predef_stack_protector): Only consider
42739 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42740 * configure: Regenerated.
42741
20c07380
L
427422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42743
bbb3154b
L
42744 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42745 New macro. Use R*LP on int and pointer.
42746 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
42747 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42748 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
42749 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42750
20c07380
L
42751 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42752 [__WORDSIZE_TIME64_COMPAT32] instead of
42753 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42754 (struct utmp): Likewise.
42755 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42756 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42757 Renamed to ...
42758 (__WORDSIZE_TIME64_COMPAT32): This.
42759 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42760 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42761 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42762 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42763 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42764 (__WORDSIZE_TIME64_COMPAT32): New macro.
42765
d8d1017e
AJ
427662012-05-21 Andreas Jaeger <aj@suse.de>
42767
42768 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42769 only if [SHARED]. Add prototype for __wcschr_ia32.
42770
6c7fb145
RM
427712012-05-21 Roland McGrath <roland@hack.frob.com>
42772
42773 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42774 of %rbp unmolested in the jmp_buf while mangling the low bits.
42775 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42776 unmolested high bits of %rbp while demangling the low bits.
42777 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42778
66274218
AJ
427792012-05-21 Andreas Jaeger <aj@suse.de>
42780
07c58f8f
AJ
42781 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42782 * sunrpc/svc_simple.c: Use it for registerrpc.
42783 * sunrpc/xcrypt.c: Use it for passwd2des.
42784
66274218
AJ
42785 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42786
61f65140
L
427872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42788
42789 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42790 Don't define if [__SYSCALL_WORDSIZE != 32].
42791 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42792 New macro.
42793
5fefb436
AJ
427942012-05-21 Bruno Haible <bruno@clisp.org>
42795 Andreas Jaeger <aj@suse.de>
42796
42797 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42798 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42799 inptr and inend for must_buffer_ch.
42800 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42801 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42802 * stdio-common/Makefile (tests): Remove bug15.
42803 (bug15-ENV): Remove macro.
42804 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42805 anymore.
42806
d8e272ab
AJ
428072012-05-19 Andreas Jaeger <aj@suse.de>
42808 Roland McGrath <roland@hack.frob.com>
42809
42810 * manual/contrib.texi: Completely rewritten. It contains now an
42811 alphabetical list of contributors and their contributions.
42812
4a56a162
RH
428132012-05-21 Richard Henderson <rth@twiddle.net>
42814
42815 * misc/getauxval.c (__getauxval): Use unsigned long int.
42816 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42817 (getauxval): Use unsigned long int.
42818
d024d23c
L
428192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42820
42821 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42822
cbc00a03
RM
428232012-05-21 Roland McGrath <roland@hack.frob.com>
42824
42825 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42826 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42827 __alignof__ (long double).
42828
478143fa
AZ
428292012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42830
42831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42832
c7683a6d
RH
428332012-05-20 Richard Henderson <rth@twiddle.net>
42834
42835 * misc/getauxval.c: New file.
42836 * misc/sys/auxv.h: New file.
42837 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42838 (routines): Add getauxval.
42839 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42840 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42841 * elf/dl-sysdep.c (_dl_auxv): Remove.
42842 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42843 * elf/dl-support.c (_dl_auxv): New variable.
42844 (_dl_aux_init): Initialize it.
42845 * manual/startup.texi (Auxiliary Vector): New node.
42846 * sysdeps/generic/bits/hwcap.h: New file.
42847 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42848 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42849 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42850 * sysdeps/sparc/sysdep.h: ... here. Include it.
42851 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42852 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
42853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42854 Update.
c7683a6d
RH
42855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42858 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42863
a6f1845d
AZ
428642012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42865
42866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42867
cbcbe830
DM
428682012-05-19 David S. Miller <davem@davemloft.net>
42869
42870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42871
e0b16cc2
JM
428722012-05-19 Joseph Myers <joseph@codesourcery.com>
42873
42874 [BZ #14123]
42875 * math/s_ccosh.c: Include <float.h>
42876 (__ccosh): Avoid internal overflow calculating sinh and cosh
42877 values before multiplying by sin and cos values.
42878 * math/s_ccoshf.c: Likewise.
42879 * math/s_ccoshl.c: Likewise.
42880 * math/s_csin.c: Likewise.
42881 * math/s_csinf.c: Likewise.
42882 * math/s_csinl.c: Likewise.
42883 * math/s_csinh.c: Likewise.
42884 * math/s_csinhf.c: Likewise.
42885 * math/s_csinhl.c: Likewise.
42886 * math/libm-test.inc (ccos_test): Add more tests.
42887 (ccosh_test): Likewise.
42888 (csin_test): Likewise.
42889 (csinh_test): Likewise.
42890 * sysdeps/i386/fpu/libm-test-ulps: Update.
42891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42892
6ad13e08
L
428932012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42894
f66f0ce8
L
42895 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42896 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42897
6ad13e08
L
42898 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42899
b1d072a7
JM
429002012-05-19 Joseph Myers <joseph@codesourcery.com>
42901
42902 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42903 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42904 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42905 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42906 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42907 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42908 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42909 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42910 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42911 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42912 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42913 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42914 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42915 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42916 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42917 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42918 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42919 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42920 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42921 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42922 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42923 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42924 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42925 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42926 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42927 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42928 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42929 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42930 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42931 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42932 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42933
9eae47cb
AJ
429342012-05-18 Andreas Jaeger <aj@suse.de>
42935
42936 * csu/.gitignore: Delete.
42937
bb07f69f
L
429382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42939
42940 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42941 (timex): Use __syscall_slong_t.
42942
e6bdb741
AJ
429432012-05-18 Andreas Jaeger <aj@suse.de>
42944 Carlos O'Donell <carlos_odonell@mentor.com>
42945
42946 * manual/install.texi (Configuring and compiling): Update
42947 description about files modified in the source directory.
d6c33fda 42948 * INSTALL: Regenerated.
e6bdb741 42949
1b74487e
L
429502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42951
42952 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42953 value. Use "or" to set return value to -1.
42954 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42955 negate return value.
42956
a88b64b9
TMQMF
429572012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42958
57f41c40
AS
42959 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42960 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
42961 failure if the compiler has Graphite support disabled.
42962 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42963 Likewise.
57f41c40
AS
42964 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42965 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
42966 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42967 Likewise.
42968
3707636e
L
429692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42970
610b8622
L
42971 * sysdeps/x86_64/x32/_itoa.h: New file.
42972
7cd195df
L
42973 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42974 getdents system call only if kernel and user dirents have the
42975 same d_ino and d_off.
42976
94b07d20
L
42977 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42978 LLONG_MAX != LONG_MAX.
42979 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42980 (_fitoa_word): Likewise.
42981
18298070
L
42982 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42983 years.
42984 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42985 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42986 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42987
553c7ea4
L
42988 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42989 include <bits/wordsize.h>. Check __x86_64__ instead of
42990 __WORDSIZE.
42991 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42992 if __x86_64__ is defined. Use anonymous union on fpstate.
42993
3707636e
L
42994 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42995 anonymous union.
42996
b53ef01a
AS
429972012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42998
37fb1dc0
AS
42999 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43000 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43001 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43002 Refer to _rtld_local_ro instead of _rtld_global_ro.
43003 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43004 Likewise.
43005 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43006 Likewise.
43007 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43008 Likewise.
43009 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43010 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43011 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43012
b53ef01a
AS
43013 * sysdeps/powerpc/powerpc32/dl-machine.c
43014 (__elf_machine_runtime_setup) [PROF]: Don't reference
43015 _dl_prof_resolve.
43016
7a185db2
AJ
430172012-05-18 Andreas Jaeger <aj@suse.de>
43018
43019 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43020 function only available for GCCs before 3.4 since GCC 3.4
43021 introduced a builtin.
43022 (lrint): Likewise.
43023 (llrintf): Likewise.
43024 (llrint): Likewise.
43025 (fmaxf): Likewise.
43026 (fmax): Likewise.
43027 (fminf): Likewise.
43028 (fmin): Likewise.
43029 (rint): Likewise.
43030 (rintf): Likewise.
43031 (nearbyint): Likewise.
43032 (nearbyintf): Likewise.
43033 (ceil): Likewise.
43034 (ceilf): Likewise.
43035 (floor): Likewise.
43036 (floorf): Likewise.
43037
3e5aef87
L
430382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43039
428bd707
L
43040 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43041 on both fields and cast pointer to __syscall_ulong_t.
43042
3e5aef87
L
43043 * bits/types.h (__fsword_t): New type.
43044 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43045 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43046 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43047 (__FSWORD_T_TYPE): Likewise.
43048 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43049 (__FSWORD_T_TYPE): Likewise.
43050 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43051 (__FSWORD_T_TYPE): Likewise.
43052 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43053 (__FSWORD_T_TYPE): Likewise.
43054 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43055 __SWORD_TYPE with __fsword_t.
43056 (statfs64): Likewise.
43057
1ba7c3dc
DM
430582012-05-17 David S. Miller <davem@davemloft.net>
43059
43060 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43061
59910343
AJ
430622012-05-17 Andreas Jaeger <aj@suse.de>
43063
43064 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43065 warning.
43066
2e4c1e9e
L
430672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43068
43069 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43070
de7f5ce7
AJ
430712012-05-17 Andreas Jaeger <aj@suse.de>
43072
43073 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43074 when it is used.
43075
286abc3d
CM
430762012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43077
43078 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43079
477cc68e
L
430802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43081
43082 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43083 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43084
1a0994f5
CD
430852012-05-17 Andreas Jaeger <aj@suse.de>
43086 Carlos O'Donell <carlos_odonell@mentor.com>
43087
43088 [BZ #14059]
43089 * sysdeps/x86_64/multiarch/init-arch.h
43090 (bit_YMM_Usable): Rename to...
43091 (bit_AVX_Usable): ... this.
43092 (bit_FMA4_Usable): New macro.
43093 (bit_XMM_state): New macro.
43094 (bit_YMM_state): New macro.
43095 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43096 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43097 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43098 (CPUID_OSXSAVE): New macro.
43099 (CPUID_AVX): New macro.
43100 (CPUID_FMA4): New macro.
43101 (index_YMM_Usable): Rename to...
43102 (index_AVX_Usable): ... this.
43103 (HAS_AVX): Use HAS_ARCH_FEATURE.
43104 (HAS_FMA4): Likewise.
43105 (HAS_YMM_USABLE): Remove.
43106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43107 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43108 are present.
43109 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43110 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43111 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43112 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43113 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43114
0af797de
CM
431152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43116
43117 * math/libm-test.c: Support platforms without multiple rounding modes.
43118 * math/bug-nextafter.c: Support platforms without FP exceptions.
43119 * math/bug-nexttoward.c: Likewise.
43120 * math/test-fenv.c: Likewise.
43121 * math/test-misc.c: Likewise.
43122 * stdlib/bug-getcontext.c: Likewise.
43123
e39745ff
AJ
431242012-05-17 Andreas Jaeger <aj@suse.de>
43125
43126 * manual/examples/search.c (critter_cmp): Change signature to
43127 avoid warnings.
43128 * manual/string.texi (Collation Functions): Likewise.
43129
48970aba
L
431302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43131
43132 * bits/types.h: Fold copyright years.
43133 * bits/typesizes.h: Likewise.
43134 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43135 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43136 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43138 * time/time.h: Likewise.
43139
bedee953
PP
431402012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43141
43142 [BZ #208]
43143 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43144 in instead of returning them. Return void.
43145 (__libc_mallinfo): Accumulate over all arenas.
43146 (__malloc_stats): Adjust for change in int_mallinfo interface.
43147
61653dfb
RM
431482012-05-16 Roland McGrath <roland@hack.frob.com>
43149
30b99d79
RM
43150 [BZ #10375]
43151 * configure.in (NM): Add AC_CHECK_TOOL for it.
43152 (libc_extra_cflags): New substituted variable.
43153 Check for -fstack-protector being used implicitly.
43154 * configure: Regenerated.
43155 * config.make.in (config-extra-cflags): New variable,
43156 gets @libc_extra_cflags@.
43157 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43158
61653dfb
RM
43159 [BZ #10375]
43160 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43161 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43162 * configure: Regenerated.
43163 * config.make.in (CPPUNDEFS): New substituted variable.
43164 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43165 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43166 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43167
661768bb
L
431682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43169
43170 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43171 (mq_attr): Use __syscall_slong_t.
43172
d4261567
L
431732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43174
43175 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43176 Check __x86_64__ instead of __WORDSIZE.
43177 (_STAT_VER_LINUX): Likewise.
43178 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43179 __syscall_ulong_t and __syscall_slong_t.
43180 (stat64): Likewise.
43181
cf3ff365
L
431822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43183
43184 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43185
76cf3e4d
L
431862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43187
43188 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43189
a637753a
L
431902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43191
43192 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43193 __syscall_ulong_t.
43194
d5e05119
L
43195 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43196 include <bits/wordsize.h>. Check __x86_64__ instead of
43197 __WORDSIZE.
43198 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43199 defined.
43200 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43201
f62ee380
L
43202 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43203 include <bits/wordsize.h>. Check __x86_64__ instead of
43204 __WORDSIZE.
43205 (user_regs_struct): Use "__extension__ unsigned long long"
43206 instead of "unsigned long" if __x86_64__ is defined.
43207 (user): Likewise. Pad after pointer field if __ILP32__ is
43208 defined.
43209
4e124ced
JM
432102012-05-16 Joseph Myers <joseph@codesourcery.com>
43211
6a3951a0
JM
43212 * configure.in (makeinfo): Require version 4.5 or later. Allow
43213 versions 5 to 9.
43214 * configure: Regenerated.
43215 * manual/install.texi (texinfo): Increase version requirement to
43216 4.5 or later.
43217 * INSTALL: Regenerated.
43218
4e124ced
JM
43219 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43220
953ca31a
L
432212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43222
43223 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43224
617aca05
L
43225 * sysdeps/x86_64/x32/ffs.c: New file.
43226
5762f7ae
L
43227 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43228 __syscall_ulong_t.
43229 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43230 defined. Use __syscall_ulong_t.
43231 (shminfo): Use __syscall_ulong_t.
43232 (shm_info): Likewise.
43233
a26b6856
L
43234 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43235 __syscall_ulong_t.
43236
cb2b9ef7
L
43237 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43238 <bits/wordsize.h>.
43239 (msgqnum_t): Use __syscall_ulong_t.
43240 (msglen_t): Likewise.
43241 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43242 __syscall_ulong_t.
43243
34683bb0
L
43244 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43245 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43246
84a68786
L
43247 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43248
48baa5f1
L
43249 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43250 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43251
180be88b
L
43252 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43253 __syscall_slong_t.
43254
5e90c8ad
L
43255 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43256 include <bits/wordsize.h>. Check __x86_64__ instead of
43257 __WORDSIZE.
43258
23dfb58b
L
43259 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43260 "unsigned long long int" if __x86_64__ is defined.
43261 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43262
ce5d54b0
L
43263 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43264 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43265 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43266
13dc9eac
L
43267 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43268 <stdint.h>.
43269 (GET_PC): Cast to uintptr_t first.
43270 (GET_FRAME): Likewise.
43271 (GET_STACK): Likewise.
43272
a7895d15
L
43273 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43274 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43275 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43276 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43277 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43278 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43279 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43280 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43281 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43282 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43283 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43284 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43285 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43286 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43287 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43288 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43289 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43290 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43291 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43292 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43293 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43294 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43295 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43296 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43297 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43298 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43299 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43300 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43301 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43302
656416c9
AS
433032012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43304
5bd66283
AS
43305 * Makerules (+depfiles): Also collect depfiles from .oS in
43306 $(extra-objs).
43307 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43308 .oS, $(libnldbl-routines)).
43309
656416c9
AS
43310 * Makerules (native-compile-mkdep-flags): Define.
43311 * sunrpc/Makefile (extra-objs): Add $(addprefix
43312 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43313 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43314 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43315 calling $(make-target-directory).
43316
a46f2169
L
433172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43318
43319 * bits/types.h (__snseconds_t): Removed.
43320 * time/time.h (struct timespec): Replace __snseconds_t with
43321 __syscall_slong_t.
43322 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43323 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43324 Likewise.
43325 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43326 (__SNSECONDS_T_TYPE): Likewise.
43327 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43328 (__SNSECONDS_T_TYPE): Likewise.
43329 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43330 (__SNSECONDS_T_TYPE): Likewise.
43331
6af6528b
L
433322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43333
43334 * sysdeps/mach/hurd/bits/typesizes.h
43335 (__SYSCALL_SLONG_TYPE): New macro.
43336 (__SYSCALL_ULONG_TYPE): Likewise.
43337
de986b56
L
433382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43339
43340 * bits/types.h (__syscall_slong_t): New type.
43341 (__syscall_ulong_t): Likewise.
43342
43343 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43344 (__SYSCALL_ULONG_TYPE): Likewise.
43345 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43346 (__SYSCALL_SLONG_TYPE): Likewise.
43347 (__SYSCALL_ULONG_TYPE): Likewise.
43348 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43349 (__SYSCALL_SLONG_TYPE): Likewise.
43350 (__SYSCALL_ULONG_TYPE): Likewise.
43351 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43352 (__SYSCALL_SLONG_TYPE): Likewise.
43353 (__SYSCALL_ULONG_TYPE): Likewise.
43354
85736dc7
L
433552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43356
43357 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43358 Add sigaltstack-offsets.sym.
43359 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43360 <sigaltstack-offsets.h>.
43361 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43362 longjmp_msg pointer.
43363 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43364 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43365 signal stack.
43366 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43367
cc03b296
JM
433682012-05-15 Joseph Myers <joseph@codesourcery.com>
43369
a9538892
JM
43370 * elf/stackguard-macros.h: Remove file.
43371 * sysdeps/generic/stackguard-macros.h: New file.
43372 * sysdeps/i386/stackguard-macros.h: Likewise.
43373 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43374 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43375 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43376 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43377 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43378 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43379 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43380 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43381 <elf/stackguard-macros.h>.
43382
cc03b296
JM
43383 [BZ #14109]
43384 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43385 __aligned__ in attribute.
43386 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43387 (gregset_t): Likewise.
43388
93171016
L
433892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43390
43391 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43392 * sysdeps/x86_64/64/Implies-after: Here. New file.
43393 * sysdeps/x86_64/x32/Implies-after: New file.
43394
d86813a0
L
433952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43396
43397 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43398 and access return value for _dl_profile_fixup. Use R10_LP to
43399 load frame size.
43400
2953ec75
L
434012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43402
43403 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43404
3b550e9e
L
434052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43406
43407 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43408 * sysdeps/x86_64/x32/sysdep.h: New file.
43409
eda41706
L
434102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43411
43412 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43413 * sysdeps/x86_64/setjmp.S: Likewise.
43414
9ea01d93
AZ
434152012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43416
43417 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43418 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43419 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43420 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43421 remove unused global constant.
43422
02a91938
CM
434232012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43424
43425 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43426 include of <not-cancel.h>.
43427
6540185f
RM
434282012-05-15 Roland McGrath <roland@hack.frob.com>
43429
43430 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43431
509072a0
AJ
434322012-05-15 Jeff Law <law@redhat.com>
43433 Andreas Jaeger <aj@suse.de>
43434
43435 [BZ #13594]
43436 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43437 out from...
43438 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43439 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43440 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43441 code changing __hst_map_handle.map.
43442
ba75122d
RM
434432012-05-15 Roland McGrath <roland@hack.frob.com>
43444
43445 * configure.in (sysnames): Look for Implies-before and Implies-after
43446 files.
43447 * configure: Regenerated.
43448
890d8bd8
L
434492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43450
43451 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43452 8-byte data alignment with LP_SIZE alignment.
43453
f6ee6623
L
434542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43455
43456 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43457 into R10_LP.
43458
ea2626f6
L
434592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43460
43461 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43462
085f715e
L
434632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43464
43465 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43466 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43467 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43468 Likewise.
43469 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43470
be8498fc
L
434712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43472
43473 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43474 (stackinfo_sub_sp): Likewise.
43475
70bc83b9
L
434762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43477
43478 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43479 RAX_LP.
43480
9bc0b730
L
434812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43482
43483 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43484 into R*_LP.
43485
6d2850e7
L
434862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43487
43488 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43489 sizes into R*_LP.
43490
3cb84561
L
434912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43492
43493 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43494
54e2ed81
L
434952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43496
43497 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43498 into R11_LP and load __x86_64_shared_cache_size_half into
43499 R8_LP.
43500
8a17f349
L
435012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43502
43503 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43504 R8_LP.
43505
777b1eea
AZ
435062012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43507
43508 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43509 logb for POWER7.
43510 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43511 logbf for POWER7.
43512 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43513 logbl for POWER7.
43514 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43515 powerpc32/power7/fpu/s_logb.c via #include.
43516 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43517 powerpc32/power7/fpu/s_logbf.c via #include.
43518 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43519 powerpc32/power7/fpu/s_logbl.c via #include.
43520
d20d4ac2
JM
435212012-05-15 Joseph Myers <joseph@codesourcery.com>
43522
43523 * README.libm: Remove file.
43524
6cdef1ab
L
435252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43526
43527 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43528 count for x32. Use R*_LP and omit operand-size suffix.
43529
0b254d8f
L
435302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43531
43532 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43533 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43534 * sysdeps/x86_64/x32/shlib-versions: New file.
43535
ceb809dc
RM
435362012-05-14 Roland McGrath <roland@hack.frob.com>
43537
43538 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43539 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43540 Use _dl_fatal_printf instead.
43541
37f1abd4
JM
435422012-05-14 Joseph Myers <joseph@codesourcery.com>
43543
43544 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43545 set if not set by the user. Do not allow for being unset.
43546 * sysdeps/unix/sysv/linux/configure: Regenerated.
43547
11de3a33
L
435482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43549
43550 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43551 the `q' suffix from lea and replace .quad with ASM_ADDR.
43552
e02f153a
L
435532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43554
43555 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43556 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43557 instead of $17.
43558 (PTR_DEMANGLE): Likewise.
43559
520ae0fd
L
435602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43561
43562 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43563 (LP_OP): Likewise.
43564 (ASM_ADDR): Likewise.
43565 (RAX_LP): Likewise.
43566 (RBP_LP): Likewise.
43567 (RBX_LP): Likewise.
43568 (RCX_LP): Likewise.
43569 (RDI_LP): Likewise.
43570 (RSI_LP): Likewise.
43571 (RSP_LP): Likewise.
43572 (R8_LP): Likewise.
43573 (R9_LP): Likewise.
43574 (R10_LP): Likewise.
43575 (R10_LP): Likewise.
43576 (R11_LP): Likewise.
43577 (R12_LP): Likewise.
43578 (R13_LP): Likewise.
43579 (R14_LP): Likewise.
43580 (R15_LP): Likewise.
43581
b985be81
L
435822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43583
43584 * sysdeps/x86_64/x32/dl-machine.h: New file.
43585
6a4888ff
AJ
435862012-05-14 Andreas Jaeger <aj@suse.de>
43587
43588 * manual/Makefile (subdir): Remove export of subdir.
43589 (all): Remove target.
43590 (.PHONY): Remove all from list.
43591 (mkinstalldirs): Remove.
43592 (.PHONY): Remove installdirs from list.
43593 ($(inst_infodir)/libc.info): Use make-target-directory.
43594 (installdirs): Remove.
43595 (subdir_%): Remove.
43596 (glibc-targets): Remove.
43597 (lib): Remove.
43598 (stubs): Remove.
43599 ($(objpfx)stubs ../po/manual.pot): Remove.
43600 ($(objpfx)stamp%): Remove.
43601 (make-target-directory): Remove.
43602 (subdir_install): Remove.
43603 (routines): Remove.
43604 (aux): Remove.
43605 (sources): Remove.
43606 (objects): Remove.
43607 (headers): Remove.
43608
43609 [BZ #13750]
43610 * manual/.gitignore: Remove, it's not needed anymore.
43611 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43612 all files in it.
43613 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43614 directory.
43615 (texis): Renamed to $(objpfx)texis.
43616 (texis-path): New, contains path to generated files.
43617 (chapters.%): Use texis-path for complete path, add extra argument
43618 libc-texinfo.sh.
43619 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43620 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43621 (summary,texi, stamp-summary): Use complete path of
43622 files. Generate files in build dir.
43623 (dir-add.texi): Build in build dir.
43624 (libm-err.texi,stamp-libm-err): Likewise.
43625 (version.texi, stamp-version): Likewise.
43626 (.%c.texi): Likewise.
43627 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43628 (mostlyclean): Remove target.
43629 (realclean): Remove target.
43630 (generated): Add new variable with contents from mostlyclean and
43631 realclean, remove entries duplicated in common-mostlyclean, add
43632 stamp-libm-err and stamp-version.
43633 (generated-dirs): Add libc directory.
43634 ($(inst_infodir)/libc.info): Install files from build dir.
43635
43636 * manual/install.texi (Configuring and compiling): Adjust since
43637 the info files are not part of the tar ball anymore.
43638
7ac77294
AJ
436392012-05-14 Andreas Jaeger <aj@suse.de>
43640
43641 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43642 variable.
43643
ffb7875d
JM
436442012-05-14 Joseph Myers <joseph@codesourcery.com>
43645
43646 [BZ #13717]
43647 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43648 to 2.2.0 where earlier.
43649 * sysdeps/unix/sysv/linux/configure: Regenerated.
43650 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43651 Remove conditional code.
43652 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43653 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43654 Remove conditional code.
43655 [!__NR_lchown]: Likewise.
43656 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43657 [__NR_lchown]: Likewise.
43658 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43659 comment referencing __ASSUME_LCHOWN_SYSCALL.
43660 * sysdeps/unix/sysv/linux/i386/sigaction.c
43661 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43662 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43663 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43664 Remove conditional code.
43665 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43666 (__protocol_available): Remove #if 0 code.
43667 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43668 conditional code.
43669 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43670 * sysdeps/unix/sysv/linux/kernel-features.h
43671 (__ASSUME_GETCWD_SYSCALL): Don't define.
43672 (__ASSUME_REALTIME_SIGNALS): Likewise.
43673 (__ASSUME_PREAD_SYSCALL): Likewise.
43674 (__ASSUME_PWRITE_SYSCALL): Likewise.
43675 (__ASSUME_POLL_SYSCALL): Likewise.
43676 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43677 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43678 non-SPARC.
43679 (__ASSUME_SIOCGIFNAME): Don't define.
43680 (__ASSUME_MSG_NOSIGNAL): Likewise.
43681 (__ASSUME_SENDFILE): Define unconditionally.
43682 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43683 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43684 conditional code.
43685 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43686 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43687 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43688 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43689 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43690 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43691 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43693 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43694 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43696 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43697 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43699 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43700 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43702 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43703 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43705 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43706 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43708 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43709 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43711 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43712 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43714 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43715 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43716 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43717 Remove conditional code.
43718 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43719 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43720 Remove conditional code.
43721 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43722 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43723 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43724 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43725 Remove conditional code.
43726 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43727 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43728 Remove conditional code.
43729 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43730 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43731 Remove conditional code.
43732 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43733 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43734 Remove conditional code.
43735 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43736 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43737 Remove conditional code.
43738 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43739 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43740 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43741 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43742 * sysdeps/unix/sysv/linux/sigaction.c
43743 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43744 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43745 * sysdeps/unix/sysv/linux/sigpending.c
43746 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43747 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43748 * sysdeps/unix/sysv/linux/sigprocmask.c
43749 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43750 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43751 * sysdeps/unix/sysv/linux/sigsuspend.c
43752 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43753 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43754 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43755 (__libc_missing_rt_sigs): Remove.
43756 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43757 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43758 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43759 Remove conditional code.
43760 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43761 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43762 return 1.
43763 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43764 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43765 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43766 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43767
1bfb7291
AJ
437682012-05-14 Andreas Jaeger <aj@suse.de>
43769
caae5a81
AJ
43770 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43771 it's not used in glibc.
43772 (__coshm1): Likewise.
43773 (__acosh1p): Likewise.
43774 (__sgn): Likewise.
43775
1bfb7291
AJ
43776 * manual/string.texi (Copying and Concatenation): Add missing
43777 variable in concat example.
43778 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43779
c044d724
L
437802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43781
144c5467 43782 [BZ #14103]
c044d724
L
43783 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43784 __builtin_clzl with __builtin_clzll.
43785
2523c62b
L
437862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43787
43788 [BZ #14104]
43789 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43790 libc_freeres_ptr.
43791
d7bb4c42
LD
437922012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43793
43794 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43795 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43796 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43797 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43798
9dc4e1fb
MF
437992012-05-14 Mike Frysinger <vapier@gentoo.org>
43800
43801 * NEWS: Update ia64 info.
43802
c7df0112
AS
438032012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43804
43805 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43806 used as bcopy.
43807
dc70356c
TS
438082012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43809
43810 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43811 * sysdeps/unix/syscalls.list (dup3): Likewise.
43812 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43813 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43814
9fb1a21f
L
438152012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43816
43817 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43818 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43819
4822a2a5
L
438202012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43821
43822 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43823 thread pointer.
43824 (TLS_IE): Use mov/add instead of movq/addq to load thread
43825 pointer.
43826 (TLS_GD_PREFIX): New.
43827 (TLS_GD): Use it.
43828
842b81d6
DM
438292012-05-11 David S. Miller <davem@davemloft.net>
43830
43831 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43832 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43833 (_FPU_SETCW): Likewise.
43834
1cf463cd
L
438352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43836
43837 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43838 is 32-byte aligned.
43839
60cc4a18
AS
438402012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43841
43842 [BZ #11837]
43843 * iconvdata/gb18030.c: Update tables.
43844 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43845 characters specially.
43846 (BODY for TO_LOOP): Add encoding of missing ranges.
43847
febb44a4
TS
438482012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43849
43850 [BZ #13673]
43851 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43852 * sysdeps/mach/hurd/dup3.c: Likewise.
43853 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43854 * sysdeps/powerpc/memmove.c:: Likewise.
43855
0a10fb9e
L
438562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43857
43858 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43859 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43860
df8a552f
L
438612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43862
43863 * elf/elf.h (R_X86_64_RELATIVE64): New.
43864 (R_X86_64_NUM): Updated.
43865 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43866 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43867 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43868 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43869 tst-quad1pie tst-quad2pie
43870 (modules-names): Add tst-quadmod1 tst-quadmod2.
43871 ($(objpfx)tst-quad1): New dependency.
43872 ($(objpfx)tst-quad2): Likewise.
43873 ($(objpfx)tst-quad1pie): Likewise.
43874 ($(objpfx)tst-quad2pie): Likewise.
43875 * sysdeps/x86_64/tst-quad1.c: New file.
43876 * sysdeps/x86_64/tst-quad1pie.c: New file.
43877 * sysdeps/x86_64/tst-quad2.c: Likewise.
43878 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43879 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43880 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43881 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43882 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43883
f34d6f84
ST
438842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43885
f42d41d1
ST
43886 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43887 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43888 * streams/stropts.h (t_scalar_t): Define type.
43889
3c3571fc
ST
43890 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43891 (_PATH_PRESERVE): Set to "/var/lib".
43892 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43893
61f06bd3
ST
43894 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43895 instead of int.
43896
918d4d71
ST
43897 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43898 if __dir_mkfile succeeded.
43899
f34d6f84
ST
43900 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43901 checking for _hurd_dtablesize. Unlock it right after having
43902 finished _hurd_dtable allocation.
43903
10589b4a
TS
439042012-05-10 Thomas Schwinge <thomas@schwinge.name>
43905
674cdbc7
TS
43906 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43907 * sysdeps/mach/hurd/configure: Regenerated.
43908 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43909 special-casing to...
43910 * sysdeps/gnu/configure.in: ... this new file.
43911 * sysdeps/unix/sysv/linux/configure: Regenerated.
43912 * sysdeps/gnu/configure: New generated file.
43913
8e41b99f
TS
43914 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43915 for Linux: use nsec instead of usec, as well as:
43916 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43917 members of type struct timespec.
43918 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43919 New macros.
43920 (struct stat64): Likewise.
43921 (_STATBUF_ST_NSEC): New macro.
43922 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43923
10589b4a
TS
43924 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43925 __strtoul_internal rather than strtoul.
43926
63643c85
PT
439272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43928
43929 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43930 and reject them.
43931
3faebe6a
ST
439322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43933
43934 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43935 which preserves existing values.
43936 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43937
c6474b07
PT
439382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43939
43940 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43941 TIMEOUT values. Return EINVAL for NFDS values either negative or
43942 greater than FD_SETSIZE.
43943
1043890b
ST
439442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43945
43946 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43947 allocated, call __vm_protect to finish enabling the existing space, and
43948 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43949 allocate the remainder.
43950
37ed8b9b
PT
439512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43952
43953 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43954 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43955
db653660
ST
439562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43957
37ed8b9b
PT
43958 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43959 sysdeps/mach/hurd/readlink.c.
b29d4053 43960
db653660
ST
43961 * posix/tst-sysconf.c (posix_options): Only use
43962 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43963 _POSIX_SYNCHRONIZED_IO when they are defined
43964 * sysdeps/mach/hurd/bits/posix_opt.h:
43965 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43966 (_XOPEN_REALTIME): Undefine macro.
43967 (_XOPEN_REALTIME_THREADS): Undefine macro.
43968 (_XOPEN_SHM): Undefine macro.
43969 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43970 macro to -1.
43971 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43972 macro to -1.
43973 (_POSIX_ASYNC_IO): Undefine macro.
43974 (_POSIX_PRIORITIZED_IO): Undefine macro.
43975 (_POSIX_SPIN_LOCKS): Define macro to -1.
43976
ee16e894
ST
43977 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43978 SA_NODEFER, SA_RESETHAND.
43979 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43980 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43981 F_DUPFD_CLOEXEC.
43982
6103ae3b
TS
439832012-05-10 Thomas Schwinge <thomas@schwinge.name>
43984
43985 * elf/Makefile (pldd-modules): Define unconditionally.
43986
80b4e5f3
TS
439872012-05-10 Thomas Schwinge <thomas@schwinge.name>
43988
43989 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43990
edadcbd6
ST
439912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43992
43993 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43994 Return ENOENT when name is empty.
43995 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43996
80694780
TS
439972012-05-10 Thomas Schwinge <thomas@schwinge.name>
43998
1792c087
TS
43999 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44000
80694780
TS
44001 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44002
6b645f0d
ST
440032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44004
80694780
TS
44005 Fix mlock in all cases except non-readable pages.
44006 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44007 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 44008
6b645f0d
ST
44009 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44010 (__mkdir): When path is `/', just fail with EEXIST.
44011 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44012
e468f8a3
TS
440132012-05-10 Thomas Schwinge <thomas@schwinge.name>
44014
44015 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44016 <sys/uio.h> (for writev).
44017 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44018 and <sys/param.h> (for MIN).
44019
a4186cff
PT
440202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44021
44022 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44023 REQUESTED_TIME. Properly set the remaining time and return EINTR
44024 if interrupted.
44025
510bbf14
TS
440262012-05-10 Thomas Schwinge <thomas@schwinge.name>
44027
44028 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44029 Depend on against $(link-rpcuserlibs).
44030
5d5722e8
ST
440312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44032
a4186cff
PT
44033 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44034 (__libc_stack_end): Do not use attribute_relro.
44035 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44036 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 44037 to libthread-provided value.
a4186cff
PT
44038 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44039 attribute_relro.
5d5722e8 44040
37233df9
TS
440412012-05-10 Thomas Schwinge <thomas@schwinge.name>
44042
be971a2b
TS
44043 [BZ #3748]
44044 * bits/libc-lock.h (__libc_once_get): New macro.
44045 * sysdeps/mach/bits/libc-lock.h: Likewise.
44046 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44047 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44048 instead of using implementation details.
44049
37233df9
TS
44050 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44051 * libio/freopen.c: Likewise.
44052 * libio/freopen64.c: Likewise.
44053 * misc/syslog.c: Likewise.
44054 * nscd/connections.c: Likewise.
44055 * nscd/netgroupcache.c: Likewise.
44056 * sysdeps/posix/getcwd.c: Likewise.
44057
38de94a5
RM
440582012-05-10 Roland McGrath <roland@hack.frob.com>
44059
44060 * math/w_ilogbf.c: Add #include <limits.h>.
44061
67530489
ST
440622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44063
a4186cff 44064 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
44065 path instead of returning without unlocking.
44066
67530489
ST
44067 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44068 immediate-write ioctls.
44069 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44070
5aa3a74a
TS
440712012-05-10 Thomas Schwinge <thomas@schwinge.name>
44072
18bad2ae
TS
44073 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44074 __builtin_frame_address instead of making assumptions about the
44075 location of the return address relative to DATA. Force early load of
44076 the return address.
44077 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44078 __builtin_frame_address.
44079
5aa3a74a
TS
44080 dup3 for GNU Hurd.
44081 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44082 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44083 implement dup3 and do some further code clean-ups.
44084 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44085 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44086
ecd0de9a
ST
440872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44088
cd9fa985
ST
44089 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44090
a4186cff
PT
44091 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44092 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44093 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44094 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44095 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44096 d->port.lock.
802ca5a5 44097
a4186cff
PT
44098 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44099 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44100 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 44101
bcf55240
TS
441022012-05-10 Thomas Schwinge <thomas@schwinge.name>
44103
6960eb42
TS
44104 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44105 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44106 definitions.
44107
eb43375f
TS
44108 accept4 for GNU Hurd.
44109 * include/sys/socket.h (__libc_accept4): New prototype.
44110 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44111 to implement __libc_accept4.
44112 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44113 __libc_accept4.
44114 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44115
bcf55240
TS
44116 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44117 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44118 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44119 signal-defines.sym.
44120
6178c55b
ST
441212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44122
a4186cff 44123 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 44124
6f080c2f
TS
441252012-05-10 Thomas Schwinge <thomas@schwinge.name>
44126
44127 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44128 assertion on O_CLOEXEC flag.
44129 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44130 * hurd/intern-fd.c: Likewise.
44131 * hurd/port2fd.c: Likewise.
44132
bcfe3a54
ST
441332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44134
44135 [BZ #3906]
44136 * bits/in.h (IPV6_PKTINFO): Define new macro.
44137 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44138
89c9aa49
AZ
441392012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44140
44141 [BZ #13954]
44142 [BZ #13955]
44143 [BZ #13956]
44144 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44145 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44146 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44147 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44148 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44149 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44150 * math/libm-test.inc (logb_test) : Additional logb tests.
44151
021db4be
AJ
441522012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44153 Andreas Jaeger <aj@suse.de>
44154
44155 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44156 * configure: Regenerated.
44157 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44158 * config.make.in (link-obsolete-rpc): New substituted variable.
44159 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44160 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44161 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44162 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44163 so that libc.a contains the symbols.
44164 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44165 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44166 * sunrpc/auth_none.c: Likewise.
44167 * sunrpc/auth_unix.c: Likewise.
44168 * sunrpc/authdes_prot.c: Likewise.
44169 * sunrpc/authuxprot.c: Likewise.
44170 * sunrpc/clnt_gen.c: Likewise.
44171 * sunrpc/clnt_perr.c: Likewise.
44172 * sunrpc/clnt_raw.c: Likewise.
44173 * sunrpc/clnt_simp.c: Likewise.
44174 * sunrpc/clnt_tcp.c: Likewise.
44175 * sunrpc/clnt_udp.c: Likewise.
44176 * sunrpc/clnt_unix.c: Likewise.
44177 * sunrpc/des_crypt.c: Likewise.
44178 * sunrpc/des_soft.c: Likewise.
44179 * sunrpc/get_myaddr.c: Likewise.
44180 * sunrpc/key_call.c: Likewise.
44181 * sunrpc/key_prot.c: Likewise.
44182 * sunrpc/netname.c: Likewise.
44183 * sunrpc/pm_getmaps.c: Likewise.
44184 * sunrpc/pm_getport.c: Likewise.
44185 * sunrpc/pmap_clnt.c: Likewise.
44186 * sunrpc/pmap_prot.c: Likewise.
44187 * sunrpc/pmap_prot2.c: Likewise.
44188 * sunrpc/pmap_rmt.c: Likewise.
44189 * sunrpc/publickey.c: Likewise.
44190 * sunrpc/rpc_cmsg.c: Likewise.
44191 * sunrpc/rpc_common.c: Likewise.
44192 * sunrpc/rpc_dtable.c: Likewise.
44193 * sunrpc/rpc_prot.c: Likewise.
44194 * sunrpc/rpc_thread.c: Likewise.
44195 * sunrpc/rtime.c: Likewise.
44196 * sunrpc/svc.c: Likewise.
44197 * sunrpc/svc_auth.c: Likewise.
44198 * sunrpc/svc_raw.c: Likewise.
44199 * sunrpc/svc_run.c: Likewise.
44200 * sunrpc/svc_tcp.c: Likewise.
44201 * sunrpc/svc_udp.c: Likewise.
44202 * sunrpc/svc_unix.c: Likewise.
44203 * sunrpc/svcauth_des.c: Likewise.
44204 * sunrpc/xcrypt.c: Likewise.
44205 * sunrpc/xdr.c: Likewise.
44206 * sunrpc/xdr_array.c: Likewise.
44207 * sunrpc/xdr_float.c: Likewise.
44208 * sunrpc/xdr_intXX_t.c: Likewise.
44209 * sunrpc/xdr_mem.c: Likewise.
44210 * sunrpc/xdr_rec.c: Likewise.
44211 * sunrpc/xdr_ref.c: Likewise.
44212 * sunrpc/xdr_sizeof.c: Likewise.
44213 * sunrpc/xdr_stdio.c: Likewise.
44214
b5c086a2
RM
442152012-05-10 Roland McGrath <roland@hack.frob.com>
44216
44217 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44218 change. Update copyright years.
44219
6d74dd09
JM
442202012-05-10 Joseph Myers <joseph@codesourcery.com>
44221
44222 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44223
28e72501
MK
442242012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44225 Joseph Myers <joseph@codesourcery.com>
44226 Paul Pluzhnikov <ppluzhnikov@google.com>
44227
44228 [BZ #14012]
44229 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44230 requiring rpcgen.
44231 [cross-compiling] (extra-libs): Likewise.
44232 [cross-compiling] (extra-libs-others): Likewise.
44233 [cross-compiling] (librpcsvc-routines): Likewise.
44234 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44235 [cross-compiling] (omit-deps): Likewise.
44236 (sunrpc-CPPFLAGS): New variable.
44237 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44238 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44239 (cross-rpcgen-objs): New variable.
44240 (extra-objs): Append $(cross-rpcgen-objs).
44241 ($(cross-rpcgen-objs)): New rule.
44242 ($(objpfx)cross-rpcgen): Likewise.
44243 (rpcgen-cmd): Define to use $(built-program-file). Expand
44244 comment.
44245 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44246 ($(objpfx)x%.stmp): Likewise.
44247 * sunrpc/proto.h [IS_IN_build] (_): Define.
44248 [IS_IN_build] (_libc_intl_domainname): Likewise.
44249
c8c59454
L
442502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44251
44252 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44253 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44254 and R_X86_64_TPOFF64.
44255
6f27cd16
JM
442562012-05-10 Joseph Myers <joseph@codesourcery.com>
44257
44258 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44259 sysdeps/unix/sysv/syscalls.list.
44260 (stime): Likewise.
44261 (utime): Likewise.
44262 * sysdeps/unix/sysv/syscalls.list: Remove file.
44263
02467e1c
PE
442642012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44265
44266 [BZ #3440]
44267 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44268 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44269 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44270 (__LC_IDENTIFICATION): Make these macros useful in #if
44271 expressions, as required by C99.
44272
da392631
AS
442732012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44274
44275 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44276 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44277 after this.
44278
8115f29b
L
442792012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44280
44281 * stdlib/longlong.h: Updated from GCC.
44282
bdd74070
AJ
442832012-05-09 Andreas Jaeger <aj@suse.de>
44284
edfe0dbe
AJ
44285 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44286 default is first entry.
44287 (run_mode): Set type.
44288 (main): Remove informal message about syslog.
44289 (options): Fix typo.
44290
bcfe3a54
ST
44291 [BZ #14053]
44292 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 44293 to asm.
bcfe3a54
ST
44294 (lrint): Likewise.
44295 (llrintf): Likewise.
44296 (llrint): Likewise.
44297 (rint): Likewise.
44298 (rintf): Likewise.
44299 (nearbyint): Likewise.
44300 (nearbyintf): Likewise.
bdd74070 44301
91d8d69e
AJ
443022012-05-09 Andreas Jaeger <aj@suse.de>
44303 Pedro Alves <palves@redhat.com>
44304
44305 * nscd/nscd.c (run_mode): Use enum.
44306 (main): Cleanup coding style issue.
44307
bb90b80b
AJ
443082012-05-09 Alexandre Oliva <aoliva@redhat.com>
44309 Andreas Jaeger <aj@suse.de>
44310
bcfe3a54
ST
44311 * nscd/nscd.c (go_background): Replaced with...
44312 (run_mode): ... this.
bb90b80b 44313 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
44314 (options): Add -F --foreground.
44315 (main): Implement it.
44316 (parse_opt): Parse it.
bb90b80b 44317
1a4b75a1
AJ
443182012-05-09 Andreas Jaeger <aj@suse.de>
44319
44320 [BZ #14083]
44321 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44322 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44323 -Wconversion warning.
44324 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44325 Likewise.
44326
b1cc2472
JM
443272012-05-09 Joseph Myers <joseph@codesourcery.com>
44328
44329 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44330 == 0.
44331 (LC_ALL): Use macro-int-constant.
44332 (LC_COLLATE): Likewise.
44333 (LC_CTYPE): Likewise.
44334 (LC_MESSAGES): Likewise.
44335 (LC_MONETARY): Likewise.
44336 (LC_NUMERIC): Likewise.
44337 (LC_TIME): Likewise.
44338 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44339 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44340 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44341 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44342 Specify type.
44343 [C99-based standards] (float_t): Expect type.
44344 [C99-based standards] (double_t): Expect type.
44345 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44346 type.
44347 [C99-based standards] (HUGE_VALL): Likewise.
44348 [C99-based standards] (INFINITY): Likewise.
44349 [C99-based standards] (NAN): Likewise.
44350 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44351 [C99-based standards] (FP_NAN): Likewise.
44352 [C99-based standards] (FP_NORMAL): Likewise.
44353 [C99-based standards] (FP_SUBNORMAL): Likewise.
44354 [C99-based standards] (FP_ZERO): Likewise.
44355 [C99-based standards] (FP_FAST_FMA): Use
44356 optional-macro-int-constant. Specify type. Require == 1.
44357 [C99-based standards] (FP_FAST_FMAF): Likewise.
44358 [C99-based standards] (FP_FAST_FMAL): Likewise.
44359 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44360 [C99-based standards] (FP_ILOGBNAN): Likewise.
44361 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44362 Specify type.
44363 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44364 [C99-based standards] (math_errhandling): Specify type.
44365 [ISO99 || ISO11] (signgam): Do not allow.
44366 [non-C99-based standards] (copysignf): Do not allow.
44367 [non-C99-based standards] (exp2f): Likewise.
44368 [non-C99-based standards] (log2f): Likewise.
44369 [non-C99-based standards] (modff): Allow.
44370 [non-C99-based standards] (erff): Do not allow.
44371 [non-C99-based standards] (erfcf): Likewise.
44372 [non-C99-based standards] (gammaf): Likewise.
44373 [non-C99-based standards] (hypotf): Likewise.
44374 [non-C99-based standards] (j0f): Likewise.
44375 [non-C99-based standards] (j1f): Likewise.
44376 [non-C99-based standards] (jnf): Likewise.
44377 [non-C99-based standards] (lgammaf): Likewise.
44378 [non-C99-based standards] (tgammaf): Likewise.
44379 [non-C99-based standards] (y0f): Likewise.
44380 [non-C99-based standards] (y1f): Likewise.
44381 [non-C99-based standards] (ynf): Likewise.
44382 [non-C99-based standards] (isnanf): Likewise.
44383 [non-C99-based standards] (acoshf): Likewise.
44384 [non-C99-based standards] (asinhf): Likewise.
44385 [non-C99-based standards] (atanhf): Likewise.
44386 [non-C99-based standards] (cbrtf): Likewise.
44387 [non-C99-based standards] (expm1f): Likewise.
44388 [non-C99-based standards] (ilogbf): Likewise.
44389 [non-C99-based standards] (log1pf): Likewise.
44390 [non-C99-based standards] (logbf): Likewise.
44391 [non-C99-based standards] (nextafterf): Likewise.
44392 [non-C99-based standards] (remainderf): Likewise.
44393 [non-C99-based standards] (rintf): Likewise.
44394 [non-C99-based standards] (scalbf): Likewise.
44395 [non-C99-based standards] (copysignl): Likewise.
44396 [non-C99-based standards] (exp2l): Likewise.
44397 [non-C99-based standards] (log2l): Likewise.
44398 [non-C99-based standards] (modfl): Allow.
44399 [non-C99-based standards] (erfl): Do not allow.
44400 [non-C99-based standards] (erfcl): Likewise.
44401 [non-C99-based standards] (gammal): Likewise.
44402 [non-C99-based standards] (hypotl): Likewise.
44403 [non-C99-based standards] (j0l): Likewise.
44404 [non-C99-based standards] (j1l): Likewise.
44405 [non-C99-based standards] (jnl): Likewise.
44406 [non-C99-based standards] (lgammal): Likewise.
44407 [non-C99-based standards] (tgammal): Likewise.
44408 [non-C99-based standards] (y0l): Likewise.
44409 [non-C99-based standards] (y1l): Likewise.
44410 [non-C99-based standards] (ynl): Likewise.
44411 [non-C99-based standards] (isnanl): Likewise.
44412 [non-C99-based standards] (acoshl): Likewise.
44413 [non-C99-based standards] (asinhl): Likewise.
44414 [non-C99-based standards] (atanhl): Likewise.
44415 [non-C99-based standards] (cbrtl): Likewise.
44416 [non-C99-based standards] (expm1l): Likewise.
44417 [non-C99-based standards] (ilogbl): Likewise.
44418 [non-C99-based standards] (log1pl): Likewise.
44419 [non-C99-based standards] (logbl): Likewise.
44420 [non-C99-based standards] (nextafterl): Likewise.
44421 [non-C99-based standards] (remainderl): Likewise.
44422 [non-C99-based standards] (rintl): Likewise.
44423 [non-C99-based standards] (scalbl): Likewise.
44424 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44425 [non-C99-based standards] (FP_*): Do not allow.
44426 [C99-based standards] (FP_*): Change to
44427 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44428 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44429 allow.
44430 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44431 (SIG_ERR): Likewise.
44432 [X/Open-based standards] (SIG_HOLD): Likewise.
44433 (SIG_IGN): Likewise.
44434 (SIGABRT): Use macro-int-constant. Specify type. Require
44435 positive value.
44436 (SIGFPE): Likewise.
44437 (SIGILL): Likewise.
44438 (SIGINT): Likewise.
44439 (SIGSEGV): Likewise.
44440 (SIGTER): Likewise.
44441 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44442 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44443 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44444 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44445 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44446 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44447 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44448 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44449 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44450 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44451 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44452 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44453 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44454 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44455 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44456 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44457 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44458 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44459 [X/Open-based standards] (SIGTRAP): Likewise.
44460 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44461 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44462 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44463 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44464 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44465 allow.
44466
b9f1922d
IW
444672012-05-08 Ian Wienand <ianw@vmware.com>
44468
44469 [BZ #14080]
44470 * time/tzset.c (__tzset_parse_tz): Update default rules for
44471 daylight time changes in the Energy Policy Act of 2005.
44472
1db86e88
AJ
444732012-05-09 Andreas Jaeger <aj@suse.de>
44474
44475 [BZ #13983]
44476 * elf/ldconfig.c (parse_conf): Change string to make clear that
44477 ldconfig only issued a warning if ld.so.conf does not exist.
44478
dee4a4e3
DM
444792012-05-08 David S. Miller <davem@davemloft.net>
44480
ee0db190
DM
44481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44482 movxtod instead of popping the value on the stack.
44483
dee4a4e3
DM
44484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44485
6a43ec98
CD
444862012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44487
44488 * config.h.in: Add HAVE_ARM_PCS_VFP.
44489
05c2c961
RMG
444902012-05-08 Roland Mc Grath <roland@hack.frob.com>
44491
bcfe3a54
ST
44492 [BZ #13979]
44493 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44494 checking but the checks are disabled for any reason.
05c2c961 44495
4b30f61a
L
444962012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44497
44498 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44499 and ELF64_R_TYPE with ELFW(R_TYPE).
44500
eee2bc67
JM
445012012-05-08 Joseph Myers <joseph@codesourcery.com>
44502
7ea5391a
JM
44503 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44504 (ulimit): Likewise.
44505
eee2bc67
JM
44506 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44507 (settimeofday): Likewise.
44508
abb66a67
MF
445092012-05-08 Mike Frysinger <vapier@gentoo.org>
44510
44511 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44512 a struct th_u2 inside the union, and move tu_block/tu_code into
44513 a new th_u3 union of tu_block/tu_code inside of that. Move
44514 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44515 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44516 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44517 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44518 (th_stuff): Change to th_u1.tu_stuff.
44519 (th_data): Define.
44520 (th_msg): Change to th_u1.th_u2.tu_data.
44521
7f18b530
DM
445222012-05-07 David S. Miller <davem@davemloft.net>
44523
05760585
DM
44524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44525
7f18b530
DM
44526 [BZ #14074]
44527 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44528 (SETUP_PIC_REG): Use it.
44529 (SETUP_PIC_REG_LEAF): Use it.
44530
495fd99f
JM
445312012-05-07 Joseph Myers <joseph@codesourcery.com>
44532
44533 [BZ #13885]
44534 [BZ #13923]
44535 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44536 USE_AS_EXPM1L.
44537 (EXPL_FINITE): Likewise.
44538 (FLDLOG): Likewise.
44539 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44540 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44541 e_expl.S.
44542 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44543 USE_AS_EXPM1L.
44544 (EXPL_FINITE): Likewise.
44545 (FLDLOG): Likewise.
44546 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44547 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44548 e_expl.S.
44549 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44550 test of -max_value argument for long double.
44551 * sysdeps/i386/fpu/libm-test-ulps: Update.
44552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44553
6693d694
DM
445542012-05-06 David S. Miller <davem@davemloft.net>
44555
44556 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44557 quad soft-float symbols whose references which are compiler
44558 generated.
44559 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44560
6c23e11c
JM
445612012-05-06 Joseph Myers <joseph@codesourcery.com>
44562
d8b82cad
JM
44563 [BZ #13884]
44564 [BZ #13914]
44565 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44566 USE_AS_EXP10L.
44567 (EXPL_FINITE): Likewise.
44568 (FLDLOG): Likewise.
44569 (c0): Likewise.
44570 (c1): Likewise.
44571 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44572 Adjust comments for base varying.
44573 (__expl_finite): Change alias to EXPL_FINITE.
44574 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44575 e_expl.S.
44576 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44577 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44578 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44579 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44580 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44581 USE_AS_EXP10L.
44582 (EXPL_FINITE): Likewise.
44583 (FLDLOG): Likewise.
44584 (c0): Likewise.
44585 (c1): Likewise.
44586 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44587 Adjust comments for base varying.
44588 (__expl_finite): Change alias to EXPL_FINITE.
44589 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44590 tests for bugs.
44591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44592
6c23e11c
JM
44593 [BZ #14064]
44594 * math/libm-test.inc (check_float_internal): Correct ulp
44595 calculation for subnormal expected results.
44596
29ba805c
AJ
445972012-05-06 Andreas Jaeger <aj@suse.de>
44598
44599 * Makeconfig (+math-flags): New, set to -frounding-math.
44600 (+cflags): Add +math-flags so that all of glibc gets compiled with
44601 it.
44602
44603 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44604
7b17aeda
JM
446052012-05-05 Joseph Myers <joseph@codesourcery.com>
44606
5779f134
JM
44607 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44608 Disable one test.
44609
41498f4d
JM
44610 [BZ #13787]
44611 [BZ #13922]
44612 [BZ #14036]
44613 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44614 (__ieee754_expl): Allow for and saturate large arguments.
44615 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44616 (u_threshold): Likewise.
44617 (__exp): Call __ieee754_exp before checking for overflow and
44618 underflow.
44619 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44620 (u_threshold): Likewise.
44621 (__expf): Call __ieee754_expf before checking for overflow and
44622 underflow.
44623 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44624 (u_threshold): Likewise.
44625 (__expl): Call __ieee754_expl before checking for overflow and
44626 underflow.
44627 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44628 (__ieee754_expl): Allow for and saturate large arguments.
44629 * math/libm-test.inc (exp_test): Add another test. Do not allow
44630 missing overflow exception on overflow.
44631 (expm1_test): Do not allow missing overflow exception on overflow.
44632
6698b8bf
JM
44633 * sysdeps/i386/fpu/e_expl.c: Move to ...
44634 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44635 rather than using inline asm.
44636 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44637 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44638 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44639
7b17aeda
JM
44640 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44641 (nice): Likewise.
44642 (poll): Likewise.
44643 (signal): Likewise.
44644 (time): Likewise.
44645 (times): Likewise.
44646
f7c85819
JM
446472012-05-04 Joseph Myers <joseph@codesourcery.com>
44648
44649 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44650 sysdeps/unix/common/syscalls.list.
44651 (fchmod): Likewise.
44652 (fchown): Likewise.
44653 (ftruncate): Likewise.
44654 (getrusage): Likewise.
44655 (gettimeofday): Likewise.
44656 (setpgid): Likewise.
44657 (setregid): Likewise.
44658 (setreuid): Likewise.
44659 (sigaction): Likewise.
44660 (truncate): Likewise.
44661 (vhangup): Likewise.
44662 * sysdeps/unix/common/syscalls.list: Remove file.
44663 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44664 * sysdeps/unix/sysv/linux/Implies: Likewise.
44665
336270d0
L
446662012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44667
44668 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44670 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44671 Moved to ...
44672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44673 Here.
44674 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44675 to ...
44676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44677 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44678 to ...
44679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44680 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44681 to ...
44682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44683 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44684 to ...
44685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44686 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44687 to ...
44688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44689 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44690 to ...
44691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44692 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44693 to ...
44694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44695 Here.
44696 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44697 to ...
44698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44699 Here.
44700 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44701 to ...
44702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44703 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44704 Moved to ...
44705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44706 Here.
44707 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44708 to ...
44709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44710
d128e450
JM
447112012-05-04 Joseph Myers <joseph@codesourcery.com>
44712
fa8ee516
JM
44713 * sysdeps/unix/common/bits/dirent.h: Remove file.
44714 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44715
d128e450
JM
44716 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44717 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44718 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44719 * sysdeps/unix/bsd/isatty.c: Likewise.
44720 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44721 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44722 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44723
ff8faaf0 447242012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 44725
62881be4 44726 [BZ #13563]
31dc8730
AZ
44727 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44728 long double comparison inaccuracies.
44729 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44731
6fef930c
AS
447322012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44733
44734 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44735 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44736
8f203e6c
JM
447372012-05-04 Joseph Myers <joseph@codesourcery.com>
44738
44739 [BZ #14049]
44740 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44741 nonzero digits before rounding a hex value.
44742 * stdlib/tst-strtod.c (tests): Add another test.
44743
5197d9c2
AK
447442012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44745
44746 * sysdeps/s390/fpu/libm-test-ulps: Update.
44747
f0c1dedf
AJ
447482012-05-03 Andreas Jaeger <aj@suse.de>
44749
44750 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44751 does not get optimized out.
44752 (malloc_opt_barrier): New.
44753
a65ef2ae 447542012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 44755 Roland McGrath <roland@hack.frob.com>
a65ef2ae 44756
2b942cb7 44757 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 44758 intermediate file deletion.
2b942cb7 44759 (generated): Add .symlist files.
a65ef2ae 44760
54b71e02
JM
447612012-05-03 Joseph Myers <joseph@codesourcery.com>
44762
44763 [BZ #13775]
44764 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44765 Redirect under this condition.
44766 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44767 [__USE_GNU] (__dprintf_chk): Not under this condition.
44768 [__USE_GNU] (__vdprintf_chk): Likewise.
44769 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44770 under this condition.
44771 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44772 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44773 [__USE_XOPEN2K8] (vdprintf): Likewise.
44774 [__USE_GNU] (__dprintf_chk): Not under this condition.
44775 [__USE_GNU] (__vdprintf_chk): Likewise.
44776 [__USE_GNU] (dprintf): Likewise.
44777 [__USE_GNU] (vdprintf): Likewise.
44778
d3dfcc41
RM
447792012-05-03 Roland McGrath <roland@hack.frob.com>
44780
44781 * elf/Makefile (common-generated): Set this instead of generated for
44782 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44783 $(all-built-dso)-derived lists.
44784
7ac30cc5
AJ
447852012-05-03 Andreas Jaeger <aj@suse.de>
44786
0c51e550
AJ
44787 * sysdeps/i386/fpu/libm-test-ulps: Update.
44788
7ac30cc5
AJ
44789 * FAQ: Removed.
44790 * FAQ.in: Likewise.
44791 * scripts/gen-FAQ.pl: Likewise.
44792 * manual/install.texi (Installation): Point to online location of
44793 FAQ.
44794 * Makefile (files-for-dist): Remove FAQ.
44795 (FAQ): Remove.
44796
d4c2917f
AM
447972012-05-02 Allan McRae <allan@archlinux.org>
44798
44799 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44800 (LDFLAGS-reldepmod5.so): Likewise.
44801 (LDFLAGS-reldep6mod1.so): Likewise.
44802 (LDFLAGS-reldep6mod4.so): Likewise.
44803 (LDFLAGS-reldep8mod3.so): Likewise.
44804 (LDFLAGS-unload4mod1.so): Likewise.
44805 (LDFLAGS-unload4mod2.so): Likewise.
44806 (LDFLAGS-tst-initorder): Likewise.
44807 (LDFLAGS-tst-initordera2.so): Likewise.
44808 (LDFLAGS-tst-initordera3.so): Likewise.
44809 (LDFLAGS-tst-initordera4.so): Likewise.
44810 (LDFLAGS-tst-initorderb2.so): Likewise.
44811 (LDFLAGS-noload): Likewise.
44812 (LDFLAGS-next): Likewise.
44813 (LDFLAGS-order2mod1.so): Likewise.
44814 (LDFLAGS-order2mod2.so): Likewise.
44815 (LDFLAGS-tst-initorder2): Likewise.
44816 (LDFLAGS-tst-initorder2a.so): Likewise.
44817 (LDFLAGS-tst-initorder2b.so): Likewise.
44818 (LDFLAGS-tst-initorder2c.so): Likewise.
44819 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44820
d77f993f
DM
448212012-05-02 David S. Miller <davem@davemloft.net>
44822
44823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44824
171a70b4
PP
448252012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44826
44827 [BZ #14055]
44828 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44829
0be196ad
AJ
448302012-05-02 Andreas Jaeger <aj@suse.de>
44831
44832 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44833 since we manipulate rounding mode.
44834 (CPPFLAGS-test-idouble.c): Likewise.
44835 (CPPFLAGS-test-ifloat.c): Likewise.
44836 (CFLAGS-test-ldouble.c): Likewise.
44837 (CFLAGS-test-double.c): Likewise.
44838 (CFLAGS-test-float.c): Likewise.
44839 (CFLAGS-test-misc.c): Likewise.
44840 (CFLAGS-test-test-fenv.c): Likewise.
44841
4f9d04aa
AZ
448422012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44843
2b942cb7
RM
44844 [BZ #2550]
44845 [BZ #2570]
44846 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44847 comparisons to determine direction to adjust input.
4f9d04aa 44848
82a79e7d
RM
448492012-05-01 Roland McGrath <roland@hack.frob.com>
44850
f5a01ca9
RM
44851 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44852 output to the target.
44853
90fe4186
RM
44854 * scripts/localplt.awk: New file.
44855 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44856 (check-localplt-CFLAGS): Variable removed.
44857 ($(all-built-dso:=.jmprel)): New static pattern rule.
44858 (generated): Add those targets.
44859 (localplt-built-dso): New variable.
44860 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44861
44862 * elf/check-localplt.c: File removed.
44863
82397ed6
RM
44864 * scripts/check-execstack.awk: New file.
44865 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44866 (check-execstack-CFLAGS): Variable removed.
44867 ($(objpfx)check-execstack.h): Target removed.
44868 ($(objpfx)execstack-default): New target.
44869 (generated): Add that instead of check-execstack.h.
44870 ($(all-built-dso:=.phdr)): New static pattern rule.
44871 (generated): Add those targets.
44872 * elf/check-execstack.c: File removed.
44873
82a79e7d
RM
44874 * scripts/check-textrel.awk: New file.
44875 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44876 (check-textrel-CFLAGS): Variable removed.
44877 (all-built-dso): Use := to define.o
44878 ($(all-built-dso:=.dyn)): New static pattern rule.
44879 (generated): Add those targets.
44880 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44881 * config.make.in (READELF): New substituted variable.
44882 * elf/check-textrel.c: File removed.
44883
62fde54f 448842012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 44885
615605c9
JM
44886 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44887 allow.
44888 * conform/data/ctype.h-data [C99-based standards] (isblank):
44889 Expect function.
44890 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44891 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44892 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44893 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44894 Specify type. Require positive value.
44895 (EILSEQ): Likewise.
44896 (ERANGE): Likewise.
44897 [ISO || POSIX] (EILSEQ): Do not expect.
44898 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44899 Specify type. Require positive value.
44900 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44901 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44902 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44903 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44904 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44905 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44906 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44907 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44908 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44909 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44910 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44911 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44912 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44913 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44914 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44915 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44916 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44917 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44918 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44919 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44920 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44921 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44922 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44923 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44924 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44925 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44926 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44927 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44928 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44929 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44930 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44931 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44932 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44933 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44934 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44935 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44936 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44937 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44938 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44939 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44940 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44941 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44942 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44943 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44944 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44945 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44946 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44947 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44948 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44949 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44950 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44951 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44952 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44953 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44954 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44955 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44956 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44957 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44958 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44959 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44960 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44961 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44962 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44963 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44964 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44965 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44966 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44967 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44968 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44969 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44970 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44971 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44972 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44973 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44974 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44975 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44976 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44977 Require >= 2.
44978 (FLT_ROUNDS): Expect as macro, not constant.
44979 (FLT_MANT_DIG): Use macro-int-constant.
44980 (DBL_MANT_DIG): Likewise.
44981 (LDBL_MANT_DIG): Likewise.
44982 (FLT_DIG): Likewise.
44983 (DBL_DIG): Likewise.
44984 (LDBL_DIG): Likewise.
44985 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44986 (DBL_MIN_EXP): Likewise.
44987 (LDBL_MIN_EXP): Likewise.
44988 (FLT_MAX_EXP): Use macro-int-constant.
44989 (DBL_MAX_EXP): Likewise.
44990 (LDBL_MAX_EXP): Likewise.
44991 (FLT_MAX_10_EXP): Likewise.
44992 (DBL_MAX_10_EXP): Likewise.
44993 (LDBL_MAX_10_EXP): Likewise.
44994 (FLT_MAX): Use macro-constant.
44995 (DBL_MAX): Likewise.
44996 (LDBL_MAX): Likewise.
44997 (FLT_EPSILON): Use macro-constant. Give upper bound.
44998 (DBL_EPSILON): Likewise.
44999 (LDBL_EPSILON): Likewise.
45000 (FLT_MIN): Likewise.
45001 (DBL_MIN): Likewise.
45002 (LDBL_MIN): Likewise.
45003 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45004 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45005 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45006 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45007 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45008 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45009 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45010 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45011 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45012 [ISO11] (FLT_TRUE_MIN): Likewise.
45013 [ISO11] (LDBL_TRUE_MIN): Likewise.
45014 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45015 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45016 (SCHAR_MIN): Use macro-int-constant. Specify type.
45017 (SCHAR_MAX): Likewise.
45018 (UCHAR_MAX): Likewise.
45019 (CHAR_MIN): Likewise.
45020 (CHAR_MAX): Likewise.
45021 (MB_LEN_MAX): Use macro-int-constant.
45022 (SHRT_MIN): Use macro-int-constant. Specify type.
45023 (SHRT_MAX): Likewise.
45024 (USHRT_MAX): Likewise.
45025 (INT_MAX): Likewise.
45026 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45027 bound negative.
45028 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45029 bound with "U".
45030 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45031 bound with "L".
45032 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45033 bound negative. Suffix upper bound with "L".
45034 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45035 bound with "UL".
45036 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45037 Specify type.
45038 [C99-based standards] (LLONG_MAX): Likewise.
45039 [C99-based standards] (ULLONG_MAX): Likewise.
45040 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45041 == 0.
45042 [ISO11] (max_align_t): Require type.
45043 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45044
c9140a62
JM
45045 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45046 from $CFLAGS, without defining away __attribute__ calls.
45047 (checknamespace): Use $CFLAGS_namespace.
45048
9af0bf29
JM
45049 * conform/conformtest.pl (@keywords): Only include C99 keywords
45050 for standards based on C99 or C11.
45051
343222a2
JM
45052 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45053 Disable tests.
45054 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45055 UNIX98]: Likewise.
45056
661f8cf0
JM
45057 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45058 usability of symbols in #if.
45059
ee74b9cb
JM
45060 * conform/conformtest.pl: If macro or constant types start
45061 "promoted:", expect the symbol to be of the following type
45062 promoted by the integer promotions.
62fde54f 45063
aafc49b3
JM
45064 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45065 in one place. Also handle "macro-constant".
45066
fefdf574
JM
45067 * conform/conformtest.pl: Only accept expected macro values with
45068 "==". Parse all "macro" lines in one place.
45069 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45070
f2d922fe
JM
45071 * conform/conformtest.pl: Handle braced types on "constant" lines
45072 instead of handling "typed-constant".
45073 * conform/data/signal.h-data: Use "constant" instead of
45074 "typed-constant".
45075
d22956c9
JM
45076 * conform/conformtest.pl: Handle "optional-" at start of lines in
45077 one place rather than duplicating several cases. Handle each
45078 format of "macro" line with initial "optional-".
45079
028e2e38
JM
45080 * conform/conformtest.pl: Only accept expected constant or
45081 optional-constant values with "==". Parse all "constant" lines in
45082 one place. Parse all "optional-constant" lines in one place.
45083 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45084 * conform/data/fmtmsg.h-data: Likewise.
45085 * conform/data/netinet/in.h-data: Likewise.
45086 * conform/data/tar.h-data: Likewise.
45087 * conform/data/limits.h-data: Use "==" form on "constant" and
45088 "optional-constant" lines.
45089
1b8f2850
JM
45090 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45091 Use -std=c99 for XOPEN2K.
45092 (@knownproblems): Remove.
45093 (newtoken): Don't check %isknown.
45094
a05a144b
JM
45095 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45096 Do not expect macro.
45097 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45098 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45099 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45100 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45101 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45102 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45103 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45104 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45105 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45106 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45107 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45108 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45109 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45110 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45111 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45112 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45113 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45114 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45115 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45116 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45117 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45118 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45119 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45120 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45121 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45122 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45123 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45124 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45125 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45126 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45127 [XPG3] (acosh): Likewise.
45128 [XPG3] (asinh): Likewise.
45129 [XPG3] (atanh): Likewise.
45130 [XPG3] (cbrt): Likewise.
45131 [XPG3] (expm1): Likewise.
45132 [XPG3] (ilogb): Likewise.
45133 [XPG3] (log1p): Likewise.
45134 [XPG3] (logb): Likewise.
45135 [XPG3] (nextafter): Likewise.
45136 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45137 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45138 [XPG3] (remainder): Likewise.
45139 [XPG3] (rint): Likewise.
45140 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45141 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45142 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45143 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45144 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45145 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45146 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45147 [UNIX98 || XOPEN2K] (scalb): Expect.
45148 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45149 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45150 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45151 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45152 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45153 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45154 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45155 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45156 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45157 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45158 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45159 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45160 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45161 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45162 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45163 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45164 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45165 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45166 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45167 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45168 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45169 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45170 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45171 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45172 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45173 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45174 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45175 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45176 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45177 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45178 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45179 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45180 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45181 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45182 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45183 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45184 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45185 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45186 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45187 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45188 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45189 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45190 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45191 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45192 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45193 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45194 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45195 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45196 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45197 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45198 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45199 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45200 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45201 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45202 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45203 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45204 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45205 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45206 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45207 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45208 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45209 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45210 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45211 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45212 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45213 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45214 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45215 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45216 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45217 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45218 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45219 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45220 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45221 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45222 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45223 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45224 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45225 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45226 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45227 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45228 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45229 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45230 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45231 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45232 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45233 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45234 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45235 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45236 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45237 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45238 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45239 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45240 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45241 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45242 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45243 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45244 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45245 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45246 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45247 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45248 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45249 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45250 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45251 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45252 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45253 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45254 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45255 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45256 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45257 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45258 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45259 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45260 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45261 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45262 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45263 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45264 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45265 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45266 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45267 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45268 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45269 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45270 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45271 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45272 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45273 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45274 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45275 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45276 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45277 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45278 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45279 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45280 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45281 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45282 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45283 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45284 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45285
73c5ebe3
JM
45286 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45287 _XOPEN_SOURCE_EXTENDED for XPG4.
45288
39c33b6c
JM
45289 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45290
62fde54f
JM
45291 * Makeconfig (localtime): Remove variable.
45292 (inst_localtime-file): Likewise.
45293
0741d64c
AS
452942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45295
45296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45297 Update.
45298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45299 Update.
45300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45301 Update.
45302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45303 Update.
45304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45305 Update.
45306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45307 Update.
45308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45309 Update.
45310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45311 Update.
45312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45313 Update.
45314
7cb029ee
JM
453152012-05-01 Joseph Myers <joseph@codesourcery.com>
45316
45317 [BZ #2550]
45318 [BZ #2570]
45319 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45320 comparisons to determine direction to adjust input.
45321 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45322 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45323 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45324 Likewise.
45325 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45326 Likewise.
45327 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45328 Likewise.
45329 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45330 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45331 Likewise.
45332 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45333 Likewise.
45334 * math/libm-test.inc (nexttoward_test): Add more tests.
45335
412bd966
AS
453362012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45337
45338 [BZ #14040]
45339 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45340 in version GLIBC_2.1, not GLIBC_2.0.
45341 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45342 Likewise.
45343
9568c0c2
JM
453442012-04-30 Joseph Myers <joseph@codesourcery.com>
45345
adfbc8ac
JM
45346 [BZ #13942]
45347 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45348 (1 - x) * (1 + x).
45349 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45350 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45351 * math/libm-test.inc (acos_test): Add more tests.
45352 (asin_test): Likewise.
45353 * sysdeps/i386/fpu/libm-test-ulps: Update.
45354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45355
5ba3cc69
JM
45356 [BZ #14034]
45357 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45358 of square root.
45359 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45360 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45361 * math/libm-test.inc (acos_test_tonearest): New function.
45362 (acos_test_towardzero): Likewise.
45363 (acos_test_downward): Likewise.
45364 (acos_test_upward): Likewise.
45365 (asin_test_tonearest): Likewise.
45366 (asin_test_towardzero): Likewise.
45367 (asin_test_downward): Likewise.
45368 (asin_test_upward): Likewise.
45369 (main): Call the new functions.
45370 * sysdeps/i386/fpu/libm-test-ulps: Update.
45371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45372
9568c0c2
JM
45373 [BZ #13884]
45374 [BZ #13924]
45375 * math/e_exp10.c: Include <float.h>.
45376 (__ieee754_exp10): Handle underflow here rather than multiplying
45377 large negative argument by M_LN10.
45378 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45379 of __ieee754_expf.
45380 * math/e_exp10l.c: Include <float.h>.
45381 (__ieee754_exp10l): Handle underflow here rather than multiplying
45382 large negative argument by M_LN10l.
45383 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45384 spurious overflow exception on underflow.
45385
5ac3ea17
MP
453862012-04-29 Marek Polacek <polacek@redhat.com>
45387
45388 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45389 (__fortify_function): New macro.
45390 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45391 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45392 __extern_always_inline.
45393 * libio/bits/stdio2.h: Likewise.
45394 * libio/bits/stdio.h: Likewise.
45395 * string/string.h: Likewise.
45396 * string/bits/string3.h: Likewise.
45397 * include/stdio.h: Likewise.
45398 * stdlib/bits/stdlib.h: Likewise.
45399 * stdlib/stdlib.h: Likewise.
45400 * rt/bits/mqueue2.h: Likewise.
45401 * rt/mqueue.h: Likewise.
45402 * posix/bits/unistd.h: Likewise.
45403 * posix/unistd.h: Likewise.
45404 * io/bits/poll2.h: Likewise.
45405 * io/bits/fcntl2.h: Likewise.
45406 * io/fcntl.h: Likewise.
45407 * io/sys/poll.h: Likewise.
45408 * misc/bits/syslog.h: Likewise.
45409 * misc/bits/syslog-ldbl.h: Likewise.
45410 * misc/sys/syslog.h: Likewise.
45411 * socket/bits/socket2.h: Likewise.
45412 * socket/sys/socket.h: Likewise.
45413 * debug/tst-chk1.c: Likewise.
45414 * wcsmbs/bits/wchar2.h: Likewise.
45415 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45416 * wcsmbs/wchar.h: Likewise.
45417
ecf0ebfb
AJ
454182012-04-29 Andreas Jaeger <aj@suse.de>
45419
45420 * Makerules (tests): Remove enable-check-abi protection.
45421 (check-abi-warn): Remove.
45422 (check-abi-%): Remove check-abi-warn usage.
45423
45424 * configure.in: Remove check-abi configure option.
45425 * configure: Regenerated.
45426 * config.make.in (enable-check-abi): Remove.
45427
6d5c57fa
AS
454282012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45429
24c5d07e 45430 [BZ #14033]
ded5180a
AS
45431 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45432 double functions to double *_finite functions.
45433
7e0d315d
AS
45434 [BZ #13941]
45435 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45436 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45437 LDBL_MIN_EXP.
45438 * stdio-common/Makefile (tests): Add tst-sprintf3.
45439 * stdio-common/tst-sprintf3.c: New file.
45440
6d5c57fa
AS
45441 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45442 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45443
0749ff8b
JM
454442012-04-28 Joseph Myers <joseph@codesourcery.com>
45445
45446 * conform/conformtest.pl: Remove duplicate typed-constant
45447 handling.
45448
8dbd5d7b
DM
454492012-04-28 David S. Miller <davem@davemloft.net>
45450
45451 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45452 (check-abi-%): Remove AWK script prerequisite and explicit
45453 abilist directory.
45454 (check-abi): Rewrite to just diff the symlist with the abilist.
45455 (config-tls, config-abi-config): Delete, no longer used.
45456 (update-abi-%): Remove AWK script and explicit abilist directory.
45457 (update-abi): Rewrite to simply compare and conditionally copy the
45458 symlist and the sysdep abilist file. Remove update-abi-config
45459 checks.
45460 * abilist/ld.abilist: Remove.
45461 * abilist/libBrokenLocale.abilist: Remove.
45462 * abilist/libanl.abilist: Remove.
45463 * abilist/libcrypt.abilist: Remove.
45464 * abilist/libdl.abilist: Remove.
45465 * abilist/librt.abilist: Remove.
45466 * abilist/libthread_db.abilist: Remove.
45467 * abilist/libutil.abilist: Remove.
45468 * scripts/extract-abilist.awk: Remove.
45469 * scripts/merge-abilist.awk: Remove.
45470 * sysdeps/generic/libcidn.abilist: New file.
45471 * sysdeps/generic/libnss_compat.abilist: New file.
45472 * sysdeps/generic/libnss_db.abilist: New file.
45473 * sysdeps/generic/libnss_dns.abilist: New file.
45474 * sysdeps/generic/libnss_files.abilist: New file.
45475 * sysdeps/generic/libnss_hesiod.abilist: New file.
45476 * sysdeps/generic/libnss_nis.abilist: New file.
45477 * sysdeps/generic/libnss_nisplus.abilist: New file.
45478 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45479 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45480 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45481 file.
45482 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45483 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45484 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45485 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45486 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45487 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45488 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45489 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45490 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45491 file.
45492 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45493 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45494 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45495 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45496 file.
45497 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45498 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45499 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45500 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45501 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45502 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45503 file.
45504 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45505 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45506 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45507 file.
45508 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45510 New file.
45511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45512 New file.
45513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45514 New file.
45515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45516 New file.
45517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45518 New file.
45519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45520 New file.
45521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45522 New file.
45523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45524 New file.
45525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45526 New file.
45527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45528 New file.
45529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45530 New file.
45531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45532 New file.
45533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45534 New file.
45535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45536 file.
45537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45538 New file.
45539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45540 New file.
45541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45542 file.
45543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45544 New file.
45545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45546 New file.
45547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45548 file.
45549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45550 New file.
45551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45552 New file.
45553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45554 New file.
45555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45556 New file.
45557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45558 New file.
45559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45560 New file.
45561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45563 file.
45564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45565 New file.
45566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45567 file.
45568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45569 file.
45570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45571 file.
45572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45573 file.
45574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45575 file.
45576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45577 New file.
45578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45579 file.
45580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45581 file.
45582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45583 New file.
45584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45585 file.
45586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45588 file.
45589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45590 New file.
45591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45592 file.
45593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45594 file.
45595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45596 file.
45597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45598 file.
45599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45600 file.
45601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45602 New file.
45603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45604 file.
45605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45606 file.
45607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45608 New file.
45609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45610 file.
45611 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45612 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45613 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45614 file.
45615 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45616 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45617 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45618 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45619 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45620 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45621 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45622 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45623 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45624 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45627 file.
45628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45629 New file.
45630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45631 file.
45632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45633 file.
45634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45635 file.
45636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45637 file.
45638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45639 file.
45640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45641 New file.
45642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45643 New file.
45644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45645 file.
45646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45647 New file.
45648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45649 file.
45650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45652 file.
45653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45654 New file.
45655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45656 file.
45657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45658 file.
45659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45660 file.
45661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45662 file.
45663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45664 file.
45665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45666 New file.
45667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45668 New file.
45669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45670 file.
45671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45672 New file.
45673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45674 file.
45675
41d73a1b
JM
456762012-04-28 Joseph Myers <joseph@codesourcery.com>
45677
45678 * conform/conformtest.pl: Fix typo in handling typed-constant from
45679 allow-header.
45680
28aeeda4
JM
456812012-04-27 Joseph Myers <joseph@codesourcery.com>
45682
adae8f5e
JM
45683 * README: Cut down references to pre-2.6 Linux kernels and
45684 Linuxthreads. Update lists of configurations in libc and ports
45685 and sort alphabetically. Say "or newer" with Linux kernel version
45686 requirements.
45687
28aeeda4
JM
45688 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45689
a462cb63
RA
456902012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45691
45692 [BZ #887]
45693 * math/libm-test.inc (logb_test_downward): New test to expose
45694 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45695 rounding mode.
45696
6ad3493e
JM
456972012-04-27 Joseph Myers <joseph@codesourcery.com>
45698
45699 [BZ #14027]
45700 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45701 to be done.
45702 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45703 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45704
2ce4f015
JM
457052012-04-26 Joseph Myers <joseph@codesourcery.com>
45706
5aeb141a
JM
45707 * sysdeps/unix/i386/brk.S: Remove file.
45708 * sysdeps/unix/i386/dl-brk.S: Likewise.
45709 * sysdeps/unix/i386/pipe.S: Likewise.
45710 * sysdeps/unix/i386/sigreturn.S: Likewise.
45711 * sysdeps/unix/i386/syscall.S: Likewise.
45712 * sysdeps/unix/i386/vfork.S: Likewise.
45713 * sysdeps/unix/i386/wait.S: Likewise.
45714
7143acae
JM
45715 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45716 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45717
2ce4f015
JM
45718 * configure.in (arm*-none*): Do not allow without
45719 --enable-hacker-mode.
45720 (netbsd*): Remove case setting base_os.
45721 (386bsd*): Likewise.
45722 (freebsd*): Likewise.
45723 (bsdi*): Likewise.
45724 (osf*): Likewise.
45725 (sunos*): Likewise.
45726 (ultrix*): Likewise.
45727 (newsos*): Likewise.
45728 (dynix*): Likewise.
45729 (*bsd*): Likewise.
45730 (sysv*): Likewise.
45731 (isc*): Likewise.
45732 (esix*): Likewise.
45733 (sco*): Likewise.
45734 (minix*): Likewise.
45735 (irix4*): Likewise.
45736 (irix6*): Likewise.
45737 (solaris[2-9]*): Likewise.
45738 (none): Likewise.
45739 * configure: Regenerated.
45740
0ac229c8
AZ
457412012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45742
45743 [BZ #11521]
45744 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45745 overflow or cancellation in calculating denominator.
45746 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45747 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45748 down expression to avoid unexpected rounding in newer GCCs.
45749 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45750
33f244f4
DM
457512012-04-26 David S. Miller <davem@davemloft.net>
45752
45753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45754 long-double compat symbols.
45755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45768
cfa1f3e8
DM
457692012-04-25 David S. Miller <davem@davemloft.net>
45770
45771 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45772 HWCAP_* values only after the memory barriers have been defined.
45773 (atomic_full_barrier): Define.
45774 (atomic_read_barrier): Define.
45775 (atomic_write_barrier): Define.
45776
6e236b92
SP
457772012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45778
45779 * shlib-versions: Add libgcc_s version information.
45780 * sysdeps/generic/libgcc_s.h: Remove.
45781 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45782 libgcc_s.h.
45783 * sysdeps/gnu/unwind-resume.c: Likewise.
45784 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45785
aab39a09
DM
457862012-04-25 David S. Miller <davem@davemloft.net>
45787
45788 * sysdeps/unix/sparc/brk.S: Delete.
45789 * sysdeps/unix/sparc/dl-brk.S: Delete.
45790 * sysdeps/unix/sparc/pipe.S: Delete.
45791 * sysdeps/unix/sparc/sysdep.S: Delete.
45792 * sysdeps/unix/sparc/sysdep.h: Delete.
45793 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
45794 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45795 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45796 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45797 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
45798 (JUMPTARGET): Remove.
45799 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45800 sysdeps/unix/sparc/sysdep.h
45801 (ENTRY, END): Remove.
45802 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45803
a3cc4f48
JM
458042012-04-25 Joseph Myers <joseph@codesourcery.com>
45805
2ed8cda2
JM
45806 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45807 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45808 -DIS_IN_build.
45809
35d76d59
JM
45810 * timezone/README: Update upstream location and email address for
45811 tzcode and tzdata.
45812 * timezone/zdump.c: Update from tzcode 2012b.
45813 * timezone/zic.c: Likewise.
45814
a3cc4f48
JM
45815 * configure.in (libc_cv_as_needed): Remove test.
45816 * configure: Regenerated.
45817 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45818 conditional definition.
45819 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45820 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45821 * config.make.in (have-as-needed): Remove variable.
45822
ceab42c3
SP
458232012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45824 Paul Pluzhnikov <ppluzhnikov@google.com>
45825
45826 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45827 strings correctly.
45828
3ce2865f
CLT
458292012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45830
45831 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45832 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45833 * sysdeps/sh/strlen.S: Likewise.
45834
f37e0d68
JM
458352012-04-24 Joseph Myers <joseph@codesourcery.com>
45836
ae186e9a
JM
45837 * sysdeps/unix/fork.S: Remove file.
45838 * sysdeps/unix/i386/fork.S: Likewise.
45839 * sysdeps/unix/sparc/fork.S: Likewise.
45840
b96914af
JM
45841 * sysdeps/unix/system.c: Remove file.
45842 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45843
f37e0d68
JM
45844 * sysdeps/unix/getegid.S: Remove file.
45845 * sysdeps/unix/geteuid.S: Likewise.
45846
87ef29ca
RM
458472012-04-24 Roland McGrath <roland@hack.frob.com>
45848
83bcd236
RM
45849 * scripts/check-localplt.awk: New file.
45850 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45851 of diff.
45852 * scripts/data/localplt-generic.data: Add a comment.
45853
87ef29ca
RM
45854 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45855 NODE when __dir_mkfile failed.
45856 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45857 Reported by Ludovic Courtès <ludo@gnu.org>.
45858
e5a6e567
AJ
458592012-04-24 Andreas Jaeger <aj@suse.de>
45860
45861 * Makerules (common-clean): Also remove gen-as-const-headers
45862 files.
45863
c1820385
JM
458642012-04-24 Joseph Myers <joseph@codesourcery.com>
45865
45866 * Makerules (native-compile): Do not change working directory for
45867 build. Use $(OUTPUT_OPTION) in command.
45868 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45869
94e02fc4
AZ
458702012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45871
45872 [BZ #13886]
45873 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45874 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45875 * math/libm-test.inc (floor_test): Add more tests.
45876 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45877
3a533ca3
JM
458782012-04-24 Joseph Myers <joseph@codesourcery.com>
45879
940ab4b3
JM
45880 * sysdeps/unix/getdents.c: Remove file.
45881 * sysdeps/unix/sysv/getdents.c: Likewise.
45882 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45883
90e037bd
JM
45884 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45885 sysdeps/unix/mman/syscalls.list.
45886 (mmap): Likewise.
45887 (mprotect): Likewise.
45888 (msync): Likewise.
45889 (munmap): Likewise.
45890 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45891 * sysdeps/unix/mman/syscalls.list: Remove.
45892 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45893
3a533ca3
JM
45894 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45895 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45896 * configure: Regenerated.
45897 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45898 $(libgcc_s_suffix).
45899 * config.make.in (libgcc_s_suffix): Remove variable.
45900
1ad743de
JM
459012012-04-23 Joseph Myers <joseph@codesourcery.com>
45902
4ad451e2
JM
45903 * sysdeps/unix/sysv/gethostname.c: Move to ...
45904 * sysdeps/posix/gethostname.c: ... here.
45905
5e37ce39
JM
45906 * sysdeps/unix/execve.S: Remove file.
45907
1ad743de
JM
45908 * sysdeps/unix/_exit.S: Remove file.
45909
4e681b5b
AJ
459102012-04-23 Andreas Jaeger <aj@suse.de>
45911
45912 [BZ #13739]
45913 * manual/Makefile: Remove make dist support, there's no
45914 need for a stand-alone documentation tar ball.
45915 (TEXI2DVI): Define always, it's not in Makeconfig.
45916 (dist): Removed.
45917 (tar-it): Removed.
45918 (edition): Removed.
45919 (glibc-doc-$(edition).tar): Removed
45920 (%.Z): Removed.
45921 (%.gz): Removed.
45922 (%.uu): Removed.
45923 (ETAGS): Remove, it's in Makeconfig.
45924 (move-if-change): Remove, it's in Makeconfig.
45925
38686a03 459262012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
45927
45928 [BZ #13970]
45929 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45930 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45931 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45932 (strtod_l, strtof_l, strtold_l): Remove __wur.
45933 It is not necessarily an error to ignore strtol's return value.
45934 One can reliably look at the stored endptr to decide whether
45935 the number had valid syntax.
45936
7c0616fa
AJ
459372012-04-21 Andreas Jaeger <aj@suse.de>
45938
803cb6b7 45939 [BZ #13739]
7c0616fa
AJ
45940 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45941
b0fe253f
JM
459422012-04-21 Joseph Myers <joseph@codesourcery.com>
45943
45944 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45945 * sysdeps/unix/sysv/Versions: Remove file.
45946
8280f22d
MT
459472012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45948
45949 [BZ #13927]
45950 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45951
75ce411f 459522012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
45953
45954 [BZ #7064]
45955 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45956 version from __vm86.
45957
097d59fa
JM
459582012-04-20 Joseph Myers <joseph@codesourcery.com>
45959
a90f3bcb
JM
45960 * sysdeps/unix/common/lxstat.c: Remove file.
45961 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45962
edc7ea78
JM
45963 * sysdeps/unix/sysv/Makefile: Remove file.
45964
cb78c221
JM
45965 * sysdeps/unix/sysv/direct.h: Remove file.
45966
efa6a45f
JM
45967 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45968 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45969 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45970 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45971 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45972 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45973 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45974
9c9f2d0c
JM
45975 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45976
4541c83b
JM
45977 * sysdeps/unix/xmknod.c: Remove file.
45978 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45979
f5d153a0
JM
45980 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45981
aa746595
JM
45982 * sysdeps/unix/sysv/i386/time.S: Remove file.
45983
cce5905e
JM
45984 * sysdeps/unix/fxstat.c: Remove file.
45985 * sysdeps/unix/xstat.c: Likewise.
45986 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45987
37fa3841
JM
45988 * sysdeps/unix/sysv/sigaction.c: Remove file.
45989
ff1962a3
JM
45990 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45991 (sysdep_headers): Remove variable.
45992 [termio.h not in sysdep_headers] (generated): Likewise.
45993 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45994 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45995 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45996 * sysdeps/unix/sysv/tcflow.c: Likewise.
45997 * sysdeps/unix/sysv/tcflush.c: Likewise.
45998 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45999 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46000 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46001 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46002 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46003
e7740d31
JM
46004 * sysdeps/unix/siglist.c: Remove file.
46005
ee06f18b
JM
46006 * sysdeps/unix/getppid.S: Remove file.
46007
097d59fa
JM
46008 * sysdeps/unix/mkdir.c: Remove file.
46009 * sysdeps/unix/rmdir.c: Likewise.
46010
ff3d51ec
AS
460112012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46012
46013 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46014 ERR_MAX value.
46015 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46016 errlist-compat value.
46017
50f81fd7
DM
460182012-04-18 David S. Miller <davem@davemloft.net>
46019
46020 * sysdeps/generic/memcopy.h (reg_char): Delete.
46021 * debug/strcat_chk.c: Use char, not reg_char.
46022 * debug/strcpy_chk.c: Likewise.
46023 * debug/strncat_chk.c: Likewise.
46024 * debug/strncpy_chk.c: Likewise.
46025 * string/memchr.c: Likewise.
46026 * string/memrchr.c: Likewise.
46027 * string/rawmemchr.c: Likewise.
46028 * string/strcat.c: Likewise.
46029 * string/strchr.c: Likewise.
46030 * string/strchrnul.c: Likewise.
46031 * string/strcmp.c: Likewise.
46032 * string/strcpy.c: Likewise.
46033 * string/strncat.c: Likewise.
46034 * string/strncmp.c: Likewise.
46035 * string/strncpy.c: Likewise.
46036
8ff41c46
WS
460372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46038
46039 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46040 __builtin_memcopy is called when src and dest ranges are known to not
46041 overlap.
46042
6b652f46
WS
460432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46044
46045 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46046 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46047 fwd_align_merge macro call.
46048 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46049 bwd_align_merge macro call.
46050 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46051
b282631e
WS
460522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46053
46054 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46055 bwd_align_merge macros.
46056 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46057 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46058 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46059
95aa737c
DM
460602012-04-18 David S. Miller <davem@davemloft.net>
46061
46062 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46063
7a99a614
AJ
460642012-04-18 Andreas Jaeger <aj@suse.de>
46065
46066 [BZ# 6794]
46067 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46068 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46069 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46070
46071 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46072 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46073 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46074
46075 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46076 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46077 Adjust for changed ldbl-128 files.
46078
46079 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46080 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46081 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46082
e5270c23
DM
460832012-04-17 David S. Miller <davem@davemloft.net>
46084
46085 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46086
fb5e92c9
AS
460872012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46088
46089 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46090 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46091 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46092 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46093 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46094 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46095
76da7265
AZ
460962012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46097
46098 [BZ #6794]
46099 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46100 * math/libm-test.inc: Add ilogb errno and exception tests.
46101 * math/w_ilogb.c: New file: ilogb wrapper.
46102 * math/w_ilogbf.c: New file: ilogbf wrapper.
46103 * math/w_ilogbl.c: New file: ilogbl wrapper.
46104 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46105 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46106 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46107 exception being thrown with 0.0 as argument.
46108 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46109 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46110 exception being thrown with 0.0 as argument.
46111 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46112 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46113 exception being thrown with 0.0 as argument.
46114 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46115 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46116 exception being thrown with 0.0 as argument.
46117 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46118 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 46119 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
46120 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46121 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46122 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46123 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46124 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46125 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46126
0396e69d
PB
461272012-04-17 Petr Baudis <pasky@ucw.cz>
46128
46129 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46130 with altivec.
46131
750b5926
MP
461322012-04-16 Marek Polacek <polacek@redhat.com>
46133
46134 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46135
751728a1
MP
461362012-04-16 Marek Polacek <polacek@redhat.com>
46137
46138 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46139 operands of fdivp instruction.
46140
34a27407
L
461412012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46142
46143 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46144 * elf/tst-auditmod3b.c: Likewise.
46145 * elf/tst-auditmod4b.c: Likewise.
46146 * elf/tst-auditmod5b.c: Likewise.
46147 * elf/tst-auditmod6b.c: Likewise.
46148 * elf/tst-auditmod6c.c: Likewise.
46149 * elf/tst-auditmod7b.c: Likewise.
46150 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46151 * sysdeps/x86_64/preconfigure.in: Likewise.
46152 * sysdeps/x86_64/preconfigure: Regenerated.
46153
7e73e17d
L
461542012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46155
46156 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46157 __ILP32__.
46158
c7a6ab72
AB
461592012-04-13 Antoine Balestrat <merkil33@gmail.com>
46160
46161 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46162 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46163
a9e8e0e0
CL
461642012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46165
46166 [BZ #13973]
46167 * locale/iso-639.def: Fix gl language name. Spotted by
46168 Yaron Shahrabani.
46169
ec98af7d
RM
461702012-04-12 Roland McGrath <roland@hack.frob.com>
46171
46172 [BZ #2074]
46173 * libio/libio.h (__io_write_fn): Update comment.
46174
247c3ede
PB
461752012-04-12 Petr Baudis <pasky@ucw.cz>
46176
46177 [BZ #2074]
46178 * stdio.texi (Hook Functions): The user provided writer function
46179 is not allowed to return -1.
46180
55939d6d
DM
461812012-04-11 David S. Miller <davem@davemloft.net>
46182
46183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46184
90020f5a
MF
461852012-04-11 Mike Frysinger <vapier@gentoo.org>
46186
46187 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46188 Add a leading slash to rtkaio.
46189
288f9098
JM
461902012-04-11 Jim Meyering <meyering@redhat.com>
46191
90020f5a
MF
46192 [BZ #11959]
46193 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46194 It is not necessarily an error to ignore fwrite's return
46195 value. One can reliably use ferror to test for errors after
46196 the fact.
288f9098 46197
4be2b570
L
461982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46199
46200 * bits/types.h (__snseconds_t): New type.
46201 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46202
46203 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46204 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46205 (__SNSECONDS_T_TYPE): Likewise.
46206 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46207 (__SNSECONDS_T_TYPE): Likewise.
46208 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46209 (__SNSECONDS_T_TYPE): Likewise.
46210
288f9098 462112012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
46212
46213 [BZ #2636]
46214 * manual/time.texi (Processor Time): Return type of times is
46215 elapsed real time since an arbitrary point in the past.
46216 (CPU Time): Move CLK_TCK from here...
46217 (Processor Time): ...to here. Correct description.
46218 * manual/conf.texi (Constants for Sysconf): Correct description of
46219 _SC_CLK_TCK.
46220
d7dd4413
DM
462212012-04-10 David S. Miller <davem@davemloft.net>
46222
46223 [BZ #13967]
46224 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46225 where the is a gap between DT_REL(A) and DT_JMPREL.
46226
b46068fc
L
462272012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46228
46229 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46230 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46231 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46232
73d65cc3
SP
462332012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46234
46235 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46236 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46237 (dl_main): Handle --inhibit-cache.
46238 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46239 _dl_inhibit_cache.
46240 * elf/dl-load.c (_dl_map_object): Use it.
46241 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46242
bcc8d661
JM
462432012-04-09 Joseph Myers <joseph@codesourcery.com>
46244
8f9a2fae
JM
46245 [BZ #13872]
46246 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46247 (__ieee754_powl): Saturate large exponents rather than testing for
46248 overflow of y*log2(x).
46249 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46250 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46251 exceptions.
46252
bcc8d661
JM
46253 [BZ #11521]
46254 * math/s_ctan.c: Include <float.h>.
46255 (__ctan): Avoid internal overflow or cancellation in calculating
46256 denominator.
46257 * math/s_ctanf.c: Likewise.
46258 * math/s_ctanl.c: Likewise.
46259 * math/s_ctanh.c: Likewise.
46260 * math/s_ctanhf.c: Likewise.
46261 * math/s_ctanhl.c: Likewise.
46262 * math/libm-test.inc (ctan_test): Add more tests.
46263 (ctanh_test): Likewise.
46264 * sysdeps/i386/fpu/libm-test-ulps: Update.
46265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46266
823fbbb4
AJ
462672012-04-09 Andreas Jaeger <aj@suse.de>
46268
03879793
AJ
46269 [BZ #6894]
46270 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46271 is an optional BSD extension.
46272
823fbbb4
AJ
46273 [BZ #10254]
46274 * manual/stdio.texi (Opening Streams): Document additional fopen
46275 parameters.
46276
8de131cb
RM
462772012-04-09 Roland McGrath <roland@hack.frob.com>
46278
46279 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46280 %eax without telling the compiler.
46281
c0ed9d7d
CD
462822012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46283
46284 [BZ # 13963]
46285 * manual/install.texi: Use sourceware.org.
46286
c483f6b4
JM
462872012-04-09 Joseph Myers <joseph@codesourcery.com>
46288
d7dd9453
JM
46289 [BZ #13873]
46290 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46291 (__ieee754_pow): Generate overflow and underflow using huge*huge
46292 and tiny*tiny rather than just returning constant infinity or zero
46293 for large exponents.
46294 * math/libm-test.inc (pow_test): Require overflow exceptions for
46295 applicable cases of large exponents.
46296
c483f6b4
JM
46297 [BZ #706]
46298 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46299 (__ieee754_pow): Use iterative multiplication algorithm only for
46300 integer exponents with absolute value below 1024. Check for odd
46301 integer exponents when using algorithm for real exponents.
46302 * math/libm-test.inc (pow_test): Add more tests.
46303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46304
d2de7579
JM
463052012-04-08 Joseph Myers <joseph@codesourcery.com>
46306
46307 [BZ #13705]
46308 * math/libm-test.inc (exp_test): Do not allow overflow exception
46309 on underflow test.
46310
f77f1232
AJ
463112012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46312
46313 [BZ #13705]
46314 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46315 instead of __kernel_standard_f.
46316
3884932b
MF
463172012-04-08 Mike Frysinger <vapier@gentoo.org>
46318
46319 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46320 * sysdeps/x86_64/memset_chk.S: Likewise.
46321
54472e9c
AJ
463222012-04-08 Andreas Jaeger <aj@suse.de>
46323
6ab0fbfc
AJ
46324 [BZ #10153]
46325 * manual/startup.texi (Environment Access): Describe return value
46326 for putenv and setenv.
46327
61efba8c
AJ
46328 [BZ #6895]
46329 * manual/filesys.texi (Directory Entries): Add description for
46330 DT_LNK.
46331
95c3f29a
AJ
46332 [BZ #6890]
46333 * manual/filesys.texi (Directory Entries): Clarify that it's file
46334 system not operating system in the description of DT_UNKNOWN.
46335
54472e9c
AJ
46336 [BZ #6578]
46337 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46338
624254b1
SC
463392012-04-08 Stephen Compall <s11@member.fsf.org>
46340
46341 [BZ #6649]
46342 * manual/llio.texi (Opening and Closing Files): Add cross
46343 reference to explain mode argument.
46344
1e4920e0
MF
463452012-04-07 Mike Frysinger <vapier@gentoo.org>
46346
46347 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46348 * sysdeps/x86_64/memset_chk.S: Likewise.
46349
5ed848f3
DM
463502012-04-07 David S. Miller <davem@davemloft.net>
46351
46352 * elf/elf.h (R_SPARC_WDISP10): Define.
46353 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46354 R_SPARC_SIZE32.
46355 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46356 R_SPARC_SIZE64 and R_SPARC_H34.
46357
96154cd8
CD
463582012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46359
46360 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46361 conditions and remove no longer applicable assertion.
46362
9904dc47
L
463632012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46364
46365 * bits/byteswap.h: Include <features.h>.
46366 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46367 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46368
f8887d0a
L
463692012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46370
46371 * bits/byteswap.h (__bswap_16): Removed.
46372 Include <bits/byteswap-16.h> to get __bswap_16.
46373 * sysdeps/i386/bits/byteswap.h: Likewise.
46374 * sysdeps/s390/bits/byteswap.h: Likewise.
46375 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46376 * bits/byteswap-16.h: New file.
46377 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46378 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46379 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46380 * string/Makefile (headers): Add bits/byteswap-16.h.
46381
62470f60
PP
463822012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46383
46384 [BZ #13895]
46385 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46386 extra indirection.
46387 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46388 * nss/tst-nss-static.c: New.
46389
4dad7bab
RM
463902012-04-06 Robert Millan <rmh@gnu.org>
46391
46392 [BZ #6486]
46393 * manual/llio.texi (File Position Primitive): lseek
46394 refers to WHENCE when it really means OFFSET.
46395
e9142a17
AJ
463962012-04-06 Andreas Jaeger <aj@suse.de>
46397
2c040eff
AJ
46398 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46399 strncmp declarations.
46400
e9142a17
AJ
46401 * abilist/libc.abilist: Add __poll and __ppoll.
46402
ff9f1c5f
DM
464032012-04-05 David S. Miller <davem@davemloft.net>
46404
dcd2ae90
DM
46405 * scripts/check-local-headers.sh: Accept a host triplet in the
46406 path matched by the exclude regexp.
46407
993eb054
DM
46408 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46409 definition.
46410 * sysdeps/powerpc/powerpc32/dl-machine.h
46411 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46412 * sysdeps/s390/s390-32/dl-machine.h
46413 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46414 * sysdeps/sparc/sparc32/dl-machine.h
46415 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46416 * sysdeps/sparc/sparc64/dl-machine.h
46417 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46418
ff9f1c5f
DM
46419 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46420 lazy binding.
48e2e132 46421 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
46422 undefined symbol errors.
46423
48e2e132 46424 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
46425 DT_NEEDED entries.
46426
e80d6f94
MM
464272012-04-05 Michael Matz <matz@suse.de>
46428
46429 [BZ #13592]
46430 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46431
349fa79f
AJ
464322012-04-05 Andreas Jaeger <aj@suse.de>
46433
46434 [BZ #13908]
46435 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46436 comment.
46437
f402708f
KK
464382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46439
46440 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46441 which ROUND is no valid rounding mode.
46442
2ecccfc9
KK
464432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46444
46445 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46446 read again.
46447 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46448
8a53f50f
KK
464492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46450
46451 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46452 an exception using FPU order intentionally.
46453
464542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46455
46456 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46457 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46458 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46459 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46460
d653abb7
SJ
464612012-04-05 Simon Josefsson <simon@josefsson.org>
46462
46463 [BZ #12340]
46464 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46465 EINVAL when BUFLEN is too smal.
46466
c3b1bf7d
TS
464672012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46468
46469 [BZ #13553]
46470 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46471 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46472
b1aa60f3
AJ
464732012-04-03 Andreas Jaeger <aj@suse.de>
46474
c3b1bf7d 46475 [BZ #13938]
67f60a26
AJ
46476 * manual/setjmp.texi (System V contexts): Fix sentence.
46477
b1aa60f3
AJ
46478 [BZ #13926]
46479 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46480 New macro for this case.
46481 [!__GNUC__] (__bswap_64): New inline function for this case.
46482 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46483 * bits/byteswap.h: Likewise.
46484 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46485 ull, guard with __GLIBC_HAVE_LONG_LONG.
46486
46487 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46488 __GLIBC_HAVE_LONG_LONG.
46489
46490 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46491 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46492
39c59c35
TMQMF
464932012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46494
46495 [BZ #13691]
46496 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46497 inptr and inend, rather than using last_ch.
46498
135ffda8
DM
464992012-04-02 David S. Miller <davem@davemloft.net>
46500
46501 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46502 * stdio-common/printf-parse.h (read_int): Change return type to
46503 'int', return -1 on INT_MAX overflow.
46504 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46505 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46506 overflows INT_MAX. Check for overflow of in-format-string precision
46507 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46508 SIZE_MAX not INT_MAX for integer overflow test.
46509 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46510 skip the construct in the format string but do not record anything.
46511 * stdio-common/bug22.c: Adjust to test both width/prevision
46512 INT_MAX overflow as well as total length INT_MAX overflow. Check
46513 explicitly for proper errno values.
46514
228c019e
TS
465152012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46516
302cadd3
TS
46517 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46518 CHAR_MAX.
46519 * string/test-strcmp.c [! WIDE]: Likewise.
46520 * time/tst-mktime2.c: Likewise for INT_MAX.
46521 * string/test-string.h: #include <sys/param.h> for MIN.
46522
228c019e
TS
46523 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46524 * sysdeps/i386/init-first.c (init): Likewise.
46525 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46526 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46527 * sysdeps/sh/init-first.c (init): Likewise.
46528
cfa633f5
UD
465292012-04-01 Ulrich Drepper <drepper@gmail.com>
46530
46531 * po/ru.po: Update from translation team.
d1635ef8 46532 * po/vi.po: Likewise.
cfa633f5 46533
6cd0a5ea
SP
465342012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46535
46536 * resolv/nss_dns/dns-host.c: Merge copyright years.
46537
4b43400f
LD
465382012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46539
46540 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46541 Optimize memcpy with prefetch if
46542 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46543 src, dst pointers have unequal 16 byte alignments.
46544
48c41d04
SP
465452012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46546
46547 [BZ #13928]
46548 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46549 from a CNAME entry and return the minimum ttl for the query.
46550 (gaih_getanswer_slice): Likewise.
46551
b8dc394d
JL
465522012-03-30 Jeff Law <law@redhat.com>
46553
46554 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46555 due to long keys.
46556 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46557 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46558
2f5a5ed0
JL
46559 * resolv/nss_dns/dns-host.c: Update copyright year.
46560
1d39e359
UD
465612012-03-30 Ulrich Drepper <drepper@gmail.com>
46562
c030f70c 46563 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 46564 requests to save a system call. Fix check that all bytes are sent.
c030f70c 46565
1d39e359
UD
46566 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46567 comments for sendmmsg.
46568
465692012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
46570
46571 [BZ #13691]
46572 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46573 with only 1 character between 0x0041 and 0x01b0.
46574 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46575 * wcsmbs/tst-mbsnrtowcs.c: New file.
46576
20fde227
DM
465772012-03-29 David S. Miller <davem@davemloft.net>
46578
46579 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46580 small copies by hand.
46581
984a4237
JL
465822012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46583
46584 [BZ #13761]
57f41c40
AS
46585 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46586 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46587 group memberships.
984a4237 46588
18c9d62b
DM
465892012-03-28 David S. Miller <davem@davemloft.net>
46590
88d85d4f
DM
46591 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46592 that branches into memcpy.
46593 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46594 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46595 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46596 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46597 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46598 bits.
46599 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46600 implementation too.
46601 * sysdeps/sparc/mempcpy.S: New file.
46602
e5aa83e1
DM
46603 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46604 the IFUNC routine in the libc case.
46605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46606
88570753
DM
46607 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46608 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46609 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46610 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46611 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46612 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46613 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46614 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46615
249d7567
DM
46616 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46617 loop to 256 bytes instead of 64 bytes and fix test signedness.
46618
18c9d62b
DM
46619 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46620 * sysdeps/sparc/sparc32/Makefile: rather than here...
46621 * sysdeps/sparc/sparc64/Makefile: and here.
46622
05f3d1f6
UD
466232012-03-28 Ulrich Drepper <drepper@gmail.com>
46624
46625 * malloc/mallocbug.c: Avoid warnings about unused variables.
46626
86ae07a8
JL
466272012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46628
46629 [BZ #13760]
46630 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46631 in the right place. Discard and retry query if response is
46632 larger than input buffer size.
46633
41bf21a1
JM
466342012-03-28 Joseph Myers <joseph@codesourcery.com>
46635
d6270972
JM
46636 [BZ #369]
46637 [BZ #2678]
46638 [BZ #3866]
46639 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46640 x for large integer exponent.
46641 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46642 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46643 sign of result as needed afterwards.
46644 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46645 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46646 result for underflowing pow the same as for overflow.
46647 (__kernel_standard_l): Handle powl overflow and underflow here
46648 rather than calling __kernel_standard.
46649 * math/libm-test.inc (pow_test): Add more tests.
46650
414fca03 46651 [BZ #3868]
41bf21a1
JM
46652 [BZ #13879]
46653 [BZ #13910]
46654 [BZ #13911]
46655 [BZ #13912]
46656 [BZ #13913]
46657 [BZ #13915]
46658 [BZ #13916]
46659 [BZ #13917]
46660 [BZ #13918]
46661 [BZ #13919]
46662 [BZ #13920]
46663 [BZ #13921]
46664 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46665 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46666 (__kernel_standard_l): New function.
46667 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46668 __kernel_standard.
46669 * math/w_acosl.c (__acosl): Likewise.
46670 * math/w_asinl.c (__asinl): Likewise.
46671 * math/w_atan2l.c (__atan2l): Likewise.
46672 * math/w_atanhl.c (__atanhl): Likewise.
46673 * math/w_coshl.c (__coshl): Likewise.
46674 * math/w_exp10l.c (__exp10l): Likewise.
46675 * math/w_exp2l.c (__exp2l): Likewise.
46676 * math/w_fmodl.c (__fmodl): Likewise.
46677 * math/w_hypotl.c (__hypotl): Likewise.
46678 * math/w_j0l.c (__j0l, __y0l): Likewise.
46679 * math/w_j1l.c (__j1l, __y1l): Likewise.
46680 * math/w_jnl.c (__jnl, __ynl): Likewise.
46681 * math/w_lgammal.c (__lgammal): Likewise.
46682 * math/w_log10l.c (__log10l): Likewise.
46683 * math/w_log2l.c (__log2l): Likewise.
46684 * math/w_logl.c (__logl): Likewise.
46685 * math/w_powl.c (__powl): Likewise.
46686 * math/w_remainderl.c (__remainderl): Likewise.
46687 * math/w_scalbl.c (sysv_scalbl): Likewise.
46688 * math/w_sinhl.c (__sinhl): Likewise.
46689 * math/w_sqrtl.c (__sqrtl): Likewise.
46690 * math/w_tgammal.c (__tgammal): Likewise.
46691 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46692 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46693 * math/libm-test.inc (acos_test): Add more tests.
46694 (acosh_test): Likewise.
46695 (asin_test): Likewise.
46696 (atanh_test): Likewise.
46697 (exp_test): Likewise.
46698 (exp10_test): Likewise.
46699 (exp2_test): Likewise.
46700 (expm1_test): Likewise.
46701 (lgamma_test): Likewise.
46702 (log_test): Likewise.
46703 (log10_test): Likewise.
46704 (log1p_test): Likewise.
46705 (log2_test): Likewise.
46706 (pow_test): Do not allow some spurious overflow exceptions.
46707 (sqrt_test): Add more tests.
46708 (tgamma_test): Likewise.
46709 (y0_test): Likewise.
46710 (y1_test): Likewise.
46711 (yn_test): Likewise.
46712
dd62fda6
AB
467132012-03-27 Anton Blanchard <anton@samba.org>
46714
46715 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46716 MAP_HUGETLB.
46717 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46718 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46719 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46720
1e3cdfda
AJ
467212012-03-27 David S. Miller <davem@davemloft.net>
46722
b855ab85
DM
46723 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46724
1e3cdfda
AJ
46725 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46726 have-as-vis3 check.
46727
467282012-03-27 Andreas Jaeger <aj@suse.de>
46729
46730 * sysdeps/x86_64/elf/configure.in: Moved to ...
46731 * sysdeps/x86_64/configure.in: ... here.
46732 * sysdeps/x86_64/elf/start.S: Moved to ...
46733 * sysdeps/x86_64/start.S: ... here.
46734 * sysdeps/x86_64/elf/configure: Delete.
46735
46736 * sysdeps/x86_64/configure.in: Merge contents from
46737 sysdeps/i386/configure.in (without i686 check).
46738
46739 * sysdeps/i386/elf/Versions: Merge into ...
46740 * sysdeps/i386/Versions: ... this.
46741 * sysdeps/i386/elf/Versions: Delete file.
46742 * sysdeps/i386/elf/start.S: Moved to ...
46743 * sysdeps/i386/start.S: ...here.
46744 * sysdeps/i386/elf/configure.in: Merge into...
46745 * sysdeps/i386/configure.in: ...here.
46746 * sysdeps/i386/elf/configure.in: Delete file.
46747 * sysdeps/i386/elf/configure: Delete file.
46748
46749 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46750 * debug/backtracesyms.c: ... here.
46751 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46752 * debug/backtracesymsfd.c: ... here.
46753 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46754 * sysdeps/generic/ifunc-sel.h: ... here.
46755
46756 * sysdeps/unix/i386/start.c: Delete file.
46757 * sysdeps/unix/sparc/start.c: Delete file.
46758 * sysdeps/unix/start.c: Delete file.
46759
46760 * sysdeps/sh/elf/configure.in: Moved to ...
46761 * sysdeps/sh/configure.in: ... here.
46762 * sysdeps/sh/elf/start.S: Moved to ...
46763 * sysdeps/sh/start.S: ... here.
46764 * sysdeps/sh/elf/configure: Delete file.
46765
46766 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46767 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46768 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46769 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46770 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46771 * sysdeps/powerpc/powerpc64/start.S: here.
46772 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46773 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46774 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46775 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46776 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46777
46778 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46779 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46780 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46781 * sysdeps/powerpc/powerpc32/start.S: ... here.
46782 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46783 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46784 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46785
46786 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46787 * sysdeps/powerpc/ifunc-sel.h: ... here.
46788 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46789 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46790
46791 * sysdeps/sparc/elf/configure.in: Moved to ...
46792 * sysdeps/sparc/configure.in: ... here.
46793 * sysdeps/sparc/elf/configure: Delete file.
46794 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46795 * sysdeps/sparc/sparc32/start.S: ... here.
46796 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46797 * sysdeps/sparc/sparc64/start.S: ... here.
46798 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46799 * sysdeps/sparc/sparc32/Makefile: ... this.
46800 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46801 * sysdeps/sparc/sparc64/Makefile: ... this.
46802
46803 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46804 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46805 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46806 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46807 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46808 * sysdeps/s390/s390-32/setjmp.S: ... here.
46809 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46810 * sysdeps/s390/s390-32/configure.in: ... here.
46811 * sysdeps/s390/s390-32/elf/configure: Delete file.
46812 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46813 * sysdeps/s390/s390-32/start.S: ... here.
46814
46815 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46816 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46817 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46818 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46819 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46820 * sysdeps/s390/s390-64/setjmp.S: ... here.
46821 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46822 * sysdeps/s390/s390-64/configure.in: ... here
46823 * sysdeps/s390/s390-64/elf/configure: Delete file.
46824 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46825 * sysdeps/s390/s390-64/start.S: ... here.
46826 * sysdeps/s390/s390-64/elf/configure: Delete.
46827
46828 * configure.in: Remove support for elf directories in sysdeps.
46829
46830 * configure: Regenerated.
46831 * sysdeps/i386/configure: Regenerated.
46832 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46833 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46834 * sysdeps/s390/s390-32/configure: Regenerated.
46835 * sysdeps/s390/s390-64/configure: Regenerated.
46836 * sysdeps/sh/configure: Regenerated.
46837 * sysdeps/sparc/configure: Regenerated.
46838 * sysdeps/x86_64/configure: Regenerated.
46839
a3f61311
AS
468402012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46841
c876e002
AS
46842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46843
a3f61311
AS
46844 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46845 denormal result into account.
46846
ac4c54f0
RM
468472012-03-25 Roland McGrath <roland@hack.frob.com>
46848
46849 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46850 Reported by Allan McRae <allan@archlinux.org>.
46851
6a9b9c02
JL
468522012-03-23 Jeff Law <law@redhat.com>
46853
46854 * nss/getnssent.c (__nss_getent): Fix typo.
46855
4c42a0c1
DM
468562012-03-23 David S. Miller <davem@davemloft.net>
46857
46858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46859
1532c7ac
L
468602012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46861
46862 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46863 to pad to uint64_t for each field.
46864 (dl_tls_index): Replace unsigned long with uint64_t.
46865
3ff42526
PP
468662012-03-23 Daniel Jacobowitz <dmj@google.com>
46867 Paul Pluzhnikov <ppluzhnikov@google.com>
46868
46869 [BZ #6528]
46870 * grp/Makefile (otherlibs): Don't set it.
46871 * inet/Makefile (otherlibs): Likewise.
46872 * login/Makefile (otherlibs): Likewise.
46873 * nscd/Makefile (otherlibs): Likewise.
46874 * posix/Makefile (otherlibs): Likewise.
46875 * pwd/Makefile (otherlibs): Likewise.
46876 * rt/Makefile (otherlibs): Likewise.
46877 * sunrpc/Makefile (otherlibs): Likewise.
46878 * nss/Makefile (otherlibs): Likewise.
46879 Add libnss_files to routines and static-only-routines.
46880 ($(objpfx)getent): Remove rule.
46881 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46882 static-only-routines.
46883
7c69cd14
JM
468842012-03-22 Joseph Myers <joseph@codesourcery.com>
46885
46886 [BZ #13892]
46887 * math/s_cexp.c: Include <float.h>.
46888 (__cexp): Handle exp result overflowing not necessarily
46889 overflowing both real and imaginary parts of result.
46890 * math/s_cexpf.c: Likewise.
46891 * math/s_cexpl.c: Likewise.
46892 * math/libm-test.inc (cexp_test): Add more tests.
46893 * sysdeps/i386/fpu/libm-test-ulps: Update.
46894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46895
81b035fe
L
468962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46897
46898 * include/link.h (ELFW): New macro.
46899 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46900 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46901
1da7940c
L
469022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46903
46904 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46905 with uint64_t.
46906
b749dbb9
L
469072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46908
46909 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46910 declaration.
46911 (struct La_x32_retval): Likewise.
46912
2ff87f3f
L
469132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46914
46915 * sysdeps/x86_64/preconfigure.in: New file.
46916 * sysdeps/x86_64/preconfigure: New generated file.
46917
c0df8e69
JM
469182012-03-22 Joseph Myers <joseph@codesourcery.com>
46919
48e44791
JM
46920 [BZ #13824]
46921 * math/e_exp2l.c: Include <float.h>.
46922 (__ieee754_exp2l): Handle overflow and underflow cases
46923 separately. Only pass fractional part of argument to
46924 __ieee754_expl.
46925 * math/libm-test.inc (exp2_test): Add more tests.
46926
c0df8e69
JM
46927 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46928 negating x to take absolute value.
46929 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46930 Likewise.
46931 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46932 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46933 Likewise.
46934 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46935 computing low part if x was negated.
46936 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46937
c8e43ba7
L
469382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46939
46940 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46941 la_x32_gnu_pltexit.
46942 (pltexit): Cast int_retval to ptrdiff_t.
46943 * elf/tst-auditmod3b.c: Likewise.
46944 * elf/tst-auditmod4b.c: Likewise.
46945 * elf/tst-auditmod5b.c: Likewise.
46946 * elf/tst-auditmod6b.c: Likewise.
46947 * elf/tst-auditmod6c.c: Likewise.
46948 * elf/tst-auditmod7b.c: Likewise.
46949
46950 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46951 and x32_gnu_pltexit.
46952
46953 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46954 __ELF_NATIVE_CLASS.
46955 (La_x32_regs): New macro.
46956 (La_x32_retval): Likewise.
46957 (la_x32_gnu_pltenter): New function prototype.
46958 (la_x32_gnu_pltexit): Likewise.
46959
7998fa78
AS
469602012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46961
dcb33988
AS
46962 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46963 exponent.
46964
233fc563
AS
46965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46966
7998fa78
AS
46967 * configure.in (libc_cv_cc_nofma): Check for option to disable
46968 generation of FMA instructions.
46969 * configure: Regenerate.
46970 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46971 * sysdeps/ieee754/dbl-64/Makefile: New file.
46972 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46973 Remove brandred-fma4.
46974 (CFLAGS-brandred-fma4.c): Remove.
46975 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46976 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46977 define.
46978 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46979 define.
46980
8e95c99a
L
469812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46982
46983 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46984 LLONG_MAX != LONG_MAX.
46985 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46986 (_fitoa_word): Likewise.
46987 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46988 LLONG_MAX != LONG_MAX.
46989 * stdio-common/_itowa.h: Include <_itoa.h>.
46990 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46991 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46992 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46993 only if not defined.
46994 (_ITOA_WORD_TYPE): Likewise.
46995 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46996 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46997
6f4db457
DM
469982012-03-21 David S. Miller <davem@davemloft.net>
46999
47000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47001
7785fe5a
L
470022012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47003
47004 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47005 of x86_64 when setting libc_cv_slibdir, libdir and
47006 libc_cv_localedir.
47007 * sysdeps/unix/sysv/linux/configure: Regenerated.
47008
4535cd55
JM
470092012-03-21 Joseph Myers <joseph@codesourcery.com>
47010
47011 * manual/lang.texi (Old Varargs): Remove section.
47012 (How Variadic): Update menu.
47013 (va_start): Do not mention varargs.h.
47014
17228132
TS
470152012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47016 Joseph Myers <joseph@codesourcery.com>
47017
47018 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47019 link test.
47020 * configure: Regenerated.
47021
8149f976
TS
470222012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47023
05f3d1f6
UD
47024 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47025 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47026 conformtest.pl
8149f976 47027
1a4ac776
JM
470282012-03-21 Joseph Myers <joseph@codesourcery.com>
47029
be22ce65
JM
47030 * NOTES: Remove.
47031 * Makefile (files-for-dist): Remove NOTES.
47032 (NOTES): Remove rule.
47033 * README: Don't refer to NOTES.
47034 * manual/creature.texi: Don't include macros.texi.
47035 * manual/intro.texi (creature.texi): Remove comment referring to
47036 NOTES.
47037
40b601fb
JM
47038 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47039 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47040 * configure: Regenerated.
47041 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47042 LIBC_TRY_CC_OPTION.
47043 (libc_cv_as_i686): Likewise.
47044 (libc_cv_cc_avx): Likewise.
47045 (libc_cv_cc_sse2avx): Likewise.
47046 (libc_cv_cc_fma4): Likewise.
47047 (libc_cv_cc_novzeroupper): Likewise.
47048 * sysdeps/i386/configure: Regenerated.
47049
1a4ac776
JM
47050 [BZ #13883]
47051 * sysdeps/i386/fpu/s_cexp.S: Remove.
47052 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47053 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47054 * math/libm-test.inc (cexp_test): Add more tests.
47055 * sysdeps/i386/fpu/libm-test-ulps: Update.
47056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47057
a458e7fe
AM
470582012-03-21 Allan McRae <allan@archlinux.org>
47059
47060 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47061
0cb7efc5
JM
470622012-03-21 Joseph Myers <joseph@codesourcery.com>
47063
47064 [BZ #13871]
47065 * math/w_exp2.c: Do not include <float.h>.
47066 (o_threshold, u_threshold): Remove.
47067 (__exp2): Calculate result before checking finiteness and calling
47068 __kernel_standard.
47069 * math/w_exp2f.c: Likewise.
47070 * math/w_exp2l.c: Likewise.
47071 * math/libm-test.inc (exp2_test): Require overflow exception for
47072 1e6 input.
2460d3aa
JM
47073
47074 [BZ #3866]
47075 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47076 range of signed 64-bit integers before using fistpll. Remove
47077 checks for whether integers fit in mantissa bits.
47078 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47079 the range of signed 32-bit integers before using fistpl. Remove
47080 checks for whether integers fit in mantissa bits.
47081 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47082 (__ieee754_powl): Test for y outside the range of signed 64-bit
47083 integers before using fistpll. Reduce 64-bit values to 63-bit
47084 ones as needed.
47085 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47086 divide-by-zero is raised for zero to large negative powers.
47087 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47088 (__ieee754_powl): Test for y outside the range of signed 64-bit
47089 integers before using fistpll. Reduce 64-bit values to 63-bit
47090 ones as needed.
47091 * math/libm-test.inc (pow_test): Add more tests.
47092
eb96ffb0
L
470932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47094
47095 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47096 <stdio-common/_itoa.h>.
47097 * debug/segfault.c: Likewise.
47098 * elf/dl-cache.c: Likewise.
47099 * elf/dl-minimal.c: Likewise.
47100 * elf/dl-misc.c: Likewise.
47101 * elf/dl-sysdep.c: Likewise.
47102 * elf/dl-version.c: Likewise.
47103 * elf/rtld.c: Likewise.
47104 * hurd/hurdsock.c: Likewise.
47105 * hurd/lookup-retry.c: Likewise.
47106 * malloc/malloc.c: Likewise.
47107 * malloc/mtrace.c: Likewise.
47108 * nscd/nscd_getgr_r.c: Likewise.
47109 * nscd/nscd_getpw_r.c: Likewise.
47110 * nscd/nscd_getserv_r.c: Likewise.
47111 * posix/getopt_init.c: Likewise.
47112 * posix/wordexp.c: Likewise.
47113 * stdio-common/_itoa.c: Likewise.
47114 * stdio-common/printf_fphex.c: Likewise.
47115 * stdio-common/vfprintf.c: Likewise.
47116 * string/_strerror.c: Likewise.
47117 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47118 * sysdeps/i386/i686/hp-timing.h: Likewise.
47119 * sysdeps/mach/_strerror.c: Likewise.
47120 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47121 * sysdeps/mach/hurd/sethostid.c: Likewise.
47122 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47123 * sysdeps/mach/xpg-strerror.c: Likewise.
47124 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47125 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47126 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47127 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47128 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47129 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47130 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47131 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47132 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47133 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47134 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47135 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47136 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47137 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47138 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47139 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47140 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47141 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47142 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47143 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47144 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47145
47146 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47147
47148 * stdio-common/_itoa.h: Moved to ...
47149 * sysdeps/generic/_itoa.h: Here.
47150
47151 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47152
47153 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47154 instead of "_itoa.h" and "_itowa.h".
47155 * stdio-common/vfprintf.: Likewise.
47156
d1af992d
L
471572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47158
47159 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47160 <bits/wordsize.h>.
47161 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47162 (__signbit): Likwise.
47163 (llrintf): Likwise.
47164 (llrint): Likwise.
47165
114883e0
L
471662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47167
47168 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47169 __WORDSIZE != 64.
47170
c135cc1b
JM
471712012-03-20 Joseph Myers <joseph@codesourcery.com>
47172
47173 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47174 OVERFLOW_EXCEPTION_OK.
47175 * math/libm-test.inc ("Philosophy"): Update comment about
47176 exception testing.
47177 (OVERFLOW_EXCEPTION): Define.
47178 (OVERFLOW_EXCEPTION_OK): Likewise.
47179 (INVALID_EXCEPTION_OK): Renumber.
47180 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47181 (IGNORE_ZERO_INF_SIGN): Likewise.
47182 (test_exceptions): Handle FE_OVERFLOW.
47183 (exp10_test): Expect overflow exceptions.
47184 (exp2_test): Likewise.
47185 (expm1_test): Likewise.
47186 (nextafter_test): Likewise.
47187 (pow_test): Likewise.
47188 (scalbn_test): Likewise.
47189 (scalbln_test): Likewise.
47190
95443d88
L
471912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47192
47193 * sysdeps/x86_64/bits/atomic.h
47194 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47195 64bit integer.
47196 (atomic_exchange_acq): Likewise.
47197 (__arch_exchange_and_add_body): Likewise.
47198 (__arch_add_body): Likewise.
47199 (atomic_add_negative): Likewise.
47200 (atomic_add_zero): Likewise.
47201
490df6c4
L
472022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47203
c2722551 47204 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
47205 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47206
5e52b189
L
472072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47208
47209 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47210 Check __x86_64__ instead of __WORDSIZE.
47211
a9879d4c
L
472122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47213
47214 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47215
5df98260
DM
472162012-03-19 David S. Miller <davem@davemloft.net>
47217
e1497744
DM
47218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47219
5df98260
DM
47220 * sysdeps/sparc/fpu/fenv_private.h: New file.
47221 * sysdeps/sparc/fpu/math_private.h: Use it.
47222 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47223 Remove.
57f41c40 47224 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
47225 (libc_feholdexcept_setroundl): Remove.
47226 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47227 Remove.
47228 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47229 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47230
b4c35121
L
472312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47232
47233 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47234 int64_t instead of long int.
47235 (INSERT_WORDS64): Likwise.
47236
56965fd7
L
472372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47238
47239 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47240 _Unwind_GetCFA return to _Unwind_Ptr first.
47241
83d1aec8
JM
472422012-03-19 Joseph Myers <joseph@codesourcery.com>
47243
1897ad44
JM
47244 [BZ #13629]
47245 * math/s_clog.c: Include <float.h>.
47246 (__clog): Scale large or subnormal inputs.
47247 * math/s_clogf.c: Likewise.
47248 * math/s_clogl.c: Likewise.
47249 * math/s_clog10.c: Include <float.h>.
47250 (M_LOG10_2): Define.
47251 (__clog10): Scale large or subnormal inputs.
47252 * math/s_clog10f.c: Likewise.
47253 * math/s_clog10l.c: Likewise.
47254 * math/libm-test.inc (clog_test): Add more tests.
47255 (clog10_test): Likewise.
47256 * sysdeps/i386/fpu/libm-test-ulps: Update.
47257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47258
7726d6a9
JM
47259 [BZ #11451]
47260 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47261 x and y.
47262 * math/libm-test.inc (atan2_test): Add another test.
47263
83d1aec8
JM
47264 * Makerules (common-objdir-compile): Remove.
47265 * sysdeps/unix/Makefile (config-generated): Do not add
47266 $(unix-generated) to variable.
47267 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47268 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47269 Remove rule.
47270 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47271 Likewise.
47272 [generic bits/local_lim.h] (before-compile): Do not append to
47273 variable.
47274 [generic bits/local_lim.h] (common-generated): Likewise.
47275 [generic sys/param.h] (before-compile): Do not append to variable.
47276 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47277 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47278 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47279 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47280 include.
47281 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47282 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47283 [generic sys/param.h] ($(addprefix
47284 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47285 [generic sys/param.h] (common-generated): Do not append to
47286 variable.
47287 [generic sys/param.h] (sysdep_headers): Likewise.
47288 [generic bits/errno.h] (before-compile): Do not append to
47289 variable.
47290 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47291 rule.
47292 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47293 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47294 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47295 [generic bits/errno.h] (common-generated): Do not append to
47296 variable.
47297 [generic bits/ioctls.h] (before-compile): Do not append to
47298 variable.
47299 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47300 rule.
47301 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47302 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47303 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47304 rule.
47305 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47306 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47307 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47308 [generic bits/ioctls.h] (common-generated): Do not append to
47309 variable.
47310 [generic sys/syscall.h] (syscall.h): Remove variable.
47311 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47312 rule.
47313 [generic sys/syscall.h] (before-compile): Do not append to
47314 variable.
47315 [generic sys/syscall.h] (common-generated): Likewise.
47316 * sysdeps/unix/errnos-tmpl.c: Remove file.
47317 * sysdeps/unix/errnos.awk: Likewise.
47318 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47319 * sysdeps/unix/ioctls.awk: Likewise.
47320 * sysdeps/unix/mk-local_lim.c: Likewise.
47321 * sysdeps/unix/snarf-ioctls: Likewise.
47322
4851a949
RH
473232012-03-19 Richard Henderson <rth@twiddle.net>
47324
bd37f2ee
RH
47325 * sysdeps/i386/fpu/fenv_private.h: New file.
47326 * sysdeps/i386/fpu/math_private.h: Use it.
47327 (math_opt_barrier, math_force_eval): Remove.
47328 (libc_feholdexcept_setround_53bit): Remove.
47329 (libc_feupdateenv_53bit): Remove.
47330 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47331 (math_opt_barrier, math_force_eval): Remove.
47332 (libc_feholdexcept): Remove.
47333 (libc_feholdexcept_setround): Remove.
47334 (libc_fetestexcept, libc_fesetenv): Remove.
47335 (libc_feupdateenv_test): Remove.
47336 (libc_feupdateenv, libc_feholdsetround): Remove.
47337 (libc_feresetround): Remove.
47338
d0adc922
RH
47339 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47340 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47341
0fe0f1f8
RH
47342 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47343 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47344 (libc_feupdateenv_testl): New.
47345 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47346 (libc_feupdateenv_testf): New.
47347 (libc_feupdateenv): Use libc_feupdateenv_test.
47348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47349 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47350
eb92c487
RH
47351 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47352 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47353 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47354 (libc_feresetround_noex): New.
47355 (libc_feresetround_noexf): New.
47356 (libc_feresetround_noexl): New.
47357 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47358 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47359 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47360 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47361 SET_RESTORE_ROUND.
47362 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47363 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47364 (__cos): Likewise.
47365 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47366 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47367 SET_RESTORE_ROUND_NOEX.
47368 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47369 SET_RESTORE_ROUND_NOEXF.
47370 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47371 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47372 (libc_feholdsetroundf): New.
47373 (libc_feresetround, libc_feresetroundf): New.
47374
7d2e8012
RH
47375 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47376 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47377 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47378
b4dabbb4
RH
47379 * sysdeps/generic/math_private.h: Include <fenv.h>.
47380 (default_libc_feholdexcept): New.
47381 (default_libc_feholdexcept_setround): New.
47382 (default_libc_fesetenv, default_libc_feupdateenv): New.
47383 (libc_feholdexcept): Only define if undefined.
47384 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47385 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47386 (libc_feholdexcept_setroundl): Likewise.
47387 (libc_feholdexcept_setround_53bit): Likewise.
47388 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47389 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47390 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47391 (libc_feupdateenv_53bit): Likewise.
47392 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47393 (libc_feholdexcept): Convert from macro to inline function.
47394 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47395 (libc_fesetenv, libc_feupdateenv): Likewise.
47396
4851a949
RH
47397 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47398 not previously defined.
47399 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47400 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47401 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47402 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47403 * sysdeps/ieee754/flt-32/math_private.h: New file.
47404 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47405 math_private.h below SET_FLOAT_WORD.
47406 (__isnan, __isinf_ns, __finite): Remove.
47407 (__isnanf, __isinf_nsf, __finitef): Remove.
47408
e79d442e
AS
474092012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47410
47411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47412
90b80344
DM
474132012-03-17 David S. Miller <davem@davemloft.net>
47414
47415 [BZ #6471]
47416 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47417 for 2.16.
47418
edc21804
DM
474192012-03-16 David S. Miller <davem@davemloft.net>
47420
77e927af
DM
47421 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47422 warnings.
47423
374976dd
DM
47424 [BZ #6471]
47425 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47426 properly.
47427 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47428 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47429 sysdep_routines when subdir is sysvipc.
47430 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47431 __getshmlba helper.
47432
edc21804
DM
47433 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47434
473c3ef3
L
474352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47436
47437 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47438 [__LP64__].
47439
eb0f39b6
L
474402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47441
47442 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47443 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47444 (__lround): Renamed to ...
47445 (__llround): This. Replace long int with long long int.
47446 Define lround functions as aliases of llround functions.
47447 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47448
6b6cd74b
L
474492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47450
47451 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47452 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47453 adresses to uintptr_t. Replace "long int" and "unsigned long
47454 int" with "greg_t" on va_arg.
47455
f1a77b01
L
474562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47457
47458 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47459 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47460
47461 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47462 Move e_machine check before EI_CLASS check. Handle x32
47463 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47464 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47465 SKIP_EM_IA_64 and include
47466 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47467
47468 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47469 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47470 (add_system_dir): New macro.
47471
47472 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47473 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47474
11b90b9f
JM
474752012-03-16 Joseph Myers <joseph@codesourcery.com>
47476
c36e1d23
JM
47477 [BZ #2551]
47478 [BZ #2552]
47479 [BZ #2553]
47480 [BZ #2554]
47481 [BZ #2562]
47482 [BZ #2563]
47483 [BZ #2565]
47484 [BZ #2566]
47485 [BZ #2576]
47486 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47487 (y0): Likewise.
47488 * math/w_j0f.c (j0f): Likewise.
47489 (y0f): Likewise.
47490 * math/w_j0l.c (__j0l): Likewise.
47491 (__y0l): Likewise.
47492 * math/w_j1.c (j1): Likewise.
47493 (y1): Likewise.
47494 * math/w_j1f.c (j1f): Likewise.
47495 (y1f): Likewise.
47496 * math/w_j1l.c (__j1l): Likewise.
47497 (__y1l): Likewise.
47498 * math/w_jn.c (jn): Likewise.
47499 (yn): Likewise.
47500 * math/w_jnf.c (jnf): Likewise.
47501 (ynf): Likewise.
47502 * math/w_jnl.c (__jnl): Likewise.
47503 (__ynl): Likewise.
47504 * math/libm-test.inc (j0_test): Add more tests.
47505 (j1_test): Likewise.
47506 (jn_test): Likewise. Add trailing semicolon to existing test.
47507 (y0_test): Likewise.
47508 (y1_test): Likewise.
47509 * sysdeps/i386/fpu/libm-test-ulps: Update.
47510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47511
11b90b9f
JM
47512 [BZ #13851]
47513 [BZ #13854]
47514 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47515 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47516 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47517 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47518 (__tanl): Set errno for infinite argument.
47519 * sysdeps/i386/fpu/mptan.c: Remove.
47520 * sysdeps/i386/fpu/s_tan.S: Likewise.
47521 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47522 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47523 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47524 * math/libm-test.inc (tan_test): Add more tests and enable more
47525 tests for double and long double.
47526 * sysdeps/i386/fpu/libm-test-ulps: Update.
47527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47528
6a1bd2a1
JK
475292012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47530
47531 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47532 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47533
10a803e0
RM
475342012-03-16 Roland McGrath <roland@hack.frob.com>
47535
47536 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47537 * configure.in: Use it for both main tree and add-ons.
47538 * configure: Regenerated.
47539
f196c7f7
L
475402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47541
47542 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47543
8848d99d
JM
475442012-03-16 Joseph Myers <joseph@codesourcery.com>
47545
96cbe7f4
JM
47546 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47547 in comment.
47548
8848d99d
JM
47549 [BZ #13851]
47550 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47551 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47552 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47553 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47554 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47555 infinite argument.
47556 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47557 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47558 != 0 for prec == 2.
47559 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47560 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47561 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47562 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47563 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47564 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47565 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47566 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47567 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47568 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47569 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47570 * math/libm-test.inc (cos_test): Add more tests and enable more
47571 tests for long double.
47572 (sin_test): Likewise.
47573 (sincos_test): Likewise.
47574 * sysdeps/i386/fpu/libm-test-ulps: Update.
47575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47576
dd7f4703
DM
475772012-03-16 David S. Miller <davem@davemloft.net>
47578
47579 * sysdeps/sparc/fpu/math_private.h: New file.
47580
006f1daa
DM
475812012-03-15 David S. Miller <davem@davemloft.net>
47582
c0c83bc8
DM
47583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47584 file.
e6a62e18 47585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
47586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47587 file.
e6a62e18
DM
47588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47593 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47594 sysdep routines.
47595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47596
88cb87d9
DM
47597 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47598 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47599
006f1daa 47600 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
47601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47602 sparc-ifunc.h
006f1daa 47603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
47604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47605 Likewise.
47606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47607 Likewise.
006f1daa
DM
47608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
47611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47612 Likewise.
006f1daa
DM
47613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
47617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47618 Likewise.
47619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47620 Likewise.
006f1daa
DM
47621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47625 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47626 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47627 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47628 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47629 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47630 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47639 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47640 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47641 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47642 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47643 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47644 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47645
11e0098e
AS
476462012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47647
47648 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47649 scaling.
47650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47651
e85b09d0
AJ
476522012-03-15 Andreas Jaeger <aj@suse.de>
47653
47654 [BZ #13852]
47655 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47656 ieee754/flt-32 implementation for sin, cos and sincos.
47657 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47658 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47659 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47660 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47661 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47662 ieee754/flt-32 implementation for tan.
47663
47664 * math/libm-test.inc (cos_test): Enable some large input tests for
47665 float as well
47666 (sin_test): Likewise.
47667 (sincos_test): Likewise.
47668 (tan_test): Add tests for large input.
47669
47670 * sysdeps/i386/fpu/libm-test-ulps: Update.
47671
81c64153
AJ
476722012-03-15 Andreas Jaeger <aj@suse.de>
47673
47674 [BZ #13658]
47675 * math/libm-test.inc (cos_test): Add more test cases.
47676 (sin_test): Likewise.
47677 (sincos_test): Likewise.
47678
7bbfa5c6
AJ
476792012-03-15 Andreas Jaeger <aj@suse.de>
47680
47681 [BZ #13837]
47682 * math/libm-test.inc (cos_test): Add a test case for large input
47683 value.
47684 (sin_test): Likewise.
47685 (sincos_test): Likewise.
47686
57f41c40
AS
476872012-03-15 Andreas Jaeger <aj@suse.de>
47688 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
47689
47690 [BZ #13658]
0671f479 47691 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
47692 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47693 * sysdeps/i386/fpu/branred.c: Likewise.
47694 * sysdeps/i386/fpu/dosincos.c: Likewise.
47695 * sysdeps/i386/fpu/mpa.c: Likewise.
47696 * sysdeps/i386/fpu/s_cos.S: Likewise.
47697 * sysdeps/i386/fpu/s_sin.S: Likewise.
47698 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47699 * sysdeps/i386/fpu/sincos32.c: Likewise.
47700
47701 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47702 Define.
47703 (libc_feupdateenv_53bit): Define.
47704 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47705 Define.
47706 (libc_feupdateenv_53bit): Define.
47707
47708 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47709 53 bit (without extend i386 double precision).
47710
47711 * math/libm-test.inc (sincos_test): Add tests for large input.
47712 (sin): Likewise.
47713 (cos): Likewise.
47714
47715 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47716
9cad04ea
AS
477172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47718
47719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47720
f7062b9a
DM
477212012-03-15 David S. Miller <davem@davemloft.net>
47722
47723 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47724 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47725 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47726 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
47738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47739 file.
f7062b9a 47740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
47741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47742 file.
f7062b9a 47743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
47744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47745 file.
f7062b9a 47746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
47747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47748 file.
f7062b9a
DM
47749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47750 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47751 fmin/fmax sysdep routines.
47752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47753
7bd951ff
DM
477542012-03-14 David S. Miller <davem@davemloft.net>
47755
559398ab
DM
47756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47760 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47761 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47762 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47763 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47764 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47765 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47776 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47777 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47778 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47779 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47780 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47781 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47782 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47783 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47784 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47785 routines.
47786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47787 file.
559398ab 47788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
47789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47790 file.
559398ab 47791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
47792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47793 file.
559398ab 47794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
47795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47796 file.
559398ab 47797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
47798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47799 file.
559398ab 47800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
47801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47802 file.
47803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47804 file.
47805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47806 file.
47807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47808 file.
47809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47810 New file.
47811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47812 file.
47813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47814 file.
559398ab 47815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
47816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47817 file.
559398ab 47818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47820 file.
559398ab 47821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
47822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47823 file.
559398ab 47824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
47825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47826 VIS3 routines.
559398ab
DM
47827
47828 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47829 New file.
47830
5a1c1e32
DM
47831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47832
eae47a36
DM
47833 * sysdeps/sparc/configure.in: New file.
47834 * sysdeps/sparc/configure: Generate.
47835 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47836 * configure: Regenerate.
47837 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47838 * config.make.in (have-as-vis3): New.
47839 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47840 available use -Av9d instead of -Av9a.
47841 * sysdeps/sparc/sparc64/Makefile: Likewise.
47842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
47843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47844 New file.
47845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47846 file.
47847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47848 New file.
47849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47850 file.
eae47a36
DM
47851 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47852 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47853 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47854 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47855 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47856
c0c83bc8
DM
47857 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47858 fzeros/fnegs to load 0x80000000 into a float register instead of
47859 using the stack.
7bd951ff
DM
47860 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47861
bd951ccb
JM
478622012-03-14 Joseph Myers <joseph@codesourcery.com>
47863
47864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47865 bits/syscall.h.
47866 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47867 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47868 ($(inst_includedir)/bits/syscall.h): Remove rule.
47869 ($(objpfx)bits/syscall.d): Include instead of
47870 $(objpfx)syscall-list.d.
47871 (generated): Change syscall-list.h and syscall-list.d to
47872 bits/syscall.h and bits/syscall.d.
47873
bb4e6db2
RM
478742012-03-14 Roland McGrath <roland@hack.frob.com>
47875
47876 [BZ #13846]
47877 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47878
aa4a2ae1
JM
478792012-03-14 Joseph Myers <joseph@codesourcery.com>
47880
e456826d
JM
47881 [BZ #13841]
47882 * math/s_csqrt.c: Include <float.h>.
47883 (__csqrt): Scale large or subnormal inputs.
47884 * math/s_csqrtf.c: Likewise.
47885 * math/s_csqrtl.c: Likewise.
47886 * math/libm-test.inc (csqrt_test): Add more tests.
47887 * sysdeps/i386/fpu/libm-test-ulps: Update.
47888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47889
aa4a2ae1
JM
47890 [BZ #13840]
47891 * math/libm-test.inc (hypot_test): Add more tests.
47892
7c10fd35
DM
478932012-03-13 David S. Miller <davem@davemloft.net>
47894
47895 [BZ #13840]
47896 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47897 double-precision for the calculation instead of scaling.
47898
f453b98b
JM
478992012-03-13 Joseph Myers <joseph@codesourcery.com>
47900
47901 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47902 manipulate bits before adding and subtracting TWO52[sx].
47903 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47904 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47905 Likewise.
47906 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47907
09a3453f
DM
479082012-03-13 David S. Miller <davem@davemloft.net>
47909
8e59da90
DM
47910 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47911 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47912 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47913 rtld-global-offsets.h
47914 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47915
2a8ab7f2
DM
47916 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47917 large parameters.
47918
10f62770
DM
47919 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47920
5f0bdb18
DM
47921 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47922 'err' in the ifdef scope in which it is actually used.
47923
09a3453f
DM
47924 * nss/nss_db/db-init.c: Include string.h
47925
b4b2eb5e
DM
479262012-03-12 David S. Miller <davem@davemloft.net>
47927
98bb2f1c
DM
47928 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47929 masking out of the most significant byte of random value used.
47930 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47931 Fix coding style in previous change.
47932
b4b2eb5e
DM
47933 * sysdeps/unix/sysv/linux/kernel-features.h
47934 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47935 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47936 expression.
47937 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47938 later.
47939
6e226b09
DM
479402012-03-11 David S. Miller <davem@davemloft.net>
47941
a1bcbd40
DM
47942 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47943 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47944 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47945 for 'resultvar' otherwise things get truncated on 64-bit.
47946
cb9d6174
DM
47947 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47948 Fix masking out of the most significant byte of random value used.
47949
6e226b09
DM
47950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47951
058c132d
AS
479522012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47953
47954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47955
2d2cd515
DM
479562012-03-09 David S. Miller <davem@davemloft.net>
47957
47958 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47959 variables with appropriate CPP guards.
57f41c40
AS
47960 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47961 from the frame pointer, not the stack pointer. Correct layout
47962 comments. Fix test on resulting framesize and the management of
47963 the outregs buffer for pltexit. Preserve floating point return
47964 values across _dl_call_pltexit call.
2d2cd515
DM
47965 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47966 framesize and the management of the outregs buffer for pltexit.
47967 Preserve floating point return values across _dl_call_pltexit
47968 call.
57f41c40
AS
47969 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47970 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47971 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
47972 (print_exit): Fix format string for return register value.
47973
9a07f9d0
JM
479742012-03-10 Joseph Myers <joseph@codesourcery.com>
47975
47976 * sunrpc/Makefile (others): Add rpcgen.
47977 ($(objpfx)rpcgen): Remove special build rule and dependency on
47978 libc.
47979 * sunrpc/rpcgen.c: New file.
47980
547b5e30
PE
479812012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47982
c524201a
PE
47983 [BZ #13673]
47984 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47985 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47986 * sysdeps/i386/crti.S: Likewise.
47987 * sysdeps/i386/crtn.S: Likewise.
47988 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47989 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47990 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47991 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47992 * sysdeps/sh/crti.S: Likewise.
47993 * sysdeps/sh/crtn.S: Likewise.
47994 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47995
7b6235f2
PE
47996 [BZ #13673]
47997 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47998 with URL.
47999 * locale/programs/locfile-kw.gperf: Likewise.
48000 * locale/programs/charmap-kw.h: Regenerated.
48001 * locale/programs/locfile-kw.h: Likewise.
48002
547b5e30
PE
48003 [BZ #13673]
48004 * intl/plural.y: Replace FSF snail mail address with URL.
48005 * intl/plural.c: Regenerated.
48006
5f0a5dae
RH
480072012-03-09 Richard Henderson <rth@twiddle.net>
48008
48009 * include/math_private.h: Remove file.
48010 * math/math_private.h: Move file ...
48011 * sysdeps/generic/math_private.h: ... here.
48012
b8c03620
RH
48013 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48014 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48015 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48016
4e234f5d 48017 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
48018 and <math_private.h>.
48019 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48020 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48021 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48022 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48023 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48024 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48025 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48026 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48027 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48028 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48029 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48030 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48031 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48032 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48033 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48034 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48035 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48036 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48037 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48038 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48039 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48040 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48041 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48042 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48043 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48044 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48045 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48046 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48047 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48048 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48049 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48050 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48051 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48052 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48053 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48054 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48055 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48056 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48057 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48058 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48059 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48060 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48061 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48062 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48063 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48064 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48065 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48066 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48067 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48068 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48069 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48070 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48071 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48072 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48073 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48074 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48075 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48076 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48077 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48078 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48079 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48080 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48081 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48082 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48083 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48084 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48085 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48086 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48087 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48088 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48089 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48090 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48091 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48092 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48093 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48094 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48095 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48096 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48097 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48098 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48099 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48100 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48101 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48102 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48103 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48104 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48105 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48106 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48107 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48108 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48109 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48110 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48111 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48112 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48113 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48114 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48115 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48116 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48117 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48118 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48119 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48120 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48121 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48122 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48123 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48124 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48125 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48126 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48127 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48128 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48129 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48130 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48131 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48132 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48133 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48134 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48135 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48136 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48137 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48138 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48139 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48140 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48141 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48142 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48143 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48144 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48145 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48146 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48147 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48148 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48149 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48150 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48151 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48152 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48153 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48154 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48155 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48156 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48157 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48158 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48159 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48160 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48161 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48162 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48163 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48164 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48165 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48166 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48167 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48168 * sysdeps/ieee754/k_standard.c: Likewise.
48169 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48170 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48171 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48172 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48173 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48174 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48175 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48176 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48177 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48178 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48179 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48180 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48181 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48182 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48183 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48184 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48185 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48186 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48187 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48188 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48189 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48190 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48191 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48192 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48193 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48194 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48195 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48196 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48197 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48198 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48199 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48200 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48201 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48202 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48203 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48204 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48205 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48206 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48207 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48208 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48209 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48210 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48211 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48212 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48213 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48214 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48215 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48216 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48217 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48218 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48219 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48220 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48221 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48222 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48223 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48224 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48225 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48226 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48227 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48228 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48229 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48230 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48231 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48232 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48233 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48234 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48235 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48236 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48237 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48238 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48239 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48240 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48241 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48242 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48243 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48244 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48245 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48246 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48247 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48248 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48249 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48250 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48251 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48252 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48253 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48254 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48255 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48256 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48257 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48258 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48259 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48260 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48261 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48262 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48263 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48264 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48265 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48266 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48267 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48268 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48269 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48270 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48271 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48272 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48273 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48274 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48275 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48276 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48277 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48278 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48279 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48280 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48281 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48282 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48283 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48284 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48285 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48286 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48287 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48288 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48289 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48290 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48291 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48292 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48293 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48294 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48295 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48296 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48297 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48298 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48299 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48300 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48301 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48302 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48303 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48304 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48305 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48306 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48307 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48308 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48309 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48310 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48311 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48312 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48313 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48314 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48315 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48316 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48317 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48318 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48319 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48320 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48321 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48322 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48323 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48324 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48325 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48326 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48327 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48328 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48329 * sysdeps/ieee754/s_lib_version.c: Likewise.
48330 * sysdeps/ieee754/s_matherr.c: Likewise.
48331 * sysdeps/ieee754/s_signgam.c: Likewise.
48332 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48333 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48334 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48335 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48336 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48337 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48338 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48339 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48340 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48341 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48342 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48343 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48344 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48345 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48346 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48347 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48348 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48349 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48350 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48351 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48352 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 48353
1991fa03
JM
483542012-03-09 Joseph Myers <joseph@codesourcery.com>
48355
48356 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48357 * sunrpc/rpc_main.c: Likewise.
48358 * sunrpc/rpc_svcout.c: Likewise.
48359
60d6f5a6
DM
483602012-03-09 David S. Miller <davem@davemloft.net>
48361
48362 * include/math_private.h: New file.
48363
4962050e
JM
483642012-03-09 Joseph Myers <joseph@codesourcery.com>
48365
02a6f887
JM
48366 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48367 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48368 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48369 from <bits/socket_type.h>.
48370 (enum __socket_type): Don't define here.
48371 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48372 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48373 bits/socket_type.h.
48374
c6e013c1
JM
48375 [BZ #13566]
48376 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48377 checking __USE_GNU.
48378
4962050e
JM
48379 * Makerules ($(inst_includedir)/%.h): New rule.
48380 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48381 (install-others): Remove variable setting.
48382 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48383
38842f45
RH
483842012-03-08 Richard Henderson <rth@twiddle.net>
48385
67bb6da6
RH
48386 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48387 from macro to inline function; merge with the
48388 !__LIBC_INTERNAL_MATH_INLINES version.
48389 (__ieee754_sqrtf): Likewise.
48390
15194b4b
RH
48391 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48392 to inline function.
48393 (__rintf, __floor, __floorf): Likewise.
48394
64e21ede
RH
48395 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48396 macro to inline function.
48397 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48398
38842f45
RH
48399 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48400 not <math/math_private.h>.
48401
c64bf5fe
DM
484022012-03-08 David S. Miller <davem@davemloft.net>
48403
48404 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48405 copyright year.
48406 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48407
82d86f28
TS
484082012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48409
48410 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48411 normalization.
48412 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48413 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48414
aea5d727
UD
484152012-03-08 Ulrich Drepper <drepper@gmail.com>
48416
48417 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48418 be defined individually, they must be defined as a block. Define
48419 S for printing a string instead of hidint the different by using a
48420 macro for adding the 'l'.
48421 * stdio-common/tst-fphex-wide.c: Adjust.
48422
70bca0a3
MP
484232012-03-07 Marek Polacek <polacek@redhat.com>
48424
48425 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48426
65b81130
MP
484272012-03-08 Marek Polacek <polacek@redhat.com>
48428
48429 [BZ #13806]
48430 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48431 * stdio-common/tst-fphex.c: Define a few macros to make the
48432 test reusable. Use them.
48433 * stdio-common/tst-fphex-wide.c: New file.
48434
07037eeb
JM
484352012-03-08 Joseph Myers <joseph@codesourcery.com>
48436
a7a93d50
JM
48437 [BZ #6911]
48438 * manual/macros.texi (gnusystems): New macro.
48439 (nongnusystems): Likewise.
48440 (gnulinuxhurdsystems): Likewise.
48441 (gnuhurdsystems): Likewise..
48442 (gnulinuxsystems): Likewise.
48443 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48444 variants of the GNU system, not "GNU system".
48445 * manual/conf.texi: Likewise.
48446 * manual/errno.texi: Likewise. Update example of errno macro
48447 expansion.
48448 * manual/filesys.texi: Likewise.
48449 (getumask): Document as specific to GNU/Hurd.
48450 * manual/install.texi: Likewise. Reword some references to
48451 GNU/Linux.
48452 * manual/intro.texi: Likewise.
48453 * manual/io.texi: Likewise.
48454 (File Name Portability): Detail which constraints are inapplicable
48455 to all GNU systems and which are only inapplicable to GNU/Hurd.
48456 * manual/job.texi: Likewise.
48457 * manual/llio.texi: Likewise.
48458 (O_NOCTTY): Document as present on GNU/Linux.
48459 * manual/maint.texi: Likewise.
48460 * manual/memory.texi: Likewise.
48461 * manual/pattern.texi: Likewise.
48462 * manual/pipe.texi: Likewise.
48463 * manual/process.texi: Likewise.
48464 * manual/resource.texi: Likewise.
48465 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48466 child on GNU/Hurd.
48467 * manual/setjmp.texi: Likewise.
48468 * manual/signal.texi: Likewise.
48469 * manual/startup.texi: Likewise.
48470 * manual/stdio.texi: Likewise.
48471 * manual/terminal.texi: Likewise.
48472 (ONLCR): Document as POSIX.
48473 (OXTABS): Document availability on GNU/Linux as XTABS.
48474 (ONOEOT): Document availability separately from other bits.
48475 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48476 * manual/time.texi: Likewise.
48477 * manual/users.texi: Likewise.
48478 * INSTALL: Regenerated.
48479 * sysdeps/gnu/errlist.c: Regenerated.
48480
07037eeb
JM
48481 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48482 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48483 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48484 puts.
48485 * configure: Regenerated.
48486
d1d3431a
JM
484872012-03-07 Joseph Myers <joseph@codesourcery.com>
48488
af6a1e37
JM
48489 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48490 default includes instead of AC_HEADER_CHECK.
48491 * sysdeps/i386/configure: Regenerated.
48492
d1d3431a
JM
48493 [BZ #10716]
48494 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48495 * math/s_cacoshf.c (__cacoshf): Likewise.
48496 * math/s_cacoshl.c (__cacoshl): Likewise.
48497 * math/s_casinh.c (__casinh): Set signs of result from argument.
48498 * math/s_casinhf.c (__casinhf): Likewise.
48499 * math/s_casinhl.c (__casinhl): Likewise.
48500 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48501 (casinh_test): Add more tests.
48502 * sysdeps/i386/fpu/libm-test-ulps: Update.
48503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48504
482ff4da
UD
485052012-03-07 Ulrich Drepper <drepper@gmail.com>
48506
872fda05
UD
48507 * po/zh_TW.po: Update from translation team.
48508
a4300c7a
UD
48509 * login/Makefile (distribute): Remove variable.
48510 * catgets/Makefile: Likewise.
48511 * mach/Makefile: Likewise.
48512 * malloc/Makefile: Likewise.
48513 * misc/Makefile: Likewise.
48514 * iconv/Makefile: Likewise.
48515 * nscd/Makefile: Likewise.
48516 * hurd/Makefile: Likewise.
48517 * manual/Makefile: Likewise.
48518 * locale/Makefile: Likewise.
48519 * intl/Makefile: Likewise.
48520 * conform/Makefile: Likewise.
48521 * nss/Makefile: Likewise.
48522 * time/Makefile: Likewise.
48523 * soft-fp/Makefile: Likewise.
48524 * dirent/Makefile: Likewise.
48525 * gmon/Makefile: Likewise.
48526 * po/Makefile: Likewise.
48527 * rt/Makefile: Likewise.
48528 * socket/Makefile: Likewise.
48529 * math/Makefile: Likewise.
48530 * signal/Makefile: Likewise.
48531 * debug/Makefile: Likewise.
48532 * elf/Makefile: Likewise.
48533 * timezone/Makefile: Likewise.
48534 * stdlib/Makefile: Likewise.
48535 * iconvdata/Makefile: Likewise.
48536 * sunrpc/Makefile: Likewise.
48537 * io/Makefile: Likewise.
48538 * argp/Makefile: Likewise.
48539 * inet/Makefile: Likewise.
48540 * hesiod/Makefile: Likewise.
48541 * grp/Makefile: Likewise.
48542 * csu/Makefile: Likewise.
48543 * wctype/Makefile: Likewise.
48544 * crypt/Makefile: Likewise.
48545 * libio/Makefile: Likewise.
48546 * string/Makefile: Likewise.
48547 * nis/Makefile: Likewise.
48548 * resolv/Makefile: Likewise.
48549 * stdio-common/Makefile: Likewise.
48550 * wcsmbs/Makefile: Likewise.
48551 * dlfcn/Makefile: Likewise.
48552 * posix/Makefile: Likewise.
48553
3b7c4e74 48554 [BZ #6959]
482ff4da
UD
48555 * timezone/Makefile: Don't install timezone files, just the programs
48556 and scripts.
48557
f72ed77d
UD
485582012-03-06 Ulrich Drepper <drepper@gmail.com>
48559
a000466f
UD
48560 * nss/databases.def: Add missing gshadow entry.
48561
f72ed77d
UD
48562 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48563
a53b7a4e
MP
485642012-03-06 Marek Polacek <polacek@redhat.com>
48565
48566 [BZ #13726]
48567 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48568 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48569 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48570 * stdio-common/tst-long-dbl-fphex.c: New file.
48571
e9258400
DM
485722012-03-06 David S. Miller <davem@davemloft.net>
48573
48574 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48575 (set_obp_int): New function.
48576 (get_obp_int): New function.
48577 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
48578 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48579 Avoid unused variable warnings on 'val' and use builtin_expect.
48580 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48581 __builtin_expect.
e9258400
DM
48582 (INLINE_CLONE_SYSCALL): Likewise.
48583
3bd2c723
DM
485842012-03-05 David S. Miller <davem@davemloft.net>
48585
48586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48587
bbb78d03
AS
485882012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48589
884c5db4
AS
48590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48591
bbb78d03
AS
48592 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48593 only for |x| >= 40.
48594 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48595
1c9f702a 485962012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
48597
48598 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48599 Replace gettimeofday with __vdso_gettimeofday.
48600
7be16f82
RM
48601 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48602 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48603 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
48604
48605 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48606 time with __vdso_time.
48607
ed58a00f
JM
486082012-03-05 Joseph Myers <joseph@codesourcery.com>
48609
48610 * manual/lang.texi (size_t): Note types to which size_t may be
48611 equivalent with the GNU C Library, but do not describe when
48612 differences between them are significant.
48613
30ee4ced
AJ
486142012-03-05 Andreas Jaeger <aj@suse.de>
48615
48616 * sysdeps/i386/fpu/libm-test-ulps: Update.
48617
b7cd39e8
JM
486182012-03-05 Joseph Myers <joseph@codesourcery.com>
48619
48620 [BZ #3976]
48621 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48622 (__ieee754_pow): Save and restore rounding mode and use
48623 round-to-nearest for main computations.
48624 * math/libm-test.inc (pow_test_tonearest): New function.
48625 (pow_test_towardzero): Likewise.
48626 (pow_test_downward): Likewise.
48627 (pow_test_upward): Likewise.
48628 (main): Call the new functions.
48629 * sysdeps/i386/fpu/libm-test-ulps: Update.
48630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
48631
48632 [BZ #3976]
48633 * math/libm-test.inc (cosh_test_tonearest): New function.
48634 (cosh_test_towardzero): Likewise.
48635 (cosh_test_downward): Likewise.
48636 (cosh_test_upward): Likewise.
48637 (sinh_test_tonearest): Likewise.
48638 (sinh_test_towardzero): Likewise.
48639 (sinh_test_downward): Likewise.
48640 (sinh_test_upward): Likewise.
48641 (main): Call the new functions.
48642 * sysdeps/i386/fpu/libm-test-ulps: Update.
48643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48644
6c6a98c9
TV
486452012-03-05 Tom de Vries <tom@codesourcery.com>
48646
48647 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48648 default stack guard is set in last bytes.
48649 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48650
21bb2d2e 486512012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 48652
21bb2d2e 48653 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 48654
21bb2d2e
AJ
48655 [BZ #13656]
48656 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48657 possibly allocate from heap instead of stack.
48658 * stdio-common/bug-vfprintf-nargs.c: New file.
48659 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 48660
c6922934
AS
486612012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48662
48663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48664
bc957d53
MP
486652012-03-03 Marek Polacek <polacek@redhat.com>
48666
48667 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48668 * math/math_private.h: Likewise.
48669 * stdlib/tst-strtod.c: Likewise.
48670 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48671 * sysdeps/x86_64/bits/atomic.h: Likewise.
48672
6358490d
DM
486732012-03-02 David S. Miller <davem@davemloft.net>
48674
48675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48679 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48680 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48681 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48682 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48683
01ae168d
RM
486842012-03-02 Roland McGrath <roland@hack.frob.com>
48685
d9a17c07
RM
48686 [BZ #13792]
48687 * manual/examples/README: New file, says the example source files
48688 can be used under GPL>=2.
48689 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48690 line containing just "*/".
48691 * manual/examples/add.c: Add copyright header (GPL>=2).
48692 * manual/examples/argp-ex1.c: Likewise.
48693 * manual/examples/argp-ex2.c: Likewise.
48694 * manual/examples/argp-ex3.c: Likewise.
48695 * manual/examples/argp-ex4.c: Likewise.
48696 * manual/examples/atexit.c: Likewise.
48697 * manual/examples/db.c: Likewise.
48698 * manual/examples/dir.c: Likewise.
48699 * manual/examples/dir2.c: Likewise.
48700 * manual/examples/execinfo.c: Likewise.
48701 * manual/examples/filecli.c: Likewise.
48702 * manual/examples/filesrv.c: Likewise.
48703 * manual/examples/fmtmsgexpl.c: Likewise.
48704 * manual/examples/genpass.c: Likewise.
48705 * manual/examples/inetcli.c: Likewise.
48706 * manual/examples/inetsrv.c: Likewise.
48707 * manual/examples/isockad.c: Likewise.
48708 * manual/examples/longopt.c: Likewise.
48709 * manual/examples/memopen.c: Likewise.
48710 * manual/examples/memstrm.c: Likewise.
48711 * manual/examples/mkfsock.c: Likewise.
48712 * manual/examples/mkisock.c: Likewise.
48713 * manual/examples/mygetpass.c: Likewise.
48714 * manual/examples/pipe.c: Likewise.
48715 * manual/examples/popen.c: Likewise.
48716 * manual/examples/rprintf.c: Likewise.
48717 * manual/examples/search.c: Likewise.
48718 * manual/examples/select.c: Likewise.
48719 * manual/examples/setjmp.c: Likewise.
48720 * manual/examples/sigh1.c: Likewise.
48721 * manual/examples/sigusr.c: Likewise.
48722 * manual/examples/stpcpy.c: Likewise.
48723 * manual/examples/strdupa.c: Likewise.
48724 * manual/examples/strftim.c: Likewise.
48725 * manual/examples/strncat.c: Likewise.
48726 * manual/examples/subopt.c: Likewise.
48727 * manual/examples/swapcontext.c: Likewise.
48728 * manual/examples/termios.c: Likewise.
48729 * manual/examples/testopt.c: Likewise.
48730 * manual/examples/testpass.c: Likewise.
48731 * manual/examples/timeval_subtract.c: Likewise.
48732
01ae168d
RM
48733 [BZ #13792]
48734 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48735 function to ...
48736 * manual/timeval_subtract.c.texi: ... here, new file.
48737
49efa33d
DM
487382012-03-02 David S. Miller <davem@davemloft.net>
48739
48740 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48741
28afd92d
JM
487422012-03-02 Joseph Myers <joseph@codesourcery.com>
48743
804360ed
JM
48744 [BZ #3976]
48745 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48746 (__sin): Save and restore rounding mode and use round-to-nearest
48747 for all computations.
48748 (__cos): Save and restore rounding mode and use round-to-nearest
48749 for all computations.
48750 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48751 <fenv.h>.
48752 (tan): Save and restore rounding mode and use round-to-nearest for
48753 all computations.
48754 * math/libm-test.inc (cos_test_tonearest): New function.
48755 (cos_test_towardzero): Likewise.
48756 (cos_test_downward): Likewise.
48757 (cos_test_upward): Likewise.
48758 (sin_test_tonearest): Likewise.
48759 (sin_test_towardzero): Likewise.
48760 (sin_test_downward): Likewise.
48761 (sin_test_upward): Likewise.
48762 (tan_test_tonearest): Likewise.
48763 (tan_test_towardzero): Likewise.
48764 (tan_test_downward): Likewise.
48765 (tan_test_upward): Likewise.
48766 (main): Call the new functions.
48767 * sysdeps/i386/fpu/libm-test-ulps: Update.
48768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48769
a6d06d7b
JM
48770 [BZ #10135]
48771 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48772 small n, then large n, before computing and testing k+n.
48773 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48774 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48775 Likewise.
48776 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48777 Likewise.
48778 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48779 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48780 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48781 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48782 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48783 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48784 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48785 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48786 * math/libm-test.inc (scalbn_test): Add more tests.
48787 (scalbln_test): Likewise.
48788
07e12bb3
JM
48789 * manual/filesys.texi (mode_t): Describe constraints on size and
48790 signedness, not exact equivalence to a particular type.
48791 (ino_t): Likewise.
48792 (ino64_t): Likewise.
48793 (dev_t): Likewise.
48794 (nlink_t): Likewise.
48795 (blkcnt_t): Likewise.
48796 (blkcnt64_t): Likewise.
48797 * manual/llio.texi (off_t): Likewise.
48798
28afd92d
JM
48799 [BZ #3976]
48800 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48801 (__ieee754_exp): Save and restore rounding mode and use
48802 round-to-nearest for all computations.
48803 * math/libm-test.inc (exp_test_tonearest): New function.
48804 (exp_test_towardzero): Likewise.
48805 (exp_test_downward): Likewise.
48806 (exp_test_upward): Likewise.
48807 (main): Call the new functions.
48808 * sysdeps/i386/fpu/libm-test-ulps: Update.
48809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48810
b1eeb65d
CD
488112012-03-01 Chris Demetriou <cgd@google.com>
48812
48813 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48814 have predictable order.
48815
53362a4b
DM
488162012-03-01 David S. Miller <davem@davemloft.net>
48817
3c969083
DM
48818 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48819
759707de
DM
48820 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48821 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48822 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48823 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48824
dfdb8ff2
DM
48825 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48826 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48827 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48829 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48830 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48831 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48832 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48833 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48834
ead89f96
DM
48835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48836
7f66bd07
DM
48837 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48838 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48839 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48840
53362a4b
DM
48841 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48842 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48843 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48844 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48845 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48846 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48847 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48848 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48849 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48850 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48851 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48852 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48853 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48854 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48855 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48856 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48857 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48858 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48859 * sysdeps/sparc/elf/configure: Regenerated.
48860
7b1902cb
JM
488612012-03-01 Joseph Myers <joseph@codesourcery.com>
48862
bec039bc
JM
48863 * configure.in (AS, LD): Require binutils 2.20 or later.
48864 * configure: Regenerated.
48865 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48866 as required minimum version.
48867 * INSTALL: Regenerated.
48868
7b1902cb
JM
48869 [BZ #2541]
48870 [BZ #4108]
48871 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48872 before squaring exponent.
48873 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48874 bottom long double and 27 bits of top long double before squaring
48875 exponent.
48876 * math/libm-test.inc (erfc_test): Add more tests.
48877 * sysdeps/i386/fpu/libm-test-ulps: Update.
48878 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48880
f775c276
KT
488812012-03-01 Kai Tietz <ktietz@redhat.com>
48882
48883 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48884 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48885 containing bit-fields.
48886 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48887 * soft-fp/single.h (_FP_UNION_S): Likewise.
48888 * soft-fp/double.h (_FP_UNION_D): Likewise.
48889
5b8a4d4a
JM
488902012-02-29 Joseph Myers <joseph@codesourcery.com>
48891
0bab47b6
JM
48892 [BZ #13786]
48893 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48894 not include ../strcmp.S.
48895 [USE_AS_STRNCASECMP_L]: Likewise.
48896 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48897 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48898 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48899 (__strncasecmp_l_ia32): Define as alias to
48900 __strncasecmp_l_nonascii.
48901
0fcad3e2
JM
48902 [BZ #5794]
48903 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48904 * sysdeps/i386/fpu/libm-test-ulps: Update.
48905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48906
5b8a4d4a
JM
48907 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48909
8fdceb2e
JL
489102012-02-29 Jeff Law <law@redhat.com>
48911
48912 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48913 out of bounds read.
48914
1f393a11
MP
489152012-02-29 Marek Polacek <polacek@redhat.com>
48916
48917 [BZ #13706]
48918 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48919 * elf/Makefile: Add rules to run tst-unused-dep.out.
48920
8847f037
DM
489212012-02-28 David S. Miller <davem@davemloft.net>
48922
48923 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48924 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48925 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48926 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48927 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48928 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48929
169d7f11
JM
489302012-02-29 Joseph Myers <joseph@codesourcery.com>
48931
48932 * math/libm-test.inc (llround_test): Move one test from
48933 lround_test. Use TEST_f_L in moved test.
48934 (lround_test): Move misplaced test to llround_test. Add testcase
48935 from bug 2561.
48936
39adf059
UD
489372012-02-28 Ulrich Drepper <drepper@gmail.com>
48938
48939 * sysdeps/x86_64/fpu/e_expf.S: New file.
48940 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48941
71b5d1c5
SB
489422012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48943
48944 [BZ #13637]
48945 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48946 of remain_len that may cause incomplete multi-byte character and
48947 false match.
48948 * posix/bug-regex33.c: New file.
48949 * posix/Makefile (tests): Add bug-regex33.
48950
1f77f049
JM
489512012-02-28 Joseph Myers <joseph@codesourcery.com>
48952
48953 * manual/macros.texi: New file.
48954 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48955 * manual/libc.texinfo: Include macros.texi.
48956 * manual/creatute.texi: Likewise.
48957 * manual/install.texi: Likewise.
48958 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48959 @glibcadj{} in references to the GNU C Library.
48960 * manual/charset.texi: Likewise.
48961 * manual/conf.texi: Likewise.
48962 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48963 when not using those macros.
48964 * manual/creature.texi: Likewise.
48965 * manual/crypt.texi: Likewise.
48966 * manual/errno.texi: Likewise.
48967 * manual/filesys.texi: Likewise.
48968 * manual/header.texi: Likewise.
48969 * manual/install.texi: Likewise.
48970 * manual/intro.texi: Likewise.
48971 * manual/io.texi: Likewise.
48972 * manual/job.texi: Likewise.
48973 * manual/lang.texi: Likewise.
48974 * manual/libc.texiinfo: Likewise.
48975 * manual/llio.texi: Likewise.
48976 * manual/locale.texi: Likewise.
48977 * manual/maint.texi: Likewise.
48978 * manual/math.texi: Likewise.
48979 * manual/memory.texi: Likewise.
48980 * manual/message.texi: Likewise.
48981 * manual/nss.texi: Likewise.
48982 * manual/pattern.texi: Likewise.
48983 * manual/process.texi: Likewise.
48984 * manual/resource.texi: Likewise.
48985 * manual/search.texi: Likewise.
48986 * manual/setjmp.texi: Likewise.
48987 * manual/signal.texi: Likewise.
48988 * manual/socket.texi: Likewise.
48989 * manual/startup.texi: Likewise.
48990 * manual/stdio.texi: Likewise.
48991 * manual/string.texi: Likewise.
48992 * manual/sysinfo.texi: Likewise.
48993 * manual/syslog.texi: Likewise.
48994 * manual/terminal.texi: Likewise.
48995 * manual/time.texi: Likewise.
48996 * manual/users.texi: Likewise.
48997 * INSTALL: Regenerated.
48998 * NOTES: Regenerated.
d40c5d54 48999 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 49000
450bf206
AS
490012012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49002
49003 * include/dirent.h: Include <dirstream.h> before
49004 <dirent/dirent.h>.
49005
741a235b
DM
490062012-02-28 David S. Miller <davem@davemloft.net>
49007
49008 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49009 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49010 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49011 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49012
d6b5aa58
DM
490132012-02-27 David S. Miller <davem@davemloft.net>
49014
1aff59a3
DM
49015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49017 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49018 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49019
d6b5aa58
DM
49020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49021 frame pointer instead of stack pointer relative arg slot.
49022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49023 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49024 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49025
433f48bf
CD
490262012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49027
49028 [BZ #3992]
49029 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49030
d674b76d
DM
490312012-02-27 David S. Miller <davem@davemloft.net>
49032
49033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49037 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49038 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49039 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49040 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49041
0e7727f7
JM
490422012-02-27 Joseph Myers <joseph@codesourcery.com>
49043
49044 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49045 later. Allow versions 5-9.
43be4ca2 49046 * configure: Regenerated.
0e7727f7
JM
49047 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49048 required minimum version and 4.6 as recommended version. Do not
49049 mention bugs in GCC 2.7 and 2.8.
43be4ca2 49050 * INSTALL: Regenerated.
0e7727f7 49051
a78bc654
DM
490522012-02-27 David S. Miller <davem@davemloft.net>
49053
428d5830
DM
49054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49058 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49059 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49060 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49061 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49062
a78bc654
DM
49063 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49064 manipulate bits before adding and subtracting TWO112[sx].
49065 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49066
4579f81c
RM
490672012-02-27 Roland McGrath <roland@hack.frob.com>
49068
36c8acb4
RM
49069 [BZ #13775]
49070 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49071 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49072 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49073 being in POSIX, because they are in 1003.1-2008.
49074
84ad622b
RM
49075 * rt/tst-aio.c: Include <fcntl.h>.
49076 * rt/tst-aio7.c: Likewise.
49077 * rt/tst-aio64.c: Likewise.
49078
4579f81c
RM
49079 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49080
abd923db
JM
490812012-02-27 Joseph Myers <joseph@codesourcery.com>
49082
49083 * manual/install.texi (--with-headers): Describe headers as
49084 interface headers, not private headers.
49085 (Specific advice for GNU/Linux systems): Describe use of headers
49086 from "make headers_install", not private headers from older
49087 kernels.
43be4ca2 49088 * INSTALL: Regenerated.
abd923db
JM
49089 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49090 Change to 2.6.19.
49091 * sysdeps/unix/sysv/linux/configure: Regenerated.
49092
6664049b
JM
49093 * manual/llio.texi (fclean): Remove documentation.
49094
bb8b6697
JM
49095 * manual/Makefile (libc-texi-generated): New variable. Include
49096 version.texi.
49097 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49098 $(libc-texi-generated), not duplicated list of files.
49099 (version.texi, stamp-version): New rules.
49100 (realclean): Remove $(libc-texi-generated), not individual files
49101 from that list. Do not remove dir-add.texinfo.
49102 * manual/libc.texinfo: Comment out uses of edition numbers and
49103 references to printed manual. Remove last-updated dates.
49104 (EDITION): Comment out.
49105 (ISBN): Likewise.
49106 (VERSION, UPDATED): Remove.
49107 (version.texi): Include.
49108
12e5c3b9
AS
491092012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49110
49111 * sysdeps/posix/spawni.c: Include <signal.h>.
49112 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49113 * sysdeps/pthread/aio_fsync.c: Likewise.
49114
4efeffc1 491152012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 49116
ba63ba08
UD
49117 * conform/Makefile (tests): Run only when not cross-compiling and
49118 when fast-check is not defined.
49119
d94a4670
UD
49120 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49121 * conform/data/limits.h-data: Fixes for POSIX2008.
49122 * conform/run-conformtest.sh: Run all tests.
49123 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49124 headers.
49125 * include/bits/dlfcn.h: Likewise.
49126 * include/langinfo.h: Likewise.
49127 * include/monetary.h: Likewise.
49128 * include/sys/poll.h: Likewise.
49129
49130 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49131 for __USE_GNU.
49132 * posix/spawn.h: Define __need_sigset_t.
49133 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49134 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49135 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49136 to get sigevent_t only.
49137 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49138 only for __USE_GNU.
49139 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49140 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49141 process_vm_writev only for __USE_GNU.
49142 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
49143
49144 * conform/Makefile: For now ignore errors from run-conformtest.
49145 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49146 POSIX to avoid namespace pollution. Don't prepend headers.
49147 * conform/data/aio.h-data: Fixes for POSIX testing.
49148 * conform/data/fcntl.h-data: Likewise.
49149 * conform/data/glob.h-data: Likewise.
49150 * conform/data/grp.h-data: Likewise.
49151 * conform/data/pthread.h-data: Likewise.
49152 * conform/data/pwd.h-data: Likewise.
49153 * conform/data/signal.h-data: Likewise.
49154 * conform/data/spawn.h-data: Likewise.
49155 * conform/data/stdio.h-data: Likewise.
49156 * conform/data/stdlib.h-data: Likewise.
49157 * conform/data/stropts.h-data: Likewise.
49158 * conform/data/sys/mman.h-data: Likewise.
49159 * conform/data/sys/stat.h-data: Likewise.
49160 * conform/data/sys/types.h-data: Likewise.
49161 * conform/data/sys/wait.h-data: Likewise.
49162 * conform/data/time.h-data: Likewise.
49163 * conform/data/unistd.h-data: Likewise.
49164 * conform/data/utime.h-data: Likewise.
49165
49166 * io/sys/stat.h: fchmod was always in POSIX.
49167 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49168 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49169 * rt/aio.h: Define __need_timespec before including <time.h>.
49170 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49171 struct. Add forward declaration of pthread_attr_t and use it in
49172 sigevent.
49173 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49174 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49175 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49176 always remove CLK_TCK definition.
49177
c20105c3
AS
491782012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49179
49180 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49181
7a270350
UD
491822012-02-25 Ulrich Drepper <drepper@gmail.com>
49183
31341567
UD
49184 * conform/run-conformtest.sh: New file.
49185 * conform/Makefile: Run run-conformtest for tests.
49186 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49187 support.
49188
49189 * conform/data/uchar.h-data: New file.
49190 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49191 * conform/data/arpa/inet.h-data: Likewise.
49192 * conform/data/assert.h-data: Likewise.
49193 * conform/data/complex.h-data: Likewise.
49194 * conform/data/cpio.h-data: Likewise.
49195 * conform/data/ctype.h-data: Likewise.
49196 * conform/data/dirent.h-data: Likewise.
49197 * conform/data/dlfcn.h-data: Likewise.
49198 * conform/data/errno.h-data: Likewise.
49199 * conform/data/fcntl.h-data: Likewise.
49200 * conform/data/float.h-data: Likewise.
49201 * conform/data/fmtmsg.h-data: Likewise.
49202 * conform/data/fnmatch.h-data: Likewise.
49203 * conform/data/ftw.h-data: Likewise.
49204 * conform/data/glob.h-data: Likewise.
49205 * conform/data/grp.h-data: Likewise.
49206 * conform/data/iconv.h-data: Likewise.
49207 * conform/data/inttypes.h-data: Likewise.
49208 * conform/data/langinfo.h-data: Likewise.
49209 * conform/data/libgen.h-data: Likewise.
49210 * conform/data/limits.h-data: Likewise.
49211 * conform/data/locale.h-data: Likewise.
49212 * conform/data/math.h-data: Likewise.
49213 * conform/data/monetary.h-data: Likewise.
49214 * conform/data/mqueue.h-data: Likewise.
49215 * conform/data/ndbm.h-data: Likewise.
49216 * conform/data/net/if.h-data: Likewise.
49217 * conform/data/netdb.h-data: Likewise.
49218 * conform/data/netinet/in.h-data: Likewise.
49219 * conform/data/nl_types.h-data: Likewise.
49220 * conform/data/poll.h-data: Likewise.
49221 * conform/data/pthread.h-data: Likewise.
49222 * conform/data/pwd.h-data: Likewise.
49223 * conform/data/regex.h-data: Likewise.
49224 * conform/data/sched.h-data: Likewise.
49225 * conform/data/search.h-data: Likewise.
49226 * conform/data/semaphore.h-data: Likewise.
49227 * conform/data/setjmp.h-data: Likewise.
49228 * conform/data/signal.h-data: Likewise.
49229 * conform/data/spawn.h-data: Likewise.
49230 * conform/data/stdarg.h-data: Likewise.
49231 * conform/data/stdio.h-data: Likewise.
49232 * conform/data/stdlib.h-data: Likewise.
49233 * conform/data/string.h-data: Likewise.
49234 * conform/data/strings.h-data: Likewise.
49235 * conform/data/stropts.h-data: Likewise.
49236 * conform/data/sys/ipc.h-data: Likewise.
49237 * conform/data/sys/mman.h-data: Likewise.
49238 * conform/data/sys/msg.h-data: Likewise.
49239 * conform/data/sys/resource.h-data: Likewise.
49240 * conform/data/sys/select.h-data: Likewise.
49241 * conform/data/sys/sem.h-data: Likewise.
49242 * conform/data/sys/shm.h-data: Likewise.
49243 * conform/data/sys/socket.h-data: Likewise.
49244 * conform/data/sys/stat.h-data: Likewise.
49245 * conform/data/sys/statvfs.h-data: Likewise.
49246 * conform/data/sys/time.h-data: Likewise.
49247 * conform/data/sys/timeb.h-data: Likewise.
49248 * conform/data/sys/times.h-data: Likewise.
49249 * conform/data/sys/types.h-data: Likewise.
49250 * conform/data/sys/uio.h-data: Likewise.
49251 * conform/data/sys/un.h-data: Likewise.
49252 * conform/data/sys/utsname.h-data: Likewise.
49253 * conform/data/sys/wait.h-data: Likewise.
49254 * conform/data/syslog.h-data: Likewise.
49255 * conform/data/tar.h-data: Likewise.
49256 * conform/data/termios.h-data: Likewise.
49257 * conform/data/utime.h-data: Likewise.
49258 * conform/data/utmpx.h-data: Likewise.
49259 * conform/data/varargs.h-data: Likewise.
49260 * conform/data/wchar.h-data: Likewise.
49261 * conform/data/wctype.h-data: Likewise.
49262 * conform/data/wordexp.h-data: Likewise.
49263
49264 * include/stropts.h: New file.
49265 * include/uchar.h: New file.
49266 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49267 * include/assert.h: Likewise.
49268 * include/ctype.h: Likewise.
49269 * include/dirent.h: Likewise.
49270 * include/dlfcn.h: Likewise.
49271 * include/fcntl.h: Likewise.
49272 * include/fnmatch.h: Likewise.
49273 * include/glob.h: Likewise.
49274 * include/grp.h: Likewise.
49275 * include/libio.h: Likewise.
49276 * include/locale.h: Likewise.
49277 * include/math.h: Likewise.
49278 * include/net/if.h: Likewise.
49279 * include/netdb.h: Likewise.
49280 * include/netinet/in.h: Likewise.
49281 * include/pthread.h: Likewise.
49282 * include/pwd.h: Likewise.
49283 * include/regex.h: Likewise.
49284 * include/sched.h: Likewise.
49285 * include/search.h: Likewise.
49286 * include/setjmp.h: Likewise.
49287 * include/signal.h: Likewise.
49288 * include/stdio.h: Likewise.
49289 * include/stdlib.h: Likewise.
49290 * include/string.h: Likewise.
49291 * include/sys/cdefs.h: Likewise.
49292 * include/sys/mman.h: Likewise.
49293 * include/sys/msg.h: Likewise.
49294 * include/sys/resource.h: Likewise.
49295 * include/sys/select.h: Likewise.
49296 * include/sys/socket.h: Likewise.
49297 * include/sys/stat.h: Likewise.
49298 * include/sys/statvfs.h: Likewise.
49299 * include/sys/time.h: Likewise.
49300 * include/sys/times.h: Likewise.
49301 * include/sys/uio.h: Likewise.
49302 * include/sys/utsname.h: Likewise.
49303 * include/sys/wait.h: Likewise.
49304 * include/termios.h: Likewise.
49305 * include/time.h: Likewise.
49306 * include/ulimit.h: Likewise.
49307 * include/unistd.h: Likewise.
49308 * include/utime.h: Likewise.
49309 * include/wchar.h: Likewise.
49310 * include/wctype.h: Likewise.
49311 * include/wordexp.h: Likewise.
49312
49313 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49314
7a270350
UD
49315 * time/time.h: TIME_UTC must be a macro.
49316 Make timespec_get available for ISO C11 only as well.
49317
7724defc
UD
493182012-02-24 Ulrich Drepper <drepper@gmail.com>
49319
49320 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49321 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49322
6b1d1d46
JM
493232012-02-24 Joseph Myers <joseph@codesourcery.com>
49324
49325 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 49326
0f8bbd69
JM
493272012-02-24 Joseph Myers <joseph@codesourcery.com>
49328
49329 * manual/texinfo.tex: Update to version 2012-01-19.16.
49330
66ab80bc
JM
493312012-02-24 Joseph Myers <joseph@codesourcery.com>
49332
49333 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49334
74981cc5
RM
493352012-02-24 Roland McGrath <roland@hack.frob.com>
49336
ee968201
RM
49337 [BZ #13738]
49338 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49339 * manual/fdl-1.3.texi: New file.
49340 * manual/fdl-1.1.texi: File removed.
49341
74981cc5
RM
49342 [BZ #13738]
49343 * manual/libc.texinfo (FDL_VERSION): New @set.
49344 Use it for mention of FDL in cover text.
49345 (Documentation License): Use it in @include file name.
49346
7bb764bc
JM
493472012-02-22 Joseph Myers <joseph@codesourcery.com>
49348 Roland McGrath <roland@hack.frob.com>
49349
49350 [BZ #5461]
57f41c40
AS
49351 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49352 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
49353 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49354 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49355 name.
49356 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49357
6cbeae47
JM
493582012-02-22 Joseph Myers <joseph@codesourcery.com>
49359
49360 [BZ #2547]
49361 [BZ #11365]
49362 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49363 manipulate bits before adding and subtracting TWO23[sx].
49364 * math/libm-test.inc (nearbyint_test): Add more tests.
49365
fe45ce09
JM
493662012-02-22 Joseph Myers <joseph@codesourcery.com>
49367
49368 [BZ #2548]
49369 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49370 bits before adding and subtracting TWO23[sx].
49371 * math/libm-test.inc (rint_test): Add more tests.
49372 (rint_test_tonearest): Likewise.
49373 (rint_test_towardzero): Likewise.
49374 (rint_test_downward): Likewise.
49375 (rint_test_upward: Likewise.
49376
ff3b3d82
JM
493772012-02-22 Joseph Myers <joseph@codesourcery.com>
49378
49379 [BZ #10110]
49380 * include/stdc-predef.h: New file. Extracted from features.h.
49381 * include/features.h: Include stdc-predef.h.
49382 * Makefile (headers): Add stdc-predef.h.
49383 * CONFORMANCE (Compiler limitations): Update.
49384
ef0aab35
JM
493852012-02-22 Joseph Myers <joseph@codesourcery.com>
49386
49387 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49388
58639409
DM
493892012-02-21 David S. Miller <davem@davemloft.net>
49390
49391 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49392 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49393
c0e70b25
DM
493942012-02-20 David S. Miller <davem@davemloft.net>
49395
49396 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49397 using a normal save/restore sequence, rather than allocating a
49398 dummy stack frame just to store a frame pointer and restore.
49399 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49400
fb06851d
JM
494012012-02-21 Joseph Myers <joseph@codesourcery.com>
49402
49403 * manual/install.texi: Fix stray word in line-wrapped comment.
49404
7a8b71c3
DM
494052012-02-20 David S. Miller <davem@davemloft.net>
49406
d510c123
DM
49407 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49408 both binutils and gcc support GOTDATA.
49409
0722d7c2
DM
49410 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49411 "rd %pc" in the PIC register setup sequences.
49412
3d2b3019
DM
49413 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49414 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49415 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49416 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49417 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49418 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49419 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49420 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49421 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49422 (SYSCALL_ERROR_HANDLER): Likewise.
49423 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49424 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49425 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49426 (SYSCALL_ERROR_HANDLER): Likewise.
49427
c80098a9
DM
49428 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49429 (HAVE_GCC_GOTDATA): New.
49430 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49431 relocation support in both binutils and gcc.
49432 * sysdeps/sparc/elf/configure: Regenerate.
49433
3a2545a0
DM
49434 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49435 * sysdeps/sparc/sparc32/elf/configure: Delete.
49436 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49437 * sysdeps/sparc/sparc64/elf/configure: Delete.
49438 * sysdeps/sparc/elf/configure.in: New file.
49439 * sysdeps/sparc/elf/configure: Generate.
49440
7a8b71c3
DM
49441 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49442 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49443 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49444 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49445 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49446
f1e86fca
JM
494472012-02-21 Joseph Myers <joseph@codesourcery.com>
49448
49449 * manual/install.texi: Do not mention specific glibc version
49450 numbers.
49451 * manual/libc.texinfo (VERSION, UPDATED): Update.
49452 (@copying): Use @copyright{} and range of years.
49453
0e7dfaef
JM
494542012-02-21 Joseph Myers <joseph@codesourcery.com>
49455
49456 [BZ #13695]
49457 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49458 [crti.S not in sysdirs] (generated): Do not append.
49459 [crti.S not in sysdirs] (omit-deps): Likewise.
49460 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49461 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49462 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49463 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49464 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49465 Likewise.
49466 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49467 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49468 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49469 * csu/defs.awk: Remove file.
49470 * sysdeps/generic/initfini.c: Likewise.
49471 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49472 variable.
49473 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49474 Likewise.
49475
599af3ca
JM
494762012-02-20 Joseph Myers <joseph@codesourcery.com>
49477
49478 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49479 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49480 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49481 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49482 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49483 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49484 <bits/epoll.h>.
49485 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49486 (__EPOLL_PACKED): Define to empty if not defined by
49487 <bits/epoll.h>.
49488 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49490 bits/epoll.h.
49491
0e499750
JM
494922012-02-20 Joseph Myers <joseph@codesourcery.com>
49493
49494 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49495 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49496 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49497 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49498 <bits/timerfd.h>.
49499 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49500 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49501 bits/timerfd.h.
49502
5ad91f6e
JM
495032012-02-20 Joseph Myers <joseph@codesourcery.com>
49504
49505 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49506 in C locale.
49507 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49508 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49509 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49511
06b99b02
AJ
495122012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49513
49514 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49515 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49516
7638c0fd
AS
495172012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49518
49519 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49520 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49521 defined.
49522 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49523 Likewise.
49524 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49525 entry for 2.16.
49526
92221550
AJ
495272012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49528
49529 * math/w_acos.c: Use non-signaling floating-point comparisons.
49530 * math/w_acosf.c: Likewise.
49531 * math/w_acosh.c: Likewise.
49532 * math/w_acoshf.c: Likewise.
49533 * math/w_acoshl.c: Likewise.
49534 * math/w_acosl.c: Likewise.
49535 * math/w_asin.c: Likewise.
49536 * math/w_asinf.c: Likewise.
49537 * math/w_asinl.c: Likewise.
49538 * math/w_atanh.c: Likewise.
49539 * math/w_atanhf.c: Likewise.
49540 * math/w_atanhl.c: Likewise.
49541 * math/w_exp2.c: Likewise.
49542 * math/w_exp2f.c: Likewise.
49543 * math/w_exp2l.c: Likewise.
49544 * math/w_j0.c: Likewise.
49545 * math/w_j0f.c: Likewise.
49546 * math/w_j0l.c: Likewise.
49547 * math/w_j1.c: Likewise.
49548 * math/w_j1f.c: Likewise.
49549 * math/w_j1l.c: Likewise.
49550 * math/w_jn.c: Likewise.
49551 * math/w_jnf.c: Likewise.
49552 * math/w_log.c: Likewise.
49553 * math/w_log10.c: Likewise.
49554 * math/w_log10f.c: Likewise.
49555 * math/w_log10l.c: Likewise.
49556 * math/w_log2.c: Likewise.
49557 * math/w_log2f.c: Likewise.
49558 * math/w_log2l.c: Likewise.
49559 * math/w_logf.c: Likewise.
49560 * math/w_logl.c: Likewise.
49561 * math/w_sqrt.c: Likewise.
49562 * math/w_sqrtf.c: Likewise.
49563 * math/w_sqrtl.c: Likewise.
49564 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49565 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49566 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49567 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49568 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49569
ebaf36eb
JM
495702012-02-19 Joseph Myers <joseph@codesourcery.com>
49571
49572 [BZ #9739]
49573 * manual/string.texi (strnlen): Use correct parameter name in
49574 equivalent expression.
49575
71c254a6
JM
495762012-02-19 Joseph Myers <joseph@codesourcery.com>
49577
49578 [BZ #11174]
49579 * manual/users.texi (seteuid): Consistently use neweuid for
49580 argument name.
49581
16d2c631
JM
495822012-02-19 Joseph Myers <joseph@codesourcery.com>
49583
49584 [BZ #13704]
49585 * manual/nss.texi (Services in the NSS configuration): Correct
49586 list of services in example configuration file.
49587
cd837b09
NB
495882012-02-19 Nick Bowler <nbowler@draconx.ca>
49589
49590 [BZ #11322]
49591 * manual/arith.texi: Remove statements about negative zero
49592 behaving identically to zero.
49593
02c4bbad
JM
495942012-02-18 Joseph Myers <joseph@codesourcery.com>
49595
49596 [BZ #5993]
49597 * manual/install.texi: Do not document upgrading from libc5.
49598
366842e7
JM
495992012-02-18 Joseph Myers <joseph@codesourcery.com>
49600
49601 [BZ #4596]
49602 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49603
dd54084d
DM
496042012-02-18 David S. Miller <davem@davemloft.net>
49605
49606 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49607 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49608 %o7 across the call.
49609 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49610 instead.
49611 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49612 SETUP_PIC_REG_LEAF.
49613 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49614 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49615 * sysdeps/sparc/crtn.S: Likewise.
49616
2bcc53a3
UD
496172012-02-17 Ulrich Drepper <drepper@gmail.com>
49618
49619 * aout/Makefile: Remove.
49620
09c093b5
RK
496212012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49622
49623 [BZ #13058]
49624 * manual/examples/argp-ex1.c (main): Format definition in GNU
49625 style.
49626 * manual/examples/argp-ex2.c (main): Likewise.
49627 * manual/examples/argp-ex3.c (main): Likewise.
49628 * manual/examples/argp-ex4.c (main): Likewise.
49629 * manual/examples/longopt.c (main): Use new-style prototype
49630 definition.
49631 * manual/examples/strncat.c (main): Specify return type and use
49632 (void) for arguments.
49633 * manual/examples/subopt.c (main): Use char **argv argument.
49634
2ee633a2
JM
496352012-02-17 Joseph Myers <joseph@codesourcery.com>
49636
49637 [BZ #5077]
49638 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49639 rounding modes.
49640
0520adde
FB
496412012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49642
49643 [BZ #6907]
49644 * manual/string.texi (strchr): Change when strchrnul is
49645 recommended.
49646
3f4081cd
DGM
496472012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49648
49649 [BZ #174]
49650 * manual/locale.texi (setlocale): Document LOCPATH.
49651
d1b10e78
JM
496522012-02-17 Joseph Myers <joseph@codesourcery.com>
49653
49654 [BZ #10210]
49655 * manual/process.texi (execle): Move @dots{} before last argument.
49656
79c6869c
PB
496572012-02-17 Paul Bolle <pebolle@tiscali.nl>
49658
49659 [BZ #12047]
49660 * manual/charset.texi (Generic Charset Conversion): Fix typo
49661 (LC_TYPE -> LC_CTYPE).
49662
cc6e48bc
NB
496632012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49664
49665 [BZ #5805]
49666 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49667 (scalbnf): Likewise.
49668 (scalbnl): Likewise.
49669 (scalbln): Likewise.
49670 (scalblnf): Likewise.
49671 (scalblnl): Likewise.
49672 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49673 (vwarnx): Likewise.
49674 (verr): Likewise.
49675 (verrx): Likewise.
49676 * manual/filesys.texi (telldir): Use braces around return type.
49677 * manual/llio.texi (mmap): Add space after comma.
49678 (mmap64): Likewise.
49679 * manual/math.texi (jn): Use @var{} on parameter names.
49680 (jnf): Likewise.
49681 (jnl): Likewise.
49682 (yn): Likewise.
49683 (ynf): Likewise.
49684 (ynl): Likewise.
49685 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49686 line.
49687 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49688 "...".
49689 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49690 (sched_get_priority_max): Likewise.
49691 * manual/signal.texi (sigvec): Add space after comma.
49692 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49693 names.
49694 (if_indextoname): Likewise.
49695 (if_freenameindex): Likewise.
49696 (sendto): Use ',' instead of '.' in prototype.
49697 * manual/startup.texi (syscall): Use @dots{} instead of literal
49698 "...".
49699 * manual/stdio.texi (__fpending): Separate initial words of
49700 paragraph from @deftypefun line.
49701 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49702 "...".
49703 (vsyslog): Use @var{} on parameter names.
49704 * manual/terminal.texi (stty): Use @var{} on parameter names.
49705 * manual/users.texi (getutmp): Use @var{} on parameter names.
49706 (getutmpx): Likewise.
49707
5b23062f
JM
497082012-02-17 Joseph Myers <joseph@codesourcery.com>
49709
49710 [BZ #6884]
49711 * manual/stdio.texi (fopen): Fix typos in description of
49712 ",ccs=STRING".
49713
8dee4833
AJ
497142012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49715
49716 [BZ #4026]
49717 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49718 get clock_id definition.
49719
9078ce93
TS
497202012-02-17 Thomas Schwinge <thomas@schwinge.name>
49721
49722 [BZ #4822]
49723 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49724 (madvise): Cast every argument to void on its own.
49725
3835c55f
JM
497262012-02-17 Joseph Myers <joseph@codesourcery.com>
49727
49728 [BZ #9902]
49729 * manual/startup.texi (Exit Status): Fix typo.
49730
35c47e37
JM
497312012-02-17 Joseph Myers <joseph@codesourcery.com>
49732
49733 [BZ #10140]
49734 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49735 * manual/examples/argp-ex2.c: Likewise.
49736 * manual/examples/argp-ex3.c: Likewise.
49737
e3b69ca7
RH
497382012-02-16 Richard Henderson <rth@redhat.com>
49739
49740 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49741 * sysdeps/s390/s390-32/initfini.c: Remove.
49742 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49743 * sysdeps/s390/s390-64/initfini.c: Remove.
49744
df83af67
KK
497452012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49746
49747 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49748 compiler output for sysdeps/generic/initfini.c.
49749 * sysdeps/sh/elf/initfini.c: Remove file.
49750
f63f3380
DM
497512012-02-16 David S. Miller <davem@davemloft.net>
49752
fb59b3a4
DM
49753 [BZ #11494]
49754 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49755
f63f3380
DM
49756 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49757 * sysdeps/sparc/crti.S: New file.
49758 * sysdeps/sparc/crtn.S: New file.
49759 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49760 * sysdeps/sparc/sparc64/Makefile: Likewise.
49761
df6a4a4a
MF
497622012-02-15 Mike Frysinger <vapier@gentoo.org>
49763
6dd8f3dc 49764 [BZ #3335]
df6a4a4a
MF
49765 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49766
1cac7236
RM
497672012-02-15 Roland McGrath <roland@hack.frob.com>
49768
d2c736f8
RM
49769 [BZ #4822]
49770 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49771
1cac7236
RM
49772 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49773 (write, read, close): Likewise.
49774 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49775
8e475601
JM
497762012-02-15 Joseph Myers <joseph@codesourcery.com>
49777
49778 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49779 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49780 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49781 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49782 <bits/signalfd.h>.
49783 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49785 bits/signalfd.h.
49786
ed656b40
MP
497872012-02-14 Marek Polacek <polacek@redhat.com>
49788
49789 * sysdeps/x86_64/crti.S: New file.
49790 * sysdeps/x86_64/crtn.S: New file.
49791 * sysdeps/x86_64/elf/initfini.c: Remove file.
49792
2a979d3a
JM
497932012-02-13 Joseph Myers <joseph@codesourcery.com>
49794
49795 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49796 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49797 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49798 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49799 <bits/inotify.h>.
49800 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49802 bits/inotify.h.
49803
2a418ac3
JM
498042012-02-13 Joseph Myers <joseph@codesourcery.com>
49805
49806 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49807 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49808 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49809 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49810 <bits/eventfd.h>.
49811 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49812 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49813 bits/eventfd.h.
49814
fb779be7
TS
498152012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49816
e19e83c5
RM
49817 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49818 __feraiseexcept instead of feraiseexcept.
7c35ffed 49819
fb779be7
TS
49820 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49821 nanosleep invocations.
49822 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49823 strings, and add error checking for a nanosleep invocations.
49824
59ba27a6
PE
498252012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49826
49827 Replace FSF snail mail address with URLs, as per GNU coding standards.
49828 Most of the snail mail addresses were wrong anyway, and omitting
49829 them makes the source code easier to maintain. Almost all of the
49830 changes are to license notices and to locale LC_IDENTIFICATION
49831 addresses, except for this one:
49832 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49833 not its snail mail address.
49834
57b957eb
RH
498352012-02-09 Richard Henderson <rth@twiddle.net>
49836
af850b1c
RH
49837 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49838 of kernel-features.h.
49839
57b957eb
RH
49840 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49841
6b73181a
MP
498422012-02-08 Marek Polacek <polacek@redhat.com>
49843
49844 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49845 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49846 * sysdeps/gnu/_G_config.h: Likewise.
49847 * sysdeps/generic/_G_config.h: Likewise.
49848
26ecc33a
AS
498492012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49850
6c6dbc63
AS
49851 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49852 tests.
49853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49854
e216c012
AS
49855 * sysdeps/powerpc/powerpc32/crti.S: New file.
49856 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49857 * sysdeps/powerpc/powerpc64/crti.S: New file.
49858 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49859
26ecc33a
AS
49860 * Makeconfig (have-initfini): Don't set.
49861 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49862 * configure.in (nopic_initfini): Don't substitute.
49863 * config.h.in (HAVE_INITFINI): Don't #undef.
49864 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49865 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49866
3add8e13
JM
498672012-02-08 Joseph Myers <joseph@codesourcery.com>
49868
49869 Support crti.S and crtn.S provided directly by architectures.
49870 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49871 [crti.S in sysdirs] (omit-deps): Likewise.
49872 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49873 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49874 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49875 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49876 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49877 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49878 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49879 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49880 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49881 compiler output for sysdeps/generic/initfini.c.
49882 * sysdeps/i386/elf/Makefile: Remove file.
49883 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49884
a22f12b4
MP
498852012-02-07 Marek Polacek <polacek@redhat.com>
49886
49887 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49888 * sysdeps/gnu/_G_config.h: Likewise.
49889 * sysdeps/mach/hurd/_G_config.h: Likewise.
49890
148cf100
MP
498912012-02-07 Marek Polacek <polacek@redhat.com>
49892
49893 * math/Makefile (tests): Add tst-CMPLX2.
49894 * math/tst-CMPLX2.c: New file.
49895
cfdc0dd7
AS
498962012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49897
84ba42c4
AS
49898 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49899
cfdc0dd7
AS
49900 * math/libm-test.inc (jn_test): Add missing L suffix.
49901
622c86f4
MP
499022012-02-06 Marek Polacek <polacek@redhat.com>
49903
49904 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49905 * sysdeps/i386/fpu/e_powf.S: Likewise.
49906 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49907 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49908 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49909 * sysdeps/i386/fpu/e_pow.S: Likewise.
49910 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49911 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49912 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49913 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49914 * sysdeps/i386/fpu/e_log2.S: Likewise.
49915 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49916 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49917 * sysdeps/i386/fpu/e_powl.S: Likewise.
49918 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49919 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49920 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49921 * sysdeps/i386/fpu/e_logl.S: Likewise.
49922 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49923 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49924 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49925 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49926 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49927 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49928 * sysdeps/i386/fpu/e_log.S: Likewise.
49929 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49930 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49931 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49932 * sysdeps/i386/fpu/e_logf.S: Likewise.
49933 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49934 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49935 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49936 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49937 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49938 * sysdeps/i386/fpu/e_log10.S: Likewise.
49939 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49940 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49941 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49942 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49943 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49944 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49945 * sysdeps/i386/asm-syntax.h: Likewise.
49946 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49947 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49948 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49949 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49950 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49951 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49952 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49953 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49954 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49955 * sysdeps/powerpc/sysdep.h: Likewise.
49956 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49957 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49958
d4a54ac6
JM
499592012-02-06 Joseph Myers <joseph@codesourcery.com>
49960
49961 [BZ #411]
49962 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49963
314054ea
JM
499642012-02-06 Joseph Myers <joseph@codesourcery.com>
49965
49966 * sysdeps/i386/sysdep.h: Include <features.h>.
49967 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49968 version.
49969
d8e0ca50
JM
499702012-02-05 Joseph Myers <joseph@codesourcery.com>
49971
49972 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49973 Define.
49974 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49975 LOAD_PIC_REG_STR.
49976
b1da7dd9
JM
499772012-02-03 Joseph Myers <joseph@codesourcery.com>
49978
49979 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49980 (SETUP_PIC_REG): Use GET_PC_THUNK.
49981 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49982 macro.
49983
9a1d9254
JM
499842012-02-03 Joseph Myers <joseph@codesourcery.com>
49985
49986 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49987 for non-PIC compilation.
49988 (SETUP_PIC_REG): Add .p2align directive.
49989 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49990 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49991 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49992 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49993 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49994 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49995 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49996 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49997 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49998 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49999 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50000 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50001 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50002 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50003 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50004 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50005 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50006 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50007 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50008 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50009 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50010 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50011 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50012 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50013 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50014 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50015 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50016 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50017 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50018 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50019 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50020 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50021 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50022 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50023 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50024 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50025 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50026 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50027 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50028 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50029 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50030
65dc3b75
JM
500312012-02-03 Joseph Myers <joseph@codesourcery.com>
50032
50033 * math/tst-CMPLX.c: Include <stdio.h>.
50034
d55bf177
JM
500352012-01-31 Joseph Myers <joseph@codesourcery.com>
50036
50037 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50038 float.
50039 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50040 * sysdeps/sparc/bits/mathdef.h: Likewise.
50041
69db4f8f
MP
500422012-01-31 Marek Polacek <polacek@redhat.com>
50043
50044 * libio/libio.h: Don't define _PARAMS.
50045 * locale/programs/config.h: Don't define PARAMS.
50046 * stdlib/strtol_l.c: Likewise.
50047 (__strtol_l): Remove PARAMS from the prototype.
50048
41b81892
UD
500492012-01-31 Ulrich Drepper <drepper@gmail.com>
50050
3b49edc0
UD
50051 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50052 names. Just use the correct names. Remove unnecessary wrapper
50053 functions.
50054 * malloc/arena.c: Likewise.
50055 * malloc/hooks.c: Likewise.
50056
41b81892
UD
50057 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50058 ARENA_TEST says not to. Simplify test for creation of a new arena.
50059 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50060
27a25b6e
UD
500612012-01-30 Ulrich Drepper <drepper@gmail.com>
50062
50063 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50064 into tail calls.
50065 (update_get_addr): New function.
50066 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50067 GET_ADDR_MODULE parameter.
50068
c8a89e7d
JM
500692012-01-30 Joseph Myers <joseph@codesourcery.com>
50070
50071 * crypt/cert.c: Remove __STDC__ conditionals.
50072 * crypt/crypt-entry.c: Likewise.
50073 * crypt/crypt_util.c: Likewise.
50074 * libio/filedoalloc.c: Likewise.
50075 * libio/fileops.c: Likewise.
50076 * libio/genops.c: Likewise.
50077 * libio/iofclose.c: Likewise.
50078 * libio/iofdopen.c: Likewise.
50079 * libio/iofopen.c: Likewise.
50080 * libio/iofopen64.c: Likewise.
50081 * libio/iogetdelim.c: Likewise.
50082 * libio/iopopen.c: Likewise.
50083 * libio/obprintf.c: Likewise.
50084 * libio/oldfileops.c: Likewise.
50085 * libio/oldiofclose.c: Likewise.
50086 * libio/oldiofdopen.c: Likewise.
50087 * libio/oldiofopen.c: Likewise.
50088 * libio/oldiopopen.c: Likewise.
50089 * libio/wfiledoalloc.c: Likewise.
50090 * libio/wgenops.c: Likewise.
50091 * locale/programs/xmalloc.c: Likewise.
50092 * misc/syslog.c: Likewise.
50093 * stdio-common/xbug.c: Likewise.
50094 * string/memchr.c: Likewise.
50095 * string/memcmp.c: Likewise.
50096 * string/memrchr.c: Likewise.
50097 * string/rawmemchr.c: Likewise.
50098 * sysdeps/posix/getcwd.c: Likewise.
50099 * time/strftime_l.c: Likewise.
50100
3b100462
JM
501012012-01-30 Joseph Myers <joseph@codesourcery.com>
50102
50103 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
50104 * config.make.in (config-cflags-sse2avx): Define.
50105 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50106 Fix typo.
50107
607998af
CM
501082012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50109
50110 * scripts/config.guess: Update from upstream config git repository.
50111 * scripts/config.sub: Likewise.
50112
3601428f
CM
501132012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50114
3ac8b282
CM
50115 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50116 (EM_NUM): Update.
50117 (R_TILEPRO_*, R_TILEGX_*): New macros.
50118
e034841e
CM
50119 * scripts/firstversions.awk: Fix bug in version range handling.
50120
540d7568
CM
50121 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50122
3601428f
CM
50123 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50124
463de862
CM
50125 * include/sys/epoll.h: New file.
50126 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50127 libc_hidden_def.
50128
73139a76
UD
501292012-01-28 Ulrich Drepper <drepper@gmail.com>
50130
96bc5b45
UD
50131 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50132 Avoid unnecessary __WORDSIZE == 64 test.
50133 (fmaxf): Use VEX format if possible.
50134 (fmax): Likewise.
50135 (fminf): Likewise.
50136 (fmin): Likewise.
50137
56f6f6a2
UD
50138 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50139 * math/math_private.h: Remove libc_fegetround* and
50140 libc_fesetround*.
50141 * sysdeps/i386/configure.in: Check for -msse2avx.
50142 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50143 also if SSE2AVX is defined.
50144 Remove libc_fegetround* and libc_fesetround*.
50145 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50146 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50147 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50148 of HAS_YMM_USABLE.
50149 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50150 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50151 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50152 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50153 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50154
73139a76
UD
50155 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50156
d73f93a4
AZ
501572012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50158
50159 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50160 size is not set.
50161 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50162
6ee65ed6
UD
501632012-01-27 Ulrich Drepper <drepper@gmail.com>
50164
50165 [BZ #13618]
50166 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50167 relocation.
50168 * Makeconfig (libm): Define.
50169 * elf/Makefile: Add rules to build and run tst-relsort1.
50170 * elf/tst-relsort1.c: New file.
50171 * elf/tst-relsort1mod1.c: New file.
50172 * elf/tst-relsort1mod2.c: New file.
50173
8db21882
JM
501742012-01-27 Joseph Myers <joseph@codesourcery.com>
50175
50176 * math/s_ldexp.c: Remove __STDC__ conditionals.
50177 * math/s_ldexpf.c: Likewise.
50178 * math/s_ldexpl.c: Likewise.
50179 * math/s_nextafter.c: Likewise.
50180 * math/s_nexttowardf.c: Likewise.
50181 * math/s_significand.c: Likewise.
50182 * math/s_significandf.c: Likewise.
50183 * math/s_significandl.c: Likewise.
50184 * math/w_jnl.c: Likewise.
50185 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50186 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50187 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50188 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50189 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50190 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50191 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50192 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50193 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50194 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50195 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50196 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50197 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50198 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50199 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50200 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50201 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50202 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50203 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50204 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50205 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50206 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50207 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50208 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50209 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50210 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50211 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50212 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50213 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50214 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50215 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50216 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50217 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50218 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50219 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50220 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50221 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50222 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50223 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50224 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50225 * sysdeps/ieee754/k_standard.c: Likewise.
50226 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50227 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50228 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50229 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50230 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50231 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50232 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50233 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50234 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50235 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50236 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50237 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50238 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50239 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50240 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50241 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50242 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50243 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50244 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50245 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50246 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50247 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50248 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50249 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50250 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50251 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50252 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50253 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50254 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50255 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50256 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50257 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50258 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50259 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50260 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50261 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50262 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50263 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50264 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50265 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50266 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50267 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50268 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50269 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50270 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50271 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50272 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50273 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50274 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50275 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50276 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50277 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50278 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50279 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50280 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50281 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50282 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50283 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50284 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50285 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50286 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50287 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50288 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50289 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50290 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50291 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50292 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50293 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50294 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50295 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50296 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50297 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50298 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50299 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50300 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50301 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50302 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50303 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50304 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50305 * sysdeps/ieee754/s_matherr.c: Likewise.
50306 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50307 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50308 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50309 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50310
965a54a4
JM
503112012-01-26 Joseph Myers <joseph@codesourcery.com>
50312
50313 * crypt/md5.h: Remove __STDC__ conditionals.
50314 * libio/libioP.h: Likewise.
50315 * locale/programs/config.h: Likewise.
50316 * sysdeps/generic/sysdep.h: Likewise.
50317 * sysdeps/i386/asm-syntax.h: Likewise.
50318 * sysdeps/s390/asm-syntax.h: Likewise.
50319 * sysdeps/unix/sysdep.h: Likewise.
50320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50322
7071ad79
JM
503232012-01-26 Joseph Myers <joseph@codesourcery.com>
50324
50325 * libio/libio.h: Remove __STDC__ conditionals.
50326 * malloc/obstack.h: Likewise.
50327 * math/complex.h: Likewise.
50328 * math/math.h: Likewise.
50329 * sysdeps/generic/_G_config.h: Likewise.
50330 * sysdeps/gnu/_G_config.h: Likewise.
50331 * sysdeps/mach/hurd/_G_config.h: Likewise.
50332 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50333 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50334 * sysdeps/sparc/bits/mathdef.h: Likewise.
50335
afc5ed09
UD
503362012-01-26 Ulrich Drepper <drepper@gmail.com>
50337
50338 [BZ #13583]
50339 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 50340 Clean up HAS_* macros.
afc5ed09 50341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
50342 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50343 possible.
50344 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50345 HAS_AVX.
50346 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50347 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50348 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50349 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50350 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 50351
bdb6de1d
JM
503522012-01-25 Joseph Myers <joseph@codesourcery.com>
50353
50354 * elf/tst-unique3.cc (gets): Remove declaration.
50355 * elf/tst-unique3lib.cc (gets): Likewise.
50356 * elf/tst-unique3lib2.cc (gets): Likewise.
50357 * elf/tst-unique4.cc (gets): Likewise.
50358
b15549e6
UD
503592012-01-24 Ulrich Drepper <drepper@gmail.com>
50360
50361 * include/stdio.h: Add C++ protection. Add gets declarations and
50362 definitions.
50363 * debug/tst-chk1.c: Don't declare gets here.
50364 * stdio-common/tst-gets.c: Likewise.
50365
a037381f
JM
503662012-01-24 Joseph Myers <joseph@codesourcery.com>
50367
50368 * posix/glob: Remove directory.
50369
f1d4aa75
JM
503702012-01-24 Joseph Myers <joseph@codesourcery.com>
50371
50372 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50373
81c0c964
PT
503742012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50375
50376 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50377 of the non-standard EPFNOSUPPORT.
50378
0ea698ae
ST
503792011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50380
50381 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50382 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50383 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50384
d220b117
UD
503852012-01-21 Ulrich Drepper <drepper@gmail.com>
50386
50387 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50388
3e1aa84e
UD
503892012-01-20 Ulrich Drepper <drepper@gmail.com>
50390
50391 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50392 transient errors.
50393 * nscd/grpcache.c (cache_addgr): Likewise.
50394 * nscd/hstcache.c (cache_addhst): Likewise.
50395 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50396 * nscd/pwdcache.c (cache_addpw): Likewise.
50397 * nscd/servicescache.c (cache_addserv): Likewise.
50398
400aa020
UD
503992012-01-16 Ulrich Drepper <drepper@gmail.com>
50400
d77e7869
UD
50401 * malloc/malloc.c: Various cleanups.
50402 * malloc/hooks.c: Likewise.
50403
400aa020
UD
50404 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50405 * stdlib/bug-fmtmsg1.c: New file.
50406
50407 * stdlib/fmtmsg.c (init): Add missing unlock.
50408 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50409
e0a309cf
MP
504102012-01-12 Marek Polacek <polacek@redhat.com>
50411
50412 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50413 and _GNU_SOURCE.
50414
929d11c7
WS
504152012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50416
50417 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50418 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50419 macro to ensure uniqueness of label name.
50420 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50421 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50422
41d0e869
UD
504232012-01-11 Ulrich Drepper <drepper@gmail.com>
50424
0cc5ed3b
UD
50425 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50426
41d0e869
UD
50427 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50428 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50429 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50430 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50431
a47a831a
UD
504322012-01-10 Ulrich Drepper <drepper@gmail.com>
50433
daa891c0
UD
50434 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50435
50436 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50437 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50438 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50439
e58ef0f2
UD
50440 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50441
a47a831a 50442 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
50443 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50444 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 50445 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
50446
50447 * math/bits/math-finite.h: Add ldexp support.
50448
a0bfc9c7
MP
504492012-01-10 Marek Polacek <polacek@redhat.com>
50450
50451 * locale/programs/localedef.h (show_archive_content): Add noreturn
50452 attribute.
50453
d6e97a1d
UD
504542012-01-09 Ulrich Drepper <drepper@gmail.com>
50455
50456 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50457
d5835c26
UD
504582012-01-08 Ulrich Drepper <drepper@gmail.com>
50459
e5f484c6
UD
50460 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50461
d5835c26
UD
50462 * io/Makefile (headers): Add bits/poll2.h.
50463
d1f741e9
WS
504642011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50465
50466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50467 typo #include statement.
50468
ec09c1c4
UD
504692012-01-08 Ulrich Drepper <drepper@gmail.com>
50470
50471 * include/sys/cdefs.h: Define __attribute_alloc_size.
50472 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50473 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50474 * elf/pldd.c: Likewise.
50475 * iconv/iconv_charmap.c: Likewise.
50476 * iconv/iconvconfig.c: Likewise.
50477 * iconv/strtab.c: Likewise.
50478 * locale/programs/locale.c: Likewise.
50479 * locale/programs/localedef.h: Likewise.
50480 * locale/programs/simple-hash.c: Likewise.
50481 * nscd/nscd.h: Likewise.
50482 * nss/makedb.c: Likewise.
50483 * sysdeps/generic/ldconfig.h: Likewise.
50484 * locale/programs/localedef.c: Remove xmalloc prototype.
50485 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50486
20b38e03
PP
504872012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50488
50489 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50490 appropriate.
50491
a0da5fe1
UD
504922012-01-08 Ulrich Drepper <drepper@gmail.com>
50493
1d5a644a 50494 * math/Makefile (tests): Add tst-CMPLX.
669704fd 50495 * math/tst-CMPLX.c: New file.
1d5a644a 50496
8784a6db
UD
50497 * math/complex.h (CMPLXL): Fix typo.
50498
d9a216c0
UD
50499 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50500 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50501 GLIBC_2.16.
50502 * debug/tst-chk1.c: Add poll and ppoll tests.
50503 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50504 * include/sys/poll.h: Add hidden proto for ppoll.
50505 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50506 * sysdeps/mach/hurd/ppoll.c: Likewise.
50507 * io/ppoll.c: Likewise.
50508 * debug/poll_chk.c: New file.
50509 * debug/ppoll_chk.c: New file.
50510 * include/bits/poll2.h: New file.
50511 * io/bits/poll2.h: New file.
50512
ac097f5c
UD
50513 [BZ #1350]
50514 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50515
2119dcfa
UD
50516 * configure.in: static is always set to yes. Remove.
50517 * config.make.in: Don't set build-static.
50518 * Makeconfig: Remove use of build-static.
50519 * dlfcn/Makefile: Likewise.
50520 * elf/Makefile: Likewise.
50521 * math/Makefile: Likewise.
50522 * misc/Makefile: Likewise.
50523 * nptl/Makefile: Likewise.
50524 * sysdeps/mach/hurd/Makefile: Likewise.
50525
121766a9
UD
50526 * configure.in: PWD_P is not used anymore.
50527 * config.make.in: Remove PWD_P entry.
50528
51a1d39c 50529 * configure.in: Remove last remnants of RANLIB.
8720d066 50530 No need to check for signed size_t anymore.
215f4bdc
UD
50531 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50532 and IA-64.
3857022a 50533 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
50534 * aclocal.m4: Likewise.
50535
d3ed7225
UD
50536 * wcsmbs/mbrtoc16.c: Implement using towc function.
50537 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50538 * wcsmbs/wcsmbsload.c: Likewise.
50539 * iconv/gconv_simple.c: Likewise.
50540 * iconv/gconv_int.h: Likewise.
50541 * iconv/gconv_builtin.h: Likewise.
50542 * iconv/iconv_prog.c: Remove CHAR16 handling.
50543
50544 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50545
50546 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50547
a0da5fe1
UD
50548 * configure.in: Remove --with-elf and --enable-bounded options.
50549 Dont set base_machine for ia64. More non-ELF conditions removed.
50550 Remove testing and setting of leading underscore information.
50551 * config.make.in (build-bounded): Set to no.
50552 * config.h.in: Remove NO_UNDERSCORES entry.
50553 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50554 them.
50555 * csu/start.c: Remove !NO_UNDERSCORE code.
50556 * locale/localeinfo.h: Likewise.
50557 * sysdeps/generic/machine-gmon.h: Likewise.
50558 * sysdeps/generic/sysdep.h: Likewise.
50559 * sysdeps/i386/sysdep.h: Likewise.
50560 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50561 * sysdeps/mach/sysdep.h: Likewise.
50562 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50563 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50564 * sysdeps/sh/sysdep.h: Likewise.
50565 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50566 * sysdeps/unix/i386/sysdep.S: Likewise.
50567 * sysdeps/unix/sparc/start.c: Likewise.
50568 * sysdeps/unix/sparc/sysdep.S: Likewise.
50569 * sysdeps/unix/sparc/sysdep.h: Likewise.
50570 * sysdeps/unix/start.c: Likewise.
50571 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50572 * sysdeps/x86_64/sysdep.h: Likewise.
50573
df78418a
UD
505742012-01-07 Ulrich Drepper <drepper@gmail.com>
50575
a784e502
UD
50576 [BZ #13553]
50577 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50578 for non-gcc.
50579 * argp/argp-fmtstream.h: Use const instead __const.
50580 * argp/argp.h: Likewise.
50581 * assert/assert.h: Likewise.
50582 * bits/fenv.h: Likewise.
50583 * bits/sched.h: Likewise.
50584 * bits/sigset.h: Likewise.
50585 * bits/sigthread.h: Likewise.
50586 * catgets/nl_types.h: Likewise.
50587 * conform/data/pthread.h-data: Likewise.
50588 * crypt/crypt-private.h: Likewise.
50589 * crypt/crypt.h: Likewise.
50590 * crypt/crypt_util.c: Likewise.
50591 * ctype/ctype.h: Likewise.
50592 * debug/execinfo.h: Likewise.
50593 * debug/mbsnrtowcs_chk.c: Likewise.
50594 * debug/mbsrtowcs_chk.c: Likewise.
50595 * debug/wcsnrtombs_chk.c: Likewise.
50596 * debug/wcsrtombs_chk.c: Likewise.
50597 * debug/wcstombs_chk.c: Likewise.
50598 * dirent/dirent.h: Likewise.
50599 * dlfcn/dlfcn.h: Likewise.
50600 * elf/neededtest4.c: Likewise.
50601 * grp/grp.h: Likewise.
50602 * gshadow/gshadow.h: Likewise.
50603 * iconv/gconv.h: Likewise.
50604 * iconv/gconv_int.h: Likewise.
50605 * iconv/gconv_simple.c: Likewise.
50606 * iconv/iconv.h: Likewise.
50607 * iconv/loop.c: Likewise.
50608 * iconv/skeleton.c: Likewise.
50609 * include/aio.h: Likewise.
50610 * include/aliases.h: Likewise.
50611 * include/argz.h: Likewise.
50612 * include/arpa/inet.h: Likewise.
50613 * include/assert.h: Likewise.
50614 * include/dirent.h: Likewise.
50615 * include/dlfcn.h: Likewise.
50616 * include/execinfo.h: Likewise.
50617 * include/fcntl.h: Likewise.
50618 * include/fenv.h: Likewise.
50619 * include/glob.h: Likewise.
50620 * include/grp.h: Likewise.
50621 * include/libintl.h: Likewise.
50622 * include/mntent.h: Likewise.
50623 * include/netdb.h: Likewise.
50624 * include/pwd.h: Likewise.
50625 * include/rpc/netdb.h: Likewise.
50626 * include/sched.h: Likewise.
50627 * include/search.h: Likewise.
50628 * include/shadow.h: Likewise.
50629 * include/signal.h: Likewise.
50630 * include/stdio.h: Likewise.
50631 * include/stdlib.h: Likewise.
50632 * include/string.h: Likewise.
50633 * include/sys/socket.h: Likewise.
50634 * include/sys/stat.h: Likewise.
50635 * include/sys/statfs.h: Likewise.
50636 * include/sys/statvfs.h: Likewise.
50637 * include/sys/syslog.h: Likewise.
50638 * include/sys/time.h: Likewise.
50639 * include/sys/uio.h: Likewise.
50640 * include/time.h: Likewise.
50641 * include/unistd.h: Likewise.
50642 * include/utmp.h: Likewise.
50643 * include/wchar.h: Likewise.
50644 * include/wctype.h: Likewise.
50645 * inet/aliases.h: Likewise.
50646 * inet/arpa/inet.h: Likewise.
50647 * inet/netinet/ether.h: Likewise.
50648 * inet/netinet/in.h: Likewise.
50649 * intl/libintl.h: Likewise.
50650 * io/bits/fcntl2.h: Likewise.
50651 * io/fcntl.h: Likewise.
50652 * io/ftw.h: Likewise.
50653 * io/sys/poll.h: Likewise.
50654 * io/sys/stat.h: Likewise.
50655 * io/sys/statfs.h: Likewise.
50656 * io/sys/statvfs.h: Likewise.
50657 * io/utime.h: Likewise.
50658 * libio/bits/stdio.h: Likewise.
50659 * libio/bits/stdio2.h: Likewise.
50660 * libio/libio.h: Likewise.
50661 * libio/libioP.h: Likewise.
50662 * libio/stdio.h: Likewise.
50663 * locale/lc-ctype.c: Likewise.
50664 * locale/locale.h: Likewise.
50665 * login/utmp.h: Likewise.
50666 * malloc/arena.c: Likewise.
50667 * malloc/malloc.c: Likewise.
50668 * malloc/malloc.h: Likewise.
50669 * malloc/mcheck.c: Likewise.
50670 * malloc/mtrace.c: Likewise.
50671 * math/bits/mathcalls.h: Likewise.
50672 * math/fenv.h: Likewise.
50673 * math/math_private.h: Likewise.
50674 * misc/bits/error.h: Likewise.
50675 * misc/bits/syslog.h: Likewise.
50676 * misc/err.h: Likewise.
50677 * misc/error.h: Likewise.
50678 * misc/fstab.h: Likewise.
50679 * misc/mntent.h: Likewise.
50680 * misc/regexp.h: Likewise.
50681 * misc/search.h: Likewise.
50682 * misc/sgtty.h: Likewise.
50683 * misc/sys/mman.h: Likewise.
50684 * misc/sys/syslog.h: Likewise.
50685 * misc/sys/uio.h: Likewise.
50686 * misc/sys/xattr.h: Likewise.
50687 * misc/ttyent.h: Likewise.
50688 * nis/rpcsvc/ypclnt.h: Likewise.
50689 * nss/nss.h: Likewise.
50690 * posix/bits/unistd.h: Likewise.
50691 * posix/fnmatch.h: Likewise.
50692 * posix/glob.h: Likewise.
50693 * posix/sched.h: Likewise.
50694 * posix/spawn.h: Likewise.
50695 * posix/sys/wait.h: Likewise.
50696 * posix/unistd.h: Likewise.
50697 * posix/wordexp.h: Likewise.
50698 * pwd/pwd.h: Likewise.
50699 * resolv/netdb.h: Likewise.
50700 * resource/sys/resource.h: Likewise.
50701 * rt/aio.h: Likewise.
50702 * rt/bits/mqueue2.h: Likewise.
50703 * rt/mqueue.h: Likewise.
50704 * shadow/shadow.h: Likewise.
50705 * signal/signal.h: Likewise.
50706 * socket/send.c: Likewise.
50707 * socket/sendto.c: Likewise.
50708 * socket/sys/socket.h: Likewise.
50709 * stdio-common/printf.h: Likewise.
50710 * stdlib/bits/stdlib.h: Likewise.
50711 * stdlib/fmtmsg.h: Likewise.
50712 * stdlib/monetary.h: Likewise.
50713 * stdlib/stdlib.h: Likewise.
50714 * stdlib/ucontext.h: Likewise.
50715 * streams/stropts.h: Likewise.
50716 * string/argz.h: Likewise.
50717 * string/bits/string2.h: Likewise.
50718 * string/string.h: Likewise.
50719 * string/strings.h: Likewise.
50720 * sunrpc/rpc/auth.h: Likewise.
50721 * sunrpc/rpc/auth_des.h: Likewise.
50722 * sunrpc/rpc/clnt.h: Likewise.
50723 * sunrpc/rpc/netdb.h: Likewise.
50724 * sunrpc/rpc/pmap_clnt.h: Likewise.
50725 * sunrpc/rpc/xdr.h: Likewise.
50726 * sysdeps/generic/inttypes.h: Likewise.
50727 * sysdeps/generic/net/if.h: Likewise.
50728 * sysdeps/generic/sys/swap.h: Likewise.
50729 * sysdeps/gnu/net/if.h: Likewise.
50730 * sysdeps/gnu/utmpx.h: Likewise.
50731 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50732 * sysdeps/i386/i486/bits/string.h: Likewise.
50733 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50734 * sysdeps/s390/bits/string.h: Likewise.
50735 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50736 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50737 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50738 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50739 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50740 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50741 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50742 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50743 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50744 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50745 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50746 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50747 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50748 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50749 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50750 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50751 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50752 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50753 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50754 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50755 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50756 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50757 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50758 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50759 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50760 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50761 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50762 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50763 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50764 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50765 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50766 * sysvipc/sys/ipc.h: Likewise.
50767 * sysvipc/sys/msg.h: Likewise.
50768 * sysvipc/sys/sem.h: Likewise.
50769 * sysvipc/sys/shm.h: Likewise.
50770 * termios/termios.h: Likewise.
50771 * time/sys/time.h: Likewise.
50772 * time/time.h: Likewise.
50773 * wcsmbs/bits/wchar2.h: Likewise.
50774 * wcsmbs/uchar.h: Likewise.
50775 * wcsmbs/wchar.h: Likewise.
50776 * wctype/wctype.h: Likewise.
50777
0269750c
UD
50778 [BZ #13551]
50779 * Makeconfig: Remove all but ELF support including AIX support.
50780 * Makerules: Likewise.
50781 * config.h.in: Likewise.
50782 * config.make.in: Likewise.
50783 * configure: Likewise.
50784 * configure.in: Likewise.
50785 * csu/Makefile: Likewise.
50786 * csu/version.c: Likewise.
50787 * debug/Makefile: Likewise.
50788 * dlfcn/Makefile: Likewise.
50789 * elf/Makefile: Likewise.
50790 * extra-lib.mk: Likewise.
50791 * iconv/Makefile: Likewise.
50792 * include/libc-symbols.h: Likewise.
50793 * include/shlib-compat.h: Likewise.
50794 * resolv/Makefile: Likewise.
50795 * resolv/res_libc.c: Likewise.
50796 * rt/Makefile: Likewise.
50797 * sysdeps/i386/asm-syntax.h: Likewise.
50798 * sysdeps/i386/sysdep.h: Likewise.
50799 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50800 * sysdeps/mach/sysdep.h: Likewise.
50801 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50802 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50803 * sysdeps/s390/asm-syntax.h: Likewise.
50804 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50805 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50806 * sysdeps/sh/sysdep.h: Likewise.
50807 * sysdeps/unix/sparc/sysdep.h: Likewise.
50808 * sysdeps/wordsize-32/divdi3.c: Likewise.
50809 * sysdeps/x86_64/sysdep.h: Likewise.
50810
00bbd29b
UD
50811 * argp/Versions: Remove _argp_unlock_xxx.
50812
50813 [BZ #13559]
50814 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50815 * abilist/libBrokenLocale.abilist: Likewise.
50816 * abilist/libanl.abilist: Likewise.
50817 * abilist/libc.abilist: Likewise.
50818 * abilist/libcrypt.abilist: Likewise.
50819 * abilist/libdl.abilist: Likewise.
50820 * abilist/libm.abilist: Likewise.
50821 * abilist/libnsl.abilist: Likewise.
50822 * abilist/libpthread.abilist: Likewise.
50823 * abilist/libresolv.abilist: Likewise.
50824 * abilist/librt.abilist: Likewise.
50825 * abilist/libthread_db.abilist: Likewise.
50826 * abilist/libutil.abilist: Likewise.
50827 * abilist/libnss_db.abilist: New file.
50828
50829 * scripts/abilist.awk: Add support for indirect functions.
50830
a2693a0e
UD
50831 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50832
3f05895f
UD
50833 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50834
ecb6fb48
UD
50835 * shlib-versions: Remove entries for ports architectures.
50836
664f8cb9
UD
50837 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50838 files in ports.
50839 * elf/stackguard-macros.h: Remove support for IA-64.
50840 * elf/tst-auditmod1.c: Likewise.
50841 * sysdeps/generic/ldsodefs.h: Likewise.
50842
7ae81d88
UD
50843 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50844 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50845 configure files.
50846
bdeba135
UD
50847 [BZ #13552]
50848 * configure.in: Remove --enable-omitfp support.
50849 * FAQ.in: Adjust.
50850 * config.make.in: Likewise.
50851 * Makeconfig: Likewise.
50852 * manual/install.texi: Likewise.
50853
d75a0a62
UD
50854 In case anyone cares, the IA-64 architecture could move to ports.
50855 * sysdeps/ia64/*: Removed.
50856 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 50857 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 50858
dcc9756b
UD
50859 [BZ #13555]
50860 * configure.in: Remove entries for unsupported architectures.
50861
d3761ebc 50862 [BZ #13533]
9954432e
UD
50863 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50864 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50865 routines.
50866 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50867 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50868 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50869 fall back to using wcrtomb.
50870 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50871 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50872 renaming.
50873 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50874 * wcsmbs/tst-c16c32-1.c: New file.
50875
50876 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50877 local variable.
50878
c3a87236
UD
50879 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50880
28926a1b
UD
50881 * elf/tst-unique3.cc: Add explicit declaration of gets.
50882 * elf/tst-unique3lib.cc: Likewise.
50883 * elf/tst-unique3lib2.cc: Likewise.
50884 * elf/tst-unique4.cc: Likewise.
50885
df78418a
UD
50886 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50887
8ecd6b2a
JM
508882012-01-06 Joseph Myers <joseph@codesourcery.com>
50889
50890 [BZ #13566]
50891 * assert/assert.h (static_assert): Don't define for C++.
50892 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50893 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50894
9f115170
UD
508952012-01-03 Ulrich Drepper <drepper@gmail.com>
50896
5e0d0300
UD
50897 * iconv/loop.c (single loop): Fix assertion in storing of
50898 remaining bytes.
50899
9f115170
UD
50900 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50901
81fb02b0
UD
509022012-01-01 Ulrich Drepper <drepper@gmail.com>
50903
50904 * posix/getconf.c: Update copyright year.
50905 * nss/getent.c: Likewise.
a316c1f6 50906 * nss/makedb.c: Likewise.
81fb02b0
UD
50907 * iconv/iconvconfig.c: Likewise.
50908 * iconv/iconv_prog.c: Likewise.
50909 * elf/ldconfig.c: Likewise.
a316c1f6
UD
50910 * elf/pldd.c: Likewise.
50911 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
50912 * catgets/gencat.c: Likewise.
50913 * csu/version.c: Likewise.
50914 * elf/ldd.bash.in: Likewise.
50915 * elf/sprof.c (print_version): Likewise.
50916 * locale/programs/locale.c: Likewise.
50917 * locale/programs/localedef.c: Likewise.
a316c1f6 50918 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
50919 * nscd/nscd.c (print_version): Likewise.
50920 * debug/xtrace.sh: Likewise.
50921 * malloc/memusage.sh: Likewise.
50922 * malloc/mtrace.pl: Likewise.
50923 * debug/catchsegv.sh: Likewise.
50924
2ba92745
JJ
509252011-12-30 Jakub Jelinek <jakub@redhat.com>
50926
50927 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50928 pure attribute.
50929
dadebdae
UD
509302011-12-24 Ulrich Drepper <drepper@gmail.com>
50931
d3761ebc 50932 [BZ #13533]
db6af3eb
UD
50933 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50934 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50935 transformations.
50936 * iconv/gconv_int.h: Likewise.
50937 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50938 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50939 from libc for GLIBC_2.16.
50940 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50941 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50942 * wcsmbs/uchar.h: Really define mbstate_t.
50943 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50944 * wcsmbs/c16rtomb.c: New file.
50945 * wcsmbs/mbrtoc16.c: New file.
50946 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50947 for C/POSIX locale.
50948 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50949 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50950
dadebdae
UD
50951 * wcsmbs/wchar.h: Add missing __restrict.
50952
67371b56
UD
509532011-12-23 Ulrich Drepper <drepper@gmail.com>
50954
74033a25
UD
50955 [BZ #13532]
50956 * time/Makefile (routines): Add timespec_get.
50957 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50958 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50959 timespec for ISO C11.
50960 * time/timespec_get.c: New file.
50961 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50962 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50963
380d7e87
UD
50964 [BZ #13531]
50965 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50966 * stdlib/stdlib.h: Declare aligned_alloc.
50967 * Versions.def: Add GLIBC_2.16 for libc.
50968 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50969
4e9e7a35
UD
50970 [BZ 13527]
50971 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50972 ISO C11.
50973
380d7e87 50974 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
50975 code.
50976
03a71829
UD
50977 [BZ #13528]
50978 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50979
839e283e
UD
50980 [BZ #13529]
50981 * assert/assert.h (static_assert): Define.
50982
ce5294e2 50983 * version.h: Update for 2.16 development version.
90fa7312 50984
8d44e150 50985 [BZ #13526]
d7809905
UD
50986 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50987 _ISOC11_SOURCE.
50988
c0da14cd
UD
50989 * version.h (RELEASE): Bump for 2.15 release.
50990 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50991
530a3249
MP
50992 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50993 Patch by Marek Polacek <mpolacek@redhat.com>.
50994
67371b56
UD
50995 * bits/byteswap.h: Protect long long constants with __extension__.
50996 * sysdeps/i386/bits/byteswap.h: Likewise.
50997 * sysdeps/ia64/bits/byteswap.h: Likewise.
50998 * sysdeps/s390/bits/byteswap.h: Likewise.
50999 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51000
15db4de1
LD
510012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51002
51003 [BZ #13540]
bbe315ea
LD
51004 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51005 destination buffer.
15db4de1
LD
51006 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51007
2b2596b1
MP
510082011-12-23 Marek Polacek <polacek@redhat.com>
51009
51010 * elf/dl-addr.c (determine_info): Add inline keyword.
51011 * elf/tst-auditmod4b.c (check_avx): Likewise.
51012 * elf/tst-auditmod6b.c (check_avx): Likewise.
51013 * elf/tst-auditmod6c.c (check_avx): Likewise.
51014 * elf/tst-auditmod7b.c (check_avx): Likewise.
51015
70c6c246
UD
510162011-12-23 Ulrich Drepper <drepper@gmail.com>
51017
51018 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51019 !__SSE_MATH__.
51020
c044cf14
LD
510212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51022
15db4de1 51023 [BZ #13540]
c044cf14
LD
51024 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51025 processing for last bytes.
51026
6b13d9d9
BH
510272011-08-06 Bruno Haible <bruno@clisp.org>
51028
d455f537
BH
51029 [BZ #13061]
51030 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51031 U+0385, not to U+1FEE.
51032
6b13d9d9
BH
51033 [BZ #13062]
51034 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51035 entry for U+00A5 U+0301.
51036
db910efd
UD
510372011-12-22 Ulrich Drepper <drepper@gmail.com>
51038
27deeafc
UD
51039 [BZ #13166]
51040 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51041 buffer for the output is too small.
51042
aed9d171
UD
51043 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51044 optimization.
51045
db910efd
UD
51046 [BZ #13185]
51047 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51048 SSE flags if possible.
51049
2bd779ae
LD
510502011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51051
e7f9dac3 51052 [BZ #13540]
2bd779ae
LD
51053 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51054 processing for last bytes.
51055
154bfc16
JM
510562011-12-22 Joseph Myers <joseph@codesourcery.com>
51057
51058 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51059 (syscall-list-default-options, syscall-list-default-condition)
51060 (syscall-list-includes): Define.
51061 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51062 list of ABIs and options and #if conditions for each ABI. Do not
51063 handle common syscalls between ABIs specially.
51064 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51065 Remove.
51066 (syscall-list-variants, syscall-list-32bit-options)
51067 (syscall-list-32bit-condition, syscall-list-64bit-options)
51068 (syscall-list-64bit-condition): Define.
51069 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51070 (syscall-list-variants, syscall-list-32bit-options)
51071 (syscall-list-32bit-condition, syscall-list-64bit-options)
51072 (syscall-list-64bit-condition): Define.
51073 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51074 Remove.
51075 (syscall-list-variants, syscall-list-32bit-options)
51076 (syscall-list-32bit-condition, syscall-list-64bit-options)
51077 (syscall-list-64bit-condition): Define.
51078 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51079 Remove.
51080 (syscall-list-variants, syscall-list-32bit-options)
51081 (syscall-list-32bit-condition, syscall-list-64bit-options)
51082 (syscall-list-64bit-condition): Define.
51083
21eaf3a5
UD
510842011-12-22 Ulrich Drepper <drepper@gmail.com>
51085
16c6f992
UD
51086 * locale/iso-639.def: Add brx entry.
51087
41043168
UD
51088 [BZ #13328]
51089 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51090 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51091
21eaf3a5
UD
51092 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51093 __feraiseexcept_renamed.
51094
e3a851a2
UD
510952011-12-21 Ulrich Drepper <drepper@gmail.com>
51096
4920765e
UD
51097 [BZ #13538]
51098 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51099 EPOLLET with unsigned values.
51100 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51101 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51102
e3a851a2
UD
51103 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51104 to large cancellation.
51105 * math/s_cacoshf.c: Likewise.
51106 * math/s_cacoshl.c: Likewise.
51107
b27e24b8
RK
511082011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51109
51110 [BZ #13305]
aebefeee 51111 [BZ #12786]
b27e24b8
RK
51112 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51113 * math/s_cacoshf.c: Likewise.
51114 * math/s_cacoshl.c: Likewise.
51115
ee190f67
UD
511162011-12-21 Ulrich Drepper <drepper@gmail.com>
51117
51118 [BZ #13439]
51119 * iconv/gconv.h: Define __GCONV_SWAP.
51120 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51121 * iconvdata/utf-16.c: Likewise.
51122 * iconvdata/utf-32.c: Likewise.
51123
707f25df
AS
511242011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51125
51126 [BZ #13524]
51127 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51128 numerator after shifting it by one limb.
51129
d2daaa1e
RÁE
511302011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51131
51132 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51133 under [__USE_EXTERN_INLINES].
51134
a4647e72
UD
511352011-12-17 Ulrich Drepper <drepper@gmail.com>
51136
51137 [BZ #13446]
51138 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51139
f0b264f1
AZ
511402011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51141
51142 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51143 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51144 optimized code.
51145 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51146 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51147 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51148 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51149 for strncasecmp/strncasecmp_l compilation.
51150 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51151 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51152
8ef4f244
MP
511532011-12-08 Marek Polacek <mpolacek@redhat.com>
51154
51155 [BZ #13484]
51156 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51157 of __asm__.
51158
97ac2654
UD
511592011-12-17 Ulrich Drepper <drepper@gmail.com>
51160
51161 [BZ #13506]
51162 * time/tzfile.c (__tzfile_read): Check values from file header.
51163
91d2a845
WS
511642011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51165
51166 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51167 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51168 * powerpc/powerpc32/dl-start.S: Likewise.
51169 * powerpc/powerpc32/elf/start.S: Likewise.
51170 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51171 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51172 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51173 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51174 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51175 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51176 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51177 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51178 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51179 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51180 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51181 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51182 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51183 * powerpc/powerpc32/memset.S: Likewise.
51184 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51185 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51186 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51187 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51188 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51189 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51190 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51191 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51192 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51193 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51194 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51195 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51196 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51197
a1267ba1
AZ
511982011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51199
51200 * math/libm-test.inc: Added more nearbyint tests.
51201 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51202 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51203 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51204 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51205
ad8ac1bd
RL
512062011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51207
51208 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51209 FD_CLOEXEC.
51210
1d3e4b61
UD
512112011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51212
51213 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51214 Add wcscpy-ssse3 wcscpy-c.
51215 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51216 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51217 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51218 * sysdeps/x86_64/wcschr.S: New file.
51219 * sysdeps/x86_64/wcsrchr.S: New file.
51220 * string/test-strcmp.c: Remove checking of wcscmp function for
51221 wrong alignments.
51222 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51223 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51224 wcsrchr-sse2 wcsrchr-c.
51225 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51226 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51227 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51228 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51229 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51230 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51231 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51232 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51233 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51234 * wcsmbc/wcschr.c (WCSCHR): New macro.
51235
5b330a2d
UD
512362011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51237
51238 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51239 * wcsmbs/test-wcsrchr.c: New file.
51240 * string/test-strrchr.c: Add wcsrchr support.
51241 (WIDE): New macro.
51242 * wcsmbs/test-wcscpy.c: New file.
51243 * string/test-strcpy.c: Add wcscpy support.
51244 (WIDE): New macro.
26428b7c 51245
f039c043
UD
512462011-12-10 Ulrich Drepper <drepper@gmail.com>
51247
51248 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51249 the inner loop.
51250
850fb039
AS
512512011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51252
51253 [BZ #13472]
51254 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51255
4efbd5cb
UD
512562011-12-04 Ulrich Drepper <drepper@gmail.com>
51257
52ff5dd0 51258 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 51259 Minor optimizations.
52ff5dd0 51260
4efbd5cb
UD
51261 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51262 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51263 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51264
8a426e12
UD
512652011-12-03 Ulrich Drepper <drepper@gmail.com>
51266
aff2453d
UD
51267 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51268 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51269 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51270 for gcc to avoid warnings.
51271 * inet/Makefile (tests): Add tst-checks.
51272 * inet/tst-checks.c: New file.
51273
51274 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51275 warning.
51276
51277 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51278 __wmemcmp_sse2.
51279
51280 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51281 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51282
8a426e12
UD
51283 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51284
9bea3473
UD
512852011-12-02 Ulrich Drepper <drepper@gmail.com>
51286
3a965496
UD
51287 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51288 problem.
51289
9bea3473
UD
51290 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51291
f101631b
UD
512922011-11-29 Joseph Myers <joseph@codesourcery.com>
51293
51294 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51295 conditional on GCC version.
51296 (__arch_compare_and_exchange_val_8_acq)
51297 (__arch_compare_and_exchange_val_16_acq)
51298 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51299 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51300 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51301
a98275aa
UD
513022011-12-02 Joseph Myers <joseph@codesourcery.com>
51303
51304 * sysdeps/sh/backtrace.c: New file.
51305
d4cc29a2
AS
513062011-12-02 Andreas Schwab <schwab@redhat.com>
51307
51308 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51309 parenthesis.
51310
6257af2d
AS
513112011-12-01 Andreas Schwab <schwab@redhat.com>
51312
51313 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51314 falling back to utime.
51315
b5f44c1a
AS
513162011-11-30 Andreas Schwab <schwab@redhat.com>
51317
51318 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51319 expectations for float.
51320
f3a6cc0a
AS
513212011-11-29 Andreas Schwab <schwab@redhat.com>
51322
51323 * locale/weight.h (findidx): Add parameter len.
51324 * locale/weightwc.h (findidx): Likewise.
51325 * posix/fnmatch_loop.c (FCT): Adjust caller.
51326 * posix/regcomp.c (build_equiv_class): Likewise.
51327 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51328 * posix/regexec.c (check_node_accept_bytes): Likewise.
51329 * string/strcoll_l.c (STRCOLL): Likewise.
51330 * string/strxfrm_l.c (STRXFRM): Likewise.
51331
9d65ea3a
UD
513322011-11-17 Ulrich Drepper <drepper@gmail.com>
51333
51334 * Makefile.in: Remove CVSOPT handling.
51335 * configure.in: Remove use of AC_REVISION.
51336 * iconvdata/Makefile (distribute): No need to filter out CVS.
51337 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51338 handling.
51339
5583a086
AS
513402011-11-16 Andreas Schwab <schwab@redhat.com>
51341
51342 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51343 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51344 [USE_AS_STRNCASECMP_L]: Likewise.
51345 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51346 NO_TLS_DIRECT_SEG_REFS.
51347 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51348 Fix argument offsets for non-PIC.
51349 [USE_AS_STRNCASECMP_L]: Likewise.
51350 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51351 NO_TLS_DIRECT_SEG_REFS.
51352
d62a8200
UD
513532011-11-15 Ulrich Drepper <drepper@gmail.com>
51354
9d65ea3a 51355 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
51356 O_CLOEXEC.
51357 * locale/loadlocale.c (_nl_load_locale): Likewise.
51358
09f93bd3
AS
513592011-11-15 Andreas Schwab <schwab@redhat.com>
51360
446514f9
AS
51361 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51362 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51363 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51364 (SYSCALL_GETTIME): Set errno on error.
51365
09f93bd3
AS
51366 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51367 count references to noai6ai_cached.
51368
312be3f9
UD
513692011-11-15 Ulrich Drepper <drepper@gmail.com>
51370
51371 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51372
51373 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51374 FD_CLOEXEC for /proc/self/maps.
51375
51376 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51377 FD_CLOEXEC for /proc/meminfo.
51378
51379 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51380 gai.conf.
51381
51382 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51383 FD_CLOEXEC for given file.
51384
51385 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51386
51387 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51388 FD_CLOEXEC for /etc/hosts.
51389 (_gethtent): Likewise.
51390
51391 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51392
51393 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51394 cancellation and set FD_CLOEXEC for /etc/netgroup.
51395
51396 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51397 reading /etc/publickey.
51398
51399 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51400 allow cancellation when reading /etc/group.
51401
51402 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51403 cancellation.
51404 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51405
51406 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51407 when using data file.
51408
51409 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51410
51411 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51412 (write_nis_obj): Use "c" and "e" in fopen.
51413
51414 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51415
51416 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51417
51418 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51419
51420 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51421
51422 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51423 locale.alias.
51424
51425 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51426
51427 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51428
51429 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51430
51431 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51432 file parsing and set FD_CLOEXEC.
51433
82af0fa8
UD
514342011-11-14 Ulrich Drepper <drepper@gmail.com>
51435
51436 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51437
a5fb313c
AS
514382011-11-14 Andreas Schwab <schwab@redhat.com>
51439
51440 * malloc/arena.c (arena_get2): Don't call reused_arena when
51441 _int_new_arena failed.
51442
6abf3465
UD
514432011-11-14 Ulrich Drepper <drepper@gmail.com>
51444
51445 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51446 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51447 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51448 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51449 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51450 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51451 to compile strcasecmp and strncasecmp.
51452 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51453 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51454
51455 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51456
76e3966e
UD
514572011-11-13 Ulrich Drepper <drepper@gmail.com>
51458
51459 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51460 locale-defines.sym to gen-as-const-headers.
51461 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51462 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51463 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51464 to compile strcasecmp and strncasecmp.
51465 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51466 strcasecmp_l and strncasecmp_l.
51467 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51468 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51469 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51470 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51471 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51472 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51473 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51474 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51475 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51476 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51477 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51478
ab26144e
UD
514792011-11-12 Ulrich Drepper <drepper@gmail.com>
51480
7edb22ef
UD
51481 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51482 result of SYSDEP_GETTIME_CPU to retval.
51483 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51484 parameter list to macro. Remove trailing semicolon. Adjust users.
51485
9694fc44
UD
51486 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51487 variable.
51488
8ad89ef8
UD
51489 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51490 mantissa words.
51491 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51492
0c822ef9
UD
51493 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51494 from unused variable.
51495
874e0564
UD
51496 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51497 DWARF definitions.
51498 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51499 for assembling.
51500
3a2edc79
UD
51501 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51502 over namespaces.
51503
f3c2577f
UD
51504 * sunrpc/rpc_prot.c (rejected): Fix case value.
51505
294ce126
UD
51506 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51507 unsigned long long int to avoid warnings in shift.
51508
5e2b63c6
UD
51509 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51510 of use of trans.
51511 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51512 variable tmp.
51513
e7f4b08e
UD
51514 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51515 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51516 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51517
ab26144e
UD
51518 * nis/nis_table.c (nis_list): Use variable of correct type for
51519 result of __follow_path call.
51520
8a6d5255
AZ
515212011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51522
51523 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51524 of math functions ceil, trunc, floor, round, and sqrt, when
51525 avaliable on the platform.
51526 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51527 name clash.
51528 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51529 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51530 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51531
aaddc98c
MP
515322011-10-30 Marek Polacek <mpolacek@redhat.com>
51533
51534 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51535 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51536
95b7042b
RM
515372011-11-11 Roland McGrath <roland@hack.frob.com>
51538
51539 * include/unistd.h: Fix __readlink return type.
51540 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51541
57769839
UD
515422011-11-11 Ulrich Drepper <drepper@gmail.com>
51543
51544 * stdlib/ucontext.h: Undo last change for makecontext.
51545
edc5984d
AS
515462011-11-11 Andreas Schwab <schwab@redhat.com>
51547
98591e58
AS
51548 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51549
edc5984d
AS
51550 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51551 * setjmp/setjmp.h: Mark functions as non-leaf.
51552 * setjmp/bits/setjmp2.h: Likewise.
51553 * stdlib/ucontext.h: Likewise.
51554
77cdc054
AS
515552011-11-10 Andreas Schwab <schwab@redhat.com>
51556
51557 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51558 (reused_arena): Don't check arena limit.
51559 (arena_get2): Atomically check arena limit.
51560
fe72eebd
UD
515612011-11-08 Ulrich Drepper <drepper@gmail.com>
51562
5f078c32
UD
51563 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51564 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51565
fe72eebd
UD
51566 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51567 instructions.
51568
ae1bc2fa
AS
515692011-11-07 Andreas Schwab <schwab@redhat.com>
51570
7583a88d
AS
51571 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51572 handler when locking.
51573
ae1bc2fa
AS
51574 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51575 Fix size of allocated buffer.
51576
10fb0bfa
AS
515772011-11-04 Andreas Schwab <schwab@redhat.com>
51578
998832a4
AS
51579 [BZ #10103]
51580 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51581 declarations for long double functions.
51582 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51583
10fb0bfa
AS
51584 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51585
3d7ba52b
AS
515862011-11-03 Andreas Schwab <schwab@redhat.com>
51587
a9ae54a1
AS
51588 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51589 installed.
51590
3d7ba52b
AS
51591 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51592 is disabled.
51593
bc8db248
ST
515942011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51595
51596 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51597
45b96dd6
AS
515982011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51599
647776f6
AS
51600 * include/alloca.h (stackinfo_alloca_round): Define.
51601 (extend_alloca): Use it.
51602 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51603 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51604 here.
51605
d91a8b93
AS
51606 * scripts/check-local-headers.sh: Ignore libaudit.h.
51607
45b96dd6
AS
51608 * nscd/Makefile (extra-objs): Make recursively expanded.
51609
432d41ce
UD
516102011-11-01 Ulrich Drepper <drepper@gmail.com>
51611
34372fc6
UD
51612 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51613 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51614
fadb59f8
UD
51615 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51616 * posix/tst-rfc3484-2.c: Likewise.
51617 * posix/tst-rfc3484-3.c: Likewise.
51618
78239589
UD
51619 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51620 process_vm_writev.
51621 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51622 process_vm_writev.
51623 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51624 process_vm_writev from libc using GLIBC_2.15 version.
51625
432d41ce
UD
51626 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51627
02f9c6cf
PP
516282011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51629
51630 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51631 stack usage.
51632
3a2c0242
UD
516332011-10-31 Ulrich Drepper <drepper@gmail.com>
51634
f4ec4833
UD
51635 [BZ #13367]
51636 * nss/getent.c (initgroups_keys): Show error message in case no group
51637 names are given.
51638
3a2c0242
UD
51639 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51640 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51641 __bump_nl_timestamp.
51642 * nscd/connections (nscd_init): When host database is served open
51643 netlink socket and request notification about configuration changes.
51644 (main_loop_poll): Track netlink file descriptor and bump timestamp
51645 in case data becomes available.
51646 (main_loop_epoll): Likewise.
51647 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51648 (database_pers_head): Add extra_data fileds.
51649 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51650 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51651 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51652 Adjust caller.
51653 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51654 in6ai data, call __free_in6ai.
51655 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51656 Add -DHAVE_NETLINK.
51657 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51658 interface information. Reuse previous data if netlink timestamp
51659 is not changed.
51660 (__bump_nl_timestamp): New function.
51661 (__free_in6ai): New function.
51662
636064eb
UD
516632011-10-30 Ulrich Drepper <drepper@gmail.com>
51664
51665 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51666 close_not_cancel_no_status here.
51667 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51668
9beb2334
UD
516692011-10-29 Ulrich Drepper <drepper@gmail.com>
51670
6ef76f3b
UD
51671 [BZ #13276]
51672 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51673 return value.
51674
0ffc4f3e 51675 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
51676 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51677 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51678
cb95113e
UD
516792011-07-03 Andreas Jaeger <aj@suse.de>
51680
51681 [BZ #10709]
51682 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51683 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51684 * math/libm-test.inc (sin_test): Add test case.
51685
a1b560ff
UD
516862011-10-29 Ulrich Drepper <drepper@gmail.com>
51687
c9aaface
UD
51688 [BZ #13337]
51689 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51690 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51691
d272e7f1
UD
51692 * elf/chroot_canon.c (chroot_canon): Cleanups.
51693
1bc33071
UD
51694 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51695
1760874d
TJ
51696 [BZ #13335]
51697 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51698 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51699
51d91b18
UD
51700 * string/test-strchr.c: Make usable for strchrnul testing.
51701 * string/test-strchrnul.c: New file.
51702 * string/Makefile (strop-tests): Add strchrnul.
51703
a1b560ff 51704 * po/it.po: Update from translation team.
b611fb81 51705 * po/es.po: Likewise.
a1b560ff 51706
a5b81e1f
UD
517072011-10-28 Ulrich Drepper <drepper@gmail.com>
51708
fd52bc6d
UD
51709 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51710 the three constants needed as parameters. Drop the others.
51711 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51712 __m128i_strloadu_tolower.
52e4b9eb
UD
51713 Create and initialize variable zero and use it in all the places
51714 where _mm_setzero_si128 was used.
fd52bc6d 51715
a5b81e1f
UD
51716 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51717 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51718 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51719 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51720 anymore.
51721 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51722 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51723 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51724 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51725 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51726 __mpranred, __mptan.
51727 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51728 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51729 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51730 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51731 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51732 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51733 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51734 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51735 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51736
b4343346
AS
517372011-10-28 Andreas Schwab <schwab@redhat.com>
51738
0c92d8a8
AS
51739 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51740 redefine if SHARED.
51741 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51742
b4343346
AS
51743 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51744 wide char related routines to wcsmbs subdir.
51745
3871f58f
AS
517462011-10-27 Andreas Schwab <schwab@redhat.com>
51747
51748 [BZ #13344]
51749 * misc/sys/cdefs.h (__THROWNL): Define.
51750 * posix/unistd.h: Use __THREADNL instead of __THREAD
51751 for memory synchronization functions.
51752
94d44d9f
RM
517532011-10-26 Roland McGrath <roland@hack.frob.com>
51754
21b64b15 51755 [BZ #13349]
94d44d9f
RM
51756 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51757 doesn't exist.
51758 * manual/stdio.texi (Obstack Streams): Node removed.
51759
f6ce9294
AS
517602011-10-26 Andreas Schwab <schwab@redhat.com>
51761
80479147
AS
51762 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51763 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51764 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51765
f6ce9294
AS
51766 * math/math_private.h (math_force_eval): Allow non-addressable
51767 arguments.
51768 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51769
618280a1
UD
517702011-10-25 Ulrich Drepper <drepper@gmail.com>
51771
e0016b11
UD
51772 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51773 file is not needed.
51774
51775 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51776 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51777 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51778 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51779 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51780 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51781 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51782 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51783 Add AVX variants.
51784 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51785 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51786 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51787 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51788 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51789 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51790 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51791 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51792 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51793 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51794 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51795 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51796 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51797 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51798 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51799 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51800 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51801 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51802 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51803
51804 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51805 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51806
618280a1
UD
51807 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51808 place. Use VEX encoding when compiling for AVX.
51809
37822576
AS
518102011-10-25 Andreas Schwab <schwab@redhat.com>
51811
1f1e1947
AS
51812 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51813 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51814
37822576
AS
51815 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51816
31ea014d
UD
518172011-10-25 Ulrich Drepper <drepper@gmail.com>
51818
d7826aa1 51819 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 51820 useless if() expression.
d7826aa1
UD
51821 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51822 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51823 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51824 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51825 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51826 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51827 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51828 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51829 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51830 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51831 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51832 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51833 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51834 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51835 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51836 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51837 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51838 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51839 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51840
31ea014d
UD
51841 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51842
16437fec
AS
518432011-10-25 Andreas Schwab <schwab@redhat.com>
51844
51845 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51846 condition.
51847 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51848
31d3cc00
UD
518492011-10-25 Ulrich Drepper <drepper@gmail.com>
51850
51851 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51852 .text section. Avoid duplicate constants.
51853 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51854 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51855 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51856 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51857 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51858 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51859 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51860 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51861 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51862 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51863 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51864 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51865 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51866 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51867 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51868 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51869 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51870 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51871 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51872 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51873 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51874 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51875 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51876 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51877 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51878 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51879 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51880 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51881 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51882 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51883 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51884 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51885 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51886 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51887 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51888 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51889 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51890 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51891 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51892 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51893 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51894 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51895 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51896 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51897 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51898
58985aa9
UD
518992011-10-24 Ulrich Drepper <drepper@gmail.com>
51900
202c9deb
UD
51901 * sysdeps/x86_64/dla.h: Move to ...
51902 * sysdeps/x86_64/fpu/dla.h: ...here.
51903 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51904 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 51905
af968f62
UD
51906 * config.make.in: Add have-mfma4 entry.
51907 * configure.in: Substitute libc_cv_cc_fma4.
51908 * math/Makefile (dbl-only-routines): Add sincostab.
51909 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51910 Use __sincostab not sincos.
51911 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51912 name is a macro.
51913 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51914 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51915 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51917 using __copysign.
51918 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51919 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51920 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51921 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51922 and __inv.
51923 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51924 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51925 __copysign.
51926 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51927 define aliases when function name is a macro.
51928 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51929 sysdeps/ieee754/dbl-64/sincos.tbl.
51930 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51931 fma4-enabled routines.
51932 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51933 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51934 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51935 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51936 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51937 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51938 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51939 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51940 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51941 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51942 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51943 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51944 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51945 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51946 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51947 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51948 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51949 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51950 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51951 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51952 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51953 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51954 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51955 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51956 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51957 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51958 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51959 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51960 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51961 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51962
58985aa9
UD
51963 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51964 rename.
51965 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51966 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51967 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51968 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51969 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51970 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51971 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51972 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51973
a201fbcf
AS
519742011-10-24 Andreas Schwab <schwab@redhat.com>
51975
51976 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51977
fc2ee42a
LD
519782011-10-23 Ulrich Drepper <drepper@gmail.com>
51979
bb3129bd
UD
51980 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51981
0275fff8
UD
51982 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51983 prediction.
51984 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51985
2fa2ae85
UD
51986 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51987 Remove unused variable magic_bits.
51988 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51989
fc2ee42a
LD
51990 * string/strnlen.c: Define and use STRNLEN macro.
51991 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51992 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51993 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51994 * wcsmbs/wcslen.c: Define and use WCSLEN.
51995 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51996 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51997 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51998 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51999 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52000 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52001 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52002
ce7dd29f
LD
520032011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52004
52005 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52006 strnlen-sse2-no-bsf.
52007 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52008 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52009 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52010 Add strnlen support.
52011 (USE_AS_STRNLEN): New macro.
52012 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52013 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52014 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52015 * sysdeps/x86_64/wcslen.S: New file.
52016
979c70a3
MZ
520172011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52018
52019 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52020 XMM-moves are used for copying on small sizes.
52021
2d09f82f
LD
520222011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52023
52024 * wcsmbs/Makefile (strop-tests): Add wcschr.
52025 * wcsmbs/test-wcschr.c: New file.
52026 * string/test-strchr.c: Update.
52027 Add wcschr support.
52028 (WIDE): New macro.
52029
619fccca
LD
520302011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52031
2d09f82f 52032 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
52033 * wcsmbs/test-wcslen.c: New file.
52034 * string/test-strlen.c: Update.
52035 Add wcslen support.
52036 (WIDE): New macro.
52037
09f699ea
UD
520382011-10-23 Ulrich Drepper <drepper@gmail.com>
52039
52040 * po/it.po: Update from translation team.
52041
95584d3b
LD
520422011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52043
52044 * sysdeps/x86_64/wcscmp.S: Update.
52045 Fix wrong comparison semantics.
52046 wcscmp shall use signed comparison not unsigned.
52047 Don't use substraction to avoid overflow bug.
52048 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52049 * wcsmbc/wcscmp.c: Likewise.
52050 * string/test-strcmp.c: Likewise.
52051 Add new tests to check cases with negative values.
52052
c8b3296b
UD
520532011-10-23 Ulrich Drepper <drepper@gmail.com>
52054
52055 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52056 * sysdeps/x86_64/dla.h: ...here. New file.
52057 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52058 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52060 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52061 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52062 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52063 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52064 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52065 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52066
246ad57a
AS
520672011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52068
52069 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52070 __ynl_finite aliases.
52071
a1a87169
UD
520722011-10-22 Ulrich Drepper <drepper@gmail.com>
52073
0d355eb7
UD
52074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52075
a1a87169
UD
52076 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52077 define DLA_FMA.
52078 [DLA_FMA] (EMULV): Use DLA_FMA.
52079 [DLA_FMA] (MUL12): Use EMULV.
52080 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52081 that are not needed.
52082 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52083 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52084 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52085 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52086 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52087 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52088 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52089
ee2aafe0
AS
520902011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52091
52092 * math/s_nan.c: Undef __nan.
52093 * math/s_nanf.c: Undef __nanf.
52094 * math/s_nanl.c: Undef __nanl.
52095 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52096 "math_private.h".
52097
bc62c2fb
UD
520982011-10-22 Ulrich Drepper <drepper@gmail.com>
52099
77425c63
UD
52100 * math/s_catan.c: Add branch predictions.
52101 * math/s_catanf.c: Likewise.
52102 * math/s_catanh.c: Likewise.
52103 * math/s_catanhf.c: Likewise.
52104 * math/s_catanhl.c: Likewise.
52105 * math/s_catanl.c: Likewise.
52106 * math/s_cexp.c: Likewise.
52107 * math/s_cexpf.c: Likewise.
52108 * math/s_cexpl.c: Likewise.
52109 * math/s_clog.c: Likewise.
52110 * math/s_clog10.c: Likewise.
52111 * math/s_clog10f.c: Likewise.
52112 * math/s_clog10l.c: Likewise.
52113 * math/s_clogf.c: Likewise.
52114 * math/s_clogl.c: Likewise.
52115 * math/s_csqrt.c: Likewise.
52116 * math/s_csqrtf.c: Likewise.
52117 * math/s_csqrtl.c: Likewise.
52118 * math/s_ctanf.c: Likewise.
52119 * math/s_ctanh.c: Likewise.
52120 * math/s_ctanhf.c: Likewise.
52121 * math/s_ctanhl.c: Likewise.
52122 * math/s_ctanl.c: Likewise.
52123
bc62c2fb
UD
52124 * math/math_private.h: Define __nan, __nanf, __nanl.
52125 * math/s_cacosh.c: Include <math_private.h>.
52126 * math/s_cacoshl.c: Likewise.
52127 * math/s_casinh.c: Likewise.
52128 * math/s_casinhf.c: Likewise.
52129 * math/s_casinhl.c: Likewise.
52130 * math/s_ccos.c: Rely entire on ccosh.
52131 * math/s_ccosf.c: Rely entire on ccoshf.
52132 * math/s_ccosl.c: Rely entirely on ccoshl.
52133 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52134 Remove tests for FE_INVALID.
52135 * math/s_ccoshf.c: Likewise.
52136 * math/s_ccoshl.c: Likewise.
52137 * math/s_csin.c: Likewise.
52138 * math/s_csinf.c: Likewise.
52139 * math/s_csinh.c Likewise.
52140 * math/s_csinhf.c: Likewise.
52141 * math/s_csinhl.c: Likewise.
52142 * math/s_csinl.c: Likewise.
52143 * math/s_ctan.c: Likewise.
52144 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52145 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52146 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52147
8ec250a4
UD
521482011-10-21 Ulrich Drepper <drepper@gmail.com>
52149
c196fed8
UD
52150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52151 compilation problems.
52152
8ec250a4
UD
52153 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52154 __builtin_expect.
52155
8d4f46c6
UD
521562011-10-20 Ulrich Drepper <drepper@gmail.com>
52157
ed72b654
UD
52158 * sysdeps/i386/configure.in: Test for -mfma4 option.
52159 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52160 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52161 COMMON_CPUID_INDEX_80000001.
52162 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52163 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52164 use it if FMA3 is not supported.
52165 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52166
8d4f46c6
UD
52167 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52168 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52169
d45c60c2
AS
521702011-10-20 Andreas Schwab <schwab@redhat.com>
52171
52172 [BZ #12892]
52173 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52174 it would create a cycle with a link time dependency.
52175
d9a4d2ab
UD
521762011-10-19 Ulrich Drepper <drepper@gmail.com>
52177
855d1560
UD
52178 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52179 instruction.
52180 * string/Makefile (strop-tests): Add rawmemchr.
52181 * string/test-rawmemchr.c: New file.
52182
d9a4d2ab
UD
52183 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52184 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52185 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52186 when compiling str{,n}casecmp and when AVX is available. Hook up
52187 new optimized code in initializers.
52188
8f3b1ffe
AS
521892011-10-19 Andreas Schwab <schwab@redhat.com>
52190
52191 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52192 __feraiseexcept instead of feraiseexcept.
52193
d38f1dba
UD
521942011-10-18 Ulrich Drepper <drepper@gmail.com>
52195
d9a8d0ab
UD
52196 * math/math_private.h: Define defaults for libc_fetestexcept and
52197 libc_feupdateenv.
52198 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52199 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52200 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52201 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52202 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52203 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52204 libc_fetestexcept and libc_feupdateenv.
52205
4855e3dd
UD
52206 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52207 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52208 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52209 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52210 libc_feholdexcept_setround.
52211
581d30e3
UD
52212 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52213 Add s_nearbyint-c and s_nearbyintf-c.
52214 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52215 nearbyintf inlines.
52216 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52217 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52218 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52219 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52220
d38f1dba
UD
52221 * math/math_private.h: Define defaults for libc_fegetround,
52222 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52223 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52224 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52225 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52226 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52227 standard functions.
52228 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52229 Remove comments and hacks for old compiler versions.
52230 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52231 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52232 libc_feholdexceptl.
52233
caa6c9d8
AS
522342011-10-18 Andreas Schwab <schwab@redhat.com>
52235
52236 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
52237 (__feraiseexcept_renamed): Add __NTH.
52238 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
52239 namespace violations.
52240
97c066e6
UD
522412011-10-17 Ulrich Drepper <drepper@gmail.com>
52242
99ce7b04
UD
52243 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52244
1004d182
UD
52245 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52246
228a984d
UD
52247 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52248 recently added interfaces.
52249 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52250
c8553a6a
UD
52251 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52252 about macro parameter expansion.
52253
ed22dcf6
UD
52254 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52255 __NO_MATH_INLINES is defined. Cleanups.
52256
52257 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52258 and __floorf is target has SSE4.1.
52259 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52260 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52261 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52262 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52263
b171c137
UD
52264 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52265 name.
52266 (floorf): Likewise.
52267
97c066e6
UD
52268 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52269
629f62ef
AS
522702011-10-17 Andreas Schwab <schwab@redhat.com>
52271
49a43d80
AS
52272 * misc/sys/cdefs.h: Fix last change.
52273
629f62ef
AS
52274 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52275 database lookup.
52276
e453f6cd
UD
522772011-10-16 Ulrich Drepper <drepper@gmail.com>
52278
aa78043a
UD
52279 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52280
ad0f5cad
UD
52281 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52282 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52283 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52284 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52285 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52286 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52287 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52288 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52289 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52290 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52291 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52292 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52293 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52294 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52295 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52296 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52297 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52298 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52299 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52300 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52301 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52302 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52303
52304 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52305 ceil, ceilf, floor, floorf.
52306
52307 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52308 Perform IRELATIVE relocations last.
52309
e453f6cd
UD
52310 * elf/do-rel.h: Add another parameter nrelative, replacing the
52311 local variable with the same name. Change name of the function
52312 to end in Rel or Rela (uppercase).
52313 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52314 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52315 elf_dynamic_do_##reloc function.
52316
fd5bdc09
UD
523172011-10-15 Ulrich Drepper <drepper@gmail.com>
52318
79b195b5
UD
52319 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52320 is sufficient, at least on modern CPUs.
52321
d4a28569
UD
52322 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52323
b61099b5
UD
52324 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52325 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52326
bcf01e6d
UD
52327 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52328 __expl_finite.
52329 * math/bits/math-finite.h: Add entries for exp.
52330 * math/e_expl.c: Add __*_finite alias.
52331 * sysdeps/i386/fpu/e_exp.S: Likewise.
52332 * sysdeps/i386/fpu/e_expf.S: Likewise.
52333 * sysdeps/i386/fpu/e_expl.c: Likewise.
52334 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52335 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52336 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52337 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52338 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52339 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52340 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52341
ba1a0d59
UD
52342 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52343 is sufficient, at least on modern CPUs.
52344
fd5bdc09
UD
52345 * ctype/ctype-info.c (__ctype_init): Define.
52346 * include/ctype.h (__ctype_init): Declare.
52347 (__ctype_b_loc): The variable is always initialized.
52348 (__ctype_toupper_loc): Likewise.
52349 (__ctype_tolower_loc): Likewise.
52350 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52351 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52352
7872cfb0
AS
523532011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52354
b468825a
AS
52355 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52356
7872cfb0
AS
52357 * configure.in: Also look in $cxxmachine/include for C++ system
52358 headers.
52359
be13f7bf
LD
523602011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52361
52362 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52363 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52364 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52365 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52366 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52367 (USE_AS_WMEMCMP): New macro.
52368 Fixing indents.
52369 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52370 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52371 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52372 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52373 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52374 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52375 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52376 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52377 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52378 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52379 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52380 (USE_AS_WMEMCMP): New macro.
52381 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52382 * sysdeps/string/test-memcmp.c: Update.
52383 Fix simple_wmemcmp.
52384 Add new tests.
52385 * wcsmbs/wmemcmp.c: Update.
52386 (WMEMCMP): New macro.
52387 Fix overflow bug.
52388
556a2007
AJ
523892011-10-12 Andreas Jaeger <aj@suse.de>
52390
52391 [BZ #13268]
52392 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52393
538faaa7
UD
523942011-10-15 Ulrich Drepper <drepper@gmail.com>
52395
ab6737ff
UD
52396 * libio/iofwide.c (do_length): Avoid warning.
52397
538faaa7
UD
52398 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52399
396a21b1
UD
524002011-10-14 Ulrich Drepper <drepper@gmail.com>
52401
cdf2901f
UD
52402 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52403
38ad40ce
UD
52404 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52405 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52406 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52407 * sysdeps/i386/i686/fpu/e_log.S: New file.
52408 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52409 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52410
396a21b1
UD
52411 * ctype/ctype.h: Add support for inlined isXXX functions when
52412 compiling C++ code.
52413
6b1f68c9
AS
524142011-10-14 Andreas Schwab <schwab@redhat.com>
52415
349290c0
AS
52416 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52417
6b1f68c9
AS
52418 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52419
f2282d42
RM
524202011-10-13 Roland McGrath <roland@hack.frob.com>
52421
52422 [BZ #13291]
52423 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52424
5298ffa8
AS
524252011-10-13 Andreas Schwab <schwab@redhat.com>
52426
714fad23
AS
52427 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52428 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52429 feraiseexcept.
52430
81dcc7fb
AS
52431 * sysdeps/x86_64/memrchr.S: Check for zero size.
52432
5298ffa8
AS
52433 * string/stratcliff.c: Add memrchr tests.
52434
951fbcec
LD
524352011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52436
52437 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52438 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52439 rawmemchr-sse2 rawmemchr-sse2-bsf.
52440 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52441 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52442 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52443 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52444 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52445 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52446 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52447 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52448 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52449 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52450 * string/memrchr.c (MEMRCHR): New macro.
52451
0ac5ae23
UD
524522011-10-12 Ulrich Drepper <drepper@gmail.com>
52453
52454 Add integration with gcc's -ffinite-math-only and optimize wrapper
52455 functions in libm.
52456 * Versions.def: Define GLIBC_2.15 version for libm.
52457 * math/Makefile (headers): Add bits/math-finite.h.
52458 * math/bits/math-finite.h: New file.
52459 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52460 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52461 * math/e_acoshl.c: Add __*_finite alias.
52462 * math/e_acosl.c: Likewise.
52463 * math/e_asinl.c: Likewise.
52464 * math/e_atan2l.c: Likewise.
52465 * math/e_atanhl.c: Likewise.
52466 * math/e_coshl.c: Likewise.
52467 * math/e_exp10.c: Likewise.
52468 * math/e_exp10f.c: Likewise.
52469 * math/e_exp10l.c: Likewise.
52470 * math/e_exp2l.c: Likewise.
52471 * math/e_fmodl.c: Likewise.
52472 * math/e_gammal_r.c: Likewise.
52473 * math/e_hypotl.c: Likewise.
52474 * math/e_j0l.c: Likewise.
52475 * math/e_j1l.c: Likewise.
52476 * math/e_jnl.c: Likewise.
52477 * math/e_lgammal_r.c: Likewise.
52478 * math/e_log10l.c: Likewise.
52479 * math/e_log2l.c: Likewise.
52480 * math/e_logl.c: Likewise.
52481 * math/e_powl.c: Likewise.
52482 * math/e_sinhl.c: Likewise.
52483 * math/e_sqrtl.c: Likewise.
52484 * math/e_scalb.c: Completely rewritten and optimized.
52485 * math/e_scalbf.c: Likewise.
52486 * math/e_scalbl.c: Likewise.
52487 * math/w_acos.c: Likewise.
52488 * math/w_acosf.c: Likewise.
52489 * math/w_acosl.c: Likewise.
52490 * math/w_acosh.c: Likewise.
52491 * math/w_acoshf.c: Likewise.
52492 * math/w_acoshl.c: Likewise.
52493 * math/w_asin.c: Likewise.
52494 * math/w_asinf.c: Likewise.
52495 * math/w_asinl.c: Likewise.
52496 * math/w_atan2.c: Likewise.
52497 * math/w_atan2f.c: Likewise.
52498 * math/w_atan2l.c: Likewise.
52499 * math/w_atanh.c: Likewise.
52500 * math/w_atanhf.c: Likewise.
52501 * math/w_atanhl.c: Likewise.
52502 * math/w_exp10.c: Likewise.
52503 * math/w_exp10f.c: Likewise.
52504 * math/w_exp10l.c: Likewise.
52505 * math/w_fmod.c: Likewise.
52506 * math/w_fmodf.c: Likewise.
52507 * math/w_fmodl.c: Likewise.
52508 * math/w_j0.c: Likewise.
52509 * math/w_j0f.c: Likewise.
52510 * math/w_j0l.c: Likewise.
52511 * math/w_j1.c: Likewise.
52512 * math/w_j1f.c: Likewise.
52513 * math/w_j1l.c: Likewise.
52514 * math/w_jn.c: Likewise.
52515 * math/w_jnf.c: Likewise.
52516 * math/w_log.c: Likewise.
52517 * math/w_logf.c: Likewise.
52518 * math/w_logl.c: Likewise.
52519 * math/w_log10.c: Likewise.
52520 * math/w_log10f.c: Likewise.
52521 * math/w_log10l.c: Likewise.
52522 * math/w_log2.c: Likewise.
52523 * math/w_log2f.c: Likewise.
52524 * math/w_log2l.c: Likewise.
52525 * math/w_pow.c: Likewise.
52526 * math/w_powf.c: Likewise.
52527 * math/w_powl.c: Likewise.
52528 * math/w_remainder.c: Likewise.
52529 * math/w_remainderf.c: Likewise.
52530 * math/w_remainderl.c: Likewise.
52531 * math/w_scalb.c: Likewise.
52532 * math/w_scalbf.c: Likewise.
52533 * math/w_scalbl.c: Likewise.
52534 * math/w_sqrt.c: Likewise.
52535 * math/w_sqrtf.c: Likewise.
52536 * math/w_sqrtl.c: Likewise.
52537 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52538 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52539 used.
52540 * math/math_private.h: Declare __kernel_standard_f.
52541 * math/w_cosh.c: Remove cruft and optimize a bit.
52542 * math/w_coshf.c: Likewise.
52543 * math/w_coshl.c: Likewise.
52544 * math/w_exp2.c: Likewise.
52545 * math/w_exp2f.c: Likewise.
52546 * math/w_exp2l.c: Likewise.
52547 * math/w_hypot.c: Likewise.
52548 * math/w_hypotf.c: Likewise.
52549 * math/w_hypotl.c: Likewise.
52550 * math/w_lgamma.c: Likewise.
52551 * math/w_lgamma_r.c: Likewise.
52552 * math/w_lgammaf.c: Likewise.
52553 * math/w_lgammaf_r.c: Likewise.
52554 * math/w_lgammal.c: Likewise.
52555 * math/w_lgammal_r.c: Likewise.
52556 * math/w_sinh.c: Likewise.
52557 * math/w_sinhf.c: Likewise.
52558 * math/w_sinhl.c: Likewise.
52559 * math/w_tgamma.c: Likewise.
52560 * math/w_tgammaf.c: Likewise.
52561 * math/w_tgammal.c: Likewise.
52562 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52563 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52564 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52565 Minor optimizations. Pretty printing. Remove cruft.
52566 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52567 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52568 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52569 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52570 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52571 * sysdeps/i386/fpu/e_asin.S: Likewise.
52572 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52573 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52574 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52575 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52576 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52577 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52578 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52579 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52580 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52581 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52582 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52583 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52584 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52585 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52586 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52587 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52588 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52589 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52590 * sysdeps/i386/fpu/e_log.S: Likewise.
52591 * sysdeps/i386/fpu/e_log10.S: Likewise.
52592 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52593 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52594 * sysdeps/i386/fpu/e_log2.S: Likewise.
52595 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52596 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52597 * sysdeps/i386/fpu/e_logf.S: Likewise.
52598 * sysdeps/i386/fpu/e_logl.S: Likewise.
52599 * sysdeps/i386/fpu/e_pow.S: Likewise.
52600 * sysdeps/i386/fpu/e_powf.S: Likewise.
52601 * sysdeps/i386/fpu/e_powl.S: Likewise.
52602 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52603 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52604 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52605 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52606 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52607 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52608 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52609 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52610 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52611 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52612 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52613 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52614 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52615 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52616 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52617 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52618 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52619 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52620 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52621 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52622 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52624 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52625 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52626 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52627 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52628 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52629 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52630 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52631 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52632 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52633 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52634 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52635 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52636 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52637 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52638 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52639 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52640 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52641 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52642 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52643 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52644 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52645 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52646 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52647 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52648 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52649 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52650 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52651 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52652 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52653 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52654 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52655 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52656 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52657 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52658 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52659 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52660 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52661 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52662 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52663 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52664 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52665 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52666 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52667 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52668 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52669 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52670 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52671 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52672 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52673 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52674 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52675 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52676 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52677 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52678 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52679 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52680 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52681 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52682 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52683 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52684 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52685 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52686 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52687 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52688 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52689 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52690 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52691 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52692 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52693 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52694 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52695 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52696 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52697 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52698 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52699 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52700 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52701 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52702 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52703 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52704 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52705 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52706 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52707 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52708 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52709 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52710 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52711 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52712 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52713 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52714 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52715 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52716 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52717 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52718 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52719 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52720 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52721 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52722 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52723 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52724 (__isnanf): Likewise.
52725 (__isinf_ns): Likewise.
52726 (__isinf_nsf): Likewise.
52727 (__finite): Likewise.
52728 (__finitef): Likewise.
52729 (__ieee754_sqrt): Define as macro.
52730 (__ieee754_sqrtf): Define as macro.
52731 (__ieee754_sqrtl): Define as macro.
52732 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52733 inlined copy.
52734 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52735 __FINITE_MATH_ONLY__ consistent.
52736 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52737
12cc2fcd
AS
527382011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52739
a843a204
AS
52740 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52741 of rawmemchr.
52742
12cc2fcd
AS
52743 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52744
c853acd5
UD
527452011-10-09 Ulrich Drepper <drepper@gmail.com>
52746
52747 * po/ja.po: Update from translation team.
52748
c658d255
RM
527492011-10-08 Roland McGrath <roland@hack.frob.com>
52750
110946e4
RM
52751 * locale/programs/locarchive.c (prepare_address_space): New function.
52752 (create_archive, enlarge_archive, open_archive): Use it.
52753
50604220
RM
52754 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52755 inside [SHARED], where it is used.
52756
c658d255
RM
52757 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52758
52759 * nss/getent.c (netgroup_keys): Remove unused variable.
52760 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52761
6a621eb7
UD
527622011-10-08 Ulrich Drepper <drepper@gmail.com>
52763
7edb55ce
UD
52764 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52765 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52766 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52767 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52768 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52769 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52770 * math/Makefile (libm-calls): Add s_isinf_ns.
52771 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52772 * math/multc3.c: Likewise.
52773 * math/s_casin.c: Likewise.
52774 * math/s_casinf.c: Likewise.
52775 * math/s_casinl.c: Likewise.
52776 * math/s_ccos.c: Likewise.
52777 * math/s_ccosf.c: Likewise.
52778 * math/s_ccosl.c: Likewise.
52779 * math/s_ctan.c: Likewise.
52780 * math/s_ctanf.c: Likewise.
52781 * math/s_ctanh.c: Likewise.
52782 * math/s_ctanhf.c: Likewise.
52783 * math/s_ctanhl.c: Likewise.
52784 * math/s_ctanl.c: Likewise.
52785 * math/w_fmod.c: Likewise.
52786 * math/w_fmodf.c: Likewise.
52787 * math/w_fmodl.c: Likewise.
52788 * math/w_remainder.c: Likewise.
52789 * math/w_remainderf.c: Likewise.
52790 * math/w_remainderl.c: Likewise.
52791 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52792 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52793 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52794 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52795 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52796 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52797 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52798 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52799
187da0ae
UD
52800 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52801 of the number.
52802 * stdio-common/printf_fphex.c: Likewise.
52803 * stdio-common/printf_size.c: Likewise.
52804
9277c064
UD
52805 * math/e_exp10.c: Include math_private.h using <...> not "...".
52806 * math/e_exp10f.c: Likewise.
52807 * math/e_exp10l.c: Likewise.
52808 * math/e_exp2l.c: Likewise.
52809 * math/e_j0l.c: Likewise.
52810 * math/e_j1l.c: Likewise.
52811 * math/e_jnl.c: Likewise.
52812 * math/e_lgammal_r.c: Likewise.
52813 * math/e_rem_pio2l.c: Likewise.
52814 * math/e_scalb.c: Likewise.
52815 * math/e_scalbf.c: Likewise.
52816 * math/e_scalbl.c: Likewise.
52817 * math/k_cosl.c: Likewise.
52818 * math/k_sinl.c: Likewise.
52819 * math/k_tanl.c: Likewise.
52820 * math/s_cacoshf.c: Likewise.
52821 * math/s_catan.c: Likewise.
52822 * math/s_catanf.c: Likewise.
52823 * math/s_catanh.c: Likewise.
52824 * math/s_catanhf.c: Likewise.
52825 * math/s_catanhl.c: Likewise.
52826 * math/s_catanl.c: Likewise.
52827 * math/s_ccosh.c: Likewise.
52828 * math/s_ccoshf.c: Likewise.
52829 * math/s_ccoshl.c: Likewise.
52830 * math/s_cexp.c: Likewise.
52831 * math/s_cexpf.c: Likewise.
52832 * math/s_cexpl.c: Likewise.
52833 * math/s_clog.c: Likewise.
52834 * math/s_clog10.c: Likewise.
52835 * math/s_clog10f.c: Likewise.
52836 * math/s_clog10l.c: Likewise.
52837 * math/s_clogf.c: Likewise.
52838 * math/s_clogl.c: Likewise.
52839 * math/s_csin.c: Likewise.
52840 * math/s_csinf.c: Likewise.
52841 * math/s_csinh.c: Likewise.
52842 * math/s_csinhf.c: Likewise.
52843 * math/s_csinhl.c: Likewise.
52844 * math/s_csinl.c: Likewise.
52845 * math/s_csqrt.c: Likewise.
52846 * math/s_csqrtf.c: Likewise.
52847 * math/s_csqrtl.c: Likewise.
52848 * math/s_ctan.c: Likewise.
52849 * math/s_ctanf.c: Likewise.
52850 * math/s_ctanh.c: Likewise.
52851 * math/s_ctanhf.c: Likewise.
52852 * math/s_ctanhl.c: Likewise.
52853 * math/s_ctanl.c: Likewise.
52854 * math/s_ldexp.c: Likewise.
52855 * math/s_ldexpf.c: Likewise.
52856 * math/s_ldexpl.c: Likewise.
52857 * math/s_significand.c: Likewise.
52858 * math/s_significandf.c: Likewise.
52859 * math/s_significandl.c: Likewise.
52860 * math/w_acos.c: Likewise.
52861 * math/w_acosf.c: Likewise.
52862 * math/w_acosh.c: Likewise.
52863 * math/w_acoshf.c: Likewise.
52864 * math/w_acoshl.c: Likewise.
52865 * math/w_acosl.c: Likewise.
52866 * math/w_asin.c: Likewise.
52867 * math/w_asinf.c: Likewise.
52868 * math/w_asinl.c: Likewise.
52869 * math/w_atan2.c: Likewise.
52870 * math/w_atan2f.c: Likewise.
52871 * math/w_atan2l.c: Likewise.
52872 * math/w_atanh.c: Likewise.
52873 * math/w_atanhf.c: Likewise.
52874 * math/w_atanhl.c: Likewise.
52875 * math/w_cosh.c: Likewise.
52876 * math/w_coshf.c: Likewise.
52877 * math/w_coshl.c: Likewise.
52878 * math/w_dremf.c: Likewise.
52879 * math/w_exp10.c: Likewise.
52880 * math/w_exp10f.c: Likewise.
52881 * math/w_exp10l.c: Likewise.
52882 * math/w_exp2.c: Likewise.
52883 * math/w_exp2f.c: Likewise.
52884 * math/w_fmod.c: Likewise.
52885 * math/w_fmodf.c: Likewise.
52886 * math/w_fmodl.c: Likewise.
52887 * math/w_hypot.c: Likewise.
52888 * math/w_hypotf.c: Likewise.
52889 * math/w_hypotl.c: Likewise.
52890 * math/w_j0.c: Likewise.
52891 * math/w_j0f.c: Likewise.
52892 * math/w_j0l.c: Likewise.
52893 * math/w_j1.c: Likewise.
52894 * math/w_j1f.c: Likewise.
52895 * math/w_j1l.c: Likewise.
52896 * math/w_jn.c: Likewise.
52897 * math/w_jnf.c: Likewise.
52898 * math/w_jnl.c: Likewise.
52899 * math/w_lgamma.c: Likewise.
52900 * math/w_lgamma_r.c: Likewise.
52901 * math/w_lgammaf.c: Likewise.
52902 * math/w_lgammaf_r.c: Likewise.
52903 * math/w_lgammal.c: Likewise.
52904 * math/w_lgammal_r.c: Likewise.
52905 * math/w_log.c: Likewise.
52906 * math/w_log10.c: Likewise.
52907 * math/w_log10f.c: Likewise.
52908 * math/w_log10l.c: Likewise.
52909 * math/w_log2.c: Likewise.
52910 * math/w_log2f.c: Likewise.
52911 * math/w_log2l.c: Likewise.
52912 * math/w_logf.c: Likewise.
52913 * math/w_logl.c: Likewise.
52914 * math/w_pow.c: Likewise.
52915 * math/w_powf.c: Likewise.
52916 * math/w_powl.c: Likewise.
52917 * math/w_remainder.c: Likewise.
52918 * math/w_remainderf.c: Likewise.
52919 * math/w_remainderl.c: Likewise.
52920 * math/w_scalb.c: Likewise.
52921 * math/w_scalbf.c: Likewise.
52922 * math/w_scalbl.c: Likewise.
52923 * math/w_sinh.c: Likewise.
52924 * math/w_sinhf.c: Likewise.
52925 * math/w_sinhl.c: Likewise.
52926 * math/w_sqrt.c: Likewise.
52927 * math/w_sqrtf.c: Likewise.
52928 * math/w_sqrtl.c: Likewise.
52929 * math/w_tgamma.c: Likewise.
52930 * math/w_tgammaf.c: Likewise.
52931 * math/w_tgammal.c: Likewise.
52932
6a621eb7
UD
52933 * po/ja.po: Update from translation team.
52934
bf582445
AJ
529352011-09-29 Andreas Jaeger <aj@suse.de>
52936
f9efbf3a
AJ
52937 [BZ #13179]
52938 * sunrpc/netname.c (netname2host): Fix logic.
52939
bf582445
AJ
52940 [BZ #6779]
52941 [BZ #6783]
52942 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52943 correctly.
52944 * math/w_remainder.c (__remainder): Likewise.
52945 * math/w_remainderf.c (__remainderf): Likewise.
52946 * math/libm-test.inc (remainder_test): Add test cases.
52947
48693bea
AK
529482011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52949
52950 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52951 sdiv_qrnnd.
52952
42622229
LD
529532011-10-07 Ulrich Drepper <drepper@gmail.com>
52954
52955 * string/test-memcmp.c: Avoid unncessary #defines.
52956 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52957
093ecf92
LD
529582011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52959
52960 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52961 Use new sse2 version for core i3 - i7 as it's faster
52962 than sse42 version.
52963 (bit_Prefer_PMINUB_for_stringop): New.
52964 * sysdeps/x86_64/rawmemchr.S: Update.
52965 Replace with faster SSE2 version.
52966 * sysdeps/x86_64/memrchr.S: New file.
52967 * sysdeps/x86_64/memchr.S: Update.
52968 Replace with faster SSE2 version.
52969
fde56e5c
MP
529702011-09-12 Marek Polacek <mpolacek@redhat.com>
52971
52972 * elf/dl-load.c (lose): Add cast to avoid warning.
52973
21fd49a9
UD
529742011-10-07 Ulrich Drepper <drepper@gmail.com>
52975
5a06e643
UD
52976 * po/ca.po: Update from translation team.
52977
684ae515
UD
52978 * inet/getnetgrent_r.c: Hook up nscd.
52979 * nscd/Makefile (routines): Add nscd_netgroup.
52980 (nscd-modules): Add netgroupcache.
52981 (CFLAGS-netgroupcache.c): Define.
52982 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52983 (cache_search): Add const to second parameter.
52984 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52985 INNETGR.
52986 (dbs): Add netgrdb entry.
52987 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52988 (verify_persistent_db): Handle netgrdb.
52989 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52990 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52991 GETFDNETGR.
52992 (netgroup_response_header): Define.
52993 (innetgroup_response_header): Define.
52994 (datahead): Add netgroup_response_header and innetgroup_response_header
52995 elements.
52996 * nscd/nscd.conf: Add entries for netgroup cache.
52997 * nscd/nscd.h (dbtype): Add netgrdb.
52998 (_PATH_NSCD_NETGROUP_DB): Define.
52999 (netgroup_iov_disabled): Declare.
53000 (xmalloc, xcalloc, xrealloc): Move declarations here.
53001 (cache_search): Adjust prototype.
53002 Add netgroup-related prototypes.
53003 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53004 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53005 (__nscd_innetgr): Declare.
53006 * nscd/selinux.c (perms): Use access_vector_t as element type and
53007 add netgroup-related initializers.
53008 * nscd/netgroupcache.c: New file.
53009 * nscd/nscd_netgroup.c: New file.
53010 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53011 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53012 For four parameters use innetgr.
53013 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53014 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53015 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53016 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53017
21fd49a9
UD
53018 * nscd/connections.c (register_traced_file): Don't register file
53019 for disabled databases.
53020
054c0457
UD
530212011-10-06 Ulrich Drepper <drepper@gmail.com>
53022
32b63198
UD
53023 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53024
054c0457
UD
53025 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53026 from tree and freeing node.
53027
64031225
JO
530282011-09-25 Jiri Olsa <jolsa@redhat.com>
53029
53030 * nss/nsswitch.c (__nss_database_lookup): Handle
53031 nss_parse_service_list out of memory case.
53032
0490345c
JO
530332011-09-15 Jiri Olsa <jolsa@redhat.com>
53034
53035 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53036 out of memory case.
53037
3a62d00d
AS
530382011-10-04 Andreas Schwab <schwab@redhat.com>
53039
53040 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53041 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53042 pass it down.
53043 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53044 elf_machine_rela, elf_machine_lazy_rel.
53045 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53046 (ELF_DYNAMIC_DO_REL): Likewise.
53047 (ELF_DYNAMIC_DO_RELA): Likewise.
53048 (ELF_DYNAMIC_RELOCATE): Likewise.
53049 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53050 to ELF_DYNAMIC_DO_REL.
53051 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53052 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53053 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53054 elf_machine_rela.
53055 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53056 skip_ifunc, don't call ifunc function if non-zero.
53057 (elf_machine_rela): Likewise.
53058 (elf_machine_lazy_rel): Likewise.
53059 (elf_machine_lazy_rela): Likewise.
53060 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53061 (elf_machine_lazy_rel): Likewise.
53062 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53063 Likewise.
53064 (elf_machine_lazy_rel): Likewise.
53065 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53066 Likewise.
53067 (elf_machine_lazy_rel): Likewise.
53068 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53069 (elf_machine_lazy_rel): Likewise.
53070 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53071 (elf_machine_lazy_rel): Likewise.
53072 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53073 (elf_machine_lazy_rel): Likewise.
53074 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53075 (elf_machine_lazy_rel): Likewise.
53076 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53077 (elf_machine_lazy_rel): Likewise.
53078 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53079 (elf_machine_lazy_rel): Likewise.
53080
68577918
UD
530812011-09-28 Ulrich Drepper <drepper@gmail.com>
53082
53083 * nss/nss_files/files-init.c (_nss_files_init): Use static
53084 initialization for all the *_traced_file variables.
53085
68822d74
AS
530862011-09-28 Andreas Schwab <schwab@redhat.com>
53087
53088 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53089
2056100b
RM
530902011-09-27 Roland McGrath <roland@hack.frob.com>
53091
53092 [BZ #13226]
53093 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53094
32c76b63
AS
530952011-09-27 Andreas Schwab <schwab@redhat.com>
53096
53097 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53098 Reread the line before reparsing it.
53099
bf972c9d
AS
531002011-09-26 Andreas Schwab <schwab@redhat.com>
53101
53102 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53103
e057a1b5
JM
531042011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53105 Maxim Kuvyrkov <maxim@codesourcery.com>
53106 Joseph Myers <joseph@codesourcery.com>
53107
53108 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53109 if needed for __stack_chk_guard.
53110
bc7e1c36
RM
531112011-09-19 Roland McGrath <roland@hack.frob.com>
53112
ecb1482f
RM
53113 * sysdeps/posix/spawni.c (script_execute): Always define it.
53114 It will be optimized away if unused.
53115 (maybe_script_execute): New function.
53116 (__spawni): Call it.
53117
bc7e1c36
RM
53118 * Makerules: Don't include tls.make.
53119 (config-tls): Always set to thread.
53120 * tls.make.c: File removed.
53121
1c3b002b
MF
531222011-09-19 Mike Frysinger <vapier@gentoo.org>
53123
53124 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53125 * config.make.in (CPPFLAGS-config): New substituted variable.
53126
2840865d
UD
531272011-09-15 Ulrich Drepper <drepper@gmail.com>
53128
88738eb6
UD
53129 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53130
cbf645a6 53131 [BZ #13192]
2840865d
UD
53132 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53133 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53134
b402e91a
RM
531352011-09-15 Roland McGrath <roland@hack.frob.com>
53136
53137 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53138 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53139 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53140 (CALL_FAIL): Likewise.
53141 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53142 (CALL_FAIL): Macro removed.
53143 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53144
4c1a1f71
UD
531452011-09-15 Ulrich Drepper <drepper@gmail.com>
53146
53147 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53148 for __FINITE_MATH_ONLY__ == 1.
53149
edc121be
AS
531502011-09-15 Andreas Schwab <schwab@redhat.com>
53151
53152 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53153 __ieee754_sqrt instead of sqrt.
53154 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53155 __ieee754_sqrtf instead of sqrtf.
53156 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53157 __floorf instead of floorf.
53158 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53159 __floorf, __truncf instead of floorf, truncf.
53160
cd205654
UD
531612011-09-14 Ulrich Drepper <drepper@gmail.com>
53162
ee4d0315
UD
53163 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53164
cd205654
UD
53165 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53166 __extern_always_inline.
53167 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53168 32-bit.
53169
48b67d71
AS
531702011-09-14 Andreas Schwab <schwab@redhat.com>
53171
53172 * elf/rtld.c (dl_main): Also relocate in dependency order when
53173 doing symbol dependency testing.
53174
1ae12c75
AS
531752011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53176
53177 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53178 Always define `refsym'.
53179
995a80df
AS
531802011-09-13 Andreas Schwab <schwab@redhat.com>
53181
e529793b
AS
53182 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53183 (__FD_ELT): Renamed from __FDELT.
53184 * misc/bits/select2.h (__FD_ELT): Likewise.
53185 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53186 __FD_MASK instead of __FDELT, __FDMASK.
53187 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53188 Likewise.
53189 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53190 Likewise.
53191
52d4fef8
AS
53192 * elf/Makefile (gen-ldd): Fix pattern.
53193
995a80df
AS
53194 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53195 (init_tls): Likewise.
53196
8682f8b0
UD
531972011-09-12 Ulrich Drepper <drepper@gmail.com>
53198
53199 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53200
de82006d
AS
532012011-09-12 Andreas Schwab <schwab@redhat.com>
53202
a7c8e6a1
AS
53203 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53204 `struct cmsghdr *' instead of `void *'.
53205 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53206 Likewise.
53207
0f31fe77
AS
532082011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53209
53210 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53211 if non-absolute.
53212 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53213 ldd_rewrite_script.
0f31fe77 53214
32b4c839
UD
532152011-09-11 Ulrich Drepper <drepper@gmail.com>
53216
83cd1420
UD
53217 * configure.in: Remove --with-tls option.
53218 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53219 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53220 out in case it is missing.
53221 * sysdeps/ia64/elf/configure.in: Likewise.
53222 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53223 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53224 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53225 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53226 * sysdeps/sh/elf/configure.in: Likewise.
53227 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53228 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53229 * sysdeps/x86_64/elf/configure.in: Likewise.
53230 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53231 * sysdeps/mach/hurd/tls.h: Likewise.
53232
633f745d
UD
53233 [BZ #13067]
53234 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53235
f318beb8
UD
53236 [BZ #13090]
53237 * configure.in: Fix use of AC_INIT.
53238
32b4c839
UD
53239 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53240
3ce1f295
UD
532412011-09-10 Ulrich Drepper <drepper@gmail.com>
53242
bb016596
UD
53243 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53244 __set_errno.
8e58439c
UD
53245 * malloc/hooks.c: Likewise.
53246
aebae053 53247 [BZ #11929]
02d46fc4
UD
53248 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53249 variables statically.
53250 (narenas): Initialize.
53251 (list_lock): Initialize.
bb016596
UD
53252 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53253 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
53254 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53255 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53256 Add initializers to main_arena and mp_.
53257 (malloc_state): Remove pagesize member. Change all users to use
53258 GLRO(dl_pagesize).
53259
53260 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53261 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53262 is always initialized.
53263
22a89187
UD
53264 * malloc/malloc.c: Removed unused configurations and dead code.
53265 * malloc/arena.c: Likewise.
53266 * malloc/hooks.c: Likewise.
02d46fc4 53267 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 53268
d063d164
UD
53269 * include/tls.h: Removed. USE___THREAD must always be defined.
53270 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53271 * elf/dl-libc.c: Likewise.
53272 * elf/dl-tsd.c: Likewise.
53273 * include/errno.h: Likewise.
53274 * include/netdb.h: Likewise.
53275 * include/resolv.h: Likewise.
53276 * inet/herrno-loc.c: Likewise.
53277 * inet/herrno.c: Likewise.
53278 * malloc/arena.c: Likewise.
53279 * malloc/hooks.c: Likewise.
53280 * malloc/malloc.c: Likewise.
53281 * resolv/res-state.c: Likewise.
53282 * resolv/res_libc.c: Likewise.
53283 * sysdeps/i386/dl-machine.h: Likewise.
53284 * sysdeps/ia64/dl-machine.h: Likewise.
53285 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53286 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53287 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53288 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53289 * sysdeps/sh/dl-machine.h: Likewise.
53290 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53291 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53292 * sysdeps/unix/i386/sysdep.S: Likewise.
53293 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53294 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53295 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53296 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53297 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53298 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53299 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53300 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53301 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53302 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53303 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53304 * sysdeps/x86_64/dl-machine.h: Likewise.
53305 * tls.make.c: Likewise.
53306
3ce1f295
UD
53307 * configure.in: Remove --with-__thread option. Make tests for
53308 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53309 tls_model attribute fail if no support is available. Remove
53310 USE_IN_LIBIO.
53311 * Makeconfig: Adjust for dropped configure option. All features are
53312 now mandatory.
53313 * Makerules: Likewise.
53314 * Versions.def: Likewise.
53315 * argp/argp-fmtstream.c: Likewise.
53316 * argp/argp-fmtstream.h: Likewise.
53317 * argp/argp-help.c: Likewise.
53318 * assert/assert.c: Likewise.
53319 * config.h.in: Likewise.
53320 * config.make.in: Likewise.
53321 * configure: Likewise.
53322 * configure.in: Likewise.
53323 * csu/Versions: Likewise.
53324 * csu/init.c: Likewise.
53325 * elf/tst-audit2.c: Likewise.
53326 * elf/tst-tls10.c: Likewise.
53327 * elf/tst-tls10.h: Likewise.
53328 * elf/tst-tls11.c: Likewise.
53329 * elf/tst-tls12.c: Likewise.
53330 * elf/tst-tls14.c: Likewise.
53331 * elf/tst-tlsmod11.c: Likewise.
53332 * elf/tst-tlsmod12.c: Likewise.
53333 * elf/tst-tlsmod13.c: Likewise.
53334 * elf/tst-tlsmod13a.c: Likewise.
53335 * elf/tst-tlsmod14a.c: Likewise.
53336 * elf/tst-tlsmod15b.c: Likewise.
53337 * elf/tst-tlsmod16a.c: Likewise.
53338 * elf/tst-tlsmod16b.c: Likewise.
53339 * elf/tst-tlsmod7.c: Likewise.
53340 * elf/tst-tlsmod8.c: Likewise.
53341 * elf/tst-tlsmod9.c: Likewise.
53342 * gmon/gmon.c: Likewise.
53343 * grp/fgetgrent_r.c: Likewise.
53344 * grp/putgrent.c: Likewise.
53345 * hurd/fopenport.c: Likewise.
53346 * include/libc-symbols.h: Likewise.
53347 * include/tls.h: Likewise.
53348 * intl/gettextP.h: Likewise.
53349 * intl/loadinfo.h: Likewise.
53350 * locale/global-locale.c: Likewise.
53351 * locale/localeinfo.h: Likewise.
53352 * mach/devstream.c: Likewise.
53353 * malloc/arena.c: Likewise.
53354 * malloc/set-freeres.c: Likewise.
53355 * misc/err.c: Likewise.
53356 * misc/getttyent.c: Likewise.
53357 * misc/mntent_r.c: Likewise.
53358 * posix/getopt.c: Likewise.
53359 * posix/wordexp.c: Likewise.
53360 * pwd/fgetpwent_r.c: Likewise.
53361 * resolv/Versions: Likewise.
53362 * resolv/res_hconf.c: Likewise.
53363 * shadow/fgetspent_r.c: Likewise.
53364 * shadow/putspent.c: Likewise.
53365 * stdio-common/printf_fphex.c: Likewise.
53366 * stdio-common/tmpfile.c: Likewise.
53367 * stdlib/abort.c: Likewise.
53368 * stdlib/fmtmsg.c: Likewise.
53369 * sunrpc/auth_unix.c: Likewise.
53370 * sunrpc/clnt_perr.c: Likewise.
53371 * sunrpc/clnt_tcp.c: Likewise.
53372 * sunrpc/clnt_udp.c: Likewise.
53373 * sunrpc/clnt_unix.c: Likewise.
53374 * sunrpc/openchild.c: Likewise.
53375 * sunrpc/svc_simple.c: Likewise.
53376 * sunrpc/svc_tcp.c: Likewise.
53377 * sunrpc/svc_udp.c: Likewise.
53378 * sunrpc/svc_unix.c: Likewise.
53379 * sunrpc/xdr.c: Likewise.
53380 * sunrpc/xdr_array.c: Likewise.
53381 * sunrpc/xdr_rec.c: Likewise.
53382 * sunrpc/xdr_ref.c: Likewise.
53383 * sunrpc/xdr_stdio.c: Likewise.
53384
1248c1c4
PB
533852011-09-09 Ulrich Drepper <drepper@gmail.com>
53386
53387 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53388
533892011-07-03 Andreas Jaeger <aj@suse.de>
53390
53391 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53392 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53393 regenerate with gen-libm-tests.pl.
53394
533952010-05-12 Petr Baudis <pasky@suse.cz>
53396
53397 [BZ #11589]
53398 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53399 around j0() zero points by switching to j1().
53400 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53401 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53402 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53403 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53404
f22e1074
UD
534052011-09-09 Ulrich Drepper <drepper@gmail.com>
53406
f19009c1
UD
53407 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53408 instead of 0.
53409 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 53410 instead of 0.
f19009c1
UD
53411 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53412 Patch in part by Pavel Roskin <proski@gnu.org>.
53413
3f8cc204
UD
53414 [BZ #13138]
53415 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53416 realloc.
53417 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53418 Free memory block if necessary.
53419
f22e1074
UD
53420 [BZ #12847]
53421 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53422 be NULL. Don't lock in this case.
53423
0a2349f9
RM
534242011-09-09 Roland McGrath <roland@hack.frob.com>
53425
53426 * elf/elf.h (ELFOSABI_GNU): New macro.
53427 (ELFOSABI_LINUX): Define to that.
53428
f3cdd467
DZ
534292011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53430
53431 * string/strncat.c (strncat): Undef the symbol in case it has been
53432 defined in bits/string.h.
53433
74718d13
UD
534342011-09-09 Ulrich Drepper <drepper@gmail.com>
53435
633e9e0f
UD
53436 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53437
0a2349f9 53438 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
53439 link map.
53440
f9924780
AJ
534412011-08-17 Andreas Jaeger <aj@suse.de>
53442
53443 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53444
7f5517aa
PP
534452011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53446 Ian Lance Taylor <iant@google.com>
53447
53448 * math/libm-test.inc (lround_test): New testcase.
53449 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53450
762011fe
UD
534512011-09-08 Ulrich Drepper <drepper@gmail.com>
53452
92963737
UD
53453 * Makefile: Remove support for automatic cvs check-ins.
53454 * Makerules: Likewise.
53455 * config.make.in: Likewise.
53456 * configure.in: Likewise.
53457 * intl/Makefile: Likewise.
53458 * locale/Makefile: Likewise.
53459 * po/Makefile: Likewise.
53460 * posix/Makefile: Likewise.
53461 * sysdeps/gnu/Makefile: Likewise.
53462 * sysdeps/mach/hurd/Makefile: Likewise.
53463 * sysdeps/sparc/sparc32/Makefile: Likewise.
53464
b0727fd8
JS
53465 [BZ #13118]
53466 * posix/Makefile (bug-regex32-ENV): Define.
53467 Patch by John Stanley <jpsinthemix@verizon.net>.
53468
a0f33f99
UD
53469 * misc/Makefile (headers): Add bits/select2.h.
53470 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53471 * misc/bits/select2.h: New file.
53472 * include/bits/select2.h: New file.
53473 * debug/Makefile (routines): Add fdelt_chk.
53474 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53475 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53476 FD_ISSET.
53477 * debug/fdelt_chk.c: New file.
53478
762011fe
UD
53479 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53480 * wcsmbs/test-wmemcmp.c: Likewise.
53481 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 53482 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
53483
534842011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53485
53486 * string/Makefile (strop-tests): Add memcmp.
53487 * string/test-wmemcmp.c: New file.
53488 * string/test-memcmp.c: Add wmemcmp support.
53489
7f513ec8
RM
534902011-09-08 Roland McGrath <roland@hack.frob.com>
53491
0442afb4
RM
53492 [BZ #13153]
53493 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53494 2011-07-19 change.
53495
7f513ec8
RM
53496 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53497 garbage value in a __mach_port_mod_refs call in the cases of the
53498 task-self and thread-self ports.
53499
a12b2239
ST
535002011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53501
53502 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53503
610f9ab4
AS
535042011-09-08 Andreas Schwab <schwab@redhat.com>
53505
7f513ec8 53506 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 53507
48882a1a
LD
535082011-09-07 Ulrich Drepper <drepper@gmail.com>
53509
b49865be
UD
53510 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53511
fdc86bc9
UD
53512 * elf/dl-libc.c (dlerror_run): Pass back error code from
53513 dl_catch_error.
53514
c966526a
UD
53515 [BZ #13123]
53516 * elf/dl-load.c (lose): Free l_origin if it is valid.
53517
48882a1a
LD
53518 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53519 names.
53520 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53521 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53522 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53523 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53524 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53525 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53526
77a2a8b4
AZ
535272011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53528
53529 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53530 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53531 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53532 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53533 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53534 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53535 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53536 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53537 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53538 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53539
24f579d8
AM
535402011-08-15 Alan Modra <amodra@gmail.com>
53541
53542 [BZ #13092]
53543 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53544 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53545 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53546 ppc_mcount to static-only-routines.
53547 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53548 __mcount_internal.
53549 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53550 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53551
3d4837df
UD
535522011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53553
53554 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53555 for finite and infinity parameters.
53556
22700377
WS
535572011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53558
53559 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53560 and add nop instructions for throughput optimization.
53561 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53562
5025581e
WS
535632011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53564
53565 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53566 aligned copy for power7 with vector-scalar instructions.
53567 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53568
08a300c9
L
535692011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53570
53571 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53572 AVX check.
53573
59178ef9
AS
535742011-09-07 Andreas Schwab <schwab@redhat.com>
53575
53576 [BZ #13144]
53577 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53578 last change.
53579
e38ba7ab
UD
535802011-09-07 Ulrich Drepper <drepper@gmail.com>
53581
53582 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53583 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53584 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53585 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53586 clock_gettime.
53587
d53a73ac
UD
535882011-09-06 Ulrich Drepper <drepper@gmail.com>
53589
fc8bffcc
UD
53590 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53591 Forgot to demangle the pointer.
53592
ceaa0c5d
UD
53593 * sysdeps/i386/sysdep.h: Define atom_text_section.
53594 * sysdeps/x86_64/sysdep.h: Likewise.
53595 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53596 section with atom_text_section.
53597 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53598 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53599 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53600 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53601 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53602
a77d3c17
UD
53603 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53604 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53605 already be defined. Change to take two parameters and don't assign
53606 result to variable. Adjust all users.
53607 Define INTERNAL_GETTIME if not already defined.
53608 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53609 call.
53610 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53611 HAVE_CLOCK_GETTIME_VSYSCALL.
53612 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53613
d53a73ac
UD
53614 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53615 gettimeofday vsyscall, just use time.
53616
a8f84144
AS
536172011-09-06 Andreas Schwab <schwab@redhat.com>
53618
53619 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53620 <errno.h>.
53621
ef606249
UD
536222011-09-06 Ulrich Drepper <drepper@gmail.com>
53623
53624 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53625 syscall on x86-64.
53626 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53627 syscall.
53628 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53629 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53630 syscall if possible.
53631
6585cb60
UD
536322011-09-05 Ulrich Drepper <drepper@gmail.com>
53633
53634 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53635 e_ident. Don't pass to find_mapsXX.
53636 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53637
a5f524e4
LD
536382011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53639
53640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53641 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53642 * sysdeps/x86_64/multiarch/strchr.S: Update.
53643 Check bit_slow_BSF bit.
53644 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53645 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53646 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53647
554881ef
UD
536482011-09-05 Ulrich Drepper <drepper@gmail.com>
53649
d96de963
UD
53650 [BZ #13134]
53651 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53652 before glibc 2.15.
53653 (tryshell): Define.
53654 (__spawni): Change last parameter to be flag. Test
53655 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53656 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53657 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53658 * posix/spawni.c: Likewise.
53659 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53660 * posix/spawnp.c: Likewise. Change normal version to use
53661 SPAWN_XFLAGS_USE_PATH.
53662 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53663 SPAWN_XFLAGS_TRY_SHELL.
53664
d48e5868
UD
53665 [BZ #13150]
53666 * posix/glob.h: Remove gcc 1.x support.
53667
554881ef
UD
53668 [BZ #13068]
53669 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53670
693fb948
LD
536712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53672
53673 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53674 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53675 strrchr-sse2-bsf
53676 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53677 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53678 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53679 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53680 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53681 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53682
1b48c537
UD
536832011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53684
49d42c37
UD
53685 * sysdeps/x86_64/wcscmp.S: New file.
53686
1b48c537
UD
53687 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53688 wcscmp-c wcscmp-sse2
53689 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53690 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53691 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53692 * wcsmbs/wcscmp.c: Allow renaming.
53693
15c95c5d
DM
536942011-09-05 David S. Miller <davem@davemloft.net>
53695
53696 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53697 stack slot, rather than the struct return pointer slot.
53698 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53699 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53701 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53702
2f0ad8f3
UD
537032011-09-05 Ulrich Drepper <drepper@gmail.com>
53704
d88ae418
UD
53705 * po/ja.po: Update from translation team.
53706
2f0ad8f3
UD
53707 [BZ #13144]
53708 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53709 kernel in 64-bit binaries.
53710
5f4318d1
DM
537112011-09-01 David S. Miller <davem@davemloft.net>
53712
53713 * elf/elf.h (HWCAP_SPARC_*): Move to..
53714 * sysdeps/sparc/sysdep.h: this new file and add new values.
53715 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53716 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53717 _DL_HWCAP_COUNT to 24.
53718 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53719 entries.
53720 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53721 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53722 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53723 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53724 instead of magic constants.
53725 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53726
3ba57516
DM
537272011-08-31 David S. Miller <davem@davemloft.net>
53728
53729 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53730 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53731 Reimplement to do errno handling inline.
53732 (SYSCALL_ERROR_HANDLER): New macro.
53733 (__SYSCALL_STRING): Do not do errno handling in asm.
53734 (__CLONE_SYSCALL_STRING): Delete.
53735 (__INTERNAL_SYSCALL_STRING): Delete.
53736 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53737 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53738 (PSEUDO): Reimplement to do errno handling inline.
53739 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53740 (SYSCALL_ERROR_HANDLER): New macro.
53741 (__SYSCALL_STRING): Do not do errno handling in asm.
53742 (__CLONE_SYSCALL_STRING): Delete.
53743 (__INTERNAL_SYSCALL_STRING): Delete.
53744 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53745 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53746 i386.
53747 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53748 (inline_syscall*): Add 'err' argument.
53749 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53750 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53751 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53752 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53753
53754 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53755 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53756
2bc17433
AS
537572011-08-30 Andreas Schwab <schwab@redhat.com>
53758
53759 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53760
fbeb5f4d
JO
537612011-08-29 Jiri Olsa <jolsa@redhat.com>
53762
53763 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53764 directive.
53765
ad69cc26
DM
537662011-08-24 David S. Miller <davem@davemloft.net>
53767
53768 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53769
39dd69df
AS
537702011-08-24 Andreas Schwab <schwab@redhat.com>
53771
53772 * elf/Makefile: Add rules to build and run unload8 test.
53773 * elf/unload8.c: New file.
53774 * elf/unload8mod1.c: New file.
53775 * elf/unload8mod1x.c: New file.
53776 * elf/unload8mod2.c: New file.
53777 * elf/unload8mod3.c: New file.
53778
53779 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53780 it wasn't used.
53781
2c0b250a
DM
537822011-08-23 David S. Miller <davem@davemloft.net>
53783
53784 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53785 subtract stack bias.
53786 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53787 %sp not %fp in calculations.
53788 (_JMPBUF_UNWINDS_ADJ): Likewise.
53789
22044b48
DM
53790 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53791 (aio_suspend): Call it to force an exception region around the
53792 AIO_MISC_WAIT() invocation.
53793
2cae4995
AS
537942011-08-23 Andreas Schwab <schwab@redhat.com>
53795
53796 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53797 backslash.
53798
873a772e
AJ
537992011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53800
53801 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53802 protection macro.
53803 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53804 and <dl-machine.h>.
53805 (Elf64_FuncDesc): Remove.
53806
25ad0df1
DM
538072011-08-22 David S. Miller <davem@davemloft.net>
53808
53809 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53810 sigaltstack check, add missing cfi directives.
53811 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53812 missing cfi directives, and sigaltstack handling.
53813
e888bcbe
AS
538142011-08-16 Andreas Schwab <schwab@redhat.com>
53815
53816 [BZ #11724]
53817 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53818 object is seen twice.
53819 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53820
53821 * elf/Makefile (distribute): Add tst-initorder2.c.
53822 (tests): Add tst-initorder2.
53823 (modules-names): Add tst-initorder2a tst-initorder2b
53824 tst-initorder2c tst-initorder2d. Add rules to build them.
53825 ($(objpfx)tst-initorder2.out): New rule.
53826 * elf/tst-initorder2.c: New file.
53827 * elf/tst-initorder2.exp: New file.
53828
87162f46
AS
538292011-08-22 Andreas Schwab <schwab@redhat.com>
53830
70538b7f
AS
53831 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53832
f55ffe58
AS
53833 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53834 dependencies back to end of function.
53835
87162f46
AS
53836 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53837 $(elfobjdir)/ld.so.
53838
91b392a4
UD
538392011-08-21 Ulrich Drepper <drepper@gmail.com>
53840
53841 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53842 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53843 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53844 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53845 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53846 of __vdso_gettimeofday.
53847 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53848 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53849 attribute_hidden.
53850 (_libc_vdso_platform_setup): Remove initialization of
53851 __vdso_gettimeofday and __vdso_time.
53852
5c43483f
UD
538532011-08-20 Ulrich Drepper <drepper@gmail.com>
53854
775a77e7
UD
53855 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53856 and fgetc_unlocked.
53857 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53858 getc_unlocked.
89f447ed 53859
49c74ba9
UD
53860 * elf/dl-open.c (add_to_global): Report additions to the global scope
53861 for LD_DEBUG=scopes.
53862 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 53863 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 53864
5c43483f
UD
53865 [BZ #13114]
53866 * stdio-common/Makefile (tests): Add bug24.
53867 * stdio-common/bug24.c: New file.
53868
a101b025
AJ
538692011-08-19 Andreas Jaeger <aj@suse.de>
53870
53871 [BZ #13114]
53872 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53873 non-existant file when using close-on-exec mode.
53874
c88f1766
UD
538752011-08-20 Ulrich Drepper <drepper@gmail.com>
53876
0276a718
UD
53877 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53878 the very first instruction.
53879
c88f1766
UD
53880 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53881 the CFI state in the end.
53882 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53883 inclusion of dl-trampoline.h.
53884 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53885
51ccffa0
AS
538862011-08-19 Andreas Schwab <schwab@redhat.com>
53887
94d7165f
AS
53888 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53889 expectations for long double.
53890
51ccffa0
AS
53891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53892 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53893
fd708658 538942011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
53895
53896 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53897 artificual limit depends upon the system page size.
53898
44f0a71e
UD
538992011-08-17 Ulrich Drepper <drepper@gmail.com>
53900
53901 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53902 * resolv/Makefile: Define CFLAGS-libresolv.
53903
8de79a24
AS
539042011-08-17 Andreas Schwab <schwab@redhat.com>
53905
53906 * nss/makedb.c (compute_tables): Make variables used in nested
53907 function static.
53908
27724598
UD
539092011-08-17 Ulrich Drepper <drepper@gmail.com>
53910
c5305d88
UD
53911 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53912 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53913 if buffer was too small.
53914
27724598
UD
53915 * elf/pldd.c (main): Attach to all threads in the process.
53916 Rewrite /proc handling to use *at functions.
53917
076fe015
UD
539182011-08-16 Ulrich Drepper <drepper@gmail.com>
53919
174baab3
UD
53920 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53921 specifies first scope to show.
53922 (dl_open_worker): Update callers. Move printing scope of new
53923 object to before the relocation.
44f0a71e 53924 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
53925 * sysdeps/generic/ldsodefs.h: Update declaration.
53926
076fe015
UD
53927 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53928 string for the scope number.
53929
a60df2c3
UD
539302011-08-14 Ulrich Drepper <drepper@gmail.com>
53931
53932 * nscd/servicescache.c (cache_addserv): Make sure written is always
53933 initialized.
53934
5e4287d1
RM
539352011-08-14 Roland McGrath <roland@hack.frob.com>
53936
85ae0589
RM
53937 * sysdeps/i386/i486/bits/atomic.h
53938 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53939 statement expression, so as to suppress "set but not used" warning.
53940 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53941
69f63097
RM
53942 * string/strncat.c (STRNCAT): Use prototype definition.
53943
675456ef
RM
53944 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53945 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53946 -Iprograms here.
53947 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53948 (localedef-modules): Add localedef.
53949 (locale-modules): Add locale.
53950
5e4287d1
RM
53951 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53952 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53953 to avoid a warning.
53954
9c96ff23
DM
539552011-08-14 David S. Miller <davem@davemloft.net>
53956
53957 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53958 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53959
f9ddf089
UD
539602011-08-13 Ulrich Drepper <drepper@gmail.com>
53961
44f0a71e 53962 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
53963 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53964 * elf/rtld.c (dl_main): Set l_name of vDSO.
53965 Call _dl_show_scope when DL_DEBUG_SCOPES.
53966 (process_dl_debug): Recognize scopes flag and also set it for all.
53967 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53968 Declare _dl_show_scope.
53969
1dc27704
UD
53970 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53971 (do_dlopen): Pass caller_dlopen to dl_open.
53972 (__libc_dlopen_mode): Initialize caller_dlopen.
53973
f9ddf089
UD
53974 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53975 of libc. Make tolower call locale-independent. Optimize a bit by
53976 using isdigit instead of isalnum.
53977 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53978
9ac533d3
UD
539792011-08-12 Ulrich Drepper <drepper@gmail.com>
53980
53981 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53982 was a dependency or dynamically loaded.
53983
89edf2e9
UD
539842011-08-11 Ulrich Drepper <drepper@gmail.com>
53985
8e999d29
UD
53986 * intl/l10nflist.c: Allow architecture-specific pop function.
53987 * sysdeps/x86_64/l10nflist.c: New file.
53988
89edf2e9
UD
53989 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53990 classification.
53991
14d96785
AS
539922011-08-10 Andreas Schwab <schwab@redhat.com>
53993
53994 * include/dirent.h: Add libc_hidden_proto for scandirat and
53995 scandirat64. Don't declare __scandirat64.
53996 * dirent/scandirat.c: Add libc_hidden_def.
53997 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53998 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53999
6761ac04
DM
540002011-08-10 David S. Miller <davem@davemloft.net>
54001
54002 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54003 enum.
54004 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54005 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54006 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54007
c55fbd1e
UD
540082011-08-09 Ulrich Drepper <drepper@gmail.com>
54009
54010 * Versions.def [libc]: Add GLIBC_2.15.
54011 * dirent/Makefile (routines): Add scandirat and scandirat64.
54012 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54013 GLIBC_2.15.
54014 * dirent/dirent.h: Declare scandirat and scandirat64.
54015 * dirent/scandirat.c: New file.
54016 * dirent/scandirat64.c: New file.
54017 * sysdeps/wordsize-64/scandirat.c: New file.
54018 * sysdeps/wordsize-64/scandirat64.c: New file.
54019 * dirent/opendir.c: Define opendirat.
54020 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54021 using scandirat.
54022 * dirent/scandir64.c: Adjust for scandir.c change.
54023 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54024 __scandirat64, and __scandir_cancel_handler.
54025 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54026 additional parameter and use openat instead of open (outside of ld.so).
54027 Add new __opendir as wrapper around __opendirat.
54028 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54029 here without requiring old scandirat implementation.
54030
879165f2
UD
540312011-08-08 Ulrich Drepper <drepper@gmail.com>
54032
54033 * dirent/scandir.c (cancel_handler): Renamed to
54034 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54035 defined. Adjust users.
54036 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54037 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54038
cb7e923b
UD
540392011-08-04 Ulrich Drepper <drepper@gmail.com>
54040
16292edd
UD
54041 * string/test-string.h (IMPL): Use __STRING to expand name and then
54042 stringify it.
54043
cb7e923b
UD
54044 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54045 of cleanups.
54046
cff82933
LD
540472011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54048
54049 * string/Makefile: Update.
54050 (strop-tests): Append strncat.
54051 * string/test-wcscmp.c: New file.
54052 New comprehensive test for wcscmp.
54053 * string/test-strcmp.c: Update.
54054 (WIDE): New define.
54055
9be9bfcc
AS
540562011-07-22 Andreas Schwab <schwab@redhat.com>
54057
54058 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54059 line.
54060
2e96f1c7
AS
540612011-07-26 Andreas Schwab <schwab@redhat.com>
54062
54063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54064 encoding to ACE if AI_IDN.
54065
85188888
JJ
540662011-08-01 Jakub Jelinek <jakub@redhat.com>
54067
54068 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54069 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54070
5fa16e9b
LD
540712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54072
54073 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54074 Fix overflow bug in strncat.
54075 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54076
54077 * string/test-strncat.c: Update.
54078 Add new tests for checking overflow bugs.
54079
540802011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54081
54082 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54083 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54084 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54085 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54086 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54087 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54088 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54089 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54090 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54091
54092 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54093 (USE_AS_STRCAT): Define.
54094 Add strcat and strncat support.
54095 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54096
8c1a459f
AS
540972011-07-25 Andreas Schwab <schwab@redhat.com>
54098
54099 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54100 __n bigger than INT_MAX+1.
54101 (__strncmp_g): Likewise.
54102
bba33c28
UD
541032011-07-23 Ulrich Drepper <drepper@gmail.com>
54104
798be72d
UD
54105 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54106 * libio/stido.h: Likewise.
54107
8accd4dc
UD
54108 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54109 (AF_NFC): Define.
54110 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54111 (AF_NFC): Define.
54112
cbff0d96
UD
54113 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54114 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54115 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54116 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54117 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54118
9191c04a
UD
54119 [BZ #13021]
54120 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54121 installed.
54122
bba33c28
UD
54123 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54124 typo.
54125 (_dl_x86_64_save_sse): Likewise.
54126
90f139dd
UD
541272011-07-22 Ulrich Drepper <drepper@gmail.com>
54128
1aae088a
UD
54129 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54130 OSXSAVE.
54131 (_dl_x86_64_save_sse): Likewise.
54132
8e2045f5
UD
54133 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54134
90f139dd
UD
54135 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54136
1d002f25
AS
541372011-07-21 Andreas Schwab <schwab@redhat.com>
54138
54139 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54140 change.
54141 (_dl_x86_64_save_sse): Use correct AVX check.
54142
21137f89
UD
541432011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54144
54145 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54146 bug in strncpy/strncat.
54147 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54148
a65c0b7a
UD
541492011-07-21 Ulrich Drepper <drepper@gmail.com>
54150
54151 * string/tester.c (test_strcat): Add tests for different alignments
54152 of source and destination.
54153 (test_strncat): Likewise.
54154
6986b98a
UD
541552011-07-20 Ulrich Drepper <drepper@gmail.com>
54156
90bb2039
UD
54157 [BZ #12852]
54158 * posix/glob.c (glob): Check passed in values before using them in
54159 expressions to avoid some overflows.
54160 (glob_in_dir): Likewise.
54161
5644ef54
UD
54162 [BZ #13007]
54163 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54164 check for AVX enablement so that we don't crash with old kernels and
54165 new hardware.
54166 * elf/tst-audit4.c: Add same checks here.
54167 * elf/tst-audit6.c: Likewise.
54168
54169 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 54170
bfc9dc9b
AS
541712011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54172
54173 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54174
702e64bb
UD
541752011-07-20 Ulrich Drepper <drepper@gmail.com>
54176
54177 * po/cs.po: Update from translation team.
54178 * po/bg.po: Likewise.
54179
295e904f
MP
541802011-07-12 Marek Polacek <mpolacek@redhat.com>
54181
54182 * misc/sys/cdefs.h: Add support for const attribute.
54183 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54184 to gnu_dev_{major,minor,makedev} functions.
54185
3ff94596
MP
541862011-07-20 Marek Polacek <mpolacek@redhat.com>
54187
54188 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54189
28b59fca
AS
541902011-07-20 Andreas Schwab <schwab@redhat.com>
54191
54192 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54193 strlen results.
54194
19df733e
AK
541952011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54196
54197 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54198 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54199 register in order to avoid conflicts with the soft frame pointer
54200 being held in r11 when necessary.
54201 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54202 (INTERNAL_VSYSCALL_NCS): Likewise.
54203
c8835729
MP
542042011-07-14 Marek Polacek <mpolacek@redhat.com>
54205
54206 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54207 * elf/dl-fini.c (_dl_fini): Adjust caller.
54208 * elf/dl-close.c (_dl_close_worker): Likewise.
54209 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54210
b902330c
MP
542112011-07-15 Marek Polacek <mpolacek@redhat.com>
54212
8991e135
MP
54213 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54214 "aux_cache->nlibs < 0".
54215
b902330c
MP
54216 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54217 in the reload-count case.
54218
99710781
LD
542192011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54220
54221 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54222 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54223 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54224 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54225 * sysdeps/x86_64/multiarch/strcat.S: New file.
54226 * sysdeps/x86_64/multiarch/strncat.S: New file.
54227 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54228 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54229 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54230 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54231 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54232 (USE_AS_STRCAT): Define.
54233 Add strcat and strncat support.
54234 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54235 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54236 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54237 * string/strncat.c: Update.
54238 (USE_AS_STRNCAT): Define.
54239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54240 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54241 and i7.
54242 * sysdeps/x86_64/multiarch/init-arch.h
54243 (bit_Prefer_PMINUB_for_stringop): New.
54244 (index_Prefer_PMINUB_for_stringop): Likewise.
54245 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54246 bit_Prefer_PMINUB_for_stringop.
54247
7dc6bd90
UD
542482011-07-19 Ulrich Drepper <drepper@gmail.com>
54249
54250 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54251 buffer64.
54252 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54253 of casting of buffer.
54254 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54255 buffer32 and buffer64.
54256 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54257 writes instead of casting of buffer.
54258 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54259 buffer32.
54260 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54261 casting of buffer.
54262
e0e72284
AS
542632011-07-19 Andreas Schwab <schwab@redhat.com>
54264
54265 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54266
feb1eb0b
UD
542672011-07-19 Ulrich Drepper <drepper@gmail.com>
54268
54269 * nscd/nscd.c (termination_handler): Don't do anything for a database
54270 if it has not yet been initialized.
54271
298711ff
UD
542722011-07-18 Ulrich Drepper <drepper@gmail.com>
54273
54274 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54275
542762011-07-15 Marek Polacek <mpolacek@redhat.com>
54277
54278 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54279
f9d68389
UD
542802011-07-18 Ulrich Drepper <drepper@gmail.com>
54281
54282 * po/nl.po: Update from translation team.
54283 * po/sv.po: Likewise.
54284
db290cf5
RM
542852011-07-16 Roland McGrath <roland@hack.frob.com>
54286
54287 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54288 now disallowed by GCC.
5c550700 54289
fd5e21c7
RM
54290 * configure.in (use-default-link): Default to yes if a test -shared
54291 link meets our qualifications.
54292 * configure: Regenerated.
54293
5c550700
RM
54294 * config.make.in (output-format): New variable.
54295 * configure.in: Check for ld --print-output-format support.
54296 * configure: Regenerated.
54297 * Makerules ($(common-objpfx)format.lds)
54298 [$(output-format) != unknown]: Just use $(output-format),
54299 instead of the linker-script munging.
54300
9fa2c032
RM
543012011-07-14 Roland McGrath <roland@hack.frob.com>
54302
a6928d51
RM
54303 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54304 of $(common-objpfx)shlib.lds.
54305 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54306
661607b3
RM
54307 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54308 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54309
9fa2c032
RM
54310 * configure.in (-z relro check): Adjust test code to add a large
54311 writable data section after it.
54312 * configure: Regenerated.
54313
defe9061
RM
543142011-07-11 Roland McGrath <roland@hack.frob.com>
54315
54316 * configure.in (-z relro check): Fix test code to make the variable
54317 truly const.
54318 * configure: Regenerated.
54319
319b9ad4
UD
543202011-07-11 Ulrich Drepper <drepper@gmail.com>
54321
54322 * nscd/nscd.h (struct traced_file): Define.
54323 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54324 elements. Add traced_files.
54325 (inotify_fd): Declare.
54326 (register_traced_file): Declare.
54327 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54328 (inotify_fd): Export.
54329 (resolv_conf_descr): Remove.
54330 (nscd_init): Move inotify descriptor creation to main.
54331 Don't register files for notification here.
54332 (register_traced_file): New function.
54333 (invalidate_cache): Don't use reset_res to determine whether to call
54334 res_init, go through the list of registered files.
54335 (main_loop_poll): The inotify descriptors are now stored in the
54336 structures for the traced files.
54337 (main_loop_epoll): Likewise
54338 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54339 to __nss_disable_nscd.
54340 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54341 for a database anymore. Check the records for all the registered
54342 files instead.
54343 * nss/Makefile (libnss_files-routines): Add files-init.
54344 (libnss_db-routines): Add db-init.
54345 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54346 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54347 * nss/nss_db/db-init.c: New file.
54348 * nss/nss_files/files-init.c: New file.
54349 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54350 __nss_lookup_function.
54351 (__nss_lookup_function): Call nss_load_library.
54352 (nss_load_all_libraries): New function.
54353 (__nss_disable_nscd): Take parameter with callback function for files
54354 to register. Set is_nscd. Load all the DSOs for the NSS modules
54355 used for the cached services.
54356 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54357 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54358 options for features to all the files in nscd.
54359
54360 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54361
23bee3e8
RM
543622011-07-10 Roland McGrath <roland@hack.frob.com>
54363
54364 * csu/elf-init.c (__libc_csu_init): Comment typo.
54365
46a5b7f0
UD
543662011-07-09 Ulrich Drepper <drepper@gmail.com>
54367
54368 * po/pl.po: Update from translation team.
54369 * po/ja.po: Likewise.
54370 * po/ru.po: Likewise.
54371 * po/ko.po: Likewise.
54372 * po/fr.po: Likewise.
54373
d30cf5bb
RM
543742011-07-09 Roland McGrath <roland@hack.frob.com>
54375
113ddea4
RM
54376 * configure.in (.ctors/.dtors header and trailer check):
54377 Use an empirical test on a built program.
54378 * configure: Regenerated.
54379
574920b4
RM
54380 * configure.in (-z relro check): Use an empirical test on a built DSO.
54381 Detect, but do not require, on ia64.
54382 * configure: Regenerated.
54383
d30cf5bb
RM
54384 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54385 Update tests that use readelf to use $READELF instead.
54386 * configure: Regenerated.
54387
8538fdb3
UD
543882011-07-08 Ulrich Drepper <drepper@gmail.com>
54389
54390 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54391 if the result is not used.
54392
04d08991
AJ
543932011-07-05 Andreas Jaeger <aj@suse.de>
54394
54395 [BZ#9696]
54396 * stdlib/tst-strtod.c: Add testcase.
54397
de283087
AD
543982011-07-07 Ulrich Drepper <drepper@gmail.com>
54399
4e5f31c8 54400 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 54401 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
54402 The latter has a higher limit. Take additional parameter to pass to
54403 the new function.
54404 (__pathconf): Pass file to __statfs_link_max.
54405 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54406 __statfs_link_max.
54407 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54408 __statfs_link_max.
54409
de283087
AD
54410 [BZ #12868]
54411 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54412 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54413 Handle Lustre.
54414 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54415 (__statfs_filesize_max): Likewise.
54416 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54417
c75fa153
AJ
544182011-07-05 Andreas Jaeger <aj@suse.de>
54419
54420 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54421
1a544854
UD
544222011-07-06 Marek Polacek <mpolacek@redhat.com>
54423
54424 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54425 `status' variable.
54426 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54427 Likewise.
54428
6f0eec67
UD
544292011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54430
54431 * Makefile (strop-tests): Add strncat.
54432 * string/test-strncat.c: New file.
54433
aae30307
UD
544342011-06-30 Marek Polacek <mpolacek@redhat.com>
54435
54436 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54437
c0cfb5eb
UD
544382011-06-21 Andreas Jaeger <aj@suse.de>
54439
54440 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54441 Copy rule from iconvdata/Makefile.
54442
01636b21
UD
544432011-07-06 Ulrich Drepper <drepper@gmail.com>
54444
54445 [BZ #12922]
54446 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54447 but no long options are defined, just return 'W'.
54448
9895c8bc
UD
544492011-06-22 Marek Polacek <mpolacek@redhat.com>
54450
54451 [BZ #9696]
54452 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54453
5d4cf042
UD
544542011-07-06 Ulrich Drepper <drepper@gmail.com>
54455
54456 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54457 netgroups to read.
960e5535 54458 (innetgr): Likewise.
5d4cf042 54459
751eb97e
RM
544602011-07-05 Roland McGrath <roland@hack.frob.com>
54461
54462 * config.make.in (install_root): Default to $(DESTDIR).
54463
f15f1e45
UD
544642011-07-05 Ulrich Drepper <drepper@gmail.com>
54465
54466 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54467
4e34ac6a
RM
544682011-07-02 Roland McGrath <roland@hack.frob.com>
54469
5e9b6af4
RM
54470 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54471
84f9ea0f
RM
54472 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54473 containing directory rather than embedding absolute directory names.
54474
ea5ee9f7
RM
54475 * scripts/check-local-headers.sh: Rewritten using awk.
54476 Match by word, not by line. Print error messages for matches.
54477 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54478
1b74661a
RM
54479 * Makerules [shlib-lds-flags empty]:
54480 ($(common-objpfx)libc_pic.opts): New target.
54481 ($(common-objpfx)libc_pic.os.clean): New target.
54482 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54483
54484 * config.make.in (OBJCOPY): New variable.
54485 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54486 * configure: Regenerated.
54487
f781ef40
RM
54488 * config.make.in (use-default-link): New variable.
54489 * configure.in (use_default_link): Grok --with-default-link to set it.
54490 * configure: Regenerated.
54491 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54492 (shlib-lds, shlib-lds-flags): Define to empty.
54493
2d4fa81e
RM
54494 * Makerules (shlib-lds): New variable.
54495 (shlib-lds-flags): New variable.
54496 (build-shlib, build-moduile, build-module-asneeded): Use it.
54497 ($(common-objpfx)libc.so): Use $(shlib-lds).
54498 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54499 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54500
31fffa6b
RM
54501 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54502 DT_FLAGS/DT_FLAGS_1 with zero flags.
54503
4e34ac6a
RM
54504 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54505 linker script munging.
54506
fcfc776b
UD
545072011-07-02 Ulrich Drepper <drepper@gmail.com>
54508
54509 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54510 as 128-bit value.
54511 * crypt/sha512.c (sha512_process_block): Perform total addition using
54512 128-bit if possible.
54513 (__sha512_finish_ctx): Likewise.
54514 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54515 as 64-bit value.
54516 * crypt/sha256.c (SWAP64): Define.
54517 (sha256_process_block): Perform total addition using 64-bit if
54518 possible.
54519 (__sha256_finish_ctx): Likewise.
54520
99231d9a
UD
545212011-07-01 Ulrich Drepper <drepper@gmail.com>
54522
54523 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54524 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54525 * nscd/hstcache.c (cache_addhst): Likewise.
54526 * nscd/grpcache.c (cache_addgr): Likewise.
54527 * nscd/aicache.c (addhstaiX): Likewise
54528 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54529
445b4a53
TK
545302011-07-01 Thorsten Kukuk <kukuk@suse.de>
54531
54532 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54533 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54534 * nscd/hstcache.c (cache_addhst): Likewise.
54535 * nscd/grpcache.c (cache_addgr): Likewise.
54536 * nscd/aicache.c (addhstaiX): Likewise
54537
6d4d8e8e
AS
545382011-07-01 Andreas Schwab <schwab@redhat.com>
54539
54540 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54541 domain only when needed.
54542
89f654c5
AS
545432011-06-30 Andreas Schwab <schwab@redhat.com>
54544
54545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54546 is always restored.
54547
cf3b23ff
UD
545482011-06-29 Ulrich Drepper <drepper@gmail.com>
54549
54550 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54551 are re-adding the entry.
54552 * nscd/servicescache.c (cache_addserv): Likewise.
54553
751626f9
AJ
545542011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54555
54556 * sysdeps/generic/dl-irel.h: fix protection against multiple
54557 inclusions.
54558 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54559
9113ea1f
UD
545602011-06-28 Ulrich Drepper <drepper@gmail.com>
54561
5c0b8d90
UD
54562 [BZ #12935]
54563 * malloc/memusage.sh: Fix quoting in message.
54564 * debug/xtrace.sh: Likewise.
54565
9113ea1f
UD
54566 * configure.in: Remove support for --experimental-malloc option, make
54567 it the default.
54568 * config.make.in: Likewise.
54569 * malloc/Makefile: Likewise.
54570
a4172181
AS
545712011-06-27 Andreas Schwab <schwab@redhat.com>
54572
54573 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54574 two-byte characters.
54575
78a7eee7
RM
545762011-06-27 Roland McGrath <roland@hack.frob.com>
54577
62bede13
RM
54578 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54579 AC_CACHE_CHECK invocation.
54580 * configure: Regenerated.
54581
78a7eee7
RM
54582 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54583
5ce33a62
UD
545842011-06-27 Ulrich Drepper <drepper@gmail.com>
54585
034807a9
UD
54586 [BZ #12350]
54587 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54588 bit from old_res_options.
54589
4902da17
UD
54590 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54591
5ce33a62
UD
54592 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54593 value type for setfct.
54594
c2344f56
L
545952011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54596
54597 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54598 __gettimeofday instead of gettimeofday.
54599
68468076
UD
546002011-06-26 Ulrich Drepper <drepper@gmail.com>
54601
54602 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54603
acb0d739
L
546042011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54605
54606 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54607
54608 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54609 info.
54610
8912479f
L
546112011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54612
54613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54614 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54615 strcpy-sse2-unaligned strncpy-sse2-unaligned
54616 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54617 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54618 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54619 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54620 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54621 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54622 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54623 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54624 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54625 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54626 (STRCPY): Support SSE2 and SSSE3 versions.
54627
d5495a11
UD
546282011-06-24 Ulrich Drepper <drepper@gmail.com>
54629
54630 [BZ #12874]
54631 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54632 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54633 kernels which artificially limit size of requests.
54634
0b1cbaae
L
546352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54636
54637 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54638 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54639 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54640 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54641 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54642 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54643 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54644 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54645 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54646 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54647 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54648 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54649 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54650 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54651 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54653 Enable unaligned load optimization for Intel Core i3, i5 and i7
54654 processors.
54655 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54656 Define.
54657 (index_Fast_Unaligned_Load): Define.
54658 (HAS_FAST_UNALIGNED_LOAD): Define.
54659
07f494a0
MP
546602011-06-23 Marek Polacek <mpolacek@redhat.com>
54661
54662 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54663
fa3fc0fe
UD
546642011-06-22 Ulrich Drepper <drepper@gmail.com>
54665
54666 [BZ #12907]
54667 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54668 until it is clear that the information is realy needed.
54669 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54670
e12df166
AS
546712011-06-22 Andreas Schwab <schwab@redhat.com>
54672
54673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54674
852eb34d
UD
546752011-06-22 Ulrich Drepper <drepper@gmail.com>
54676
84e2a551
UD
54677 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54678 /sys/devices/system/cpu/online if it is usable.
54679
852eb34d
UD
54680 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54681 reading the information from the /proc filesystem to once a second.
54682
6e502e19
UD
546832011-06-21 Andreas Jaeger <aj@suse.de>
54684
54685 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54686 NULL after inclusion of kernel headers.
54687
75d39ff2
UD
546882011-06-21 Ulrich Drepper <drepper@gmail.com>
54689
51f9aa6a
UD
54690 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54691 calls to internal_setent.
54692
c0244a9d
UD
54693 [BZ #12885]
54694 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54695 addresses using gethostbyname4_r ignore IPv4 addresses.
54696
c5e3c2ae
UD
54697 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54698 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54699
75d39ff2
UD
54700 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54701
42675c6f
DM
547022011-06-20 David S. Miller <davem@davemloft.net>
54703
54704 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54705 inclusions.
54706 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54707
54708 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54709 (elf_irel): Use it.
54710 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54711 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54712 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54713 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54714 * sysdeps/x86_64/dl-irel.h: Likewise.
54715
54716 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54717 * elf/dl-sym.c: Likewise.
54718
57912a71
UD
547192011-06-15 Ulrich Drepper <drepper@gmail.com>
54720
54721 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54722 need to dereference resplen2.
54723
ee22793d
AS
547242011-06-14 Andreas Schwab <schwab@redhat.com>
54725
54726 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54727
a9e836b0
UD
547282011-06-15 Ulrich Drepper <drepper@gmail.com>
54729
77fb9117
UD
54730 * Makeconfig: Define vardbdir and inst_vardbdir.
54731 * nss/Makefile: Add rules to install db-Makefile.
54732
40c1b22c
UD
54733 * nss/nss_db/db-XXX.c: Cleanup.
54734
9f2da732
UD
54735 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54736 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54737 GLIBC_PRIVATE.
54738 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54739 * nss/makedb.c: Implement -g option to specify that value strings
54740 are generated and should not be added to table iterated over for
54741 get*ent calls.
54742 * nss/nss_db/db-initgroups.c: New file.
54743
82e9a1f7
UD
54744 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54745 interface.
54746
c41af17e
UD
54747 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54748 (internal_getgrouplist): Adjust to name change.
54749 Update use_initgroups_entry if this is not the first call.
54750 * nss/databases.def: Add initgroups entry.
54751
a9e836b0
UD
54752 * nss/makedb.c (compute_tables): Check result of multiple hash table
54753 sizes to minimize maximum chain length.
54754
2666d441
UD
547552011-06-14 Ulrich Drepper <drepper@gmail.com>
54756
54757 * Versions.def: Add entry for libnss_db.
54758 * shlib-versions: Likewise.
54759 * nss/Makefile: Add rules to build libnss_db.
54760 * nss/Versions: Add libnss_db information. Organize libnss_files
54761 entries better.
54762 * nss/db-Makefile: Add gshadow support. Change rules for the new
54763 makedb progra. Some minor improvements to generate smaller files.
54764 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54765 here from...
54766 * nss/makedb.c: ...here.
54767 Improve database format to be smaller and require less memory at
54768 runtime.
54769 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54770 db anymore.
54771 * nss/nss_db/db-netgrp.c: Likewise.
54772 * nss/nss_db/db-open.c: Likewise.
54773 * nss/nss_files/flies-XXX.x: Adjust comments.
54774 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54775 * nss/nss_files/files-grp.c: Likewise.
54776 * nss/nss_files/files-hosts.c: Likewise.
54777 * nss/nss_files/files-network.c: Likewise.
54778 * nss/nss_files/files-proto.c: Likewise.
54779 * nss/nss_files/files-pwd.c: Likewise.
54780 * nss/nss_files/files-rpc.c: Likewise.
54781 * nss/nss_files/files-service.c: Likewise.
54782 * nss/nss_files/files-sgrp.c: Likewise.
54783 * nss/nss_files/files-spwd.c: Likewise.
54784 * nss/nss_db/db-alias.c: Removed.
54785 * nss/nss_db/dummy-db.h: Removed.
54786
9ee76b5a
UD
547872011-06-02 Ulrich Drepper <drepper@gmail.com>
54788
54789 * nss/makedb.c: Rewritten to not use database library.
54790 * nss/Makefile: Update to build new makedb program.
54791
c71ca1f8
AJ
547922011-06-14 Andreas Jaeger <aj@suse.de>
54793
54794 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54795 memset declaration.
54796
3154bfb8
UD
547972011-06-10 Andreas Schwab <schwab@redhat.com>
54798
54799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54800 tmpbuf.
54801
b350afab
RM
548022011-06-10 Roland McGrath <roland@hack.frob.com>
54803
decd4e50
RM
54804 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54805 * elf/Makefile ($(objpfx)ld.so): Likewise.
54806
5615eaf2
RM
54807 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54808 Don't list ld.so twice in dependencies.
54809
54810 * posix/bug-regex31.c: Include <stdlib.h>.
54811
54812 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54813
54814 * nis/nss_compat/compat-spwd.c
54815 (getspent_next_nss_netgr): Remove unused variable.
54816 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54817
54818 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54819 nonmembers" output to use the right array.
54820
54821 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54822
54823 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54824
54825 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54826 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54827 * catgets/gencat.c (read_input_file): Likewise.
54828 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54829
54830 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54831 variable definition inside #if's controlling its use.
54832
54833 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54834
54835 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54836
54837 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54838
54839 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54840 unreachable code.
54841
54842 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54843
b68e08db
RM
54844 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54845 * configure: Regenerated.
54846
b350afab
RM
54847 * Makerules: Revert last change.
54848 * elf/Makefile: Likewise.
54849
28368601
RM
548502011-06-09 Roland McGrath <roland@hack.frob.com>
54851
54852 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54853 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54854 (reloc-link): Likewise.
54855
11988f8f
UD
548562011-06-09 Ulrich Drepper <drepper@gmail.com>
54857
54858 * elf/Makefile: Add rules to build pldd.
54859 * elf/pldd.c: New file.
54860 * elf/pldd-xx.c: New file.
54861
e80fab37
UD
548622011-06-07 Ulrich Drepper <drepper@gmail.com>
54863
54864 * version.h: Update for 2.15 development version.
54865
9b849836
DM
548662011-06-07 David S. Miller <davem@davemloft.net>
54867
54868 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54869 ifuncs.
54870 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54871 elf_machine_lazy_rel): Likewise.
54872 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54873 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54874 elf_machine_lazy_rel): Likewise.
54875 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54876 dl_hwcap via passed in argument.
54877 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54878 Likewise.
54879
5a31b283
AK
548802011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54881
54882 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54883
069e52f8
RM
548842011-06-06 Roland McGrath <roland@hack.frob.com>
54885
54886 [BZ #12849]
54887 * manual/fdl-1.1.texi: New file, verbatim from:
54888 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54889 * manual/lgpl-2.1.texi: New file, verbatim from:
54890 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54891 * manual/Makefile (licenses): New variable, list those new file names.
54892 (texis): Use it.
54893 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54894
54895 * manual/fdl.texi: File removed.
54896 * manual/lesser.texi: File removed.
54897 * manual/libc.texinfo (Copying, Documentation License):
54898 Use new @include file names, put @appendix directive before @include.
54899
f16846a5
JJ
549002011-06-04 Jakub Jelinek <jakub@redhat.com>
54901
54902 [BZ #12841]
54903 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54904 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54905 (mq_open): Add __NTH.
54906
3d29045b
L
549072011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54908
54909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54910 Assume Intel Core i3/i5/i7 processor if AVX is available.
54911
8c297311
UD
549122011-05-31 Ulrich Drepper <drepper@gmail.com>
54913
54914 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54915 typo.
54916
c8fc0c91
UD
549172011-05-31 Andreas Schwab <schwab@redhat.com>
54918
54919 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54920 memory. Use alloca_account. Fix memory leak when retrying.
54921
5b27a807
UD
549222011-05-31 Ulrich Drepper <drepper@gmail.com>
54923
356f8bc6
UD
54924 * version.h (RELEASE): Bump for 2.14 release.
54925 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54926
5b27a807
UD
54927 * config.make.in (RANLIB): Remove entry.
54928
01f16ab0
UD
549292011-05-30 Ulrich Drepper <drepper@gmail.com>
54930
41fce8bd
UD
54931 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54932 (libc.pot): Work around missing support for .ksh extension in xgettext.
54933
4769ae77
UD
54934 [BZ #12684]
54935 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54936 if both request failed.
54937 (send_dg): In case of server errors clear resplen or *resplen2.
54938
6b1e7d19
UD
54939 [BZ #12454]
54940 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54941 when there are multiple maps.
54942 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54943 (_dl_fini): Remove test here.
54944
01f16ab0
UD
54945 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54946
b1ebd700
UD
549472011-05-29 Ulrich Drepper <drepper@gmail.com>
54948
7ae22829
UD
54949 [BZ #12350]
54950 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54951 bit from old_res_options.
54952 (gaih_inet): Likewise.
54953
553149f6 54954 [BZ #11099]
18a84741 54955 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
54956 as signed.
54957
652ffab1
UD
54958 * resolv/res_init.c (res_setoptions): Make the code more compact.
54959
16985fd0
UD
54960 [BZ #11558]
54961 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54962 set RES_USEVC.
54963
0464f746
UD
54964 [BZ #11634]
54965 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54966
7d17596c
UD
54967 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54968
cf6bbbd7
UD
54969 [BZ #11781]
54970 * malloc/malloc.h: Declare malloc hook variables as volatile.
54971
13f1ab36
UD
54972 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54973 in last patch.
54974
b1ebd700
UD
54975 [BZ #11799]
54976 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 54977 raise in the comment.
80e2212d
UD
54978 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54979 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54980 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 54981
ce67228d
UD
549822011-05-28 Ulrich Drepper <drepper@gmail.com>
54983
8887a920
UD
54984 [BZ #12811]
54985 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54986 grow the buffers more if it already has to be sufficient.
54987 (build_wcs_upper_buffer): Likewise.
54988 * posix/regexec.c (check_matching): Likewise.
54989 (clean_state_log_if_needed): Likewise.
54990 (extend_buffers): Don't enlarge buffers beyond size of the input
54991 buffer.
54992 Patches mostly by Emil Wojak <emil@wojak.eu>.
54993 * posix/bug-regex32.c: New file.
54994 * posix/Makefile (tests): Add bug-regex32.
54995
4f031072
UD
54996 * locale/findlocale.c (_nl_find_locale): Return right away if
54997 _nl_explode_name failed.
54998 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54999
d0478f0c
UD
55000 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55001
de81b246
UD
55002 * debug/xtrace.sh: Unify messages.
55003 * malloc/memusage.sh: Likewise.
55004
c738465a
UD
55005 [BZ #12813]
55006 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55007 time symbol from vDSO. Substitute with vsyscall if not available.
55008 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55009 __vdso_time.
55010
f1f929d7
UD
55011 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55012 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55013 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55014 Add sendmmsg and internal_sendmmsg.
55015 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55016 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55017 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55018
ce67228d
UD
55019 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55020 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55021 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55022
e57420c6
UD
550232011-05-27 Ulrich Drepper <drepper@gmail.com>
55024
a8509ca5
UD
55025 [BZ #12813]
55026 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55027 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55028 available.
55029 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55030 __vdso_getcpu.
55031
e57420c6
UD
55032 [BZ #12814]
55033 * iconvdata/Makefile (tests): Add bug-iconv9.
55034 * iconvdata/bug-iconv9.c: New file.
55035
4d07db15
AS
550362011-05-27 Andreas Schwab <schwab@redhat.com>
55037
55038 [BZ #12814]
55039 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55040
ea486f69
JJ
550412011-05-25 Jakub Jelinek <jakub@redhat.com>
55042
55043 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55044 (struct user_regs_struct): Change intcs field back to cs.
55045
6f038433
UD
550462011-05-25 Ulrich Drepper <drepper@gmail.com>
55047
55048 * po/ja.po: Update from translation team.
55049
67f86a25
UD
550502011-05-23 Ulrich Drepper <drepper@gmail.com>
55051
55052 [BZ #12795]
55053 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55054 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55055
def7fbd6
AS
550562011-05-20 Andreas Schwab <schwab@redhat.com>
55057
55058 * stdlib/longlong.h: Update from GCC.
55059
f50ef8f1
AS
550602011-05-23 Andreas Schwab <schwab@redhat.com>
55061
55062 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55063 parameter name.
55064 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55065 Add parameter name.
55066 (__sysconf): Pass it down.
55067
de7ce8f1
UD
550682011-05-22 Ulrich Drepper <drepper@gmail.com>
55069
f2962a71
UD
55070 [BZ #12671]
55071 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55072 some situations.
55073 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55074 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55075 add in in __libc_use_alloca calls. Adjust callers.
55076 (glob): Use malloc in some situations.
55077
de7ce8f1
UD
55078 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55079 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55080 pltexit.
55081
aec84f53
UD
550822011-05-21 Ulrich Drepper <drepper@gmail.com>
55083
05bb4a68
UD
55084 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55085 and CLOCK_BOOTTIME_ALARM.
55086
7ea72f99
UD
55087 [BZ #12782]
55088 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55089 is returned.
55090
7e4afad5
UD
55091 * string/_strerror.c (__strerror_r): Print negative errors as signed
55092 numbers.
55093
8e211fec
UD
55094 [BZ #12777]
55095 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55096 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55097 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55098
f7d82dc9
UD
55099 * configure.in: Fix typo in redirection and correct removal of test
55100 files in two cases.
55101
cc9e536d
UD
55102 [BZ #12788]
55103 * locale/setlocale.c (new_composite_name): Fix test to check for
55104 identical name of all categories.
55105
aec84f53
UD
55106 [BZ #12792]
55107 * libio/filedoalloc.c (local_isatty): New function.
55108 (_IO_file_doallocate): Use local_isatty.
55109 * stdio-common/perror.c (perror): In case a new stream is used
55110 forward the stream error.
55111 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55112 error flag.
55113
78e64fdc
RT
551142011-05-20 Ulrich Drepper <drepper@gmail.com>
55115
34a9094f
UD
55116 [BZ #11869]
55117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55118 alloca.
55119 * include/alloca.h (extend_alloca_account): Define.
55120
78e64fdc
RT
55121 [BZ #11857]
55122 * posix/regex.h: Fix comments with documentation of user-accessible
55123 fields after compilation and describe correct free'ing of pattern
55124 after re_compile_pattern.
55125 Patch by Reuben Thomas <rrt@sc3d.org>.
55126
457bddfc
RA
551272011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55128
55129 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55130 and -mno-altivec to prevent the compiler from using Altivec and/or
55131 VSX instructions when the corresponding registers are not available.
55132
a4527b51
AS
551332011-05-19 Andreas Schwab <schwab@redhat.com>
55134
55135 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55136
ed690b2f
UD
551372011-05-19 Ulrich Drepper <drepper@gmail.com>
55138
55139 * libio/freopen.c (freopen): Use __dup2, not dup2.
55140 * libio/freopen64.c (freopen64): Likewise.
55141
8db73634
L
551422011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55143
55144 [BZ #12775]
55145 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55146 * math/Makefile (tests): Add test-powl.
55147 (CFLAGS-test-powl.c): Define.
55148 * math/test-powl.c: New file.
55149
0a197a9d
L
551502011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55151
55152 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55153
ee30c380
UD
551542011-05-17 Ulrich Drepper <drepper@gmail.com>
55155
55156 [BZ #11837]
55157 * iconvdata/gb18030.c: Update to GB18020-2005.
55158
6ce75379
UD
551592011-05-16 Ulrich Drepper <drepper@gmail.com>
55160
a4b89fd8
AR
55161 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55162 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55163 Patch by Aharon Robbins <arnold@skeeve.com>.
55164
ea389b12
UD
55165 [BZ #11892]
55166 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55167 on the stack.
55168
68a3f91f
UD
55169 [BZ #11895]
55170 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55171 through underflows.
55172
15cc7dd1
UD
55173 [BZ #12766]
55174 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55175 point to strings before performing equality test for error_one_per_line
55176 mode.
55177
f3799213
UD
55178 [BZ #11697]
55179 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55180
d79a9c94
UD
55181 [BZ #11820]
55182 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55183 (struct user_fpregs_struct): Avoid __uint*_t types.
55184
56e5eb46
UD
55185 [BZ #6420]
55186 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55187 symbol info. Use it instead of calling _dl_addr locally.
55188 (lock_and_info): New function.
55189 (tr_freehook): Call lock_and_info and pass symbol info as additional
55190 parameter to tr_where.
55191 (tr_mallochook): Likewise.
55192 (tr_reallochook): Likewise.
55193 (tr_memalignhook): Likewise.
55194
6ce75379
UD
55195 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55196 used and couldn't be at all thread-safe.
55197
f8a3b5bf
UD
551982011-05-15 Ulrich Drepper <drepper@gmail.com>
55199
94b7cc37
UD
55200 * libio/freopen.c (freopen): Don't close old file descriptor
55201 before the new one is opened. Instead dup the new file descriptor
55202 to the old one after the new stream is created.
55203 * libio/freopen64.c (freopen64): Likewise.
55204 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55205 * libio/fileops.c (_IO_new_file_close_it): Handle new
55206 _IO_FLAGS2_NOCLOSE flag.
55207 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55208 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55209 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55210 _IO_FLAGS2_NOCLOSE flag.
55211 * include/unistd.h: Add hidden_proto for dup3.
55212 Define __have_dup3.
55213 * io/dup3.c: Define hidden symbol.
55214 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55215
bd25564e
UD
55216 [BZ #7101]
55217 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55218 when an incomplete long option is used.
55219 * posix/tst-getopt_long1.c: New file.
55220 * posix/Makefile (tests): Add tst-getopt_long1.
55221
c84cfef4
UD
55222 [BZ #10138]
55223 * scripts/config.guess: Update from autoconf-2.68.
55224 * scripts/config.sub: Likewise.
55225
3b85df27
UD
55226 [BZ #10157]
55227 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55228 tests into ...
55229 (has_cpuclock): ...this. New function.
55230 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55231 macro here based on has_cpuclock code.
55232
15a856b1
UD
55233 [BZ #10149]
55234 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55235 First byte (not low byte) is now always NUL.
55236 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55237
05f399e6
UD
55238 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55239 Use non-cancelable interfaces.
55240
10a52685 55241 [BZ #9809]
94ecc67d
UD
55242 * locale/iso-639.def: Add entry for Sorani.
55243
f8a3b5bf
UD
55244 [BZ #11901]
55245 * include/stdlib.h: Move include protection to the right place.
55246 Define abort_msg_s. Declare __abort_msg with it.
55247 * stdlib/abort.c (__abort_msg): Adjust type.
55248 * assert/assert.c (__assert_fail_base): New function. Majority
55249 of code from __assert_fail. Allocate memory for __abort_msg with
55250 mmap.
55251 (__assert_fail): Now call __assert_fail_base.
55252 * assert/assert-perr.c: Remove bulk of implementation. Use
55253 __assert_fail_base.
55254 * include/assert.hL Declare __assert_fail_base.
55255 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55256 mmap.
55257 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55258
1af4e298
UD
552592011-05-14 Ulrich Drepper <drepper@gmail.com>
55260
f8a3b5bf 55261 [BZ #11952]
d26dfc60
MG
55262 [BZ #12453]
55263 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55264 until all modules are registered in the DTV.
55265 * elf/Makefile: Add rules to build and run tst-tls19.
55266 * elf/tst-tls19.c: New file.
55267 * elf/tst-tls19mod1.c: New file.
55268 * elf/tst-tls19mod2.c: New file.
55269 * elf/tst-tls19mod3.c: New file.
55270 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55271
2fc54d6f
UD
55272 [BZ #12083]
55273 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55274 correctly.
55275
98d76b46
UD
55276 [BZ #12601]
55277 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55278 two-byte sequence errors.
55279 * iconvdata/Makefile (tests): Add bug-iconv8.
55280 * iconvdata/bug-iconv8.c: New file.
55281
da3c19ef
UD
55282 [BZ #12626]
55283 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55284 buf2 definition.
55285
ca408c15
UD
55286 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55287
d6f67f7d
UD
55288 [BZ #12432]
55289 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55290 (dummy_getcfa): New function.
55291 (init): Get _Unwind_GetCFA address, use dummy if not found.
55292 (backtrace_helper): In recursion check, also check whether CFA changes.
55293 (__backtrace): Completely initialize arg.
55294
1af4e298 55295 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
55296 storing incomplete byte sequence in state object. Avoid testing for
55297 guaranteed too small input if we know there is enough data available.
1af4e298 55298
da62f81b
AS
552992011-05-11 Andreas Schwab <schwab@redhat.com>
55300
55301 * Makeconfig (+link-pie): Indent.
55302 * Rules (binaries-pie): Define if $(have-fpie) and
55303 $(build-shared).
55304 (binaries-shared): Also filter out $(binaries-pie).
55305 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55306 * nscd/Makefile (others-pie): Add nscd.
55307 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55308 ($(objpfx)nscd): Remove command override.
55309 * login/Makefile (others-pie): Add pt_chown.
55310 ($(objpfx)pt_chown): Remove command override.
55311 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55312 remove command overrides.
55313
fcabc0f8
UD
553142011-05-13 Ulrich Drepper <drepper@gmail.com>
55315
20030ae6
UD
55316 * libio/tst_putwc.c: Fix error messages.
55317
fcabc0f8
UD
55318 [BZ #12724]
55319 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55320 currently writing and seek to current position when not.
55321 * libio/Makefile (tests): Add bug-fclose1.
55322 * libio/bug-fclose1.c: New file.
55323
320a5dc0
PB
553242011-05-12 Ulrich Drepper <drepper@gmail.com>
55325
55326 [BZ #12511]
55327 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55328 don't set DF_1_NODELETE here.
55329 (do_lookup_x): When entering new entry test for copy relocation
55330 and if necessary set DF_1_NODELETE flag.
55331 * elf/tst-unique4.cc: New file.
55332 * elf/tst-unique4.h: New file.
55333 * elf/tst-unique4lib.cc: New file.
55334 * elf/Makefile: Add rules to build and run tst-unique4.
55335 Patch by Piotr Bury <pbury@goahead.com>.
55336
22836f52
UD
553372011-05-11 Ulrich Drepper <drepper@gmail.com>
55338
f574184a
UD
55339 [BZ #12052]
55340 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55341
e1fb097f
UD
55342 [BZ #12625]
55343 * misc/mntent_r.c (addmntent): Flush the stream after the output
55344
22836f52
UD
55345 [BZ #12393]
55346 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55347 (is_trusted_path_normalize): Skip initial colon. Append slash
55348 to empty buffer. Duplicate is_trusted_path code but allow
55349 constructed patch to be prefix.
55350 (is_dst): Allow $ORIGIN followed by /.
55351 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55352 Correct testing of result of is_trusted_path_normalize
55353 (decompose_rpath): Fix warning.
55354
7b3b0b2a
UD
553552011-05-10 Ulrich Drepper <drepper@gmail.com>
55356
55357 [BZ #11257]
55358 * grp/initgroups.c (internal_getgrouplist): When we found the service
55359 list through the initgroups entry in nsswitch.conf do not always
55360 continue on a successful lookup. Don't always use the
eac80ce2 55361 __nss_group_database value if it is set.
7b3b0b2a
UD
55362 * nss/nsswitch.conf (initgroups): Change action for successful db
55363 lookup to continue for compatibility.
55364
2a81eaa5
UD
553652011-05-09 Ulrich Drepper <drepper@gmail.com>
55366
be97a69e
UD
55367 [BZ #11532]
55368 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55369 and CP774 modules.
55370 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55371 and CP774 modules.
55372 * iconvdata/tst-tables.sh: Likewise.
55373 * iconvdata/cp770.c: New file.
55374 * iconvdata/cp771.c: New file.
55375 * iconvdata/cp772.c: New file.
55376 * iconvdata/cp773.c: New file.
55377 * iconvdata/cp774.c: New file.
55378 * iconvdata/testdata/CP770: New file.
55379 * iconvdata/testdata/CP770..UTF8: New file.
55380 * iconvdata/testdata/CP771: New file.
55381 * iconvdata/testdata/CP771..UTF8: New file.
55382 * iconvdata/testdata/CP772: New file.
55383 * iconvdata/testdata/CP772..UTF8: New file.
55384 * iconvdata/testdata/CP773: New file.
55385 * iconvdata/testdata/CP773..UTF8: New file.
55386 * iconvdata/testdata/CP774: New file.
55387 * iconvdata/testdata/CP774..UTF8: New file.
55388
55389 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55390 END CHARMAP line.
55391 * iconvdata/gen-8bit-gap.sh: Likewise.
55392 * iconvdata/gen-8bit.sh: Likewise.
55393
c1e9e399
UD
55394 * locale/iso-639.def: Add ary entry.
55395
24c55fb3 55396 [BZ #11258]
96b4b1b0
UD
55397 * locale/C-translit.h.in: Add U20A1 transliteration.
55398
bdc2f971
KB
55399 [BZ #12178]
55400 * locale/iso-639.def: Add wae entry.
55401 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55402
2952b117
UD
55403 [BZ #12545]
55404 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55405 for n.
55406
2a81eaa5
UD
55407 [BZ #12711]
55408 * locale/C-translit.h.in: Add entry for U20B9.
55409 Patch by pravin.d.s@gmail.com.
55410
28377d1b
UD
554112011-05-08 Ulrich Drepper <drepper@gmail.com>
55412
7fb90fb8
UD
55413 [BZ #12713]
55414 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55415 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
55416 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55417 in rtld. Use *stat64.
7fb90fb8 55418 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 55419 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 55420 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
55421 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55422 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55423 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55424 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55425 __fstatat64 macros.
7fb90fb8
UD
55426 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55427 * dirent/rewinddir.c: Add libc_hidden_def.
55428 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 55429 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 55430
28377d1b
UD
55431 * include/dirent.h (__alloc_dir): Add flags parameter.
55432 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55433 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55434 __alloc_dir.
55435 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55436 from fdopendir if O_CLOEXEC is already set.
55437
66bdbaa4
AM
554382011-03-15 Alan Modra <amodra@gmail.com>
55439
55440 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55441 l_tls_firstbyte_offset non-zero. Save padding offset in
55442 l_tls_firstbyte_offset for later use.
55443 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55444 freeing static tls block.
55445
95721191
JN
554462011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55447
55448 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55449 where #ifdef was intended. The intent is to prevent ARG_MAX from
55450 being defined by the kernel headers.
55451
f87dfb1f
UD
554522011-05-07 Ulrich Drepper <drepper@gmail.com>
55453
55454 [BZ #12734]
55455 * resolv/resolv.h: Define RES_NOTLDQUERY.
55456 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55457 no-tld-query and set RES_NOTLDQUERY.
55458 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55459 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55460 modern BIND to search name as TLD unless forbidden.
55461
47c3cd7a
UD
554622011-05-07 Petr Baudis <pasky@suse.cz>
55463 Ulrich Drepper <drepper@gmail.com>
55464
55465 [BZ #12393]
55466 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55467 (is_trusted_path): ...to here.
c1e9ea35 55468 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 55469 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 55470 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 55471
8a35c912
PP
554722011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55473
55474 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55475 __BEGIN/__END_DECLS.
55476
acd41f47
UD
554772011-05-06 Ulrich Drepper <drepper@gmail.com>
55478
55479 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55480 NSS_STATUS_NOTFOUND if no record was found.
55481
597df647
AS
554822011-05-05 Andreas Schwab <schwab@redhat.com>
55483
55484 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55485 (headers-not-in-tirpc): Remove rpc/netdb.h
55486 * resolv/netdb.h: Revert last change.
55487
b9af1301
PP
554882011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55489
55490 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55491 circular dependency between libgcc.a and libc.a.
55492
4e34d5f5
AS
554932011-05-05 Andreas Schwab <schwab@redhat.com>
55494
55495 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55496 * nis/Makefile: Don't install rpcsvc/*.
55497 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55498 instead of <rpc/types.h>.
55499 (MAXHOSTNAMELEN): Define.
55500
00ee369c
AS
555012011-05-03 Andreas Schwab <schwab@redhat.com>
55502
55503 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55504
0b592a30
MB
555052011-04-28 Maciej Babinski <mbabinski@google.com>
55506
55507 [BZ #12714]
55508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55509 gethostbyname4_r when IPv6 results are possible.
55510
6e04cbbe
UD
555112011-05-02 Ulrich Drepper <drepper@gmail.com>
55512
55513 [BZ #12723]
55514 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55515 _PC_PIPE_BUF handling.
55516
e4ecafe0
BH
555172011-04-30 Bruno Haible <bruno@clisp.org>
55518
55519 [BZ #12717]
55520 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55521 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55522 to 'int'.
55523 * inet/getnameinfo.c (getnameinfo): Likewise.
55524
125ee683
UD
555252011-04-29 Ulrich Drepper <drepper@gmail.com>
55526
55527 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55528 to groups setting in database lookup.
55529 * nss/nsswitch.conf: Add initgroups entry.
55530
b722481a
EB
555312011-04-22 Ulrich Drepper <drepper@gmail.com>
55532
55533 [BZ #12685]
55534 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55535 mode string.
55536 Patch by Eric Blake <eblake@redhat.com>.
55537
4df46dbd
L
555382011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55539
55540 * sunrpc/Makefile (need-export-routines): Add svc_run.
55541 (routines): Remove svc_run.
55542 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55543 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55544 * sunrpc/svc_run.c (svc_run): Likewise.
55545 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55546
e84142d2
UD
555472011-04-21 Ulrich Drepper <drepper@gmail.com>
55548
55549 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55550 problem in reallocation in last patch.
55551
877175d8
UD
555522011-04-20 Ulrich Drepper <drepper@gmail.com>
55553
55554 * sunrpc/Makefile: Move inclusion of Rules.
55555
ab8eed78
UD
555562011-04-19 Ulrich Drepper <drepper@gmail.com>
55557
55558 * nss/nss_files/files-initgroups.c: New file.
55559 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55560 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55561 _nss_files_initgroups_dyn.
55562
e3d8f584
RS
555632011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55564
55565 * elf/elf.h (R_ARM_IRELATIVE): Define.
55566
af190f45
UD
555672011-04-19 Ulrich Drepper <drepper@gmail.com>
55568
55569 * po/ru.po: Update from translation team.
55570
53cf59ef
UD
555712011-04-17 Ulrich Drepper <drepper@gmail.com>
55572
55573 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55574 dependencies.
55575
4c559bcd
MF
555762011-02-06 Mike Frysinger <vapier@gentoo.org>
55577
55578 [BZ #12653]
55579 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55580 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55581 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55582 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55583 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55584
4420675c
AS
555852011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55586
55587 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55588 differing bytes.
55589 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55590 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55591 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55592
75ea32ab
UD
555932011-04-17 Ulrich Drepper <drepper@gmail.com>
55594
55595 [BZ #12420]
55596 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55597 storing it.
55598 * stdlib/bug-getcontext.c: New file.
55599 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55600
27390476
AK
556012011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55602
55603 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55604 instructions into .machine "z9-109".
55605 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55606 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55607
10442705
AK
556082011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55609
55610 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55611 between environment variables and auxiliary vector.
55612
7b57bfe5
UD
556132011-04-16 Ulrich Drepper <drepper@gmail.com>
55614
55615 * Makefile: Add rules to build linkobj/libc.so.
55616 * include/libc-symbols.h: Define libc_hidden_nolink.
55617 * include/rpc/auth.h: Mark functions which are to be hidden.
55618 * include/rpc/auth_des.h: Likewise.
55619 * include/rpc/auth_unix.h: Likewise.
55620 * include/rpc/clnt.h: Likewise.
55621 * include/rpc/des_crypt.h: Likewise.
55622 * include/rpc/key_prot.h: Likewise.
55623 * include/rpc/pmap_clnt.h: Likewise.
55624 * include/rpc/pmap_prot.h: Likewise.
55625 * include/rpc/pmap_rmt.h: Likewise.
55626 * include/rpc/rpc_msg.h: Likewise.
55627 * include/rpc/svc.h: Likewise.
55628 * include/rpc/svc_auth.h: Likewise.
55629 * include/rpc/xdr.h: Likewise.
55630 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55631 * nss/Makefile: Likewise.
55632 * sunrpc/Makefile: Don't install headers. Build library with normal
55633 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55634 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55635 for the compat linking library. Remove use of INTDEF/INTUSE.
55636 * sunrpc/auth_none.c: Likewise.
55637 * sunrpc/auth_unix.c: Likewise.
55638 * sunrpc/authdes_prot.c: Likewise.
55639 * sunrpc/authuxprot.c: Likewise.
55640 * sunrpc/clnt_gen.c: Likewise.
55641 * sunrpc/clnt_perr.c: Likewise.
55642 * sunrpc/clnt_raw.c: Likewise.
55643 * sunrpc/clnt_simp.c: Likewise.
55644 * sunrpc/clnt_tcp.c: Likewise.
55645 * sunrpc/clnt_udp.c: Likewise.
55646 * sunrpc/clnt_unix.c: Likewise.
55647 * sunrpc/des_crypt.c: Likewise.
55648 * sunrpc/des_soft.c: Likewise.
55649 * sunrpc/get_myaddr.c: Likewise.
55650 * sunrpc/key_call.c: Likewise.
55651 * sunrpc/key_prot.c: Likewise.
55652 * sunrpc/netname.c: Likewise.
55653 * sunrpc/pm_getmaps.c: Likewise.
55654 * sunrpc/pm_getport.c: Likewise.
55655 * sunrpc/pmap_clnt.c: Likewise.
55656 * sunrpc/pmap_prot.c: Likewise.
55657 * sunrpc/pmap_prot2.c: Likewise.
55658 * sunrpc/pmap_rmt.c: Likewise.
55659 * sunrpc/publickey.c: Likewise.
55660 * sunrpc/rpc_cmsg.c: Likewise.
55661 * sunrpc/rpc_common.c: Likewise.
55662 * sunrpc/rpc_dtable.c: Likewise.
55663 * sunrpc/rpc_prot.c: Likewise.
55664 * sunrpc/rpc_thread.c: Likewise.
55665 * sunrpc/rtime.c: Likewise.
55666 * sunrpc/svc.c: Likewise.
55667 * sunrpc/svc_auth.c: Likewise.
55668 * sunrpc/svc_authux.c: Likewise.
55669 * sunrpc/svc_raw.c: Likewise.
55670 * sunrpc/svc_run.c: Likewise.
55671 * sunrpc/svc_simple.c: Likewise.
55672 * sunrpc/svc_tcp.c: Likewise.
55673 * sunrpc/svc_udp.c: Likewise.
55674 * sunrpc/svc_unix.c: Likewise.
55675 * sunrpc/svcauth_des.c: Likewise.
55676 * sunrpc/xcrypt.c: Likewise.
55677 * sunrpc/xdr.c: Likewise.
55678 * sunrpc/xdr_array.c: Likewise.
55679 * sunrpc/xdr_float.c: Likewise.
55680 * sunrpc/xdr_intXX_t.c: Likewise.
55681 * sunrpc/xdr_mem.c: Likewise.
55682 * sunrpc/xdr_rec.c: Likewise.
55683 * sunrpc/xdr_ref.c: Likewise.
55684 * sunrpc/xdr_sizeof.c: Likewise.
55685 * sunrpc/xdr_stdio.c: Likewise.
55686
e6c61494
UD
556872011-04-10 Ulrich Drepper <drepper@gmail.com>
55688
55689 [BZ #12650]
55690 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55691 * sysdeps/ia64/dl-tls.h: Likewise.
55692 * sysdeps/powerpc/dl-tls.h: Likewise.
55693 * sysdeps/s390/dl-tls.h: Likewise.
55694 * sysdeps/sh/dl-tls.h: Likewise.
55695 * sysdeps/sparc/dl-tls.h: Likewise.
55696 * sysdeps/x86_64/dl-tls.h: Likewise.
55697 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55698
34fe483e
AS
556992011-03-14 Andreas Schwab <schwab@redhat.com>
55700
55701 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55702 rpath element also skip the following colon.
55703 (expand_dynamic_string_token): Add is_path parameter and pass
55704 down to DL_DST_REQUIRED and _dl_dst_substitute.
55705 (decompose_rpath): Call expand_dynamic_string_token with
55706 non-zero is_path. Ignore empty rpaths.
55707 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55708 with zero is_path.
55709
f12a32e6
AS
557102011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55711
55712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55713 Make cancelable.
55714
38a7d692
UD
557152011-04-09 Ulrich Drepper <drepper@gmail.com>
55716
55717 [BZ #12655]
55718 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55719 Patch by Filipe David Manana <fdmanana@apache.org>.
55720
e451d22b
AS
557212011-04-07 Andreas Schwab <schwab@redhat.com>
55722
55723 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55724 Maintain aligned stack.
55725 (CHECK_RSP): Remove unused macro.
55726
dedc7c7b
UD
557272011-04-03 Ulrich Drepper <drepper@gmail.com>
55728
55729 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55730 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55731
94521213
UD
557322011-04-02 Ulrich Drepper <drepper@gmail.com>
55733
55734 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55735
8cb700c0 55736 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 55737
0354e355
L
557382011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55739
55740 [BZ #12518]
55741 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55742 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55743 * sysdeps/x86_64/memmove.c: New file.
55744 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55745 (memcpy): Renamed to ...
55746 (__new_memcpy): This.
55747 (memcpy): Provide GLIBC_2_14 memcpy.
55748 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55749 (memcpy): Provide GLIBC_2_2_5 memcpy.
55750
8593482f
UD
557512011-04-01 Ulrich Drepper <drepper@gmail.com>
55752
55753 [BZ #12631]
55754 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55755
81a5726b
AS
557562011-03-30 Andreas Schwab <schwab@redhat.com>
55757
55758 * misc/syncfs.c: New file.
55759 * misc/Makefile (routines): Add syncfs.
55760 * posix/unistd.h: Declare syncfs.
55761 * sysdeps/unix/syscalls.list: Add syncfs.
55762
00e5419f
AS
557632011-04-01 Andreas Schwab <schwab@redhat.com>
55764
55765 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55766 open_by_handle_at.
55767 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55768 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55769 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55770 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55772 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55773 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55774
748876bf
UD
557752011-04-01 Ulrich Drepper <drepper@gmail.com>
55776
658e451d
UD
55777 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55778 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55779 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55780 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55781 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55782 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55783 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55784
748876bf
UD
55785 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55786 sync_file_range.c with -fexceptions.
55787 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55788 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55789 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55790 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55791 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55792 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55793 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
55794 sync_file_range as cancellation point
55795 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55796 now a wrapper around __call_sync_file_range with cancellation handling.
55797 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55798 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55799 function name to __call_sync_file_range.
55800 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55801 Add call_sync_file_range.
748876bf 55802
6e63d5e1
AS
558032011-04-01 Andreas Schwab <schwab@redhat.com>
55804
55805 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 55806 bits/timex.h.
6e63d5e1 55807
46998f74
UD
558082011-04-01 Ulrich Drepper <drepper@gmail.com>
55809
4c1423ed
UD
55810 * iconv/iconv.h: Fix typo in comment.
55811 * io/fcntl.h: Likewise.
55812 * libio/stdio.h: Likewise.
55813 * posix/spawn.h: Likewise.
55814 * posix/unistd.h: Likewise.
55815 * stdlib/stdlib.h: Likewise.
55816 * time/time.h: Likewise.
55817 * wcsmbs/wchar.h: Likewise.
55818
158648c0
UD
55819 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55820 open_by_handle): Add.
55821 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55822 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55823 Augment a few comments.
55824 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55825 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55826 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55827 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55828 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55829 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55830 open_by_handle.
55831
46998f74
UD
55832 * io/fcntl.h (AT_EMPTY_PATH): Define.
55833
83fe108b
UD
558342011-03-30 Ulrich Drepper <drepper@gmail.com>
55835
55836 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55837 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55838 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55839 to...
55840 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
55841 * Versions.def: Add GLIBC_2.14.
55842 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55843 Export.
83fe108b 55844
bb242059
UD
558452011-03-22 Ulrich Drepper <drepper@gmail.com>
55846
55847 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55848 round counter.
55849 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55850
c97a1282
L
558512011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55852
55853 [BZ #12597]
55854 * string/test-strncmp.c (do_page_test): New function.
55855 (check2): Likewise.
55856 (test_main): Call check2.
55857 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55858
2a115601
UD
558592011-03-20 Ulrich Drepper <drepper@gmail.com>
55860
55861 [BZ #12587]
55862 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55863 Handle cache information in CPU leaf 4.
55864 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55865
8126d904
UD
558662011-03-18 Ulrich Drepper <drepper@gmail.com>
55867
042c49c6 55868 [BZ #12583]
8126d904
UD
55869 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55870 character representation.
55871 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55872
ccfe366e
RA
558732011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55874
55875 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55876 END(__isnan) to END(__isnanf) to match function entry point/label
55877 EALIGN(__isnanf,...).
55878
c6e13027
JJ
558792011-03-10 Jakub Jelinek <jakub@redhat.com>
55880
55881 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55882
33f85a3f
UD
558832011-03-10 Ulrich Drepper <drepper@gmail.com>
55884
028478fa
UD
55885 [BZ #12510]
55886 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55887 copy from the symbol referenced in the relocation to initialize the
55888 used variable.
55889 Patch by Piotr Bury <pbury@goahead.com>.
55890 * elf/Makefile: Add rules to build and tst-unique3.
55891 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55892 * elf/tst-unique3.cc: New file.
55893 * elf/tst-unique3.h: New file.
55894 * elf/tst-unique3lib.cc: New file.
55895 * elf/tst-unique3lib2.cc: New file.
55896
33f85a3f
UD
55897 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55898
03592fc7
MF
558992011-03-10 Mike Frysinger <vapier@gentoo.org>
55900
55901 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55902 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55903 to _start.
03592fc7 55904
6a5ee102
UD
559052011-03-06 Ulrich Drepper <drepper@gmail.com>
55906
55907 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55908 to-be-loaded object along a path to loader is ld.so.
55909
7e4ba49c
HJ
559102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55911 Ulrich Drepper <drepper@gmail.com>
55912
55913 * sysdeps/x86_64/memset.S: After aligning destination, code
55914 branches to different locations depending on the value of
55915 misalignment, when multiarch is enabled. Fix this.
55916
559172011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55918
55919 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55920 Set _x86_64_preferred_memory_instruction for AMD processsors.
55921 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55922 Set bit_Prefer_SSE_for_memop for AMD processors.
55923
13a804de
UD
559242011-03-04 Ulrich Drepper <drepper@gmail.com>
55925
55926 * libio/fmemopen.c (fmemopen): Optimize a bit.
55927
9d25c392
AS
559282011-03-03 Andreas Schwab <schwab@redhat.com>
55929
55930 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55931
a5543c6a
RM
559322011-03-03 Roland McGrath <roland@redhat.com>
55933
55934 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55935
012d35f7
DM
559362011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55937
7e4ba49c 55938 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
55939 __bzero_ultra1 instead of __memset_ultra1.
55940
4bff6e01
AS
559412011-02-23 Andreas Schwab <schwab@redhat.com>
55942 Ulrich Drepper <drepper@gmail.com>
55943
55944 [BZ #12509]
55945 * include/link.h (struct link_map): Add l_orig_initfini.
55946 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55947 returning unsuccessfully.
55948 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55949 close of a file loaded at startup, restore the original l_initfini
55950 list.
55951 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55952 list, store the pointer.
55953 * elf/Makefile ($(objpfx)noload-mem): New rule.
55954 (noload-ENV): Define.
55955 (tests): Add $(objpfx)noload-mem.
55956 * elf/noload.c: Include <memcheck.h>.
55957 (main): Call mtrace. Close all opened handles.
55958
f2092faf
AS
559592011-02-17 Andreas Schwab <schwab@redhat.com>
55960
55961 [BZ #12454]
55962 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55963 dependencies are missing.
55964
6c8a2e88
ST
559652011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55966
f2092faf 55967 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
55968 Hurd needs munmap.
55969 * sysdeps/mach/hurd/ifreq.h: New file.
55970
84a42118
PB
559712011-01-27 Petr Baudis <pasky@suse.cz>
55972 Ulrich Drepper <drepper@gmail.com>
55973
071f805e 55974 [BZ 12445]#
84a42118
PB
55975 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55976 to extend_alloca().
55977 * stdio-common/bug23.c: New file.
55978 * stdio-common/Makefile (tests): Add bug23.
55979
e23fe25b
AS
559802010-09-28 Andreas Schwab <schwab@redhat.com>
55981 Ulrich Drepper <drepper@gmail.com>
55982
55983 [BZ #12489]
55984 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55985 before performing relro protection. At old place add assertion
55986 to make sure nothing changed.
55987
d3f02e10
NS
559882011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55989 Glauber de Oliveira Costa <glommer@gmail.com>
55990
55991 * elf/elf.h: Add new ARM TLS relocs.
55992
d55fd7a5
RA
559932011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55994
55995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55996 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55997 cast from r3.
55998 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55999 'tests' variable.
56000 * sysdeps/wordsize-64/tst-writev.c: New file.
56001
2206397e
RA
560022011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56003
56004 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56005 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56006 insns in _dl_start to prevent a TOC reference before relocs are
56007 resolved.
56008
e9433893
UD
560092011-02-15 Ulrich Drepper <drepper@gmail.com>
56010
56011 [BZ #12469]
56012 * Makeconfig: Remove RANLIB definition.
56013 * Makerules: Don't use RANLIB.
56014 * aclocal.m4: Remove ranlib test.
56015 * configure.in: No need to check for ranlib.
56016 * elf/rtld-Rules: Don't use RANLIB.
56017
f75286c6
ST
560182011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56019
8e31c82d
ST
56020 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56021 protection macro.
56022 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56023 inclusion protection macro.
56024
f75286c6
ST
56025 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56026 SIGRTMIN and SIGRTMAX and print information in that case only when
56027 SIGRTMIN is defined.
56028
c1d0e639
JJ
560292011-02-11 Jakub Jelinek <jakub@redhat.com>
56030
56031 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56032 arginfo fn returning -1.
56033
56034 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56035 and thousands string is zero terminated.
56036
edf9294e
AS
560372011-02-03 Andreas Schwab <schwab@redhat.com>
56038
56039 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56040 sysdeps/unix/sysv/linux/bits/socket.h.
56041
2b7e92df
ST
560422011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56043
edf9294e
AS
56044 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56045 (__CPU_COUNT): Remove old macros.
56046 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56047 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56048 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
56049 (__sched_cpualloc, __sched_cpufree): Add declarations.
56050
a4c7ea7b
UD
560512011-02-05 Ulrich Drepper <drepper@gmail.com>
56052
56053 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56054 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56055 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56056 (readdhstai): Return value of addhstaiX call.
56057 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56058 (addgrbyX): Return value returned by cache_addgr.
56059 (readdgrbyname): Return value returned by addgrbyX.
56060 (readdgrbygid): Likewise.
56061 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56062 (addpwbyX): Return value returned by cache_addpw.
56063 (readdpwbyname): Return value returned by addhstbyX.
56064 (readdpwbyuid): Likewise.
56065 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56066 (addservbyX): Return value returned by cache_addserv.
56067 (readdservbyname): Return value returned by addservbyX:
56068 (readdservbyport): Likewise.
56069 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56070 (addhstbyX): Return value returned by cache_addhst.
56071 (readdhstbyname): Return value returned by addhstbyX.
56072 (readdhstbyaddr): Likewise.
56073 (readdhstbynamev6): Likewise.
56074 (readdhstbyaddrv6): Likewise.
56075 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56076 (readdinitgroups): Return value returned by addinitgroupsX.
56077 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56078 (prune_cache): Keep track of timeout value of re-added entries.
56079 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56080 * nscd/nscd.h: Adjust prototypes of readd* functions.
56081
a0bf67cc
RM
560822011-02-04 Roland McGrath <roland@redhat.com>
56083
56084 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56085 (nis_stats): Likewise.
56086 * nis/nis_modify.c (nis_modify): Likewise.
56087 * nis/nis_remove.c (nis_remove): Likewise.
56088 * nis/nis_add.c (nis_add): Likewise.
56089
56090 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56091
56092 * posix/fnmatch_loop.c: Add some consts.
56093
56094 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56095
435b95eb
L
560962011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56097
56098 [BZ #12460]
56099 * config.make.in (config-cflags-novzeroupper): Define.
56100 * configure.in: Substitute libc_cv_cc_novzeroupper.
56101 * elf/Makefile (AVX-CFLAGS): Define.
56102 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56103 (CFLAGS-tst-auditmod4a.c): Likewise.
56104 (CFLAGS-tst-auditmod4b.c): Likewise.
56105 (CFLAGS-tst-auditmod6b.c): Likewise.
56106 (CFLAGS-tst-auditmod6c.c): Likewise.
56107 (CFLAGS-tst-auditmod7b.c): Likewise.
56108 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56109
8517b15e
UD
561102011-02-02 Ulrich Drepper <drepper@gmail.com>
56111
56112 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56113 function to the callback.
56114 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56115
10a656fe
AS
561162011-02-02 Andreas Schwab <schwab@redhat.com>
56117
56118 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56119 of errno.
56120
968dad0a
UD
561212011-01-19 Ulrich Drepper <drepper@gmail.com>
56122
9f94d2ea 56123 [BZ #11724]
968dad0a
UD
56124 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56125 of constructors.
56126 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56127 of destructors.
56128 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56129
56130 [BZ #11724]
56131 * elf/Makefile: Add rules to build and run new test.
56132 * elf/tst-initorder.c: New file.
56133 * elf/tst-initorder.exp: New file.
56134 * elf/tst-initordera1.c: New file.
56135 * elf/tst-initordera2.c: New file.
56136 * elf/tst-initordera3.c: New file.
56137 * elf/tst-initordera4.c: New file.
56138 * elf/tst-initorderb1.c: New file.
56139 * elf/tst-initorderb2.c: New file.
56140 * elf/tst-order-a1.c: New file.
56141 * elf/tst-order-a2.c: New file.
56142 * elf/tst-order-a3.c: New file.
56143 * elf/tst-order-a4.c: New file.
56144 * elf/tst-order-b1.c: New file.
56145 * elf/tst-order-b2.c: New file.
56146 * elf/tst-order-main.c: New file.
56147 New test case by George Gensure <werkt0@gmail.com>.
56148
86e92359
UD
561492010-10-01 Andreas Schwab <schwab@redhat.com>
56150
56151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56152 decoding ACE if AI_CANONIDN.
56153
5d5732b0
UD
561542011-01-18 Ulrich Drepper <drepper@gmail.com>
56155
56156 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56157
a77e8cbc
UD
561582011-01-17 Ulrich Drepper <drepper@gmail.com>
56159
6392473f
UD
56160 * version.h (RELEASE): Bump for 2.13 release.
56161 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56162
620a0529
UD
56163 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56164
18ba70a5
UD
56165 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56166 MADV_NOHUGEPAGE.
32465c3e
UD
56167 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56168 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56169 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56170 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56171 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56172 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56173
c0dafcf1
UD
56174 * posix/getconf.c: Update copyright year.
56175 * catgets/gencat.c: Likewise.
56176 * csu/version.c: Likewise.
56177 * debug/catchsegv.sh: Likewise.
56178 * debug/xtrace.sh: Likewise.
56179 * elf/ldconfig.c: Likewise.
56180 * elf/ldd.bash.in: Likewise.
56181 * elf/sprof.c (print_version): Likewise.
56182 * iconv/iconv_prog.c: Likewise.
56183 * iconv/iconvconfig.c: Likewise.
56184 * locale/programs/locale.c: Likewise.
56185 * locale/programs/localedef.c: Likewise.
56186 * malloc/memusage.sh: Likewise.
56187 * malloc/mtrace.pl: Likewise.
56188 * nscd/nscd.c (print_version): Likewise.
56189 * nss/getent.c: Likewise.
56190
a77e8cbc
UD
56191 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56192 PF_CAIF, and PF_ALG.
56193 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56194
77e8bddf
AS
561952011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56196
1f20b93a
AS
56197 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56198 (modules-names): Use them.
56199 (ifunc-test-modules, ifunc-pie-tests): Define.
56200 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56201 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56202 (test-extras): Likewise.
56203 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56204 $(compile-command.c).
56205 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56206 (all-built-dso): Define.
56207 (check-textrel.out, check-execstack.out): Depend on it.
56208
77e8bddf
AS
56209 * configure.in: Don't override --enable-multi-arch.
56210
bc425b33
UD
562112011-01-15 Ulrich Drepper <drepper@gmail.com>
56212
56213 [BZ #6812]
56214 * nscd/hstcache.c (tryagain): Define.
56215 (cache_addhst): Return tryagain not notfound for temporary errors.
56216 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56217 failed.
56218
794c3ad3
UD
562192011-01-14 Ulrich Drepper <drepper@gmail.com>
56220
70181fdd
UD
56221 [BZ #10563]
56222 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56223 to make the syscall.
56224 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56225
794c3ad3
UD
56226 [BZ #12378]
56227 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56228 and fall back to matching as normal character if the string ends before
56229 the matching ']' is found. This is what POSIX requires.
56230 * posix/testfnm.c: Adjust test result.
56231 * posix/globtest.sh: Adjust test result. Add new test.
56232 * posix/tst-fnmatch.input: Likewise.
56233 * posix/tst-fnmatch2.c: Add new test.
56234
68dc9497
AS
562352010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56236
56237 * elf/Makefile (check-execstack): Revert last change. Depend on
56238 check-execstack.h.
56239 (check-execstack.h): New target.
56240 (generated): Add check-execstack.h.
56241 * elf/check-execstack.c: Include "check-execstack.h".
56242 (main): Revert last change.
56243 (handle_file): Return zero if GNU_STACK is absent and
56244 DEFAULT_STACK_PERMS doesn't include PF_X.
56245
451f001b
UD
562462011-01-13 Ulrich Drepper <drepper@gmail.com>
56247
cfa28e56
UD
56248 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56249 in child fails because the descriptor is already closed.
8cf8ce17
UD
56250 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56251 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56252 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 56253
1086d70d
UD
56254 [BZ #12397]
56255 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56256 syscall.
56257
451f001b
UD
56258 [BZ #10484]
56259 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56260 temporary buffer used to handle multi lookups locally.
a85b5cb4 56261 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 56262
08769175
UD
562632011-01-12 Ulrich Drepper <drepper@gmail.com>
56264
56265 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56266 loader is ld.so.
56267
5e49c52e
UD
562682011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56269
56270 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56271 alignment for SSE2.
56272
60522a5f
UD
562732011-01-12 Ulrich Drepper <drepper@gmail.com>
56274
56275 [BZ #12394]
56276 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56277 characters. When rounding increased number of integer digits recompute
56278 number of groups.
56279 * stdio-common/tst-grouping.c: New file.
56280 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56281
f257bbd7
UD
562822011-01-09 Ulrich Drepper <drepper@gmail.com>
56283
56284 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56285 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56286
56287 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56288 void.
56289 * bits/select.h: Likewise.
56290
fa9c15cb
UD
562912011-01-08 Ulrich Drepper <drepper@gmail.com>
56292
56293 * po/ja.po: Update from translation team.
56294
16c2895f
DM
562952011-01-04 David S. Miller <davem@sunset.davemloft.net>
56296
56297 [BZ #11155]
56298 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56299 implementation just like for lxstat, fxstatat, et al.
56300
2543fef2
JM
563012010-12-27 Jim Meyering <meyering@redhat.com>
56302
56303 [BZ #12348]
56304 * posix/regexec.c (build_trtable): Return failure indication upon
56305 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56306
98727dbe
UD
563072010-12-25 Ulrich Drepper <drepper@gmail.com>
56308
5bd6dc5c
UD
56309 [BZ #12201]
56310 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56311 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56312 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56313 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56314
97983464
UD
56315 [BZ #12207]
56316 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56317
98727dbe
UD
56318 [BZ #12204]
56319 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56320 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56321
4a531bb0
L
563222010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56323
56324 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56325 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56326 script has SORT_BY_INIT_PRIORITY.
56327 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56328 NO_CTORS_DTORS_SECTIONS is defined.
56329 * elf/soinit.c: Likewise.
56330 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56331 NO_CTORS_DTORS_SECTIONS is defined.
56332 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56333 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56334 * sysdeps/sh/init-first.c: Likewise.
56335 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56336
07eb4b71
UD
563372010-12-24 Ulrich Drepper <drepper@gmail.com>
56338
56339 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56340 always use the slow path.
56341
30950a5f
RA
563422010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56343
56344 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56345 similar rule which adds the sysdep directories to the header search in
56346 order to pick up the correct platform stackinfo.h.
56347 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56348 perform test if it is, otherwise return successfully without testing.
56349 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56350 DEFAULT_STACK_PERMS define in stackinfo.h.
56351 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56352 defined in stackinfo.h.
56353 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56354 DEFAULT_STACK_PERMS defined in stackinfo.h.
56355 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56356 * sysdeps/ia64/stackinfo.h: Likewise.
56357 * sysdeps/s390/stackinfo.h: Likewise.
56358 * sysdeps/sh/stackinfo.h: Likewise.
56359 * sysdeps/sparc/stackinfo.h: Likewise.
56360 * sysdeps/x86_64/stackinfo.h: Likewise.
56361 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56362 PF_X for powerpc64. Retain PF_X for powerpc32.
56363
db753e2c
UD
563642010-12-19 Ulrich Drepper <drepper@gmail.com>
56365
14b697f7
UD
56366 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56367 accurately.
db753e2c
UD
56368 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56369 GETDENTS_64BIT_ALIGNED.
56370
28300719
UD
563712010-12-14 Ulrich Drepper <dreper@gmail.com>
56372
14b697f7 56373 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 56374
4f197237
AS
563752010-12-10 Andreas Schwab <schwab@redhat.com>
56376
dbb0472f
AS
56377 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56378 _GNU_SOURCE.
56379
4f197237
AS
56380 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56381 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56382 Remove __restrict.
56383 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56384 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56385
fb88ac72
UD
563862010-12-09 Ulrich Drepper <drepper@gmail.com>
56387
56388 [BZ #11655]
56389 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56390 are initialized.
56391
42acbb92
JJ
563922010-12-09 Jakub Jelinek <jakub@redhat.com>
56393
56394 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56395
c038d98d
UD
563962010-12-03 Ulrich Drepper <drepper@gmail.com>
56397
56398 * po/it.po: Update from translation team.
56399
3a4a2499
L
564002010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56401
56402 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56403 unused codes.
56404
1e24cf6e
UD
564052010-11-30 Ulrich Drepper <drepper@gmail.com>
56406
56407 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56408
a7690819
AS
564092010-11-24 Andreas Schwab <schwab@redhat.com>
56410
56411 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56412 specially.
56413 (gaih_getanswer_slice): Likewise.
56414
3bf8d1b1
JJ
564152010-10-20 Jakub Jelinek <jakub@redhat.com>
56416
56417 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56418
6db52fbb
PB
564192010-05-31 Petr Baudis <pasky@suse.cz>
56420
56421 [BZ #11149]
56422 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56423 silently even in the chroot mode.
56424
eaca7569
UD
564252010-11-22 Ulrich Drepper <drepper@gmail.com>
56426
56427 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56428 last patch a bit. Pretty printing
56429
3056dcdb
UD
564302010-05-31 Petr Baudis <pasky@suse.cz>
56431
56432 [BZ #10085]
56433 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56434 initialization of skip_initgroups_dyn.
56435
cf7c9078
UD
564362010-11-19 Ulrich Drepper <drepper@gmail.com>
56437
56438 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56439 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56440
a1fb5e3e
UD
564412010-11-16 Ulrich Drepper <drepper@gmail.com>
56442
56443 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56444
3540d66b
AS
564452010-11-11 Andreas Schwab <schwab@redhat.com>
56446
56447 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56448 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56449 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56450 ($(objpfx)tst-fnmatch-mem): New rule.
56451 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56452 * posix/tst-fnmatch.c (main): Call mtrace.
56453
13b69574
L
564542010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56455
56456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56457 Support Intel processor model 6 and model 0x2c.
56458
da93d214
LM
564592010-11-10 Luis Machado <luisgpm@br.ibm.com>
56460
56461 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56462 signed comparison.
56463
8ca52c6e
L
564642010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56465
56466 [BZ #12205]
56467 * string/test-strncasecmp.c (check_result): New function.
56468 (do_one_test): Use it.
56469 (check1): New function.
56470 (test_main): Use it.
56471 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56472 Support strcasecmp and strncasecmp.
56473
69da074d
UD
564742010-11-08 Ulrich Drepper <drepper@gmail.com>
56475
56476 [BZ #12194]
56477 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56478 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56479
ff02d528
L
564802010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56481
56482 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56483 IFUNC support.
56484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56485 memset-x86-64.
56486 * sysdeps/x86_64/multiarch/bzero.S: New file.
56487 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56488 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56489 * sysdeps/x86_64/multiarch/memset.S: New file.
56490 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56492 Set bit_Prefer_SSE_for_memop for Intel processors.
56493 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56494 Define.
56495 (index_Prefer_SSE_for_memop): Define.
56496 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56497
344d0b54
LM
564982010-11-04 Luis Machado <luisgpm@br.ibm.com>
56499
56500 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56501 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56502
c0dde15b
UD
565032010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56504
56505 [BZ #12191]
56506 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56507 (__x86_64_raw_data_cache_size_half): Likewise.
56508 (__x86_64_raw_shared_cache_size): Likewise.
56509 (__x86_64_raw_shared_cache_size_half): Likewise.
56510
56511 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56512 (__x86_64_raw_data_cache_size_half): Likewise.
56513 (__x86_64_raw_shared_cache_size): Likewise.
56514 (__x86_64_raw_shared_cache_size_half): Likewise.
56515 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56516 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56517 and __x86_64_raw_shared_cache_size_half. Round
56518 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56519 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56520 to multiple of 256 bytes.
56521
0e516e0e
MS
565222010-11-03 Ulrich Drepper <drepper@gmail.com>
56523
56524 [BZ #12167]
56525 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56526 of inacessible symlinks. Verify result of symlink before returning it.
56527 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56528 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56529
0e012e87
ER
565302010-10-28 Erich Ritz <erichritz@gmail.com>
56531
56532 * math/math.h (isinf): Fix typo in comment.
56533
de0ff7bc
UD
565342010-11-01 Ulrich Drepper <drepper@gmail.com>
56535
56536 * po/da.po: Update from translation team.
56537
fa41c84d
UD
565382010-10-26 Ulrich Drepper <drepper@gmail.com>
56539
56540 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56541 is added to the list.
56542
f0967738
AK
565432010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56544 Ulrich Drepper <drepper@gmail.com>
56545
56546 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56547 the global list here. Move code to...
56548 (_dl_add_to_namespace_list): ...here. New function.
56549 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56550 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56551 * elf/dl-load.c (lose): Don't remove the element from the list.
56552 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56553 (_dl_map_object): Likewise.
56554
565552010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
56556
56557 [BZ #12159]
56558 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56559 into all bytes of SSE register.
56560 Patch by Richard Li <richardpku@gmail.com>.
56561
f0967738 565622010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
56563
56564 [BZ #12140]
56565 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56566 perturbing.
56567
d0b9e94f
MB
565682010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56569
56570 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56571 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56572 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56573 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56575 submachine.
56576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56577
8e9f92e9
AS
565782010-10-22 Andreas Schwab <schwab@redhat.com>
56579
56580 * include/dlfcn.h (__RTLD_SECURE): Define.
56581 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56582 mode & __RTLD_SECURE instead.
56583 (open_path): Rename preloaded parameter to secure.
56584 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56585 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56586 * elf/dl-deps.c (openaux): Likewise.
56587 * elf/rtld.c (struct map_args): Remove is_preloaded.
56588 (map_doit): Don't use it.
56589 (dl_main): Likewise.
56590 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56591 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56592
bc96fbda
AS
565932010-09-09 Andreas Schwab <schwab@redhat.com>
56594
56595 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56596 (sysd-rules-targets): Remove duplicates.
56597 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56598 rtld-%.$o dependency.
56599
22cd1c9b
AS
566002010-10-18 Andreas Schwab <schwab@redhat.com>
56601
56602 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56603 _dl_map_object do it.
56604
18edac48
UD
566052010-10-19 Ulrich Drepper <drepper@gmail.com>
56606
56607 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56608 fast fma builtins, define the macros in the C99 standard.
56609 (FP_FAST_FMAF): Likewise.
56610 (FP_FAST_FMAL): Likewise.
56611 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56612
56613 * bits/mathdef.h: Update copyright year.
56614 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56615
d2050124
MM
566162010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56617
56618 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56619 builtins, define the macros in the C99 standard.
56620 (FP_FAST_FMAF): Likewise.
56621 (FP_FAST_FMAL): Likewise.
56622 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56623 multiply/add.
56624 (FP_FAST_FMAF): Likewise.
56625
475facd1
JJ
566262010-10-15 Jakub Jelinek <jakub@redhat.com>
56627
56628 [BZ #3268]
56629 * math/libm-test.inc (fma_test): Some new testcases.
56630 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56631 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56632 y and infinite z. Do multiplication by C already in long double.
56633 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56635 y and infinite z. Do bitwise or of inexact bit into u.d.
56636 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56637 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56638 * sysdeps/i386/fpu/s_fma.S: Removed.
56639 * sysdeps/i386/fpu/s_fmal.S: Removed.
56640
7c08a05c
JJ
566412010-10-16 Jakub Jelinek <jakub@redhat.com>
56642
56643 [BZ #3268]
56644 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56645 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56646 computation is not scheduled after fetestexcept. Fix value
56647 of minimum denormal long double.
56648
f3f7372d
JJ
566492010-10-14 Jakub Jelinek <jakub@redhat.com>
56650
56651 [BZ #3268]
56652 * math/libm-test.inc (fma_test): Add some more tests.
56653 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56654 correctly.
56655
14d43591
AS
566562010-10-15 Andreas Schwab <schwab@redhat.com>
56657
56658 * scripts/data/localplt-s390-linux-gnu.data: New file.
56659 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56660
5e908464
JJ
566612010-10-13 Jakub Jelinek <jakub@redhat.com>
56662
56663 [BZ #3268]
56664 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56665 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56666 instead of dbl-64.
56667 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56668 inlines.
56669 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56671 if one of x and y is very large and the other is subnormal.
56672 * sysdeps/s390/fpu/s_fmaf.c: New file.
56673 * sysdeps/s390/fpu/s_fma.c: New file.
56674 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56675 * sysdeps/powerpc/fpu/s_fma.S: New file.
56676 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56677 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56678 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56679
566802010-10-12 Jakub Jelinek <jakub@redhat.com>
56681
56682 [BZ #3268]
56683 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56684 fma tests.
56685 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56686 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56687 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56688 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56689 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56690 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56691 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56692
b833d51f
UD
566932010-10-12 Ulrich Drepper <drepper@redhat.com>
56694
56695 [BZ #12078]
56696 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56697 * posix/bug-regex31.input: Add test case.
56698
1751705d
UD
566992010-10-11 Ulrich Drepper <drepper@gmail.com>
56700
e9b9cbf5
UD
56701 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56702 * posix/bug-regex31.input: New file.
56703
56704 [BZ #12078]
56705 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56706 (parse_sub_exp): Fix last change, use postorder.
56707
ef06edbe
UD
56708 * posix/bug-regex31.c: New file.
56709 * posix/Makefile: Add rules to build and run bug-regex31.
56710
a129c80d
UD
56711 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56712
56713 [BZ #12078]
56714 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56715
b76b818e
UD
56716 [BZ #12108]
56717 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56718 to have entries in sys_siglist.
56719
1751705d
UD
56720 [BZ #12093]
56721 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56722 be NULL.
56723
9ff8d36f
JJ
567242010-10-07 Jakub Jelinek <jakub@redhat.com>
56725
56726 [BZ #3268]
56727 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56728 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56729 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56730 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56731 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56732 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56733 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56734 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56735 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56736 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56737 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56738 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56739 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56740 * math/ftestexcept.c (fetestexcept): Likewise.
56741 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56742 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56743 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56744 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56745 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56746 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56747 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56748
af325969
UD
567492010-10-11 Ulrich Drepper <drepper@gmail.com>
56750
c579b202 56751 [BZ #12107]
af325969
UD
56752 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56753 newline.
56754
67a67b95
UD
567552010-10-06 Ulrich Drepper <drepper@gmail.com>
56756
56757 * string/bug-strstr1.c: New file.
56758 * string/Makefile: Add rules to build and run bug-strstr1.
56759
5fb308bc
EB
567602010-10-05 Eric Blake <eblake@redhat.com>
56761
56762 [BZ #12092]
56763 * string/str-two-way.h (two_way_long_needle): Always clear memory
56764 when skipping input due to the shift table.
56765
45db99c7
UD
567662010-10-03 Ulrich Drepper <drepper@gmail.com>
56767
3b111893
UD
56768 [BZ #12005]
56769 * malloc/mcheck.c: Handle large requests.
56770
45db99c7
UD
56771 [BZ #12077]
56772 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56773 for strncmp and strncasecmp.
56774 * string/stratcliff.c: Add tests for strcmp and strncmp.
56775 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56776
cf7a1eb8
NI
567772010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56778
56779 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56780 __set_fpscr.
56781
6484ba5e
AJ
567822010-09-30 Andreas Jaeger <aj@suse.de>
56783
56784 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56785 (CGROUP_SUPER_MAGIC): Define.
56786 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56787 Handle btrfs and cgroup file systems.
56788 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56789 Likewise.
56790
91c42559
LM
567912010-09-27 Luis Machado <luisgpm@br.ibm.com>
56792
56793 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56794 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56795
87a97932
AK
567962010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56797
56798 [BZ #12067]
56799 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56800 trying to locate the ELF header.
56801
c21cc9bc
AS
568022010-09-27 Andreas Schwab <schwab@redhat.com>
56803
56804 [BZ #11611]
56805 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56806 Mask out sign-bit copies when constructing f_fsid.
56807
315970f6
PB
568082010-09-24 Petr Baudis <pasky@suse.cz>
56809
56810 * debug/stack_chk_fail_local.c: Add missing licence exception.
56811 * debug/warning-nop.c: Likewise.
56812
1ac7a2c7
JM
568132010-09-15 Joseph Myers <joseph@codesourcery.com>
56814
56815 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56816 implementing getdents64 using getdents syscall, set d_type if
56817 __ASSUME_GETDENTS32_D_TYPE.
56818
56801c50
AS
568192010-09-16 Andreas Schwab <schwab@redhat.com>
56820
56821 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56822 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56823
dda51327
UD
568242010-09-21 Ulrich Drepper <drepper@redhat.com>
56825
56826 [BZ #12037]
56827 * posix/unistd.h: Undo change of feature selection for ftruncate from
56828 2010-01-11.
56829
8ffcee4a
UD
568302010-09-20 Ulrich Drepper <drepper@redhat.com>
56831
a545ecd9 56832 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
56833 detection.
56834
e24f0a8b
AS
568352010-09-20 Andreas Schwab <schwab@redhat.com>
56836
56837 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56838 fanotify_mark.
56839 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56840
7291c56f
AS
568412010-09-14 Andreas Schwab <schwab@redhat.com>
56842
56843 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56844 variables after CHECK_SP call.
56845 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56846
bc5fb037
AS
568472010-09-13 Andreas Schwab <schwab@redhat.com>
56848 Ulrich Drepper <drepper@redhat.com>
56849
56850 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56851 re-relocationg ld.so.
56852 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56853 _dl_init_paths call.
56854 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56855 here anymore.
56856
e66e7419
UD
568572010-09-14 Ulrich Drepper <drepper@redhat.com>
56858
56859 * resolv/res_init.c (__res_vinit): Count the default server we added.
56860
c044aa75
CLT
568612010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56862 Ulrich Drepper <drepper@redhat.com>
56863
56864 [BZ #11968]
56865 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56866 (____longjmp_chk): Use %ebx for saving value across system call.
56867 Add unwind info.
56868
32cf4069
AS
568692010-09-06 Andreas Schwab <schwab@redhat.com>
56870
56871 * manual/Makefile: Don't mix pattern rules with normal rules.
56872
817328ee
AS
568732010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56874
56875 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56876 operation.
56877 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56878 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56879 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56880 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56881 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56882 Likewise.
56883
29fddf61
UD
568842010-09-04 Ulrich Drepper <drepper@redhat.com>
56885
56886 [BZ #11979]
56887 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56888 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56889
0959ffc9
UD
568902010-09-02 Ulrich Drepper <drepper@redhat.com>
56891
56892 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56893 * sysdeps/x86_64/addmul_1.S: Likewise.
56894 * sysdeps/x86_64/lshift.S: Likewise.
56895 * sysdeps/x86_64/mul_1.S: Likewise.
56896 * sysdeps/x86_64/rshift.S: Likewise.
56897 * sysdeps/x86_64/sub_n.S: Likewise.
56898 * sysdeps/x86_64/submul_1.S: Likewise.
56899
ece29840
ST
569002010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56901
0959ffc9
UD
56902 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56903 Define __sched_param instead of SCHED_* and sched_param when
ece29840 56904 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 56905 * bits/sched.h [__need_schedparam]
ece29840 56906 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
56907 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56908 (__defined_schedparam): Define to 1.
ece29840
ST
56909 (__sched_param): New structure, identical to sched_param.
56910 (__need_schedparam): Undefine.
56911
e53a31fe
MF
569122010-08-31 Mike Frysinger <vapier@gentoo.org>
56913
fdc0c10d
MF
56914 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56915 (epoll_create1): Declare.
56916
e53a31fe
MF
56917 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56918
a726d796
AS
569192010-08-31 Andreas Schwab <schwab@redhat.com>
56920
56921 [BZ #7066]
56922 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56923 shifting retval into place.
56924
2f3e3dc7
UD
569252010-09-01 Ulrich Drepper <drepper@redhat.com>
56926
f2933da9
UD
56927 * nis/rpcsvc/nis.h: Update copyright notice.
56928 * nis/rpcsvc/nis.x: Likewise.
56929 * nis/rpcsvc/nis_callback.h: Likewise.
56930 * nis/rpcsvc/nis_callback.x: Likewise.
56931 * nis/rpcsvc/nis_object.x: Likewise.
56932 * nis/rpcsvc/nis_tags.h: Likewise.
56933 * nis/rpcsvc/yp.h: Likewise.
56934 * nis/rpcsvc/yp.x: Likewise.
56935 * nis/rpcsvc/ypupd.h: Likewise.
56936 * nis/yp_xdr.c: Likewise.
56937 * nis/ypupdate_xdr.c: Likewise.
56938
2f3e3dc7
UD
56939 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56940 mainly the body of pmap_getport. Add parameters to specify timeouts.
56941 (pmap_getport): Use __libc_rpc_getport.
56942 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56943 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56944 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56945
f3dcc2f9
AS
569462010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56947
56948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56949 fanotify_mark.
56950
6d34eb5b
RM
569512010-08-27 Roland McGrath <roland@redhat.com>
56952
56953 * sysdeps/i386/i686/multiarch/Makefile
56954 (CFLAGS-varshift.c): New variable.
56955
9ea3de11
UD
569562010-08-27 Ulrich Drepper <drepper@redhat.com>
56957
c96d23fc
UD
56958 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56959 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56960
9ea3de11
UD
56961 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56962
56963 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56964
623aac7f
L
569652010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56966
56967 * sysdeps/x86_64/strlen.S: Unroll the loop.
56968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56969 strlen-sse2 strlen-sse2-bsf.
56970 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56971 __strlen_no_bsf if bit_Slow_BSF is set.
56972 (__strlen_sse42): Removed.
56973 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56974 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56975
8b2b7715
RM
569762010-08-25 Roland McGrath <roland@redhat.com>
56977
56978 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56979 * sysdeps/x86_64/multiarch/varshift.c: New file.
56980 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56981 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56982 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56983 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56984
e73015f2
L
569852010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56986
56987 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56988 strlen-sse2 strlen-sse2-bsf.
56989 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56990 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56991 (__strlen_sse2): Removed.
56992 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56993 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56995 bit_Slow_BSF for Atom.
56996 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56997 (index_Slow_BSF): Define.
56998 (HAS_SLOW_BSF): Define.
56999
df24a73e
UD
570002010-08-25 Ulrich Drepper <drepper@redhat.com>
57001
57002 [BZ #10851]
57003 * resolv/res_init.c (__res_vinit): When no server address at all
57004 is given default to loopback.
57005
f2ac4868
RM
570062010-08-24 Roland McGrath <roland@redhat.com>
57007
09055553
RM
57008 * configure.in: Remove config-name.h generation.
57009 * configure: Regenerated.
57010 * config-name.in: File removed.
57011 * scripts/config-uname.sh: New file.
57012 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57013 ($(objdir)config-name.h): New target.
57014
f2ac4868
RM
57015 * sunrpc/rpc_parse.h: Avoid nested comment.
57016
73f27d5e
RH
570172010-08-24 Richard Henderson <rth@redhat.com>
57018 Ulrich Drepper <drepper@redhat.com>
57019 H.J. Lu <hongjiu.lu@intel.com>
57020
57021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57022 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57023 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57024 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57025 _mm_alignr_epi8 with _mm_loadu_si128.
57026 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57027 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57028 (__m128i_shift_right): Removed.
57029 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57030 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57031 * sysdeps/x86_64/multiarch/varshift.h: New file.
57032 * sysdeps/x86_64/multiarch/varshift.S: New file.
57033
84b9230c
MF
570342010-08-21 Mike Frysinger <vapier@gentoo.org>
57035
57036 * configure.in: Move assembler checks to before sysdep dir checking.
57037
9bbd0ddc
PB
570382010-08-20 Petr Baudis <pasky@suse.cz>
57039
57040 * LICENSES: Sync the sunrpc license.
57041
9da4bb31
UD
570422010-08-19 Ulrich Drepper <drepper@redhat.com>
57043
a7ab6ec8
UD
57044 * sunrpc/auth_des.c: Update copyright notice once again.
57045 * sunrpc/auth_none.c: Likewise.
57046 * sunrpc/auth_unix.c: Likewise.
57047 * sunrpc/authdes_prot.c: Likewise.
57048 * sunrpc/authuxprot.c: Likewise.
57049 * sunrpc/bindrsvprt.c: Likewise.
57050 * sunrpc/clnt_gen.c: Likewise.
57051 * sunrpc/clnt_perr.c: Likewise.
57052 * sunrpc/clnt_raw.c: Likewise.
57053 * sunrpc/clnt_simp.c: Likewise.
57054 * sunrpc/clnt_tcp.c: Likewise.
57055 * sunrpc/clnt_udp.c: Likewise.
57056 * sunrpc/clnt_unix.c: Likewise.
57057 * sunrpc/des_crypt.c: Likewise.
57058 * sunrpc/des_soft.c: Likewise.
57059 * sunrpc/get_myaddr.c: Likewise.
57060 * sunrpc/getrpcport.c: Likewise.
57061 * sunrpc/key_call.c: Likewise.
57062 * sunrpc/key_prot.c: Likewise.
57063 * sunrpc/openchild.c: Likewise.
57064 * sunrpc/pm_getmaps.c: Likewise.
57065 * sunrpc/pm_getport.c: Likewise.
57066 * sunrpc/pmap_clnt.c: Likewise.
57067 * sunrpc/pmap_prot.c: Likewise.
57068 * sunrpc/pmap_prot2.c: Likewise.
57069 * sunrpc/pmap_rmt.c: Likewise.
57070 * sunrpc/rpc/auth.h: Likewise.
57071 * sunrpc/rpc/auth_unix.h: Likewise.
57072 * sunrpc/rpc/clnt.h: Likewise.
57073 * sunrpc/rpc/des_crypt.h: Likewise.
57074 * sunrpc/rpc/key_prot.h: Likewise.
57075 * sunrpc/rpc/netdb.h: Likewise.
57076 * sunrpc/rpc/pmap_clnt.h: Likewise.
57077 * sunrpc/rpc/pmap_prot.h: Likewise.
57078 * sunrpc/rpc/pmap_rmt.h: Likewise.
57079 * sunrpc/rpc/rpc.h: Likewise.
57080 * sunrpc/rpc/rpc_des.h: Likewise.
57081 * sunrpc/rpc/rpc_msg.h: Likewise.
57082 * sunrpc/rpc/svc.h: Likewise.
57083 * sunrpc/rpc/svc_auth.h: Likewise.
57084 * sunrpc/rpc/types.h: Likewise.
57085 * sunrpc/rpc/xdr.h: Likewise.
57086 * sunrpc/rpc_clntout.c: Likewise.
57087 * sunrpc/rpc_cmsg.c: Likewise.
57088 * sunrpc/rpc_common.c: Likewise.
57089 * sunrpc/rpc_cout.c: Likewise.
57090 * sunrpc/rpc_dtable.c: Likewise.
57091 * sunrpc/rpc_hout.c: Likewise.
57092 * sunrpc/rpc_main.c: Likewise.
57093 * sunrpc/rpc_parse.c: Likewise.
57094 * sunrpc/rpc_parse.h: Likewise.
57095 * sunrpc/rpc_prot.c: Likewise.
57096 * sunrpc/rpc_sample.c: Likewise.
57097 * sunrpc/rpc_scan.c: Likewise.
57098 * sunrpc/rpc_scan.h: Likewise.
57099 * sunrpc/rpc_svcout.c: Likewise.
57100 * sunrpc/rpc_tblout.c: Likewise.
57101 * sunrpc/rpc_util.c: Likewise.
57102 * sunrpc/rpc_util.h: Likewise.
57103 * sunrpc/rpcinfo.c: Likewise.
57104 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57105 * sunrpc/rpcsvc/key_prot.x: Likewise.
57106 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57107 * sunrpc/rpcsvc/mount.x: Likewise.
57108 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57109 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57110 * sunrpc/rpcsvc/rex.x: Likewise.
57111 * sunrpc/rpcsvc/rstat.x: Likewise.
57112 * sunrpc/rpcsvc/rusers.x: Likewise.
57113 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57114 * sunrpc/rpcsvc/spray.x: Likewise.
57115 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57116 * sunrpc/rtime.c: Likewise.
57117 * sunrpc/svc.c: Likewise.
57118 * sunrpc/svc_auth.c: Likewise.
57119 * sunrpc/svc_authux.c: Likewise.
57120 * sunrpc/svc_raw.c: Likewise.
57121 * sunrpc/svc_run.c: Likewise.
57122 * sunrpc/svc_simple.c: Likewise.
57123 * sunrpc/svc_tcp.c: Likewise.
57124 * sunrpc/svc_udp.c: Likewise.
57125 * sunrpc/svc_unix.c: Likewise.
57126 * sunrpc/svcauth_des.c: Likewise.
57127 * sunrpc/xcrypt.c: Likewise.
57128 * sunrpc/xdr.c: Likewise.
57129 * sunrpc/xdr_array.c: Likewise.
57130 * sunrpc/xdr_float.c: Likewise.
57131 * sunrpc/xdr_mem.c: Likewise.
57132 * sunrpc/xdr_rec.c: Likewise.
57133 * sunrpc/xdr_ref.c: Likewise.
57134 * sunrpc/xdr_sizeof.c: Likewise.
57135 * sunrpc/xdr_stdio.c: Likewise.
57136
9da4bb31
UD
57137 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57138 handling.
57139
bdaa77bc
AS
571402010-08-19 Andreas Schwab <schwab@redhat.com>
57141
57142 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57143
fe2f79db
LM
571442010-08-19 Luis Machado <luisgpm@br.ibm.com>
57145
57146 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57147 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57148 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57149 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57150 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57151 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57152 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57153 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57154 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57155 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57156 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57157 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57158 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57159 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57160
b9b42ee0
AB
571612010-07-26 Anton Blanchard <anton@samba.org>
57162
57163 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57164 * malloc/arena.c (heap_trim): Likewise.
57165
1c06ba31
UD
571662010-08-16 Ulrich Drepper <drepper@redhat.com>
57167
57168 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57169 here. Not...
57170 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57171 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57172
f8392f40
L
571732010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57174
57175 * sysdeps/i386/elf/Makefile: New file.
57176
3162f12e
AS
571772010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57178
57179 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57180 from fanotify_init.
57181 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57182 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57183
28c90b2c
UD
571842010-08-15 Ulrich Drepper <drepper@redhat.com>
57185
57186 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57187 of strncasecmp_l.
1feccb6c 57188 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 57189
ca6bb004
UD
571902010-08-14 Ulrich Drepper <drepper@redhat.com>
57191
e9f82e0d
UD
57192 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57193 strncase_l-nonascii.
57194 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57195 Add strncase_l-ssse3.
57196 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57197 * sysdeps/x86_64/strcmp.S: Likewise.
57198 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57199 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57200 * sysdeps/x86_64/strncase.S: New file.
57201 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57202 * sysdeps/x86_64/strncase_l.S: New file.
57203 * string/Makefile (strop-tests): Add strncasecmp.
57204 * string/test-strncasecmp.c: New file.
57205
57206 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57207 warning.
57208
ca6bb004
UD
57209 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57210 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57211
052fa7b3
AS
572122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57213
57214 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57215
962dba78
UD
572162010-08-12 Ulrich Drepper <drepper@redhat.com>
57217
57218 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57219 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57220 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57221
bebff237
AM
572222010-05-01 Alan Modra <amodra@gmail.com>
57223
57224 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57225 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57226 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57227 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57228 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57229 tidying. Don't tail-call __sigjmp_save for static lib.
57230 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57231 save location.
57232 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57233 (CALL_MCOUNT): Add eh info, and nop after bl.
57234 (TAIL_CALL_SYSCALL_ERROR): New macro.
57235 (PSEUDO_RET): Use it.
57236 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57237 Correct save location of integer regs and cr.
57238 (_dl_profile_resolve): Correct cr save location. Delete nops
57239 after bl when SHARED. Reduce cfi size a little by better
57240 placement of cfi directives.
57241 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57242 make a stack frame. Instead use parm save area as a temp.
57243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57244 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57246 Don't make a stack frame for parent, use parm save area.
57247 Increase child stack frame to 112 bytes. Don't save unused reg,
57248 and adjust reg usage. Set up cfi on error recovery and
57249 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57251 (__makecontext): Add dummy nop after jump to exit.
57252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57253 Use correct parm save area and cr save, reduce stack frame.
57254 Correct cfi for possible PSEUDO_RET frame setup.
57255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57256 Branch to local label emitted by PSEUDO_RET rather than
57257 __syscall_error.
57258
02637374
AS
572592010-08-12 Andreas Schwab <schwab@redhat.com>
57260
57261 [BZ #11904]
57262 * locale/programs/locale.c (print_assignment): New function.
57263 (show_locale_vars): Use it.
57264
c3e2f19b
UD
572652010-08-11 Ulrich Drepper <drepper@redhat.com>
57266
3cdaa6ad
UD
57267 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57268 field.
57269 (struct statfs64): Likewise.
57270 (_STATFS_F_FLAGS): Define.
57271 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57272 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57273 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57274 (ST_VALID): Define locally.
57275 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57276 __statvfs_getflags, use the provided value.
57277 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57278 __ASSUME_STATFS_F_FLAGS.
57279
754f7da3
UD
57280 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57281
10b3bedc
UD
57282 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57283 Add sys/fanotify.h.
57284 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57285 fanotify_mask for GLIBC_2.13.
57286 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57287 fanotify_init and fanotify_mark.
57288 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57289 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57290
c08fb0d7
UD
57291 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57292 Add prlimit.
57293 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57294 prlimit64 for GLIBC_2.13.
57295 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57296 prlimit64.
57297 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57298 syscall.
57299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57300 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57301 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57302 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57303 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57304 add prlimit alias.
57305 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57306
15bac72b
UD
57307 [BZ #11903]
57308 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57309 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57310
c3e2f19b
UD
57311 * nss/Makefile: Add rules to build and run tst-nss-test1.
57312 * shlib-versions: Add entry for libnss_test1.
57313 * nss/nss_test1.c: New file.
57314 * nss/tst-nss-test1.c: New file.
57315
57316 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57317 (__nss_configure_lookup): Set appropriate entry in
57318 __nss_configure_lookup to true.
57319 * nss/nsswitch.h: Define enum with indeces of databases in
57320 databases and __nss_database_custom arrays. Declare
57321 __nss_database_custom.
57322 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57323 to avoid using nscd when custom rules are installed.
57324 * nss/getXXbyYY_r.c: Likewise.
57325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57326
57327 * nss/nss_files/files-parse.c: Whitespace fixes.
57328
f15ce4d8
UD
573292010-08-09 Ulrich Drepper <drepper@redhat.com>
57330
57331 [BZ #11883]
57332 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57333 * posix/fnmatch_loop.c: Likewise.
57334
d22e4cc9
AK
573352010-07-17 Andi Kleen <ak@linux.intel.com>
57336
57337 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57338 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57339 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57340 * Versions.def [GLIBC_2.13]: Add.
57341
805bc17d
UD
573422010-08-06 Ulrich Drepper <drepper@redhat.com>
57343
57344 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57345 Also fail if tpwd after pwuid call is NULL.
57346
5a42321d
ST
573472010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57348
57349 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57350 when converting to ms.
57351
fd3ebeda
ST
573522010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57353
57354 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57355 EOPNOTSUPP errors with ENOTTY.
57356 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57357 EOPNOTSUPP errors with ENOTTY.
57358
73507d3a
UD
573592010-07-31 Ulrich Drepper <drepper@redhat.com>
57360
57361 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57362 Add strcasecmp_l-ssse3.
57363 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57364 strcasecmp.
57365 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57366 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57367 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57368
fe36dd02
UD
573692010-07-30 Ulrich Drepper <drepper@redhat.com>
57370
66f6765a
UD
57371 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57372
42e08a54
UD
57373 * string/Makefile (strop-tests): Add strcasecmp.
57374 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57375 strcasecmp_l-nonascii.
57376 (gen-as-const-headers): Add locale-defines.sym.
57377 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57378 * sysdeps/x86_64/strcasecmp.S: New file.
57379 * sysdeps/x86_64/strcasecmp_l.S: New file.
57380 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57381 * sysdeps/x86_64/locale-defines.sym: New file.
57382 * string/test-strcasecmp.c: New file.
57383
fe36dd02
UD
57384 * string/test-strcasestr.c: Test both ends of the range of characters.
57385 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57386
48cbc0d6
RM
573872010-07-29 Roland McGrath <roland@redhat.com>
57388
76e6d6bc 57389 [BZ #11856]
48cbc0d6
RM
57390 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57391
880113d9
UD
573922010-07-27 Ulrich Drepper <drepper@redhat.com>
57393
57394 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57395 for ld.so.
57396
deb9cabb
AS
573972010-07-27 Andreas Schwab <schwab@redhat.com>
57398
57399 * manual/memory.texi (Malloc Tunable Parameters): Document
57400 M_PERTURB.
57401
1c7570ff
RM
574022010-07-26 Roland McGrath <roland@redhat.com>
57403
57404 [BZ #11840]
57405 * configure.in (-fgnu89-inline check): Set and substitute
57406 gnu89_inline, not libc_cv_gnu89_inline.
57407 * configure: Regenerated.
57408 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57409
24fb0f88
UD
574102010-07-26 Ulrich Drepper <drepper@redhat.com>
57411
57412 * string/test-strnlen.c: New file.
57413 * string/Makefile (strop-tests): Add strnlen.
57414 * string/tester.c (test_strnlen): Add a few more test cases.
57415 * string/tst-strlen.c: Better error reporting.
57416
57417 * sysdeps/x86_64/strnlen.S: New file.
57418
8e96b93a
UD
574192010-07-24 Ulrich Drepper <drepper@redhat.com>
57420
57421 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57422 lower-latency instructions.
57423
dbc676d4
UD
574242010-07-23 Ulrich Drepper <drepper@redhat.com>
57425
57426 * string/test-strcasestr.c: New file.
57427 * string/test-strstr.c: New file.
57428 * string/Makefile (strop-tests): Add strstr and strcasestr.
57429 * string/str-two-way.h: Don't undefine MAX.
57430 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57431
f6a31e0e
AS
574322010-07-21 Andreas Schwab <schwab@redhat.com>
57433
57434 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57435 strcasestr-nonascii.
57436 (CFLAGS-strcasestr-nonascii.c): Define.
57437 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57438 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57439 Remove unused attribute.
57440
5dbc3b6c
RM
574412010-07-20 Roland McGrath <roland@redhat.com>
57442
57443 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57444 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57445 ld.so.cache was broken. With it, there is no way to disable dsocaps
57446 like LD_HWCAP_MASK can disable hwcaps.
57447
23d101d8
EPM
574482010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57449
57450 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57451
cc9f2e47
UD
574522010-07-16 Ulrich Drepper <drepper@redhat.com>
57453
57454 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57455 call in strcasestr.
57456 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57457 __strcasestr_sse42_nonascii.
57458 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57459 strcasestr-nonascii.c.
57460 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57461
77c1b069
LM
574622010-06-15 Luis Machado <luisgpm@br.ibm.com>
57463
57464 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57465 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57466 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57467 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57468
440566c3
UD
574692010-07-09 Ulrich Drepper <drepper@redhat.com>
57470
57471 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57472 fcntl.
57473
5be9d05d
AS
574742010-07-06 Andreas Schwab <schwab@redhat.com>
57475
c30b7ee2 57476 [BZ #11577]
5be9d05d
AS
57477 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57478 dl_signal_cerror.
57479
8a492a67
UD
574802010-07-06 Ulrich Drepper <drepper@redhat.com>
57481
57482 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57483 _PC_PIPE_BUF using F_GETPIPE_SZ.
57484
713df3d5
RM
574852010-07-05 Roland McGrath <roland@redhat.com>
57486
57487 * manual/arith.texi (Rounding Functions): Fix rint description
57488 implicit in round description.
57489
702e8f14
UD
574902010-07-02 Ulrich Drepper <drepper@redhat.com>
57491
57492 * elf/Makefile: Fix linking for a few tests to make recent linker
57493 happy.
57494
52ed8be9
AS
574952010-06-30 Andreas Schwab <schwab@redhat.com>
57496
57497 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57498 $(common-objpfx)libc_nonshared.a.
57499
f47c9a11
LM
575002010-06-21 Luis Machado <luisgpm@br.ibm.com>
57501
57502 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57503 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57504 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57505 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57506 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57507 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57508 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57509 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57524 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57525 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57526 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57527 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57528 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57529 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57530 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57531 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57532 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57533 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57534 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57535 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57550
6fb8cbcb
L
575512010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57552
57553 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57554 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57555 * string/memmove.c (memmove): Renamed to ...
57556 (MEMMOVE): ...this. Default to memmove.
57557 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57558 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57559 (END_CHK): Define.
57560 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57561 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57562 mempcpy-ssse3-back memmove-ssse3-back.
57563 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57564 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57565 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57566 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57567 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57568 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57569 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57570 * sysdeps/x86_64/multiarch/memmove.c: New file.
57571 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57572 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57573 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57574 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57575 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57576 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57577 Define.
57578 (index_Fast_Copy_Backward): Define.
57579 (HAS_ARCH_FEATURE): Define.
57580 (HAS_FAST_REP_STRING): Define.
57581 (HAS_FAST_COPY_BACKWARD): Define.
57582
4e733bac 575832010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
57584
57585 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57586 Restore proper fallback handling.
57587
63c4ed22
UD
575882010-06-19 Ulrich Drepper <drepper@redhat.com>
57589
ac2b484c
UD
57590 [BZ #11701]
57591 * posix/group_member.c (__group_member): Correct checking loop.
57592
63c4ed22
UD
57593 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57594 OOM in getpwuid_r correctly. Return error number when the caller
57595 should return, otherwise -1.
57596 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57597 call returning > 0 value.
57598 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57599
765ade4b
AS
576002010-06-07 Andreas Schwab <schwab@redhat.com>
57601
57602 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57603 libc_nonshared.a from targets in modules-names.
57604
80da2e09
KS
576052010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57606
57607 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57608 requires it.
57609
158db122
LM
576102010-06-10 Luis Machado <luisgpm@br.ibm.com>
57611
57612 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57613 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57614 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57615 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57616
caa78cf8
AS
576172010-06-02 Andreas Schwab <schwab@redhat.com>
57618
57619 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57620
b2ef2c01
UD
576212010-06-14 Ulrich Drepper <drepper@redhat.com>
57622
57623 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57624 and F_GETPIPE_SZ.
57625 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57626 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57627 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57629 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57630 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57631
fbd643b6
RM
576322010-06-14 Roland McGrath <roland@redhat.com>
57633
57634 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57635
f32f2869
JJ
576362010-06-07 Jakub Jelinek <jakub@redhat.com>
57637
57638 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57639 __REDIRECT followed by __THROW.
57640 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57641 * posix/getopt.h (getopt): Likewise.
57642
2a50c078
EPM
576432010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57644
57645 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57646 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57647 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57648 in AT_FLAGS.
57649 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57650 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57651
eb5ad2eb
LM
576522010-05-28 Luis Machado <luisgpm@br.ibm.com>
57653
57654 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57655
3c88fe1e
L
576562010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57657
57658 [BZ #11640]
57659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57660 Properly check family and model.
57661
d2f73151
TY
576622010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57663
57664 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57665
ebd2e13d
LM
576662010-05-24 Luis Machado <luisgpm@br.ibm.com>
57667
57668 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57669
b32b8b45
UD
576702010-05-21 Ulrich Drepper <drepper@redhat.com>
57671
57672 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57673 symbol reference.
57674
9acbe24d
AS
576752010-05-19 Andreas Schwab <schwab@redhat.com>
57676
57677 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57678 symbol reference.
57679
f0ccf6ea
AS
576802010-05-21 Andreas Schwab <schwab@redhat.com>
57681
3d04ff3a
AS
57682 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57683 and internal_recvmmsg.
57684 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57685 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57686 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57687 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57688
f0ccf6ea
AS
57689 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57690 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57691 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57692
5b08ac57
AS
576932010-05-20 Andreas Schwab <schwab@redhat.com>
57694
57695 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57696
4828935d
LM
576972010-05-17 Luis Machado <luisgpm@br.ibm.com>
57698
57699 POWER7 optimizations.
57700 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57701 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57702
373d545e
UD
577032010-05-19 Ulrich Drepper <drepper@redhat.com>
57704
57705 * version.h: Update for 2.13 development version.
57706
21a2b1ae
AS
577072010-05-12 Andrew Stubbs <ams@codesourcery.com>
57708
57709 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57710 exceptions. Return 0.
57711
3f7dcb2b
RM
577122010-05-07 Roland McGrath <roland@redhat.com>
57713
57714 * elf/ldconfig.c (main): Add a const.
57715
5f24d53a 577162010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 57717
a160f8d8
UD
57718 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57719 (args_options): Add no-idn option.
57720 (ahosts_keys_int): Add idn_flags to ai_flags.
57721 (parse_option): Handle 'i' option to clear idn_flags.
57722
5f24d53a
UD
57723 * malloc/malloc.c (_int_free): Possible race in the most recently
57724 added check. Only act on the data if no current modification
57725 happened.
265bb1ce
UD
57726
57727See ChangeLog.17 for earlier changes.