Absolute symbols

David Miller davem@davemloft.net
Thu May 3 04:28:00 GMT 2012


From: Cary Coutant <ccoutant@gmail.com>
Date: Wed, 2 May 2012 20:55:11 -0700

> On the contrary, the only interpretation that makes sense to me is
> that it will not change because of relocation at link time or at load
> time. Absolute symbols, from the days of the earliest linking loaders,
> have been used to represent addresses that are outside the address
> space of the module (e.g., memory-mapped addresses or kernel gateway
> pages). They've even been used to represent true symbolic constants
> (e.g., system entry point numbers, sizes, version numbers). There's no
> other way to represent a true absolute symbol, while the meaning you
> seek is easily represented by giving the symbol a non-negative
> st_shndx value.

I agree with Cary.



More information about the Binutils mailing list