|
From: | i at maskray dot me |
Subject: | [Bug ld/27871] ld: Add -Bsymbolic-non-weak-functions which only applies to STB_GLOBAL STT_FUNC |
Date: | Sun, 23 May 2021 06:14:15 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27871 --- Comment #1 from Fangrui Song <i at maskray dot me> --- ld patch: https://sourceware.org/pipermail/binutils/2021-May/116703.html gold patch: https://sourceware.org/pipermail/binutils/2021-May/116683.html (I was considering -Bsymbolic-global-functions but Peter Smith suggested that "global" can confuse users. non-weak or non-vague is better. Detecting vague properly requires detection of COMDAT, which would cause some complexity. I feel that non-weak is better: this way we provide an escape hatch for users who want definition interposition (very rare and good to have a way)) -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |