0010-arm-tlsdesc-64bithost.diff 461 B

12345678910111213141516
  1. diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
  2. index bb53e039e3..d52c046979 100644
  3. --- a/bfd/elf32-arm.c
  4. +++ b/bfd/elf32-arm.c
  5. @@ -12027,9 +12027,9 @@ elf32_arm_final_link_relocate (reloc_howto_type * howto,
  6. unsigned long data, insn;
  7. unsigned thumb;
  8. - data = bfd_get_32 (input_bfd, hit_data);
  9. + data = bfd_get_signed_32 (input_bfd, hit_data);
  10. thumb = data & 1;
  11. - data &= ~1u;
  12. + data &= ~1ul;
  13. if (thumb)
  14. {