RE: distinguishing .text SYMBOL_REF's from .data SYMBOL_REF's

2006-01-16 Thread Dave Korn
Philippe De Muyter wrote: > 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 n

distinguishing .text SYMBOL_REF's from .data SYMBOL_REF's

2006-01-15 Thread Philippe De Muyter
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