[PATCH] Fix GCC9 warning on elf32-arm.c:elf32_arm_final_link_relocate

Sergio Durigan Junior sergiodj@redhat.com
Mon Jan 28 15:52:00 GMT 2019
On Monday, January 28 2019, Nick Clifton wrote:

> Hi Sergio,
>
>> Ping.
>
> Sorry - I meant to reply last week, but got distracted.

No problem.

>>> The fix is (apparently) simple: instead of using 'labs', we should use
>>> 'llabs', since we're passing a 'bfd_signed_vma' to it, which is at
>>> least a 'long long int', as far as I have checked.  This is what this
>>> patch does.
>>>
>>> OK to apply?
>
> Yes - approved - please apply.

Thanks, pushed.

453f8e1e4918171bc12e4d03aab7ee8360dfcfef

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/



More information about the Binutils mailing list