diff options
Diffstat (limited to 'ld/scripttempl/h8300s.sc')
-rw-r--r-- | ld/scripttempl/h8300s.sc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ld/scripttempl/h8300s.sc b/ld/scripttempl/h8300s.sc index b8a3ea5..2f2d8b4 100644 --- a/ld/scripttempl/h8300s.sc +++ b/ld/scripttempl/h8300s.sc @@ -1,12 +1,12 @@ TORS=".tors : - { - ___ctors = . ; - *(.ctors) - ___ctors_end = . ; - ___dtors = . ; - *(.dtors) - ___dtors_end = . ; - } > ram" + { + ___ctors = . ; + *(.ctors) + ___ctors_end = . ; + ___dtors = . ; + *(.dtors) + ___dtors_end = . ; + } > ram" cat <<EOF OUTPUT_FORMAT("${OUTPUT_FORMAT}") @@ -35,7 +35,7 @@ MEMORY SECTIONS { .vectors : - { + { /* Use something like this to place a specific function's address into the vector table. @@ -52,7 +52,7 @@ SECTIONS ${RELOCATING+ _etext = . ; } } ${RELOCATING+ > ram} - ${CONSTRUCTING+${TORS}} +${CONSTRUCTING+${TORS}} .data : { |