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.129.124]) by sourceware.org (Postfix) with ESMTPS id CAD393858039 for ; Thu, 27 Jan 2022 18:39:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CAD393858039 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-493-k-C7c0a9NuSirOTPJ8THLA-1; Thu, 27 Jan 2022 13:39:50 -0500 X-MC-Unique: k-C7c0a9NuSirOTPJ8THLA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EBA65190B2A0; Thu, 27 Jan 2022 18:39:48 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.8]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 63B8C7DE4C; Thu, 27 Jan 2022 18:39:47 +0000 (UTC) From: Florian Weimer To: Alan Modra via Libc-alpha Cc: Alan Modra , Tulio Magno Quites Machado Filho Subject: Re: [PATCH 5/5] Enable static-pie on powerpc64 References: Date: Thu, 27 Jan 2022 19:39:44 +0100 In-Reply-To: (Alan Modra via Libc-alpha's message of "Mon, 24 Jan 2022 14:36:06 +1030") Message-ID: <87tudpkopb.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP 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: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2022 18:39:58 -0000 * Alan Modra via Libc-alpha: > diff --git a/sysdeps/powerpc/powerpc64/configure.ac b/sysdeps/powerpc/pow= erpc64/configure.ac > index 1f3d54414c..5eedd2f81c 100644 > --- a/sysdeps/powerpc/powerpc64/configure.ac > +++ b/sysdeps/powerpc/powerpc64/configure.ac > @@ -1,6 +1,13 @@ > GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. > # Local configure fragment for sysdeps/powerpc/powerpc64. > =20 > +dnl It is always possible to access static and hidden symbols in an > +dnl position independent way. > +AC_DEFINE(PI_STATIC_AND_HIDDEN) I must say that this is the most surprising glibc patch I've seen in a while. But I think it's true=E2=80=94once you've set up the TOC pointer, the link editor can generate a fixed offset offset for local and hidden symbols. Has this always been the case for powerpc64le? Thanks, Florian