------- Additional Comments From hjl dot tools at gmail dot com  2008-03-07 
06:00 -------
(In reply to comment #10)
> Well, yes, the link is succesfull, but the problem is where common symbols in
> archived modules end up.
> 
> Please, rerun ld with -G 8 and then run objdump on the output files and 
> confirm
> that e4 is in .sbss and ef in .bss.
> 

Still works for me:

bash-3.2$ make
./as -o e.o e.s
./as -o d.o d.s
./ld -G 8 -o good d.o e.o
./ld: warning: cannot find entry symbol _start; defaulting to 0000000010000054
./ar -r e.a e.o
./ld -G 8 -o bad d.o e.a
./ld: warning: cannot find entry symbol _start; defaulting to 0000000010000054
cmp good bad
bash-3.2$

-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to