This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: undefined reference to `end'in function _sbrk
- To: newlib at sources dot redhat dot com
- Subject: Re: undefined reference to `end'in function _sbrk
- From: Marco <marco dot marcello at tin dot it>
- Date: Tue, 03 Apr 2001 16:42:16 +0200
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