aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/ppc64-tocopt-option.s
blob: 78494346beb5425d604cc64ae751186e3d565b60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# REQUIRES: x86

# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: not ld.lld %t --toc-optimize -o /dev/null 2>&1 | FileCheck %s

# CHECK: error: --toc-optimize is only supported on the PowerPC64 target

         .global __start
         .type __start,@function

         .text
        .quad 0
 __start: