]> git.puffer.fish Git - mirror/frr.git/commit
lib: disable xref ELF note on mips64el
authorDavid Lamparter <equinox@opensourcerouting.org>
Fri, 6 Jan 2023 15:59:55 +0000 (16:59 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 6 Jan 2023 16:05:16 +0000 (17:05 +0100)
commitee4a6b9f654fbd4e07485037481ad6b4766bbc6d
tree3dafd83ce739957b637c25beff7077955a8c530c
parentccac11096c385d269ecd15ad24ac88d469e7577c
lib: disable xref ELF note on mips64el

mips64el does not have a 64-bit PC-relative relocation, which is needed
to emit the ELF note for xrefs.  Disabling the ELF note means clippy
takes the fallback path using section headers, so everything does still
work (... unless you strip the section headers.)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/xref.h