From 24cb36c38dab1a1207c4466b2cc8519ea58d02e8 Mon Sep 17 00:00:00 2001 From: Ross Thompson Date: Thu, 3 Nov 2022 17:48:20 -0500 Subject: [PATCH] Updated to put dtb into the rodata segment for our linker script. --- tests/testsBP/zsbl/Makefile | 2 +- tests/testsBP/zsbl/bios.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testsBP/zsbl/Makefile b/tests/testsBP/zsbl/Makefile index 348a67cd..6dec9c79 100644 --- a/tests/testsBP/zsbl/Makefile +++ b/tests/testsBP/zsbl/Makefile @@ -24,7 +24,7 @@ LIBRARY_FILES := MARCH :=-march=rv64imfdc MABI :=-mabi=lp64d LINK_FLAGS :=$(MARCH) $(MABI) -nostartfiles -LINKER :=$(ROOT)/linker1000.x +LINKER :=linker.x AFLAGS =$(MARCH) $(MABI) -W diff --git a/tests/testsBP/zsbl/bios.s b/tests/testsBP/zsbl/bios.s index cf00b765..ebeadcf5 100644 --- a/tests/testsBP/zsbl/bios.s +++ b/tests/testsBP/zsbl/bios.s @@ -90,7 +90,7 @@ end_of_bios: -.section .dtb +.section .rodata .globl _dtb .align 4, 0 _dtb: