Displaying 3 results from an estimated 3 matches for "00010164".
Did you mean:
00010161
2017 Jul 11
8
[LLD] Linker Relaxation
...1a: 00000317 auipc t1,0x0
1e: 000300e7 jalr t1
00000022 <.L2>:
22: 40b2 lw ra,12(sp)
24: 8522 mv a0,s0
26: 4422 lw s0,8(sp)
28: 0141 addi sp,sp,16
2a: 8082 ret
And after linking:
00010164 <foo>:
10164: 1141 addi sp,sp,-16
10166: c422 sw s0,8(sp)
10168: c606 sw ra,12(sp)
1016a: 06300793 li a5,99
1016e: 842a mv s0,a0
10...
2017 Jul 11
4
[LLD] Linker Relaxation
...<.L2>:
>> 22: 40b2 lw ra,12(sp)
>> 24: 8522 mv a0,s0
>> 26: 4422 lw s0,8(sp)
>> 28: 0141 addi sp,sp,16
>> 2a: 8082 ret
>>
>> And after linking:
>>
>> 00010164 <foo>:
>> 10164: 1141 addi sp,sp,-16
>> 10166: c422 sw s0,8(sp)
>> 10168: c606 sw ra,12(sp)
>> 1016a: 06300793 li a5,99
>> 1016e:...
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