[newlib-cygwin/cygwin-2.0] Always include the .csstart section in RL78 executables.
Corinna Vinschen
corinna@sourceware.org
Thu Apr 23 20:51:00 GMT 2015
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=61a2d9dedb99bea05b990ac290f79241d5ddf4d8
commit 61a2d9dedb99bea05b990ac290f79241d5ddf4d8
Author: Nick Clifton <nickc@redhat.com>
Date: Tue Apr 7 14:51:44 2015 +0100
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.
Diff:
---
libgloss/ChangeLog | 5 +++++
libgloss/rl78/rl78-sim.ld | 2 +-
libgloss/rl78/rl78.ld | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index 1349790..d2678d1 100644
--- a/libgloss/ChangeLog
+++ b/libgloss/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-07 Nick Clifton <nickc@redhat.com>
+
+ * rl78/rl78.ld (.csstart): Add a KEEP directive.
+ * rl78/rl78-sim.ld (.csstart): Add a KEEP directive.
+
2015-03-05 Nick Clifton <nickc@redhat.com>
* v850/sim.ld: Add a .note.renesas section.
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
More information about the Newlib-cvs
mailing list