[PATCH 3/4] bfd: Output SH_LINK to .symtab for SHT_LLVM_ADDRSIG.
Tatsuyuki Ishi
ishitatsuyuki@gmail.com
Wed May 25 06:42:51 GMT 2022
To mimick LLVM behavior.
---
bfd/elf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/bfd/elf.c b/bfd/elf.c
index c493aa5b172..63f7fd9f586 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -3988,6 +3988,7 @@ assign_section_numbers (bfd *abfd, struct bfd_link_info *link_info)
break;
case SHT_GROUP:
+ case SHT_LLVM_ADDRSIG:
d->this_hdr.sh_link = elf_onesymtab (abfd);
}
}
--
2.36.1
More information about the Binutils
mailing list