freebsd-dev/usr.sbin/kldxref
Leandro Lupori 7e4520854c Fix kldxref on PowerPC64
When using kldxref on kernel modules built with clang8 + lld8,
kldxref would be unable to find the modules metadata information,
because PowerPC64 was using the ef_nop.c implementation of
ef_reloc().

When GNU LD was used, it was also relocating the metadata section of
the .ko file. LLD does not do this, but only generate dynamic
relocations for it. With minor changes, ef_powerpc.c can now work
for PowerPC64 too.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D19370
2019-02-27 13:24:42 +00:00
..
ef_aarch64.c kldxref: improve style(9) 2018-01-17 19:59:43 +00:00
ef_amd64.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ef_i386.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ef_nop.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ef_obj.c kldxref: improve style(9) 2018-01-17 19:59:43 +00:00
ef_powerpc.c Fix kldxref on PowerPC64 2019-02-27 13:24:42 +00:00
ef_riscv.c Add support for relocations in RISC-V kernel modules to kldxref. 2018-10-08 19:15:58 +00:00
ef_sparc64.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ef.c kldxref: use appropriate Elf_Off type for offsets 2018-11-09 15:02:53 +00:00
ef.h kldxref: handle modules with md_cval at the end of allocated sections 2018-01-16 18:20:12 +00:00
fileformat
kldxref.8 use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
kldxref.c Relax syntax requirements of source string 2018-09-26 19:41:06 +00:00
Makefile Fix kldxref on PowerPC64 2019-02-27 13:24:42 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00