[PATCH, AArch64] Remove some dead code from elf64_aarch64_check_relocs.

Will Newton will.newton@linaro.org
Thu Apr 25 16:36:00 GMT 2013


On 25 April 2013 17:17, Yufeng Zhang <Yufeng.Zhang@arm.com> wrote:
> On 04/25/13 14:34, Will Newton wrote:
>>
>>
>> This code was inherited from the ARM backend, but will never be hit due to
>> the more restrictive test above.
>
>
> Looks OK to me (but I cannot approve it).
>
> Just curious that how you spotted this piece of dead code; are you running
> any static code analyzer on bfd?

Hi Yufeng,

No, I'm implementing support for GNU indirect functions for AArch64,
and this code is on one of the paths that needs modifying so I
happened to notice it.

--
Will Newton
Toolchain Working Group, Linaro



More information about the Binutils mailing list