ref: eebf49a86e90ebb4493045c188fdd734cc7c6332
parent: 715f312b3c3a3faa943e7a8c3905bbc768d89d89
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed May 30 16:24:07 EDT 2018
[as] Fix parameter parsing Empty command line is argc == 0 and no < 0.
--- a/ld/main.c
+++ b/ld/main.c
@@ -250,7 +250,7 @@
}
}
- if (argc < 0)
+ if (argc == 0)
usage();
pass1(argc, argv);