diff options
author | Nick Clifton <nickc@redhat.com> | 2015-04-07 14:51:44 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-04-23 21:57:12 +0200 |
commit | 61a2d9dedb99bea05b990ac290f79241d5ddf4d8 (patch) | |
tree | 7f7648202a44103140148930a34aaa82b35d2ed7 /libgloss | |
parent | 84b8db8e7ac60ad8e08c7013fc8cc4f03d37f262 (diff) | |
download | newlib-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')
-rw-r--r-- | libgloss/ChangeLog | 5 | ||||
-rw-r--r-- | libgloss/rl78/rl78-sim.ld | 2 | ||||
-rw-r--r-- | 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 |