* config/tc-sparc.c (md_apply_fix): Handle BFD_RELOC_8.
This commit is contained in:
parent
3aaeb7d3ca
commit
a7bbf4e9b9
|
@ -1,3 +1,7 @@
|
||||||
|
2011-11-16 David S. Miller <davem@davemloft.net>
|
||||||
|
|
||||||
|
* config/tc-sparc.c (md_apply_fix): Handle BFD_RELOC_8.
|
||||||
|
|
||||||
2011-11-16 Maciej W. Rozycki <macro@codesourcery.com>
|
2011-11-16 Maciej W. Rozycki <macro@codesourcery.com>
|
||||||
|
|
||||||
* config/tc-mips.c (macro): Fix unsupported opcode message
|
* config/tc-mips.c (macro): Fix unsupported opcode message
|
||||||
|
|
|
@ -3193,7 +3193,11 @@ md_apply_fix (fixS *fixP, valueT *valP, segT segment ATTRIBUTE_UNUSED)
|
||||||
|
|
||||||
/* If this is a data relocation, just output VAL. */
|
/* If this is a data relocation, just output VAL. */
|
||||||
|
|
||||||
if (fixP->fx_r_type == BFD_RELOC_16
|
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)
|
|| fixP->fx_r_type == BFD_RELOC_SPARC_UA16)
|
||||||
{
|
{
|
||||||
md_number_to_chars (buf, val, 2);
|
md_number_to_chars (buf, val, 2);
|
||||||
|
|
Loading…
Reference in New Issue