bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/21964] __start_SCN symbols aren't exported anymore


From: hjl.tools at gmail dot com
Subject: [Bug ld/21964] __start_SCN symbols aren't exported anymore
Date: Mon, 14 Aug 2017 20:05:56 +0000

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

address@hidden 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
address@hidden orphan-2]$

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