OSDN Git Service

2000-07-03 Ulf Carlsson <ulfc@engr.sgi.com>
authorUlf Carlsson <ulfc@engr.sgi.com>
Tue, 4 Jul 2000 00:10:15 +0000 (00:10 +0000)
committerUlf Carlsson <ulfc@engr.sgi.com>
Tue, 4 Jul 2000 00:10:15 +0000 (00:10 +0000)
* elf32-mips.c: Include elf32-target.h again for the traditional
MIPS targets.

bfd/ChangeLog
bfd/elf32-mips.c

index 8b1f9bd..99626ff 100644 (file)
@@ -1,3 +1,8 @@
+2000-07-03  Ulf Carlsson  <ulfc@engr.sgi.com>
+
+       * elf32-mips.c: Include elf32-target.h again for the traditional
+       MIPS targets.
+
 2000-07-03  Marek Michalkiewicz  <marekm@linux.org.pl>
 
        * elf32-avr.c (bfd_elf32_bfd_reloc_type_lookup):
index c4da5e5..39b9ae2 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"