diff options
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/m68k/efi332/startup/linkcmds | 10 | ||||
-rw-r--r-- | c/src/lib/libbsp/m68k/efi332/startup/linkcmds_ROM | 15 |
2 files changed, 20 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/m68k/efi332/startup/linkcmds b/c/src/lib/libbsp/m68k/efi332/startup/linkcmds index 90a27cb2fe..58c90b64a9 100644 --- a/c/src/lib/libbsp/m68k/efi332/startup/linkcmds +++ b/c/src/lib/libbsp/m68k/efi332/startup/linkcmds @@ -32,10 +32,10 @@ __DYNAMIC = 0; MEMORY { - ram : ORIGIN = 0x80000, LENGTH = 256K + ram : ORIGIN = 0x80000, LENGTH = 512K } -__end_of_ram = 0xc0000; +__end_of_ram = 0x100000; _copy_data_from_rom = 0; /* @@ -48,8 +48,10 @@ SECTIONS CREATE_OBJECT_SYMBOLS text_start = .; _text_start = .; + *(.text) . = ALIGN (16); + *(.eh_fram) . = ALIGN (16); @@ -69,6 +71,10 @@ SECTIONS *(.shdata) _endtext = .; } > ram + .gcc_exc : + { + *(.gcc_exc) + } > ram .data : { data_start = .; 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 = . ; |