diff options
Diffstat (limited to 'gold/options.cc')
-rw-r--r-- | gold/options.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/options.cc b/gold/options.cc index f54fb9b..21b95e3 100644 --- a/gold/options.cc +++ b/gold/options.cc @@ -1343,6 +1343,8 @@ General_options::finalize() gold_fatal(_("incremental linking is not compatible with --plugin")); if (this->relro()) gold_fatal(_("incremental linking is not compatible with -z relro")); + if (this->pie()) + gold_fatal(_("incremental linking is not compatible with -pie")); if (this->gc_sections()) { gold_warning(_("ignoring --gc-sections for an incremental link")); |