freebsd-nq/sys/sparc64
Jake Burkholder 7251b4bf93 Resolve relative relocations in klds before trying to parse the module's
metadata.  This fixes module dependency resolution by the kernel linker on
sparc64, where the relocations for the metadata are different than on other
architectures; the relative offset is in the addend of an Elf_Rela record
instead of the original value of the location being patched.
Also fix printf formats in debug code.

Submitted by:	Hartmut Brandt <brandt@fokus.gmd.de>
PR:		46732
Tested on:	alpha (obrien), i386, sparc64
2003-01-21 02:42:44 +00:00
..
compile
conf Enable rl(4). It is now fully working using busdma. 2003-01-13 04:06:38 +00:00
ebus Add two new workaround for firmware anomalies: 2002-11-07 16:07:46 +00:00
include Don't allow user process to set an invalid window state through sigreturn. 2003-01-10 00:04:56 +00:00
isa Add two new workaround for firmware anomalies: 2002-11-07 16:07:46 +00:00
pci Change the iommu code to be able to handle more than one DVMA area per 2003-01-06 21:59:54 +00:00
sbus Change the iommu code to be able to handle more than one DVMA area per 2003-01-06 21:59:54 +00:00
sparc64 Resolve relative relocations in klds before trying to parse the module's 2003-01-21 02:42:44 +00:00