This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: LOAD EXECUTION ADDRESSES


Hi Ananda,

> Question: Do I then need to modify something in a run time
> initialization script (i.e. crt0.s or any other) to copy certain
> stuff from LOAD REGION to IMAGE REGION (as suggested in the Optional
> Section Attributes link of official GNU linker manual). 

Basically yes.  Sometimes it is the loader that moves the segments and
sometimes it is the crt0.s initialisation code.  It depends upon your
operating environment.  From what you have said it sounds as though
you are creating the run-time environment yourself, so you get to
choose where the segment moving code resides.

Cheers
        Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]