------- Additional Comments From rmansfield at qnx dot com  2009-06-24 13:00 
-------
Thanks Ian. 

I think there is still an issue with the handling of -r. The gold will report an
error if it encounters a shared object and will not continue searching for the
static archive. 

For example:

$ cat t.c
int t() { }
$ gcc -shared -o libfoo.so t.c
$ gcc t.c -c
$ ar rc libfoo.a t.o
$ ./ld-new -L. -lfoo -r
./ld-new: fatal error: cannot mix -r with dynamic object ./libfoo.so

-- 


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

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