common symbols and GNU ld
Ian Lance Taylor
iant@google.com
Wed May 11 14:50:00 GMT 2011
ali hagigat <hagigatali@gmail.com> writes:
> What is the meaning of common symbols?
http://www.airs.com/blog/archives/42
> Are they defined by .comm
> assembler directive ONLY? If I do not see .comm in the assembly
> listing of a program so that program does not have common symbols?
> right?
In MRI mode you can get a common symbol using the COMMON pseudo-op. You
can also use the .xcom pseudo-op. ELF targets support the .common
pseudo-op. The x86_64 target supports the .largecomm pseudo-op. There
are various other possibilities.
Ian
More information about the Binutils
mailing list