data and data starting from address 0

Navid Toosizadeh navid_toosizadeh@yahoo.com
Tue Jan 27 07:51:00 GMT 2009


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



      



More information about the Gcc-help mailing list