bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/3532] New: ld/bfd assertion failure while linking thumb code.


From: raj dot khem at gmail dot com
Subject: [Bug ld/3532] New: ld/bfd assertion failure while linking thumb code.
Date: 16 Nov 2006 20:41:51 -0000

The attached testcase causes ld assertion failure. 

ld: BFD 2.17.50 20061116 assertion fail ../../bfd/elf32-arm.c:8404

This has started to happen after the following patch was committed.

2006-08-17  Paul Brook  <address@hidden>

    bfd/
    * elf32-arm.c (elf32_arm_link_hash_entry): Add export_glue.
    (elf32_arm_link_hash_newfunc): Initialize export_glue.
    (record_arm_to_thumb_glue): Return stub symbol.
    (elf32_arm_create_thumb_stub): New function.
    (elf32_arm_to_thumb_stub): Use it.
    (elf32_arm_to_thumb_export_stub): New function.
    (elf32_arm_begin_write_processing): New function.
    (allocate_dynrelocs): Allocate Arm stubs.
    (elf_backend_begin_write_processing): Define.
    (elf32_arm_symbian_begin_write_processing): Remove ATTRIBUTE_UNUSED.
    Call elf32_arm_begin_write_processing.

    ld/
    * emultempl/armelf.em (arm_elf_before_allocation): Call
    gld${EMULATION_NAME}_before_allocation after setting interworking bfd.

    ld/testsuite/
    * ld-arm/arm-elf.exp (armelftests): Add armthumb-lib.so.  Add
    -use-blx to mixed-lib.so
    * ld-arm/armthumb-lib.d: New file.
    * ld-arm/armthumb-lib.sym: New file.

-- 
           Summary: ld/bfd assertion failure while linking thumb code.
           Product: binutils
           Version: 2.18 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: raj dot khem at gmail dot com
                CC: bug-binutils at gnu dot org,paul at codesourcery dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arm-linux-gnueabi


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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]