URL:
<http://savannah.nongnu.org/bugs/?18509>
Summary: strtod.S crashes due to stack problem with atmega
2560
Project: AVR C Runtime Library
Submitted by: None
Submitted on: Tuesday 12/12/2006 at 20:12 UTC
Category: Library
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Private
Percent Complete: 0%
Assigned to: None
Originator Email: [EMAIL PROTECTED]
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Hi,
This section of code in the strtod.S file only pops off 2 bytes from the
stack. I did a quick fix which doesn't use the prologue macro which I have
attached as a patch file. The patch was originally done for version 1.43
library.
.L_strtod_prologue:
clr XL ; no locals
clr XH
pop ZH
pop ZL
PROLOGUE_SAVES(6)
Best regards
Brent
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tuesday 12/12/2006 at 20:12 UTC Name: strtod.diff Size: 693B By:
None
<http://savannah.nongnu.org/bugs/download.php?file_id=11509>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?18509>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev