This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I see it is reliable to relax pc-relative instructions, like bl-32bits relax to bl-16bits (for function call) for the pc-relative offset can be calculated correctly?
1, Can ld relax direct jump instructions?
Such as jump-32bits relax to jump-16bits. It is not the final link,
and all global symbol address is not fixed. In the relaxation stage,
can i directly use the global symbol address as the final address?
2, Does ld handle pc-relative relaxation and direct jump relaxation the same way?
3, Almost all the targets shrink the instruction size during relaxation. Can i enlarge the instruction? like bl32-bits relax to bl-48bits?
Cheers Nick
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |