16f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines//===- HexagonGOT.cpp -----------------------------------------------------===//
26f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines//
36f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines//                     The MCLinker Project
46f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines//
56f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines// This file is distributed under the University of Illinois Open Source
66f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines// License. See LICENSE.TXT for details.
76f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines//
86f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines//===----------------------------------------------------------------------===//
96f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines#include "HexagonGOT.h"
106f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines
116f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines#include <mcld/LD/LDFileFormat.h>
126f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines#include <mcld/LD/SectionData.h>
136f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines
146f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines#include <llvm/Support/Casting.h>
156f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines
166f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hinesusing namespace mcld;
176f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines
186f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines//===----------------------------------------------------------------------===//
196f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines// HexagonGOT
206f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines//===----------------------------------------------------------------------===//
216f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen HinesHexagonGOT::HexagonGOT(LDSection& pSection)
22533eae20118036f425f27bf0536ef0ccbb090b65Stephen Hines  : GOT(pSection)
236f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines{
246f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines}
256f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines
266f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen HinesHexagonGOT::~HexagonGOT()
276f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines{
286f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines}
296f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines
3087f34658dec9097d987d254a990ea7f311bfc95fStephen HinesHexagonGOTEntry* HexagonGOT::create()
316f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines{
3287f34658dec9097d987d254a990ea7f311bfc95fStephen Hines  return new HexagonGOTEntry(0, m_SectionData);
336f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines}
346f75755c9204b1d8817ae5a65a2f7e5af0ec3f70Stephen Hines
35