Index: usr.bin/elfctl/elfctl.c =================================================================== --- usr.bin/elfctl/elfctl.c +++ usr.bin/elfctl/elfctl.c @@ -233,6 +233,14 @@ input |= featurelist[i].value; break; } + /* XXX Backwards compatibility for renamed flags. */ + if (strncmp(featurelist[i].alias, "no", 2) == 0 && + strcmp(featurelist[i].alias + 2, feature) == 0) { + input |= featurelist[i].value; + warnx("interpreting %s as %s", feature, + featurelist[i].alias); + break; + } } if (i == len) { warnx("%s is not a valid feature", feature);