diff options
Diffstat (limited to 'gas/config/tc-sparc.c')
-rw-r--r-- | gas/config/tc-sparc.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c index f453733067..77fda56b8a 100644 --- a/gas/config/tc-sparc.c +++ b/gas/config/tc-sparc.c @@ -3193,12 +3193,8 @@ md_apply_fix (fixS *fixP, valueT *valP, segT segment ATTRIBUTE_UNUSED) /* If this is a data relocation, just output VAL. */ - if (fixP->fx_r_type == BFD_RELOC_8) - { - md_number_to_chars (buf, val, 1); - } - else if (fixP->fx_r_type == BFD_RELOC_16 - || fixP->fx_r_type == BFD_RELOC_SPARC_UA16) + if (fixP->fx_r_type == BFD_RELOC_16 + || fixP->fx_r_type == BFD_RELOC_SPARC_UA16) { md_number_to_chars (buf, val, 2); } |