LD issues (SOLVED)
Posted: Fri Jul 09, 2010 3:45 am
I try to link a compiled c++ kernel as described here
link.ld fails with the following error:
Googleing the issue didn't help me. Any ideas?
(Sorry for my bad english)
link.ld fails with the following error:
Code: Select all
opened script file .\link.ld
using external linker script:
==================================================
OUTPUT_FORMAT("binary")
ENTRY(start)
SECTIONS
{
.text 0x100000 :
{
code = .; _code = .; __code = .;
*(.text)
. = ALIGN(4096);
}
.bss :
{
bss = .; _bss = .; __bss = .;
*(.bss)
. = ALIGN(4096);
}
.data :
{
__CTOR_LIST__ = .; LONG((__CTOR_END__-__CTOR_LIST__) / 4 - 2) *(.ctors) LONG(0) __CTOR_END__ = .;
__DTOR_LIST__ = .; LONG((__DTOR_END__-__DTOR_LIST__) / 4 - 2) *(.dtors) LONG(0) __DTOR_END__ = .;
data =.; _data = .; __data = .;
*(.data)
. = ALIGN(4096);
}
end =.; _end =.; __end = .;
}
==================================================
attempt to open data failed
c:/djgpp/bin/ld.exe: cannot find data
(Sorry for my bad english)