aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-01-24 11:14:05 +0000
committerNick Clifton <nickc@redhat.com>2013-01-24 11:14:05 +0000
commit78c8d46ca4fdaf8cacbc622095eace3467f38356 (patch)
tree42b90a6c5edcc59fbefb64b0dc2ad3265120cb3c /binutils/readelf.c
parentd7499464ec1236d0cf8cc189d13b554e2fe61748 (diff)
downloadgdb-78c8d46ca4fdaf8cacbc622095eace3467f38356.zip
gdb-78c8d46ca4fdaf8cacbc622095eace3467f38356.tar.gz
gdb-78c8d46ca4fdaf8cacbc622095eace3467f38356.tar.bz2
Add support for V850E3V5 architecture
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c5
1 files changed, 4 insertions, 1 deletions
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: