* [PATCH] elf.5: remove erroneous, duplicate SHN_* section
@ 2016-01-27 22:57 Chris Pick
[not found] ` <CAKXpx3pmsBpp8UF+sGKf2O=mXz8ma-8h6Cmxib49N8s9pULn8g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Chris Pick @ 2016-01-27 22:57 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 129 bytes --]
The ELF header section's e_shstrndx contained a duplicate desription of
the SHN_* special section header indicies. Remove them.
[-- Attachment #2: 0001-elf.5-remove-erroneous-duplicate-SHN_-section.patch --]
[-- Type: text/x-patch, Size: 2038 bytes --]
From 562c62bc0fd68fb7f94a98142a9fd49baab95e45 Mon Sep 17 00:00:00 2001
From: Chris Pick <kernel@chrispick.com>
Date: Wed, 27 Jan 2016 17:32:21 -0500
Subject: [PATCH] elf.5: remove erroneous, duplicate SHN_* section
The ELF header section's e_shstrndx contained a duplicate desription of
the SHN_* special section header indicies. Remove them.
---
man5/elf.5 | 49 -------------------------------------------------
1 file changed, 49 deletions(-)
diff --git a/man5/elf.5 b/man5/elf.5
index c140bb2..5a64704 100644
--- a/man5/elf.5
+++ b/man5/elf.5
@@ -622,55 +622,6 @@ member of the initial entry in section header table.
Otherwise, the
.IR sh_link
member of the initial entry in section header table contains the value zero.
-.RS 12
-.\" .Bl -tag -width "SHN_LORESERVE"
-.TP 14
-.BR SHN_UNDEF
-This value marks an undefined, missing, irrelevant, or otherwise meaningless
-section reference.
-For example, a symbol
-"defined"
-relative to section number
-.BR SHN_UNDEF
-is an undefined symbol.
-.TP
-.BR SHN_LORESERVE
-This value specifies the lower bound of the range of reserved indices.
-.TP
-.BR SHN_LOPROC
-Values greater than or equal to
-.BR SHN_HIPROC
-are reserved for processor-specific semantics.
-.TP
-.BR SHN_HIPROC
-Values less than or equal to
-.BR SHN_LOPROC
-are reserved for processor-specific semantics.
-.TP
-.BR SHN_ABS
-This value specifies absolute values for the corresponding reference.
-For
-example, symbols defined relative to section number
-.BR SHN_ABS
-have absolute values and are not affected by relocation.
-.TP
-.BR SHN_COMMON
-Symbols defined relative to this section are common symbols, such as Fortran
-COMMON or unallocated C external variables.
-.TP
-.BR SHN_HIRESERVE
-This value specifies the upper bound of the range of reserved
-indices between
-.BR SHN_LORESERVE
-and
-.BR SHN_HIRESERVE ,
-inclusive; the values do
-not reference the section header table.
-That is, the section header table
-does
-.I not
-contain entries for the reserved indices.
-.RE
.\" .El
.\" .El
.PP
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] elf.5: remove erroneous, duplicate SHN_* section
[not found] ` <CAKXpx3pmsBpp8UF+sGKf2O=mXz8ma-8h6Cmxib49N8s9pULn8g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2016-01-28 7:55 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2016-01-28 7:55 UTC (permalink / raw)
To: Chris Pick
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
linux-man-u79uwXL29TY76Z2rM5mHXA
On 01/27/2016 11:57 PM, Chris Pick wrote:
> The ELF header section's e_shstrndx contained a duplicate desription of
> the SHN_* special section header indicies. Remove them.
Thanks, Chris. Patch applied. (Things are a little easier if you
inline patches though.)
Cheers,
Michael
====
>From 562c62bc0fd68fb7f94a98142a9fd49baab95e45 Mon Sep 17 00:00:00 2001
From: Chris Pick <kernel-IESHnRRlF+tiLUuM0BA3LQ@public.gmane.org>
Date: Wed, 27 Jan 2016 17:32:21 -0500
Subject: [PATCH] elf.5: remove erroneous, duplicate SHN_* section
The ELF header section's e_shstrndx contained a duplicate desription of
the SHN_* special section header indicies. Remove them.
---
man5/elf.5 | 49 -------------------------------------------------
1 file changed, 49 deletions(-)
diff --git a/man5/elf.5 b/man5/elf.5
index c140bb2..5a64704 100644
--- a/man5/elf.5
+++ b/man5/elf.5
@@ -622,55 +622,6 @@ member of the initial entry in section header table.
Otherwise, the
.IR sh_link
member of the initial entry in section header table contains the value zero.
-.RS 12
-.\" .Bl -tag -width "SHN_LORESERVE"
-.TP 14
-.BR SHN_UNDEF
-This value marks an undefined, missing, irrelevant, or otherwise meaningless
-section reference.
-For example, a symbol
-"defined"
-relative to section number
-.BR SHN_UNDEF
-is an undefined symbol.
-.TP
-.BR SHN_LORESERVE
-This value specifies the lower bound of the range of reserved indices.
-.TP
-.BR SHN_LOPROC
-Values greater than or equal to
-.BR SHN_HIPROC
-are reserved for processor-specific semantics.
-.TP
-.BR SHN_HIPROC
-Values less than or equal to
-.BR SHN_LOPROC
-are reserved for processor-specific semantics.
-.TP
-.BR SHN_ABS
-This value specifies absolute values for the corresponding reference.
-For
-example, symbols defined relative to section number
-.BR SHN_ABS
-have absolute values and are not affected by relocation.
-.TP
-.BR SHN_COMMON
-Symbols defined relative to this section are common symbols, such as Fortran
-COMMON or unallocated C external variables.
-.TP
-.BR SHN_HIRESERVE
-This value specifies the upper bound of the range of reserved
-indices between
-.BR SHN_LORESERVE
-and
-.BR SHN_HIRESERVE ,
-inclusive; the values do
-not reference the section header table.
-That is, the section header table
-does
-.I not
-contain entries for the reserved indices.
-.RE
.\" .El
.\" .El
.PP
--
1.9.1
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-28 7:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-27 22:57 [PATCH] elf.5: remove erroneous, duplicate SHN_* section Chris Pick
[not found] ` <CAKXpx3pmsBpp8UF+sGKf2O=mXz8ma-8h6Cmxib49N8s9pULn8g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-28 7:55 ` Michael Kerrisk (man-pages)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).