How to handle overlapping RAM and ROM addreses ?

Stelian Pop stelian@popies.net
Wed Feb 13 17:32:00 GMT 2008


Hi,

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 ?

Thanks.

-- 
Stelian Pop <stelian@popies.net>



More information about the Binutils mailing list