This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
link redboot question: target.ld parse error
- From: =?gb2312?q?Hu=20Li?= <huli18 at yahoo dot com dot cn>
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 26 Dec 2001 17:26:55 +0800 (CST)
- Subject: [ECOS] link redboot question: target.ld parse error
hello,
I am building redboot on Solaris with
powerpc-eabi-gcc.
But at the last step, powerpc-eabi-ld report:
target.ld parse error. After checking the target.ld,
it looks the keywords KEEP, SORT can't be recognized
by ld.
For example:
1.
.vectors 0xfe000000 : { . = . ; KEEP(*(.vectors))}>
rom
2. KEEP(*(SORT(.ctors*))) __CTOR_END__ = ABSOLUTE(.);
__DTOR_LIST__ = ABSOLUTE(.);
KEEP(*(SORT(.dtors*))) __DTOR_END__ = ABSOLUTE(.); . =
ALIGN(8);
KEEP(*( SORT (.ecos.table.*))) ; . = ALIGN(4); *(
.2ram.*)
After removing these key words, it can work. I am not
sure it is a compiler problem or ld script's because I
have not tested the compiler throughly.
any ideas?
Thanks.
Hu Li
_________________________________________________________
Do You Yahoo!? 登录免费雅虎电邮! http://mail.yahoo.com.cn
<font color=#6666FF>无聊?郁闷?高兴?没理由?都来聊天吧!</font>——
雅虎全新聊天室! http://cn.chat.yahoo.com/c/roomlist.html