#include "HexagonV4Encodings.h"
+#define FINDV4BITMASK(INSN) findBitMask(*((uint32_t *)INSN), \
+ insn_encodings_v4, \
+ sizeof(insn_encodings_v4)/sizeof(Instruction))
/// \brief finds the scatter Bits that need to be used to apply relocations
uint32_t findBitMask(uint32_t insn, Instruction *encodings, int32_t numInsns) {
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
-#ifndef LLD_READER_WRITER_ELF_HEXAGON_RELOCATION_FUNCTIONS_H
-#define LLD_READER_WRITER_ELF_HEXAGON_RELOCATION_FUNCTIONS_H
+#ifndef LLD_READER_WRITER_ELF_HEXAGON_RELOCATION_HANDLER_H
+#define LLD_READER_WRITER_ELF_HEXAGON_RELOCATION_HANDLER_H
#include "HexagonTargetHandler.h"
-#include "HexagonRelocationFunctions.h"
#include "lld/ReaderWriter/RelocationHelperFunctions.h"
namespace lld {