http://sourceware.org/bugzilla/show_bug.cgi?id=13204

             Bug #: 13204
           Summary: Internal error when --section-start is specified twice
                    with the same address
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: i...@airs.com
        ReportedBy: mgret...@sourceware.org
    Classification: Unclassified
              Host: x86_64-linux-gnu
            Target: arm-none-eabi


Given the following testcase:

@tmp.s
        .section sect1, "ax"
foo:
        bx lr

        .section sect2, "ax"
bar:
        bx lr
@end of tmp.s

Assembling and linking as follows:

arm-none-eabi-as tmp.s -o tmp.o
arm-none-eabi-ld.gold tmp.o -o tmp --section-start sect1=0x1000 \
      --section-start sect2=0x1000

produces:

arm-none-eabi-ld.gold: internal error in segment_precedes, at
.../gold/layout.cc:2979

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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