diff --git a/gnu/usr.bin/ld/Makefile b/gnu/usr.bin/ld/Makefile index 2be311f07e84..e002e96aef39 100644 --- a/gnu/usr.bin/ld/Makefile +++ b/gnu/usr.bin/ld/Makefile @@ -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) diff --git a/gnu/usr.bin/ld/ld.c b/gnu/usr.bin/ld/ld.c index 64c0241e8d1f..4779887171a8 100644 --- a/gnu/usr.bin/ld/ld.c +++ b/gnu/usr.bin/ld/ld.c @@ -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;