sparc64: fix alignment bug in linker definition script
authorSam Ravnborg <sam@ravnborg.org>
Tue, 29 May 2007 19:29:00 +0000 (21:29 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Tue, 29 May 2007 19:29:00 +0000 (21:29 +0200)
The RO_DATA section were hardcoded to a specific
alignment in include/asm-generic/vmlinux.h.
But for sparc64 this did not match the PAGE_SIZE.

Introduce a new section definition named:
RO_DATA that takes actual alignment as parameter.
RODATA are provided for backward compatibility.

On top of this avoid hardcoding alignment for
sparc64 in reset of the script
Fix is build-tested on sparc64 + x86_64.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

No differences found