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 {...@@ -2076,8 +2076,8 @@ pub const LibExeObjStep = struct {
2076 if (self.link_eh_frame_hdr) {2076 if (self.link_eh_frame_hdr) {
2077 try zig_args.append("--eh-frame-hdr");2077 try zig_args.append("--eh-frame-hdr");
2078 }2078 }
2079 if(self.link_emit_relocs){2079 if(self.link_emit_relocs) {
2080 try zig_args.append("-emit-relocs");2080 try zig_args.append("--emit-relocs");
2081 }2081 }
2082 if (self.link_function_sections) {2082 if (self.link_function_sections) {
2083 try zig_args.append("-ffunction-sections");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,7 +1367,7 @@ fn linkWithLLD(self: *Elf, comp: *Compilation) !void {
1367 }1367 }
1368 1368
1369 if (self.base.options.emit_relocs) {1369 if (self.base.options.emit_relocs) {
1370 try argv.append("-emit-relocs");1370 try argv.append("--emit-relocs");
1371 }1371 }
13721372
1373 if (self.base.options.rdynamic) {1373 if (self.base.options.rdynamic) {
src/main.zig+1-1
...@@ -273,7 +273,7 @@ const usage_build_generic =...@@ -273,7 +273,7 @@ const usage_build_generic =
273 \\ -rdynamic Add all symbols to the dynamic symbol table273 \\ -rdynamic Add all symbols to the dynamic symbol table
274 \\ -rpath [path] Add directory to the runtime library search path274 \\ -rpath [path] Add directory to the runtime library search path
275 \\ --eh-frame-hdr Enable C++ exception handling by passing --eh-frame-hdr to linker275 \\ --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 tools276 \\ --emit-relocs Enable output of relocation sections for post build tools
277 \\ -dynamic Force output to be dynamically linked277 \\ -dynamic Force output to be dynamically linked
278 \\ -static Force output to be statically linked278 \\ -static Force output to be statically linked
279 \\ -Bsymbolic Bind global references locally279 \\ -Bsymbolic Bind global references locally