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]

Re: How to handle overlapping RAM and ROM addreses ?


On Wed, 13 Feb 2008, Stelian Pop wrote:
> I'm working on a binutils/gcc port for a custom microcontroller. This
> microcontroller has separate buses for RAM and ROM, and uses different
> instructions to address the ROM and the RAM.
>
> How can I handle this in ld ? I could give a fake starting offset to one
> of the two sections in order to make them not overlap, but maybe there
> is a better way to handle this.
>
> Does this problem already exist with one of the supported
> architectures ?

Yup.
AVRs have three memory spaces and that is how the problem is handled.

-- 
Michael   hennebry@web.cs.ndsu.NoDak.edu
"Those parts of the system that you can hit with a hammer (not advised)
are called Hardware;  those program instructions that you can only
curse at are called Software."


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