diff options
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r-- | gas/config/tc-mips.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index ec0bf25e8b..095c466b95 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -12194,8 +12194,8 @@ md_estimate_size_before_relax (fragp, segtype) && !linkonce #ifdef OBJ_ELF /* A global or weak symbol is treated as external. */ - && (OUTPUT_FLAVOR == bfd_target_elf_flavour - && ! (S_IS_EXTERN (sym) || S_IS_WEAK (sym))) + && (OUTPUT_FLAVOR != bfd_target_elf_flavour + || (! S_IS_EXTERN (sym) && ! S_IS_WEAK (sym))) #endif ); } |