2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 07:34:06 +08:00
linux-next/arch
Roland McGrath 8fb775ee58 powerpc: Put allocated ELF notes in read-only data segment
This changes the powerpc linker script to use the asm-generic NOTES macro 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: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
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 alpha: Put allocated ELF notes in read-only data segment 2007-07-19 10:04:47 -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 Blackfin arch: add missing CONFIG_LARGE_ALLOCS when upstream merging 2007-07-12 14:55:05 +08:00
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 PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
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 PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
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 powerpc: Put allocated ELF notes in read-only data segment 2007-07-19 10:04:47 -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 PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
x86_64 x86_64: Put allocated ELF notes in read-only data segment 2007-07-19 10:04:47 -07:00
xtensa define new percpu interface for shared data 2007-07-19 10:04:44 -07:00