| ... | ... | @@ -488,10 +488,12 @@ const usage_build_generic = |
| 488 | 488 | \\ -fno-build-id (default) Saves a bit of time linking |
| 489 | 489 | \\ --eh-frame-hdr Enable C++ exception handling by passing --eh-frame-hdr to linker |
| 490 | 490 | \\ --emit-relocs Enable output of relocation sections for post build tools |
| 491 | \\ --no-undefined Alias of -z defs |
| 491 | 492 | \\ -z [arg] Set linker extension flags |
| 492 | 493 | \\ nodelete Indicate that the object cannot be deleted from a process |
| 493 | 494 | \\ notext Permit read-only relocations in read-only segments |
| 494 | 495 | \\ defs Force a fatal error if any undefined symbols remain |
| 496 | \\ undefs Reverse of -z defs |
| 495 | 497 | \\ origin Indicate that the object must have its origin processed |
| 496 | 498 | \\ nocopyreloc Disable the creation of copy relocations |
| 497 | 499 | \\ now (default) Force all relocations to be processed on load |
| ... | ... | @@ -1333,6 +1335,8 @@ fn buildOutputType( |
| 1333 | 1335 | linker_z_notext = true; |
| 1334 | 1336 | } else if (mem.eql(u8, z_arg, "defs")) { |
| 1335 | 1337 | linker_z_defs = true; |
| 1338 | } else if (mem.eql(u8, z_arg, "undefs")) { |
| 1339 | linker_z_defs = false; |
| 1336 | 1340 | } else if (mem.eql(u8, z_arg, "origin")) { |
| 1337 | 1341 | linker_z_origin = true; |
| 1338 | 1342 | } else if (mem.eql(u8, z_arg, "nocopyreloc")) { |
| ... | ... | @@ -1879,6 +1883,8 @@ fn buildOutputType( |
| 1879 | 1883 | linker_gc_sections = true; |
| 1880 | 1884 | } else if (mem.eql(u8, arg, "-dead_strip_dylibs")) { |
| 1881 | 1885 | dead_strip_dylibs = true; |
| 1886 | } else if (mem.eql(u8, arg, "--no-undefined")) { |
| 1887 | linker_z_defs = true; |
| 1882 | 1888 | } else if (mem.eql(u8, arg, "--gc-sections")) { |
| 1883 | 1889 | linker_gc_sections = true; |
| 1884 | 1890 | } else if (mem.eql(u8, arg, "--no-gc-sections")) { |
| ... | ... | @@ -1944,6 +1950,8 @@ fn buildOutputType( |
| 1944 | 1950 | linker_z_notext = true; |
| 1945 | 1951 | } else if (mem.eql(u8, z_arg, "defs")) { |
| 1946 | 1952 | linker_z_defs = true; |
| 1953 | } else if (mem.eql(u8, z_arg, "undefs")) { |
| 1954 | linker_z_defs = false; |
| 1947 | 1955 | } else if (mem.eql(u8, z_arg, "origin")) { |
| 1948 | 1956 | linker_z_origin = true; |
| 1949 | 1957 | } else if (mem.eql(u8, z_arg, "nocopyreloc")) { |