Browse Source

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.
cygwin-acl
Nick Clifton 11 years ago
parent
commit
9698cc0f33
  1. 5
      libgloss/ChangeLog
  2. 1
      libgloss/rl78/rl78-sim.ld
  3. 3
      libgloss/rl78/rl78.ld

5
libgloss/ChangeLog

@ -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

1
libgloss/rl78/rl78-sim.ld

@ -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) }

3
libgloss/rl78/rl78.ld

@ -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) }

Loading…
Cancel
Save