aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-pmac.c
diff options
context:
space:
mode:
authorClinton Popetz <cpopetz@cpopetz.com>2000-04-28 20:02:30 +0000
committerClinton Popetz <cpopetz@cpopetz.com>2000-04-28 20:02:30 +0000
commit14958a432dbf8acd11a54f9956a12290dc1ea6e2 (patch)
tree67dd622d93ed74573e41aca1a867cb19ba3a3c12 /bfd/coff-pmac.c
parentecefdb5878b01870163d09e527602474f2fbc08f (diff)
downloadgdb-14958a432dbf8acd11a54f9956a12290dc1ea6e2.zip
gdb-14958a432dbf8acd11a54f9956a12290dc1ea6e2.tar.gz
gdb-14958a432dbf8acd11a54f9956a12290dc1ea6e2.tar.bz2
* Makefile.am (BFD64_BACKENDS, BFD64_BACKENDS_CFILES): Add
coffdu-rs6000.{lo,c}. (coff-pmac.lo, coff-rs6000.lo, coff64-rs6000.lo): Add dependency on xcoff.h * Makefile.in: Regenerate. * xcoff.h: New file. * coff-pmac.c: Use xcoff.h instead of coff-rs6000.c. * coff-rs6000.c: Move all declarations and defines that are common to the xcoff backends into xcoff.h * coff64-rs6000.c: Ditto,
Diffstat (limited to 'bfd/coff-pmac.c')
-rw-r--r--bfd/coff-pmac.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/bfd/coff-pmac.c b/bfd/coff-pmac.c
index f3332d9..0a55072 100644
--- a/bfd/coff-pmac.c
+++ b/bfd/coff-pmac.c
@@ -17,11 +17,20 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#define TARGET_SYM pmac_xcoff_vec
-#define TARGET_NAME "xcoff-powermac"
/* Tweak coffcode.h based on this being a PowerMac instead of RS/6000. */
#define POWERMAC
-#include "coff-rs6000.c"
+#define TARGET_SYM pmac_xcoff_vec
+#define TARGET_NAME "xcoff-powermac"
+
+#include "bfd.h"
+#include "sysdep.h"
+#include "libbfd.h"
+#include "coff/internal.h"
+#include "coff/rs6000.h"
+#include "libcoff.h"
+#include "xcoff.h"
+
+