-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When attempting to load an application that was compiled using a linker script similar to listing 1, findFreeMemory reports an error saying that the header does not have a valid magic number.
Listing 1
OUTPUT_FORMAT(elf32-i386)
ENTRY(_start)
SECTIONS
{
.text 0x08048000 :
{
code = .; _code = .; __code = .;
*(.text)
}
.data :
{
data = .; _data = .; __data = .;
*(.data)
*(.rodata)
}
.bss :
{
bss = .; _bss = .; __bss = .;
*(.bss)
}
end = .; _end = .; __end = .;
}
Possible fixes:
Unknown
Maybe rewrite the heap code?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels