This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Binutils compatilibty
- From: George Haddad <grg_hddd at yahoo dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 25 Mar 2005 15:57:18 -0800 (PST)
- Subject: Re: Binutils compatilibty
The libs are Vx Works libs and I'm using CodeSourcery
arm-none-elf legacy ABI variant.
Actually I posted the same question to the
CodeSourcery and I'v got an answer that claims that
the ABI is slightly different in Vx Works case.
How can I test if the REL / RELA issue ? What is
actually this issue about ? debug symbols ? if so, I
can get rid of them.
--- Daniel Jacobowitz <drow@false.org> wrote:
> On Thu, Mar 24, 2005 at 03:48:27PM -0800, George
> Haddad wrote:
> > Hi All,
> >
> > I'm trying to link a file generated by GCC 3.4.x
> using
> > binutils 2.15 with a library previously generated
> by
> > GCC 2.9X and binutils 2.9.
> >
> > I get the following error message -
> > test.o: relocation size mismatch in libcortex.a
> .text
> > final link failed: Archive object file in wrong
> format
> >
> > This is probably a compatibility issue; is there
> any
> > workaround for this issue ? Script ?
> >
> > p.s. I don't have the sources for the library; so
> I
> > can't recompile with GCC 3.4.x and binutils 2.15.
>
> You didn't mention what target you are using. It
> sounds like one of
> your toolchains is REL, and the other is RELA; that
> is a pretty big
> incompatibility.
>
> --
> Daniel Jacobowitz
> CodeSourcery, LLC
>
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/