* config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment
authorStephane Carrez <stcarrez@nerim.fr>
Fri, 17 Jan 2003 22:51:28 +0000 (22:51 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Fri, 17 Jan 2003 22:51:28 +0000 (22:51 +0000)
of relocs for memory bank addressing.

gas/ChangeLog
gas/config/tc-m68hc11.c

index c36a81683fe6fddb6d7be3a46a0f21ba5eef1194..11fef9a582851ffc09cac3c6358adef0baee66ea 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-17  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment
+       of relocs for memory bank addressing.
+
 2003-01-17  Stephane Carrez  <stcarrez@nerim.fr>
 
        * config/tc-m68hc11.c (md_show_usage): Update usage.
index 2aa39d19894ab02e9c2e4a72f5d06ff4e61ed8f3..a56ff04794545f13d7287c08ce7c51c4a093d38d 100644 (file)
@@ -3216,11 +3216,16 @@ tc_m68hc11_fix_adjustable (fixP)
       /* For the linker relaxation to work correctly, these relocs
          need to be on the symbol itself.  */
     case BFD_RELOC_16:
-    case BFD_RELOC_LO16:
     case BFD_RELOC_M68HC11_RL_JUMP:
     case BFD_RELOC_M68HC11_RL_GROUP:
     case BFD_RELOC_VTABLE_INHERIT:
     case BFD_RELOC_VTABLE_ENTRY:
+
+      /* The memory bank addressing translation also needs the original
+         symbol.  */
+    case BFD_RELOC_LO16:
+    case BFD_RELOC_M68HC11_PAGE:
+    case BFD_RELOC_M68HC11_24:
       return 0;
 
     case BFD_RELOC_32:
This page took 0.029199 seconds and 4 git commands to generate.