https://sourceware.org/bugzilla/show_bug.cgi?id=20159

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 9301
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9301&action=edit
A testcase

[hjl@gnu-tools-1 pr20159]$ make clean
rm -f *.o *.so foo
[hjl@gnu-tools-1 pr20159]$ vi Makefile 
[hjl@gnu-tools-1 pr20159]$ make clean
rm -f *.o *.so x
[hjl@gnu-tools-1 pr20159]$ make
gcc -B./  -fPIC   -c -o foo.o foo.c
gcc -B./  -fPIC   -c -o bar.o bar.c
gcc -B./  -o libbar.so -shared bar.o -Wl,--version-script=bar.v
gcc -B./  -o libfoo.so -shared foo.o libbar.so 
gcc -B./     -c -o main.o main.c
gcc -B./     -c -o ok.o ok.c
gcc -B./  -o x main.o ok.o libfoo.so libbar.so -Wl,-R,.
./x
IFUNC
[hjl@gnu-tools-1 pr20159]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to