Files
clang-p2996/lld/lib/ReaderWriter/ELF/ARM/ARMRelocationPass.h
Greg Fitzgerald 8a1887f1f1 [ELF] Minimal implementation for ARM static linking
The code is able to statically link the simplest case of:

  int main() { return 0; }

* Only works with ARM code - no Thumb code, no interwork (-marm -mno-thumb-interwork)
* musl libc built with no interwork and no Thumb code

Differential Revision: http://reviews.llvm.org/D6716

From: Denis Protivensky <dprotivensky@accesssoftek.com>
llvm-svn: 226643
2015-01-21 07:35:48 +00:00

32 lines
912 B
C++

//===--------- lib/ReaderWriter/ELF/ARM/ARMRelocationPass.h ---------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
///
/// \file
/// \brief Declares the relocation processing pass for ARM. This includes
/// GOT and PLT entries, TLS, COPY, and ifunc.
///
//===----------------------------------------------------------------------===//
#ifndef LLD_READER_WRITER_ELF_ARM_ARM_RELOCATION_PASS_H
#define LLD_READER_WRITER_ELF_ARM_ARM_RELOCATION_PASS_H
#include <memory>
namespace lld {
class Pass;
namespace elf {
class ARMLinkingContext;
/// \brief Create ARM relocation pass for the given linking context.
std::unique_ptr<Pass> createARMRelocationPass(const ARMLinkingContext &);
}
}
#endif