diff options
-rw-r--r-- | gold/powerpc.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/powerpc.cc b/gold/powerpc.cc index 22c0462..b950869 100644 --- a/gold/powerpc.cc +++ b/gold/powerpc.cc @@ -4338,7 +4338,8 @@ template<int size, bool big_endian> void Output_data_plt_powerpc<size, big_endian>::do_write(Output_file* of) { - if (!this->sym_ents_.empty()) + if (!this->sym_ents_.empty() + && !parameters->options().output_is_position_independent()) { const section_size_type offset = this->offset(); const section_size_type oview_size |