summaryrefslogtreecommitdiff
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
commit494b493dc0f907decb6e2c31c86b48432127ba6d (patch)
tree4332ba0c4e3cb69a6f9269be346bc9547dbfc117 /bfd/coff-pmac.c
parent8024825bae063f7b8fec3f4ce3447d6b93b402df (diff)
downloadbinutils-redhat-494b493dc0f907decb6e2c31c86b48432127ba6d.tar.gz
* 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 f3332d9895..0a550729d0 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"
+
+