authorgravatar for iridescentrosesfall@gmail.comNathan <iridescentrosesfall@gmail.com> 2020-10-01 17:47:32-04:00
committergravatar for iridescentrosesfall@gmail.comNathan <iridescentrosesfall@gmail.com> 2020-10-01 17:47:32-04:00
log5e3ce11b1863b05aba8a2ccadc1140a383ff031a
tree54cf947e2920b7687eaf0071c47da306a5dbe2c7
parent1bc197bc02eff484355a238f1cb6a87305f95952

Resolve name and format issues.


3 files changed, 4 insertions(+), 4 deletions(-)

lib/std/build.zig+2-2
......@@ -2076,8 +2076,8 @@ pub const LibExeObjStep = struct {
20762076 if (self.link_eh_frame_hdr) {
20772077 try zig_args.append("--eh-frame-hdr");
20782078 }
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");
20812081 }
20822082 if (self.link_function_sections) {
20832083 try zig_args.append("-ffunction-sections");
src/link/Elf.zig+1-1
......@@ -1367,7 +1367,7 @@ fn linkWithLLD(self: *Elf, comp: *Compilation) !void {
13671367 }
13681368
13691369 if (self.base.options.emit_relocs) {
1370 try argv.append("-emit-relocs");
1370 try argv.append("--emit-relocs");
13711371 }
13721372
13731373 if (self.base.options.rdynamic) {
src/main.zig+1-1
......@@ -273,7 +273,7 @@ const usage_build_generic =
273273 \\ -rdynamic Add all symbols to the dynamic symbol table
274274 \\ -rpath [path] Add directory to the runtime library search path
275275 \\ --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
277277 \\ -dynamic Force output to be dynamically linked
278278 \\ -static Force output to be statically linked
279279 \\ -Bsymbolic Bind global references locally