In file offsets of symbols

Hi,

I’d like to get the file offsets of primitives/symbols as they will be located in the compiled object file. How should I go about this?

Thanks.