This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: .text, .data and .bbs!!
ali hagigat <hagigatali@gmail.com> writes:
> I want to write a C or Assembly program and compile it by GNU GCC. Is
> it possible to compile(or assemble) the code so that the final object
> code does not have any .text, .data and .bss sections?
> Generating these sections are compulsory by GCC?
It's not gcc, but the GNU assembler, which always creates those
sections. And the GNU assembler does always create those sections;
I don't know of any way to disable that.
Ian