summaryrefslogtreecommitdiff
path: root/gold/gold.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-01-23 01:31:13 +0000
committerIan Lance Taylor <iant@google.com>2008-01-23 01:31:13 +0000
commit494e05f4405228561f0af4d424136128ff8830d2 (patch)
treeef8756394ecd755f133be5dc2dfc9b086f6c0cb4 /gold/gold.cc
parent64f926997fdf212014e331a695a25b8144182320 (diff)
downloadbinutils-gdb-494e05f4405228561f0af4d424136128ff8830d2.tar.gz
Parse a SECTIONS clause in a linker script.
Diffstat (limited to 'gold/gold.cc')
-rw-r--r--gold/gold.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/gold.cc b/gold/gold.cc
index d1e544afdf3..9a4304330a9 100644
--- a/gold/gold.cc
+++ b/gold/gold.cc
@@ -29,6 +29,7 @@
#include "libiberty.h"
#include "options.h"
+#include "debug.h"
#include "workqueue.h"
#include "dirsearch.h"
#include "readsyms.h"
@@ -182,6 +183,9 @@ queue_middle_tasks(const General_options& options,
(*input_objects->dynobj_begin())->name().c_str());
}
+ if (is_debugging_enabled(DEBUG_SCRIPT))
+ layout->script_options()->print(stderr);
+
// For each dynamic object, record whether we've seen all the
// dynamic objects that it depends upon.
input_objects->check_dynamic_dependencies();