mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
[ARM64] Ensure arm64_be is dealt with when emitting debug info.
This is a partial port of r204816 (cpirker "Elf support for MC-JIT runtime dynamic linker") from AArch64 to ARM64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207625 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -291,7 +291,8 @@ void MCObjectFileInfo::InitELFMCObjectFileInfo(Triple T) {
|
||||
}
|
||||
} else if (T.getArch() == Triple::aarch64 ||
|
||||
T.getArch() == Triple::aarch64_be ||
|
||||
T.getArch() == Triple::arm64) {
|
||||
T.getArch() == Triple::arm64 ||
|
||||
T.getArch() == Triple::arm64_be) {
|
||||
// The small model guarantees static code/data size < 4GB, but not where it
|
||||
// will be in memory. Most of these could end up >2GB away so even a signed
|
||||
// pc-relative 32-bit address is insufficient, theoretically.
|
||||
|
||||
Reference in New Issue
Block a user