This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Relocs left in shared objects
- To: binutils at sourceware dot cygnus dot com
- Subject: Relocs left in shared objects
- From: Linus Nordberg <linus at swox dot com>
- Date: 15 Dec 1999 15:09:08 +0100
- Cc: ibm-ppc-binutils at swox dot com
- Organization: Swox AB
- Reply-To: ibm-ppc-binutils at swox dot com
Hi,
I want the elf64-ppc link editor to generate shared libraries and
started looking at how other do this.
One thing I don't understand is that when creating a shared library
from two (or more) object files that have function calls crossing the
object file boundaries, there are dynamic relocations for the
branch/call in the resulting shared object that seem unnecessary to
me. This is true for at least elf32-x86 and elf32-ppc.
Shouldn't the link editor be able to resolve these references itself?
--
Linus Nordberg
Swox AB <http://www.swox.com/>