Date: Sat, 20 Jun 1998 20:53:15 +0200 (CEST) From: Joachim Kuebart <joki@kuebart.stuttgart.netsurf.de> To: freebsd-current@FreeBSD.ORG Subject: ELF and modload(8) Message-ID: <199806201853.UAA00129@yacht.domestic.de>
next in thread | raw e-mail | index | archive | help
Hi, I think this needs to be changed. But how do I build LKMs that work under ELF? cvs diff: Diffing . Index: modload.c =================================================================== RCS file: /usr/CVS-Repository/src/sbin/modload/modload.c,v retrieving revision 1.20 diff -u -r1.20 modload.c --- modload.c 1997/08/21 22:33:59 1.20 +++ modload.c 1998/06/20 18:50:03 @@ -94,7 +94,7 @@ if(pid == 0) { execl(_PATH_LD, "ld", "-A", kernel, "-e", entrybuf, "-o", - outfile, "-T", addrbuf, object, (char *)0); + outfile, "-Ttext", addrbuf, object, (char *)0); exit(128 + errno); } cu Jo --------------------------------------------------------------------- FreeBSD: The Power to Serve <http://www.freebsd.org> Joachim Kuebart Tel: +49 711 653706 Replicants are like any other machine -- Germany they're either a benefit or a hazard. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806201853.UAA00129>