forked from OSchip/llvm-project
parent
b3dc3afd22
commit
95d4e61411
|
@ -14,7 +14,7 @@
|
|||
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
typedef llvm::object::ELFType<llvm::support::little, 4, false> HexagonELFType;
|
||||
typedef llvm::object::ELFType<llvm::support::little, 2, false> HexagonELFType;
|
||||
class HexagonLinkingContext;
|
||||
|
||||
template <class HexagonELFType> class HexagonRuntimeFile
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
typedef llvm::object::ELFType<llvm::support::little, 4, false> HexagonELFType;
|
||||
|
||||
class HexagonLinkingContext;
|
||||
class HexagonTargetHandler;
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
typedef llvm::object::ELFType<llvm::support::little, 4, false> HexagonELFType;
|
||||
typedef llvm::object::ELFType<llvm::support::little, 2, false> HexagonELFType;
|
||||
template <typename ELFT> class HexagonTargetLayout;
|
||||
class HexagonLinkingContext;
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
typedef llvm::object::ELFType<llvm::support::little, 4, false> HexagonELFType;
|
||||
typedef llvm::object::ELFType<llvm::support::little, 2, false> HexagonELFType;
|
||||
class HexagonLinkingContext;
|
||||
|
||||
/// \brief Handle Hexagon specific Atoms
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
typedef llvm::object::ELFType<llvm::support::big, 4, false> PPCELFType;
|
||||
typedef llvm::object::ELFType<llvm::support::big, 2, false> PPCELFType;
|
||||
class PPCLinkingContext;
|
||||
|
||||
class PPCTargetRelocationHandler LLVM_FINAL
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
typedef llvm::object::ELFType<llvm::support::little, 4, false> X86ELFType;
|
||||
typedef llvm::object::ELFType<llvm::support::little, 2, false> X86ELFType;
|
||||
class X86LinkingContext;
|
||||
|
||||
class X86TargetRelocationHandler LLVM_FINAL
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
typedef llvm::object::ELFType<llvm::support::little, 8, true> X86_64ELFType;
|
||||
typedef llvm::object::ELFType<llvm::support::little, 2, true> X86_64ELFType;
|
||||
class X86_64LinkingContext;
|
||||
|
||||
class X86_64TargetRelocationHandler LLVM_FINAL
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
namespace lld {
|
||||
namespace elf {
|
||||
typedef llvm::object::ELFType<llvm::support::little, 8, true> X86_64ELFType;
|
||||
typedef llvm::object::ELFType<llvm::support::little, 2, true> X86_64ELFType;
|
||||
class X86_64LinkingContext;
|
||||
|
||||
class X86_64TargetHandler LLVM_FINAL
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,8 @@
|
|||
# This tests that we lld is able to get the contentType properly for archives
|
||||
# when they intermittently get loaded at an address whose alignment is 2
|
||||
|
||||
RUN: lld -flavor gnu -target hexagon --whole-archive %p/Inputs/libMaxAlignment.a \
|
||||
RUN: --noinhibit-exec -static -o %t
|
||||
RUN: llvm-nm %t | FileCheck %s
|
||||
|
||||
CHECK: {{[0-9a-f]+}} D a
|
Loading…
Reference in New Issue