[GOLD] PowerPC recreate eh_frame for stubs on each relax pass
[deliverable/binutils-gdb.git] / gold / ehframe.h
index 347ce46e45b5087ff4350e672e8e0717937496ec..f501634c2f62afa2679ddb19f962cabec423f834 100644 (file)
@@ -217,6 +217,8 @@ class Fde
        section_offset_type cie_offset, unsigned char fde_encoding,
        Eh_frame_hdr* eh_frame_hdr);
 
+  bool operator==(const Fde&) const;
+
  private:
   // The object in which this FDE was seen.  This will be NULL for a
   // linker generated FDE.
@@ -298,6 +300,10 @@ class Cie
   add_fde(Fde* fde)
   { this->fdes_.push_back(fde); }
 
+  // Remove an FDE associated with this CIE.  Only the last FDE may be removed.
+  void
+  remove_fde(const Fde*);
+
   // Return the number of FDEs.
   unsigned int
   fde_count() const
@@ -405,6 +411,13 @@ class Eh_frame : public Output_section_data
                      size_t cie_length, const unsigned char* fde_data,
                      size_t fde_length);
 
+  // Remove unwind information for a PLT.  Only the last FDE added may
+  // be removed.
+  void
+  remove_ehframe_for_plt(Output_data* plt, const unsigned char* cie_data,
+                        size_t cie_length, const unsigned char* fde_data,
+                        size_t fde_length);
+
   // Return the number of FDEs.
   unsigned int
   fde_count() const;
This page took 0.03692 seconds and 4 git commands to generate.