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: .comm vs .largecomm


David Livshin <david.livshin@dalsoft.com> writes:

> What is the difference between .comm and .largecomm ( in gas for
> x86_64). May it be assumed that ( the address of a ) symbol defined by
> .comm is < 2G, e.g. after

.largecomm is used when using the medium model (gcc's -mcmodel=medium
option).  When using the medium model, you can assume that the address
of a .comm symbol is < 2G.  When using the large model, you can not
assume that.

Ian


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