This is part of a larger fix for RL78 complex relocs - they need an absolute symbol at address 0 that is not part of the *ABS* section.

* rl78/rl78-sim.ld: Provide a value for __rl78_abs__.
	* rl78/rl78.ld: Likewise.
This commit is contained in:
Nick Clifton 2015-08-04 13:38:27 +01:00
parent 001ef5af39
commit 9698cc0f33
3 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2015-08-04 Nick Clifton <nickc@redhat.com>
* rl78/rl78-sim.ld: Provide a value for __rl78_abs__.
* rl78/rl78.ld: Likewise.
2015-07-14 Andre Vieira <andre.simoesdiasvieira@arm.com\>
* arm/elf-nano.specs: Added option to search for system headers in

View File

@ -217,6 +217,7 @@ SECTIONS
} > ROM
/* The rest are all not normally part of the runtime image. */
PROVIDE (__rl78_abs__ = 0);
/* Stabs debugging sections. */
.stab 0 : { *(.stab) }

View File

@ -218,6 +218,9 @@ SECTIONS
/* The rest are all not normally part of the runtime image. */
/* The rest are all not normally part of the runtime image. */
PROVIDE (__rl78_abs__ = 0);
/* Stabs debugging sections. */
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }