taskAVR C Runtime Library - Tasks: task #4355, Call main() as a normal function

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #4355: Call main() as a normal function

Submitter:  Marek Michalkiewicz <marekm>
Submitted:  Sun 03 Jul 2005 08:57:34 PM UTC
   
 
Should Start On:  Sun 03 Jul 2005 12:00:00 AM UTC Should be Finished on:  Wed 03 Aug 2005 12:00:00 AM UTC
Category:  None Priority:  7 - High
Status:  Done Privacy:  Public
Assigned to:  None Percent Complete:  0%
Open/Closed:  Closed

Wed 13 Sep 2006 09:53:01 PM UTC, comment #2: 

Yet do not change that. I shall to implement RTL prologues/epilogues in GCC 4.3. Then also it will be necessary to make changes to avr-libc, if it is required.

Anatoly.

Anatoly Sokolov <aesok>
Group administrator
Wed 13 Sep 2006 09:43:35 PM UTC, comment #1: 

Patch for GCC to implement RTL prologues/epilogues does not demand these changes.

[avr-libc-dev] Re: [avr-gcc-list] [AVR] RTL prologue/epilogue ver.3:
http://lists.gnu.org/archive/html/avr-libc-dev/2006-08/msg00015.html

Anatoly Sokolov <aesok>
Group administrator
Sun 03 Jul 2005 08:57:34 PM UTC, original submission:  

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.

Marek Michalkiewicz <marekm>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by aesok (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-06-11 aesok StatusNone Done
        Assigned toaesok None
        Open/ClosedOpen Closed
    2007-01-14 aesok Assigned tojoerg_wunsch aesok
    2006-09-13 arcanum Priority5 - Normal 7 - High

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code