2015-06-28 08:10:45 +08: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.
|
|
|
|
*/
|
|
|
|
|
2015-10-30 22:52:40 +08:00
|
|
|
MEMORY {
|
2019-09-12 16:48:14 +08:00
|
|
|
/* the memory in the testbench is 128k in size;
|
|
|
|
* set LENGTH=96k and leave at least 32k for stack */
|
2023-01-10 20:28:17 +08:00
|
|
|
mem : ORIGIN = 0x00000000, LENGTH = 0x00040000
|
2015-10-30 22:52:40 +08:00
|
|
|
}
|
|
|
|
|
2015-06-06 20:01:37 +08:00
|
|
|
SECTIONS {
|
|
|
|
.memory : {
|
2023-01-18 21:04:15 +08:00
|
|
|
. = 0x00000;
|
2015-06-06 20:01:37 +08:00
|
|
|
start*(.text);
|
|
|
|
*(.text);
|
|
|
|
*(*);
|
|
|
|
end = .;
|
2019-04-27 18:37:35 +08:00
|
|
|
. = ALIGN(4);
|
2015-10-30 22:52:40 +08:00
|
|
|
} > mem
|
2015-06-06 20:01:37 +08:00
|
|
|
}
|