From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id DA0A23858D1E for ; Wed, 4 Jan 2023 07:02:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DA0A23858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Received: by smtp.gentoo.org (Postfix, from userid 559) id 72C6A340C69; Wed, 4 Jan 2023 07:02:28 +0000 (UTC) Date: Wed, 4 Jan 2023 02:02:26 -0500 From: Mike Frysinger To: "Guillermo E. Martinez" Cc: binutils@sourceware.org, jose.marchesi@oracle.com Subject: Re: [PATCH] Fix sim/testsuite/bpf due to linker warnings Message-ID: References: <20230104041219.794237-1-guillermo.e.martinez@oracle.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="YS3oVAMWtRlfr/qS" Content-Disposition: inline In-Reply-To: <20230104041219.794237-1-guillermo.e.martinez@oracle.com> X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --YS3oVAMWtRlfr/qS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 03 Jan 2023 22:12, Guillermo E. Martinez via Binutils wrote: > Hello, >=20 > This patch is meant to fix bug: > https://sourceware.org/bugzilla/show_bug.cgi?id=3D29954=20 >=20 > Please let know your thoughts. I'll really appreciate them!, > guillermo >=20 > -- >=20 > On a bpf-*-* testsuite fails: > ./ld/ld-new: warning: test has a LOAD segment with RWX permissions >=20 > Adding `--no-warn-rwx-segments' option to linker and set `--memory-size= =3D10Mb' > to the simulator bpf testsuite passes. >=20 > Tested on bpf-*-*: >=20 > Bug 29954: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29954 i thought increasing the memory was sufficient to not need the -Ttext=3D0x0, and the -Ttext=3D0x0 was the only reason we were triggering RWX warnings. = so do we still need --no-warn-rwx-segments ? -mike --YS3oVAMWtRlfr/qS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmO1JIIACgkQQWM7n+g3 9YEenxAAobvMdmwCSX1vfvwYGqGeh3nnNn1tkMmttZBbI7gBiuX6jXX/el9V7q/k 9YTrw0myjh1KITKz5VkEacyESsrJcDCx6VC9bIAylsOt8zIVjXLfa89pcZtJNu2q EQiyJgHnnwoJDT6zTbLQXhbZNlf7VzoxibKZFaC0IY54qY6ZaAUZIXVSz9b0czCR D0/Nc1G8WwcPwiW3/gQ7GGgesM9i+ga+I5wndqvYhwRdCsr6Sg6Il4tCwbJN29ap yo9pQbxHEhPz2yM0CGp1t6HlVkkREyCPGNELM4etAIwBShMorPsCZmIlkwXBx/3p z1YwwlYZaWcE3tptv+jZR2zCIsK8ji9ibSTM4njPkGB9tMtVtasy2P/oQiGlvQn3 ndmQ0qjEo6hnLWFCMygVyo6x/qefr+nNvHv2ub/jx9NQ2n8HDRkHBvskaARrzY/k CeY248qHqAxiTe22uR0uKCZSoGPCHETyvAW5ld1ZbDu6Gm2GFmfvhqGZz/+QjkIB BNrBrlzsvsQI3sbvI6g3rAKJx+DAwcnmm0Lw2Hc668j5wLRPfS2Fs5N39PcYZThg Boly8J0V2VWXgcV72Jp955hqRwMOn4mVp7pAPFRp4LSuB7UYIMxCnviOqvLTGIOc +4614mdNEHo9Ow3RRxvP9HUv0SoJRhBqIZmPagYKge442fUkVVU= =zgJA -----END PGP SIGNATURE----- --YS3oVAMWtRlfr/qS--