This commit is contained in:
Markus Fröschle
2013-08-05 04:36:25 +00:00
parent f4c8890b2f
commit fe4666f58d
2 changed files with 7 additions and 6 deletions

View File

@@ -27,10 +27,6 @@ SECTIONS
objs/bas_string.o(.text)
objs/printf_helper.o(.text)
objs/cache.o(.text)
objs/mmu.o(.text)
objs/supervisor.o(.text)
objs/illegal_instruction.o(.text)
objs/exceptions.o(.text)
objs/dma.o(.text)
mcdapi/MCD_dmaApi.o(.text)
mcdapi/MCD_tasks.o(.text)
@@ -52,9 +48,14 @@ SECTIONS
*/
AT (ALIGN(ADDR(.text) + SIZEOF(.text), 4))
{
. = ALIGN(16);
objs/exceptions.o(.text)
objs/illegal_instruction.o(.text)
objs/supervisor.o(.text)
objs/mmu.o(.text)
. = ALIGN(16);
__BAS_DATA_START = .;
*(.data)
. = ALIGN(16);
__BAS_DATA_END = .;
*(.bss)

View File

@@ -367,7 +367,7 @@ std_exc_vec:
move.w 8(sp),d0 // fetch vector
and.l #0x3fc,d0 // mask out vector number
add.l _rt_vbr,d0 // + OS VBR
add.l _rt_vbr,d0 // + VBR
move.l d0,a5
move.l (a5),d0 // fetch exception routine address