From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15145 invoked by alias); 9 Apr 2009 20:50:03 -0000 Received: (qmail 15132 invoked by uid 22791); 9 Apr 2009 20:50:02 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Apr 2009 20:49:57 +0000 Received: from mailhost4.vmware.com (mailhost4.vmware.com [10.16.67.124]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 109591D007; Thu, 9 Apr 2009 13:49:56 -0700 (PDT) Received: from [10.20.94.141] (msnyder-server.eng.vmware.com [10.20.94.141]) by mailhost4.vmware.com (Postfix) with ESMTP id 062F1C9AA6; Thu, 9 Apr 2009 13:49:56 -0700 (PDT) Message-ID: <49DE5E92.4030309@vmware.com> Date: Thu, 09 Apr 2009 20:52:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: Shrinand Javadekar CC: "gdb@sourceware.org" Subject: Re: Kernel symbol table References: <49DE4219.9020606@vmware.com> <49DE599B.8070702@vmware.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-04/txt/msg00097.txt.bz2 Shrinand Javadekar wrote: > Hi Michael, > > If these are not loaded how can other (maybe even user written) > modules link to them? > > For. e.g. I could write a simple driver which calls sys_open to open a > file. When the module is built/loaded, how does the linker/loader know > the address of sys_open? I have no idea. Maybe I should step aside and see if someone who knows more will jump in. ;-)