From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 28 Jan 2009 21:56:01 +1100 From: Anton Blanchard To: Arjan van de Ven Subject: Re: [PATCH] bootgraph: fix for use with dot symbols Message-ID: <20090128105601.GB18368@kryten> References: <19599.1233113450@neuling.org> <497FE4E7.8070303@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <497FE4E7.8070303@linux.intel.com> Cc: linuxppc-dev@ozlabs.org, Michael Neuling , linux-kernel@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Arjan, > question for the ppc folks.... why does the "print symbol" magic format string > thing print a dot symbol and not the real function name? > Should that be fixed instead? We have two symbols for each function, foo points to the function descriptor, and .foo points to the instruction text. If we were to strip the '.' when we print symbols then it would become harder to diagnose some failures (eg branching to the function descriptor instead of the instruction text). Anton