Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935013AbXEVSSK (ORCPT ); Tue, 22 May 2007 14:18:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759042AbXEVSR5 (ORCPT ); Tue, 22 May 2007 14:17:57 -0400 Received: from nwd2mail10.analog.com ([137.71.25.55]:16165 "EHLO nwd2mail10.analog.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757101AbXEVSR4 (ORCPT ); Tue, 22 May 2007 14:17:56 -0400 X-IronPort-AV: i="4.14,567,1170651600"; d="scan'208"; a="39727021:sNHT24953138" From: Robin Getz Organization: Blackfin uClinux org To: "Sam Ravnborg" Subject: ./scripts/kallsysm.c question Date: Tue, 22 May 2007 14:20:26 -0400 User-Agent: KMail/1.9.5 Cc: "LKML" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705221420.26693.rgetz@blackfin.uclinux.org> X-OriginalArrivalTime: 22 May 2007 18:17:54.0888 (UTC) FILETIME=[846CF480:01C79C9D] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 851 Lines: 20 Sam: I was noticing some issues with /proc/kallsyms generation on our platform, which I noticed after a toolchain update (which I fixed) However, I had a question in looking at the logic - it looks like the out function puts out all symbols - even if they are in the _init section. My question was should it? I can see some issues if someone built a module against a function that was marked as init - when the module loaded - the init code is gone, but the symbol is still in the kernel - isn't it? a module would jump to where the code use to be - which might be something else at the time. -Robin - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/