diff options
author | Cary Coutant <ccoutant@google.com> | 2011-06-09 18:18:44 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2011-06-09 18:18:44 +0000 |
commit | 4fb3a1c35a8a796104f36e61ea465e94f27e2db8 (patch) | |
tree | 76dd3926c6356152a00f08087651bca214adfe36 /gold/gold.cc | |
parent | PR gas/12861 (diff) | |
download | binutils-gdb-4fb3a1c35a8a796104f36e61ea465e94f27e2db8.tar.gz binutils-gdb-4fb3a1c35a8a796104f36e61ea465e94f27e2db8.tar.bz2 binutils-gdb-4fb3a1c35a8a796104f36e61ea465e94f27e2db8.zip |
PR gold/12804
* gold/gold.cc (queue_initial_tasks): Warn if --incremental is
used with --compress-debug-sections.
* gold/object.cc (Sized_relobj_file::do_layout): Report
uncompressed size of compressed input sections.
Diffstat (limited to 'gold/gold.cc')
-rw-r--r-- | gold/gold.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/gold.cc b/gold/gold.cc index 95c226c5dd5..f68ba3e71f1 100644 --- a/gold/gold.cc +++ b/gold/gold.cc @@ -200,6 +200,9 @@ queue_initial_tasks(const General_options& options, gold_error(_("incremental linking is incompatible with --icf")); if (options.has_plugins()) gold_error(_("incremental linking is incompatible with --plugin")); + if (strcmp(options.compress_debug_sections(), "none") != 0) + gold_error(_("incremental linking is incompatible with " + "--compress-debug-sections")); if (parameters->incremental_update()) { |