diff options
author | Ingo Albrecht <prom@berlin.ccc.de> | 2010-07-16 01:03:53 +0200 |
---|---|---|
committer | Ingo Albrecht <prom@berlin.ccc.de> | 2010-07-20 14:41:20 +0200 |
commit | 1ad5036c0ef2c4bf9be857ee665b1ba699c98198 (patch) | |
tree | 42f6b746c1212ada36de1290700f023d7f72ba27 /src/target/firmware | |
parent | f624168172fd44d2b1e5258d2819797f13c67991 (diff) |
firmware: fixed linkage of ctors and dtors for ram images
Diffstat (limited to 'src/target/firmware')
-rw-r--r-- | src/target/firmware/board/compal/ram.lds | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/firmware/board/compal/ram.lds b/src/target/firmware/board/compal/ram.lds index adc65f5c..342870dc 100644 --- a/src/target/firmware/board/compal/ram.lds +++ b/src/target/firmware/board/compal/ram.lds @@ -64,7 +64,7 @@ SECTIONS KEEP(*(SORT(.ctors))) /* end of list */ LONG(0) - } + } > LRAM PROVIDE(_ctor_start = LOADADDR(.ctors)); PROVIDE(_ctor_end = LOADADDR(.ctors) + SIZEOF(.ctors)); @@ -76,7 +76,7 @@ SECTIONS KEEP(*(SORT(.dtors))) /* end of list */ LONG(0) - } + } > LRAM PROVIDE(_dtor_start = LOADADDR(.dtors)); PROVIDE(_dtor_end = LOADADDR(.dtors) + SIZEOF(.dtors)); |