diff options
author | Nick Clifton <nickc@redhat.com> | 2015-07-24 16:44:27 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-07-24 16:44:27 +0100 |
commit | aff1a65ecb5cfcf1abfb23ea0e0f37f39e75683e (patch) | |
tree | 06e40b920daf39a9f55075b40106bb2d074ba362 /ld/ChangeLog | |
parent | 5826e159863b6cd69953dc01faf7c20414409909 (diff) | |
download | gdb-aff1a65ecb5cfcf1abfb23ea0e0f37f39e75683e.zip gdb-aff1a65ecb5cfcf1abfb23ea0e0f37f39e75683e.tar.gz gdb-aff1a65ecb5cfcf1abfb23ea0e0f37f39e75683e.tar.bz2 |
Fix the evaluation of RL78 complex relocs, by making immediate values be computed relative to a new absolute symbol.
gas * config/tc-rl78.c (rl78_abs_sym): New local variable.
(md_begin): Initialise the new symbol.
(OPIMM): Define the value to be relative to the new symbol and not
the absolute section symbol.
ld * emulparams/elf32rl78.sh (OTHER_SECTIONS): Provide a value for
the _-rl78_abs__ symbol.
tests * gas/all/struct.d: Allow for extra symbols in the output.
* gas/macros/test1.d: Likewise.
* gas/elf/elf.exp: Add an rl78 machine.
* gas/elf/sections2e-rl78: New file.
tests * binutils-all/localize-hidden-1.d: Allow for extra symbols in the
output.
* binutils-all/strip-11.d: Skip for the RL78.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 15137e2..6df6a86 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2015-07-24 Nick Clifton <nickc@redhat.com> + + * emulparams/elf32rl78.sh (OTHER_SECTIONS): Provide a value for + the _-rl78_abs__ symbol. + 2015-07-20 Alan Modra <amodra@gmail.com> * emulparams/criself.sh (INIT_ADDR, FINI_ADDR): Define. |