aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32
diff options
context:
space:
mode:
authorJozef Lawrynowicz <jozef.l@mittosystems.com>2020-02-10 20:33:21 +0000
committerJozef Lawrynowicz <jozef.l@mittosystems.com>2020-02-10 20:35:52 +0000
commit8d6cb116f47b5edb2a7c2fa540fcb9dbcd3effc2 (patch)
treed2a49f50c1a879aad09dee29a966b3970a67ae78 /sim/erc32
parentd60f54486a99e6b702cccdb16b3429f3524021fd (diff)
downloadgdb-8d6cb116f47b5edb2a7c2fa540fcb9dbcd3effc2.zip
gdb-8d6cb116f47b5edb2a7c2fa540fcb9dbcd3effc2.tar.gz
gdb-8d6cb116f47b5edb2a7c2fa540fcb9dbcd3effc2.tar.bz2
MSP430: Enable relaxation of relocs in JMP instructions
This patch fixes relocation overflows caused by an inability to relax unconditional JMP instructions to BR instructions. bfd/ChangeLog: 2020-02-10 Jozef Lawrynowicz <jozef.l@mittosystems.com> * elf32-msp430.c (msp430_elf_relax_add_two_words): Rename to msp430_elf_relax_add_words. Support insertion of either one or two words. (msp430_elf_relax_section): Catch opcode of 0x3c00 when relocation needs to be grown. Handle insertion of branch instruction to replace jump.
Diffstat (limited to 'sim/erc32')
0 files changed, 0 insertions, 0 deletions