diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-04-10 22:21:31 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-04-10 22:21:31 +0000 |
commit | 8bc7f13859ce8eec0e30e27d7dc854a1fef0c04a (patch) | |
tree | 254231ffcc7d9010b3dcf58542de732dbf3134bf /bfd/configure.in | |
parent | 092d84761e7d020e4ff3a9eeea83cc5e90c2ff36 (diff) | |
download | gdb-8bc7f13859ce8eec0e30e27d7dc854a1fef0c04a.zip gdb-8bc7f13859ce8eec0e30e27d7dc854a1fef0c04a.tar.gz gdb-8bc7f13859ce8eec0e30e27d7dc854a1fef0c04a.tar.bz2 |
Support 32bit core note sections on Linux/x86-64.
2010-04-10 H.J. Lu <hongjiu.lu@intel.com>
PR corefiles/11467
* configure.in (CORE_HEADER): New. Set to hosts/x86-64linux.h
for x86_64-*-linux*.
* config.in: Regenerated.
* configure: Likewise.
* elf.c: Include CORE_HEADER if it is defined.
2010-04-10 H.J. Lu <hongjiu.lu@intel.com>
Jan Kratochvil <jan.kratochvil@redhat.com>
* hosts/x86-64linux.h: New.
Diffstat (limited to 'bfd/configure.in')
-rw-r--r-- | bfd/configure.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/configure.in b/bfd/configure.in index dfbd0a2..28d5bdd 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -211,6 +211,7 @@ AM_ZLIB # If we are configured native, pick a core file support file. COREFILE= COREFLAG= +CORE_HEADER= TRAD_HEADER= if test "${target}" = "${host}"; then case "${host}" in @@ -443,6 +444,9 @@ changequote([,])dnl COREFILE=trad-core.lo TRAD_HEADER='"hosts/vaxbsd.h"' ;; + x86_64-*-linux*) + CORE_HEADER='"hosts/x86-64linux.h"' + ;; x86_64-*-netbsd* | x86_64-*-openbsd*) COREFILE=netbsd-core.lo ;; @@ -487,6 +491,10 @@ changequote([,])dnl fi AC_SUBST(COREFILE) AC_SUBST(COREFLAG) +if test -n "$CORE_HEADER"; then + AC_DEFINE_UNQUOTED(CORE_HEADER, $CORE_HEADER, + [Name of host specific core header file to include in elf.c.]) +fi if test -n "$TRAD_HEADER"; then AC_DEFINE_UNQUOTED(TRAD_HEADER, $TRAD_HEADER, [Name of host specific header file to include in trad-core.c.]) |