aboutsummaryrefslogtreecommitdiff
path: root/gold/ChangeLog
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2012-04-17 02:29:46 +0000
committerDavid S. Miller <davem@redhat.com>2012-04-17 02:29:46 +0000
commit2a1079e885ccac81f0043eec1c2a638d3fdfeed3 (patch)
treefe788e631dbd55899ac127f5ff14503350a79a26 /gold/ChangeLog
parent0bc964fc7982793fd7d54dd6017774db1a19e3c6 (diff)
downloadgdb-2a1079e885ccac81f0043eec1c2a638d3fdfeed3.zip
gdb-2a1079e885ccac81f0043eec1c2a638d3fdfeed3.tar.gz
gdb-2a1079e885ccac81f0043eec1c2a638d3fdfeed3.tar.bz2
gold: Add support for sparc GOTDATA optimizations in Gold.
gold/ * sparc.cc (Target_sparc::got_address): New function. (Sparc_relocate_functions::gdop_hix22): New function. (Sparc_relocate_functions::gdop_lox10): New function. (Target_sparc::Scan::local): Do not emit a GOT entry for GOTDATA relocs. (Target_sparc::Scan::local): Likewise if the global symbol is not preemptible and is not IFUNC. (Target_sparc::Relocate::relocate): Perform GOTDATA code transformations for local and non-preemptible non-IFUNC global symbols.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r--gold/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index c9bfd79..363f368 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,5 +1,16 @@
2012-04-16 David S. Miller <davem@davemloft.net>
+ * sparc.cc (Target_sparc::got_address): New function.
+ (Sparc_relocate_functions::gdop_hix22): New function.
+ (Sparc_relocate_functions::gdop_lox10): New function.
+ (Target_sparc::Scan::local): Do not emit a GOT entry for GOTDATA
+ relocs.
+ (Target_sparc::Scan::local): Likewise if the global symbol is not
+ preemptible and is not IFUNC.
+ (Target_sparc::Relocate::relocate): Perform GOTDATA code
+ transformations for local and non-preemptible non-IFUNC global
+ symbols.
+
* gdb-index.cc (Gdb_index::do_write): Use Swap_unaligned when
writing out 64-bit part of ranges.