Pull in r372651 from upstream lld trunk (by Simon Atanasyan):
[mips] Support elf32btsmipn32_fbsd / elf32ltsmipn32_fbsd emulations Patch by Kyle Evans. Requested by: kevans MFC after: 1 month X-MFC-With: r353358
This commit is contained in:
parent
29d6838150
commit
1b0cd7b6b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=353738
@ -966,7 +966,8 @@ static void readConfigs(opt::InputArgList &args) {
|
||||
StringRef s = arg->getValue();
|
||||
std::tie(config->ekind, config->emachine, config->osabi) =
|
||||
parseEmulation(s);
|
||||
config->mipsN32Abi = (s == "elf32btsmipn32" || s == "elf32ltsmipn32");
|
||||
config->mipsN32Abi =
|
||||
(s.startswith("elf32btsmipn32") || s.startswith("elf32ltsmipn32"));
|
||||
config->emulation = s;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user