Subject: ELF ABI support for sparcV9 binaries.
To: None <tech-toolchain@netbsd.org>
From: Eduardo Horvath <eeh@turbolinux.com>
List: tech-toolchain
Date: 07/10/2000 08:30:21
I have been going through the ELF SPARC V9 ABI SUPPLEMENT again, looking
at what needs to be done to support shared libraries.

Apparently we need to add the following routines to the dynamic linker:

	__align_copy1
	__align_copy2
	__align_copy4
	__align_copy8
	__align_copy16
	__sparc_utrap_install

which shouldn't be too much trouble.

However, the ABI also appears to specify in section 6.1 that libraries
need to go into the /usr/lib/sparcV9/ directory.

How much damage will it do to the toolchain to move 64-bit libraries
there?  It would certainly help if we didn't require a full 32-bit
installation in /emul/netbsd32.

Eduardo Horvath