diff options
author | Alan Modra <amodra@gmail.com> | 2014-06-24 13:23:04 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-06-24 13:39:04 +0930 |
commit | 15bfcc77681f423fd872815eb140c450d69b8a60 (patch) | |
tree | ca0001f421df891e6589dfb88a34fc10930f3936 /bfd/ChangeLog | |
parent | 3343ef86879b9348bb038bc7adecb665236ca4d8 (diff) | |
download | gdb-15bfcc77681f423fd872815eb140c450d69b8a60.zip gdb-15bfcc77681f423fd872815eb140c450d69b8a60.tar.gz gdb-15bfcc77681f423fd872815eb140c450d69b8a60.tar.bz2 |
Don't strip section defining _SDA_BASE_
Prior to 93d1b056 _SDA_BASE_ used to be defined in a linker script
output section. Now _SDA_BASE_ is defined in an input section that is
subject to being stripped. If the section is stripped we don't output
the symbol, which results in --emit-relocs trying to emit relocs with
dangling references to _SDA_BASE_.
* elf32-ppc.c (ppc_elf_size_dynamic_sections): Arrange to keep
.sdata/.sdata2 when _SDA_BASE_/_SDA2_BASE_ should be output
for --emit-relocs.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fcf2cd3..9cd00df 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2014-06-24 Alan Modra <amodra@gmail.com> + + * elf32-ppc.c (ppc_elf_size_dynamic_sections): Arrange to keep + .sdata/.sdata2 when _SDA_BASE_/_SDA2_BASE_ should be output + for --emit-relocs. + 2014-06-21 Philippe De Muyter <phdm@macqel.be> * targets.c (_bfd_target_vector): Add missing #ifdef BFD64 for |