| Index: lib/Target/MBlaze/MBlazeELFWriterInfo.cpp
|
| ===================================================================
|
| --- a/lib/Target/MBlaze/MBlazeELFWriterInfo.cpp
|
| +++ b/lib/Target/MBlaze/MBlazeELFWriterInfo.cpp
|
| @@ -31,7 +31,10 @@
|
|
|
| MBlazeELFWriterInfo::~MBlazeELFWriterInfo() {}
|
|
|
| -unsigned MBlazeELFWriterInfo::getRelocationType(unsigned MachineRelTy) const {
|
| +unsigned MBlazeELFWriterInfo::getRelocationType(const BinaryObject &,
|
| + const MachineRelocation &
|
| + MR) const {
|
| + unsigned MachineRelTy = MR.getRelocationType();
|
| switch(MachineRelTy) {
|
| case MBlaze::reloc_pcrel_word:
|
| return R_MICROBLAZE_64_PCREL;
|
|
|