mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 21:50:40 +00:00
[AVR] Migrate to new MCAsmBackend applyFixup
https://reviews.llvm.org/D31875 Patch by Leslie Zhai! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299946 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8cc8cfefdf
commit
6fb757e574
@ -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.
|
||||
|
||||
|
@ -41,7 +41,7 @@ public:
|
||||
MCObjectWriter *createObjectWriter(raw_pwrite_stream &OS) const override;
|
||||
|
||||
void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
|
||||
uint64_t Value, bool IsPCRel) const override;
|
||||
uint64_t Value, bool IsPCRel, MCContext &Ctx) const override;
|
||||
|
||||
const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user