diff --git a/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_ehframe.s b/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_ehframe.s index 4960bfc55f3e89..3b84768ce78665 100644 --- a/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_ehframe.s +++ b/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_ehframe.s @@ -2,6 +2,9 @@ # RUN: llvm-mc -triple=powerpc64le-unknown-linux-gnu -filetype=obj -o %t %s # RUN: llvm-jitlink -noexec -phony-externals -debug-only=jitlink %t 2>&1 | \ # RUN: FileCheck %s +# RUN: llvm-mc -triple=powerpc64-unknown-linux-gnu -filetype=obj -o %t %s +# RUN: llvm-jitlink -noexec -phony-externals -debug-only=jitlink %t 2>&1 | \ +# RUN: FileCheck %s # # Check that splitting of eh-frame sections works. # diff --git a/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_relocations.s b/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_relocations.s index 6df20014ba65ac..74d7379c44ba8e 100644 --- a/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_relocations.s +++ b/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_relocations.s @@ -6,6 +6,13 @@ # RUN: --abs external_func=0xcafef00d \ # RUN: --abs external_func_notoc=0x88880000 \ # RUN: --check %s %t/elf_reloc.o +# RUN: llvm-mc --triple=powerpc64-unknown-linux-gnu --filetype=obj -o \ +# RUN: %t/elf_reloc.o %s +# RUN: not llvm-jitlink --noexec \ +# RUN: --abs external_data=0xdeadbeef \ +# RUN: --abs external_func=0xcafef00d \ +# RUN: --abs external_func_notoc=0x88880000 \ +# RUN: --check %s %t/elf_reloc.o # jitlink-check: section_addr(elf_reloc.o, $__GOT) + 0x8000 = __TOC__ .text