summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objcopy/COFF
diff options
context:
space:
mode:
authorEugene Leviant <eleviant@accesssoftek.com>2019-02-26 09:24:22 +0000
committerEugene Leviant <eleviant@accesssoftek.com>2019-02-26 09:24:22 +0000
commit53350d041154350bcacbca5a7692d910e0a741de (patch)
treef48df893a3a2287ea9fa4661fe08f5a18abe72ab /llvm/tools/llvm-objcopy/COFF
parente6f22596e5de7f4fc6f1de4725d4aa9b6aeef4aa (diff)
downloadbcm5719-llvm-53350d041154350bcacbca5a7692d910e0a741de.tar.gz
bcm5719-llvm-53350d041154350bcacbca5a7692d910e0a741de.zip
[llvm-objcopy] Add --set-start, --change-start and --adjust-start
Differential revision: https://reviews.llvm.org/D58173 llvm-svn: 354854
Diffstat (limited to 'llvm/tools/llvm-objcopy/COFF')
-rw-r--r--llvm/tools/llvm-objcopy/COFF/COFFObjcopy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-objcopy/COFF/COFFObjcopy.cpp b/llvm/tools/llvm-objcopy/COFF/COFFObjcopy.cpp
index bdc0e4ff312..92e027f7b6c 100644
--- a/llvm/tools/llvm-objcopy/COFF/COFFObjcopy.cpp
+++ b/llvm/tools/llvm-objcopy/COFF/COFFObjcopy.cpp
@@ -186,7 +186,7 @@ static Error handleArgs(const CopyConfig &Config, Object &Obj) {
Config.PreserveDates || Config.StripDWO || Config.StripNonAlloc ||
Config.StripSections || Config.Weaken || Config.DecompressDebugSections ||
Config.DiscardMode == DiscardType::Locals ||
- !Config.SymbolsToAdd.empty()) {
+ !Config.SymbolsToAdd.empty() || Config.EntryExpr) {
return createStringError(llvm::errc::invalid_argument,
"Option not supported by llvm-objcopy for COFF");
}
OpenPOWER on IntegriCloud