| author | |
| committer | |
| log | 68cebde186eb8507509c9418c1ab3b843c6f24ff |
| tree | 304a26c5c7eebe912994f03a72fc9f81cc685d25 |
| parent | 5633767b20b1e2c9a650bdf6045c260ec4ce42ef |
| signature |
On MIPS, this call will require a relocation, which we can't do until after PIE
relocations have been applied.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/os/linux/start_pie.zig+1-1| ... | ... | @@ -38,7 +38,7 @@ const R_RELATIVE = switch (builtin.cpu.arch) { |
| 38 | 38 | // Obtain a pointer to the _DYNAMIC array. |
| 39 | 39 | // We have to compute its address as a PC-relative quantity not to require a |
| 40 | 40 | // relocation that, at this point, is not yet applied. |
| 41 | fn getDynamicSymbol() [*]elf.Dyn { | |
| 41 | inline fn getDynamicSymbol() [*]elf.Dyn { | |
| 42 | 42 | return switch (builtin.cpu.arch) { |
| 43 | 43 | .x86 => asm volatile ( |
| 44 | 44 | \\ .weak _DYNAMIC |