This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: Weird issues. Linker + arm/thumb interworking / stub is not implemented.


Hi, 

Yes, with 2.16.1, -mthumb-interwork is fine.

Though, something still weird with binutils 2.15, or maybe my toolchain:

linker is called thought gcc, with:
arm-linux-ld -dynamic-linker /lib/ld-linux.so.2 -X -m armelf_linux -p
-o _a.out /usr/local/arm-linux/lib/gcc-lib/arm-linux/3.2.1/../../../../arm-linux/lib/crt1.o
/usr/local/arm-linux/lib/gcc-lib/arm-linux/3.2.1/../../../../arm-linux/lib/crti.o
/usr/local/arm-linux/lib/gcc-lib/arm-linux/3.2.1/crtbegin.o
-L/usr/local/arm-linux/lib/gcc-lib/arm-linux/3.2.1
-L/usr/local/arm-linux/lib/gcc-lib/arm-linux/3.2.1/../../../../arm-linux/lib
_arm.o _thumb.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh
/usr/local/arm-linux/lib/gcc-lib/arm-linux/3.2.1/crtend.o
/usr/local/arm-linux/lib/gcc-lib/arm-linux/3.2.1/../../../../arm-linux/lib/crtn.o

if I just do:
arm-linux-ld -dynamic-linker /lib/ld.so.-mthumb-interwork _arm.o _thumb.o  
has actually implemented the interworking!

I am not trying to investigate anymore since binutils 2.16.1 is ok,
Thanks you,

Sylvain
 
//sorry: it's not the version of gcc I said, but it was the same with
another toolchain


On 6/20/05, Daniel Jacobowitz <drow@false.org> wrote:
> On Mon, Jun 20, 2005 at 11:31:59AM +0200, Sylvain Becker wrote:
> > Hi,
> >
> > Gnu Linker seems not to implement thumb interworking stubs when using
> > dynamic linking.
> > I have looked one the log/news of binutils, but can't find the information.
> >
> > Does anyone know which version of Binutils support dynamic linking for Thumb?
> > Thank you and best regards,
> 
> Have you tried the current release?
> 
> --
> Daniel Jacobowitz
> CodeSourcery, LLC
> 


-- 
Sylvain Becker


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