aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-arc.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-08-09 09:00:58 +0000
committerNick Clifton <nickc@redhat.com>2001-08-09 09:00:58 +0000
commit1c26dc27b503cc897a679b32db4bca573183f38a (patch)
treee952a824ce7ad39a31ac5efd5c6386697023a880 /bfd/elf32-arc.c
parente7e9b069361c646b807af955a8a074dff5aed808 (diff)
downloadgdb-1c26dc27b503cc897a679b32db4bca573183f38a.zip
gdb-1c26dc27b503cc897a679b32db4bca573183f38a.tar.gz
gdb-1c26dc27b503cc897a679b32db4bca573183f38a.tar.bz2
Change 'partial_inplace' to true (this target uses REL relocations) and
'pcrel_offset' to false (the PC is implied, not stored in the offset).
Diffstat (limited to 'bfd/elf32-arc.c')
-rw-r--r--bfd/elf32-arc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c
index 82b6104..b491cee 100644
--- a/bfd/elf32-arc.c
+++ b/bfd/elf32-arc.c
@@ -95,10 +95,10 @@ static reloc_howto_type elf_arc_howto_table[] =
complain_overflow_signed, /* complain_on_overflow */
bfd_elf_generic_reloc, /* special_function */
"R_ARC_B22_PCREL", /* name */
- false, /* partial_inplace */
+ true, /* partial_inplace */
0x07ffff80, /* src_mask */
0x07ffff80, /* dst_mask */
- true), /* pcrel_offset */
+ false), /* pcrel_offset */
};