Skip to content

Instantly share code, notes, and snippets.

@richlowe richlowe/maybe-fix-ld.diff Secret

Last active Aug 29, 2015
Embed
What would you like to do?
diff --git a/usr/src/cmd/sgs/libld/common/groups.c b/usr/src/cmd/sgs/libld/common/groups.c
index e4853ba..1e50d9c 100644
--- a/usr/src/cmd/sgs/libld/common/groups.c
+++ b/usr/src/cmd/sgs/libld/common/groups.c
@@ -244,8 +244,7 @@ ld_group_process(Is_desc *gisc, Ofl_desc *ofl)
* If this group is a COMDAT group, validate the signature symbol.
*/
if ((gd.gd_data[0] & GRP_COMDAT) && !gnu_stt_section &&
- ((ELF_ST_BIND(sym->st_info) == STB_LOCAL) ||
- (sym->st_shndx == SHN_UNDEF))) {
+ (sym->st_shndx == SHN_UNDEF)) {
/* If section symbol, construct a printable name for it */
if (ELF_ST_TYPE(sym->st_info) == STT_SECTION) {
if (gisc->is_sym_name == NULL)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.