annotate lld/test/ELF/ppc64-abs32-dyn.s @ 192:d7606dcf6fce

Added tag llvm10 for changeset 0572611fdcc8
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 14 Dec 2020 18:01:34 +0900
parents 1d019706d866
children c4bab56944e8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 # REQUIRES: ppc
anatofuz
parents:
diff changeset
2 # RUN: llvm-mc -filetype=obj -triple=powerpc64le %s -o %t.o
anatofuz
parents:
diff changeset
3 # RUN: not ld.lld -shared %t.o -o /dev/null 2>&1 | FileCheck %s
anatofuz
parents:
diff changeset
4
anatofuz
parents:
diff changeset
5 ## Test we don't create R_AARCH64_RELATIVE.
anatofuz
parents:
diff changeset
6
anatofuz
parents:
diff changeset
7 # CHECK: error: relocation R_PPC64_ADDR32 cannot be used against symbol hidden; recompile with -fPIC
anatofuz
parents:
diff changeset
8
anatofuz
parents:
diff changeset
9 .globl hidden
anatofuz
parents:
diff changeset
10 .hidden hidden
anatofuz
parents:
diff changeset
11 hidden:
anatofuz
parents:
diff changeset
12
anatofuz
parents:
diff changeset
13 .data
anatofuz
parents:
diff changeset
14 .long hidden