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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils