Change 'partial_inplace' to true (this target uses REL relocations) and
authorNick Clifton <nickc@redhat.com>
Thu, 9 Aug 2001 09:00:58 +0000 (09:00 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 9 Aug 2001 09:00:58 +0000 (09:00 +0000)
'pcrel_offset' to false (the PC is implied, not stored in the offset).

bfd/ChangeLog
bfd/elf32-arc.c

index c487e46643691c514d1a0af24c3db4de3f7f45cf..cd3cdcc5f165b11d863ce917c49767eaefb06a84 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-09  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * elf32-arc.c (R_ARC_B22_PCREL): Change 'partial_inplace' to
+       true (this target uses REL relocations) and 'pcrel_offset' to
+       false (the PC is implied, not stored in the offset).
+
 2001-08-08  Alan Modra  <amodra@bigpond.net.au>
 
        1999-10-19  Linus Nordberg  <linus@swox.se>
index 82b610435fa07be17d269e7091983457f1360692..b491cee9d78562c8d8b5c239175690c0eccc0c86 100644 (file)
@@ -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  */
 
 };