This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]