sections: disable const sections for PA-RISC v2
The PA-RISC tool chain seems to have some problem with correct read/write attributes on sections. This causes problems when the const sections are fixed up for other architecture to only contain truly read-only data. Disable const sections for PA-RISC This can cause a bit of noise with modpost. Signed-off-by: Andi Kleen <ak@linux.intel.com> Cc: "James E.J. Bottomley" <jejb@parisc-linux.org> Cc: Helge Deller <deller@gmx.de> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
0f6d93aa9d
commit
754b7b63d1
@@ -1581,4 +1581,10 @@ config PADATA
|
||||
depends on SMP
|
||||
bool
|
||||
|
||||
# Can be selected by architectures with broken toolchains
|
||||
# that get confused by correct const<->read_only section
|
||||
# mappings
|
||||
config BROKEN_RODATA
|
||||
bool
|
||||
|
||||
source "kernel/Kconfig.locks"
|
||||
|
||||
Reference in New Issue
Block a user