PR 10893
authorIan Lance Taylor <ian@airs.com>
Tue, 3 Nov 2009 15:41:50 +0000 (15:41 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 3 Nov 2009 15:41:50 +0000 (15:41 +0000)
* defstd.cc (in_section): Add entries for __rel_iplt_start,
__rel_iplt_end, __rela_iplt_start, __rela_iplt_end, and __stack.

gold/ChangeLog
gold/defstd.cc

index e6640710e32669e559dabb47e92c8e884d7d3b7e..ac1861d0ab09c1b3aa97b5858a388b517681dc11 100644 (file)
@@ -1,3 +1,9 @@
+2009-11-03  Ian Lance Taylor  <iant@google.com>
+
+       PR 10893
+       * defstd.cc (in_section): Add entries for __rel_iplt_start,
+       __rel_iplt_end, __rela_iplt_start, __rela_iplt_end, and __stack.
+
 2009-11-03  Ian Lance Taylor  <iant@google.com>
 
        PR 10895
 2009-10-15  Ian Lance Taylor  <iant@google.com>
 
        * script.cc (Script_options::add_symbol_assignment): Always add a
-       dot assginment to script_sections_.
+       dot assignment to script_sections_.
        * script-sections.cc (Script_sections::add_dot_assignment):
        Initialize if necessary.
 
index 984f3e1b042e44f5b41892ab9fec849d36e0c18d..97afda81836898f2a273acbdf39897310d4fda84 100644 (file)
@@ -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];
This page took 0.041389 seconds and 4 git commands to generate.