The patch titled powerpc: Put allocated ELF notes in read-only data segment has been added to the -mm tree. Its filename is powerpc-put-allocated-elf-notes-in-read-only-data-segment.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: powerpc: Put allocated ELF notes in read-only data segment From: Roland McGrath <roland@xxxxxxxxxx> 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@xxxxxxxxxx> Cc: Paul Mackerras <paulus@xxxxxxxxx> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/powerpc/kernel/vmlinux.lds.S | 2 ++ 1 files changed, 2 insertions(+) diff -puN arch/powerpc/kernel/vmlinux.lds.S~powerpc-put-allocated-elf-notes-in-read-only-data-segment arch/powerpc/kernel/vmlinux.lds.S --- a/arch/powerpc/kernel/vmlinux.lds.S~powerpc-put-allocated-elf-notes-in-read-only-data-segment +++ a/arch/powerpc/kernel/vmlinux.lds.S @@ -63,6 +63,8 @@ SECTIONS __stop___ex_table = .; } + NOTES + BUG_TABLE /* _ Patches currently in -mm which might be from roland@xxxxxxxxxx are powerpc-vdso-install-unstripped-copies-on-disk.patch pass-g-to-assembler-under-config_debug_info.patch x86-use-elfnoteh-to-generate-vsyscall-notes-fix.patch make-alt-sysrq-p-display-the-debug-register-contents.patch i386-vdso-install-unstripped-copies-on-disk.patch x86_64-ia32-vdso-install-unstripped-copies-on-disk.patch clone-flag-clone_parent_tidptr-leaves-invalid-results-in-memory.patch pie-randomization.patch i386-put-allocated-elf-notes-in-read-only-data-segment.patch x86_64-put-allocated-elf-notes-in-read-only-data-segment.patch alpha-put-allocated-elf-notes-in-read-only-data-segment.patch powerpc-put-allocated-elf-notes-in-read-only-data-segment.patch s390-put-allocated-elf-notes-in-read-only-data-segment.patch add-sys-kernel-notes.patch use-build-id-ld-option.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html