diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/scripttempl/h8300.sc | 22 | ||||
-rw-r--r-- | ld/scripttempl/h8300h.sc | 18 | ||||
-rw-r--r-- | ld/scripttempl/h8300s.sc | 20 |
4 files changed, 36 insertions, 30 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 16b02e1..c110b36 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2000-11-14 Kazu Hirata <kazu@hxi.com> + + * scripttempl/h8300.sc: Fix formatting. + * scripttempl/h8300h.sc: Likewise. + * scripttempl/h8300s.sc: Likewise. + Tue Nov 14 00:59:19 2000 Denis Chertykov <denisc@overta.ru> * scripttempl/elf32avr.sc: Fix bug in .eeprom segment. 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 : { |