For a mmu-less embedded target, I would like to generate code to run at
a fixed location in read-only memory, but with the data segment located
anywhere in memory.  Therefore, the accesses to the data segement must go
through an indirection table (GOT).

I do not think that the option exists for my target (m68k).

In order to implement it I should be able to distinguish SYMBOL_REF's to
the text+rodata segment from SYMBOL_REF's to the data+bss segment.

Does that already exist ?

Philippe

Reply via email to