aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorClaudiu Zissulescu <claziss@synopsys.com>2016-02-16 15:56:04 +0100
committerClaudiu Zissulescu <claziss@synopsys.com>2016-02-16 15:56:04 +0100
commit726c18e1c8a74682270bcd80f7145cda3cc76389 (patch)
tree1faccfeac0ec39d42e31effdaa9e4ab0f0e8ebd6 /binutils
parentc4ef31bf6fb68f0024800565a532015fc3390aaa (diff)
downloadgdb-726c18e1c8a74682270bcd80f7145cda3cc76389.zip
gdb-726c18e1c8a74682270bcd80f7145cda3cc76389.tar.gz
gdb-726c18e1c8a74682270bcd80f7145cda3cc76389.tar.bz2
[ARC] Enable .cfi_* pseudo-ops.
gas/ 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com> * config/tc-arc.c (tc_arc_frame_initial_instructions): New function. (tc_arc_regname_to_dw2regnum): Likewise. * config/tc-arc.h (TARGET_USE_CFIPOP): Define (tc_cfi_frame_initial_instructions): Likewise. (tc_regname_to_dw2regnum): Likewise. gas/testsuite 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com> * gas/cfi/cfi-arc-1.d: New file. * gas/cfi/cfi-arc-1.s: Likewise. * gas/cfi/cfi.exp: Allow running tests for arc. binutils/ 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com> * readelf.c (is_32bit_pcrel_reloc): Add R_ARC_32_PCREL.
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: