avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [task #4355] Call main() as a normal function


From: Marek Michalkiewicz
Subject: [avr-libc-dev] [task #4355] Call main() as a normal function
Date: Sun, 3 Jul 2005 20:57:35 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux) KHTML/3.3.2 (like Gecko)

URL:
  <http://savannah.nongnu.org/task/?func=detailitem&item_id=4355>

                 Summary: Call main() as a normal function
                 Project: AVR C Runtime Library
            Submitted by: marekm
            Submitted on: Sun 07/03/2005 at 20:57
         Should Start On: Sun 07/03/2005 at 00:00
   Should be Finished on: Wed 08/03/2005 at 00:00
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: joerg_wunsch
        Percent Complete: 0%
             Open/Closed: Open

    _______________________________________________________

Details:

Change gcrt1.S to call main() instead of jumping to it; after main() returns,
call exit().  This will allow GCC to remove special handling of main() which
currently makes it more difficult to implement RTL prologues/epilogues.  See
also:

http://lists.gnu.org/archive/html/avr-gcc-list/2005-06/msg00201.html

and other messages in this thread.







    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?func=detailitem&item_id=4355>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]