aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-mips.c
diff options
context:
space:
mode:
authorUlf Carlsson <ulfc@engr.sgi.com>2000-07-03 23:49:36 +0000
committerUlf Carlsson <ulfc@engr.sgi.com>2000-07-03 23:49:36 +0000
commite364195dbdb1e4dd1c1876b185febb7d390f6492 (patch)
treed4a3f29ecdda6f80bfca896137254535cd9c54e2 /bfd/elf32-mips.c
parent00d2865b835b1bba05334dcbb20201b6d99534d6 (diff)
downloadgdb-e364195dbdb1e4dd1c1876b185febb7d390f6492.zip
gdb-e364195dbdb1e4dd1c1876b185febb7d390f6492.tar.gz
gdb-e364195dbdb1e4dd1c1876b185febb7d390f6492.tar.bz2
2000-07-03 Ulf Carlsson <ulfc@engr.sgi.com>
* elf32-mips.c: Include elf32-target.h again for the traditional MIPS targets.
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r--bfd/elf32-mips.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index c4da5e5..39b9ae2 100644
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -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"