diff options
author | Nick Clifton <nickc@redhat.com> | 2015-08-04 13:38:27 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-08-04 13:38:27 +0100 |
commit | 9698cc0f330d16a47dbca04b4c84a5cf7c8dbff0 (patch) | |
tree | 6f21d64918958449a04e85c945dd2323725919cf /libgloss | |
parent | 001ef5af395d6e940a9a6ea10d9f03dcef13536e (diff) | |
download | newlib-9698cc0f330d16a47dbca04b4c84a5cf7c8dbff0.zip newlib-9698cc0f330d16a47dbca04b4c84a5cf7c8dbff0.tar.gz newlib-9698cc0f330d16a47dbca04b4c84a5cf7c8dbff0.tar.bz2 |
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.
Diffstat (limited to 'libgloss')
-rw-r--r-- | libgloss/ChangeLog | 5 | ||||
-rw-r--r-- | libgloss/rl78/rl78-sim.ld | 1 | ||||
-rw-r--r-- | libgloss/rl78/rl78.ld | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 3f4123a..46acd56 100644 --- a/libgloss/ChangeLog +++ b/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 diff --git a/libgloss/rl78/rl78-sim.ld b/libgloss/rl78/rl78-sim.ld index 49442d1..dece2c6 100644 --- a/libgloss/rl78/rl78-sim.ld +++ b/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) } diff --git a/libgloss/rl78/rl78.ld b/libgloss/rl78/rl78.ld index 271104a..0485bc6 100644 --- a/libgloss/rl78/rl78.ld +++ b/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) } |