aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2003-03-26 23:32:06 +0000
committerEric Christopher <echristo@gmail.com>2003-03-26 23:32:06 +0000
commit97bbfa382c9d29be231b601ff16919e9dca86f8f (patch)
tree47a2d980cab45d1bc270ff569ee9da2d59951fdb /gas/config
parent7f77cadd2aea814d255f406f488f3fee1c029384 (diff)
downloadgdb-97bbfa382c9d29be231b601ff16919e9dca86f8f.zip
gdb-97bbfa382c9d29be231b601ff16919e9dca86f8f.tar.gz
gdb-97bbfa382c9d29be231b601ff16919e9dca86f8f.tar.bz2
2003-03-26 Eric Christopher <echristo@redhat.com>
* config/tc-mips.c (nopic_need_relax): Check for S_IS_EXTERN.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-mips.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index f26f91b..239ed6d 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -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