boards/riscv/mpfs: Remove reference to .vectors in linker scripts
There is no such section. Instead, place the object mpfs_head.o at the start of the text. Put mpfs_head.o directly into the arch library; there is no need to define it separately in HEAD_ASRC. Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
parent
6428c1fdc4
commit
fc3167b584
@ -18,13 +18,9 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
# Specify our HEAD assembly file. This will be linked as
|
||||
# the first object file, so it will appear at address 0
|
||||
HEAD_ASRC = mpfs_head.S
|
||||
|
||||
# Specify our general Assembly files
|
||||
|
||||
CMN_ASRCS += riscv_vectors.S riscv_exception_common.S riscv_testset.S
|
||||
CMN_ASRCS += mpfs_head.S riscv_vectors.S riscv_exception_common.S riscv_testset.S
|
||||
|
||||
# Specify C code within the common directory to be included
|
||||
CMN_CSRCS += riscv_initialize.c riscv_swint.c
|
||||
|
@ -59,7 +59,7 @@ SECTIONS
|
||||
|
||||
.text : {
|
||||
_stext = ABSOLUTE(.);
|
||||
*(.vectors)
|
||||
mpfs_head.o
|
||||
*(.text .text.*)
|
||||
*(.f-ixup)
|
||||
*(.gnu.warning)
|
||||
|
@ -33,7 +33,7 @@ SECTIONS
|
||||
{
|
||||
.text : {
|
||||
_stext = ABSOLUTE(.);
|
||||
*(.vectors)
|
||||
mpfs_head.o
|
||||
*(.text .text.*)
|
||||
*(.fixup)
|
||||
*(.gnu.warning)
|
||||
|
@ -32,7 +32,7 @@ SECTIONS
|
||||
{
|
||||
.text : {
|
||||
_stext = ABSOLUTE(.);
|
||||
*(.vectors)
|
||||
mpfs_head.o
|
||||
*(.text .text.*)
|
||||
*(.fixup)
|
||||
*(.gnu.warning)
|
||||
|
@ -33,7 +33,7 @@ SECTIONS
|
||||
{
|
||||
.text : {
|
||||
_stext = ABSOLUTE(.);
|
||||
*(.vectors)
|
||||
mpfs_head.o
|
||||
*(.text .text.*)
|
||||
*(.fixup)
|
||||
*(.gnu.warning)
|
||||
|
@ -32,7 +32,7 @@ SECTIONS
|
||||
{
|
||||
.text : {
|
||||
_stext = ABSOLUTE(.);
|
||||
*(.vectors)
|
||||
mpfs_head.o
|
||||
*(.text .text.*)
|
||||
*(.fixup)
|
||||
*(.gnu.warning)
|
||||
|
Loading…
Reference in New Issue
Block a user