Skip to content
Commit 4096b46f authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

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: default avatarSam Ravnborg <sam@ravnborg.org>
parent c420bc9f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment