Make brandelf(1)'s -t "ABI format" case insensitive, as the ABI value
given is looked up in a table and no longer stored literally in the header. Submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz PR: 80499 MFC After: 1 month
This commit is contained in:
parent
2c443c417c
commit
816e8c037d
@ -189,7 +189,7 @@ elftype(const char *elfstrtype)
|
||||
for (elfwalk = 0;
|
||||
elfwalk < sizeof(elftypes)/sizeof(elftypes[0]);
|
||||
elfwalk++)
|
||||
if (strcmp(elfstrtype, elftypes[elfwalk].str) == 0)
|
||||
if (strcasecmp(elfstrtype, elftypes[elfwalk].str) == 0)
|
||||
return elftypes[elfwalk].value;
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user