From: Tim Newsome Date: Mon, 9 May 2016 21:38:06 +0000 (-0700) Subject: Move debug rom link map to the right place. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=060d4ee6c826b3ccdb3d8763246a09b6ef8ce04d;p=riscv-isa-sim.git Move debug rom link map to the right place. Turns out this doesn't actually matter, but it's better to be correct. --- diff --git a/debug_rom/Makefile b/debug_rom/Makefile index 9d286c9..ed4cb93 100644 --- a/debug_rom/Makefile +++ b/debug_rom/Makefile @@ -13,7 +13,7 @@ debug_rom.h: debug_rom.raw debug_rom.raw: debug_rom $(OBJCOPY) -O binary --only-section .text debug_rom debug_rom.raw -debug_rom: debug_rom.o +debug_rom: debug_rom.o link.ld $(CC) -nostdlib -nostartfiles -Tlink.ld -o $@ $^ clean: diff --git a/debug_rom/link.ld b/debug_rom/link.ld index 356099c..aba6ae8 100644 --- a/debug_rom/link.ld +++ b/debug_rom/link.ld @@ -2,7 +2,7 @@ OUTPUT_ARCH( "riscv" ) ENTRY( entry ) SECTIONS { - . = 0xfffff800; /* TODO: 0x800 */ + . = 0x800; .text : { *(.text)