From fe4666f58d18dd9677ca0a7895a57f8d4da34c9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Mon, 5 Aug 2013 04:36:25 +0000 Subject: [PATCH] --- bas.lk.in | 11 ++++++----- sources/exceptions.S | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/bas.lk.in b/bas.lk.in index 81e05a5..a045070 100644 --- a/bas.lk.in +++ b/bas.lk.in @@ -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) diff --git a/sources/exceptions.S b/sources/exceptions.S index 0b53aa9..203a424 100644 --- a/sources/exceptions.S +++ b/sources/exceptions.S @@ -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