MIPS/gas: Fix misaligned address errors to disregard ISA mode bit
authorFaraz Shahbazker <fshahbazker@wavecomp.com>
Tue, 13 Aug 2019 05:32:20 +0000 (05:32 +0000)
committerFaraz Shahbazker <fshahbazker@wavecomp.com>
Mon, 19 Aug 2019 20:43:51 +0000 (13:43 -0700)
commit52031738190ca1067bc6e40f662f4effcd428628
tree1ec67e0fbfe9f0331028d0dc7068a647e66519d6
parent770c015139f038bd7b7abb5c6d84eb39d36d3080
MIPS/gas: Fix misaligned address errors to disregard ISA mode bit

gas/
* config/tc-mips.c (fix_bad_misaligned_address): New function.
(fix_validate_branch): Call fix_bad_misaligned address_to
calculate the target address.
(md_apply_fix): Likewise.
(md_convert_frag): Update misaligned address calculation to
disregard ISA mode bit.
gas/ChangeLog
gas/config/tc-mips.c