aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2005-06-07 23:56:50 +0000
committerEric Christopher <echristo@gmail.com>2005-06-07 23:56:50 +0000
commita34e3ecb6932964574f82978a90c77e973338127 (patch)
tree5865d031c198a2e1831615dcfad0f95ad0ce90fc /binutils/readelf.c
parent2d0123b7851267f634ef63c15c43172e2136bc78 (diff)
downloadgdb-a34e3ecb6932964574f82978a90c77e973338127.zip
gdb-a34e3ecb6932964574f82978a90c77e973338127.tar.gz
gdb-a34e3ecb6932964574f82978a90c77e973338127.tar.bz2
2005-06-07 Eric Christopher <echristo@redhat.com>
* Makefile.am (eelf32ms1.c): Use tab. * Makefile.in: Regenerate. 2005-06-07 Eric Christopher <echristo@redhat.com> * readelf.c (guess_is_rela): Support ms1. (dump_relocations): Ditto. (get_machine_name): Ditto.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 597da14..33e30dd 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -730,6 +730,7 @@ guess_is_rela (unsigned long e_machine)
case EM_XTENSA:
case EM_XTENSA_OLD:
case EM_M32R:
+ case EM_MS1:
return TRUE;
case EM_MMA:
@@ -1233,6 +1234,10 @@ dump_relocations (FILE *file,
case EM_XTENSA:
rtype = elf_xtensa_reloc_type (type);
break;
+
+ case EM_MS1:
+ rtype = elf_ms1_reloc_type (type);
+ break;
}
if (rtype == NULL)
@@ -1772,6 +1777,7 @@ get_machine_name (unsigned e_machine)
case EM_IQ2000: return "Vitesse IQ2000";
case EM_XTENSA_OLD:
case EM_XTENSA: return "Tensilica Xtensa Processor";
+ case EM_MS1: return "Morpho Techologies MS1 processor";
default:
snprintf (buff, sizeof (buff), _("<unknown>: %x"), e_machine);
return buff;