mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
Resolve name and format issues.
This commit is contained in:
parent
1bc197bc02
commit
5e3ce11b18
@ -2076,8 +2076,8 @@ pub const LibExeObjStep = struct {
|
||||
if (self.link_eh_frame_hdr) {
|
||||
try zig_args.append("--eh-frame-hdr");
|
||||
}
|
||||
if(self.link_emit_relocs){
|
||||
try zig_args.append("-emit-relocs");
|
||||
if(self.link_emit_relocs) {
|
||||
try zig_args.append("--emit-relocs");
|
||||
}
|
||||
if (self.link_function_sections) {
|
||||
try zig_args.append("-ffunction-sections");
|
||||
|
||||
@ -1367,7 +1367,7 @@ fn linkWithLLD(self: *Elf, comp: *Compilation) !void {
|
||||
}
|
||||
|
||||
if (self.base.options.emit_relocs) {
|
||||
try argv.append("-emit-relocs");
|
||||
try argv.append("--emit-relocs");
|
||||
}
|
||||
|
||||
if (self.base.options.rdynamic) {
|
||||
|
||||
@ -273,7 +273,7 @@ const usage_build_generic =
|
||||
\\ -rdynamic Add all symbols to the dynamic symbol table
|
||||
\\ -rpath [path] Add directory to the runtime library search path
|
||||
\\ --eh-frame-hdr Enable C++ exception handling by passing --eh-frame-hdr to linker
|
||||
\\ -emit-relocs Enable output of relocation sections for post build tools
|
||||
\\ --emit-relocs Enable output of relocation sections for post build tools
|
||||
\\ -dynamic Force output to be dynamically linked
|
||||
\\ -static Force output to be statically linked
|
||||
\\ -Bsymbolic Bind global references locally
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user