mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
Added sections as required by C++ and ELF.
This commit is contained in:
@@ -48,13 +48,14 @@ SECTIONS
|
||||
.text :
|
||||
{
|
||||
*(.text)
|
||||
*(.gnu.linkonce.t.*)
|
||||
*(.descriptors)
|
||||
/* .gnu.warning sections are handled specially by elf32.em. */
|
||||
*(.gnu.warning)
|
||||
} >RAM
|
||||
.init : { *(.init) } >RAM
|
||||
.fini : { *(.fini) } >RAM
|
||||
.rodata : { *(.rodata) } >RAM
|
||||
.rodata : { *(.rodata) *(.gnu.linkonce.r*) } >RAM
|
||||
.rodata1 : { *(.rodata1) } >RAM
|
||||
_etext = .;
|
||||
PROVIDE (etext = .);
|
||||
@@ -81,6 +82,7 @@ SECTIONS
|
||||
.data :
|
||||
{
|
||||
*(.data)
|
||||
*(.gnu.linkonce.d.*)
|
||||
CONSTRUCTORS
|
||||
} >RAM
|
||||
PROVIDE (__EXCEPT_START__ = .);
|
||||
|
||||
@@ -40,8 +40,12 @@ SECTIONS
|
||||
*(.entry2)
|
||||
*(.text)
|
||||
*(.rodata)
|
||||
*(.gnu.linkonce.r*)
|
||||
*(.rodata1)
|
||||
*(.gnu.linkonce.t.*)
|
||||
*(.descriptors)
|
||||
/* .gnu.warning sections are handled specially by elf32.em. */
|
||||
*(.gnu.warning)
|
||||
*(rom_ver)
|
||||
etext = ALIGN(0x10);
|
||||
_etext = .;
|
||||
@@ -71,6 +75,7 @@ SECTIONS
|
||||
{
|
||||
*(.data)
|
||||
*(.data1)
|
||||
*(.gnu.linkonce.d.*)
|
||||
PROVIDE (__SDATA_START__ = .);
|
||||
*(.sdata)
|
||||
} > ram
|
||||
|
||||
@@ -44,13 +44,14 @@ SECTIONS
|
||||
.text :
|
||||
{
|
||||
*(.text)
|
||||
*(.gnu.linkonce.t.*)
|
||||
*(.descriptors)
|
||||
/* .gnu.warning sections are handled specially by elf32.em. */
|
||||
*(.gnu.warning)
|
||||
} =0
|
||||
.init : { *(.init) } =0
|
||||
.fini : { *(.fini) } =0
|
||||
.rodata : { *(.rodata) }
|
||||
.rodata : { *(.rodata) *(.gnu.linkonce.r*) }
|
||||
.rodata1 : { *(.rodata1) }
|
||||
_etext = .;
|
||||
PROVIDE (etext = .);
|
||||
@@ -78,6 +79,7 @@ SECTIONS
|
||||
.data :
|
||||
{
|
||||
*(.data)
|
||||
*(.gnu.linkonce.d.*)
|
||||
CONSTRUCTORS
|
||||
}
|
||||
PROVIDE (__EXCEPT_START__ = .);
|
||||
|
||||
@@ -53,13 +53,14 @@ SECTIONS
|
||||
.text :
|
||||
{
|
||||
*(.text)
|
||||
*(.gnu.linkonce.t.*)
|
||||
*(.descriptors)
|
||||
/* .gnu.warning sections are handled specially by elf32.em. */
|
||||
*(.gnu.warning)
|
||||
} >RAM
|
||||
.init : { *(.init) } >RAM
|
||||
.fini : { *(.fini) } >RAM
|
||||
.rodata : { *(.rodata) } >RAM
|
||||
.rodata : { *(.rodata) *(.gnu.linkonce.r*) } >RAM
|
||||
.rodata1 : { *(.rodata1) } >RAM
|
||||
_etext = .;
|
||||
PROVIDE (etext = .);
|
||||
@@ -86,6 +87,7 @@ SECTIONS
|
||||
.data :
|
||||
{
|
||||
*(.data)
|
||||
*(.gnu.linkonce.d.*)
|
||||
CONSTRUCTORS
|
||||
} >RAM
|
||||
PROVIDE (__EXCEPT_START__ = .);
|
||||
|
||||
Reference in New Issue
Block a user