blob: 23f0cc8ae1fd1a7cfc5f9ae0745ede1d08e141f1 [file] [log] [blame]
.section .text
.globl _text_pointer
.section .data.rel
.type _text_pointer, @object
_text_pointer:
.long _text_address@c
.section .text
.globl _main
.type _main, @function
_main:
######################
# Data symbols
######################
movd $_text_pointer@l, (r1,r0)
######################
# Code symbol with cpic
######################
movd $_text_address_1@cpic, (r1,r0)
.globl _text_address_1
.type _text_address_1, @function
_text_address_1:
jump (ra)