On 2019-04-07 11:55 AM, Robert P. J. Day wrote:
> 
>   i'm sure that, once upon a time, using either readelf or objdump, i
> found a variation with a certain collection of options that displayed
> no more than each included routine in the final ELF file and the
> source file it came from. and at the moment, i am completely
> forgetting how i did it.

A stripped ELF file is not going to have any debug information (eg. the source 
file from which a bunch of binary objects
in a particular segment was compiled).  If you're creating the boot image you 
might need to tweak things so the debug
information doesn't get stripped out during the build.

The debug information is stored in DWARF tables inside of the ELF file.  Try 
playing with the --debug-dunmp and the
--dwarf-* options to readelf.

-- 
Stephen M. Webb  <[email protected]>

To unsubscribe send a blank message to [email protected]
To get help send a blank message to [email protected]
To visit the archives: https://lists.linux-ottawa.org

Reply via email to