Possible to turn of section merging?

Alan Modra amodra@gmail.com
Wed Feb 29 04:35:00 GMT 2012


On Wed, Feb 29, 2012 at 08:23:54AM +0530, Chauhan, Himanshu wrote:
> I have noticed that once I define __pml4, __pgdp, __pgdi, __pgti using
> .comm or .lcomm, no matter what I do, these labels are merged inside bss.

Exactly as I suspected.  :)  .comm and .lcomm define common symbols.
gas doesn't define these symbols in whatever section happens to be
current.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list