2000-07-03 Ulf Carlsson <ulfc@engr.sgi.com>
authorUlf Carlsson <ulfc@engr.sgi.com>
Mon, 3 Jul 2000 23:49:36 +0000 (23:49 +0000)
committerUlf Carlsson <ulfc@engr.sgi.com>
Mon, 3 Jul 2000 23:49:36 +0000 (23:49 +0000)
* elf32-mips.c: Include elf32-target.h again for the traditional
MIPS targets.

bfd/elf32-mips.c

index c4da5e5da71b9d1b18d753c77033e20871a5b60a..39b9ae233fe559c54770df46043930cf51eb4703 100644 (file)
@@ -9150,3 +9150,20 @@ static const struct ecoff_debug_swap mips_elf32_ecoff_debug_swap =
 #define bfd_elf32_bfd_print_private_bfd_data \
                                        _bfd_mips_elf_print_private_bfd_data
 #include "elf32-target.h"
+
+/* Support for traditional mips targets */
+
+#define INCLUDED_TARGET_FILE            /* More a type of flag */
+
+#undef TARGET_LITTLE_SYM
+#undef TARGET_LITTLE_NAME
+#undef TARGET_BIG_SYM
+#undef TARGET_BIG_NAME
+
+#define TARGET_LITTLE_SYM               bfd_elf32_tradlittlemips_vec
+#define TARGET_LITTLE_NAME              "elf32-tradlittlemips"
+#define TARGET_BIG_SYM                  bfd_elf32_tradbigmips_vec
+#define TARGET_BIG_NAME                 "elf32-tradbigmips"
+
+/* Include the target file again for this target */
+#include "elf32-target.h"