From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Chris Pick <kernel-IESHnRRlF+tiLUuM0BA3LQ@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] elf.5: remove erroneous, duplicate SHN_* section
Date: Thu, 28 Jan 2016 08:55:31 +0100 [thread overview]
Message-ID: <56A9C973.7070802@gmail.com> (raw)
In-Reply-To: <CAKXpx3pmsBpp8UF+sGKf2O=mXz8ma-8h6Cmxib49N8s9pULn8g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
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
prev parent reply other threads:[~2016-01-28 7:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56A9C973.7070802@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=kernel-IESHnRRlF+tiLUuM0BA3LQ@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).