[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/14603] no reloc emitted for ld generated veneers for ARM
From: |
mgretton at sourceware dot org |
Subject: |
[Bug ld/14603] no reloc emitted for ld generated veneers for ARM |
Date: |
Fri, 21 Sep 2012 09:13:48 +0000 |
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.