Re: Trying to map absolute sections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Tarun" <tarun@xxxxxxxxx> writes:

> But then if SHN_ABS is updated for the section name in the symbol table.
> And the st_value has that absolute address, should the linker not map
> the section to absolute address.

SHN_ABS is a characteristic of a symbol, not a section.  The linker
will not relocate a symbol in the (imaginary) SHN_ABS section.  There
is no way to specify that a section has an absolute address; that
would require an SHF_ flag.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux