summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp
diff options
context:
space:
mode:
authorJonathan Roelofs <jonathan@codesourcery.com>2017-04-11 14:51:49 +0000
committerJonathan Roelofs <jonathan@codesourcery.com>2017-04-11 14:51:49 +0000
commit5e39c446545225384027fcdf9e4b8827377a950f (patch)
tree8e37191d0c99c50505fc4a60f46bbcc3c76a5a60 /llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp
parent83b64654fd68fd3cb5fa5a138c077b268bd2ec16 (diff)
downloadbcm5719-llvm-5e39c446545225384027fcdf9e4b8827377a950f.tar.gz
bcm5719-llvm-5e39c446545225384027fcdf9e4b8827377a950f.zip
[AVR] Migrate to new MCAsmBackend applyFixup
https://reviews.llvm.org/D31875 Patch by Leslie Zhai! llvm-svn: 299946
Diffstat (limited to 'llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp')
-rw-r--r--llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp b/llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp
index 081d8b5740e..5c3b45ac232 100644
--- a/llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp
+++ b/llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp
@@ -335,7 +335,7 @@ MCObjectWriter *AVRAsmBackend::createObjectWriter(raw_pwrite_stream &OS) const {
void AVRAsmBackend::applyFixup(const MCFixup &Fixup, char *Data,
unsigned DataSize, uint64_t Value,
- bool IsPCRel) const {
+ bool IsPCRel, MCContext &Ctx) const {
if (Value == 0)
return; // Doesn't change encoding.
OpenPOWER on IntegriCloud