diff options
author | Nick Clifton <nickc@redhat.com> | 2002-12-30 19:25:13 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-12-30 19:25:13 +0000 |
commit | 2469cfa28442dfd5e08b681dbcfd1ff098c6d420 (patch) | |
tree | 4350aa576399c91dfdaab6b961bb78759c300727 /binutils/readelf.c | |
parent | 3f8173588efb34476725b62fc46853fd00268139 (diff) | |
download | gdb-2469cfa28442dfd5e08b681dbcfd1ff098c6d420.zip gdb-2469cfa28442dfd5e08b681dbcfd1ff098c6d420.tar.gz gdb-2469cfa28442dfd5e08b681dbcfd1ff098c6d420.tar.bz2 |
Add support for msp430.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index c3a39da..d5ddb4b 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -75,6 +75,7 @@ #include "elf/mmix.h" #include "elf/mn10200.h" #include "elf/mn10300.h" +#include "elf/msp430.h" #include "elf/or32.h" #include "elf/pj.h" #include "elf/ppc.h" @@ -756,6 +757,8 @@ guess_is_rela (e_machine) case EM_S390: case EM_S390_OLD: case EM_MMIX: + case EM_MSP430: + case EM_MSP430_OLD: case EM_XSTORMY16: case EM_VAX: case EM_IP2K: @@ -1154,6 +1157,11 @@ dump_relocations (file, rel_offset, rel_size, symtab, nsyms, strtab, is_rela) rtype = elf_mmix_reloc_type (type); break; + case EM_MSP430: + case EM_MSP430_OLD: + rtype = elf_msp430_reloc_type (type); + break; + case EM_PPC: case EM_PPC64: rtype = elf_ppc_reloc_type (type); |