How to inform the linker not to produce any data for a .bss section?
Sun Dec 9 20:07:00 GMT 2007
On Sun, Dec 09, 2007 at 10:50:50AM +0800, PRC wrote:
> 2 .bss 00000620 811eeb00 811eeb00 00002b00 2**3
> The linker create a real '.bss' section in the output ELF file and
> store some data inside the section, which greatly increase the size
> of the ELF file.
No, it didn't. It takes up no space in the file because it does not
have the CONTENTS flag.
More information about the Binutils