From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56252 invoked by alias); 27 Sep 2018 06:49:22 -0000 Mailing-List: contact gnu-gabi-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: gnu-gabi-owner@sourceware.org Received: (qmail 53348 invoked by uid 89); 27 Sep 2018 06:49:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=H*f:sk:87tvmbv, H*i:sk:87tvmbv, Hx-languages-length:638 X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-Spam-User: qpsmtpd, 2 recipients X-HELO: prv1-mh.provo.novell.com Received: from prv1-mh.provo.novell.com (HELO prv1-mh.provo.novell.com) (137.65.248.33) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 27 Sep 2018 06:49:16 +0000 Received: from INET-PRV1-MTA by prv1-mh.provo.novell.com with Novell_GroupWise; Thu, 27 Sep 2018 00:49:14 -0600 Message-Id: <5BAC7D6802000078001EC6D1@prv1-mh.provo.novell.com> X-Mailer: Novell GroupWise Internet Agent 18.0.2 Date: Mon, 01 Jan 2018 00:00:00 -0000 From: "Jan Beulich" To: "Florian Weimer" Cc: "H.J. Lu" ,, Subject: Re: RFC: Add SHT_GNU_PHDRS References: à <87tvmbv8hp.fsf@oldenburg.str.redhat.com> In-Reply-To: <87tvmbv8hp.fsf@oldenburg.str.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-SW-Source: 2018-q3/txt/msg00011.txt.bz2 >>> On 27.09.18 at 07:01, wrote: > * H. J. Lu: >=20 >> I am proposing >> >> #define SHT_GNU_PHDRS 0x6ffffff4 /* Dummy section for program header */ >> >> This is a special read-only SHF_ALLOC zero-size data section. It is the >> first output section, which will force a data PT_LOAD segment with progr= am >> header before the code-only PT_LOAD segment, >=20 > Is it actually a requirement in the ELF specification that all bits > loaded via segments are covered by sections as well? Hardly, because the presence of a section table isn't required in the first place in an executable (iirc). Jan