From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 895113858D28 for ; Wed, 18 Jan 2023 13:09:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 895113858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674047351; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IvUnu1sx39lvRXzRsRX+eeU5LGW/f39psh95rbUPJsc=; b=AkfPC1CQnEhSBAk0/3vtY+ZdKa/wmlNVUGW1n4MaqPXkgfozTRBSgJZAdLbABWZrMCLCW0 /8Zj/SOWhoWqesNZuFstqfJepDy5fC8G5JX3OwvFqTRw82DDL/7DNoiDBvzCVaQsGIapHd Sn3LkL8AQZhsQ4PjVDtSHezJKCCo41E= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-584-PZ2enKBlPSmxu5Rp01XYfQ-1; Wed, 18 Jan 2023 08:09:08 -0500 X-MC-Unique: PZ2enKBlPSmxu5Rp01XYfQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D08833C10154; Wed, 18 Jan 2023 13:09:07 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.2.16.82]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 06A27140EBF5; Wed, 18 Jan 2023 13:09:06 +0000 (UTC) From: Florian Weimer To: Indu Bhagat via Libc-alpha Cc: Indu Bhagat Subject: Re: [PATCH] elf.h: add PT_GNU_SFRAME References: <20230118064104.4003770-1-indu.bhagat@oracle.com> Date: Wed, 18 Jan 2023 14:09:05 +0100 In-Reply-To: <20230118064104.4003770-1-indu.bhagat@oracle.com> (Indu Bhagat via Libc-alpha's message of "Tue, 17 Jan 2023 22:41:04 -0800") Message-ID: <87zgag0z2m.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: * Indu Bhagat via Libc-alpha: > Support for SFrame format is available in Binutils 2.40. The GNU ld merges > the input .sframe sections and creates an output .sframe section in a > segment PT_GNU_SFRAME. > --- > elf/elf.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/elf/elf.h b/elf/elf.h > index b6a75c13a8..9692200f6f 100644 > --- a/elf/elf.h > +++ b/elf/elf.h > @@ -728,6 +728,7 @@ typedef struct > #define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */ > #define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */ > #define PT_GNU_PROPERTY 0x6474e553 /* GNU property */ > +#define PT_GNU_SFRAME 0x6474e554 /* SFrame segment. */ > #define PT_LOSUNW 0x6ffffffa > #define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */ > #define PT_SUNWSTACK 0x6ffffffb /* Stack segment */ Please submit this to the gnu-gabi list as well, preferably with a documentation patch. Thanks, Florian