diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-10-30 08:36:08 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-10-30 08:36:08 +0000 |
commit | 14d6cf09f6eea18061f270bc33e9eb4ffc6a8fcf (patch) | |
tree | da6182524655c068ce60946f44533c88c0456558 /bfd/configure | |
parent | 21efaa2a517c3316e3900c605f608ec9b83e01b9 (diff) | |
download | binutils-redhat-14d6cf09f6eea18061f270bc33e9eb4ffc6a8fcf.tar.gz |
Add Linux/x86_64 core support to i[3-7]86-*-linux
* configure.in: Set CORE_HEADER to hosts/x86-64linux.h for
'i[3-7]86-*-linux-*' if x86_64-*linux is enabled.
* configure: Regenerated.
* elf64-x86-64.c (elf_x86_64_write_core_note): Replace type
'prpsinfo_t' and 'prstatus_t' with 'prpsinfo64_t' and
'prstatus64_t' respectively.
* hosts/x86-64linux.h (a8_uint64_t): New.
(user_regsx32_struct): Renamed to ...
(user_regs64_struct): This. Replace uint64_t with a8_uint64_t.
(elf_gregx32_t): Renamed to ...
(elf_greg64_t): This. Replace uint64_t with a8_uint64_t.
(ELF_NGREGX32): Removed.
(ELF_NGREG64): New.
(elf_gregx32_t): Removed.
(elf_greg64_t): New.
(struct prstatus64_timeval): New.
(elf_prstatusx32): Replace elf_gregsetx32_t with elf_gregset64_t.
(elf_prstatus64): New.
(elf_prpsinfo64): New.
(prstatus64_t, prpsinfo64_t): New typedef.
Diffstat (limited to 'bfd/configure')
-rwxr-xr-x | bfd/configure | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/configure b/bfd/configure index fdf5356bc0..427e5c10cd 100755 --- a/bfd/configure +++ b/bfd/configure @@ -13927,6 +13927,10 @@ if test "${target}" = "${host}"; then i[3-7]86-*-linux-*) COREFILE=trad-core.lo TRAD_HEADER='"hosts/i386linux.h"' + case "$enable_targets" in + *x86_64-*linux*) + CORE_HEADER='"hosts/x86-64linux.h"' + esac ;; i[3-7]86-*-isc*) COREFILE=trad-core.lo ;; i[3-7]86-*-aix*) COREFILE=aix386-core.lo ;; |