]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Assign correct reloc value to size 1 fixes.
authorNick Clifton <nickc@redhat.com>
Fri, 9 Jun 2000 17:31:07 +0000 (17:31 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 9 Jun 2000 17:31:07 +0000 (17:31 +0000)
gas/ChangeLog
gas/config/tc-arm.c

index 2dd69418f273db29c9335357664bd5a6515057eb..00424ba6110c9cfc4cc04a7ae6d1527d1f408948 100644 (file)
@@ -1,3 +1,8 @@
+2000-06-09  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-arm.c (cons_fix_new_arm): Assign correct reloc value
+       for size 1 fixes.
+
 2000-06-01  Scott Bambrough <scottb@netwinder.org>
 
        * config/tc-arm.c (do_mrs): Allow SPSR_BIT to be set correctly.
index aadea2699c9637468f1a00e519afb15c13539de2..c6a197966932780f4ea11c70059e7a3402aabc39 100644 (file)
@@ -6878,12 +6878,13 @@ cons_fix_new_arm (frag, where, size, exp)
   bfd_reloc_code_real_type type;
   int pcrel = 0;
   
-  /* Pick a reloc ...
-   *
-   * @@ Should look at CPU word size.
-   */
+  /* Pick a reloc.
+     FIXME: @@ Should look at CPU word size.  */
   switch (size) 
     {
+    case 1:
+      type = BFD_RELOC_8;
+      break;
     case 2:
       type = BFD_RELOC_16;
       break;