bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/14814] problem in linking files which contain some farcall instr


From: tanjinfa at huawei dot com
Subject: [Bug ld/14814] problem in linking files which contain some farcall instructions with -r
Date: Wed, 07 Nov 2012 12:50:16 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=14814



--- Comment #1 from 谭锦发 <tanjinfa at huawei dot com
> 2012-11-07 12:50:16 UTC ---

I try this link order and the linker works

First use assemble them individually,then we got a.o,b.o,c.o

Then link c.o a.o with -r,and got ca.o

finally link ca.o with b.o to get the cab.out,every thing works well.



I guess when linking a relocatable object file and a normal object file,

like:

     ld -r a.o c.o -o ac.o

     ld ac.o b.o -o acb.out

the linker did not caculate the distance behind BL in the relocatable object

file.



-- 

Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email

------- You are receiving this mail because: -------

You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]