Build application at 0x0 in release mode.

This commit is contained in:
Yifan Wu 2020-12-02 09:40:00 +08:00
parent 63aaa9d0a1
commit 4b01ff7cc4
4 changed files with 3 additions and 40 deletions

View file

@ -2,7 +2,7 @@
OUTPUT_ARCH(riscv)
ENTRY(_start)
BASE_ADDRESS = 0x80100000;
BASE_ADDRESS = 0x0;
SECTIONS
{
@ -18,9 +18,7 @@ SECTIONS
*(.data .data.*)
}
.bss : {
start_bss = .;
*(.bss .bss.*)
end_bss = .;
}
/DISCARD/ : {
*(.eh_frame)