This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: object dependency analyser
- From: Pedro Alves <pedro at codesourcery dot com>
- To: binutils at sourceware dot org
- Cc: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- Date: Fri, 9 Apr 2010 20:22:49 +0100
- Subject: Re: object dependency analyser
- References: <4BBF6CF2.4020908@oarcorp.com>
On Friday 09 April 2010 19:07:46, Joel Sherrill wrote:
> Hi,
>
> I tried to google this but the words are too
> overloaded. Does anyone know of a utility
> that can take an executable and tell me
> why each symbol is in the executable?
>
> -Map is a good start at this but having a
> a dependency graph per symbol would be better.
Reminds me of this:
http://sourceware.org/ml/newlib/2006/msg00309.html
Saved my day a while back (as in, app wasn't
fitting flash anymore :-) and this made it
much easier to find what was pulling what).
>
> The goal is to analyse statically linked
> RTEMS applications and determine why the
> individual parts of RTEMS are included. With
> this information, we can find unused code that
> is just pulled in.
>
> Any ideas?
>
>
--
Pedro Alves