Move a function declaration to a header.

llvm-svn: 272146
This commit is contained in:
Rui Ueyama 2016-06-08 14:35:22 +00:00
parent 1ef925f0bd
commit 3e097b1a06
2 changed files with 1 additions and 2 deletions

View File

@ -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 ||

View File

@ -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;