From 33aea2fd651cf208e9e3c94c43cc3e10a12f03ea Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Fri, 27 Mar 2009 18:19:09 +0000 Subject: * powerpc.cc (Target_powerpc::check_non_pic): Assert that output is position independent. * sparc.cc (Target_sparc::check_non_pic): Likewise. * x86_64.cc (Target_x86_64::check_non_pic): Likewise. --- gold/sparc.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'gold/sparc.cc') diff --git a/gold/sparc.cc b/gold/sparc.cc index fe1ffa6..d15b833 100644 --- a/gold/sparc.cc +++ b/gold/sparc.cc @@ -1589,6 +1589,7 @@ Target_sparc::Scan::check_non_pic(Relobj* object, unsigned int // error per object file. if (this->issued_non_pic_error_) return; + gold_assert(parameters->options().output_is_position_independent()); object->error(_("requires unsupported dynamic reloc; " "recompile with -fPIC")); this->issued_non_pic_error_ = true; -- cgit v1.1