kernel-ark/arch
Roland McGrath cbe87121f1 i386: Put allocated ELF notes in read-only data segment
This changes the i386 linker script and the asm-generic macro it uses so that
ELF note sections with SHF_ALLOC set are linked into the kernel image along
with other read-only data.  The PT_NOTE also points to their location.

This paves the way for putting useful build-time information into ELF notes
that can be found easily later in a kernel memory dump.

Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Andi Kleen <ak@suse.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-19 10:04:47 -07:00
..
alpha define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
arm define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
arm26 mm: fault feedback #2 2007-07-19 10:04:41 -07:00
avr32 mm: fault feedback #2 2007-07-19 10:04:41 -07:00
blackfin
cris define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
frv define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
h8300
i386 i386: Put allocated ELF notes in read-only data segment 2007-07-19 10:04:47 -07:00
ia64 mm: variable length argument support 2007-07-19 10:04:45 -07:00
m32r define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
m68k mm: fault feedback #2 2007-07-19 10:04:41 -07:00
m68knommu
mips define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
parisc define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
powerpc define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
ppc define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
s390 define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
sh define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
sh64 define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
sparc define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
sparc64 define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
um mm: fault feedback #2 2007-07-19 10:04:41 -07:00
v850
x86_64 mm: variable length argument support 2007-07-19 10:04:45 -07:00
xtensa define new percpu interface for shared data 2007-07-19 10:04:44 -07:00