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



Matthew Gretton-Dann <mgretton at sourceware dot org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED

                 CC|                            |mgretton at sourceware dot

                   |                            |org

         Resolution|                            |INVALID



--- Comment #1 from Matthew Gretton-Dann <mgretton at sourceware dot org> 
2012-09-21 09:13:48 UTC ---

The testcase doesn't mark the branch destination as a function.  The linker

will only veneer function calls.



The test should work fine with the following source:



.text

.arm

.global _start

_start:

    bl far_foo



.section .far_text,"ax"

.arm

.global far_foo

.type far_foo, %function

@ For thumb you would instead do: .thumb_func

far_foo:

    nop

    bx lr 



For further examples see ld/testsuite/ld-arm/farcall-*.s source files.



-- 

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