This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

How to map text and data section to same address in the linker script for targets based on Harvard architectures


Hi,
? For targets based on Harvard architectures, it is possible that the program memory and data memory are
two different memory systems, hence both of them could start/map at the same start address.
But, if I set the start address of text and data segment in the linker script, linker errors out saying
that both text and data section overlaps (while creating the final executable).
Does anyone have an idea how to do this in the linker script for a cross linker?
Or?is it the job of the loader to do the right mapping?
Any pointers or references are very much appreciated.
Regards,
Sarajyo




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