Add partial support for R_BPF_64_NODLYD32 reloc

Nick Clifton nickc@redhat.com
Mon Oct 30 12:17:27 GMT 2023


Hi Cupertino,

  A bug report was recently filed with the Fedora binutils about
  the strip program being unable to handle the R_BPF_64_NODLYD32
  relocation:

https://bugzilla.redhat.com/show_bug.cgi?id=2245296

  It turns out that whilst the GNU tools do not generate this reloc
  other tools do, and strip complains when it detects its presence.

  I am going to apply the attached patch as a workaround so that
  strip will work, but I think that if we want the linker to be able
  to cope with bpf object files generated by other tools, then we will 
  need a better fix.  I am leaving this up to you... :-)

Cheers
  Nick

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bpf.patch
Type: text/x-patch
Size: 2344 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20231030/54730e4c/attachment.bin>


More information about the Binutils mailing list