aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2004-12-16 18:17:04 +0000
committerJoern Rennecke <joern.rennecke@embecosm.com>2004-12-16 18:17:04 +0000
commit02292fc117d6a6446939e436a1670b2a1f2dbc70 (patch)
tree57b271517bde940af290c22ede9c50cf0e3c6923 /gas/config
parent1e50d24d553250622687bbc21027e8bfdb31870f (diff)
downloadgdb-02292fc117d6a6446939e436a1670b2a1f2dbc70.zip
gdb-02292fc117d6a6446939e436a1670b2a1f2dbc70.tar.gz
gdb-02292fc117d6a6446939e436a1670b2a1f2dbc70.tar.bz2
2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
* config/tc-sh64.c (shmedia_md_apply_fix3): Add missing BFD_RELOC_SH_IMMS10BY8 relocation.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-sh64.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/tc-sh64.c b/gas/config/tc-sh64.c
index 7a6f830..fe82b46 100644
--- a/gas/config/tc-sh64.c
+++ b/gas/config/tc-sh64.c
@@ -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. */