| author | |
| committer | |
| log | 5e3ce11b1863b05aba8a2ccadc1140a383ff031a |
| tree | 54cf947e2920b7687eaf0071c47da306a5dbe2c7 |
| parent | 1bc197bc02eff484355a238f1cb6a87305f95952 |
3 files changed, 4 insertions(+), 4 deletions(-)
lib/std/build.zig+2-2| ... | ... | @@ -2076,8 +2076,8 @@ pub const LibExeObjStep = struct { |
| 2076 | 2076 | if (self.link_eh_frame_hdr) { |
| 2077 | 2077 | try zig_args.append("--eh-frame-hdr"); |
| 2078 | 2078 | } |
| 2079 | if(self.link_emit_relocs){ | |
| 2080 | try zig_args.append("-emit-relocs"); | |
| 2079 | if(self.link_emit_relocs) { | |
| 2080 | try zig_args.append("--emit-relocs"); | |
| 2081 | 2081 | } |
| 2082 | 2082 | if (self.link_function_sections) { |
| 2083 | 2083 | try zig_args.append("-ffunction-sections"); |
src/link/Elf.zig+1-1| ... | ... | @@ -1367,7 +1367,7 @@ fn linkWithLLD(self: *Elf, comp: *Compilation) !void { |
| 1367 | 1367 | } |
| 1368 | 1368 | |
| 1369 | 1369 | if (self.base.options.emit_relocs) { |
| 1370 | try argv.append("-emit-relocs"); | |
| 1370 | try argv.append("--emit-relocs"); | |
| 1371 | 1371 | } |
| 1372 | 1372 | |
| 1373 | 1373 | if (self.base.options.rdynamic) { |
src/main.zig+1-1| ... | ... | @@ -273,7 +273,7 @@ const usage_build_generic = |
| 273 | 273 | \\ -rdynamic Add all symbols to the dynamic symbol table |
| 274 | 274 | \\ -rpath [path] Add directory to the runtime library search path |
| 275 | 275 | \\ --eh-frame-hdr Enable C++ exception handling by passing --eh-frame-hdr to linker |
| 276 | \\ -emit-relocs Enable output of relocation sections for post build tools | |
| 276 | \\ --emit-relocs Enable output of relocation sections for post build tools | |
| 277 | 277 | \\ -dynamic Force output to be dynamically linked |
| 278 | 278 | \\ -static Force output to be statically linked |
| 279 | 279 | \\ -Bsymbolic Bind global references locally |