Mercurial > ecos
diff packages/hal/sh/arch/current/src/sh.ld @ 82:6736c52df507 ecos-sw-2000-04-14
Merge from eCos master repository on 2000-04-14-13:35:46-BST
| author | jlarmour |
|---|---|
| date | Tue, 18 Apr 2000 21:51:55 +0000 |
| parents | 2085233a121a |
| children | 5a0cc6c243a9 |
line wrap: on
line diff
--- a/packages/hal/sh/arch/current/src/sh.ld +++ b/packages/hal/sh/arch/current/src/sh.ld @@ -47,7 +47,7 @@ INPUT(extras.o) #endif GROUP(libtarget.a libgcc.a) -#define ALIGN_LMA 4 +#define ALIGN_LMA 16 #define FOLLOWING(_section_) AT ((LOADADDR (_section_) + SIZEOF (_section_) + ALIGN_LMA - 1) & ~ (ALIGN_LMA - 1)) #define LMA_EQ_VMA #define FORCE_OUTPUT . = . @@ -58,7 +58,8 @@ GROUP(libtarget.a libgcc.a) #define SECTION_vectors(_region_, _vma_, _lma_) \ .vectors _vma_ : _lma_ \ { FORCE_OUTPUT; KEEP(*(.vectors)) } \ - > _region_ + > _region_ \ + __vector_code_lma = LOADADDR(.vectors); #define SECTION_text(_region_, _vma_, _lma_) \ .text _vma_ : _lma_ \
