This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
ld generated map file and local variables
- From: "Martin Fiala" <fialkam at gmail dot com>
- To: binutils at sourceware dot org
- Date: Fri, 7 Mar 2008 14:37:38 +0100
- Subject: ld generated map file and local variables
Hello,
I managed to implement a support for ld flags passed through gcc in
our makefiles, but the exported mapfiles (using the -Wl,-Map,filename)
contain only global variables. Using "nm -x compiled_file" I get all
the variables, local and global, so I assume they had to be available
during linking:). Am I missing some additional switch (didn't find any
info about local variables and map files in ld man pages.. nor using
google..) or is it just unsupported?
Thanks in advance for the answer.
Martin Fiala