From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KxOXS-0000Mt-Nu for mharc-grub-devel@gnu.org; Tue, 04 Nov 2008 11:13:54 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxOXR-0000Mm-Ba for grub-devel@gnu.org; Tue, 04 Nov 2008 11:13:53 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxOXP-0000Ma-RL for grub-devel@gnu.org; Tue, 04 Nov 2008 11:13:52 -0500 Received: from [199.232.76.173] (port=52894 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxOXP-0000MX-Le for grub-devel@gnu.org; Tue, 04 Nov 2008 11:13:51 -0500 Received: from e5.ny.us.ibm.com ([32.97.182.145]:42126) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KxOXP-0008T1-My for grub-devel@gnu.org; Tue, 04 Nov 2008 11:13:51 -0500 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e5.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id mA4GDiM3023833 for ; Tue, 4 Nov 2008 11:13:44 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id mA4GCKlb063708 for ; Tue, 4 Nov 2008 11:12:20 -0500 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id mA4GCJYP027727 for ; Tue, 4 Nov 2008 11:12:20 -0500 Received: from [9.53.41.42] (slate.austin.ibm.com [9.53.41.42]) by d01av04.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id mA4GCJ5s027639; Tue, 4 Nov 2008 11:12:19 -0500 From: Hollis Blanchard To: Manoel In-Reply-To: <1225814725.6767.20.camel@manoel-laptop> References: <1224622323.31194.81.camel@localhost.localdomain> <1224784802.9254.56.camel@manoel-laptop> <1224788935.16720.38.camel@localhost.localdomain> <1224885201.7358.53.camel@manoel-laptop> <1225127982.4991.7.camel@dv> <1225814725.6767.20.camel@manoel-laptop> Content-Type: text/plain Organization: IBM Linux Technology Center Date: Tue, 04 Nov 2008 10:12:18 -0600 Message-Id: <1225815138.15410.19.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Cc: The development of GRUB 2 , Carlos Roberto do Nascimento Costa Subject: Re: PPC64 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2008 16:13:54 -0000 On Tue, 2008-11-04 at 14:05 -0200, Manoel wrote: > I was able to solve this thanks to Hollis and Segher. > > What was need was a flag to gcc ( -mlong-call) so that gcc puts indirect > branches instead of direct branches when needed to prevent the 32mb > limitation (as stated at gcc manpages). > > My doubt is where is the best place to put this flag so that it will be > passed to all gcc calls by default? You don't want it on all gcc calls; you only want it when building the modules. -- Hollis Blanchard IBM Linux Technology Center