aboutsummaryrefslogtreecommitdiff
path: root/gold/target.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/target.cc')
-rw-r--r--gold/target.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/target.cc b/gold/target.cc
index b129b59..0ddc13d 100644
--- a/gold/target.cc
+++ b/gold/target.cc
@@ -23,6 +23,7 @@
#include "gold.h"
#include "target.h"
#include "dynobj.h"
+#include "output.h"
#include "elfcpp.h"
namespace gold
@@ -136,6 +137,13 @@ Target::do_make_elf_object(const std::string& name, Input_file* input_file,
}
#endif
+Output_section*
+Target::do_make_output_section(const char* name, elfcpp::Elf_Word type,
+ elfcpp::Elf_Xword flags)
+{
+ return new Output_section(name, type, flags);
+}
+
// Default conversion for -fsplit-stack is to give an error.
void