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

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

With the proposed change, I got

[hjl@gnu-6 orphan-2]$ make
cc -g   -c -o app.o app.c
cc -g -fPIC   -c -o lib.o lib.c
./ld -shared -o liborphan.so lib.o
cc -B./ -o app app.o liborphan.so -ldl -Wl,-R,.
./ld: warning: type and size of dynamic symbol `__stop___verbose' are not
defined
./ld: warning: type and size of dynamic symbol `__start___verbose' are not
defined
./app
main: wrong __start___verbose
make: *** [Makefile:6: all] Error 2
[hjl@gnu-6 orphan-2]$

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