daily update
[deliverable/binutils-gdb.git] / bfd / aoutx.h
index 98d5213234fab20e50d9803bf44f0f8ae8f76a96..09331aa0ca24d2924de8a3b87b256262aa0f9726 100644 (file)
@@ -1952,7 +1952,10 @@ NAME (aout, swap_std_reloc_out) (bfd *abfd,
 
   if (bfd_is_com_section (output_section)
       || bfd_is_abs_section (output_section)
-      || bfd_is_und_section (output_section))
+      || bfd_is_und_section (output_section)
+      /* PR gas/3041  a.out relocs against weak symbols
+        must be treated as if they were against externs.  */
+      || (sym->flags & BSF_WEAK))
     {
       if (bfd_abs_section_ptr->symbol == sym)
        {
This page took 0.023277 seconds and 4 git commands to generate.