aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2017-01-13 17:04:22 +0100
committerClifford Wolf <clifford@clifford.at>2017-01-13 17:04:22 +0100
commit4e6cad88bc8636858f6a361b8f94adf773c47d81 (patch)
treef04f1bf2daccba0f2b9cff9a57d5f3675c64b233 /scripts
parent8e5deeb0cb71c8481aecaee61b1a3253b91792a8 (diff)
downloadpicorv32-4e6cad88bc8636858f6a361b8f94adf773c47d81.tar.gz
picorv32-4e6cad88bc8636858f6a361b8f94adf773c47d81.zip
Added riscv.ld linker script (static entry point at 0x10000)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cxxdemo/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cxxdemo/Makefile b/scripts/cxxdemo/Makefile
index e858761..2d95019 100644
--- a/scripts/cxxdemo/Makefile
+++ b/scripts/cxxdemo/Makefile
@@ -22,7 +22,7 @@ firmware32.hex: firmware.elf start.elf hex8tohex32.py
rm -f start.tmp firmware.tmp
firmware.elf: firmware.o syscalls.o
- $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
+ $(CC) $(LDFLAGS) -o $@ $^ -T ../../firmware/riscv.ld $(LDLIBS)
chmod -x firmware.elf
start.elf: start.S start.ld