annotate lld/test/ELF/writable-sec-plt-reloc.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 # REQUIRES: x86
anatofuz
parents:
diff changeset
2 # RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
anatofuz
parents:
diff changeset
3 # RUN: llvm-mc %p/Inputs/writable-sec-plt-reloc.s -o %t2.o -filetype=obj -triple=x86_64-pc-linux
anatofuz
parents:
diff changeset
4 # RUN: ld.lld %t2.o -o %t2.so -shared
anatofuz
parents:
diff changeset
5 # RUN: ld.lld %t.o %t2.so -o %t
anatofuz
parents:
diff changeset
6 # RUN: llvm-readelf --symbols -r %t | FileCheck %s
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 # CHECK: R_X86_64_JUMP_SLOT {{.*}} foo + 0
anatofuz
parents:
diff changeset
9 # CHECK: 0 FUNC GLOBAL DEFAULT UND foo
anatofuz
parents:
diff changeset
10
anatofuz
parents:
diff changeset
11 .section .bar,"awx"
anatofuz
parents:
diff changeset
12 .global _start
anatofuz
parents:
diff changeset
13 _start:
anatofuz
parents:
diff changeset
14 .long foo - .