repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[memprof] Remove an unused using directive (#117004)
[llvm-project.git]
/
lld
/
test
/
ELF
/
riscv-reloc-64-pic.s
blob
2c2dc7b9bb8937ef3d8b3d8227183bf89abc257f
1
# REQUIRES: riscv
2
# RUN: llvm-mc -filetype=obj -triple=riscv64 %s -o %t.o
3
# RUN: not ld.lld -shared %t.o -o /dev/null 2>&1 | FileCheck %s
4
5
# CHECK: error: relocation R_RISCV_32 cannot be used against symbol 'a'
6
7
.globl a
8
9
.data
10
.long a