diff options
author | Jozef Lawrynowicz <jozef.l@mittosystems.com> | 2020-02-10 20:33:21 +0000 |
---|---|---|
committer | Jozef Lawrynowicz <jozef.l@mittosystems.com> | 2020-02-10 20:35:52 +0000 |
commit | 8d6cb116f47b5edb2a7c2fa540fcb9dbcd3effc2 (patch) | |
tree | d2a49f50c1a879aad09dee29a966b3970a67ae78 /libiberty | |
parent | d60f54486a99e6b702cccdb16b3429f3524021fd (diff) | |
download | gdb-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 'libiberty')
0 files changed, 0 insertions, 0 deletions