diff options
author | Jozef Lawrynowicz <jozef.l@mittosystems.com> | 2020-01-15 13:17:27 +0000 |
---|---|---|
committer | Jozef Lawrynowicz <jozef.l@mittosystems.com> | 2020-01-15 13:23:06 +0000 |
commit | 131cb553d6d10412b20cf49bb0e3a5e736a90a36 (patch) | |
tree | 3965e30e6016b4b61a6bb11cb7be81bbd57a99ab /gdbsupport/gdb_assert.h | |
parent | c24d0e8d4850d4913a1630a53e272c930849406d (diff) | |
download | gdb-131cb553d6d10412b20cf49bb0e3a5e736a90a36.zip gdb-131cb553d6d10412b20cf49bb0e3a5e736a90a36.tar.gz gdb-131cb553d6d10412b20cf49bb0e3a5e736a90a36.tar.bz2 |
MSP430: Fix relocation overflow when using #lo(EXP) macro
gas/ChangeLog:
2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* config/tc-msp430.c (CHECK_RELOC_MSP430): Always generate 430X
relocations when the target is 430X, except when extracting part of an
expression.
(msp430_srcoperand): Adjust comment.
Initialize the expp member of the msp430_operand_s struct as
appropriate.
(msp430_dstoperand): Likewise.
* testsuite/gas/msp430/msp430.exp: Run new test.
* testsuite/gas/msp430/reloc-lo-430x.d: New test.
* testsuite/gas/msp430/reloc-lo-430x.s: New test.
include/ChangeLog:
2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* opcode/msp430.h (enum msp430_expp_e): New.
(struct msp430_operand_s): Add expp member to struct.
ld/ChangeLog:
2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
* testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
Diffstat (limited to 'gdbsupport/gdb_assert.h')
0 files changed, 0 insertions, 0 deletions