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

--- Comment #2 from Fabian Vogt <fab...@ritter-vogt.de> ---
(In reply to H.J. Lu from comment #1)
> Please make it a run-time test.

Sorry, I don't understand what you mean by that. The break executable only
returns 42 with the working lib.so, it doesn't have to be recompiled.

FTR, this issue does not happen with gold:

# gcc -fuse-ld=gold -fPIC -shared -Wl,--dynamic-list,lib.dynlist -o lib.so
lib.i && readelf --dyn-syms -r lib.so | grep value
000000001fe0  000800000006 R_X86_64_GLOB_DAT 0000000000002014 value + 0
     8: 0000000000002014     4 OBJECT  GLOBAL DEFAULT   24 value
# LD_LIBRARY_PATH=$PWD ./break; echo $?
42

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

Reply via email to