From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7762 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Huge inefficiency on powerpc due to duplicated GOT Date: Mon, 25 May 2015 17:57:34 -0400 Message-ID: <20150525215734.GA9323@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1432591074 6609 80.91.229.3 (25 May 2015 21:57:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 May 2015 21:57:54 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7774-gllmg-musl=m.gmane.org@lists.openwall.com Mon May 25 23:57:53 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Yx0Nd-0007uf-M2 for gllmg-musl@m.gmane.org; Mon, 25 May 2015 23:57:53 +0200 Original-Received: (qmail 15904 invoked by uid 550); 25 May 2015 21:57:52 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 15860 invoked from network); 25 May 2015 21:57:47 -0000 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:7762 Archived-At: The same issue that led to having to reprocess non-GOT/PLT-type relocations in ldso/libc seems to be making more trouble for us. ld-musl-powerpc.so.1 contains nearly 2 whole pages of GOT, due to each translation unit getting its own GOT in the .got2 section (and using non-GOT reloc types) and having them all concatenated with no merging. Anyone know what's up with this? Is it a toolchain bug, perhaps resulting from secure-plt mode not being widely tested? Is there any workaround? Rich