Maciej W. Rozycki
41947d9e38
MIPS/GAS: Handle resolved R6 PC-relative relocations
...
Complement commit 7361da2c952e ("Add support for MIPS R6.") and fix
internal errors like:
foo.s: Assembler messages:
foo.s: Internal error!
Assertion failure in md_apply_fix at .../gas/config/tc-mips.c:15028.
Please report this bug.
triggered by resolved R6 PC-relative relocations in sources containing
R6 code fragments wrapped into ISA override blocks embedded within code
otherwise assembled for an older ISA.
gas/
* config/tc-mips.c (calculate_reloc) <BFD_RELOC_HI16_S_PCREL>
<BFD_RELOC_LO16_PCREL>: New switch cases.
(md_apply_fix) <BFD_RELOC_HI16_S_PCREL, BFD_RELOC_LO16_PCREL>:
Move switch cases along `BFD_RELOC_MIPS_JMP'.
<BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2>
<BFD_RELOC_MIPS_18_PCREL_S3, BFD_RELOC_MIPS_19_PCREL_S2>: Handle
the resolved case.
* testsuite/gas/mips/pcrel-reloc-4.d: New test.
* testsuite/gas/mips/pcrel-reloc-4-r6.d: New test.
* testsuite/gas/mips/pcrel-reloc-5.d: New test.
* testsuite/gas/mips/pcrel-reloc-5-r6.d: New test.
* testsuite/gas/mips/pcrel-reloc-6.d: New test.
* testsuite/gas/mips/pcrel-reloc-6.l: New list test.
* testsuite/gas/mips/pcrel-reloc-4.s: New test source.
* testsuite/gas/mips/pcrel-reloc-6.s: New test source.
* testsuite/gas/mips/mips.exp: Run the new tests.
2016-06-21 23:00:20 +01:00
..
2016-01-01 23:00:01 +10:30
2016-04-03 19:50:02 -04:00
2016-04-01 23:10:50 +10:30
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-05-13 15:58:07 +09:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-03-28 20:38:24 -04:00
2016-05-13 00:35:51 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-02-22 14:11:27 +00:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-03-16 11:33:55 +00:00
2016-06-20 09:26:43 +01:00
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-04-01 23:10:50 +10:30
2016-06-21 14:03:08 +01:00
2016-05-18 22:24:51 +01:00
2016-06-13 10:49:26 +01:00
2016-02-04 11:57:57 +00:00
2016-06-01 21:22:31 -04:00
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-01-01 23:00:01 +10:30
2016-06-13 10:49:26 +01:00
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-04-03 19:50:02 -04:00
2016-05-24 08:44:19 -04:00
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-01-01 23:00:01 +10:30
2016-05-24 08:55:45 -04:00
2016-01-01 23:00:01 +10:30
2016-05-18 06:26:07 -04:00
2016-01-01 23:00:01 +10:30
2016-04-01 23:10:50 +10:30
2016-01-01 23:00:01 +10:30
2016-04-01 23:10:50 +10:30
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-01-01 23:00:01 +10:30
2016-06-15 16:25:34 +01:00
2016-05-24 08:49:46 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-05-29 07:56:23 -07:00
2016-04-01 23:10:50 +10:30
2016-04-03 20:43:23 -04:00
2016-01-01 23:00:01 +10:30
2016-04-03 20:43:23 -04:00
2016-01-01 23:00:01 +10:30
2016-05-24 08:47:02 -04:00
2016-04-01 23:10:50 +10:30
2016-04-01 23:10:50 +10:30
2016-01-01 23:00:01 +10:30
2016-04-03 20:43:23 -04:00
2016-01-01 23:00:01 +10:30
2016-04-01 23:10:50 +10:30
2016-01-01 23:00:01 +10:30
2016-04-14 16:58:01 -04:00
2016-01-01 23:00:01 +10:30
2016-05-16 05:06:48 -04:00
2016-01-01 23:00:01 +10:30
2016-05-16 04:55:31 -04:00
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-02-25 16:55:21 +00:00
2016-01-01 23:00:01 +10:30
2016-06-15 16:25:34 +01:00
2016-01-01 23:00:01 +10:30
2016-04-20 07:04:49 -04:00
2016-04-01 23:10:50 +10:30
2016-05-26 08:46:01 -04:00
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-04-01 23:10:50 +10:30
2016-06-21 23:00:20 +01:00
2016-01-01 23:00:01 +10:30
2016-05-24 08:52:45 -04:00
2016-04-03 19:50:02 -04:00
2016-06-15 16:25:34 +01:00
2016-01-01 23:00:01 +10:30
2016-05-16 05:01:52 -04:00
2016-01-01 23:00:01 +10:30
2016-06-15 16:25:34 +01:00
2016-01-01 23:00:01 +10:30
2016-05-16 05:01:52 -04:00
2016-02-03 09:21:51 -07:00
2016-04-01 23:10:50 +10:30
2016-01-01 23:00:01 +10:30
2016-06-14 13:51:10 +01:00
2016-03-29 07:43:25 -04:00
2016-06-13 10:49:26 +01:00
2016-04-01 23:10:50 +10:30
2016-06-01 21:29:33 -04:00
2016-01-01 23:00:01 +10:30
2016-04-03 20:43:23 -04:00
2016-01-01 23:00:01 +10:30
2016-04-03 20:43:23 -04:00
2016-01-01 23:00:01 +10:30
2016-06-15 16:25:34 +01:00
2016-01-01 23:00:01 +10:30
2016-06-07 22:04:38 +09:30
2016-02-25 16:55:21 +00:00
2016-05-13 00:35:51 -04:00
2016-01-01 23:00:01 +10:30
2016-05-26 08:45:03 -04:00
2016-01-01 23:00:01 +10:30
2016-04-03 20:43:23 -04:00
2016-01-01 23:00:01 +10:30
2016-04-03 20:43:23 -04:00
2016-04-03 20:43:23 -04:00
2016-01-01 23:00:01 +10:30
2016-06-05 23:27:41 -04:00
2016-01-01 23:00:01 +10:30
2016-06-05 23:27:41 -04:00
2016-01-01 23:00:01 +10:30
2016-06-17 02:15:43 -07:00
2016-01-01 23:00:01 +10:30
2016-05-23 01:20:09 -04:00
2016-01-01 23:00:01 +10:30
2016-05-18 06:26:07 -04:00
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-01-01 23:00:01 +10:30
2016-05-23 01:21:07 -04:00
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-01-01 23:00:01 +10:30
2016-05-18 06:09:44 -04:00
2016-05-18 06:09:44 -04:00
2016-05-16 05:04:01 -04:00
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-01-01 23:00:01 +10:30
2016-04-03 20:43:23 -04:00
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-01-01 23:00:01 +10:30
2016-04-01 23:10:50 +10:30
2016-01-01 23:00:01 +10:30
2016-05-24 08:57:36 -04:00
2016-03-31 07:30:41 -04:00
2016-04-03 20:43:23 -04:00
2016-01-01 23:00:01 +10:30
2016-04-03 20:43:23 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-03-21 16:31:46 +00:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-05-13 00:35:51 -04:00
2016-06-01 21:19:53 -04:00