2003-03-26 Eric Christopher <echristo@redhat.com>

* config/tc-mips.c (nopic_need_relax): Check for
        S_IS_EXTERN.
This commit is contained in:
Eric Christopher
2003-03-26 23:32:06 +00:00
parent 7f77cadd2a
commit 97bbfa382c
2 changed files with 12 additions and 6 deletions

View File

@@ -12774,6 +12774,7 @@ nopic_need_relax (sym, before_relaxing)
|| strcmp (symname, "_gp_disp") == 0))
change = 1;
else if ((! S_IS_DEFINED (sym) || S_IS_COMMON (sym))
&& !S_IS_EXTERN (sym)
&& (0
#ifndef NO_ECOFF_DEBUGGING
|| (symbol_get_obj (sym)->ecoff_extern_size != 0