This commit is contained in:
Markus Fröschle
2012-10-30 20:20:17 +00:00
parent 4b2bbf369a
commit ca9e947431
9 changed files with 83 additions and 62 deletions

View File

@@ -69,6 +69,11 @@ SECTIONS {
objs/sysinit.o(.text)
objs/init_fpga.o(.text)
objs/cache.o(.text)
#if (FORMAT == elf32-m68k)
*(.rodata)
*(.rodata.*)
. = ALIGN(4);
#endif
} > flash
.bas _Bas_base : AT (ADDR(.text) + SIZEOF(.text))
@@ -76,24 +81,20 @@ SECTIONS {
objs/BaS.o(.text)
/* put other routines into the same segment (RAM) as BaS.o */
objs/sd_card_asm.o(.text)
_xprintf_before_copy = _xprintf - (_BaS - LOADADDR(.bas));
_xprintf_after_copy = _xprintf;
objs/bas_printf.o(.text)
objs/printf_helper.o(.text)
_xprintf_before_copy = _xprintf - (_BaS - LOADADDR(.bas));
_display_progress_before_copy = _display_progress - (_BaS - LOADADDR(.bas));
objs/sd_card.o(.text)
objs/mmu.o(.text)
objs/exceptions.o(.text)
objs/supervisor.o(.text)
objs/ewf.o(.text)
objs/illegal_instruction.o(.text)
*(.data)
*(.bss)
#if (FORMAT == elf32-m68k)
*(.rodata)
*(.rodata.*)
#endif
*(.bss)
. = ALIGN(4);
_bas_end = ABSOLUTE(.);
} > ram