Files
clang-p2996/lld/test/ELF/Inputs/relocatable2.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
224 B
ArmAsm

.text
.type xxx,@object
.bss
.globl xxx
.align 4
xxx:
.long 0
.size xxx, 4
.type yyy,@object
.globl yyy
.align 4
yyy:
.long 0
.size yyy, 4
.text
.globl bar
.align 16, 0x90
.type bar,@function
bar:
movl $8, xxx
movl $9, yyy