using arm-elf-ld:

when:
- you have an asm file with .data & .text with Thumb interworking enabled
  and .data is not accessed anywhere and will be garbage-collected
- you have a C file compiled in Thumb mode with Thumb interworking enabled
- you enable --gc-sections

you get an assert from ldlang.c line 4275

-- 
           Summary: enabling LD garbage collection with Thumb interworking
                    causes ASSERT in ldlang.c line 4275
           Product: binutils
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: adsouzp at netscape dot net
                CC: bug-binutils at gnu dot org
  GCC host triplet: CYGWIN_NT-5.1 jenny 1.5.25(0.156/4/2) 2008-06-12 19:34
                    i686 Cygw
GCC target triplet: ARM ELF


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to