From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by sourceware.org (Postfix) with ESMTPS id 26A44385843F for ; Sat, 29 Jan 2022 16:46:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 26A44385843F Received: by mail-ej1-x635.google.com with SMTP id s5so27341205ejx.2 for ; Sat, 29 Jan 2022 08:46:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :user-agent:mime-version; bh=N4JkQ+tDqxZ03tvBJqKFIRMIY1wBvhR2M//F+AxbyDM=; b=WQyvzZTAT0YoWt8T3q0sWNwmI+vFnKgR6Ko+lwNkMoxyP8Mgzf8TCsATSVPh2Xt8Or qexQ2N0givJu8DzMHZqxIl4yTlc7S6in9oAin1kpWbsWo027wa2Ml5EBsJp2rtwuLH+z eQq5QASf17oma/vZIw3aW8llYdF8gDjoxuy0sxyabXFAj89uytypdcv2wm42uWNretcQ 807dF49JJmm50U4WHb04l9TPPXbteJlMewbJM/B9oSQ16Hc+v1O/33Zt8yUfHOxuMnqr 1OOE89RudFIb03kbXBFdJAvD1lGdUhmSnA5KpcHSXYH036OgIbtGPCho3MgSbjGtOSBA 1V1w== X-Gm-Message-State: AOAM531w5kSL/5RDD3UpMBcFh7Hj1rP58UPxwBWEEmTlBLImha79Om/R aMQlD/HoZvsnxgDn+gdKqlILdsRXVN+geg== X-Google-Smtp-Source: ABdhPJwIfo6yysPBqqpgojv55K1+qJL23m52bBHlLJwDRmmxmwWSFrPzbQ2xP3+YF/o/QkUeFRsbiQ== X-Received: by 2002:a17:906:c10a:: with SMTP id do10mr10975273ejc.420.1643474796761; Sat, 29 Jan 2022 08:46:36 -0800 (PST) Received: from localhost ([2a01:4b00:f41a:3600:df86:cebc:8870:2184]) by smtp.gmail.com with ESMTPSA id w11sm14804715edt.3.2022.01.29.08.46.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jan 2022 08:46:36 -0800 (PST) Message-ID: Subject: Re: Re: Output section type (READONLY) From: Luca Boccassi To: binutils@sourceware.org Date: Sat, 29 Jan 2022 16:46:34 +0000 In-Reply-To: <20220129074545.csaig4kn5bk4si5k@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-YdesdTBdaDJRbOuGU4zW" User-Agent: Evolution 3.42.3-1 MIME-Version: 1.0 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jan 2022 16:46:39 -0000 --=-YdesdTBdaDJRbOuGU4zW Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > [PATCH v2] ld: add READONLY attribute for SECTIONS > (https://sourceware.org/pipermail/binutils/2021-July/117492.html) > added > READONLY. There was no justification as to why it was added. It was already explained - READONLY is necessary for notes, otherwise they are marked as writable: [ 3] .note.package NOTE 00000000000002e8 000002e8 0000000000000030 0000000000000000 WA 0 0 4 > What went lucky is that > https://sourceware.org/binutils/docs/ld/Output-Section-Type.html does > not have > the feature listed yet, so hopefully very few people will be lured to > use this. The documentation update is already committed in the repository, I imagine it will be published on the website after the new release is out. --=20 Kind regards, Luca Boccassi --=-YdesdTBdaDJRbOuGU4zW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEErCSqx93EIPGOymuRKGv37813JB4FAmH1b2oACgkQKGv37813 JB7wvxAAhOprqxjtlR4ISFVOPsOnD2QKjWhoPTAn6BN2B2I73PURjs+UlXtk5VgK hfbhjQzh/wKFJIvKsdH50TcUlVnVHNwwOf56KI0Vnj8IHOk1WNm4hWQ97rvlJhVS 5B+fJZ6o2Z6EorVpqkaDzfTeUcefTrwtSg7UzOPnj0dp6p668luycfLvyVwAzFAB oK2hBokXSiIMjrdCVjFmCXMN7wSdjiu2yY+YRx3D4pfEYmNQSoLH06dSfr714jYu Jb2TWPLd2xerWKUdv1x3HgcHD0ig4Rj0PryVPl5+/Vh1ZY8ogOGVxcyCB7swNrjw zE29cJ+P2EKomikTtG6afHaVy6j3oqqhnZrziVoAPQMUdMsnwV3/v1uARcY9JjPV pCsFrdTFg8hisjlobmopL0TQiDJ2naxZVqGPFb77Foi36UvYFl4y/gxCM1ZAeemy OwI+kLPKLfMysVhZL8hVM68TQJl7QKSKdBpoK9Qd++HX8drxU6QYj0cX/u9a0dQm znGzZGxhnoBPBWG/EOy4flhekfGO8YGBPDZfz215Y0x9IQUj5CRNv5WH5TNQCgQ/ rW2snAJeI0sFq1CvNf8u106glgWMRG6VD8DBL4kr6T7NQ0LVO/lUCAG8Rqy8ndhD 2MJCI3xZ0Q2xp4tLqwtszow8f2aPJsmg0M4/Kg+dHUqOtPOao5c= =MRSm -----END PGP SIGNATURE----- --=-YdesdTBdaDJRbOuGU4zW--