blob: ac94c11732877754bb146c96740eb5142d2e3b42 [file] [log] [blame]
//===- HexagonGOT.h -------------------------------------------------------===//
//
// The MCLinker Project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef TARGET_HEXAGON_HEXAGONGOT_H
#define TARGET_HEXAGON_HEXAGONGOT_H
#include <mcld/Target/GOT.h>
namespace mcld {
class LDSection;
class SectionData;
/** \class HexagonGOTEntry
* \brief GOT Entry with size of 4 bytes
*/
class HexagonGOTEntry : public GOT::Entry<4>
{
public:
HexagonGOTEntry(uint64_t pContent, SectionData* pParent)
: GOT::Entry<4>(pContent, pParent)
{}
};
/** \class HexagonGOT
* \brief Hexagon Global Offset Table.
*/
class HexagonGOT : public GOT
{
public:
HexagonGOT(LDSection& pSection);
~HexagonGOT();
HexagonGOTEntry* create();
};
} // namespace of mcld
#endif