Re: Trying to map absolute sections

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

 



"Tarun" <tarun@xxxxxxxxx> writes:

> I am trying to map an elf section to absolute address. Is there any way
> that we can restrain the linker (ld) not to relocate a section and place
> it at an absolute address.
> 
> I have tried placing the absolute address in the Sh_Addr and updating
> the section name as SH_ABS. But it was of no use. 

Please don't send e-mail to both gcc-help and gcc.  Thanks.

The only way to do what you want is to write a linker script.  See the
linker documentation.

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