mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
Fix indentation in loongarch code, preventing a compile time warning.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2022-07-26 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* elfnn-loongarch.c (loongarch_elf_relocate_section): Fix
|
||||||
|
indentation.
|
||||||
|
|
||||||
2022-07-08 Nick Clifton <nickc@redhat.com>
|
2022-07-08 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* 2.39 branch created.
|
* 2.39 branch created.
|
||||||
|
@ -3089,7 +3089,6 @@ loongarch_elf_relocate_section (bfd *output_bfd, struct bfd_link_info *info,
|
|||||||
else
|
else
|
||||||
relocation += rel->r_addend;
|
relocation += rel->r_addend;
|
||||||
|
|
||||||
{
|
|
||||||
relocation &= 0xfff;
|
relocation &= 0xfff;
|
||||||
/* Signed extend. */
|
/* Signed extend. */
|
||||||
relocation = (relocation ^ 0x800) - 0x800;
|
relocation = (relocation ^ 0x800) - 0x800;
|
||||||
@ -3102,7 +3101,6 @@ loongarch_elf_relocate_section (bfd *output_bfd, struct bfd_link_info *info,
|
|||||||
rel->r_info = ELFNN_R_INFO (r_symndx, R_LARCH_B16);
|
rel->r_info = ELFNN_R_INFO (r_symndx, R_LARCH_B16);
|
||||||
howto = loongarch_elf_rtype_to_howto (input_bfd, R_LARCH_B16);
|
howto = loongarch_elf_rtype_to_howto (input_bfd, R_LARCH_B16);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case R_LARCH_PCALA64_LO20:
|
case R_LARCH_PCALA64_LO20:
|
||||||
|
Reference in New Issue
Block a user