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 + test RFA] MIPS/LD: Fix crashing with a discarded dynamic relocation section


Hi Maciej,

>  Most fail though, having produced rubbish in the dynamic segment just as 
> MIPS would had it not crashed in `_bfd_mips_elf_finish_dynamic_sections'.  
> I'm leaving it up to the respective maintainers to address; the piece I 
> added in `_bfd_mips_elf_size_dynamic_sections' can serve as an obvious 
> example.  The only winners are `bfin-*-*' and `score-*-*'; they pass.
> 
>  One problem with a generic ELF `run_dump_test' case is that they are run 
> in bulk with a glob matcher, precluding target-specific flag passing.  As 
> a result the test fails for `nds32*-*-*' and `tic6x-*-*' targets without 
> actually checking whether they set dynamic contents right.  I have XFAILed 
> them for the time being, but a solution has to be eventually found.
> 
>  OK for the test part then?

Approved.  Better to have a testcase that fails than a problem that no-one knows about...

Cheers
  Nick
 


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