This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: common symbols and GNU ld


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]