OPT L acts like -L and *dis*ables optimizing LD to LDH

Fixes #867
This commit is contained in:
Rangi
2021-05-01 22:54:26 -04:00
committed by Eldred Habert
parent 04788e15af
commit 665eb916a2
4 changed files with 8 additions and 6 deletions

View File

@@ -81,7 +81,7 @@ void opt_Parse(char *s)
case 'L':
if (s[1] == '\0')
opt_L(true);
opt_L(false);
else
error("Option 'L' does not take an argument\n");
break;
@@ -97,7 +97,7 @@ void opt_Parse(char *s)
switch (s[1]) {
case 'L':
if (s[2] == '\0')
opt_L(false);
opt_L(true);
else
error("Option '!L' does not take an argument\n");
break;