AVR C Runtime Library - Bugs: bug #25778, Writing to SP loads the stack...
You are not allowed to post comments on this tracker with your current authentication level.
bug #25778: Writing to SP loads the stack pointer improperly
Submitter: | Fred Hansen <bldrcowboy> | ||
Submitted: | Fri 06 Mar 2009 04:50:36 PM UTC | ||
Category: | None | Severity: | 5 - Blocker |
Priority: | 9 - Immediate | Item Group: | None |
Status: | Fixed | Assigned to: | arcanum |
Percent Complete: | 100% | Open/Closed: | Closed |
Release: | 1.6.4 | Fixed Release: | None |
Sat 07 Mar 2009 05:32:28 AM UTC, comment #2: |
Eric Weddington <arcanum> |
Fri 06 Mar 2009 08:53:01 PM UTC, comment #1: This is a GCC problem, not with avr-libc.
|
Eric Weddington <arcanum> |
Fri 06 Mar 2009 04:50:36 PM UTC, original submission:
The attached list file shows an quick example of the bug. I'm loading the stack pointer at the beginning of a naked routine (used in the boot loader) by writing to the global SP with the statement:
|
Fred Hansen <bldrcowboy> |
Depends on the following items: None found
Items that depend on this one: None found
Follow 10 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2009-03-07 | arcanum | Status | None | Fixed | |
Percent Complete | 30% | 100% | |||
Open/Closed | Open | Closed | |||
2009-03-06 | arcanum | Category | Library | None | |
Severity | 3 - Normal | 5 - Blocker | |||
Priority | 5 - Normal | 9 - Immediate | |||
Percent Complete | 0% | 30% | |||
Assigned to | None | arcanum | |||
2009-03-06 | bldrcowboy | Attached File | - | Added SPBugExample.c, #17600 | |
Attached File | - | Added SPBugExample.lst, #17601 |
Powered by Savane 3.13-02a9.
Corresponding source code
Fixed in the xmega patch to GCC.