mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
msp430/gas: correct BFD_RELOC_32 handling
It was likely a copy-and-paste oversight that bfd_putl16() was used here from the very beginning. And of course there's a difference only if the value to be stored is different from the value that's already there; typically both are 0.
This commit is contained in:
@@ -4541,7 +4541,7 @@ md_apply_fix (fixS * fixp, valueT * valuep, segT seg)
|
||||
break;
|
||||
|
||||
case BFD_RELOC_32:
|
||||
bfd_putl16 ((bfd_vma) value, where);
|
||||
bfd_putl32 ((bfd_vma) value, where);
|
||||
break;
|
||||
|
||||
case BFD_RELOC_MSP430_ABS8:
|
||||
|
||||
Reference in New Issue
Block a user