diff options
author | Alan Modra <amodra@gmail.com> | 2012-10-18 04:18:18 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-10-18 04:18:18 +0000 |
commit | 168a472611f2e89e2acebf2b44569a00a34e966d (patch) | |
tree | 474ac04b3f001f552592bd8b081522bb17e06938 /gold/ChangeLog | |
parent | 522307fe68d5bfe54b1211dde54873be239e8925 (diff) | |
download | gdb-168a472611f2e89e2acebf2b44569a00a34e966d.zip gdb-168a472611f2e89e2acebf2b44569a00a34e966d.tar.gz gdb-168a472611f2e89e2acebf2b44569a00a34e966d.tar.bz2 |
* target-reloc.h (class Default_comdat_behavior): New, package up..
(get_comdat_behaviour): ..this.
(relocate_section): Add Relocate_comdat_behavior template arg,
adjust code to suit.
* arm.cc (Target_arm::relocate_section): Adjust to suit.
(Target_arm::scan_reloc_section): Likewise.
* i386.cc (Target_i386::relocate_section): Likewise.
* sparc.cc (Target_sparc::relocate_section): Likewise.
* tilegx.cc (Target_tilegx::relocate_section): Likewise.
* x86_64.cc (Target_x86_64::relocate_section): Likewise.
* powerpc.cc (class Relocate_comdat_behavior): New.
(Target_powerpc::relocate_section): Don't zap opd relocs. Supply
gold::relocate_section with new template arg.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 91c01b8..0b728bb 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,21 @@ 2012-10-18 Alan Modra <amodra@gmail.com> + * target-reloc.h (class Default_comdat_behavior): New, package up.. + (get_comdat_behaviour): ..this. + (relocate_section): Add Relocate_comdat_behavior template arg, + adjust code to suit. + * arm.cc (Target_arm::relocate_section): Adjust to suit. + (Target_arm::scan_reloc_section): Likewise. + * i386.cc (Target_i386::relocate_section): Likewise. + * sparc.cc (Target_sparc::relocate_section): Likewise. + * tilegx.cc (Target_tilegx::relocate_section): Likewise. + * x86_64.cc (Target_x86_64::relocate_section): Likewise. + * powerpc.cc (class Relocate_comdat_behavior): New. + (Target_powerpc::relocate_section): Don't zap opd relocs. Supply + gold::relocate_section with new template arg. + +2012-10-18 Alan Modra <amodra@gmail.com> + * powerpc.cc (Target_powerpc::Scan::local, global): Always emit dynamic relocs for GOT_TPREL got entries, without symbol if resolving locally. |