Files
clang-p2996/lld/test/ELF/Inputs/relocatable.s
George Rimar 58941ee12a [ELF2] - Basic implementation of -r/--relocatable
-r, -relocatable - Generate relocatable output

Currently does not have support for files containing 
relocation sections with entries that refer to local 
symbols (like rel[a].eh_frame which refer to sections
and not to symbols)

Differential revision: http://reviews.llvm.org/D14382

llvm-svn: 261838
2016-02-25 08:23:37 +00:00

23 lines
214 B
ArmAsm

.text
.type xx,@object
.bss
.globl xx
.align 4
xx:
.long 0
.size xx, 4
.type yy,@object
.globl yy
.align 4
yy:
.long 0
.size yy, 4
.text
.globl foo
.align 16, 0x90
.type foo,@function
foo:
movl $1, xx
movl $2, yy