]> git.hungrycats.org Git - linux/commit
[PATCH] Give v850 its own version of the vmlinux.lds.h RODATA macro
authorMiles Bader <miles@lsi.nec.co.jp>
Sun, 31 Aug 2003 07:02:03 +0000 (00:02 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Sun, 31 Aug 2003 07:02:03 +0000 (00:02 -0700)
commit4ccc2c29ba5343ec26f22925871b51676a05935c
treeed25d44905a85e3d5ea7ec32c8e933e91112af68
parent98b0e789556653c70f0ca5ee5a32f11eeea2f737
[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.
arch/v850/kernel/vmlinux.lds.S