| ... | @@ -833,9 +833,13 @@ static int main0(int argc, char **argv) { | ... | @@ -833,9 +833,13 @@ static int main0(int argc, char **argv) { |
| 833 | linker_gc_sections = OptionalBoolTrue; | 833 | linker_gc_sections = OptionalBoolTrue; |
| 834 | } else if (buf_eql_str(arg, "--no-gc-sections")) { | 834 | } else if (buf_eql_str(arg, "--no-gc-sections")) { |
| 835 | linker_gc_sections = OptionalBoolFalse; | 835 | linker_gc_sections = OptionalBoolFalse; |
| 836 | } else if (buf_eql_str(arg, "--allow-shlib-undefined")) { | 836 | } else if (buf_eql_str(arg, "--allow-shlib-undefined") || |
| | 837 | buf_eql_str(arg, "-allow-shlib-undefined")) |
| | 838 | { |
| 837 | linker_allow_shlib_undefined = OptionalBoolTrue; | 839 | linker_allow_shlib_undefined = OptionalBoolTrue; |
| 838 | } else if (buf_eql_str(arg, "--no-allow-shlib-undefined")) { | 840 | } else if (buf_eql_str(arg, "--no-allow-shlib-undefined") || |
| | 841 | buf_eql_str(arg, "-no-allow-shlib-undefined")) |
| | 842 | { |
| 839 | linker_allow_shlib_undefined = OptionalBoolFalse; | 843 | linker_allow_shlib_undefined = OptionalBoolFalse; |
| 840 | } else if (buf_eql_str(arg, "-z")) { | 844 | } else if (buf_eql_str(arg, "-z")) { |
| 841 | i += 1; | 845 | i += 1; |