diff for duplicates of <20161222023811.21246-2-mcgrof@kernel.org> diff --git a/a/content_digest b/N1/content_digest index fc68d60..0c0e47c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -52,7 +52,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" @@ -1390,4 +1417,4 @@ "-- \n" 2.10.1 -8299aa164967ea139db843b79105a32ab5672842751d8c41946f66256458b103 +8cd3bd5c9b41187d943c8394be90bdb506b733ef717cffce969aa9e2e328fe22
diff --git a/a/1.txt b/N2/1.txt index efdffcd..b131e48 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -176,19 +176,18 @@ index 000000000000..0ecf9104aaa2 --- /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. @@ -206,7 +205,7 @@ index 000000000000..0ecf9104aaa2 +.. _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 @@ -227,8 +226,7 @@ index 000000000000..0ecf9104aaa2 +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 processsor @@ -262,8 +260,7 @@ index 000000000000..0ecf9104aaa2 + - 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 @@ -272,7 +269,7 @@ index 000000000000..0ecf9104aaa2 +``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 @@ -297,10 +294,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 @@ -320,16 +315,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 + @@ -359,7 +351,7 @@ index 000000000000..ac5815a0d9b3 + :doc: .data + +Linux .init\* sections -+====================== ++=========== + +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux init sections @@ -395,7 +387,7 @@ index 000000000000..ac5815a0d9b3 + :functions: __define_initcall + +Linux .exit\* sections -+====================== ++=========== + +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux exit sections @@ -416,8 +408,7 @@ index 000000000000..ac5815a0d9b3 + :doc: .exitcall.exit + +Linux .ref\* sections -+===================== -+ ++==========+ +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux references to init sections + @@ -437,7 +428,7 @@ index 000000000000..ac5815a0d9b3 + :doc: .ref.rodata + +Generic Linux kernel section helpers -+==================================== ++================== + +Introduction +------------- @@ -1062,7 +1053,7 @@ index 000000000000..bb16befc4251 + * 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 @@ -1176,7 +1167,7 @@ index 885c3e6d0f9d..116e3262332a 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__ @@ -1332,3 +1323,8 @@ index 000000000000..6771c727bcd1 +#endif /* _LINUX_SECTIONS_H */ -- 2.10.1 + +-- +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 fc68d60..4e1930e 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -2,7 +2,7 @@ "ref\020161222023811.21246-1-mcgrof@kernel.org\0" "From\0Luis R. Rodriguez <mcgrof@kernel.org>\0" "Subject\0[PATCH v5 01/14] generic-sections: add section core helpers\0" - "Date\0Wed, 21 Dec 2016 18:37:57 -0800\0" + "Date\0Thu, 22 Dec 2016 02:37:57 +0000\0" "To\0hpa@zytor.com" acme@redhat.com tglx@linutronix.de @@ -233,19 +233,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" @@ -263,7 +262,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" @@ -284,8 +283,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 processsor\n" @@ -319,8 +317,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" @@ -329,7 +326,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" @@ -354,10 +351,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" @@ -377,16 +372,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" @@ -416,7 +408,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" @@ -452,7 +444,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" @@ -473,8 +465,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" @@ -494,7 +485,7 @@ "+ :doc: .ref.rodata\n" "+\n" "+Generic Linux kernel section helpers\n" - "+====================================\n" + "+==================\n" "+\n" "+Introduction\n" "+-------------\n" @@ -1119,7 +1110,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" @@ -1233,7 +1224,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" @@ -1388,6 +1379,11 @@ "+\n" "+#endif /* _LINUX_SECTIONS_H */\n" "-- \n" - 2.10.1 + "2.10.1\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 -8299aa164967ea139db843b79105a32ab5672842751d8c41946f66256458b103 +ba4a3f6f2a92914b826faf63769abfe621a4d5fd8fff3478c6ce99cdd8762b82
diff --git a/a/1.txt b/N3/1.txt index efdffcd..e411623 100644 --- a/a/1.txt +++ b/N3/1.txt @@ -176,19 +176,18 @@ index 000000000000..0ecf9104aaa2 --- /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. @@ -206,7 +205,7 @@ index 000000000000..0ecf9104aaa2 +.. _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 @@ -227,8 +226,7 @@ index 000000000000..0ecf9104aaa2 +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 processsor @@ -262,8 +260,7 @@ index 000000000000..0ecf9104aaa2 + - 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 @@ -272,7 +269,7 @@ index 000000000000..0ecf9104aaa2 +``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 @@ -297,10 +294,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 @@ -320,16 +315,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 + @@ -359,7 +351,7 @@ index 000000000000..ac5815a0d9b3 + :doc: .data + +Linux .init\* sections -+====================== ++=========== + +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux init sections @@ -395,7 +387,7 @@ index 000000000000..ac5815a0d9b3 + :functions: __define_initcall + +Linux .exit\* sections -+====================== ++=========== + +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux exit sections @@ -416,8 +408,7 @@ index 000000000000..ac5815a0d9b3 + :doc: .exitcall.exit + +Linux .ref\* sections -+===================== -+ ++==========+ +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux references to init sections + @@ -437,7 +428,7 @@ index 000000000000..ac5815a0d9b3 + :doc: .ref.rodata + +Generic Linux kernel section helpers -+==================================== ++================== + +Introduction +------------- @@ -1062,7 +1053,7 @@ index 000000000000..bb16befc4251 + * 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 @@ -1176,7 +1167,7 @@ index 885c3e6d0f9d..116e3262332a 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__ @@ -1332,3 +1323,8 @@ index 000000000000..6771c727bcd1 +#endif /* _LINUX_SECTIONS_H */ -- 2.10.1 + +-- +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 fc68d60..d92aab8 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -2,7 +2,7 @@ "ref\020161222023811.21246-1-mcgrof@kernel.org\0" "From\0Luis R. Rodriguez <mcgrof@kernel.org>\0" "Subject\0[PATCH v5 01/14] generic-sections: add section core helpers\0" - "Date\0Wed, 21 Dec 2016 18:37:57 -0800\0" + "Date\0Thu, 22 Dec 2016 02:37:57 +0000\0" "To\0hpa@zytor.com" acme@redhat.com tglx@linutronix.de @@ -233,19 +233,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" @@ -263,7 +262,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" @@ -284,8 +283,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 processsor\n" @@ -319,8 +317,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" @@ -329,7 +326,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" @@ -354,10 +351,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" @@ -377,16 +372,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" @@ -416,7 +408,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" @@ -452,7 +444,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" @@ -473,8 +465,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" @@ -494,7 +485,7 @@ "+ :doc: .ref.rodata\n" "+\n" "+Generic Linux kernel section helpers\n" - "+====================================\n" + "+==================\n" "+\n" "+Introduction\n" "+-------------\n" @@ -1119,7 +1110,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" @@ -1233,7 +1224,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" @@ -1388,6 +1379,11 @@ "+\n" "+#endif /* _LINUX_SECTIONS_H */\n" "-- \n" - 2.10.1 + "2.10.1\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 -8299aa164967ea139db843b79105a32ab5672842751d8c41946f66256458b103 +5f393e958a033ba9091613c7388b30684bf9ce248a5fb7352ade814217962712
diff --git a/a/1.txt b/N4/1.txt index efdffcd..80c2c42 100644 --- a/a/1.txt +++ b/N4/1.txt @@ -176,19 +176,18 @@ index 000000000000..0ecf9104aaa2 --- /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. @@ -206,7 +205,7 @@ index 000000000000..0ecf9104aaa2 +.. _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 @@ -227,8 +226,7 @@ index 000000000000..0ecf9104aaa2 +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 processsor @@ -262,8 +260,7 @@ index 000000000000..0ecf9104aaa2 + - 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 @@ -272,7 +269,7 @@ index 000000000000..0ecf9104aaa2 +``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 @@ -297,10 +294,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 @@ -320,16 +315,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 + @@ -359,7 +351,7 @@ index 000000000000..ac5815a0d9b3 + :doc: .data + +Linux .init\* sections -+====================== ++=========== + +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux init sections @@ -395,7 +387,7 @@ index 000000000000..ac5815a0d9b3 + :functions: __define_initcall + +Linux .exit\* sections -+====================== ++=========== + +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux exit sections @@ -416,8 +408,7 @@ index 000000000000..ac5815a0d9b3 + :doc: .exitcall.exit + +Linux .ref\* sections -+===================== -+ ++==========+ +.. kernel-doc:: include/asm-generic/section-core.h + :doc: Linux references to init sections + @@ -437,7 +428,7 @@ index 000000000000..ac5815a0d9b3 + :doc: .ref.rodata + +Generic Linux kernel section helpers -+==================================== ++================== + +Introduction +------------- @@ -1062,7 +1053,7 @@ index 000000000000..bb16befc4251 + * 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 @@ -1176,7 +1167,7 @@ index 885c3e6d0f9d..116e3262332a 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__ @@ -1332,3 +1323,8 @@ index 000000000000..6771c727bcd1 +#endif /* _LINUX_SECTIONS_H */ -- 2.10.1 + +-- +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 fc68d60..a204c39 100644 --- a/a/content_digest +++ b/N4/content_digest @@ -2,7 +2,7 @@ "ref\020161222023811.21246-1-mcgrof@kernel.org\0" "From\0Luis R. Rodriguez <mcgrof@kernel.org>\0" "Subject\0[PATCH v5 01/14] generic-sections: add section core helpers\0" - "Date\0Wed, 21 Dec 2016 18:37:57 -0800\0" + "Date\0Thu, 22 Dec 2016 02:37:57 +0000\0" "To\0hpa@zytor.com" acme@redhat.com tglx@linutronix.de @@ -233,19 +233,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" @@ -263,7 +262,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" @@ -284,8 +283,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 processsor\n" @@ -319,8 +317,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" @@ -329,7 +326,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" @@ -354,10 +351,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" @@ -377,16 +372,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" @@ -416,7 +408,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" @@ -452,7 +444,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" @@ -473,8 +465,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" @@ -494,7 +485,7 @@ "+ :doc: .ref.rodata\n" "+\n" "+Generic Linux kernel section helpers\n" - "+====================================\n" + "+==================\n" "+\n" "+Introduction\n" "+-------------\n" @@ -1119,7 +1110,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" @@ -1233,7 +1224,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" @@ -1388,6 +1379,11 @@ "+\n" "+#endif /* _LINUX_SECTIONS_H */\n" "-- \n" - 2.10.1 + "2.10.1\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 -8299aa164967ea139db843b79105a32ab5672842751d8c41946f66256458b103 +c8cbca02045c07db0368907952c66ac5cf21be0bff0f8425edde3985983aac4c
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.