diff options
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/h8300.sc | 22 | ||||
-rw-r--r-- | ld/scripttempl/h8300h.sc | 18 | ||||
-rw-r--r-- | ld/scripttempl/h8300s.sc | 20 |
3 files changed, 30 insertions, 30 deletions
diff --git a/ld/scripttempl/h8300.sc b/ld/scripttempl/h8300.sc index 6f4cdce..72cfb73 100644 --- a/ld/scripttempl/h8300.sc +++ b/ld/scripttempl/h8300.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}") @@ -29,14 +29,14 @@ MEMORY SECTIONS { .vectors : - { + { /* Use something like this to place a specific function's address into the vector table. SHORT (ABSOLUTE (_foobar)). */ *(.vectors) - } ${RELOCATING+ > vectors} + } ${RELOCATING+ > vectors} .text : { @@ -46,7 +46,7 @@ SECTIONS ${RELOCATING+ _etext = . ; } } ${RELOCATING+ > ram} - ${CONSTRUCTING+${TORS}} +${CONSTRUCTING+${TORS}} .data : { diff --git a/ld/scripttempl/h8300h.sc b/ld/scripttempl/h8300h.sc index e543df9..35d0f4c 100644 --- a/ld/scripttempl/h8300h.sc +++ b/ld/scripttempl/h8300h.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}") @@ -52,7 +52,7 @@ SECTIONS ${RELOCATING+ _etext = . ; } } ${RELOCATING+ > ram} - ${CONSTRUCTING+${TORS}} +${CONSTRUCTING+${TORS}} .data : { 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 : { |