From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31746 invoked by alias); 8 Dec 2010 00:04:48 -0000 Received: (qmail 31738 invoked by uid 22791); 8 Dec 2010 00:04:48 -0000 X-SWARE-Spam-Status: Yes, hits=6.4 required=5.0 tests=AWL,BAYES_50,BOTNET,MSGID_MULTIPLE_AT,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.bil.konicaminolta.us (HELO bil.konicaminolta.us) (12.108.173.117) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 08 Dec 2010 00:04:43 +0000 Received: from [10.16.43.100] (account shaun.pinney HELO SHAUNOPTI745) by bil.konicaminolta.us (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 5299785 for binutils@sourceware.org; Tue, 07 Dec 2010 15:02:14 -0800 From: "Shaun Pinney" To: Subject: How to create a list solely of functions referenced by a module? Date: Wed, 08 Dec 2010 00:04:00 -0000 Message-ID: <000e01cb9662$934b2d10$b9e18730$@pinney@bil.konicaminolta.us> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2010-12/txt/msg00286.txt.bz2 Hi all, I have a module which references symbols defined in external libraries. I'd like to create a list of functions referenced by the module (e.g. module A references function B). How can I do this without including data references? nm gives me a list of all undefined references but AFAIK always groups text and data references together. Thanks for any advice. Thanks, Shaun