aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure.ac
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.ac
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.ac')
-rw-r--r--bfd/configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/configure.ac b/bfd/configure.ac
index 2497131..cc446e1 100644
--- a/bfd/configure.ac
+++ b/bfd/configure.ac
@@ -428,7 +428,7 @@ changequote([,])dnl
COREFILE=lynx-core.lo
;;
changequote(,)dnl
- rs6000-*-aix[5-9].* | powerpc-*-aix[5-9].*)
+ rs6000-*-aix[5-9].* | powerpc-*-aix[5-9].* | powerpc64-*-aix[5-9].*)
changequote([,])dnl
COREFILE=rs6000-core.lo
COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
@@ -447,6 +447,7 @@ changequote([,])dnl
;;
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*) ;;