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]

LOAD EXECUTION ADDRESSES


Hello
This is just to be sure that I am doing things right.

AIM: To transfer SECTIONS from load address to EXECUTION ADDRESS:

ACTIONS: I have written a small linker script and using the MEMORY, SECTION , AT utilites and start options I can force existence of a section at a certain LOAD address (verified in a mapfile) and the  execution address of the SECTION  at the specified
EXECUTION address (verified in the debugger).

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).

( The part
char *src
char *dst
..........)

Thanks in advance.



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