| commit | 519349b57d72abc64175d2341dd6b40426212eb4 | [log] [tgz] |
|---|---|---|
| author | Nelson Chu <nelson@rivosinc.com> | Thu Aug 21 12:33:04 2025 +0800 |
| committer | Nelson Chu <nelson@rivosinc.com> | Thu Sep 04 16:33:50 2025 +0800 |
| tree | 162dffd7b4b9ab7f63542fb752281d9527dab98a | |
| parent | 672a326e2c1a0eb5e318637df205fcdf10cc48a0 [diff] |
RISC-V: Don't generate R_RISCV_RELATIVE if symbol referenced section is SH_ABS It's werid if it's absolute symbol but have a relative reloc for got entry under pie. So don't generate relative reloc if symbol referenced section is SH_ABS. However, x86 allows the absolute symbol defined in linker script has a relative reloc, not sure if risc-v needs this or not.