From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNmsj-0004YM-5j for qemu-devel@nongnu.org; Wed, 12 Mar 2014 13:23:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNmsd-0006JV-0Z for qemu-devel@nongnu.org; Wed, 12 Mar 2014 13:23:53 -0400 Message-ID: <53209813.4@web.de> Date: Wed, 12 Mar 2014 18:23:31 +0100 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <53139760.3040106@web.de> <5314C532.90304@ilande.co.uk> <5314CA7F.5040303@web.de> <5314CD15.5030404@ilande.co.uk> <532071E9.7080204@web.de> In-Reply-To: <532071E9.7080204@web.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] Request for openhackware.git mirror List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mark Cave-Ayland Cc: Peter Maydell , Stefan Hajnoczi , Alexander Graf , qemu-devel , qemu-ppc , Anthony Liguori , =?ISO-8859-15?Q?Herv=E9_Pouss?= =?ISO-8859-15?Q?ineau?= Am 12.03.2014 15:40, schrieb Andreas Färber: > Am 03.03.2014 19:42, schrieb Mark Cave-Ayland: >> On 03/03/14 18:31, Andreas Färber wrote: >> >>>> Am I missing something from the build in order for the final link to >>>> complete correctly? >>> >>> Hm, repository looks okay, and I didn't run into this yet. Possibly you >>> are using different binutils? >>> >>> Presumably you did try make clean CROSS_COMPILE=... :) >>> >>> I chose not to apply one hunk from Rene Rebe since not needed here. >>> Maybe the above .rodata.str1.4 would end up in .rodata this way? >>> >>> Make it link at al. >>> >>> - Rene Rebe >>> >>> --- OpenHackWare-release-0.4/src/main.ld 2005-03-31 >>> 09:23:33.000000000 +0200 >>> +++ OpenHackWare-release-0.4-hacked/src/main.ld 2008-05-06 >>> 11:23:29.000000000 +0200 >>> @@ -49,7 +49,7 @@ >>> _sdata_end = . ; >>> . = ALIGN(4) ; >>> _ro_start = . ; >>> - .rodata : { *(.rodata) }> bios >>> + .rodata : { *(.rodata*) }> bios >>> _ro_end = . ; >>> . = ALIGN(4) ; >>> _RTAS_start = .; >>> >>> Cheers, >>> Andreas >> >> Hi Andreas, >> >> That patch definitely helps as it reduces the error to just: >> >> powerpc-elf-ld: .objs/main.out section .text.startup will not fit in >> region start >> powerpc-elf-ld: section .text [0000000005800400 -> 0000000005812e23] >> overlaps section .text.startup [0000000005800054 -> 00000000058006d7] >> powerpc-elf-ld: region start overflowed by 728 bytes >> >> So if I then apply the same trick to the .text section (patch attached) >> then I get a successful link and an output image. > > Mark, can you sign off .text part of the patch please for me to pick up? Never mind, pushed a minor variation with a Reported-by. Next time please think of it. Andreas