undefined reference to `end'in function _sbrk
Marco
marco.marcello@tin.it
Tue Apr 3 07:39:00 GMT 2001
here is the file ldscripts/armaoutl.x:
OUTPUT_FORMAT("a.out-arm-little")
OUTPUT_ARCH(arm)
SEARCH_DIR(/usr/local/arm-v4t-aout/lib);
SECTIONS
{
.text 0x8000 :
{
CREATE_OBJECT_SYMBOLS
__stext_ = .;
*(.text)
_etext = ALIGN(32768);
__etext = ALIGN(32768);
}
.data ALIGN(32768) :
{
__sdata_ = .;
*(.data)
CONSTRUCTORS
_edata = .;
__edata = .;
}
.bss SIZEOF(.data) + ADDR (.data) :
{
__bss_start = .;
*(.bss)
*(COMMON)
_end = ALIGN(4) ;
__end = ALIGN(4) ;
}
}
...I can't see what's wrong
Marco Marcello
More information about the Newlib
mailing list