Default magic is back to netbsd ZMAGIC,

new a_midmag format needed for dynamic binaries.
-z produces normal ZMAGIC. (this gets our kernel built)
-Z produces netbsd ZMAGIC. (currently default)
This commit is contained in:
Paul Richards 1993-11-16 07:20:35 +00:00
parent b2c0440d02
commit e523391c57
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.5 1993/11/09 20:39:26 paul Exp $
# $Id: Makefile,v 1.6 1993/11/09 21:23:07 paul Exp $
#
PROG= ld
@ -7,6 +7,7 @@ CFLAGS += -static -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE)
LDADD+= -lgnumalloc
DPADD+= /usr/lib/libgnumalloc.a
LDFLAGS+= -Xlinker -Bstatic
SUBDIR= ldconfig ldd
.if !defined(NOPIC)

View File

@ -32,7 +32,7 @@ static char sccsid[] = "@(#)ld.c 6.10 (Berkeley) 5/22/91";
Set, indirect, and warning symbol features added by Randy Smith. */
/*
* $Id: ld.c,v 1.6 1993/11/15 20:58:05 paul Exp $
* $Id: ld.c,v 1.7 1993/11/16 00:42:57 paul Exp $
*/
/* Define how to initialize system-dependent header fields. */
@ -173,7 +173,6 @@ main(argc, argv)
T_flag_specified = 0;
Tdata_flag_specified = 0;
magic = DEFAULT_MAGIC;
oldmagic = DEFAULT_MAGIC;
make_executable = 1;
force_executable = 0;
link_mode = DYNAMIC;