Don't override the standard SYSTEM_LD setting from kern.pre.mk.

Instead, use the linker script to record the correct entry point.
This commit is contained in:
Ruslan Ermilov 2004-02-13 12:28:53 +00:00
parent 18e47b55a9
commit 1a17c23db2
2 changed files with 1 additions and 6 deletions

View File

@ -28,11 +28,6 @@ S= ../../..
.endif
.include "$S/conf/kern.pre.mk"
SYSTEM_LD= @${LD} -Bdynamic -T $S/conf/ldscript.$M \
-e locorestart \
-export-dynamic -dynamic-linker /red/herring \
-o ${.TARGET} -X ${SYSTEM_OBJS} vers.o
%BEFORE_DEPEND
%OBJS

View File

@ -1,7 +1,7 @@
/* $FreeBSD$ */
OUTPUT_FORMAT("elf64-alpha-freebsd", "elf64-alpha-freebsd", "elf64-alpha-freebsd")
OUTPUT_ARCH(alpha)
ENTRY(__start)
ENTRY(locorestart)
SEARCH_DIR(/usr/lib);
kernel_text = kernbase;
SECTIONS