This is the mail archive of the ecos-devel@sourceware.org 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]

Re: Strange buildsystem behaviour



Am 18.06.2008 um 12:22 schrieb Andrew Lunn:


I read about this and added a KEEP() around the regarding input
sections, but it should not matter in this case, because for the
variant.S file it works.

Im not sure this is true. I guess the KEEP() will only help if the object file is loaded. If no symbols in the file are referenced, it never loads the file and so never knows it needs to keep anything.

YES!
Thanks Andrew this was the solution!
variant.S had some other symbol that was referenced but platform.S did not have this symbol. If I make a "dummy" reference to the new code in platform.S from somewhere else gets included.


Thanks again!

Lars

Attachment: PGP.sig
Description: This is a digitally signed message part


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