[PATCH] bfin: Skip non SEC_ALLOC section for R_BFIN_FUNCDESC

H.J. Lu hjl.tools@gmail.com
Thu Jan 14 13:28:48 GMT 2021


On Wed, Jan 13, 2021 at 10:00 PM Mike Frysinger <vapier@gentoo.org> wrote:
>
> On 13 Jan 2021 04:41, H.J. Lu via Binutils wrote:
> > Linker should never generate dynamic relocations for relocations in
> > non-SEC_ALLOC section which has no impact on run-time behavior.  Such
> > relocations should be resolved to 0.
>
> does elf32-frv.c need the same fix ?  kind of looks like it.

Yes.  FRV maintainers need to take a look.   There are many code/bug
duplications in FDPIC support.   They should be merged.

> otherwise, lgtm, thanks
> -mike

Fixed on master.  Nick, is it OK for 2.36 branch?

-- 
H.J.


More information about the Binutils mailing list