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

Re: [ECOS] ecosSWtools problems


>>>>> "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

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