* Makefile.in (config-stamp): If `defs' is defined, emit a preprocessor
authorKen Raeburn <raeburn@cygnus>
Sun, 20 Mar 1994 21:13:59 +0000 (21:13 +0000)
committerKen Raeburn <raeburn@cygnus>
Sun, 20 Mar 1994 21:13:59 +0000 (21:13 +0000)
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).

13 files changed:
gas/ChangeLog
gas/config/ebmon29k.mt [deleted file]
gas/config/h8300.mt
gas/config/h8300hds.mt [deleted file]
gas/config/h8500.mt
gas/config/i386coff.mt
gas/config/ic960coff.mt [deleted file]
gas/config/m68kcoff.mt
gas/config/m88kcoff.mt
gas/config/obj-coffbfd.h
gas/config/sh.mt
gas/config/sparc.mt [deleted file]
gas/config/z8k.mt

index 609ad00453a530450058867f1e59f57d397c10aa..764835f40cd73df47ec2bc517b470179d58832cb 100644 (file)
@@ -1,5 +1,29 @@
 Sun Mar 20 14:43:14 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
 
+       * 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,
+       or 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).
+
        * config/obj-coff.c (obj_pseudo_table): Supply "section"
        unconditionally.
 
diff --git a/gas/config/ebmon29k.mt b/gas/config/ebmon29k.mt
deleted file mode 100644 (file)
index fb7d332..0000000
+++ /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
-
-
-
index e2ce39f6c54cb52e838a2509c171822634c820f8..b45ae5864fcbafd40a9356ffdec8226ba7029171 100644 (file)
@@ -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 (file)
index 1e6eb3c..0000000
+++ /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
-
index e990aebe21d74c3c329e777d45de1947706ef787..6bd546411084eed0fdef56bbb2e0d2a6ef059353 100644 (file)
@@ -1,3 +1 @@
 TARG_CPU_DEPENDENTS=$(srcdir)/../opcodes/h8500-opc.h
-LOCAL_LOADLIBES=../bfd/libbfd.a
-TDEFINES=-DBFD_HEADERS -DMANY_SEGMENTS -DBFD
index 940e7039522e4330ef739555f2c1c68cf5935368..f44b9a4859f9b266d85704401d2211ae6dc52a72 100644 (file)
@@ -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 (file)
index 33a4437..0000000
+++ /dev/null
@@ -1 +0,0 @@
-TDEFINES=-DBFD_HEADERS -DMANY_SECTIONS -DBFD
index 6d0710c3b60586dcc0069fafdb43eb51c6dbde02..79bcbfedac527cf43776036185259e501704cea1 100644 (file)
@@ -1,2 +1,2 @@
 TARG_CPU_DEPENDENTS=$(srcdir)/../include/opcode/m68k.h
-TDEFINES=-DBFD_HEADERS -DMANY_SEGMENTS -DBFD -DM68KCOFF
+TDEFINES=-DM68KCOFF
index e244e002bdbddd5d5db07a4915eb5ac70f192169..373326623cbd42dedee628320bb61ca7a7d85e3a 100644 (file)
@@ -1,2 +1,2 @@
 TARG_CPU_DEPENDENTS=$(srcdir)/config/m88k-opcode.h
-TDEFINES=-DBFD_HEADERS -DMANY_SEGMENTS -DBFD -DM88KCOFF
+TDEFINES=-DM88KCOFF
index f7b9155e80a6e494d9f0a4edd1fa9e5e46a56df6..80d45234a5a54badd0eaa04434f663e6b6e5963b 100644 (file)
@@ -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"
index e990aebe21d74c3c329e777d45de1947706ef787..6bd546411084eed0fdef56bbb2e0d2a6ef059353 100644 (file)
@@ -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 (file)
index db805f1..0000000
+++ /dev/null
@@ -1 +0,0 @@
-LOCAL_LOADLIBES=../bfd/libbfd.a
index 2c7971095e8d2ce3cd3745c07732df9c7781e5ec..4946aa5552468a887b8d7e9cd3ace5ab14c837f9 100644 (file)
@@ -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