How to inform the linker not to produce any data for a .bsssection?
Wed Dec 12 14:19:00 GMT 2007
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.
More information about the Binutils