This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: [ECOS] ecosSWtools problems
- To: advanc@dial.eunet.ch
- Subject: Re: [ECOS] ecosSWtools problems
- From: Bart Veer <bartv@cygnus.co.uk>
- Date: Wed, 11 Aug 1999 13:58:22 +0100
- CC: ecos-discuss@sourceware.cygnus.com
- References: <37B05076.C11E7B92@dial.eunet.ch>
- Reply-to: bartv@cygnus.co.uk
>>>>> "Robin" == Robin Farine <advanc@dial.eunet.ch> writes:
Robin> Hi, This posting does not concern ecos directly but it may
Robin> help some ecos users, so ...
Robin> 1. When linking code with PC REL24 branches, the ARM bfd
Robin> linker does not complain nor modify the branch instruction
Robin> when the offset overflows, it just generates code that
Robin> branch anywhere. The attached patch should fix this
Robin> problem.
I passed this on to the gcc team, and the patch has been incorporated
into the master binutils sources (with a few minor changes). I have
also listed the problem and the patch on the known problems list,
http://sourceware.cygnus.com/problemlist.html. Thanks!
Robin> 2. The '--gc-sections' linker flag causes the linker to
Robin> discard referenced code. For instance:
<snip>
Robin> Now, my questions:
Robin> - did I miss something?
Robin> - if not then I think that gcc is the culprit since
Robin> '.vtable_inherit' does not have anything to do with virtual
Robin> inheritance, right?
This one has also been passed on to the gcc team for comments.
Bart Veer // eCos net maintainer