projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b30f5dc
)
Move debug rom link map to the right place.
author
Tim Newsome
<tim@sifive.com>
Mon, 9 May 2016 21:38:06 +0000
(14:38 -0700)
committer
Tim Newsome
<tim@sifive.com>
Mon, 23 May 2016 19:12:12 +0000
(12:12 -0700)
Turns out this doesn't actually matter, but it's better to be correct.
debug_rom/Makefile
patch
|
blob
|
history
debug_rom/link.ld
patch
|
blob
|
history
diff --git
a/debug_rom/Makefile
b/debug_rom/Makefile
index 9d286c9dc74b61c36e3671cc66de6c6c048dd7b5..ed4cb9324cedd18d4d7db6d6dd6720d528b90337 100644
(file)
--- 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 356099c682171ba1d5aa6152706399f198fdf87a..aba6ae802e13f23a2c8edaf656f8535255a0fd53 100644
(file)
--- a/
debug_rom/link.ld
+++ b/
debug_rom/link.ld
@@
-2,7
+2,7
@@
OUTPUT_ARCH( "riscv" )
ENTRY( entry )
SECTIONS
{
- . = 0x
fffff800; /* TODO: 0x800 */
+ . = 0x
800;
.text :
{
*(.text)