This website requires JavaScript.
Explore
Help
Sign In
d
/
freebsd-skq
Watch
1
Star
0
Fork
0
You've already forked freebsd-skq
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
freebsd-skq
/
libexec
/
rtld-elf
/
alpha
/
Makefile.inc
5 lines
88 B
PHP
Raw
Normal View
History
Unescape
Escape
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)
2002-02-18 02:24:10 +00:00
# $FreeBSD$
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.
1999-04-09 00:28:43 +00:00
CFLAGS
+=
-
mno
-
fp
-
regs
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)
2002-02-18 02:24:10 +00:00
LDFLAGS
+=
-
Wl
,
--
script
,
$
{
.
CURDIR
}
/
alpha
/
ld
.
so
.
script
Reference in New Issue
Copy Permalink