-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
23 lines
214 B
ArmAsm
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
|