diff options
author | Nick Clifton <nickc@redhat.com> | 2015-04-07 14:51:44 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-04-07 14:51:44 +0100 |
commit | 5707076d0c975b70645fc770a983a5ff8e56a1fb (patch) | |
tree | f530a0fc7529e4b6a073f91a78566b5542bafebe | |
parent | cf380399752a1b4e0a8f61cb386b01a8e8194bff (diff) | |
download | cygnal-5707076d0c975b70645fc770a983a5ff8e56a1fb.tar.gz cygnal-5707076d0c975b70645fc770a983a5ff8e56a1fb.tar.bz2 cygnal-5707076d0c975b70645fc770a983a5ff8e56a1fb.zip |
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.
-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 13497906a..d2678d16a 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 f54105dbf..26d62ac40 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 ab137f50f..d560b1409 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 |