------- Additional Comments From hjl at lucon dot org  2005-02-22 21:00 -------
Created an attachment (id=419)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=419&action=view)
A testcase

[EMAIL PROTECTED] common2]$ make LD=ld
gcc -O -g -c main.c
gcc -O -g -fPIC -c foo.c
ld -shared -o libfoo.so foo.o
gcc -o foo1 -B./ main.o libfoo.so -Wl,-rpath,.
gcc -o foo2 -B./ libfoo.so main.o -Wl,-rpath,.
for f in foo1 foo2; do echo "Running: $f"; ./$f; \
  if [ $? != 0 ]; then echo Failed; fi; done
Running: foo1
0x8049664: 4
Failed
Running: foo2
0x8049664: 4
Failed


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=757

------- 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
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to