aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-mips.c
diff options
context:
space:
mode:
authorUlf Carlsson <ulfc@engr.sgi.com>2000-07-23 20:51:35 +0000
committerUlf Carlsson <ulfc@engr.sgi.com>2000-07-23 20:51:35 +0000
commit313ba8d62b141893a48cfb9a3591388ef8a2cf52 (patch)
tree7eaa7d65eb0aa706591966afc1c587f6e6d403d6 /bfd/elf32-mips.c
parent62df20656565cd422330ae2b2aebf61c67cbaf22 (diff)
downloadgdb-313ba8d62b141893a48cfb9a3591388ef8a2cf52.zip
gdb-313ba8d62b141893a48cfb9a3591388ef8a2cf52.tar.gz
gdb-313ba8d62b141893a48cfb9a3591388ef8a2cf52.tar.bz2
2000-07-23 Ulf Carlsson <ulfc@engr.sgi.com>
* elf32-mips.c (_bfd_mips_elf_check_relocs): Use abfd instead of dynobj for SGI_COMPAT checks.
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r--bfd/elf32-mips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index f6a60ba..5ab839e 100644
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -7757,7 +7757,7 @@ _bfd_mips_elf_check_relocs (abfd, info, sec, relocs)
return false;
}
- if (SGI_COMPAT (dynobj))
+ if (SGI_COMPAT (abfd))
mips_elf_hash_table (info)->compact_rel_size +=
sizeof (Elf32_External_crinfo);
break;
@@ -7766,7 +7766,7 @@ _bfd_mips_elf_check_relocs (abfd, info, sec, relocs)
case R_MIPS_GPREL16:
case R_MIPS_LITERAL:
case R_MIPS_GPREL32:
- if (SGI_COMPAT (dynobj))
+ if (SGI_COMPAT (abfd))
mips_elf_hash_table (info)->compact_rel_size +=
sizeof (Elf32_External_crinfo);
break;