aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-03-20 21:13:59 +0000
committerKen Raeburn <raeburn@cygnus>1994-03-20 21:13:59 +0000
commitc37f6138d4ddd445f69cfc8299ae41a91d3a2978 (patch)
tree13a340e3499ba90e61c88c0ad5375f6e499bf6f6 /gas/config
parent3680de746a3327deff4f6463c2f4bc3662a6a29f (diff)
downloadgdb-c37f6138d4ddd445f69cfc8299ae41a91d3a2978.zip
gdb-c37f6138d4ddd445f69cfc8299ae41a91d3a2978.tar.gz
gdb-c37f6138d4ddd445f69cfc8299ae41a91d3a2978.tar.bz2
* Makefile.in (config-stamp): If `defs' is defined, emit a preprocessor
directive to create a macro named by this value into config.new; don't explicitly go for BFD_ASSEMBLER. * configure.in: Define `defs', not `BFDDEF'. Set it to MANY_SEGMENTS for any obj-coffbfd target. * config/obj-coffbfd.h (BFD_HEADERS, BFD): Define. * config/i386coff.mt (TDEFINES): Don't define BFD, MANY_SEGMENTS, BFD_HEADERS. (LOCAL_LOADLIBES): Deleted. * config/m68kcoff.mt (TDEFINES): Don't define those macros. * config/m88kcoff.mt (TDEFINES): Ditto. * config/ebmon29k.mt: Deleted. * config/h8300hds.mt: Deleted. * config/ic960coff.mt: Deleted. * config/sparc.mt: Deleted. * config/h8300.mt (LOCAL_LOADLIBES, TDEFINES): Deleted. * config/h8500.mt (LOCAL_LOADLIBES, TDEFINES): Deleted. * config/sh.mt (LOCAL_LOADLIBES, TDEFINES): Deleted. * config/z8k.mt (LOCAL_LOADLIBES): Deleted. (TDEFINES): Don't define the coffbfd macros. * Makefile.in: Insert makefile fragments before OBJS definition. (OBJS): Add $(TE_OBJS).
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/ebmon29k.mt6
-rw-r--r--gas/config/h8300.mt2
-rw-r--r--gas/config/h8300hds.mt4
-rw-r--r--gas/config/h8500.mt2
-rw-r--r--gas/config/i386coff.mt3
-rw-r--r--gas/config/ic960coff.mt1
-rw-r--r--gas/config/m68kcoff.mt2
-rw-r--r--gas/config/m88kcoff.mt2
-rw-r--r--gas/config/obj-coffbfd.h3
-rw-r--r--gas/config/sh.mt2
-rw-r--r--gas/config/sparc.mt1
-rw-r--r--gas/config/z8k.mt3
12 files changed, 7 insertions, 24 deletions
diff --git a/gas/config/ebmon29k.mt b/gas/config/ebmon29k.mt
deleted file mode 100644
index fb7d332..0000000
--- a/gas/config/ebmon29k.mt
+++ /dev/null
@@ -1,6 +0,0 @@
-TARG_CPU_DEPENDENTS=
-LOCAL_LOADLIBES=../bfd$(subdir)/libbfd.a ../libiberty$(subdir)/libiberty.a
-TDEFINES=-DBFD_HEADERS -DMANY_SEGMENTS -DBFD
-
-
-
diff --git a/gas/config/h8300.mt b/gas/config/h8300.mt
index e2ce39f..b45ae58 100644
--- a/gas/config/h8300.mt
+++ b/gas/config/h8300.mt
@@ -1,3 +1 @@
TARG_CPU_DEPENDENTS=$(srcdir)/../include/opcode/h8300.h
-LOCAL_LOADLIBES=../bfd/libbfd.a
-TDEFINES=-DBFD_HEADERS -DMANY_SEGMENTS -DBFD
diff --git a/gas/config/h8300hds.mt b/gas/config/h8300hds.mt
deleted file mode 100644
index 1e6eb3c..0000000
--- a/gas/config/h8300hds.mt
+++ /dev/null
@@ -1,4 +0,0 @@
-TARG_CPU_DEPENDENTS=$(srcdir)/../include/h8300-opcode.h
-LOCAL_LOADLIBES=$(srcdir)/../bfd/$(srcdir)/libbfd.a
-TDEFINES=-DBFD -DMANY_SEGMENTS
-
diff --git a/gas/config/h8500.mt b/gas/config/h8500.mt
index e990aeb..6bd5464 100644
--- a/gas/config/h8500.mt
+++ b/gas/config/h8500.mt
@@ -1,3 +1 @@
TARG_CPU_DEPENDENTS=$(srcdir)/../opcodes/h8500-opc.h
-LOCAL_LOADLIBES=../bfd/libbfd.a
-TDEFINES=-DBFD_HEADERS -DMANY_SEGMENTS -DBFD
diff --git a/gas/config/i386coff.mt b/gas/config/i386coff.mt
index 940e703..f44b9a4 100644
--- a/gas/config/i386coff.mt
+++ b/gas/config/i386coff.mt
@@ -1,3 +1,2 @@
TARG_CPU_DEPENDENTS=$(srcdir)/../include/opcode/i386.h
-LOCAL_LOADLIBES=../bfd/libbfd.a
-TDEFINES=-DBFD_HEADERS -DMANY_SEGMENTS -DBFD -DI386COFF
+TDEFINES=-DI386COFF
diff --git a/gas/config/ic960coff.mt b/gas/config/ic960coff.mt
deleted file mode 100644
index 33a4437..0000000
--- a/gas/config/ic960coff.mt
+++ /dev/null
@@ -1 +0,0 @@
-TDEFINES=-DBFD_HEADERS -DMANY_SECTIONS -DBFD
diff --git a/gas/config/m68kcoff.mt b/gas/config/m68kcoff.mt
index 6d0710c..79bcbfe 100644
--- a/gas/config/m68kcoff.mt
+++ b/gas/config/m68kcoff.mt
@@ -1,2 +1,2 @@
TARG_CPU_DEPENDENTS=$(srcdir)/../include/opcode/m68k.h
-TDEFINES=-DBFD_HEADERS -DMANY_SEGMENTS -DBFD -DM68KCOFF
+TDEFINES=-DM68KCOFF
diff --git a/gas/config/m88kcoff.mt b/gas/config/m88kcoff.mt
index e244e00..3733266 100644
--- a/gas/config/m88kcoff.mt
+++ b/gas/config/m88kcoff.mt
@@ -1,2 +1,2 @@
TARG_CPU_DEPENDENTS=$(srcdir)/config/m88k-opcode.h
-TDEFINES=-DBFD_HEADERS -DMANY_SEGMENTS -DBFD -DM88KCOFF
+TDEFINES=-DM88KCOFF
diff --git a/gas/config/obj-coffbfd.h b/gas/config/obj-coffbfd.h
index f7b9155..80d4523 100644
--- a/gas/config/obj-coffbfd.h
+++ b/gas/config/obj-coffbfd.h
@@ -28,6 +28,9 @@
/* By default we omit the optional aouthdr. */
#define OBJ_COFF_OMIT_OPTIONAL_HEADER
+#define BFD_HEADERS
+#define BFD
+
#include "targ-cpu.h"
#include "bfd.h"
diff --git a/gas/config/sh.mt b/gas/config/sh.mt
index e990aeb..6bd5464 100644
--- a/gas/config/sh.mt
+++ b/gas/config/sh.mt
@@ -1,3 +1 @@
TARG_CPU_DEPENDENTS=$(srcdir)/../opcodes/h8500-opc.h
-LOCAL_LOADLIBES=../bfd/libbfd.a
-TDEFINES=-DBFD_HEADERS -DMANY_SEGMENTS -DBFD
diff --git a/gas/config/sparc.mt b/gas/config/sparc.mt
deleted file mode 100644
index db805f1..0000000
--- a/gas/config/sparc.mt
+++ /dev/null
@@ -1 +0,0 @@
-LOCAL_LOADLIBES=../bfd/libbfd.a
diff --git a/gas/config/z8k.mt b/gas/config/z8k.mt
index 2c79710..4946aa5 100644
--- a/gas/config/z8k.mt
+++ b/gas/config/z8k.mt
@@ -1,3 +1,2 @@
TARG_CPU_DEPENDENTS=$(srcdir)/../opcodes/z8k-opc.h
-LOCAL_LOADLIBES=../bfd/libbfd.a
-TDEFINES=-DBFD_HEADERS -DMANY_SEGMENTS -DBFD -DSINGLE_QUOTE_STRINGS
+TDEFINES=-DSINGLE_QUOTE_STRINGS