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

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

[avr-libc-dev] [bug #18509] strtod.S crashes due to stack problem with a


From: anonymous
Subject: [avr-libc-dev] [bug #18509] strtod.S crashes due to stack problem with atmega 2560
Date: Tue, 12 Dec 2006 20:13:00 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061115 Ubuntu/dapper-security Firefox/1.5.0.8

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: address@hidden
             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/





reply via email to

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