aboutsummaryrefslogtreecommitdiff
path: root/gold/gold.cc
diff options
context:
space:
mode:
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 d1e544a..9a43043 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();