URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 38 |
Rev 156 |
.text
|
.text
|
.globl foo
|
.globl foo
|
.type foo, %function
|
.type foo, %function
|
foo:
|
foo:
|
stmfd sp!, {r9, lr, pc}
|
stmfd sp!, {r9, lr, pc}
|
ldr r9, 1f
|
ldr r9, 1f
|
ldr r9, [r9]
|
ldr r9, [r9]
|
ldr r9, [r9, #__GOTT_INDEX__]
|
ldr r9, [r9, #__GOTT_INDEX__]
|
ldr r0, 1f + 4
|
ldr r0, 1f + 4
|
ldr r1, [r9, r0]
|
ldr r1, [r9, r0]
|
add r1, r1, #1
|
add r1, r1, #1
|
str r1, [r9, r0]
|
str r1, [r9, r0]
|
bl slocal(PLT)
|
bl slocal(PLT)
|
bl sglobal(PLT)
|
bl sglobal(PLT)
|
bl sexternal(PLT)
|
bl sexternal(PLT)
|
ldmfd sp!, {r9, pc}
|
ldmfd sp!, {r9, pc}
|
1:
|
1:
|
.word __GOTT_BASE__
|
.word __GOTT_BASE__
|
.word x(got)
|
.word x(got)
|
.size foo, .-foo
|
.size foo, .-foo
|
|
|
.type slocal, %function
|
.type slocal, %function
|
slocal:
|
slocal:
|
mov pc,lr
|
mov pc,lr
|
.size slocal, .-slocal
|
.size slocal, .-slocal
|
|
|
.globl sglobal
|
.globl sglobal
|
.type sglobal, %function
|
.type sglobal, %function
|
sglobal:
|
sglobal:
|
mov pc,lr
|
mov pc,lr
|
.size sglobal, .-sglobal
|
.size sglobal, .-sglobal
|
|
|
.data
|
.data
|
.4byte slocal
|
.4byte slocal
|
|
|
.comm x,4,4
|
.comm x,4,4
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.