bug-binutils
[Top][All Lists]
Advanced

[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: marcin.bukat at gmail dot com
Subject: [Bug ld/14603] no reloc emitted for ld generated veneers for ARM
Date: Fri, 21 Sep 2012 09:19:32 +0000


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



Marcin Bukat <marcin.bukat at gmail dot com> changed:



           What    |Removed                     |Added

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

             Status|RESOLVED                    |REOPENED

         Resolution|INVALID                     |



--- Comment #2 from Marcin Bukat <marcin.bukat at gmail dot com> 2012-09-21 
09:19:32 UTC ---

Running provided testcase I get this:



test.elf:     file format elf32-littlearm





Disassembly of section .text:



00000000 <_start>:

   0:    eb000000     bl    8 <__far_foo_veneer>

            0: R_ARM_CALL    far_foo

   4:    00000000     andeq    r0, r0, r0



00000008 <__far_foo_veneer>:

   8:    e51ff004     ldr    pc, [pc, #-4]    ; c <__far_foo_veneer+0x4>

   c:    80000000     .word    0x80000000



Disassembly of section .far_text:



80000000 <far_foo>:

80000000:    e1a00000     nop            ; (mov r0, r0)

80000004:    e12fff1e     bx    lr

            80000004: R_ARM_V4BX    *ABS*





There is clearly veneer inserted as well as with your proposed change. But this

is not the case. The bug is about lack of relocation in veneer jump address

which still holds.



-- 

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]