|
From: | hjl.tools at gmail dot com |
Subject: | [Bug gold/28139] ld.gold fails while ld.bfd succeeds: error: relocation refers to local symbol "" [2], which is defined in a discarded section |
Date: | Mon, 26 Jul 2021 14:28:00 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28139 --- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- BFD linker has /* Start at sections marked with SEC_KEEP (ref _bfd_elf_gc_keep). Also treat note sections as a root, if the section is not part of a group. We must keep all PREINIT_ARRAY, INIT_ARRAY as well as FINI_ARRAY sections for ld -r. */ -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |