https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126723
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Iain D Sandoe <[email protected]>: https://gcc.gnu.org/g:1c03a15e0979c76a33276cbf498379084896cd06 commit r17-3243-g1c03a15e0979c76a33276cbf498379084896cd06 Author: Iain Sandoe <[email protected]> Date: Tue Aug 11 11:58:18 2026 +0100 Darwin: Amend linker-visibility of strings [PR126723]. There seems to be quite some variability in the cases that clang makes string constant labels linker-visible, however the most conservative case is "all of them" which appears to be the strategy for aarch64. We dadopt this here, although there is some slight loss of efficiency for x86_64. PR target/126723 gcc/ChangeLog: * config/darwin.cc (darwin_encode_section_info): Make all string constant labels linker-visible. Likewise const section anchors. Signed-off-by: Iain Sandoe <[email protected]>
