bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/5866] LD Does not Set GP Size of Archive Modules


From: hjl dot tools at gmail dot com
Subject: [Bug ld/5866] LD Does not Set GP Size of Archive Modules
Date: 7 Mar 2008 06:00:15 -0000

------- 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.




reply via email to

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