https://sourceware.org/bugzilla/show_bug.cgi?id=21970

            Bug ID: 21970
           Summary: assertion failed if have more than one overlay has
                    subalign specified
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: zyfwong at gmail dot com
  Target Milestone: ---

OVERLAY : SUBALIGN(4)
{
   .text : {*(.text);}
}

OVERLAY : SUBALIGN(4)
{
  .data : {*(.data);}
}

this script will trigger the assertion in function `lang_entry_overlay` in
ld/ldlang.c.

seem like overlay_subalign is not reassigned to NULL when leave overlay in
`lang_leave_overlay`

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to