aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure
diff options
context:
space:
mode:
authorSangamesh Mallayya <nickc@redhat.com>2015-10-27 10:30:29 +0000
committerNick Clifton <nickc@redhat.com>2015-10-27 10:30:29 +0000
commitd6867a7559ceb7380fc229f948fd5fd910404643 (patch)
treefdc77e32ab47e4a9ee741e1cd0e1f9db0e08fa40 /bfd/configure
parentef8e6722f2eaae6d65b360459451f57f1350d2af (diff)
downloadgdb-d6867a7559ceb7380fc229f948fd5fd910404643.zip
gdb-d6867a7559ceb7380fc229f948fd5fd910404643.tar.gz
gdb-d6867a7559ceb7380fc229f948fd5fd910404643.tar.bz2
Add support for 32-bit and 64-bit PowerPC AIX core files.
* configure.ac (powerpc64-*-aix[5-9].*): Match powerpc64 running aix for core file support. * configure: Regenerate. * rs6000-core.c: Check for __ld_info64 if compiling 64-bit gdb. Added BFD64 check if we are using old core file format for 32-bit gdb. Set sizeof CORE_COMMONSZ appropriately in case of either new or old core file format. (read_hdr): Added BFD64 check for 64-bit support. (rs6000coff_core_p): Likewise. (rs6000coff_core_file_matches_executable_p): Likewise. (rs6000coff_core_file_failing_command): Likewise. (rs6000coff_core_file_failing_signal): Likewise. Add support for debugging core files generated by binaries in Large Memory model. (rs6000coff_core_p): If Large Memory Model is used, then the .data segment should start from BDATAORG which has been defined in the system header files.
Diffstat (limited to 'bfd/configure')
-rwxr-xr-xbfd/configure3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/configure b/bfd/configure
index a17e936..0308aa5 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -14056,7 +14056,7 @@ if test "${target}" = "${host}"; then
rs6000-*-lynx*)
COREFILE=lynx-core.lo
;;
- rs6000-*-aix[5-9].* | powerpc-*-aix[5-9].*)
+ rs6000-*-aix[5-9].* | powerpc-*-aix[5-9].* | powerpc64-*-aix[5-9].*)
COREFILE=rs6000-core.lo
COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
;;
@@ -14092,6 +14092,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
;;
rs6000-*-aix4*) COREFILE=rs6000-core.lo ;;
rs6000-*-*) COREFILE=rs6000-core.lo ;;
+ powerpc64-*-aix*) COREFILE=rs6000-core.lo ;;
powerpc-*-aix4*) COREFILE=rs6000-core.lo ;;
powerpc-*-aix*) COREFILE=rs6000-core.lo ;;
powerpc-*-beos*) ;;