From owner-cvs-all Thu Apr 8 17:30:47 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1D35F14D97; Thu, 8 Apr 1999 17:30:45 -0700 (PDT) (envelope-from jdp@FreeBSD.org) Received: (from jdp@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id RAA15626; Thu, 8 Apr 1999 17:28:45 -0700 (PDT) (envelope-from jdp@FreeBSD.org) Message-Id: <199904090028.RAA15626@freefall.freebsd.org> From: John Polstra Date: Thu, 8 Apr 1999 17:28:44 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/rtld-elf Makefile rtld.c rtld.h src/libexec/rtld-elf/alpha Makefile.inc rtld_machdep.h reloc.c src/libexec/rtld-elf/i386 Makefile.inc elf_rtld.x rtld_machdep.h reloc.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk jdp 1999/04/08 17:28:44 PDT Modified files: libexec/rtld-elf Makefile rtld.c rtld.h libexec/rtld-elf/alpha reloc.c libexec/rtld-elf/i386 reloc.c Added files: libexec/rtld-elf/alpha Makefile.inc rtld_machdep.h libexec/rtld-elf/i386 Makefile.inc elf_rtld.x rtld_machdep.h Log: Eliminate all machine-dependent code from the main source body and the Makefile, and move it down into the architecture-specific subdirectories. Eliminate an asm() statement for the i386. Make the dynamic linker work if it is built as an executable instead of as a shared library. See i386/Makefile.inc to find out how to do it. Note, this change is not enabled and it might never be enabled. But it might be useful in the future. Building the dynamic linker as an executable should make it start up faster, because it won't have any relocations. But in practice I suspect the difference is negligible. Revision Changes Path 1.6 +27 -12 src/libexec/rtld-elf/Makefile 1.20 +39 -71 src/libexec/rtld-elf/rtld.c 1.6 +8 -4 src/libexec/rtld-elf/rtld.h 1.4 +14 -1 src/libexec/rtld-elf/alpha/reloc.c 1.2 +11 -1 src/libexec/rtld-elf/i386/reloc.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message