summaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-01-24 11:13:57 +0000
committerNick Clifton <nickc@redhat.com>2013-01-24 11:13:57 +0000
commit12f3334021050ee992d298ce9db21706312ba685 (patch)
tree80ddbaaf8d90bde3f51c9d083fcd7ebed17ba342 /binutils/readelf.c
parent6ed94a6e7a6e3b1d087bccab48dd812f3c412654 (diff)
downloadbinutils-redhat-12f3334021050ee992d298ce9db21706312ba685.tar.gz
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 7b4a92236c..f880825cce 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: