mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
* elf64-mips.c (mips_elf64_be_swap_reloc_out): Also make sure
the third reloc offset is the same as the first.
This commit is contained in:
parent
a6ff997ce8
commit
b0189df033
@ -1,3 +1,8 @@
|
||||
2012-05-19 Maciej W. Rozycki <macro@linux-mips.org>
|
||||
|
||||
* elf64-mips.c (mips_elf64_be_swap_reloc_out): Also make sure
|
||||
the third reloc offset is the same as the first.
|
||||
|
||||
2012-05-19 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* elf32-ppc.h (has_vle_insns, is_ppc_vle): Delete.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user