3 # RUN: llvm-mc -filetype=obj -triple=powerpc64le-unknown-linux %s -o %t.o
4 # RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
6 # RUN: llvm-mc -filetype=obj -triple=powerpc64-unknown-linux %s -o %t.o
7 # RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
9 # CHECK: improper alignment for relocation R_PPC64_TOC16_LO_DS: 0x8009 is not aligned to 16 bytes
16 addis 2, 12, .TOC.-.Lgep@ha
17 addi 2, 2, .TOC.-.Lgep@l
19 .localentry test, .Llep-.Lgep
20 addis 3, 2, qword@toc@ha