diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 69fa844cf7..5547cd26b9 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2019-01-21 Sergio Durigan Junior + + * elf32-arm.c (elf32_arm_final_link_relocate): Use 'llabs' instead + of 'labs' (and fix GCC warning). + 2019-01-25 Nick Clifton * po/ru.po: Updated Russian translation. diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index 53baea269b..28ee9d55a8 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -10904,7 +10904,7 @@ elf32_arm_final_link_relocate (reloc_howto_type * howto, /* PR 21523: Use an absolute value. The user of this reloc will have already selected an ADD or SUB insn appropriately. */ - value = labs (relocation); + value = llabs (relocation); if (value >= 0x1000) return bfd_reloc_overflow;