diff options
author | Nick Clifton <nickc@redhat.com> | 2013-01-24 11:14:05 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-01-24 11:14:05 +0000 |
commit | 78c8d46ca4fdaf8cacbc622095eace3467f38356 (patch) | |
tree | 42b90a6c5edcc59fbefb64b0dc2ad3265120cb3c /binutils | |
parent | d7499464ec1236d0cf8cc189d13b554e2fe61748 (diff) | |
download | gdb-78c8d46ca4fdaf8cacbc622095eace3467f38356.zip gdb-78c8d46ca4fdaf8cacbc622095eace3467f38356.tar.gz gdb-78c8d46ca4fdaf8cacbc622095eace3467f38356.tar.bz2 |
Add support for V850E3V5 architecture
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/readelf.c | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 4860baf..1d88c3d 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2013-01-24 Nick Clifton <nickc@redhat.com> + + * readelf.c (get_machine_flags): Decode E_V850E3V5_ARCH. + 2013-01-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * readelf.c: Add strings for NT_S390_LAST_BREAK and diff --git a/binutils/readelf.c b/binutils/readelf.c index 7b4a922..f880825 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -2476,6 +2476,9 @@ get_machine_flags (unsigned e_flags, unsigned e_machine) case EM_CYGNUS_V850: switch (e_flags & EF_V850_ARCH) { + case E_V850E3V5_ARCH: + strcat (buf, ", v850e3v5"); + break; case E_V850E2V3_ARCH: strcat (buf, ", v850e2v3"); break; @@ -10323,8 +10326,8 @@ is_16bit_abs_reloc (unsigned int reloc_type) case EM_M32C_OLD: case EM_M32C: return reloc_type == 1; /* R_M32C_16 */ - case EM_MSP430_OLD: case EM_MSP430: + case EM_MSP430_OLD: return reloc_type == 5; /* R_MSP430_16_BYTE. */ case EM_ALTERA_NIOS2: case EM_NIOS32: |