Subject: port-vax/15034: Wrong entrypoint definition in sys/arch/vax/conf/Makefile.vax
To: None <>
From: None <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: netbsd-bugs
Date: 12/22/2001 17:42:44
>Number:         15034
>Category:       port-vax
>Synopsis:       Wrong entrypoint definition in sys/arch/vax/conf/Makefile.vax
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-vax-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 22 08:43:00 PST 2001
>Originator:     Thilo Manske
>Release:        NetBSD 1.5ZA
Dies ist Thilos Unix Signature! Viel Spass damit.
System: any
Architecture: vax
Machine: vax
On current -current NetBSD/vax kernels won't link because the linker uses
the wrong entry symbol:

ld -N -Ttext 80000000 -e _start -S -o netbsd ${SYSTEM_OBJ} vers.o
Undefined entry symbol `_start'
ld: internal consistency check failure: # undefined symbols 1, accounted for 0
*** Error code 1

s/_start/start/ in sys/arch/vax/conf/Makefile.vax

--- Makefile.vax.orig	Sat Nov 24 13:26:50 2001
+++ Makefile.vax	Sat Dec 22 17:37:49 2001
@@ -57,7 +57,7 @@
 ## (5) link settings
 TEXTADDR?=	80000000