aboutsummaryrefslogtreecommitdiff
path: root/gold/x86_64.cc
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2012-01-04 00:18:23 +0000
committerCary Coutant <ccoutant@google.com>2012-01-04 00:18:23 +0000
commitdd74ae067124f200158633dd96bea9900f5d55c9 (patch)
treec3774765024f376699be0c3b5bcafda6dad65b5e /gold/x86_64.cc
parent41f402b6267882624af680682444e37b9fbb6b17 (diff)
downloadgdb-dd74ae067124f200158633dd96bea9900f5d55c9.zip
gdb-dd74ae067124f200158633dd96bea9900f5d55c9.tar.gz
gdb-dd74ae067124f200158633dd96bea9900f5d55c9.tar.bz2
* gold/incremental.cc (Sized_incremental_binary::do_process_got_plt):
Use abstract base class for GOT. * gold/output.h (class Output_data_got_base): New abstract base class. (class Output_data_got): Derive from new base class, adjust ctors. (Output_data_got::reserve_slot): Make virtual; rename to do_reserve_slot; Adjust callers. * gold/target.h (Sized_target::init_got_plt_for_update): Return pointer to abstract base class. * gold/x86_64.cc (Target_x86_64::init_got_plt_for_update): Likewise.
Diffstat (limited to 'gold/x86_64.cc')
-rw-r--r--gold/x86_64.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/x86_64.cc b/gold/x86_64.cc
index 552e9d1..eeb532b 100644
--- a/gold/x86_64.cc
+++ b/gold/x86_64.cc
@@ -425,7 +425,7 @@ class Target_x86_64 : public Sized_target<64, false>
plt_entry_size() const;
// Create the GOT section for an incremental update.
- Output_data_got<64, false>*
+ Output_data_got_base*
init_got_plt_for_update(Symbol_table* symtab,
Layout* layout,
unsigned int got_count,
@@ -1463,7 +1463,7 @@ Target_x86_64::plt_entry_size() const
// Create the GOT and PLT sections for an incremental update.
-Output_data_got<64, false>*
+Output_data_got_base*
Target_x86_64::init_got_plt_for_update(Symbol_table* symtab,
Layout* layout,
unsigned int got_count,