forked from OSchip/llvm-project
[VENTUS][RISCV][fix] Moving 'tohost' and 'fromhost' from section 'tohost' to '.data'
We change this because we find function jump bugs in rodinia GPU test
This commit is contained in:
parent
4c099fb3d5
commit
1bfef21c65
|
@ -24,6 +24,13 @@ BUFFER_ADDR:
|
||||||
BUFFER_SIZE:
|
BUFFER_SIZE:
|
||||||
.word 0
|
.word 0
|
||||||
|
|
||||||
|
.align 6
|
||||||
|
.global tohost
|
||||||
|
tohost: .dword 0
|
||||||
|
.align 6
|
||||||
|
.global fromhost
|
||||||
|
fromhost: .dword 0
|
||||||
|
|
||||||
.text
|
.text
|
||||||
.global _start
|
.global _start
|
||||||
.type _start, @function
|
.type _start, @function
|
||||||
|
@ -77,15 +84,6 @@ _start:
|
||||||
j spike_end
|
j spike_end
|
||||||
.size _start, .-_start
|
.size _start, .-_start
|
||||||
|
|
||||||
|
|
||||||
.section ".tohost","aw",@progbits
|
|
||||||
.align 6
|
|
||||||
.globl tohost
|
|
||||||
tohost: .dword 0
|
|
||||||
.align 6
|
|
||||||
.globl fromhost
|
|
||||||
fromhost: .dword 0
|
|
||||||
|
|
||||||
.global spike_end
|
.global spike_end
|
||||||
.type spike_end,function
|
.type spike_end,function
|
||||||
spike_end:
|
spike_end:
|
||||||
|
|
Loading…
Reference in New Issue