This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]