, Brian D Chase <bdc@world.std.com>
From: Matt Thomas <matt@3am-software.com>
List: port-vax
Date: 05/30/1999 20:33:32
At 04:41 PM 5/30/99 , Todd Vierling wrote:
>On Sun, 30 May 1999, Brian D Chase wrote:
>
>: Can anyone explain these types of output messages from the NetBSD/vax 1.4
>: linker? They just appear to be informational messages from the linker,
>: but some of the larger compiles I've run generate a lot them. I'm almost
>: guessing that these were probably included for the sake of debugging the
>: recent addition of support for dynamic libraries to the VAX port and
>: perhaps don't need to be present in the distributed version of ld.
>
>No, this is because one of the following are happening, and it has always
>happened with the a.out linker when linking shared objects:
>
>- code is not compiled "-fpic" or "-fPIC", so function and variable accesses
> are not routed through the GOT
>
>- global pointer variables are initialized with pointers to functions or
> other variables
Actually, for the VAX case, neither of these are the problem. The problem
is that a.out ld doesn't multiple addend reloc's for the same symbol. When
the VAX port switched to ELF (someday) they will disappear.
--
Matt Thomas Internet: matt@3am-software.com
3am Software Foundry WWW URL: http://www.3am-software.com/bio/matt/
Sunnyvale, CA Disclaimer: I avow all knowledge of this message