From 97bbfa382c9d29be231b601ff16919e9dca86f8f Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 26 Mar 2003 23:32:06 +0000 Subject: 2003-03-26 Eric Christopher * config/tc-mips.c (nopic_need_relax): Check for S_IS_EXTERN. --- gas/config/tc-mips.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gas/config') 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 -- cgit v1.1