This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: m68k machine description question
- To: paul dot andrews at smartmove dot co dot nz
- Subject: Re: m68k machine description question
- From: "David O'Brien" <obrien at NUXI dot com>
- Date: Tue, 16 Nov 1999 18:39:24 -0800
- Cc: gcc at gcc dot gnu dot org
- Organization: The NUXI BSD group
- References: <199911170233.PAA00924@smtp1.ihug.co.nz>
- Reply-To: obrien at NUXI dot com
On Wed, Nov 17, 1999 at 02:33:33AM +0000, paul.andrews@smartmove.co.nz wrote:
> One other quick question: is there a switch anywhere to stop gcc emiting the
> do_global_ctor/dtor stuff, and the call to __main?
See expand_main_function() in gcc/function.c. The defines you need to
tweak are INIT_SECTION_ASM_OP and INVOKE__main.
--
-- David (obrien@NUXI.com)