This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: failure notice
- From: Andrew Haley <aph at redhat dot com>
- To: G Shyam Sundar <callshyam at gmail dot com>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Wed, 30 Jul 2008 12:01:21 +0100
- Subject: Re: failure notice
- References: <19dce7c30807300204i2a03e356na82f35438f9ff73b@mail.gmail.com> <48902eb2.0917400a.504e.7a31SMTPIN_ADDED@mx.google.com> <19dce7c30807300224x586b4457o7e23f75d49e43691@mail.gmail.com>
G Shyam Sundar wrote:
> Hi,
> I am working with a kernel module, which was compiled using GCC
> 4.X, for x86_64 platform.
> After dis-assembling the module object file, I see that the callq
> function is always called with the next instruction of the code as the
> target address(based on IP only), as the offset feild following the
> instruction "e8"(corresponding to callq) is always 0, instead of the
> address of the function where I would think the call should be
> actually made to.
Use "objdump --reloc"
Andrew.