2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
authorJoern Rennecke <joern.rennecke@embecosm.com>
Thu, 16 Dec 2004 18:17:04 +0000 (18:17 +0000)
committerJoern Rennecke <joern.rennecke@embecosm.com>
Thu, 16 Dec 2004 18:17:04 +0000 (18:17 +0000)
* config/tc-sh64.c (shmedia_md_apply_fix3): Add missing
BFD_RELOC_SH_IMMS10BY8 relocation.

gas/config/tc-sh64.c

index 7a6f830e405d025497721c9238f667722ffbbcbe..fe82b4632cc5115d9d58c9fe9ae5d32c82b20cd2 100644 (file)
@@ -739,6 +739,11 @@ shmedia_md_apply_fix3 (fixS *fixP, valueT *valp)
                              insn | ((val & (0x3ff << 2)) << (10 - 2)), 4);
          break;
 
+       case BFD_RELOC_SH_IMMS10BY8:
+         md_number_to_chars (buf,
+                             insn | ((val & (0x3ff << 3)) << (10 - 3)), 4);
+         break;
+
        case BFD_RELOC_SH_SHMEDIA_CODE:
          /* We just ignore and remove this one for the moment.  FIXME:
             Use it when implementing relaxing.  */