Skip to content

Instantly share code, notes, and snippets.

@richlowe
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richlowe/0b305637a17fa54041ce to your computer and use it in GitHub Desktop.
Save richlowe/0b305637a17fa54041ce to your computer and use it in GitHub Desktop.
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