]> Git Repo - binutils.git/blobdiff - gold/target.cc
Update copyright years
[binutils.git] / gold / target.cc
index a47d74fe1a0ab16bd109e4933f4a7019e8e2f70b..81c02ccee91085dc7591bd235382eaac9702b895 100644 (file)
@@ -1,6 +1,6 @@
 // target.cc -- target support for gold.
 
-// Copyright 2009, 2010, 2011 Free Software Foundation, Inc.
+// Copyright (C) 2009-2014 Free Software Foundation, Inc.
 // Written by Doug Kwan <[email protected]>.
 
 // This file is part of gold.
@@ -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.
@@ -210,7 +219,7 @@ Target::set_view_to_nop(unsigned char* view, section_size_type view_size,
 template<int size, bool big_endian>
 void
 Sized_target<size, big_endian>::do_adjust_elf_header(unsigned char* view,
-                                                    int len) const
+                                                    int len)
 {
   elfcpp::ELFOSABI osabi = this->osabi();
   if (osabi != elfcpp::ELFOSABI_NONE)
This page took 0.025691 seconds and 4 git commands to generate.