Date: Sun, 17 Feb 2002 18:24:10 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> 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 Message-ID: <200202180224.g1I2OA957396@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202180224.g1I2OA957396>
