• Miles Bader's avatar
    [PATCH] Give v850 its own version of the vmlinux.lds.h RODATA macro · 4ccc2c29
    Miles Bader authored
    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.
    4ccc2c29
vmlinux.lds.S 8.35 KB