[PATCH] Give v850 its own version of the vmlinux.lds.h RODATA macro
While it would be nice to keep using the generic version of RODATA, the v850's linker-script structure is sufficiently different from that of typical archs that it's not possible to use RODATA as it's currently defined. I earlier suggested splitting the generic definition of RODATA into `RODATA_CONTENTS' and `RODATA' (a wrapper around RODATA_CONTENTS) where most archs would use RODATA, and the v850 would use RODATA_CONTENTS, however Kai didn't like that idea. It _may_ be possible to rewrite the v850's linker scripts into something more typical (using lots of individual output sections), but it doesn't seem at all straightforward, so I don't have the time to do it right now. Anyway, this is the short-term work-around so that Linus's kernel works on the v850.
Showing
Please register or sign in to comment