Subject: Re: Problem assembling boot/xxboot/start.s
To: None <port-vax@netbsd.org>
From: Tom Ivar Helbekkmo <tih@kpnQwest.no>
List: port-vax
Date: 04/03/2001 22:00:22
Tom Ivar Helbekkmo <tih@kpnQwest.no> writes:
> Because start.s includes disklabel.h, [...]
The problem is, it seems, that it includes sys/disklabel.h when it
should have included machine/disklabel.h instead. Also, that file
lacks an assembly definition of the symbol d_end_. Just to get it
assembled properly, so I could get on with things,, I limited my local
modification to the file start.s, thus:
Index: start.s
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/vax/boot/xxboot/start.s,v
retrieving revision 1.11
diff -c -w -r1.11 start.s
*** start.s 2000/11/02 17:01:47 1.11
--- start.s 2001/04/03 19:57:07
***************
*** 38,45 ****
#define _LOCORE
! #include "sys/disklabel.h"
!
#include "../include/mtpr.h"
#include "../include/asm.h"
--- 38,45 ----
#define _LOCORE
! #include "machine/disklabel.h"
! .set d_end_,276
#include "../include/mtpr.h"
#include "../include/asm.h"
-tih
--
The basic difference is this: hackers build things, crackers break them.