"Stu Bell" <[EMAIL PROTECTED]> wrote:

> My feeling is that you are asking quite a bit too much from the
> linker to expect it to "flow" code around an obstacle in the middle
> of it's memory map.

I agree.  If at all, I'd simply use the last (upmost) ROM location for
that "magic number" or "magic string".

Another option would be to use a real "magic string" right behind the
vectors table.  Just introduce it by a known 32-bit word that can
never be part of the vectors table itself.  This is basically the way
the old revision control system SCCS worked with its "@(#)" magic
number, which was then found and extracted by the "what" command.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to