| Index: binutils/gold/defstd.cc
|
| diff --git a/binutils/gold/defstd.cc b/binutils/gold/defstd.cc
|
| index 984f3e1b042e44f5b41892ab9fec849d36e0c18d..e09d8142ba74e9b574b6d3885f12a50b3ae0f73d 100644
|
| --- a/binutils/gold/defstd.cc
|
| +++ b/binutils/gold/defstd.cc
|
| @@ -107,7 +107,67 @@ const Define_symbol_in_section in_section[] =
|
| 0, // nonvis
|
| true, // offset_is_from_end
|
| true // only_if_ref
|
| - }
|
| + },
|
| + {
|
| + "__rel_iplt_start", // name
|
| + ".rel.iplt", // output_section
|
| + 0, // value
|
| + 0, // size
|
| + elfcpp::STT_NOTYPE, // type
|
| + elfcpp::STB_GLOBAL, // binding
|
| + elfcpp::STV_HIDDEN, // visibility
|
| + 0, // nonvis
|
| + false, // offset_is_from_end
|
| + true // only_if_ref
|
| + },
|
| + {
|
| + "__rel_iplt_end", // name
|
| + ".rel.iplt", // output_section
|
| + 0, // value
|
| + 0, // size
|
| + elfcpp::STT_NOTYPE, // type
|
| + elfcpp::STB_GLOBAL, // binding
|
| + elfcpp::STV_HIDDEN, // visibility
|
| + 0, // nonvis
|
| + true, // offset_is_from_end
|
| + true // only_if_ref
|
| + },
|
| + {
|
| + "__rela_iplt_start", // name
|
| + ".rela.iplt", // output_section
|
| + 0, // value
|
| + 0, // size
|
| + elfcpp::STT_NOTYPE, // type
|
| + elfcpp::STB_GLOBAL, // binding
|
| + elfcpp::STV_HIDDEN, // visibility
|
| + 0, // nonvis
|
| + false, // offset_is_from_end
|
| + true // only_if_ref
|
| + },
|
| + {
|
| + "__rela_iplt_end", // name
|
| + ".rela.iplt", // output_section
|
| + 0, // value
|
| + 0, // size
|
| + elfcpp::STT_NOTYPE, // type
|
| + elfcpp::STB_GLOBAL, // binding
|
| + elfcpp::STV_HIDDEN, // visibility
|
| + 0, // nonvis
|
| + true, // offset_is_from_end
|
| + true // only_if_ref
|
| + },
|
| + {
|
| + "__stack", // name
|
| + ".stack", // output_section
|
| + 0, // value
|
| + 0, // size
|
| + elfcpp::STT_NOTYPE, // type
|
| + elfcpp::STB_GLOBAL, // binding
|
| + elfcpp::STV_DEFAULT, // visibility
|
| + 0, // nonvis
|
| + false, // offset_is_from_end
|
| + true // only_if_ref
|
| + },
|
| };
|
|
|
| const int in_section_count = sizeof in_section / sizeof in_section[0];
|
| @@ -238,7 +298,7 @@ const Define_symbol_in_segment in_segment[] =
|
| elfcpp::STV_DEFAULT, // visibility
|
| 0, // nonvis
|
| Symbol::SEGMENT_END, // offset_from_base
|
| - false // only_if_ref
|
| + true // only_if_ref
|
| }
|
| };
|
|
|
|
|