[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #22415] malloc and realloc not using SPH in winavr20
From: |
CurtVM |
Subject: |
[avr-libc-dev] [bug #22415] malloc and realloc not using SPH in winavr20071221 |
Date: |
Mon, 25 Feb 2008 17:26:29 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 |
URL:
<http://savannah.nongnu.org/bugs/?22415>
Summary: malloc and realloc not using SPH in winavr20071221
Project: AVR C Runtime Library
Submitted by: curtvm
Submitted on: Monday 02/25/2008 at 17:26
Category: Library
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: libc code
Status: None
Percent Complete: 0%
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
WinAVR20071221-
malloc.o and realloc.o in every libc.a is missing the use of SPH when getting
the stack pointer.
This line from malloc.c, which should be getting the SP-
cp = STACK_POINTER() - __malloc_margin;
ends up only getting SPL-
114: 8d b7 in r24, 0x3d ; 61
116: 28 2f mov r18, r24
118: 30 e0 ldi r19, 0x00 ; 0
SPH is not being used.
avr freaks thread-
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=60233&start=20&postdays=0&postorder=asc&highlight=
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?22415>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avr-libc-dev] [bug #22415] malloc and realloc not using SPH in winavr20071221,
CurtVM <=