diff for duplicates of <20170115211057.17167-2-mcgrof@kernel.org> diff --git a/a/content_digest b/N1/content_digest index 14b0617..617f8a4 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -53,7 +53,34 @@ linux@rasmusvillemoes.dk jkosina@suse.cz korea.drzix@gmail.com - " linux-kbuild@vger.kernel\0" + linux-kbuild@vger.kernel.org + tony.luck@intel.com + akpm@linux-foundation.org + linux-ia64@vger.kernel.org + linux-arm-kernel@lists.infradead.org + linux-sh@vger.kernel.org + sparclinux@vger.kernel.org + catalin.marinas@arm.com + will.deacon@arm.com + rostedt@goodmis.org + jani.nikula@intel.com + mchehab@osg.samsung.com + markus.heiser@darmarit.de + jolsa@kernel.org + msalter@redhat.com + chris@zankel.net + jcmvbkbc@gmail.com + linux-xtensa@linux-xtensa.org + adrian.hunter@intel.com + dsahern@gmail.com + namhyung@kernel.org + wangnan0@huawei.com + dmitry.torokhov@gmail.com + joro@8bytes.org + paulus@samba.org + mpe@ellerman.id.au + James.Bottomley@hansenpartnership.com + " Luis R. Rodriguez <mcgrof@kernel.org>\0" "\00:1\0" "b\0" "Linux makes extensive use of custom ELF header sections,\n" @@ -1393,4 +1420,4 @@ "-- \n" 2.11.0 -6f8891e8beb0b9f082cd734b90ee60f9e7302ba20e3184087e07505702c43515 +a0dc861b5b0302a69c07e1cb7c4df18e7e8e7e1915ccab18d20f8c551f8948e6
diff --git a/a/1.txt b/N2/1.txt index 87750f2..3cce87d 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -178,19 +178,18 @@ index 000000000000..4f04c0682a6f --- /dev/null +++ b/Documentation/sections/background.rst @@ -0,0 +1,105 @@ -+====================== ++=========== +ELF section background -+====================== ++=========== + +About -+===== -+ ++==+ +The purpose of this chapter is to help those not familiar with ELF to brush up +the latest ELF specifications in order to help understand how Linux uses and +defines its own ELF sections. + +Standardized ELF -+================ ++======== + +The first publication documenting ELF was UNIX System Laboratories' (USL) +*System V Release 4 Application Binary Interface* (`SRV4 ABI`_) specification. @@ -208,7 +207,7 @@ index 000000000000..4f04c0682a6f +.. _gabi4: https://refspecs.linuxbase.org/elf/gabi4+/contents.html + +ELF views on Linux -+================== ++========= + +There are two views which can be used for inspecting data in an ELF file, a +Linking view, and an Execution view. A Section Header Table enables one to @@ -229,8 +228,7 @@ index 000000000000..4f04c0682a6f +objects have ELF sections. + +Limitations on ELF sections -+=========================== -+ ++=============+ +We provide a summary on the limitations of ELF sections. Refer to the public +ELF specifications for details. Note that 64-bit limitations may depend +on processor specific section attributes to be used, refer to your processor @@ -264,8 +262,7 @@ index 000000000000..4f04c0682a6f + - 16 EiEntries (18446744073709551616) + +Program specific ELF sections -+============================= -+ ++==============+ +The ELF specification allows for a section type to be specified as +*Program specific section*, defined as ``SHT_PROGBITS``. This sections type +enables programs to customize sections for their own use. In assembly this @@ -274,7 +271,7 @@ index 000000000000..4f04c0682a6f +``SHT_PROGBITS`` is used by Linux for defining and using Linux ELF sections. + +Special ELF Sections -+==================== ++========== + +The ELF specification defines *Special ELF Sections* on chapter 4 (`gabi4 +ch4`_). These are defined as sections which hold program and control @@ -299,10 +296,8 @@ index 000000000000..f37511ef05e7 --- /dev/null +++ b/Documentation/sections/index.rst @@ -0,0 +1,17 @@ -+========================= -+Linux Kernel ELF sections -+========================= -+ ++============+Linux Kernel ELF sections ++============+ +This book documents the different ELF sections used on the Linux kernel. +We start off by providing references to how ELF was standardized, references +to the standards on ELF sections, review limitations of ELF sections, and @@ -322,16 +317,13 @@ index 000000000000..ac5815a0d9b3 --- /dev/null +++ b/Documentation/sections/section-core.rst @@ -0,0 +1,148 @@ -+=================================== -+Linux ELF program specific sections -+=================================== -+ ++=================+Linux ELF program specific sections ++=================+ +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux ELF program specific sections + +Linux linker script -+=================== -+ ++=========+ +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux linker script + @@ -361,7 +353,7 @@ index 000000000000..ac5815a0d9b3 + :doc: .data + +Linux .init\* sections -+====================== ++=========== + +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux init sections @@ -397,7 +389,7 @@ index 000000000000..ac5815a0d9b3 + :functions: __define_initcall + +Linux .exit\* sections -+====================== ++=========== + +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux exit sections @@ -418,8 +410,7 @@ index 000000000000..ac5815a0d9b3 + :doc: .exitcall.exit + +Linux .ref\* sections -+===================== -+ ++==========+ +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux references to init sections + @@ -439,7 +430,7 @@ index 000000000000..ac5815a0d9b3 + :doc: .ref.rodata + +Generic Linux kernel section helpers -+==================================== ++================== + +Introduction +------------- @@ -1064,7 +1055,7 @@ index 000000000000..efc753e80d76 + * At least as per nasm (x86/x86_64 only), in the absence of qualifiers the + * defaults are as follows: + * -+ * section .text progbits alloc exec nowrite align=16 ++ * section .text progbits alloc exec nowrite align\x16 + * section .rodata progbits alloc noexec nowrite align=4 + * section .lrodata progbits alloc noexec nowrite align=4 + * section .data progbits alloc noexec write align=4 @@ -1178,7 +1169,7 @@ index 885c3e6d0f9d..21c6bec9e3d0 100644 + * Lower order init levels run prior to higher order init levels. Ordering + * inside each initcall level is determined by respective link order. + * -+ * .. _9d6ba121b7e17085: https://git.kernel.org/cgit/linux/kernel/git/history/history.git/commit/?id=9d6ba121b7e17085c95139233686b27a4d4c650e ++ * .. _9d6ba121b7e17085: https://git.kernel.org/cgit/linux/kernel/git/history/history.git/commit/?idù6ba121b7e17085c95139233686b27a4d4c650e + */ #ifndef __ASSEMBLY__ @@ -1334,3 +1325,8 @@ index 000000000000..6771c727bcd1 +#endif /* _LINUX_SECTIONS_H */ -- 2.11.0 + +-- +To unsubscribe from this list: send the line "unsubscribe linux-ia64" in +the body of a message to majordomo@vger.kernel.org +More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N2/content_digest index 14b0617..207a94d 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -2,7 +2,7 @@ "ref\020170115211057.17167-1-mcgrof@kernel.org\0" "From\0Luis R. Rodriguez <mcgrof@kernel.org>\0" "Subject\0[PATCH v7 01/14] generic-sections: add section core helpers\0" - "Date\0Sun, 15 Jan 2017 13:10:44 -0800\0" + "Date\0Sun, 15 Jan 2017 21:10:44 +0000\0" "To\0bp@alien8.de" bp@suse.de hpa@zytor.com @@ -236,19 +236,18 @@ "--- /dev/null\n" "+++ b/Documentation/sections/background.rst\n" "@@ -0,0 +1,105 @@\n" - "+======================\n" + "+===========\n" "+ELF section background\n" - "+======================\n" + "+===========\n" "+\n" "+About\n" - "+=====\n" - "+\n" + "+==+\n" "+The purpose of this chapter is to help those not familiar with ELF to brush up\n" "+the latest ELF specifications in order to help understand how Linux uses and\n" "+defines its own ELF sections.\n" "+\n" "+Standardized ELF\n" - "+================\n" + "+========\n" "+\n" "+The first publication documenting ELF was UNIX System Laboratories' (USL)\n" "+*System V Release 4 Application Binary Interface* (`SRV4 ABI`_) specification.\n" @@ -266,7 +265,7 @@ "+.. _gabi4: https://refspecs.linuxbase.org/elf/gabi4+/contents.html\n" "+\n" "+ELF views on Linux\n" - "+==================\n" + "+=========\n" "+\n" "+There are two views which can be used for inspecting data in an ELF file, a\n" "+Linking view, and an Execution view. A Section Header Table enables one to\n" @@ -287,8 +286,7 @@ "+objects have ELF sections.\n" "+\n" "+Limitations on ELF sections\n" - "+===========================\n" - "+\n" + "+=============+\n" "+We provide a summary on the limitations of ELF sections. Refer to the public\n" "+ELF specifications for details. Note that 64-bit limitations may depend\n" "+on processor specific section attributes to be used, refer to your processor\n" @@ -322,8 +320,7 @@ "+ - 16 EiEntries (18446744073709551616)\n" "+\n" "+Program specific ELF sections\n" - "+=============================\n" - "+\n" + "+==============+\n" "+The ELF specification allows for a section type to be specified as\n" "+*Program specific section*, defined as ``SHT_PROGBITS``. This sections type\n" "+enables programs to customize sections for their own use. In assembly this\n" @@ -332,7 +329,7 @@ "+``SHT_PROGBITS`` is used by Linux for defining and using Linux ELF sections.\n" "+\n" "+Special ELF Sections\n" - "+====================\n" + "+==========\n" "+\n" "+The ELF specification defines *Special ELF Sections* on chapter 4 (`gabi4\n" "+ch4`_). These are defined as sections which hold program and control\n" @@ -357,10 +354,8 @@ "--- /dev/null\n" "+++ b/Documentation/sections/index.rst\n" "@@ -0,0 +1,17 @@\n" - "+=========================\n" - "+Linux Kernel ELF sections\n" - "+=========================\n" - "+\n" + "+============+Linux Kernel ELF sections\n" + "+============+\n" "+This book documents the different ELF sections used on the Linux kernel.\n" "+We start off by providing references to how ELF was standardized, references\n" "+to the standards on ELF sections, review limitations of ELF sections, and\n" @@ -380,16 +375,13 @@ "--- /dev/null\n" "+++ b/Documentation/sections/section-core.rst\n" "@@ -0,0 +1,148 @@\n" - "+===================================\n" - "+Linux ELF program specific sections\n" - "+===================================\n" - "+\n" + "+=================+Linux ELF program specific sections\n" + "+=================+\n" "+.. kernel-doc:: include/asm-generic/section-core.h\n" "+ :doc: Linux ELF program specific sections\n" "+\n" "+Linux linker script\n" - "+===================\n" - "+\n" + "+=========+\n" "+.. kernel-doc:: include/asm-generic/section-core.h\n" "+ :doc: Linux linker script\n" "+\n" @@ -419,7 +411,7 @@ "+ :doc: .data\n" "+\n" "+Linux .init\\* sections\n" - "+======================\n" + "+===========\n" "+\n" "+.. kernel-doc:: include/asm-generic/section-core.h\n" "+ :doc: Linux init sections\n" @@ -455,7 +447,7 @@ "+ :functions: __define_initcall\n" "+\n" "+Linux .exit\\* sections\n" - "+======================\n" + "+===========\n" "+\n" "+.. kernel-doc:: include/asm-generic/section-core.h\n" "+ :doc: Linux exit sections\n" @@ -476,8 +468,7 @@ "+ :doc: .exitcall.exit\n" "+\n" "+Linux .ref\\* sections\n" - "+=====================\n" - "+\n" + "+==========+\n" "+.. kernel-doc:: include/asm-generic/section-core.h\n" "+ :doc: Linux references to init sections\n" "+\n" @@ -497,7 +488,7 @@ "+ :doc: .ref.rodata\n" "+\n" "+Generic Linux kernel section helpers\n" - "+====================================\n" + "+==================\n" "+\n" "+Introduction\n" "+-------------\n" @@ -1122,7 +1113,7 @@ "+ * At least as per nasm (x86/x86_64 only), in the absence of qualifiers the\n" "+ * defaults are as follows:\n" "+ *\n" - "+ * section .text progbits alloc exec nowrite align=16\n" + "+ * section .text progbits alloc exec nowrite align\026\n" "+ * section .rodata progbits alloc noexec nowrite align=4\n" "+ * section .lrodata progbits alloc noexec nowrite align=4\n" "+ * section .data progbits alloc noexec write align=4\n" @@ -1236,7 +1227,7 @@ "+ * Lower order init levels run prior to higher order init levels. Ordering\n" "+ * inside each initcall level is determined by respective link order.\n" "+ *\n" - "+ * .. _9d6ba121b7e17085: https://git.kernel.org/cgit/linux/kernel/git/history/history.git/commit/?id=9d6ba121b7e17085c95139233686b27a4d4c650e\n" + "+ * .. _9d6ba121b7e17085: https://git.kernel.org/cgit/linux/kernel/git/history/history.git/commit/?id\303\2716ba121b7e17085c95139233686b27a4d4c650e\n" "+ */\n" " \n" " #ifndef __ASSEMBLY__\n" @@ -1391,6 +1382,11 @@ "+\n" "+#endif /* _LINUX_SECTIONS_H */\n" "-- \n" - 2.11.0 + "2.11.0\n" + "\n" + "--\n" + "To unsubscribe from this list: send the line \"unsubscribe linux-ia64\" in\n" + "the body of a message to majordomo@vger.kernel.org\n" + More majordomo info at http://vger.kernel.org/majordomo-info.html -6f8891e8beb0b9f082cd734b90ee60f9e7302ba20e3184087e07505702c43515 +4a680432f5a791378818a09ed68c6bad6def80b17c7124bb7503eddebae1f57a
diff --git a/a/1.txt b/N3/1.txt index 87750f2..8fca0c0 100644 --- a/a/1.txt +++ b/N3/1.txt @@ -178,19 +178,18 @@ index 000000000000..4f04c0682a6f --- /dev/null +++ b/Documentation/sections/background.rst @@ -0,0 +1,105 @@ -+====================== ++=========== +ELF section background -+====================== ++=========== + +About -+===== -+ ++==+ +The purpose of this chapter is to help those not familiar with ELF to brush up +the latest ELF specifications in order to help understand how Linux uses and +defines its own ELF sections. + +Standardized ELF -+================ ++======== + +The first publication documenting ELF was UNIX System Laboratories' (USL) +*System V Release 4 Application Binary Interface* (`SRV4 ABI`_) specification. @@ -208,7 +207,7 @@ index 000000000000..4f04c0682a6f +.. _gabi4: https://refspecs.linuxbase.org/elf/gabi4+/contents.html + +ELF views on Linux -+================== ++========= + +There are two views which can be used for inspecting data in an ELF file, a +Linking view, and an Execution view. A Section Header Table enables one to @@ -229,8 +228,7 @@ index 000000000000..4f04c0682a6f +objects have ELF sections. + +Limitations on ELF sections -+=========================== -+ ++=============+ +We provide a summary on the limitations of ELF sections. Refer to the public +ELF specifications for details. Note that 64-bit limitations may depend +on processor specific section attributes to be used, refer to your processor @@ -264,8 +262,7 @@ index 000000000000..4f04c0682a6f + - 16 EiEntries (18446744073709551616) + +Program specific ELF sections -+============================= -+ ++==============+ +The ELF specification allows for a section type to be specified as +*Program specific section*, defined as ``SHT_PROGBITS``. This sections type +enables programs to customize sections for their own use. In assembly this @@ -274,7 +271,7 @@ index 000000000000..4f04c0682a6f +``SHT_PROGBITS`` is used by Linux for defining and using Linux ELF sections. + +Special ELF Sections -+==================== ++========== + +The ELF specification defines *Special ELF Sections* on chapter 4 (`gabi4 +ch4`_). These are defined as sections which hold program and control @@ -299,10 +296,8 @@ index 000000000000..f37511ef05e7 --- /dev/null +++ b/Documentation/sections/index.rst @@ -0,0 +1,17 @@ -+========================= -+Linux Kernel ELF sections -+========================= -+ ++============+Linux Kernel ELF sections ++============+ +This book documents the different ELF sections used on the Linux kernel. +We start off by providing references to how ELF was standardized, references +to the standards on ELF sections, review limitations of ELF sections, and @@ -322,16 +317,13 @@ index 000000000000..ac5815a0d9b3 --- /dev/null +++ b/Documentation/sections/section-core.rst @@ -0,0 +1,148 @@ -+=================================== -+Linux ELF program specific sections -+=================================== -+ ++=================+Linux ELF program specific sections ++=================+ +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux ELF program specific sections + +Linux linker script -+=================== -+ ++=========+ +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux linker script + @@ -361,7 +353,7 @@ index 000000000000..ac5815a0d9b3 + :doc: .data + +Linux .init\* sections -+====================== ++=========== + +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux init sections @@ -397,7 +389,7 @@ index 000000000000..ac5815a0d9b3 + :functions: __define_initcall + +Linux .exit\* sections -+====================== ++=========== + +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux exit sections @@ -418,8 +410,7 @@ index 000000000000..ac5815a0d9b3 + :doc: .exitcall.exit + +Linux .ref\* sections -+===================== -+ ++==========+ +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux references to init sections + @@ -439,7 +430,7 @@ index 000000000000..ac5815a0d9b3 + :doc: .ref.rodata + +Generic Linux kernel section helpers -+==================================== ++================== + +Introduction +------------- @@ -1064,7 +1055,7 @@ index 000000000000..efc753e80d76 + * At least as per nasm (x86/x86_64 only), in the absence of qualifiers the + * defaults are as follows: + * -+ * section .text progbits alloc exec nowrite align=16 ++ * section .text progbits alloc exec nowrite align\x16 + * section .rodata progbits alloc noexec nowrite align=4 + * section .lrodata progbits alloc noexec nowrite align=4 + * section .data progbits alloc noexec write align=4 @@ -1178,7 +1169,7 @@ index 885c3e6d0f9d..21c6bec9e3d0 100644 + * Lower order init levels run prior to higher order init levels. Ordering + * inside each initcall level is determined by respective link order. + * -+ * .. _9d6ba121b7e17085: https://git.kernel.org/cgit/linux/kernel/git/history/history.git/commit/?id=9d6ba121b7e17085c95139233686b27a4d4c650e ++ * .. _9d6ba121b7e17085: https://git.kernel.org/cgit/linux/kernel/git/history/history.git/commit/?id6ba121b7e17085c95139233686b27a4d4c650e + */ #ifndef __ASSEMBLY__ @@ -1334,3 +1325,8 @@ index 000000000000..6771c727bcd1 +#endif /* _LINUX_SECTIONS_H */ -- 2.11.0 + +-- +To unsubscribe from this list: send the line "unsubscribe linux-sh" in +the body of a message to majordomo@vger.kernel.org +More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N3/content_digest index 14b0617..e9940b5 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -2,7 +2,7 @@ "ref\020170115211057.17167-1-mcgrof@kernel.org\0" "From\0Luis R. Rodriguez <mcgrof@kernel.org>\0" "Subject\0[PATCH v7 01/14] generic-sections: add section core helpers\0" - "Date\0Sun, 15 Jan 2017 13:10:44 -0800\0" + "Date\0Sun, 15 Jan 2017 21:10:44 +0000\0" "To\0bp@alien8.de" bp@suse.de hpa@zytor.com @@ -236,19 +236,18 @@ "--- /dev/null\n" "+++ b/Documentation/sections/background.rst\n" "@@ -0,0 +1,105 @@\n" - "+======================\n" + "+===========\n" "+ELF section background\n" - "+======================\n" + "+===========\n" "+\n" "+About\n" - "+=====\n" - "+\n" + "+==+\n" "+The purpose of this chapter is to help those not familiar with ELF to brush up\n" "+the latest ELF specifications in order to help understand how Linux uses and\n" "+defines its own ELF sections.\n" "+\n" "+Standardized ELF\n" - "+================\n" + "+========\n" "+\n" "+The first publication documenting ELF was UNIX System Laboratories' (USL)\n" "+*System V Release 4 Application Binary Interface* (`SRV4 ABI`_) specification.\n" @@ -266,7 +265,7 @@ "+.. _gabi4: https://refspecs.linuxbase.org/elf/gabi4+/contents.html\n" "+\n" "+ELF views on Linux\n" - "+==================\n" + "+=========\n" "+\n" "+There are two views which can be used for inspecting data in an ELF file, a\n" "+Linking view, and an Execution view. A Section Header Table enables one to\n" @@ -287,8 +286,7 @@ "+objects have ELF sections.\n" "+\n" "+Limitations on ELF sections\n" - "+===========================\n" - "+\n" + "+=============+\n" "+We provide a summary on the limitations of ELF sections. Refer to the public\n" "+ELF specifications for details. Note that 64-bit limitations may depend\n" "+on processor specific section attributes to be used, refer to your processor\n" @@ -322,8 +320,7 @@ "+ - 16 EiEntries (18446744073709551616)\n" "+\n" "+Program specific ELF sections\n" - "+=============================\n" - "+\n" + "+==============+\n" "+The ELF specification allows for a section type to be specified as\n" "+*Program specific section*, defined as ``SHT_PROGBITS``. This sections type\n" "+enables programs to customize sections for their own use. In assembly this\n" @@ -332,7 +329,7 @@ "+``SHT_PROGBITS`` is used by Linux for defining and using Linux ELF sections.\n" "+\n" "+Special ELF Sections\n" - "+====================\n" + "+==========\n" "+\n" "+The ELF specification defines *Special ELF Sections* on chapter 4 (`gabi4\n" "+ch4`_). These are defined as sections which hold program and control\n" @@ -357,10 +354,8 @@ "--- /dev/null\n" "+++ b/Documentation/sections/index.rst\n" "@@ -0,0 +1,17 @@\n" - "+=========================\n" - "+Linux Kernel ELF sections\n" - "+=========================\n" - "+\n" + "+============+Linux Kernel ELF sections\n" + "+============+\n" "+This book documents the different ELF sections used on the Linux kernel.\n" "+We start off by providing references to how ELF was standardized, references\n" "+to the standards on ELF sections, review limitations of ELF sections, and\n" @@ -380,16 +375,13 @@ "--- /dev/null\n" "+++ b/Documentation/sections/section-core.rst\n" "@@ -0,0 +1,148 @@\n" - "+===================================\n" - "+Linux ELF program specific sections\n" - "+===================================\n" - "+\n" + "+=================+Linux ELF program specific sections\n" + "+=================+\n" "+.. kernel-doc:: include/asm-generic/section-core.h\n" "+ :doc: Linux ELF program specific sections\n" "+\n" "+Linux linker script\n" - "+===================\n" - "+\n" + "+=========+\n" "+.. kernel-doc:: include/asm-generic/section-core.h\n" "+ :doc: Linux linker script\n" "+\n" @@ -419,7 +411,7 @@ "+ :doc: .data\n" "+\n" "+Linux .init\\* sections\n" - "+======================\n" + "+===========\n" "+\n" "+.. kernel-doc:: include/asm-generic/section-core.h\n" "+ :doc: Linux init sections\n" @@ -455,7 +447,7 @@ "+ :functions: __define_initcall\n" "+\n" "+Linux .exit\\* sections\n" - "+======================\n" + "+===========\n" "+\n" "+.. kernel-doc:: include/asm-generic/section-core.h\n" "+ :doc: Linux exit sections\n" @@ -476,8 +468,7 @@ "+ :doc: .exitcall.exit\n" "+\n" "+Linux .ref\\* sections\n" - "+=====================\n" - "+\n" + "+==========+\n" "+.. kernel-doc:: include/asm-generic/section-core.h\n" "+ :doc: Linux references to init sections\n" "+\n" @@ -497,7 +488,7 @@ "+ :doc: .ref.rodata\n" "+\n" "+Generic Linux kernel section helpers\n" - "+====================================\n" + "+==================\n" "+\n" "+Introduction\n" "+-------------\n" @@ -1122,7 +1113,7 @@ "+ * At least as per nasm (x86/x86_64 only), in the absence of qualifiers the\n" "+ * defaults are as follows:\n" "+ *\n" - "+ * section .text progbits alloc exec nowrite align=16\n" + "+ * section .text progbits alloc exec nowrite align\026\n" "+ * section .rodata progbits alloc noexec nowrite align=4\n" "+ * section .lrodata progbits alloc noexec nowrite align=4\n" "+ * section .data progbits alloc noexec write align=4\n" @@ -1236,7 +1227,7 @@ "+ * Lower order init levels run prior to higher order init levels. Ordering\n" "+ * inside each initcall level is determined by respective link order.\n" "+ *\n" - "+ * .. _9d6ba121b7e17085: https://git.kernel.org/cgit/linux/kernel/git/history/history.git/commit/?id=9d6ba121b7e17085c95139233686b27a4d4c650e\n" + "+ * .. _9d6ba121b7e17085: https://git.kernel.org/cgit/linux/kernel/git/history/history.git/commit/?id\302\2356ba121b7e17085c95139233686b27a4d4c650e\n" "+ */\n" " \n" " #ifndef __ASSEMBLY__\n" @@ -1391,6 +1382,11 @@ "+\n" "+#endif /* _LINUX_SECTIONS_H */\n" "-- \n" - 2.11.0 + "2.11.0\n" + "\n" + "--\n" + "To unsubscribe from this list: send the line \"unsubscribe linux-sh\" in\n" + "the body of a message to majordomo@vger.kernel.org\n" + More majordomo info at http://vger.kernel.org/majordomo-info.html -6f8891e8beb0b9f082cd734b90ee60f9e7302ba20e3184087e07505702c43515 +c9d3f2aa41ce57c159d280f848923ee40ac4a1fb93541a738384e6db1fb1d1f0
diff --git a/a/1.txt b/N4/1.txt index 87750f2..7463d36 100644 --- a/a/1.txt +++ b/N4/1.txt @@ -178,19 +178,18 @@ index 000000000000..4f04c0682a6f --- /dev/null +++ b/Documentation/sections/background.rst @@ -0,0 +1,105 @@ -+====================== ++=========== +ELF section background -+====================== ++=========== + +About -+===== -+ ++==+ +The purpose of this chapter is to help those not familiar with ELF to brush up +the latest ELF specifications in order to help understand how Linux uses and +defines its own ELF sections. + +Standardized ELF -+================ ++======== + +The first publication documenting ELF was UNIX System Laboratories' (USL) +*System V Release 4 Application Binary Interface* (`SRV4 ABI`_) specification. @@ -208,7 +207,7 @@ index 000000000000..4f04c0682a6f +.. _gabi4: https://refspecs.linuxbase.org/elf/gabi4+/contents.html + +ELF views on Linux -+================== ++========= + +There are two views which can be used for inspecting data in an ELF file, a +Linking view, and an Execution view. A Section Header Table enables one to @@ -229,8 +228,7 @@ index 000000000000..4f04c0682a6f +objects have ELF sections. + +Limitations on ELF sections -+=========================== -+ ++=============+ +We provide a summary on the limitations of ELF sections. Refer to the public +ELF specifications for details. Note that 64-bit limitations may depend +on processor specific section attributes to be used, refer to your processor @@ -264,8 +262,7 @@ index 000000000000..4f04c0682a6f + - 16 EiEntries (18446744073709551616) + +Program specific ELF sections -+============================= -+ ++==============+ +The ELF specification allows for a section type to be specified as +*Program specific section*, defined as ``SHT_PROGBITS``. This sections type +enables programs to customize sections for their own use. In assembly this @@ -274,7 +271,7 @@ index 000000000000..4f04c0682a6f +``SHT_PROGBITS`` is used by Linux for defining and using Linux ELF sections. + +Special ELF Sections -+==================== ++========== + +The ELF specification defines *Special ELF Sections* on chapter 4 (`gabi4 +ch4`_). These are defined as sections which hold program and control @@ -299,10 +296,8 @@ index 000000000000..f37511ef05e7 --- /dev/null +++ b/Documentation/sections/index.rst @@ -0,0 +1,17 @@ -+========================= -+Linux Kernel ELF sections -+========================= -+ ++============+Linux Kernel ELF sections ++============+ +This book documents the different ELF sections used on the Linux kernel. +We start off by providing references to how ELF was standardized, references +to the standards on ELF sections, review limitations of ELF sections, and @@ -322,16 +317,13 @@ index 000000000000..ac5815a0d9b3 --- /dev/null +++ b/Documentation/sections/section-core.rst @@ -0,0 +1,148 @@ -+=================================== -+Linux ELF program specific sections -+=================================== -+ ++=================+Linux ELF program specific sections ++=================+ +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux ELF program specific sections + +Linux linker script -+=================== -+ ++=========+ +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux linker script + @@ -361,7 +353,7 @@ index 000000000000..ac5815a0d9b3 + :doc: .data + +Linux .init\* sections -+====================== ++=========== + +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux init sections @@ -397,7 +389,7 @@ index 000000000000..ac5815a0d9b3 + :functions: __define_initcall + +Linux .exit\* sections -+====================== ++=========== + +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux exit sections @@ -418,8 +410,7 @@ index 000000000000..ac5815a0d9b3 + :doc: .exitcall.exit + +Linux .ref\* sections -+===================== -+ ++==========+ +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux references to init sections + @@ -439,7 +430,7 @@ index 000000000000..ac5815a0d9b3 + :doc: .ref.rodata + +Generic Linux kernel section helpers -+==================================== ++================== + +Introduction +------------- @@ -1064,7 +1055,7 @@ index 000000000000..efc753e80d76 + * At least as per nasm (x86/x86_64 only), in the absence of qualifiers the + * defaults are as follows: + * -+ * section .text progbits alloc exec nowrite align=16 ++ * section .text progbits alloc exec nowrite align\x16 + * section .rodata progbits alloc noexec nowrite align=4 + * section .lrodata progbits alloc noexec nowrite align=4 + * section .data progbits alloc noexec write align=4 @@ -1178,7 +1169,7 @@ index 885c3e6d0f9d..21c6bec9e3d0 100644 + * Lower order init levels run prior to higher order init levels. Ordering + * inside each initcall level is determined by respective link order. + * -+ * .. _9d6ba121b7e17085: https://git.kernel.org/cgit/linux/kernel/git/history/history.git/commit/?id=9d6ba121b7e17085c95139233686b27a4d4c650e ++ * .. _9d6ba121b7e17085: https://git.kernel.org/cgit/linux/kernel/git/history/history.git/commit/?id6ba121b7e17085c95139233686b27a4d4c650e + */ #ifndef __ASSEMBLY__ @@ -1334,3 +1325,8 @@ index 000000000000..6771c727bcd1 +#endif /* _LINUX_SECTIONS_H */ -- 2.11.0 + +-- +To unsubscribe from this list: send the line "unsubscribe sparclinux" in +the body of a message to majordomo@vger.kernel.org +More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/a/content_digest b/N4/content_digest index 14b0617..e30e672 100644 --- a/a/content_digest +++ b/N4/content_digest @@ -2,7 +2,7 @@ "ref\020170115211057.17167-1-mcgrof@kernel.org\0" "From\0Luis R. Rodriguez <mcgrof@kernel.org>\0" "Subject\0[PATCH v7 01/14] generic-sections: add section core helpers\0" - "Date\0Sun, 15 Jan 2017 13:10:44 -0800\0" + "Date\0Sun, 15 Jan 2017 21:10:44 +0000\0" "To\0bp@alien8.de" bp@suse.de hpa@zytor.com @@ -236,19 +236,18 @@ "--- /dev/null\n" "+++ b/Documentation/sections/background.rst\n" "@@ -0,0 +1,105 @@\n" - "+======================\n" + "+===========\n" "+ELF section background\n" - "+======================\n" + "+===========\n" "+\n" "+About\n" - "+=====\n" - "+\n" + "+==+\n" "+The purpose of this chapter is to help those not familiar with ELF to brush up\n" "+the latest ELF specifications in order to help understand how Linux uses and\n" "+defines its own ELF sections.\n" "+\n" "+Standardized ELF\n" - "+================\n" + "+========\n" "+\n" "+The first publication documenting ELF was UNIX System Laboratories' (USL)\n" "+*System V Release 4 Application Binary Interface* (`SRV4 ABI`_) specification.\n" @@ -266,7 +265,7 @@ "+.. _gabi4: https://refspecs.linuxbase.org/elf/gabi4+/contents.html\n" "+\n" "+ELF views on Linux\n" - "+==================\n" + "+=========\n" "+\n" "+There are two views which can be used for inspecting data in an ELF file, a\n" "+Linking view, and an Execution view. A Section Header Table enables one to\n" @@ -287,8 +286,7 @@ "+objects have ELF sections.\n" "+\n" "+Limitations on ELF sections\n" - "+===========================\n" - "+\n" + "+=============+\n" "+We provide a summary on the limitations of ELF sections. Refer to the public\n" "+ELF specifications for details. Note that 64-bit limitations may depend\n" "+on processor specific section attributes to be used, refer to your processor\n" @@ -322,8 +320,7 @@ "+ - 16 EiEntries (18446744073709551616)\n" "+\n" "+Program specific ELF sections\n" - "+=============================\n" - "+\n" + "+==============+\n" "+The ELF specification allows for a section type to be specified as\n" "+*Program specific section*, defined as ``SHT_PROGBITS``. This sections type\n" "+enables programs to customize sections for their own use. In assembly this\n" @@ -332,7 +329,7 @@ "+``SHT_PROGBITS`` is used by Linux for defining and using Linux ELF sections.\n" "+\n" "+Special ELF Sections\n" - "+====================\n" + "+==========\n" "+\n" "+The ELF specification defines *Special ELF Sections* on chapter 4 (`gabi4\n" "+ch4`_). These are defined as sections which hold program and control\n" @@ -357,10 +354,8 @@ "--- /dev/null\n" "+++ b/Documentation/sections/index.rst\n" "@@ -0,0 +1,17 @@\n" - "+=========================\n" - "+Linux Kernel ELF sections\n" - "+=========================\n" - "+\n" + "+============+Linux Kernel ELF sections\n" + "+============+\n" "+This book documents the different ELF sections used on the Linux kernel.\n" "+We start off by providing references to how ELF was standardized, references\n" "+to the standards on ELF sections, review limitations of ELF sections, and\n" @@ -380,16 +375,13 @@ "--- /dev/null\n" "+++ b/Documentation/sections/section-core.rst\n" "@@ -0,0 +1,148 @@\n" - "+===================================\n" - "+Linux ELF program specific sections\n" - "+===================================\n" - "+\n" + "+=================+Linux ELF program specific sections\n" + "+=================+\n" "+.. kernel-doc:: include/asm-generic/section-core.h\n" "+ :doc: Linux ELF program specific sections\n" "+\n" "+Linux linker script\n" - "+===================\n" - "+\n" + "+=========+\n" "+.. kernel-doc:: include/asm-generic/section-core.h\n" "+ :doc: Linux linker script\n" "+\n" @@ -419,7 +411,7 @@ "+ :doc: .data\n" "+\n" "+Linux .init\\* sections\n" - "+======================\n" + "+===========\n" "+\n" "+.. kernel-doc:: include/asm-generic/section-core.h\n" "+ :doc: Linux init sections\n" @@ -455,7 +447,7 @@ "+ :functions: __define_initcall\n" "+\n" "+Linux .exit\\* sections\n" - "+======================\n" + "+===========\n" "+\n" "+.. kernel-doc:: include/asm-generic/section-core.h\n" "+ :doc: Linux exit sections\n" @@ -476,8 +468,7 @@ "+ :doc: .exitcall.exit\n" "+\n" "+Linux .ref\\* sections\n" - "+=====================\n" - "+\n" + "+==========+\n" "+.. kernel-doc:: include/asm-generic/section-core.h\n" "+ :doc: Linux references to init sections\n" "+\n" @@ -497,7 +488,7 @@ "+ :doc: .ref.rodata\n" "+\n" "+Generic Linux kernel section helpers\n" - "+====================================\n" + "+==================\n" "+\n" "+Introduction\n" "+-------------\n" @@ -1122,7 +1113,7 @@ "+ * At least as per nasm (x86/x86_64 only), in the absence of qualifiers the\n" "+ * defaults are as follows:\n" "+ *\n" - "+ * section .text progbits alloc exec nowrite align=16\n" + "+ * section .text progbits alloc exec nowrite align\026\n" "+ * section .rodata progbits alloc noexec nowrite align=4\n" "+ * section .lrodata progbits alloc noexec nowrite align=4\n" "+ * section .data progbits alloc noexec write align=4\n" @@ -1236,7 +1227,7 @@ "+ * Lower order init levels run prior to higher order init levels. Ordering\n" "+ * inside each initcall level is determined by respective link order.\n" "+ *\n" - "+ * .. _9d6ba121b7e17085: https://git.kernel.org/cgit/linux/kernel/git/history/history.git/commit/?id=9d6ba121b7e17085c95139233686b27a4d4c650e\n" + "+ * .. _9d6ba121b7e17085: https://git.kernel.org/cgit/linux/kernel/git/history/history.git/commit/?id\302\2356ba121b7e17085c95139233686b27a4d4c650e\n" "+ */\n" " \n" " #ifndef __ASSEMBLY__\n" @@ -1391,6 +1382,11 @@ "+\n" "+#endif /* _LINUX_SECTIONS_H */\n" "-- \n" - 2.11.0 + "2.11.0\n" + "\n" + "--\n" + "To unsubscribe from this list: send the line \"unsubscribe sparclinux\" in\n" + "the body of a message to majordomo@vger.kernel.org\n" + More majordomo info at http://vger.kernel.org/majordomo-info.html -6f8891e8beb0b9f082cd734b90ee60f9e7302ba20e3184087e07505702c43515 +2de32e17453e405ec4b43ed4856a7a0ae28d2164ed3c8a0377ff2a8755667fd0
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.