| author | |
| committer | |
| log | 6ec7757914540b7f64fa5c8a2ea3cc241a1a05d0 |
| tree | f517892ceb4cc0fcbae55229b535b30df034e37f |
| parent | 11badbfe8ef5678ffb1d404cc42db036a899d844 |
| signature |
See: https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc1 files changed, 1 insertions(+), 1 deletions(-)
src/link/Elf.zig+1-1| ... | ... | @@ -3150,7 +3150,7 @@ fn addLinkerDefinedSymbols(self: *Elf) !void { |
| 3150 | 3150 | } |
| 3151 | 3151 | } |
| 3152 | 3152 | |
| 3153 | if (self.getTarget().cpu.arch == .riscv64 and self.isEffectivelyDynLib()) { | |
| 3153 | if (self.getTarget().cpu.arch.isRISCV() and self.isEffectivelyDynLib()) { | |
| 3154 | 3154 | self.global_pointer_index = try linker_defined.addGlobal("__global_pointer$", self); |
| 3155 | 3155 | } |
| 3156 | 3156 |