* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Look up
[deliverable/binutils-gdb.git] / gas / write.c
index f640c6103d13553c0565094a4b6f1ac15a64e000..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)
@@ -1767,6 +1771,10 @@ write_object_file (void)
   fragS *fragP;                        /* Track along all frags.  */
 #endif
 
+#ifdef md_pre_output_hook
+  md_pre_output_hook;
+#endif
+
   /* Do we really want to write it?  */
   {
     int n_warns, n_errs;
This page took 0.023513 seconds and 4 git commands to generate.