From: Sam Ravnborg Date: Tue, 29 May 2007 19:29:00 +0000 (+0200) Subject: sparc64: fix alignment bug in linker definition script X-Git-Tag: v2.6.22-rc4~65^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4096b46f01a362fe2cc83f6be25cc7be6bce2ab7;p=pandora-kernel.git 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 --- Reading git-diff-tree failed