summaryrefslogtreecommitdiff
path: root/usr.sbin/kldxref/ef_powerpc.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix kldxref on PowerPC64Leandro Lupori2019-02-271-2/+9
| | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=344620
* Adjust format string to fix build.John Baldwin2018-01-181-1/+1
| | | | Notes: svn path=/head/; revision=328104
* Tidy some whitespace.John Baldwin2018-01-181-2/+2
| | | | Notes: svn path=/head/; revision=328103
* kldxref: improve style(9)Ed Maste2018-01-171-8/+5
| | | | | | | | | | | | | | | | | | Address style issues including some previously raised in D13923. - Use designated initializers for structs - Always use bracketed return style - No initialization in declarations - Align function prototype names - Remove old commented code/unused includes Submitted by: Mitchell Horne <mhorne063@gmail.com> Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D13943 Notes: svn path=/head/; revision=328094
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* Make our ELF64 type definitions match standards. In particular thisMarcel Moolenaar2005-12-181-1/+1
| | | | | | | | | | | | | | | | means: o Remove Elf64_Quarter, o Redefine Elf64_Half to be 16-bit, o Redefine Elf64_Word to be 32-bit, o Add Elf64_Xword and Elf64_Sxword for 64-bit entities, o Use Elf_Size in MI code to abstract the difference between Elf32_Word and Elf64_Word. o Add Elf_Ssize as the signed counterpart of Elf_Size. MFC after: 2 weeks Notes: svn path=/head/; revision=153504
* Doh, erase unused variable...Peter Grehan2005-03-031-1/+1
| | | | Notes: svn path=/head/; revision=143094
* PowerPC support for kldxref by handling the PPC-specific relocations.Peter Grehan2005-03-021-0/+74
Notes: svn path=/head/; revision=143031