aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 96ce7a8..4ac0e2d 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
+
+ * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
+
2016-02-15 Nick Clifton <nickc@redhat.com>
* readelf.c (get_section_type_name): Add hex prefix to offsets
diff --git a/binutils/readelf.c b/binutils/readelf.c
index f33257b..d6abab8 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -11558,6 +11558,9 @@ is_32bit_pcrel_reloc (unsigned int reloc_type)
return reloc_type == 6;
case EM_ALPHA:
return reloc_type == 10; /* R_ALPHA_SREL32. */
+ case EM_ARC_COMPACT:
+ case EM_ARC_COMPACT2:
+ return reloc_type == 49; /* R_ARC_32_PCREL. */
case EM_ARM:
return reloc_type == 3; /* R_ARM_REL32 */
case EM_MICROBLAZE: