| ... | ... | @@ -492,6 +492,7 @@ const usage_build_generic = |
| 492 | 492 | \\ nodelete Indicate that the object cannot be deleted from a process |
| 493 | 493 | \\ notext Permit read-only relocations in read-only segments |
| 494 | 494 | \\ defs Force a fatal error if any undefined symbols remain |
| 495 | \\ undefs Reverse of -z defs |
| 495 | 496 | \\ origin Indicate that the object must have its origin processed |
| 496 | 497 | \\ nocopyreloc Disable the creation of copy relocations |
| 497 | 498 | \\ now (default) Force all relocations to be processed on load |
| ... | ... | @@ -1333,6 +1334,8 @@ fn buildOutputType( |
| 1333 | 1334 | linker_z_notext = true; |
| 1334 | 1335 | } else if (mem.eql(u8, z_arg, "defs")) { |
| 1335 | 1336 | linker_z_defs = true; |
| 1337 | } else if (mem.eql(u8, z_arg, "undefs")) { |
| 1338 | linker_z_defs = false; |
| 1336 | 1339 | } else if (mem.eql(u8, z_arg, "origin")) { |
| 1337 | 1340 | linker_z_origin = true; |
| 1338 | 1341 | } else if (mem.eql(u8, z_arg, "nocopyreloc")) { |
| ... | ... | @@ -1879,6 +1882,8 @@ fn buildOutputType( |
| 1879 | 1882 | linker_gc_sections = true; |
| 1880 | 1883 | } else if (mem.eql(u8, arg, "-dead_strip_dylibs")) { |
| 1881 | 1884 | dead_strip_dylibs = true; |
| 1885 | } else if (mem.eql(u8, arg, "--no-undefined")) { |
| 1886 | linker_z_defs = true; |
| 1882 | 1887 | } else if (mem.eql(u8, arg, "--gc-sections")) { |
| 1883 | 1888 | linker_gc_sections = true; |
| 1884 | 1889 | } else if (mem.eql(u8, arg, "--no-gc-sections")) { |
| ... | ... | @@ -1944,6 +1949,8 @@ fn buildOutputType( |
| 1944 | 1949 | linker_z_notext = true; |
| 1945 | 1950 | } else if (mem.eql(u8, z_arg, "defs")) { |
| 1946 | 1951 | linker_z_defs = true; |
| 1952 | } else if (mem.eql(u8, z_arg, "undefs")) { |
| 1953 | linker_z_defs = false; |
| 1947 | 1954 | } else if (mem.eql(u8, z_arg, "origin")) { |
| 1948 | 1955 | linker_z_origin = true; |
| 1949 | 1956 | } else if (mem.eql(u8, z_arg, "nocopyreloc")) { |