Date: Fri, 18 Oct 2019 20:02:46 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r353738 - head/contrib/llvm/tools/lld/ELF Message-ID: <201910182002.x9IK2kem065035@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Fri Oct 18 20:02:46 2019 New Revision: 353738 URL: https://svnweb.freebsd.org/changeset/base/353738 Log: 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 Modified: head/contrib/llvm/tools/lld/ELF/Driver.cpp Modified: head/contrib/llvm/tools/lld/ELF/Driver.cpp ============================================================================== --- head/contrib/llvm/tools/lld/ELF/Driver.cpp Fri Oct 18 19:30:12 2019 (r353737) +++ head/contrib/llvm/tools/lld/ELF/Driver.cpp Fri Oct 18 20:02:46 2019 (r353738) @@ -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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910182002.x9IK2kem065035>