diff options
| author | 2019-06-23 21:36:31 +0000 | |
|---|---|---|
| committer | 2019-06-23 21:36:31 +0000 | |
| commit | 23f101f37937a1bd4a29726cab2f76e0fb038b35 (patch) | |
| tree | f7da7d6b32c2e07114da399150bfa88d72187012 /gnu/llvm/lib/MC/MCSectionELF.cpp | |
| parent | sort previous; ok deraadt (diff) | |
| download | wireguard-openbsd-23f101f37937a1bd4a29726cab2f76e0fb038b35.tar.xz wireguard-openbsd-23f101f37937a1bd4a29726cab2f76e0fb038b35.zip | |
Import LLVM 8.0.0 release including clang, lld and lldb.
Diffstat (limited to 'gnu/llvm/lib/MC/MCSectionELF.cpp')
| -rw-r--r-- | gnu/llvm/lib/MC/MCSectionELF.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/llvm/lib/MC/MCSectionELF.cpp b/gnu/llvm/lib/MC/MCSectionELF.cpp index 4d77d05cc50..7ee1694ebbf 100644 --- a/gnu/llvm/lib/MC/MCSectionELF.cpp +++ b/gnu/llvm/lib/MC/MCSectionELF.cpp @@ -116,6 +116,9 @@ void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T, } else if (T.isARM() || T.isThumb()) { if (Flags & ELF::SHF_ARM_PURECODE) OS << 'y'; + } else if (Arch == Triple::hexagon) { + if (Flags & ELF::SHF_HEX_GPREL) + OS << 's'; } OS << '"'; |
