aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-10-30 08:36:10 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-10-30 08:36:10 +0000
commitb1bd052dee559a2b5f09a0e8b1e4d4e45d38f39f (patch)
tree14c7f8d9fe4186487022ff4647ef1eb67e28cd55 /bfd/configure
parentf3f8840bbd73ad7466eb9cd00756d7313dcef45a (diff)
downloadgdb-b1bd052dee559a2b5f09a0e8b1e4d4e45d38f39f.zip
gdb-b1bd052dee559a2b5f09a0e8b1e4d4e45d38f39f.tar.gz
gdb-b1bd052dee559a2b5f09a0e8b1e4d4e45d38f39f.tar.bz2
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-xbfd/configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/configure b/bfd/configure
index fdf5356..427e5c1 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 ;;