This is the mail archive of the
mailing list for the binutils project.
Re: Absolute symbols
From: Cary Coutant <firstname.lastname@example.org>
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.