Displaying 3 results from an estimated 3 matches for "0001a537".
2017 Jul 11
8
[LLD] Linker Relaxation
...c606 sw ra,12(sp)
1016a: 06300793 li a5,99
1016e: 842a mv s0,a0
10170: 00a7c863 blt a5,a0,10180 <foo+0x1c>
10174: 85aa mv a1,a0
10176: 0001a537 lui a0,0x1a
1017a: 6a050513 addi a0,a0,1696 # 1a6a0
<__clz_tab+0x100>
1017e: 2a69 jal 10318 <printf>
10180: 40b2 lw ra,12(sp)
10182: 8522 mv a0...
2017 Jul 11
4
[LLD] Linker Relaxation
...>> 1016a: 06300793 li a5,99
>> 1016e: 842a mv s0,a0
>> 10170: 00a7c863 blt a5,a0,10180 <foo+0x1c>
>> 10174: 85aa mv a1,a0
>> 10176: 0001a537 lui a0,0x1a
>> 1017a: 6a050513 addi a0,a0,1696 # 1a6a0
>> <__clz_tab+0x100>
>> 1017e: 2a69 jal 10318 <printf>
>> 10180: 40b2 lw ra,12(sp)
>> 10...
2017 Jul 11
2
[LLD] Linker Relaxation
Hi,
Does lld support linker relaxation that may shrink code size? As far
as I see lld seems to assume that the content of input sections to be
fixed other than patching up relocations, but I believe some targets
may benefit the extra optimization opportunity with relaxation.
Specifically, I'm currently working on adding support for RISC-V in
lld, and RISC-V heavily relies on linker relaxation