| Index: lib/Target/MBlaze/MBlazeELFWriterInfo.h
|
| ===================================================================
|
| --- a/lib/Target/MBlaze/MBlazeELFWriterInfo.h
|
| +++ b/lib/Target/MBlaze/MBlazeELFWriterInfo.h
|
| @@ -17,6 +17,7 @@
|
| #include "llvm/Target/TargetELFWriterInfo.h"
|
|
|
| namespace llvm {
|
| + class MachineRelocation;
|
|
|
| class MBlazeELFWriterInfo : public TargetELFWriterInfo {
|
|
|
| @@ -51,8 +52,10 @@
|
| virtual ~MBlazeELFWriterInfo();
|
|
|
| /// getRelocationType - Returns the target specific ELF Relocation type.
|
| - /// 'MachineRelTy' contains the object code independent relocation type
|
| - virtual unsigned getRelocationType(unsigned MachineRelTy) const;
|
| + /// S is the ELF section blob that contains the relocation
|
| + /// MR contains the object code independent relocation type
|
| + virtual unsigned getRelocationType(const BinaryObject &S,
|
| + const MachineRelocation &MR) const;
|
|
|
| /// hasRelocationAddend - True if the target uses an addend in the
|
| /// ELF relocation entry.
|
|
|