From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4262 invoked by alias); 16 Jul 2014 08:18:46 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 4043 invoked by uid 89); 16 Jul 2014 08:18:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: service87.mimecast.com Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 16 Jul 2014 08:18:44 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Wed, 16 Jul 2014 09:18:41 +0100 Received: from [10.1.208.24] ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 16 Jul 2014 09:18:38 +0100 Message-ID: <53C6355E.8060308@arm.com> Date: Wed, 16 Jul 2014 08:18:00 -0000 From: Kyrill Tkachov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Will Newton CC: "nickc@redhat.com" , "binutils@sourceware.org" Subject: Re: [RFC PATCH] ld/ARM: Increase maximum page size to 64kB References: <1403795923-24306-1-git-send-email-will.newton@linaro.org> <53B2893F.1010207@redhat.com> <53BE5454.1040800@arm.com> In-Reply-To: X-MC-Unique: 114071609184106201 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014-07/txt/msg00152.txt.bz2 On 10/07/14 12:00, Will Newton wrote: > On 10 July 2014 09:52, Kyrill Tkachov wrote: >> On 08/07/14 15:02, Will Newton wrote: >>> On 1 July 2014 11:11, Nicholas Clifton wrote: >>>> Hi Will, >>>> >>>> >>>>> bfd/ChangeLog: >>>>> >>>>> 2014-06-26 Will Newton >>>>> >>>>> * elf32-arm.c (ELF_MAXPAGESIZE): Increase the default >>>>> value to 64kB and remove custom setting for NaCl. >>>>> >>>>> ld/ChangeLog: >>>>> >>>>> 2014-06-26 Will Newton >>>>> >>>>> * emulparams/armelf_linux.sh (TEXT_START_ADDR): Increase >>>>> alignment to 64kB boundary. >>>>> >>>>> ld/testsuite/ChangeLog: >>>>> >>>>> 2014-06-26 Will Newton >>>>> >>>>> * ld-arm/arm-lib.ld: Increase MAXPAGESIZE value to >>>>> match bfd. >>>>> * ld-arm/cortex-a8-fix-bl-rel-plt.d: Update offsets to >>>>> take into account increased segment alignment. >>>>> * ld-arm/ifunc-gdesc.r: Likewise. >>>>> * ld-arm/tls-lib.d: Likewise. >>>> >>>> Approved - please apply. >>> Thanks. If anybody sees any breakage then please shout. >> Hi Will, >> >> In the libstdc++ tetsuite I'm seeing some failures of the sort: >> >> /arm-none-eabi/install/arm-none-eabi/bin/ld: warning: address of >> `text-segment' isn't multiple of maximum page size >> >> FAIL: 17_intro/freestanding.cc (test for excess errors) >> >> I haven't dug into it yet, but your patch is the first that came to mind >> when seeing this. >> Is that a problem in gcc/libstdc++? > I'm not sure, but it would be interesting to find out. Do you have any > more information e.g. command line or linker script being used? Hi Will, Sorry for the delay. The warning I was seeing was due to some bare-metal=20 specs files that I was using placing the text segment at a=20 non-64k-aligned position. That's not a problem with this patch. Kyrill > > It seems that building libstdc++ involves building the whole of gcc. :-/ >