before Makefile change

This commit is contained in:
Taku Shimosawa
2011-09-28 11:45:08 +09:00
parent 1311337438
commit abaa2d3a08
7 changed files with 252 additions and 13 deletions

View File

@@ -1,3 +1,33 @@
MEMORY {
ram (rwx) : ORIGIN = 0x40001000, LENGTH = 4M
PHDRS
{
text PT_LOAD FLAGS(5);
data PT_LOAD FLAGS(7);
}
SECTIONS
{
. = 0x40001000;
_head = .;
.text : {
*(.text);
} : text
. = ALIGN(4096);
.data : {
*(.data)
*(.data.*)
} :data
.rodata : {
*(.rodata .rodata.*)
} :data
.bss : {
*(.bss .bss.*)
}
. = ALIGN(4096);
_end = .;
/DISCARD/ : {
*(.eh_frame)
*(.note.gnu.build-id)
}
}