diff --git a/mold.h b/mold.h index dbbe0d70..4f3e2ebb 100644 --- a/mold.h +++ b/mold.h @@ -232,17 +232,15 @@ public: std::string_view contents; std::span> rels; - std::vector has_fragments; + std::vector has_fragments; std::vector> rel_fragments; - std::vector rel_types; + std::vector rel_types; std::span> fdes; u32 offset = -1; u32 section_idx = -1; u32 reldyn_offset = 0; - bool is_ehframe = false; - // For COMDAT de-duplication and garbage collection std::atomic_bool is_alive = true; @@ -255,6 +253,8 @@ public: bool icf_eligible = false; bool icf_leaf = false; + bool is_ehframe = false; + private: typedef enum { NONE, ERROR, COPYREL, PLT, DYNREL, BASEREL } Action;