2002-08-21 Joel Sherrill <joel@OARcorp.com>

* startup/linkcmds: Move .init section after text section so
	C+ global constructors work.
This commit is contained in:
Joel Sherrill
2002-08-26 13:06:55 +00:00
parent a7bafd58d0
commit 44c44c535a
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2002-08-21 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Move .init section after text section so
C+ global constructors work.
2002-08-21 Joel Sherrill <joel@OARcorp.com>
* bsp_specs: Added support for -nostdlibs.

View File

@@ -18,11 +18,11 @@ SECTIONS
.text :
{
_ftext = . ;
*(.init)
eprol = .;
*(.text)
*(.text.*)
*(.gnu.linkonce.t*)
*(.init)
*(.mips16.fn.*)
*(.mips16.call.*)
PROVIDE (__runtime_reloc_start = .);
@@ -76,6 +76,7 @@ SECTIONS
*(.data)
*(.data.*)
*(.gnu.linkonce.d*)
SORT(CONSTRUCTORS)
}
. = ALIGN(8);
_gp = . + 0x8000;