This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Possible to turn of section merging?
- From: Alan Modra <amodra at gmail dot com>
- To: "Chauhan, Himanshu" <hschauhan at nulltrace dot org>
- Cc: binutils <binutils at sourceware dot org>
- Date: Wed, 29 Feb 2012 15:05:07 +1030
- Subject: Re: Possible to turn of section merging?
- Authentication-results: mr.google.com; spf=pass (google.com: domain of amodra@gmail.com designates 10.68.225.231 as permitted sender) smtp.mail=amodra@gmail.com; dkim=pass header.i=amodra@gmail.com
- References: <20120227125801.GA3395@ubuntu.ubuntu-domain> <20120229001522.GM3613@bubble.grove.modra.org> <CAOkDQ3VJqpJC7q-U6xCc3KV3bAtMhcf=-SN588gpky0-Bk8BNQ@mail.gmail.com> <CAOkDQ3WJbBVpT3PHAD1G4DhJVit+_F4ko=Lrt5+K9qHwu8Z-vA@mail.gmail.com>
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