2000-11-14 Kazu Hirata <kazu@hxi.com>
* scripttempl/h8300.sc: Fix formatting. * scripttempl/h8300h.sc: Likewise. * scripttempl/h8300s.sc: Likewise.
This commit is contained in:
parent
770de1994e
commit
1ce7de8b08
4 changed files with 36 additions and 30 deletions
|
@ -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.
|
||||
|
|
|
@ -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 :
|
||||
{
|
||||
|
|
|
@ -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 :
|
||||
{
|
||||
|
|
|
@ -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 :
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue