Move a function declaration to a header.
llvm-svn: 272146
This commit is contained in:
parent
1ef925f0bd
commit
3e097b1a06
|
@ -58,8 +58,6 @@ using namespace llvm::support::endian;
|
|||
namespace lld {
|
||||
namespace elf {
|
||||
|
||||
StringRef getRelName(uint32_t Type);
|
||||
|
||||
static bool refersToGotEntry(RelExpr Expr) {
|
||||
return Expr == R_GOT || Expr == R_GOT_OFF || Expr == R_MIPS_GOT_LOCAL ||
|
||||
Expr == R_MIPS_GOT_LOCAL_PAGE || Expr == R_GOT_PAGE_PC ||
|
||||
|
|
|
@ -98,6 +98,7 @@ public:
|
|||
virtual void relaxTlsLdToLe(uint8_t *Loc, uint32_t Type, uint64_t Val) const;
|
||||
};
|
||||
|
||||
StringRef getRelName(uint32_t Type);
|
||||
uint64_t getPPC64TocBase();
|
||||
|
||||
const unsigned MipsGPOffset = 0x7ff0;
|
||||
|
|
Loading…
Reference in New Issue