aboutsummaryrefslogtreecommitdiff
path: root/gold/defstd.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-11-03 15:41:50 +0000
committerIan Lance Taylor <ian@airs.com>2009-11-03 15:41:50 +0000
commitb3d6a3d42f65696ae7c62b2ae726f707d51e4dc3 (patch)
tree990fdda4f1b3e677118f0fcefc843c40d6222e37 /gold/defstd.cc
parent934b01dddc74d9d8707bc96662eb1073a87ee947 (diff)
downloadfsf-binutils-gdb-b3d6a3d42f65696ae7c62b2ae726f707d51e4dc3.zip
fsf-binutils-gdb-b3d6a3d42f65696ae7c62b2ae726f707d51e4dc3.tar.gz
fsf-binutils-gdb-b3d6a3d42f65696ae7c62b2ae726f707d51e4dc3.tar.bz2
PR 10893
* defstd.cc (in_section): Add entries for __rel_iplt_start, __rel_iplt_end, __rela_iplt_start, __rela_iplt_end, and __stack.
Diffstat (limited to 'gold/defstd.cc')
-rw-r--r--gold/defstd.cc62
1 files changed, 61 insertions, 1 deletions
diff --git a/gold/defstd.cc b/gold/defstd.cc
index 984f3e1..97afda8 100644
--- a/gold/defstd.cc
+++ b/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];