bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20159] Dynamic Linking Change for Shared Libraries (1.24 to 1.26


From: hjl.tools at gmail dot com
Subject: [Bug ld/20159] Dynamic Linking Change for Shared Libraries (1.24 to 1.26)
Date: Tue, 31 May 2016 13:16:36 +0000

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

address@hidden pr20159]$ make clean
rm -f *.o *.so foo
address@hidden pr20159]$ vi Makefile 
address@hidden pr20159]$ make clean
rm -f *.o *.so x
address@hidden 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
address@hidden pr20159]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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