aboutsummaryrefslogtreecommitdiff
path: root/gold/target.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/target.cc')
-rw-r--r--gold/target.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/gold/target.cc b/gold/target.cc
index a47d74f..cc508c5 100644
--- a/gold/target.cc
+++ b/gold/target.cc
@@ -203,6 +203,15 @@ Target::set_view_to_nop(unsigned char* view, section_size_type view_size,
}
}
+// Return address and size to plug into eh_frame FDEs associated with a PLT.
+void
+Target::do_plt_fde_location(const Output_data* plt, unsigned char*,
+ uint64_t* address, off_t* len) const
+{
+ *address = plt->address();
+ *len = plt->data_size();
+}
+
// Class Sized_target.
// Set the EI_OSABI field of the ELF header if requested.