RE: [uClinux-dev] [PATCH] m68k: Merge mmu and non-mmu versions of sys_call_table

Gavin Lambert
2011-04-07T02:12:31Z

Quoth Greg Ungerer:
> >> Impact for m68knommu:
> >> - The table is now stored in .data instead of .text,
> >
> > Do you mean .rodata ?
[...]
> Yes, I suspect that was the original thinking. It has been that way
> for a very long time (it is in .text in the 2.4 kernel patches for
> this too).
>
> I will test them on m68knommu today, I am sure moving to .data (really
> rodata) will be fine.

Doesn't that have XIP consequences? .text (and presumably .rodata) can be
stored and executed from ROM, since they can't be changed at runtime. .data
has to be in RAM, since it can be.