summaryrefslogtreecommitdiff
path: root/usr.sbin/kldxref/ef_i386.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Remove unneeded reference to link.h (sys/link_elf.h).Xin LI2013-06-051-1/+0
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=251439
* fix a couple of innocuous compiler warningsLuigi Rizzo2009-01-061-1/+2
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=186826
* 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
* Explicitly pass in the relocation base and data offset into ef_reloc()Ian Dowse2004-08-281-10/+13
| | | | | | | | | rather than relying on a trick that happens to work for the current relocation schemes. Also add some comments and improve variable naming. Notes: svn path=/head/; revision=134450
* Add MD relocation support for amd64 and i386 platforms. The no-opIan Dowse2004-08-271-0/+93
relocation is not sufficient for ELF relocatable object format modules, since accessing the module metadata involves following pointers between different ELF sections. This allows kldxref to correctly build linker.hints on the amd64 platform. Notes: svn path=/head/; revision=134362