> Date: Sun, 14 Oct 2018 17:43:47 +0200 > From: "Peter J. Philipp" <p...@centroid.eu> > > On Tue, Sep 18, 2018 at 10:04:01AM +0200, Peter J. Philipp wrote: > > Hi OpenBSD PPC Community, > > Hi again! I've managed to get a bit further. I'm a step away from linking > the kernel for the first time, but I have error messages and it seems to come > from the linker. I'm a bit dumb about this right now so I thought I'd ask if > you guys can make out what the error wants me to do. > > http://enhancedrisc.de/#20181014
The instructions you use in locore0.S to refer to fwargsave, esym and proc0paddr only have limited range and when the final link is done these symbols are put at an offset that is to large. You probably have to rewrite the bits of code in locore0.S that deal with the global variables to use instruction sequences that can reach larger offsets.