Sid Manning
569a56d6a0
[ELF][HEXAGON] Add R_HEX_11/10/9_X support
...
Differential Revision: https://reviews.llvm.org/D51225
llvm-svn: 340739
2018-08-27 12:55:28 +00:00
Sid Manning
2c3d4b37b6
[ELF][HEXAGON] Add R_HEX_B13_PCREL relocation support
...
Differential Revision: https://reviews.llvm.org/D51166
llvm-svn: 340693
2018-08-25 23:16:37 +00:00
Sid Manning
6d0415e098
[ELF][HEXAGON] Add R_HEX_B9_PCREL and R_HEX_B9_PCREL_X relocation support
...
Differential Revision: https://reviews.llvm.org/D51045
llvm-svn: 340692
2018-08-25 21:25:35 +00:00
Sid Manning
564e65a4c0
[ELF][HEXAGON] Add R_HEX_16_X relocation
...
This relocation has only 6-bits the remaining are in the extender.
Differential Revision: https://reviews.llvm.org/D50603
llvm-svn: 340413
2018-08-22 15:25:15 +00:00
Rui Ueyama
4c7d6beb37
Remove unnecessary applyMask() application.
...
applyMask(0xffffffff, x) is an identity function.
llvm-svn: 340152
2018-08-20 06:33:29 +00:00
Sid Manning
5b0141c49e
[ELF][HEXAGON] Add R_HEX_32 support
...
Differential Revision: https://reviews.llvm.org/D50657
llvm-svn: 339677
2018-08-14 13:52:38 +00:00
Sid Manning
07e541a892
[ELF][HEXAGON] Add R_HEX_8_X relocation
...
Differential Revision: https://reviews.llvm.org/D50577
llvm-svn: 339477
2018-08-10 21:48:40 +00:00
Sid Manning
c53078a1e3
[ELF][HEXAGON] Add R_HEX_HI16/R_HEX_LO16 relocations
...
Differential Revision: https://reviews.llvm.org/D50520
llvm-svn: 339371
2018-08-09 20:04:53 +00:00
Sid Manning
17858207a0
Add R_HEX_6_X relocation support
...
This is a larger patch. This relocation has irregular immediate
masks that require a lookup to find the correct mask.
Differential Revision: https://reviews.llvm.org/D50450
llvm-svn: 339332
2018-08-09 12:00:10 +00:00
Sid Manning
bff6719450
[ELF][HEXAGON] Add R_HEX_32_6_X and R_HEX_12_X
...
And add a test.
llvm-svn: 338213
2018-07-29 11:59:38 +00:00
Sid Manning
3241724536
[ELF][HEXAGON] Add R_HEX_B15_PCREL_X relocation
...
Update testcase
Differential Revision: https://reviews.llvm.org/D49567
llvm-svn: 337829
2018-07-24 15:08:13 +00:00
Sid Manning
690b544f41
[ELF][HEXAGON] Add support for R_HEX_B15_PCREL
...
Add support and update the testcase.
Differential Revision: https://reviews.llvm.org/D49394
llvm-svn: 337494
2018-07-19 20:27:43 +00:00
Sid Manning
bdd71f358d
Add support for R_HEX_B32_PCREL_X, R_HEX_B22_PCREL_X relocations
...
A couple more basic relocations plus testcase.
Differential Revision: https://reviews.llvm.org/D47791
llvm-svn: 337484
2018-07-19 19:10:56 +00:00
Rui Ueyama
1ebde333e8
Remove needless bitwise-AND.
...
Because applyMask ignores upper bits, we don't need to mask them.
llvm-svn: 334647
2018-06-13 19:58:33 +00:00
Rui Ueyama
3cc4a0825b
Make a function non-member because it doesn't depend on any class.
...
llvm-svn: 334646
2018-06-13 19:50:10 +00:00
Rui Ueyama
803ffdbc7b
Apply clang-format.
...
llvm-svn: 334645
2018-06-13 19:49:58 +00:00
Sid Manning
95b0c2e1e3
Add Hexagon Support
...
Differential Revision: https://reviews.llvm.org/D47791
llvm-svn: 334637
2018-06-13 18:45:25 +00:00