How to create one section like ".bss"

Michael Hennebry
Mon Jan 25 16:01:00 GMT 2010

On Mon, 25 Jan 2010, He Yunlong-B20256 wrote:

>   We know that ".bss" is one uninitialized section, which won't occupy
> file space but can be accessed by application at runtime, is it possible
> for us to create one section like it?

I think the trick is to make the section without the loadable attribute.

"Pessimist: The glass is half empty.
Optimist:   The glass is half full.
Engineer:   The glass is twice as big as it needs to be."

More information about the Binutils mailing list