bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/15217] New: branch-to-arm-from-thumb for typeless symbol is miss


From: hp at sourceware dot org
Subject: [Bug ld/15217] New: branch-to-arm-from-thumb for typeless symbol is missing a stub
Date: Fri, 01 Mar 2013 04:58:15 +0000

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

             Bug #: 15217
           Summary: branch-to-arm-from-thumb for typeless symbol is
                    missing a stub
           Product: binutils
           Version: 2.24 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified
            Target: arm-unknown-linux-gnueabi


Created attachment 6908
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6908
test-case

See the run_dump_test test-case patch in the attachment.  Note that the
type-specifiers for the symbol types are commented out; the code is derived
from mixed-lib.s but with function names swapped, calling arm from thumb and
thumb from arm.  The call from app_tfunc (in thumb mode) to lib_func2 (in arm
mode) doesn't get a stub with "todays" sources.  The expected test-case output
is observed by adding back the type specifiers causing a proper thumb-to-arm
stub being generated with the test passing.

The real-world code is somewhat sloppy hand-written assembly-code; no symbol
decorations, just .global where necessary, but which worked with a toolchain
using pre-2.19 binutils.

-- 
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.



reply via email to

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