bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/13046] Direct call doesn't work in 64bit


From: hjl.tools at gmail dot com
Subject: [Bug gas/13046] Direct call doesn't work in 64bit
Date: Mon, 1 Aug 2011 19:00:35 +0000

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.21                        |2.22 (HEAD)
            Summary|Calling equ'd symbols       |Direct call doesn't work in
                   |                            |64bit

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2011-08-01 18:59:51 
UTC ---
address@hidden pr13046]$ cat x.s
    .text
    .global _start
_start:
    call     0x100040
    .intel_syntax noprefix
    call    0x100040
address@hidden pr13046]$ as --64 -o x.o x.s
x.s: Assembler messages:
x.s:4: Warning: indirect call without `*'
address@hidden pr13046]$ objdump -dwr x.o

x.o:     file format elf64-x86-64


Disassembly of section .text:

0000000000000000 <_start>:
   0:    ff 14 25 40 00 10 00     callq  *0x100040
   7:    ff 14 25 40 00 10 00     callq  *0x100040
address@hidden pr13046]$

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