This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

data and data starting from address 0


Greetings,

In my embedded system, there are two separate memories for data and code. I'd like both of them to start from address 0. When I do this, I get an overlap error message from the linker because it assumes I have the same memory for both data and code, despite the fact that I defined two different memories ram and rom.

Could you please tell me what linker script lines I should include to get rid of the overlap error message.

Thank you,
Navid



      


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