forked from Imagelibrary/binutils-gdb
binutils/
2006-09-14 H.J. Lu <hongjiu.lu@intel.com> PR binutils/3182 * objcopy.c (group_signature): Return proper group signature. binutils/testsuite/ 2006-09-14 H.J. Lu <hongjiu.lu@intel.com> PR binutils/3182 * binutils-all/objcopy.exp: Run strip-1 and strip-2 for ELF targets. * binutils-all/strip-1.d: New file. * binutils-all/strip-2.d: Likewise. * lib/utils-lib.exp (run_dump_test): Support strip.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user