aboutsummaryrefslogtreecommitdiff
path: root/binutils/objcopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r--binutils/objcopy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index e916fce..9bfb68d 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -804,7 +804,7 @@ group_signature (asection *group)
if (symhdr->sh_type == SHT_SYMTAB
&& ghdr->sh_info < symhdr->sh_size / bed->s->sizeof_sym)
- return isympp[ghdr->sh_info];
+ return isympp[ghdr->sh_info - 1];
}
return NULL;
}