summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kldxref/ef_sparc64.c
Commit message (Collapse)AuthorAgeFilesLines
* Make our ELF64 type definitions match standards. In particular thismarcel2005-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
* Explicitly cast ELF_R_TYPE() to the right type.marcel2005-12-181-1/+1
|
* Explicitly pass in the relocation base and data offset into ef_reloc()iedowse2004-08-281-10/+12
| | | | | | rather than relying on a trick that happens to work for the current relocation schemes. Also add some comments and improve variable naming.
* Call the file format specific code through a table of functioniedowse2004-08-271-2/+6
| | | | | pointers and remove knowledge of the file format from kldxref.c. This will make it possible to support more than one file format.
* Fix kldxref on sparc64 by allowing non-trivial relocations to be performedjake2003-01-211-0/+63
on variables read out of raw kld files. Unlike other platforms the value will be in an Elf_Rela, not in the data section of the elf file. Submitted by: Hartmut Brandt <brandt@fokus.gmd.de> PR: 46730 Tested on: alpha (obrien), i386, sparc64
OpenPOWER on IntegriCloud