summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/h8300/h8sim
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-02-08 12:28:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-02-08 12:28:38 +0000
commit4217b965eb33a21324e368e82a05fe6aa3aa99bb (patch)
tree7854cdaea123c1ee9796fa9a8311ae996990336f /c/src/lib/libbsp/h8300/h8sim
parent2006-02-08 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-4217b965eb33a21324e368e82a05fe6aa3aa99bb.tar.bz2
2006-02-08 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Add sections required by newer gcc versions.
Diffstat (limited to 'c/src/lib/libbsp/h8300/h8sim')
-rw-r--r--c/src/lib/libbsp/h8300/h8sim/ChangeLog4
-rw-r--r--c/src/lib/libbsp/h8300/h8sim/startup/linkcmds23
2 files changed, 16 insertions, 11 deletions
diff --git a/c/src/lib/libbsp/h8300/h8sim/ChangeLog b/c/src/lib/libbsp/h8300/h8sim/ChangeLog
index 00bfa2d165..c252c3ad6b 100644
--- a/c/src/lib/libbsp/h8300/h8sim/ChangeLog
+++ b/c/src/lib/libbsp/h8300/h8sim/ChangeLog
@@ -1,3 +1,7 @@
+2006-02-08 Joel Sherrill <joel@OARcorp.com>
+
+ * startup/linkcmds: Add sections required by newer gcc versions.
+
2006-01-11 Ralf Corsepius <ralf.corsepius@rtems.org>
* Makefile.am: Add preinstall.am.
diff --git a/c/src/lib/libbsp/h8300/h8sim/startup/linkcmds b/c/src/lib/libbsp/h8300/h8sim/startup/linkcmds
index e1106fe14b..3795dee1c5 100644
--- a/c/src/lib/libbsp/h8300/h8sim/startup/linkcmds
+++ b/c/src/lib/libbsp/h8300/h8sim/startup/linkcmds
@@ -32,15 +32,16 @@ MEMORY
SECTIONS
-{
+{
.vectors :
{
*(.vectors)
} > vectors
- .text :
- {
- *(.text)
+ .text :
+ {
+ *(.text*)
+ *(.gnu.linkonce.t*)
/*
* Special FreeBSD sysctl sections.
@@ -64,7 +65,7 @@ SECTIONS
_etext = .;
} >ram
.tors SIZEOF(.text) + ADDR(.text): {
- ___ctors = . ;
+ ___ctors = . ;
*(.ctors)
___ctors_end = . ;
___dtors = . ;
@@ -72,17 +73,17 @@ SECTIONS
___dtors_end = . ;
} >ram
.data SIZEOF(.tors) + ADDR(.tors):
- {
- *(.data)
+ {
+ *(.data)
*(.gcc_exc*)
CONSTRUCTORS
_edata = .;
} >ram
.bss SIZEOF(.data) + ADDR(.data):
- {
+ {
_bss_start = .;
- *(.bss)
- *(COMMON)
+ *(.bss* .gnu.linkonce.b.*)
+ *(COMMON)
. = ALIGN (64);
. += _StackSize;
_stack_init = .;
@@ -104,4 +105,4 @@ SECTIONS
[ .stabstr ]
}
-}
+}