* config/tc-mmix.c (md_estimate_size_before_relax): Don't consider
[deliverable/binutils-gdb.git] / gas / config / tc-mmix.c
index a8c7e239c1c7cee6d2351385e8b5104edf8e601f..a9087814c8458e890aab13fd413cd68bc485ac67 100644 (file)
@@ -2172,7 +2172,8 @@ md_estimate_size_before_relax (fragP, segment)
 #define HANDLE_RELAXABLE(state)                                                \
  case ENCODE_RELAX (state, STATE_UNDF):                                        \
    if (fragP->fr_symbol != NULL                                                \
-       && S_GET_SEGMENT (fragP->fr_symbol) == segment)                 \
+       && S_GET_SEGMENT (fragP->fr_symbol) == segment                  \
+       && !S_IS_WEAK (fragP->fr_symbol))                               \
      {                                                                 \
        /* The symbol lies in the same segment - a relaxable case.  */  \
        fragP->fr_subtype                                               \
This page took 0.023633 seconds and 4 git commands to generate.