A question about setting location counter to a new value in output section
Hao Lee
haolee.swjtu@gmail.com
Fri Apr 6 03:58:00 GMT 2018
Hi, Alan
> Symbol values in an ELF executable or shared object are virtual
> addresses, not section offsets.
I finally understand what you said. nm command gives me the virtual
address not the relative offset from the start of custom_section. The
documentation is correct. The output of nm is also correct. My
understanding is wrong. Many thanks for your help!
Regards,
Hao Lee
More information about the Binutils
mailing list