From sacadmin Fri Feb  2 13:35:48 2007
Received: from sfbaymail1sca.SFBay.Sun.COM (sfbaymail1sca.SFBay.Sun.COM [129.145.154.35])
	by sac.sfbay.sun.com (8.13.6+Sun/8.13.6) with ESMTP id l12LZmGM012493
	for <psarc@sac.sfbay.sun.com>; Fri, 2 Feb 2007 13:35:48 -0800 (PST)
Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43])
	by sfbaymail1sca.SFBay.Sun.COM (8.13.6+Sun/8.13.6/ENSMAIL,v2.2) with ESMTP id l12LZmWr018702
	for <psarc@sac.sfbay.sun.com>; Fri, 2 Feb 2007 13:35:48 -0800 (PST)
Received: from fe-amer-02.sun.com ([192.18.108.176])
	by brmea-mail-2.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l12LZlxI005875
	for <psarc@sac.sfbay.sun.com>; Fri, 2 Feb 2007 14:35:47 -0700 (MST)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006))
 id <0JCU00F01UMHLV00@mail-amer.sun.com>
 (original mail from Ali.Bahrami@Sun.COM) for psarc@sac.sfbay.sun.com; Fri,
 02 Feb 2007 14:35:47 -0700 (MST)
Received: from [172.20.25.67] by mail-amer.sun.com
 (Sun Java System Messaging Server 6.2-6.01 (built Apr  3 2006))
 with ESMTPSA id <0JCU00H0JUNN5MV2@mail-amer.sun.com> for
 psarc@sac.sfbay.sun.com; Fri, 02 Feb 2007 14:35:47 -0700 (MST)
Date: Fri, 02 Feb 2007 14:38:00 -0700
From: Ali Bahrami <Ali.Bahrami@Sun.COM>
Subject: PSARC/2007/074 -L option for nm(1) to display SHT_SUNW_LDYNSYM symbols
Sender: Ali.Bahrami@Sun.COM
To: psarc@sac.sfbay.sun.com
Message-id: <45C3AF38.7090304@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=ISO-8859-1
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050930)
Status: RO
Content-Length: 1293

I am sponsoring the following self approved fast-track for
myself - timeout 02/05/2007.
---------------------------------------------------------------------------

I propose a new command line option, -L, to nm(1) in order to allow
it to display symbols from the .SUNW_ldynsym sections that were
added to Solaris with:

	PSARC 2006/526 SHT_SUNW_LDYNSYM - default local symbol addition
	4934427 runtime linker should load up static symbol names
		visible to dladdr()

This change will be integrated as part of

	6518322 Some ELF utilities need updating for .SUNW_ldynsym section


The -L option will be documented on the nm(1) manpage, as follows:

	-L	Displays the SHT_SUNW_LDYNSYM symbol information. This
		symbol table contains local function symbols.
		SHT_SUNW_LDYNSM symbol tables are present even in stripped
		dynamic executables. These symbols augment the global
		symbols that are found in SHT_DYNSYM symbol table.
		If -L is not specified, the default behavior is to display
		the SHT_SYMTAB symbol information.

This new option parallels the behavior of the existing -D option, which
is used to display symbols from .dynsym (SHT_DYNSYM) sections.
---------------------------------------------------------------------------

Release Binding:		Patch/Micro
-L nm option:			Committed

