diff --git a/libclc/riscv32/lib/crt0.S b/libclc/riscv32/lib/crt0.S index 685ad6e55a84..b3e53e878df1 100644 --- a/libclc/riscv32/lib/crt0.S +++ b/libclc/riscv32/lib/crt0.S @@ -24,6 +24,13 @@ BUFFER_ADDR: BUFFER_SIZE: .word 0 +.align 6 +.global tohost + tohost: .dword 0 +.align 6 +.global fromhost + fromhost: .dword 0 + .text .global _start .type _start, @function @@ -77,15 +84,6 @@ _start: j spike_end .size _start, .-_start - - .section ".tohost","aw",@progbits - .align 6 - .globl tohost - tohost: .dword 0 - .align 6 - .globl fromhost - fromhost: .dword 0 - .global spike_end .type spike_end,function spike_end: