This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR ld/21529: Use a linker script to limit output with the test case (was: Re: PR21529, internal error in linker.c)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]