AVR C Runtime Library - Bugs: bug #22415, malloc and realloc not using SPH...
You are not allowed to post comments on this tracker with your current authentication level.
bug #22415: malloc and realloc not using SPH in winavr20071221
Submitter: | CurtVM <curtvm> | ||
Submitted: | Mon 25 Feb 2008 05:26:27 PM UTC | ||
Category: | Library | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | libc code |
Status: | Fixed | Assigned to: | joerg_wunsch |
Percent Complete: | 0% | Open/Closed: | Closed |
Release: | None | Fixed Release: | None |
Mon 25 Feb 2008 08:10:34 PM UTC, comment #2: |
Joerg Wunsch <joerg_wunsch> |
Mon 25 Feb 2008 06:50:53 PM UTC, comment #1: Joerg may have already fixed this bug with this diff:
|
Eric Weddington <arcanum> |
Mon 25 Feb 2008 05:26:27 PM UTC, original submission:
WinAVR20071221-
|
CurtVM <curtvm> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2008-02-25 | joerg_wunsch | Status | None | Fixed | |
Assigned to | None | joerg_wunsch | |||
Open/Closed | Open | Closed |
Powered by Savane 3.13-4b48.
Corresponding source code
Yes, the subject sounded familar to me.
I just verified a fresh build of avr-libc-1.6:
fa: 01 f4 brne .+0 ; 0xfc <malloc+0xfc>
fa: R_AVR_7_PCREL .text+0x10c
fc: 2d b7 in r18, 0x3d ; 61
fe: 3e b7 in r19, 0x3e ; 62
100: 80 91 00 00 lds r24, 0x0000
102: R_AVR_16 .data
104: 90 91 00 00 lds r25, 0x0000
106: R_AVR_16 .data+0x1
108: 28 1b sub r18, r24
10a: 39 0b sbc r19, r25
10c: a0 91 00 00 lds r26, 0x0000
10e: R_AVR_16 __brkval
110: b0 91 00 00 lds r27, 0x0000
112: R_AVR_16 __brkval+0x1
So everything looks fine now.