2009-10-16 Ralf Corsépius <ralf.corsepius@rtems.org>

* startup/linkcmds: Add sbss section handling.
	Misc. sync with binutils's ld-scripts.
This commit is contained in:
Ralf Corsepius
2009-10-16 10:51:07 +00:00
parent 2787a056b7
commit 08f740c5bd
2 changed files with 17 additions and 13 deletions

View File

@@ -1,3 +1,8 @@
2009-10-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* startup/linkcmds: Add sbss section handling.
Misc. sync with binutils's ld-scripts.
2009-10-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/ss555.cfg: Remove -D$(RTEMS_BSP_FAMILY) (unused).

View File

@@ -198,25 +198,24 @@ SECTIONS
data.end = .;
}
data.size = data.end - data.start;
bss.start = .;
.sbss :
{
PROVIDE (__sbss_start = .); PROVIDE (___sbss_start = .);
*(.dynsbss)
*(.sbss .sbss.* .gnu.linkonce.sb.*)
*(.scommon)
PROVIDE (__sbss_end = .); PROVIDE (___sbss_end = .);
}
.bss :
{
bss.start = .;
PROVIDE (__SBSS2_START__ = .);
*(.sbss2)
PROVIDE (__SBSS2_END__ = .);
PROVIDE (__SBSS_START__ = .);
*(.sbss*)
PROVIDE (__SBSS_END__ = .);
*(.dynbss)
*(.bss .bss* .gnu.linkonce.b*)
*(COMMON)
. = ALIGN(4);
bss.end = .;
}
bss.end = .;
bss.size = bss.end - bss.start;
PROVIDE(_end = bss.end);