bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/26928] [2.35 regression] -Bsymbolic-functions --dynamic-list doe


From: i at maskray dot me
Subject: [Bug ld/26928] [2.35 regression] -Bsymbolic-functions --dynamic-list does not imply --dynamic-list-data any more
Date: Sat, 21 Nov 2020 17:04:22 +0000

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

Fangrui Song <i at maskray dot me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |i at maskray dot me

--- Comment #4 from Fangrui Song <i at maskray dot me> ---
"ld: Handle --dynamic-list* before -Bsymbolic -Bsymbolic-functions" actually
fixes a bug.

For a shared object, --dynamic-list dummy.dynlist means references to matched
non-local STV_DEFAULT symbols shouldn't be bound to definitions within the
shared object. Other references can be bound within the shared object.


If you don't consider the DF_SYMBOLIC difference, --dynamic-list dummy.dynlist
is identical to

  -Bsymbolic --dynamic-list dummy.dynlist

Then, -Bsymbolic-functions -Bsymbolic --dynamic-list dummy.dynlist should be
identical to

  -Bsymbolic --dynamic-list dummy.dynlist

i.e. -Bsymbolic-functions should be a no-op. The old behavior does not make
sense.

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