freebsd-dev/libexec/rtld-elf/alpha/Makefile.inc
Peter Wemm 939bc65715 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

5 lines
88 B
Makefile

# $FreeBSD$
CFLAGS+= -mno-fp-regs
LDFLAGS+= -Wl,--script,${.CURDIR}/alpha/ld.so.script