diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/m68k/efi332/startup/linkcmds_ROM | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/m68k/efi332/startup/linkcmds_ROM b/c/src/lib/libbsp/m68k/efi332/startup/linkcmds_ROM index d11708772e..b4f3bf70b1 100644 --- a/c/src/lib/libbsp/m68k/efi332/startup/linkcmds_ROM +++ b/c/src/lib/libbsp/m68k/efi332/startup/linkcmds_ROM @@ -40,10 +40,10 @@ __DYNAMIC = 0; MEMORY { rom : ORIGIN = 0x00000, LENGTH = 256K - ram : ORIGIN = 0x80000, LENGTH = 256K + ram : ORIGIN = 0x80000, LENGTH = 512K } -__end_of_ram = 0xc0000; +__end_of_ram = 0x100000; _copy_data_from_rom = 1; /* @@ -57,6 +57,11 @@ SECTIONS text_start = .; _text_start = .; *(.text) + . = ALIGN (16); + + *(.eh_fram) + . = ALIGN (16); + etext = ALIGN(0x10); _etext = .; __CTOR_LIST__ = .; @@ -73,9 +78,13 @@ SECTIONS *(.shdata) _endtext = .; } > rom - .data : + .gcc_exc : AT ( ADDR(.text) + SIZEOF( .text ) ) { + *(.gcc_exc) + } > ram + .data : + { data_start = .; _data_start = .; _sdata = . ; |