binutils-gdb/gas/testsuite/gas/msp430
Jozef Lawrynowicz 131cb553d6 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.
2020-01-15 13:23:06 +00:00
..
attr-430-small-bad.d Add support for new functionality in the msp430 backend of GCC. 2019-10-07 16:34:31 +01:00
attr-430-small-bad.l Add support for new functionality in the msp430 backend of GCC. 2019-10-07 16:34:31 +01:00
attr-430-small-good.d Add support for new functionality in the msp430 backend of GCC. 2019-10-07 16:34:31 +01:00
attr-430-small.s Add support for new functionality in the msp430 backend of GCC. 2019-10-07 16:34:31 +01:00
attr-430x-large-any-bad.d Add support for new functionality in the msp430 backend of GCC. 2019-10-07 16:34:31 +01:00
attr-430x-large-any-bad.l Add support for new functionality in the msp430 backend of GCC. 2019-10-07 16:34:31 +01:00
attr-430x-large-any-good.d Add support for new functionality in the msp430 backend of GCC. 2019-10-07 16:34:31 +01:00
attr-430x-large-any.s Add support for new functionality in the msp430 backend of GCC. 2019-10-07 16:34:31 +01:00
attr-430x-large-lower-bad.d Add support for new functionality in the msp430 backend of GCC. 2019-10-07 16:34:31 +01:00
attr-430x-large-lower-bad.l Add support for new functionality in the msp430 backend of GCC. 2019-10-07 16:34:31 +01:00
attr-430x-large-lower-good.d Add support for new functionality in the msp430 backend of GCC. 2019-10-07 16:34:31 +01:00
attr-430x-large-lower.s Add support for new functionality in the msp430 backend of GCC. 2019-10-07 16:34:31 +01:00
bad.d gas run_dump_test rename stderr and error-output 2018-09-15 16:24:18 +09:30
bad.l Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
bad.s Fix MSP430 assembler's detection of NOP and EINT. 2016-04-06 15:58:30 +01:00
either-data-bss-sym.d MSP420 assembler: Add -m{u,U} options to enable/disable NOP warnings for unknown interrupt state changes 2019-04-17 15:01:28 +01:00
either-data-bss-sym.s MSP420 assembler: Add -m{u,U} options to enable/disable NOP warnings for unknown interrupt state changes 2019-04-17 15:01:28 +01:00
errata_fixes.d
errata_fixes.s
errata_warns.d gas run_dump_test rename stderr and error-output 2018-09-15 16:24:18 +09:30
errata_warns.l Fix spelling typos. 2017-07-18 16:58:14 +01:00
errata_warns.s
fini-array.d MSP430 Assembler: Define symbols for functions to run through. 2019-04-18 13:15:09 +01:00
fini-array.s MSP430 Assembler: Define symbols for functions to run through. 2019-04-18 13:15:09 +01:00
high-data-bss-sym.d Improve MSP430 section placement. 2017-08-29 17:18:43 +01:00
high-data-bss-sym.s Improve MSP430 section placement. 2017-08-29 17:18:43 +01:00
init-array.d MSP430 Assembler: Define symbols for functions to run through. 2019-04-18 13:15:09 +01:00
init-array.s MSP430 Assembler: Define symbols for functions to run through. 2019-04-18 13:15:09 +01:00
low-data-bss-sym.d MSP420 assembler: Add -m{u,U} options to enable/disable NOP warnings for unknown interrupt state changes 2019-04-17 15:01:28 +01:00
low-data-bss-sym.s MSP420 assembler: Add -m{u,U} options to enable/disable NOP warnings for unknown interrupt state changes 2019-04-17 15:01:28 +01:00
msp430.exp MSP430: Fix relocation overflow when using #lo(EXP) macro 2020-01-15 13:23:06 +00:00
msp430x.d Fix the MSP430 assembler's parsing of register names. 2018-06-26 13:40:13 +01:00
msp430x.s Fix the encoding of the MSP430's RRUX instruction. 2016-02-04 09:55:10 +00:00
nop-dint-430.d Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-dint-430.l Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-dint-430x-ignore.d Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-dint-430x-silent.d Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-dint-430x.d Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-dint-430x.l Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-dint.s Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-eint-430.d Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-eint-430.l Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-eint-430x-ignore.d Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-eint-430x-silent.d Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-eint-430x.d Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-eint-430x.l Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-eint.s Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-int-430.d Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-int-430.l Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-int-430x-silent.d Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-int-430x.d Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-int-430x.l Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-int.s Tighten the constraints for warning about NOPs for the MSP 430 ISA, so NOPs are only inserted/warned about when needed. Specifically: 430 and 430x ISA require a NOP after DINT. Only the 430x ISA requires NOP before EINT. Only the 430x ISA requires NOP after every EINT. CPU42 errata. 2018-11-27 12:25:09 +00:00
nop-unknown-intr-430.d MSP420 assembler: Add -m{u,U} options to enable/disable NOP warnings for unknown interrupt state changes 2019-04-17 15:01:28 +01:00
nop-unknown-intr-430.l MSP420 assembler: Add -m{u,U} options to enable/disable NOP warnings for unknown interrupt state changes 2019-04-17 15:01:28 +01:00
nop-unknown-intr-430x-ignore.d MSP420 assembler: Add -m{u,U} options to enable/disable NOP warnings for unknown interrupt state changes 2019-04-17 15:01:28 +01:00
nop-unknown-intr-430x.d MSP420 assembler: Add -m{u,U} options to enable/disable NOP warnings for unknown interrupt state changes 2019-04-17 15:01:28 +01:00
nop-unknown-intr-430x.l MSP420 assembler: Add -m{u,U} options to enable/disable NOP warnings for unknown interrupt state changes 2019-04-17 15:01:28 +01:00
nop-unknown-intr.s MSP420 assembler: Add -m{u,U} options to enable/disable NOP warnings for unknown interrupt state changes 2019-04-17 15:01:28 +01:00
opcode.d
opcode.s
pr22133.d gas run_dump_test rename stderr and error-output 2018-09-15 16:24:18 +09:30
pr22133.l Fix the MSP430 assembler so that it detects and reports extraneous text at the end of operands. 2017-10-05 16:17:22 +01:00
pr22133.s Fix the MSP430 assembler so that it detects and reports extraneous text at the end of operands. 2017-10-05 16:17:22 +01:00
preinit-array.d MSP430 Assembler: Define symbols for functions to run through. 2019-04-18 13:15:09 +01:00
preinit-array.s MSP430 Assembler: Define symbols for functions to run through. 2019-04-18 13:15:09 +01:00
reloc-lo-430x.d MSP430: Fix relocation overflow when using #lo(EXP) macro 2020-01-15 13:23:06 +00:00
reloc-lo-430x.s MSP430: Fix relocation overflow when using #lo(EXP) macro 2020-01-15 13:23:06 +00:00