Two small nitpicks: > Link: https://lkml.kernel.org/lkml/57830c30-cd77-40cf-9cd1-3bb608aa602e@xxxxxxxxxxxxxxxx This link is "semi-broken", it should go to /bpf/ instead of /lkml/. > /DISCARD/ : { *(.note.GNU-stack) } \ > + /DISCARD/ : { *(.note.gnu.property) } \ Both discards can go in the same DISCARD block. (just style; it's how it's most often done in other linker scripts)