diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2007-05-29 21:29:00 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-05-29 21:29:00 +0200 |
commit | 4096b46f01a362fe2cc83f6be25cc7be6bce2ab7 (patch) | |
tree | 7738ca7a7962dc88cc5b9e6dc3b789e73504a7c8 /arch/sparc64/kernel/prom.c | |
parent | c420bc9f09a0926b708c3edb27eacba434a4f4ba (diff) |
sparc64: fix alignment bug in linker definition script
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>
Diffstat (limited to 'arch/sparc64/kernel/prom.c')
0 files changed, 0 insertions, 0 deletions