From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6281 invoked by alias); 30 Jul 2008 11:01:53 -0000 Received: (qmail 6268 invoked by uid 22791); 30 Jul 2008 11:01:52 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 30 Jul 2008 11:01:35 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m6UB1WPC008560; Wed, 30 Jul 2008 07:01:32 -0400 Received: from zebedee.pink (vpn-12-87.rdu.redhat.com [10.11.12.87]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m6UB1VGK015919; Wed, 30 Jul 2008 07:01:32 -0400 Message-ID: <48904A01.80407@redhat.com> Date: Wed, 30 Jul 2008 12:10:00 -0000 From: Andrew Haley User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: G Shyam Sundar CC: gcc Subject: Re: failure notice References: <19dce7c30807300204i2a03e356na82f35438f9ff73b@mail.gmail.com> <48902eb2.0917400a.504e.7a31SMTPIN_ADDED@mx.google.com> <19dce7c30807300224x586b4457o7e23f75d49e43691@mail.gmail.com> In-Reply-To: <19dce7c30807300224x586b4457o7e23f75d49e43691@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2008-07/txt/msg00634.txt.bz2 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.