forked from Imagelibrary/rtems
Modified to remove error for overlapping sections now that
gnu.linkonce* sections are included.
This commit is contained in:
@@ -32,6 +32,9 @@ SECTIONS
|
|||||||
*(.eh_fram)
|
*(.eh_fram)
|
||||||
. = ALIGN (16);
|
. = ALIGN (16);
|
||||||
|
|
||||||
|
. = ALIGN (16);
|
||||||
|
*(.gcc_exc)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* C++ constructors
|
* C++ constructors
|
||||||
*/
|
*/
|
||||||
@@ -49,34 +52,23 @@ SECTIONS
|
|||||||
_etext = .;
|
_etext = .;
|
||||||
}
|
}
|
||||||
|
|
||||||
.eh_fram : {
|
|
||||||
. = ALIGN (16);
|
|
||||||
*(.eh_fram)
|
|
||||||
}
|
|
||||||
|
|
||||||
.gcc_exc : {
|
.data : {
|
||||||
. = ALIGN (16);
|
data_start = . ;
|
||||||
*(.gcc_exc)
|
_data_start = . ;
|
||||||
} >ram
|
*(.data)
|
||||||
|
edata = ALIGN( 0x10 ) ;
|
||||||
.data ADDR( .text ) + SIZEOF( .text ):
|
_edata = .;
|
||||||
{
|
|
||||||
data_start = . ;
|
|
||||||
_data_start = . ;
|
|
||||||
*(.data)
|
|
||||||
edata = ALIGN( 0x10 ) ;
|
|
||||||
_edata = .;
|
|
||||||
}
|
}
|
||||||
.bss ADDR( .data ) + SIZEOF( .data ):
|
.bss : {
|
||||||
{
|
bss_start = . ;
|
||||||
bss_start = . ;
|
_bss_start = . ;
|
||||||
_bss_start = . ;
|
*(.bss)
|
||||||
*(.bss)
|
*(COMMON)
|
||||||
*(COMMON)
|
. += StackSize; /* XXX -- Old gld can't handle this */
|
||||||
. += StackSize; /* XXX -- Old gld can't handle this */
|
. = ALIGN (16);
|
||||||
. = ALIGN (16);
|
stack_init = .;
|
||||||
stack_init = .;
|
end = . ;
|
||||||
end = . ;
|
_end = . ;
|
||||||
_end = . ;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user