------- Additional Comments From hjl dot tools at gmail dot com  2010-01-15 
19:04 -------
Created an attachment (id=4523)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4523&action=view)
A simple testcase

[...@gnu-6 pr11175]$ make
cc -fPIC   -c -o x.o x.c
cc -fPIC   -c -o foo.o foo.c
cc -fPIC   -c -o bar.o bar.c
ld -shared -o libx.so foo.o bar.o
ld -e main -o x x.o libx.so
x.o: In function `main':
x.c:(.text+0x5): undefined reference to `foo'
make: *** [x] Error 1
[...@gnu-6 pr11175]$ 

-- 


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

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