diff options
Diffstat (limited to 'gold/defstd.cc')
-rw-r--r-- | gold/defstd.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gold/defstd.cc b/gold/defstd.cc index a50e75de80b..cee68a03ed7 100644 --- a/gold/defstd.cc +++ b/gold/defstd.cc @@ -141,6 +141,20 @@ const Define_symbol_in_segment in_segment[] = true // only_if_ref }, { + "__ehdr_start", // name + elfcpp::PT_LOAD, // segment_type + elfcpp::PF(0), // segment_flags_set + elfcpp::PF(0), // segment_flags_clear + 0, // value + 0, // size + elfcpp::STT_NOTYPE, // type + elfcpp::STB_GLOBAL, // binding + elfcpp::STV_HIDDEN, // visibility + 0, // nonvis + Symbol::SEGMENT_START, // offset_from_base + true // only_if_ref + }, + { "etext", // name elfcpp::PT_LOAD, // segment_type elfcpp::PF_X, // segment_flags_set |