From 5707076d0c975b70645fc770a983a5ff8e56a1fb Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 7 Apr 2015 14:51:44 +0100 Subject: [PATCH] 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. --- 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 13497906a..d2678d16a 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,8 @@ +2015-04-07 Nick Clifton + + * rl78/rl78.ld (.csstart): Add a KEEP directive. + * rl78/rl78-sim.ld (.csstart): Add a KEEP directive. + 2015-03-05 Nick Clifton * 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