* .text, .data and .bbs!!
@ 2010-12-04 11:18 ali hagigat
2010-12-06 23:19 ` Ian Lance Taylor
0 siblings, 1 reply; 2+ messages in thread
From: ali hagigat @ 2010-12-04 11:18 UTC (permalink / raw)
To: binutils
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: .text, .data and .bbs!!
2010-12-04 11:18 .text, .data and .bbs!! ali hagigat
@ 2010-12-06 23:19 ` Ian Lance Taylor
0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2010-12-06 23:19 UTC (permalink / raw)
To: ali hagigat; +Cc: binutils
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-06 23:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-04 11:18 .text, .data and .bbs!! ali hagigat
2010-12-06 23:19 ` Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).