This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: m68k machine description question


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]