SummerCart64/fw/cpu/picorv32/firmware/sections.lds

26 lines
566 B
Plaintext
Raw Normal View History

2021-08-05 19:50:29 +02:00
/*
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
*/
MEMORY {
/* the memory in the testbench is 128k in size;
* set LENGTH=96k and leave at least 32k for stack */
mem : ORIGIN = 0x00000000, LENGTH = 0x00018000
}
SECTIONS {
.memory : {
. = 0x000000;
start*(.text);
*(.text);
*(*);
end = .;
. = ALIGN(4);
} > mem
}