From 2143f8417873fd58af8bb17dfbf3959744099a4d Mon Sep 17 00:00:00 2001 From: ats Date: Thu, 10 Mar 1994 23:19:54 +0000 Subject: [PATCH] Due to the deletion of the gcc support from libc we need again the -lgcc_pic library. rtld uses the udivd3 routine from it. Repeat the bug by simply compiling ld on current. --- gnu/usr.bin/ld/rtld/Makefile | 4 ++-- libexec/rtld-aout/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/usr.bin/ld/rtld/Makefile b/gnu/usr.bin/ld/rtld/Makefile index 0fbf2b2006bc..d0884e2272f1 100644 --- a/gnu/usr.bin/ld/rtld/Makefile +++ b/gnu/usr.bin/ld/rtld/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.8 1994/01/28 21:01:20 pk Exp $ +# $Id: Makefile,v 1.9 1994/02/13 20:42:48 jkh Exp $ PROG= ld.so SRCS= mdprologue.S rtld.c malloc.c shlib.c etc.c md.c @@ -9,7 +9,7 @@ PICFLAG=-fpic CFLAGS+=-I$(LDDIR) -I$(.CURDIR) -I$(LDDIR)/$(MACHINE) $(PICFLAG) -DRTLD LDFLAGS+=-Bshareable -Bsymbolic -assert nosymbolic ASFLAGS+=-k -LDADD+= -lc_pic +LDADD+= -lc_pic -lgcc_pic BINDIR= /usr/libexec .SUFFIXES: .S diff --git a/libexec/rtld-aout/Makefile b/libexec/rtld-aout/Makefile index 0fbf2b2006bc..d0884e2272f1 100644 --- a/libexec/rtld-aout/Makefile +++ b/libexec/rtld-aout/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.8 1994/01/28 21:01:20 pk Exp $ +# $Id: Makefile,v 1.9 1994/02/13 20:42:48 jkh Exp $ PROG= ld.so SRCS= mdprologue.S rtld.c malloc.c shlib.c etc.c md.c @@ -9,7 +9,7 @@ PICFLAG=-fpic CFLAGS+=-I$(LDDIR) -I$(.CURDIR) -I$(LDDIR)/$(MACHINE) $(PICFLAG) -DRTLD LDFLAGS+=-Bshareable -Bsymbolic -assert nosymbolic ASFLAGS+=-k -LDADD+= -lc_pic +LDADD+= -lc_pic -lgcc_pic BINDIR= /usr/libexec .SUFFIXES: .S