aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-07-21 22:31:59 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2024-07-21 22:38:14 +0200
commitecd459b8647a1b7cade31f0286694e14101f80f4 (patch)
tree46c47af6afb0e7c568d0ce52050c02d097542064 /src/codegen/llvm.zig
parent08cddaf11c7bac5fba2e696ed6b99d1f7b730543 (diff)
downloadzig-ecd459b8647a1b7cade31f0286694e14101f80f4.tar.gz
zig-ecd459b8647a1b7cade31f0286694e14101f80f4.zip
start: Avoid going through the argc_argv_ptr global variable.
This is problematic for PIE. There's nothing but luck preventing the accesses to this global variable from requiring relocations. I've observed this being an issue on MIPS and PowerPC personally, but others may be affected. Besides, we're really just passing the initial stack pointer value to posixCallMainAndExit(), so... just do that.
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions