diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2012-05-19 19:13:54 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2012-05-19 19:13:54 +0000 |
commit | aab5a54ac9b5c0aacb14d52f782eb59f2f775d07 (patch) | |
tree | 51a102f754f467fff43281c8bf93f74d68af8a30 /bfd/elf64-mips.c | |
parent | c4992aa148a03e8d3266ddb48849c4013651bedf (diff) | |
download | binutils-redhat-aab5a54ac9b5c0aacb14d52f782eb59f2f775d07.tar.gz |
* elf64-mips.c (mips_elf64_be_swap_reloc_out): Also make sure
the third reloc offset is the same as the first.
Diffstat (limited to 'bfd/elf64-mips.c')
-rw-r--r-- | bfd/elf64-mips.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c index a835f66e62..054b262dc4 100644 --- a/bfd/elf64-mips.c +++ b/bfd/elf64-mips.c @@ -2708,6 +2708,7 @@ mips_elf64_be_swap_reloc_out (bfd *abfd, const Elf_Internal_Rela *src, mirel.r_offset = src[0].r_offset; BFD_ASSERT(src[0].r_offset == src[1].r_offset); + BFD_ASSERT(src[0].r_offset == src[2].r_offset); mirel.r_type = ELF64_MIPS_R_TYPE (src[0].r_info); mirel.r_sym = ELF64_R_SYM (src[0].r_info); |