From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6357 Path: news.gmane.org!not-for-mail From: Felix Janda Newsgroups: gmane.linux.lib.musl.general Subject: Re: debugging problem with musl ld and qemu-ppc Date: Fri, 17 Oct 2014 21:30:39 +0200 Message-ID: <20141017193039.GA18959@euler> References: <20141016060741.GA3707@euler> <20141016153448.GY32028@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 1413574270 16215 80.91.229.3 (17 Oct 2014 19:31:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Oct 2014 19:31:10 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6370-gllmg-musl=m.gmane.org@lists.openwall.com Fri Oct 17 21:31:03 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1XfDEs-0003Sx-T5 for gllmg-musl@plane.gmane.org; Fri, 17 Oct 2014 21:31:03 +0200 Original-Received: (qmail 29930 invoked by uid 550); 17 Oct 2014 19:31:02 -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 29922 invoked from network); 17 Oct 2014 19:31:02 -0000 X-Virus-Scanned: amavisd-new at posteo.de Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <20141016153448.GY32028@brightrain.aerifal.cx> User-Agent: Mutt/1.5.22 (2013-10-16) Xref: news.gmane.org gmane.linux.lib.musl.general:6357 Archived-At: Rich Felker wrote: [..] > > What I'm not clear about is the cause for why the linker is forcing > you back to the bss-plt model. It might be a matter of the strange > relocation type you put in a.s: > > 00000000 <.text>: > 0: 48 00 00 00 b 0x0 > 0: R_PPC_LOCAL24PC _GLOBAL_OFFSET_TABLE_ It also seems to be possible to get this kind of relocation by doing cat > a.c <