ld generated map file and local variables

Martin Fiala fialkam@gmail.com
Fri Mar 7 13:38:00 GMT 2008


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



More information about the Binutils mailing list