From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102510 invoked by alias); 9 Nov 2016 19:06:52 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 101790 invoked by uid 89); 9 Nov 2016 19:06:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:U*roland, Szabolcs, szabolcs, Nagy X-HELO: mailapp01.imgtec.com Date: Wed, 09 Nov 2016 19:06:00 -0000 From: "Maciej W. Rozycki" To: Szabolcs Nagy CC: Roland McGrath , Renlin Li , , , Marcus Shawcroft , Richard Earnshaw Subject: Re: [GLIBC][AARCH64]Rewrite elf_machine_load_address using _DYNAMIC symbol In-Reply-To: <5820A31E.6030207@arm.com> Message-ID: References: <581C57FF.2090901@foss.arm.com> <20161104212440.A23F42C3AD8@topped-with-meat.com> <58209A8B.5030702@arm.com> <58209C78.2010906@arm.com> <5820A31E.6030207@arm.com> User-Agent: Alpine 2.20.17 (DEB 179 2016-10-28) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2016-11/txt/msg00359.txt.bz2 On Mon, 7 Nov 2016, Szabolcs Nagy wrote: > hidden symbol is not accessed with direct pc relative addressing on mips Well, the regular MIPS ISA has no PC-relative addressing mode (except from branch instructions), so this can't be done with that instruction set (the MIPS16 and microMIPS ISAs do have some forms of PC-relative addressing, which can be used to access hidden and internal symbols bypassing GOT in PIC code if the compiler is smart enough). Maciej