Commit 9bc326ea authored by Nick Clifton's avatar Nick Clifton
Browse files

Fix compilation warning building BFD library for ARM using gcc v9.

	* elf32-arm.c (elf32_arm_final_link_relocate): Use 'llabs' instead
	of 'labs' (and fix GCC warning).
parent c1f2eb43
2019-01-28 Nick Clifton <nickc@redhat.com>
Import from mainline:
2019-01-21 Sergio Durigan Junior <sergiodj@redhat.com>
* elf32-arm.c (elf32_arm_final_link_relocate): Use 'llabs' instead
of 'labs' (and fix GCC warning).
2019-01-25 Nick Clifton <nickc@redhat.com>
* po/ru.po: Updated Russian translation.
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment