This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] PR ld/21529: Use a linker script to limit output with the test case (was: Re: PR21529, internal error in linker.c)
- From: Alan Modra <amodra at gmail dot com>
- To: "Maciej W. Rozycki" <macro at imgtec dot com>
- Cc: Tristan Gingold <gingold at adacore dot com>, "H.J. Lu" <hjl dot tools at gmail dot com>, Binutils <binutils at sourceware dot org>
- Date: Fri, 14 Jul 2017 09:10:11 +0930
- Subject: Re: [PATCH] PR ld/21529: Use a linker script to limit output with the test case (was: Re: PR21529, internal error in linker.c)
- Authentication-results: sourceware.org; auth=none
- References: <20170605082534.GV8842@bubble.grove.modra.org> <CAMe9rOq9sAeH9h-mzR3Hphmfjr-osYYs90Ds5qjnCQY86BpC6Q@mail.gmail.com> <20170607083948.GY8842@bubble.grove.modra.org> <alpine.DEB.2.00.1707130236510.29665@tp.orcam.me.uk>
On Thu, Jul 13, 2017 at 05:26:23PM +0100, Maciej W. Rozycki wrote:
> I think it is unreasonable and also unnecessary for this test case to have
> such a large file produced, so can we have a reasonable linker script
> involved, such as:
>
> SECTIONS
> {
> .text : { *(.text) }
> /DISCARD/ : { *(*) }
> }
>
> so that we do not trip on individual targets' peculiarities?
>
> No regressions in testing and `rx-elf' is now all-pass. OK for trunk and
> 2.29?
Thanks for taking the analysis further than I did. OK with a
ChangeLog entry. I'm sure this is good for the branch too.
--
Alan Modra
Australia Development Lab, IBM