From owner-cvs-all Sun Feb 17 18:24:13 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 46D7E37B400; Sun, 17 Feb 2002 18:24:10 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1I2OA957396; Sun, 17 Feb 2002 18:24:10 -0800 (PST) (envelope-from peter) Message-Id: <200202180224.g1I2OA957396@freefall.freebsd.org> From: Peter Wemm Date: Sun, 17 Feb 2002 18:24:10 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/libexec/rtld-elf/alpha Makefile.inc ld.so.script reloc.c rtld_machdep.h rtld_start.S X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG peter 2002/02/17 18:24:10 PST Modified files: libexec/rtld-elf/alpha Makefile.inc reloc.c rtld_machdep.h rtld_start.S Added files: libexec/rtld-elf/alpha ld.so.script Log: ld-elf.so.1 assumed a few too many things about the ordering of sections produced by ld(8) (ie: that _DYNAMIC immediately follows the _GOT). The new binutils import changed that, and the intial GOT relocation broke. Use a custom linker script to provide a real end-of-GOT symbol. Update ld.so to deal with the new (faster) PLT format that gcc-3.1 and binutils can produce. This is probably incomplete, but appears to be working again. Obtained from: NetBSD (And a fix to a silly mistake that I made by: gallatin) Revision Changes Path 1.2 +3 -0 src/libexec/rtld-elf/alpha/Makefile.inc 1.1 +135 -0 src/libexec/rtld-elf/alpha/ld.so.script (new) 1.15 +14 -4 src/libexec/rtld-elf/alpha/reloc.c 1.7 +3 -0 src/libexec/rtld-elf/alpha/rtld_machdep.h 1.5 +111 -69 src/libexec/rtld-elf/alpha/rtld_start.S To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message