aboutsummaryrefslogtreecommitdiff
path: root/libgloss/rl78
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-04-07 14:51:44 +0100
committerCorinna Vinschen <corinna@vinschen.de>2015-04-23 21:57:12 +0200
commit61a2d9dedb99bea05b990ac290f79241d5ddf4d8 (patch)
tree7f7648202a44103140148930a34aaa82b35d2ed7 /libgloss/rl78
parent84b8db8e7ac60ad8e08c7013fc8cc4f03d37f262 (diff)
downloadnewlib-61a2d9dedb99bea05b990ac290f79241d5ddf4d8.zip
newlib-61a2d9dedb99bea05b990ac290f79241d5ddf4d8.tar.gz
newlib-61a2d9dedb99bea05b990ac290f79241d5ddf4d8.tar.bz2
Always include the .csstart section in RL78 executables.
* rl78/rl78.ld (.csstart): Add a KEEP directive. * rl78/rl78-sim.ld (.csstart): Add a KEEP directive.
Diffstat (limited to 'libgloss/rl78')
-rw-r--r--libgloss/rl78/rl78-sim.ld2
-rw-r--r--libgloss/rl78/rl78.ld2
2 files changed, 2 insertions, 2 deletions
diff --git a/libgloss/rl78/rl78-sim.ld b/libgloss/rl78/rl78-sim.ld
index f54105d..26d62ac 100644
--- a/libgloss/rl78/rl78-sim.ld
+++ b/libgloss/rl78/rl78-sim.ld
@@ -66,7 +66,7 @@ SECTIONS
/* CubeSuite always starts at 0xd8. */
.csstart : {
- *(.csstart)
+ KEEP (*(.csstart))
} > ROM
/* For code that must be in the first 64k, or could fill unused
diff --git a/libgloss/rl78/rl78.ld b/libgloss/rl78/rl78.ld
index ab137f5..d560b14 100644
--- a/libgloss/rl78/rl78.ld
+++ b/libgloss/rl78/rl78.ld
@@ -66,7 +66,7 @@ SECTIONS
/* CubeSuite always starts at 0xd8. */
.csstart : {
- *(.csstart)
+ KEEP (*(.csstart))
} > ROM
/* For code that must be in the first 64k, or could fill unused