K 10 svn:author V 5 markj K 8 svn:date V 27 2020-01-21T17:45:49.289281Z K 7 svn:log V 519 Add relocation handling required for -zifunc-noplt to work on arm64. Static relocations for the immediate operand of a branch instruction must be applied. In a patch which implements LSE-based atomic(9) operations using ifuncs, -zifunc-noplt reduces system CPU usage during a buildkernel by several percent. Also fix elf_reloc_internal() to return an error if symbol lookup fails. Reviewed by: andrew MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D17392 END