Remove padding after vector table in init.S

This commit is contained in:
Luke Wren 2021-12-11 12:22:23 +00:00
parent 6076eba61f
commit c90727b05a
5 changed files with 3 additions and 8 deletions

View File

@ -11,7 +11,7 @@ ENTRY(_start)
SECTIONS
{
.text : {
. = ORIGIN(RAM) + 0xc0;
. = ORIGIN(RAM) + 0x40;
PROVIDE (_start = .);
*(.text*)
. = ALIGN(4);

View File

@ -49,11 +49,6 @@ j \name
VEC .halt
VEC .halt
// TODO remove (update ldscripts first)
.rept 32
.word 0
.endr
// ----------------------------------------------------------------------------
// Reset handler

View File

@ -11,7 +11,7 @@ ENTRY(_start)
SECTIONS
{
.text : {
. = ORIGIN(RAM) + 0xc0;
. = ORIGIN(RAM) + 0x40;
PROVIDE (_start = .);
*(.text*)
. = ALIGN(4);

0
test/sim/riscv-compliance/run_32i.sh Normal file → Executable file
View File

View File

@ -1,6 +1,6 @@
TOP := tb
CPU_RESET_VECTOR := 32'hc0
CPU_RESET_VECTOR := 32'h40
EXTENSION_C := 1
EXTENSION_M := 1