PR gold/14566
[deliverable/binutils-gdb.git] / gas / write.c
index 23d4334289fc2c515f49104ce7f4e710b57c0e1b..a4671475af608ea281caccf8832799caef5c13f7 100644 (file)
@@ -1019,6 +1019,10 @@ fixup_segment (fixS *fixP, segT this_segment)
                              S_GET_NAME (fixP->fx_subsy),
                              segment_name (sub_symbol_segment));
            }
+         else if (sub_symbol_segment != undefined_section
+                  && ! bfd_is_com_section (sub_symbol_segment)
+                  && MD_APPLY_SYM_VALUE (fixP))
+           add_number -= S_GET_VALUE (fixP->fx_subsy);
        }
 
       if (fixP->fx_addsy)
This page took 0.032208 seconds and 4 git commands to generate.