This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: How to inform the linker not to produce any data for a .bsssection?
On Wed, Dec 12, 2007 at 09:08:15AM +0000, Dave Murphy wrote:
> Daniel Jacobowitz wrote:
> > This is necessary alignment. If you don't want .bss to take up space
> > in the file, do not put allocated sections after it.
> >
>
> Is there any way to change that behavior without causing problems?
Try manually defining PHDRs? If the bss section is the last thing in
its segment, it won't take extra load space.
--
Daniel Jacobowitz
CodeSourcery